Lines Matching refs:ll_CC
26 static cups_lang_t *ppd_ll_CC(char *ll_CC, size_t ll_CC_size);
51 ll_CC[6]; /* Language + country locale */ in ppdLocalize() local
67 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalize()
76 ll_CC)) != NULL) in ppdLocalize()
82 ll_CC)) != NULL) in ppdLocalize()
92 ll_CC); in ppdLocalize()
97 locattr = _ppdLocalizedAttr(ppd, ckeyword, "True", ll_CC); in ppdLocalize()
121 ll_CC)) != NULL) in ppdLocalize()
133 attr->spec, ll_CC)) != NULL) in ppdLocalize()
144 ll_CC)) != NULL) in ppdLocalize()
161 ll_CC)) != NULL) in ppdLocalize()
185 char ll_CC[6]; /* Language + country locale */ in ppdLocalizeAttr() local
192 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeAttr()
199 locattr = _ppdLocalizedAttr(ppd, keyword, spec, ll_CC); in ppdLocalizeAttr()
201 locattr = _ppdLocalizedAttr(ppd, "Translation", keyword, ll_CC); in ppdLocalizeAttr()
234 char ll_CC[6], /* Language + country locale */ in ppdLocalizeIPPReason() local
257 lang = ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeIPPReason()
264 ll_CC)) == NULL) in ppdLocalizeIPPReason()
441 char ll_CC[6]; /* Language + country locale */ in ppdLocalizeMarkerName() local
455 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeMarkerName()
462 ll_CC)) == NULL) in ppdLocalizeMarkerName()
596 const char *ll_CC) /* I - Language + country locale */ in _ppdLocalizedAttr() argument
603 "ll_CC=\"%s\")", ppd, keyword, spec, ll_CC)); in _ppdLocalizedAttr()
609 snprintf(lkeyword, sizeof(lkeyword), "%s.%s", ll_CC, keyword); in _ppdLocalizedAttr()
618 if (!strcmp(ll_CC, "zh_HK")) in _ppdLocalizedAttr()
626 snprintf(lkeyword, sizeof(lkeyword), "%2.2s.%s", ll_CC, keyword); in _ppdLocalizedAttr()
632 if (!strncmp(ll_CC, "ja", 2)) in _ppdLocalizedAttr()
644 else if (!strncmp(ll_CC, "nb", 2)) in _ppdLocalizedAttr()
655 else if (!strncmp(ll_CC, "no", 2)) in _ppdLocalizedAttr()
686 ppd_ll_CC(char *ll_CC, /* O - Country-specific locale name */ in ppd_ll_CC() argument
698 strlcpy(ll_CC, "en_US", ll_CC_size); in ppd_ll_CC()
706 strlcpy(ll_CC, lang->language, ll_CC_size); in ppd_ll_CC()
708 if (strlen(ll_CC) == 2) in ppd_ll_CC()
715 if (!strcmp(ll_CC, "cs")) in ppd_ll_CC()
716 strlcpy(ll_CC, "cs_CZ", ll_CC_size); in ppd_ll_CC()
717 else if (!strcmp(ll_CC, "en")) in ppd_ll_CC()
718 strlcpy(ll_CC, "en_US", ll_CC_size); in ppd_ll_CC()
719 else if (!strcmp(ll_CC, "ja")) in ppd_ll_CC()
720 strlcpy(ll_CC, "ja_JP", ll_CC_size); in ppd_ll_CC()
721 else if (!strcmp(ll_CC, "sv")) in ppd_ll_CC()
722 strlcpy(ll_CC, "sv_SE", ll_CC_size); in ppd_ll_CC()
723 else if (!strcmp(ll_CC, "zh")) /* Simplified Chinese */ in ppd_ll_CC()
724 strlcpy(ll_CC, "zh_CN", ll_CC_size); in ppd_ll_CC()
728 lang->language, ll_CC)); in ppd_ll_CC()