Lines Matching defs:name
41 proper_name (const char *name)
44 const char *translation = gettext (name);
46 if (translation != name)
48 /* See whether the translation contains the original name. */
49 if (mbsstr (translation, name) != NULL)
55 XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
57 sprintf (result, "%s (%s)", translation, name);
62 return name;
65 /* Return the localization of a name whose original writing is not ASCII.
66 NAME_UTF8 is the real name, written in UTF-8 with octal or hexadecimal
82 const char *name;
112 /* The name in locale encoding. */
113 name = (name_converted != NULL ? name_converted :
119 /* See whether the translation contains the original name.
137 XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
139 sprintf (result, "%s (%s)", translation, name);
150 if (alloc_name_converted != NULL && alloc_name_converted != name)
153 && alloc_name_converted_translit != name)
155 return name;