Lines Matching defs:domain
56 { "domain", required_argument, NULL, 'd' },
83 const char *domain = getenv ("TEXTDOMAIN");
96 /* Set the text message domain. */
111 domain = optarg;
186 domain = argv[optind++];
202 /* If no domain name is given we don't translate. */
203 if (domain == NULL || domain[0] == '\0')
209 /* Bind domain to appropriate directory. */
211 bindtextdomain (domain, domaindir);
214 fputs (dgettext (domain, msgid), stdout);
221 /* If no domain name is given we print the original string.
222 We mark this assigning NULL to domain. */
223 if (domain == NULL || domain[0] == '\0')
224 domain = NULL;
226 /* Bind domain to appropriate directory. */
228 bindtextdomain (domain, domaindir);
240 fputs (domain == NULL ? msgid : dgettext (domain, msgid),
280 -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n\
291 If the TEXTDOMAIN parameter is not given, the domain is determined from the\n\