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" }
62 const char *vernacular_name,
63 const char *rule_name)
65 static const char name_too_long[] =
"Name \"%s\" too long; truncating.";
69 rule_name ? rule_name :
Qn_(vernacular_name),
90 const char *vernacular_name)
92 names_set(ptrans, domain, vernacular_name, NULL);
103static inline const char *
120static inline const char *
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]