Home | History | Annotate | Download | only in lib

Lines Matching defs:translation

45   /* See whether there is a translation.   */
46 const char *translation = gettext (name);
48 if (translation != name)
50 /* See whether the translation contains the original name. */
51 if (strstr (translation, name) != NULL)
52 return translation;
55 /* Return "TRANSLATION (NAME)". */
57 (char *) xmalloc (strlen (translation) + 2 + strlen (name) + 1 + 1);
59 sprintf (result, "%s (%s)", translation, name);
75 /* See whether there is a translation. */
76 const char *translation = gettext (name_ascii);
119 if (translation != name_ascii)
121 /* See whether the translation contains the original name.
123 if (c_strstr (translation, name_ascii) != NULL
125 && strstr (translation, name_converted) != NULL)
127 && strstr (translation, name_converted_translit) != NULL))
133 return translation;
137 /* Return "TRANSLATION (NAME)". */
139 (char *) xmalloc (strlen (translation) + 2 + strlen (name) + 1 + 1);
141 sprintf (result, "%s (%s)", translation, name);