diff options
Diffstat (limited to 'lib/ephy-langs.h')
-rw-r--r-- | lib/ephy-langs.h | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/lib/ephy-langs.h b/lib/ephy-langs.h index 2d2c79dd2..dfe5ec2ee 100644 --- a/lib/ephy-langs.h +++ b/lib/ephy-langs.h @@ -24,6 +24,7 @@ #endif #include <glib.h> +#include <bonobo/bonobo-i18n.h> G_BEGIN_DECLS @@ -64,24 +65,30 @@ typedef struct } EncodingInfo; /* language encoding groups */ -static const gchar *lang_encode_item[] = +typedef struct +{ + gchar *title; + gchar* code; +} FontsLanguageInfo; + +static const FontsLanguageInfo fonts_language[] = { - "x-western", - "x-central-euro", - "ja", - "zh-TW", - "zh-CN", - "ko", - "x-cyrillic", - "x-baltic", - "el", - "tr", - "x-unicode", - "th", - "he", - "ar" + { N_("Arabic"), "ar" }, + { N_("Baltic"), "x-baltic" }, + { N_("Central European"), "x-central-euro" }, + { N_("Cyrillic"), "x-cyrillic" }, + { N_("Greek"), "el" }, + { N_("Hebrew"), "he" }, + { N_("Japanese"), "ja" }, + { N_("Korean"), "ko" }, + { N_("Simplified Chinese"), "zh-CN" }, + { N_("Thai"), "th" }, + { N_("Traditional Chinese"), "zh-TW" }, + { N_("Turkish"), "tr" }, + { N_("Unicode"), "x-unicode" }, + { N_("Western"), "x-western" }, }; -static const guint n_lang_encode_items = G_N_ELEMENTS (lang_encode_item); +static const guint n_fonts_languages = G_N_ELEMENTS (fonts_language); void language_group_info_free (LanguageGroupInfo *info); |