• Home
  • Raw
  • Download

Lines Matching refs:ll_CC

37 static cups_lang_t	*ppd_ll_CC(char *ll_CC, size_t ll_CC_size);
62 ll_CC[6]; /* Language + country locale */ in ppdLocalize() local
78 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalize()
87 ll_CC)) != NULL) in ppdLocalize()
93 ll_CC)) != NULL) in ppdLocalize()
103 ll_CC); in ppdLocalize()
108 locattr = _ppdLocalizedAttr(ppd, ckeyword, "True", ll_CC); in ppdLocalize()
132 ll_CC)) != NULL) in ppdLocalize()
144 attr->spec, ll_CC)) != NULL) in ppdLocalize()
155 ll_CC)) != NULL) in ppdLocalize()
172 ll_CC)) != NULL) in ppdLocalize()
196 char ll_CC[6]; /* Language + country locale */ in ppdLocalizeAttr() local
203 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeAttr()
210 locattr = _ppdLocalizedAttr(ppd, keyword, spec, ll_CC); in ppdLocalizeAttr()
212 locattr = _ppdLocalizedAttr(ppd, "Translation", keyword, ll_CC); in ppdLocalizeAttr()
245 char ll_CC[6], /* Language + country locale */ in ppdLocalizeIPPReason() local
268 lang = ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeIPPReason()
275 ll_CC)) == NULL) in ppdLocalizeIPPReason()
494 char ll_CC[6]; /* Language + country locale */ in ppdLocalizeMarkerName() local
508 ppd_ll_CC(ll_CC, sizeof(ll_CC)); in ppdLocalizeMarkerName()
515 ll_CC)) == NULL) in ppdLocalizeMarkerName()
649 const char *ll_CC) /* I - Language + country locale */ in _ppdLocalizedAttr() argument
656 "ll_CC=\"%s\")", ppd, keyword, spec, ll_CC)); in _ppdLocalizedAttr()
662 snprintf(lkeyword, sizeof(lkeyword), "%s.%s", ll_CC, keyword); in _ppdLocalizedAttr()
671 if (!strcmp(ll_CC, "zh_HK")) in _ppdLocalizedAttr()
679 snprintf(lkeyword, sizeof(lkeyword), "%2.2s.%s", ll_CC, keyword); in _ppdLocalizedAttr()
685 if (!strncmp(ll_CC, "ja", 2)) in _ppdLocalizedAttr()
697 else if (!strncmp(ll_CC, "nb", 2)) in _ppdLocalizedAttr()
708 else if (!strncmp(ll_CC, "no", 2)) in _ppdLocalizedAttr()
739 ppd_ll_CC(char *ll_CC, /* O - Country-specific locale name */ in ppd_ll_CC() argument
751 strlcpy(ll_CC, "en_US", ll_CC_size); in ppd_ll_CC()
759 strlcpy(ll_CC, lang->language, ll_CC_size); in ppd_ll_CC()
761 if (strlen(ll_CC) == 2) in ppd_ll_CC()
768 if (!strcmp(ll_CC, "cs")) in ppd_ll_CC()
769 strlcpy(ll_CC, "cs_CZ", ll_CC_size); in ppd_ll_CC()
770 else if (!strcmp(ll_CC, "en")) in ppd_ll_CC()
771 strlcpy(ll_CC, "en_US", ll_CC_size); in ppd_ll_CC()
772 else if (!strcmp(ll_CC, "ja")) in ppd_ll_CC()
773 strlcpy(ll_CC, "ja_JP", ll_CC_size); in ppd_ll_CC()
774 else if (!strcmp(ll_CC, "sv")) in ppd_ll_CC()
775 strlcpy(ll_CC, "sv_SE", ll_CC_size); in ppd_ll_CC()
776 else if (!strcmp(ll_CC, "zh")) /* Simplified Chinese */ in ppd_ll_CC()
777 strlcpy(ll_CC, "zh_CN", ll_CC_size); in ppd_ll_CC()
781 lang->language, ll_CC)); in ppd_ll_CC()