aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-26 00:43:22 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-26 00:43:22 +0800
commit490d923c81ec7fb222ca4d57bc799f72d461e496 (patch)
tree454da3ab1bb99817910527b56e5feb171a8a5a28 /embed
parent84862972eb6111ae08fd740680a3bdc2e028a696 (diff)
downloadgsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar.gz
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar.bz2
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar.lz
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar.xz
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.tar.zst
gsoc2013-epiphany-490d923c81ec7fb222ca4d57bc799f72d461e496.zip
Add context to ambiguous strings. Fixes bug #113932.
2004-12-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_init): * lib/ephy-langs.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): * src/prefs-dialog.c: (create_fonts_language_menu): Add context to ambiguous strings. Fixes bug #113932.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-encodings.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/embed/ephy-encodings.c b/embed/ephy-encodings.c
index ce8d87e90..922c31a49 100644
--- a/embed/ephy-encodings.c
+++ b/embed/ephy-encodings.c
@@ -140,16 +140,16 @@ encoding_entries [] =
{ N_("Unicode (UTF-_32 BE)"), "UTF-32BE", 0, FALSE },
{ N_("Unicode (UTF-3_2 LE)"), "UTF-32LE", 0, FALSE },
- { N_("Off"), "", LG_NONE, TRUE },
- { N_("Chinese"), "zh_parallel_state_machine", LG_CHINESE_TRAD | LG_CHINESE_SIMP, TRUE },
- { N_("Chinese Simplified"), "zhcn_parallel_state_machine", LG_CHINESE_SIMP, TRUE },
- { N_("Chinese Traditional"), "zhtw_parallel_state_machine", LG_CHINESE_TRAD, TRUE },
- { N_("East Asian"), "cjk_parallel_state_machine", LG_CHINESE_TRAD | LG_CHINESE_SIMP | LG_JAPANESE | LG_KOREAN, TRUE },
- { N_("Japanese"), "ja_parallel_state_machine", LG_JAPANESE, TRUE },
- { N_("Korean"), "ko_parallel_state_machine", LG_KOREAN, TRUE },
- { N_("Russian"), "ruprob", LG_CYRILLIC | LG_UKRAINIAN, TRUE },
- { N_("Universal"), "universal_charset_detector", LG_ALL, TRUE },
- { N_("Ukrainian"), "ukprob", LG_UKRAINIAN, TRUE }
+ { N_("autodetectors|Off"), "", LG_NONE, TRUE },
+ { N_("automatically detect ... character encodings|Chinese"), "zh_parallel_state_machine", LG_CHINESE_TRAD | LG_CHINESE_SIMP, TRUE },
+ { N_("automatically detect ... character encodings|Simplified Chinese"), "zhcn_parallel_state_machine", LG_CHINESE_SIMP, TRUE },
+ { N_("automatically detect ... character encodings|Traditional Chinese"), "zhtw_parallel_state_machine", LG_CHINESE_TRAD, TRUE },
+ { N_("automatically detect ... character encodings|East Asian"), "cjk_parallel_state_machine", LG_CHINESE_TRAD | LG_CHINESE_SIMP | LG_JAPANESE | LG_KOREAN, TRUE },
+ { N_("automatically detect ... character encodings|Japanese"), "ja_parallel_state_machine", LG_JAPANESE, TRUE },
+ { N_("automatically detect ... character encodings|Korean"), "ko_parallel_state_machine", LG_KOREAN, TRUE },
+ { N_("automatically detect ... character encodings|Russian"), "ruprob", LG_CYRILLIC | LG_UKRAINIAN, TRUE },
+ { N_("automatically detect ... character encodings|Universal"), "universal_charset_detector", LG_ALL, TRUE },
+ { N_("automatically detect ... character encodings|Ukrainian"), "ukprob", LG_UKRAINIAN, TRUE }
};
static const guint n_encoding_entries = G_N_ELEMENTS (encoding_entries);
@@ -478,7 +478,9 @@ ephy_encodings_init (EphyEncodings *encodings)
for (i = 0; i < n_encoding_entries; i++)
{
add_encoding (encodings,
- _(encoding_entries[i].title),
+ encoding_entries[i].is_autodetector
+ ? Q_(encoding_entries[i].title)
+ : _(encoding_entries[i].title),
encoding_entries[i].code,
encoding_entries[i].groups,
encoding_entries[i].is_autodetector);