diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-05-27 05:13:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-05-27 05:13:03 +0800 |
commit | 3f91d766156e07b491c27bc447fb7800cc7b4cdd (patch) | |
tree | c6fd21b549d42d2d420bf0f2980a751236d7c990 /lib | |
parent | a991c432844c98ff65cca9765f5e8e3cf25d19b3 (diff) | |
download | gsoc2013-epiphany-3f91d766156e07b491c27bc447fb7800cc7b4cdd.tar.gz gsoc2013-epiphany-3f91d766156e07b491c27bc447fb7800cc7b4cdd.tar.zst gsoc2013-epiphany-3f91d766156e07b491c27bc447fb7800cc7b4cdd.zip |
Refactored the charset and language groups strings.
2003-05-26 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/mozilla-i18n.h:
* embed/mozilla/mozilla-i18n.c:
* embed/mozilla/mozilla-embed-single.c: (fill_charsets_list),
(impl_get_charset_titles):
* embed/mozilla/mozilla-notifiers.c: (mozilla_notifiers_init):
* lib/ephy-langs.h:
* src/prefs-dialog.c: (setup_font_menu):
Refactored the charset and language groups strings.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 1 | ||||
-rw-r--r-- | lib/ephy-langs.h | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index f043b19fa..a4769da1a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -34,6 +34,7 @@ libephy_la_SOURCES = \ ephy-gobject-misc.h \ ephy-gui.c \ ephy-gui.h \ + ephy-langs.h \ ephy-marshal.c \ ephy-marshal.h \ ephy-node.c \ diff --git a/lib/ephy-langs.h b/lib/ephy-langs.h new file mode 100644 index 000000000..38df4fecf --- /dev/null +++ b/lib/ephy-langs.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2000 Marco Pesenti Gritti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <glib.h> + +G_BEGIN_DECLS + +/* language encoding groups */ +static const gchar *lang_encode_item[] = +{ + "x-western", + "x-central-euro", + "ja", + "zh-TW", + "zh-CN", + "ko", + "x-cyrillic", + "x-baltic", + "el", + "tr", + "x-unicode", + "th", + "he", + "ar" +}; +static const guint n_lang_encode_items = G_N_ELEMENTS (lang_encode_item); + +G_END_DECLS |