Lines Matching defs:domain
51 { "domain", required_argument, NULL, 'd' },
76 const char *domain = getenv ("TEXTDOMAIN");
89 /* Set the text message domain. */
104 domain = optarg;
160 domain = argv[optind++];
176 /* If no domain name is given we don't translate. */
177 if (domain == NULL || domain[0] == '\0')
183 /* Bind domain to appropriate directory. */
185 bindtextdomain (domain, domaindir);
188 fputs (dgettext (domain, msgid), stdout);
195 /* If no domain name is given we print the original string.
196 We mark this assigning NULL to domain. */
197 if (domain == NULL || domain[0] == '\0')
198 domain = NULL;
200 /* Bind domain to appropriate directory. */
202 bindtextdomain (domain, domaindir);
214 fputs (domain == NULL ? msgid : dgettext (domain, msgid),
254 -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n\
265 If the TEXTDOMAIN parameter is not given, the domain is determined from the\n\