diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 204 |
2 files changed, 108 insertions, 102 deletions
@@ -1,3 +1,9 @@ +2003-06-05 Piers Cornwell <piersc@cogs.susx.ac.uk> + + * embed/mozilla/mozilla-embed-single.cpp: + + Add accels on the encoding menus. + 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (save_window_chrome): diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index d865c6881..444ecc5f3 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -71,21 +71,21 @@ struct } lang_groups[] = { - { N_("Arabic"), LG_ARABIC }, - { N_("Baltic"), LG_BALTIC }, - { N_("Central European"), LG_CENTRAL_EUROPEAN }, - { N_("Chinese"), LG_CHINESE }, - { N_("Cyrillic"), LG_CYRILLIC }, - { N_("Greek"), LG_GREEK }, - { N_("Hebrew"), LG_HEBREW }, - { N_("Indian"), LG_INDIAN }, - { N_("Japanese"), LG_JAPANESE }, - { N_("Korean"), LG_KOREAN }, - { N_("Turkish"), LG_TURKISH }, - { N_("Unicode"), LG_UNICODE }, - { N_("Vietnamese"), LG_VIETNAMESE }, - { N_("Western"), LG_WESTERN }, - { N_("Other"), LG_OTHER } + { N_("_Arabic"), LG_ARABIC }, + { N_("_Baltic"), LG_BALTIC }, + { N_("Central _European"), LG_CENTRAL_EUROPEAN }, + { N_("Chi_nese"), LG_CHINESE }, + { N_("_Cyrillic"), LG_CYRILLIC }, + { N_("_Greek"), LG_GREEK }, + { N_("_Hebrew"), LG_HEBREW }, + { N_("_Indian"), LG_INDIAN }, + { N_("_Japanese"), LG_JAPANESE }, + { N_("_Korean"), LG_KOREAN }, + { N_("_Turkish"), LG_TURKISH }, + { N_("_Unicode"), LG_UNICODE }, + { N_("_Vietnamese"), LG_VIETNAMESE }, + { N_("_Western"), LG_WESTERN }, + { N_("_Other"), LG_OTHER } }; static const guint n_lang_groups = G_N_ELEMENTS (lang_groups); @@ -103,93 +103,93 @@ struct } encodings[] = { - { N_("Arabic (IBM-864)"), "IBM864", LG_ARABIC }, - { N_("Arabic (IBM-864-I)"), "IBM864i", LG_ARABIC }, - { N_("Arabic (ISO-8859-6)"), "ISO-8859-6", LG_ARABIC }, - { N_("Arabic (ISO-8859-6-E)"), "ISO-8859-6-E", LG_ARABIC }, - { N_("Arabic (ISO-8859-6-I)"), "ISO-8859-6-I", LG_ARABIC }, - { N_("Arabic (MacArabic)"), "x-mac-arabic", LG_ARABIC }, - { N_("Arabic (Windows-1256)"), "windows-1256", LG_ARABIC }, - { N_("Armenian (ARMSCII-8)"), "armscii-8", LG_OTHER }, - { N_("Baltic (ISO-8859-13)"), "ISO-8859-13", LG_BALTIC }, - { N_("Baltic (ISO-8859-4)"), "ISO-8859-4", LG_BALTIC }, - { N_("Baltic (Windows-1257)"), "windows-1257", LG_BALTIC }, - { N_("Celtic (ISO-8859-14)"), "ISO-8859-14", LG_OTHER }, - { N_("Central European (IBM-852)"), "IBM852", LG_CENTRAL_EUROPEAN }, - { N_("Central European (ISO-8859-2)"), "ISO-8859-2", LG_CENTRAL_EUROPEAN }, - { N_("Central European (MacCE)"), "x-mac-ce", LG_CENTRAL_EUROPEAN }, - { N_("Central European (Windows-1250)"), "windows-1250", LG_CENTRAL_EUROPEAN }, - { N_("Chinese Simplified (GB18030)"), "gb18030", LG_CHINESE }, - { N_("Chinese Simplified (GB2312)"), "GB2312", LG_CHINESE }, - { N_("Chinese Simplified (GBK)"), "x-gbk", LG_CHINESE }, - { N_("Chinese Simplified (HZ)"), "HZ-GB-2312", LG_CHINESE }, - { N_("Chinese Simplified (ISO-2022-CN)"), "ISO-2022-CN", LG_CHINESE }, - { N_("Chinese Simplified (Windows-936)"), "windows-936", LG_CHINESE }, - { N_("Chinese Traditional (Big5)"), "Big5", LG_CHINESE }, - { N_("Chinese Traditional (Big5-HKSCS)"), "Big5-HKSCS", LG_CHINESE }, - { N_("Chinese Traditional (EUC-TW)"), "x-euc-tw", LG_CHINESE }, - { N_("Croatian (MacCroatian)"), "x-mac-croatian", LG_CENTRAL_EUROPEAN }, - { N_("Cyrillic (IBM-855)"), "IBM855", LG_CYRILLIC }, - { N_("Cyrillic (ISO-8859-5)"), "ISO-8859-5", LG_CYRILLIC }, - { N_("Cyrillic (ISO-IR-111)"), "ISO-IR-111", LG_CYRILLIC }, - { N_("Cyrillic (KOI8-R)"), "KOI8-R", LG_CYRILLIC }, - { N_("Cyrillic (MacCyrillic)"), "x-mac-cyrillic", LG_CYRILLIC }, - { N_("Cyrillic (Windows-1251)"), "windows-1251", LG_CYRILLIC }, - { N_("Cyrillic/Russian (CP-866)"), "IBM866", LG_CYRILLIC }, - { N_("Cyrillic/Ukrainian (KOI8-U)"), "KOI8-U", LG_CYRILLIC }, - { N_("Cyrillic/Ukrainian (MacUkrainian)"), "x-mac-ukrainian", LG_CYRILLIC }, - { N_("English (US-ASCII)"), "us-ascii", LG_WESTERN }, - { N_("Farsi (MacFarsi)"), "x-mac-farsi", LG_OTHER }, - { N_("Georgian (GEOSTD8)"), "geostd8", LG_OTHER }, - { N_("Greek (ISO-8859-7)"), "ISO-8859-7", LG_GREEK }, - { N_("Greek (MacGreek)"), "x-mac-greek", LG_GREEK }, - { N_("Greek (Windows-1253)"), "windows-1253", LG_GREEK }, - { N_("Gujarati (MacGujarati)"), "x-mac-gujarati", LG_INDIAN }, - { N_("Gurmukhi (MacGurmukhi)"), "x-mac-gurmukhi", LG_INDIAN }, - { N_("Hebrew (IBM-862)"), "IBM862", LG_HEBREW }, - { N_("Hebrew (ISO-8859-8-E)"), "ISO-8859-8-E", LG_HEBREW }, - { N_("Hebrew (ISO-8859-8-I)"), "ISO-8859-8-I", LG_HEBREW }, - { N_("Hebrew (MacHebrew)"), "x-mac-hebrew", LG_HEBREW }, - { N_("Hebrew (Windows-1255)"), "windows-1255", LG_HEBREW }, - { N_("Hindi (MacDevanagari)"), "x-mac-devanagari", LG_INDIAN }, - { N_("Icelandic (MacIcelandic)"), "x-mac-icelandic", LG_OTHER }, - { N_("Japanese (EUC-JP)"), "EUC-JP", LG_JAPANESE }, - { N_("Japanese (ISO-2022-JP)"), "ISO-2022-JP", LG_JAPANESE }, - { N_("Japanese (Shift_JIS)"), "Shift_JIS", LG_JAPANESE }, - { N_("Korean (EUC-KR)"), "EUC-KR", LG_KOREAN }, - { N_("Korean (ISO-2022-KR)"), "ISO-2022-KR", LG_KOREAN }, - { N_("Korean (JOHAB)"), "x-johab", LG_KOREAN }, - { N_("Korean (UHC)"), "x-windows-949", LG_KOREAN }, - { N_("Nordic (ISO-8859-10)"), "ISO-8859-10", LG_OTHER }, - { N_("Romanian (MacRomanian)"), "x-mac-romanian", LG_OTHER }, - { N_("Romanian (ISO-8859-16)"), "ISO-8859-16", LG_OTHER }, - { N_("South European (ISO-8859-3)"), "ISO-8859-3", LG_OTHER }, - { N_("Thai (TIS-620)"), "TIS-620", LG_OTHER }, - { N_("Turkish (IBM-857)"), "IBM857", LG_TURKISH }, - { N_("Turkish (ISO-8859-9)"), "ISO-8859-9", LG_TURKISH }, - { N_("Turkish (MacTurkish)"), "x-mac-turkish", LG_TURKISH }, - { N_("Turkish (Windows-1254)"), "windows-1254", LG_TURKISH }, - { N_("Unicode (UTF-7)"), "UTF-7", LG_UNICODE }, - { N_("Unicode (UTF-8)"), "UTF-8", LG_UNICODE }, - { N_("Unicode (UTF-16BE)"), "UTF-16BE", LG_UNICODE }, - { N_("Unicode (UTF-16LE)"), "UTF-16LE", LG_UNICODE }, - { N_("Unicode (UTF-32BE)"), "UTF-32BE", LG_UNICODE }, - { N_("Unicode (UTF-32LE)"), "UTF-32LE", LG_UNICODE }, - { N_("User Defined"), "x-user-defined", LG_OTHER }, - { N_("Vietnamese (TCVN)"), "x-viet-tcvn5712", LG_VIETNAMESE }, - { N_("Vietnamese (VISCII)"), "VISCII", LG_VIETNAMESE }, - { N_("Vietnamese (VPS)"), "x-viet-vps", LG_VIETNAMESE }, - { N_("Vietnamese (Windows-1258)"), "windows-1258", LG_VIETNAMESE }, - { N_("Visual Hebrew (ISO-8859-8)"), "ISO-8859-8", LG_HEBREW }, - { N_("Western (IBM-850)"), "IBM850", LG_WESTERN }, - { N_("Western (ISO-8859-1)"), "ISO-8859-1", LG_WESTERN }, - { N_("Western (ISO-8859-15)"), "ISO-8859-15", LG_WESTERN }, - { N_("Western (MacRoman)"), "x-mac-roman", LG_WESTERN }, - { N_("Western (Windows-1252)"), "windows-1252", LG_WESTERN }, - /* encodings whithout posibly translatable names */ - { "T.61-8bit", "T.61-8bit", LG_OTHER }, - { "x-imap4-modified-utf7", "x-imap4-modified-utf7", LG_UNICODE }, - { "x-u-escaped", "x-u-escaped", LG_OTHER } + { N_("Arabic (_IBM-864)"), "IBM864", LG_ARABIC }, + { N_("Arabic (I_BM-864-I)"), "IBM864i", LG_ARABIC }, + { N_("Arabic (ISO-_8859-6)"), "ISO-8859-6", LG_ARABIC }, + { N_("Arabic (I_SO-8859-6-E)"), "ISO-8859-6-E", LG_ARABIC }, + { N_("Arabic (IS_O-8859-6-I)"), "ISO-8859-6-I", LG_ARABIC }, + { N_("Arabic (_MacArabic)"), "x-mac-arabic", LG_ARABIC }, + { N_("Arabic (_Windows-1256)"), "windows-1256", LG_ARABIC }, + { N_("_Armenian (ARMSCII-8)"), "armscii-8", LG_OTHER }, + { N_("Baltic (_ISO-8859-13)"), "ISO-8859-13", LG_BALTIC }, + { N_("Baltic (I_SO-8859-4)"), "ISO-8859-4", LG_BALTIC }, + { N_("Baltic (_Windows-1257)"), "windows-1257", LG_BALTIC }, + { N_("_Celtic (ISO-8859-14)"), "ISO-8859-14", LG_OTHER }, + { N_("Central European (_IBM-852)"), "IBM852", LG_CENTRAL_EUROPEAN }, + { N_("Central European (I_SO-8859-2)"), "ISO-8859-2", LG_CENTRAL_EUROPEAN }, + { N_("Central European (_MacCE)"), "x-mac-ce", LG_CENTRAL_EUROPEAN }, + { N_("Central European (_Windows-1250)"), "windows-1250", LG_CENTRAL_EUROPEAN }, + { N_("Chinese Simplified (_GB18030)"), "gb18030", LG_CHINESE }, + { N_("Chinese Simplified (G_B2312)"), "GB2312", LG_CHINESE }, + { N_("Chinese Simplified (GB_K)"), "x-gbk", LG_CHINESE }, + { N_("Chinese Simplified (_HZ)"), "HZ-GB-2312", LG_CHINESE }, + { N_("Chinese Simplified (_ISO-2022-CN)"), "ISO-2022-CN", LG_CHINESE }, + { N_("Chinese Simplified (_Windows-936)"), "windows-936", LG_CHINESE }, + { N_("Chinese Traditional (Big_5)"), "Big5", LG_CHINESE }, + { N_("Chinese Traditional (Big5-HK_SCS)"), "Big5-HKSCS", LG_CHINESE }, + { N_("Chinese Traditional (_EUC-TW)"), "x-euc-tw", LG_CHINESE }, + { N_("Croatian (Mac_Croatian)"), "x-mac-croatian", LG_CENTRAL_EUROPEAN }, + { N_("Cyrillic (_IBM-855)"), "IBM855", LG_CYRILLIC }, + { N_("Cyrillic (I_SO-8859-5)"), "ISO-8859-5", LG_CYRILLIC }, + { N_("Cyrillic (IS_O-IR-111)"), "ISO-IR-111", LG_CYRILLIC }, + { N_("Cyrillic (_KOI8-R)"), "KOI8-R", LG_CYRILLIC }, + { N_("Cyrillic (_MacCyrillic)"), "x-mac-cyrillic", LG_CYRILLIC }, + { N_("Cyrillic (_Windows-1251)"), "windows-1251", LG_CYRILLIC }, + { N_("Cyrillic/Russian (_CP-866)"), "IBM866", LG_CYRILLIC }, + { N_("Cyrillic/Ukrainian (_KOI8-U)"), "KOI8-U", LG_CYRILLIC }, + { N_("Cyrillic/Ukrainian (Mac_Ukrainian)"), "x-mac-ukrainian", LG_CYRILLIC }, + { N_("English (_US-ASCII)"), "us-ascii", LG_WESTERN }, + { N_("_Farsi (MacFarsi)"), "x-mac-farsi", LG_OTHER }, + { N_("_Georgian (GEOSTD8)"), "geostd8", LG_OTHER }, + { N_("Greek (_ISO-8859-7)"), "ISO-8859-7", LG_GREEK }, + { N_("Greek (_MacGreek)"), "x-mac-greek", LG_GREEK }, + { N_("Greek (_Windows-1253)"), "windows-1253", LG_GREEK }, + { N_("Gujarati (_MacGujarati)"), "x-mac-gujarati", LG_INDIAN }, + { N_("Gurmukhi (Mac_Gurmukhi)"), "x-mac-gurmukhi", LG_INDIAN }, + { N_("Hebrew (_IBM-862)"), "IBM862", LG_HEBREW }, + { N_("Hebrew (I_SO-8859-8-E)"), "ISO-8859-8-E", LG_HEBREW }, + { N_("Hebrew (IS_O-8859-8-I)"), "ISO-8859-8-I", LG_HEBREW }, + { N_("Hebrew (_MacHebrew)"), "x-mac-hebrew", LG_HEBREW }, + { N_("Hebrew (_Windows-1255)"), "windows-1255", LG_HEBREW }, + { N_("Hindi (Mac_Devanagari)"), "x-mac-devanagari", LG_INDIAN }, + { N_("_Icelandic (MacIcelandic)"), "x-mac-icelandic", LG_OTHER }, + { N_("Japanese (_EUC-JP)"), "EUC-JP", LG_JAPANESE }, + { N_("Japanese (_ISO-2022-JP)"), "ISO-2022-JP", LG_JAPANESE }, + { N_("Japanese (_Shift_JIS)"), "Shift_JIS", LG_JAPANESE }, + { N_("Korean (_EUC-KR)"), "EUC-KR", LG_KOREAN }, + { N_("Korean (_ISO-2022-KR)"), "ISO-2022-KR", LG_KOREAN }, + { N_("Korean (_JOHAB)"), "x-johab", LG_KOREAN }, + { N_("Korean (_UHC)"), "x-windows-949", LG_KOREAN }, + { N_("_Nordic (ISO-8859-10)"), "ISO-8859-10", LG_OTHER }, + { N_("_Romanian (_MacRomanian)"), "x-mac-romanian", LG_OTHER }, + { N_("R_omanian (ISO-8859-16)"), "ISO-8859-16", LG_OTHER }, + { N_("South European (_ISO-8859-3)"), "ISO-8859-3", LG_OTHER }, + { N_("_Thai (TIS-620)"), "TIS-620", LG_OTHER }, + { N_("Turkish (_IBM-857)"), "IBM857", LG_TURKISH }, + { N_("Turkish (I_SO-8859-9)"), "ISO-8859-9", LG_TURKISH }, + { N_("Turkish (_MacTurkish)"), "x-mac-turkish", LG_TURKISH }, + { N_("Turkish (_Windows-1254)"), "windows-1254", LG_TURKISH }, + { N_("Unicode (UTF-_7)"), "UTF-7", LG_UNICODE }, + { N_("Unicode (UTF-_8)"), "UTF-8", LG_UNICODE }, + { N_("Unicode (UTF-1_6BE)"), "UTF-16BE", LG_UNICODE }, + { N_("Unicode (UTF-16_LE)"), "UTF-16LE", LG_UNICODE }, + { N_("Unicode (UTF-3_2BE)"), "UTF-32BE", LG_UNICODE }, + { N_("Unicode (UTF-32L_E)"), "UTF-32LE", LG_UNICODE }, + { N_("_User Defined"), "x-user-defined", LG_OTHER }, + { N_("Vietnamese (_TCVN)"), "x-viet-tcvn5712", LG_VIETNAMESE }, + { N_("Vietnamese (_VISCII)"), "VISCII", LG_VIETNAMESE }, + { N_("Vietnamese (V_PS)"), "x-viet-vps", LG_VIETNAMESE }, + { N_("Vietnamese (_Windows-1258)"), "windows-1258", LG_VIETNAMESE }, + { N_("_Visual Hebrew (ISO-8859-8)"), "ISO-8859-8", LG_HEBREW }, + { N_("Western (_IBM-850)"), "IBM850", LG_WESTERN }, + { N_("Western (I_SO-8859-1)"), "ISO-8859-1", LG_WESTERN }, + { N_("Western (IS_O-8859-15)"), "ISO-8859-15", LG_WESTERN }, + { N_("Western (_MacRoman)"), "x-mac-roman", LG_WESTERN }, + { N_("Western (_Windows-1252)"), "windows-1252", LG_WESTERN }, + /* encodings without translatable names */ + { "T._61-8bit", "T.61-8bit", LG_OTHER }, + { "x-_imap4-modified-utf7", "x-imap4-modified-utf7", LG_UNICODE }, + { "x-u-_escaped", "x-u-escaped", LG_OTHER } }; static const guint n_encodings = G_N_ELEMENTS (encodings); |