14#ifndef FC__NAME_TRANSLATION_H
15#define FC__NAME_TRANSLATION_H
29#define vernacular _private_vernacular_
30#define rulename _private_rulename_
31#define translated _private_translated_
44#define NAME_INIT { NULL, "\0", "\0" }
63 const char *rule_name)
65 static const char name_too_long[] =
"Name \"%s\" too long; truncating.";
72 if (
ptrans->vernacular[0] !=
'\0') {
103static inline const char *
106 return ptrans->vernacular;
120static inline const char *
123 return ptrans->translated;
const char * skip_intl_qualifier_prefix(const char *str)
#define DG_(domain, String)
static void name_set(struct name_translation *ptrans, const char *domain, const char *vernacular_name)
static const char * rule_name_get(const struct name_translation *ptrans)
static const char * name_translation_get(const struct name_translation *ptrans)
static const char * untranslated_name(const struct name_translation *ptrans)
static void names_set(struct name_translation *ptrans, const char *domain, const char *vernacular_name, const char *rule_name)
static void name_init(struct name_translation *ptrans)
static const char name_too_long[]
#define sz_loud_strlcpy(buffer, str, errmsg)
char vernacular[MAX_LEN_NAME]
char rulename[MAX_LEN_NAME]