aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-30 14:23:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-30 14:23:28 +0800
commit457d2772475b6b15d0eae396ecce23ec58370211 (patch)
tree44bdaf08c6bf96764911852dfb0b9e05fe1ef346
parent2dcc01b86dd25971353e0a0677ecb0174c032808 (diff)
downloadgsoc2013-evolution-457d2772475b6b15d0eae396ecce23ec58370211.tar.gz
gsoc2013-evolution-457d2772475b6b15d0eae396ecce23ec58370211.tar.zst
gsoc2013-evolution-457d2772475b6b15d0eae396ecce23ec58370211.zip
use gnome_i18n_get_language_list so we get the right one (LC_MESSAGES).
2004-04-30 Not Zed <NotZed@Ximian.com> * tools/killev.c (main): use gnome_i18n_get_language_list so we get the right one (LC_MESSAGES). svn path=/trunk/; revision=25702
-rw-r--r--ChangeLog5
-rw-r--r--tools/killev.c9
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c80ac173..b407c069e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-30 Not Zed <NotZed@Ximian.com>
+
+ * tools/killev.c (main): use gnome_i18n_get_language_list so we
+ get the right one (LC_MESSAGES).
+
2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
* configure.in (UPGRADE_REVISION): Changed to 11.
diff --git a/tools/killev.c b/tools/killev.c
index 30c5986177..0ab1b23a90 100644
--- a/tools/killev.c
+++ b/tools/killev.c
@@ -34,8 +34,6 @@
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
-#include "e-util/e-lang-utils.h"
-
typedef struct {
char *location;
GPtrArray *names;
@@ -188,6 +186,8 @@ add_matching_iid (const char *iid)
int
main (int argc, char **argv)
{
+ const GList *l;
+
bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
@@ -196,7 +196,10 @@ main (int argc, char **argv)
GNOME_PROGRAM_STANDARD_PROPERTIES,
NULL);
- languages = e_get_language_list ();
+ l = gnome_i18n_get_language_list("LC_MESSAGES");
+ for (languages=NULL;l;l=l->next)
+ languages = g_slist_append(languages, l->data);
+
components = g_hash_table_new (g_str_hash, g_str_equal);
add_matching_repo_id ("IDL:GNOME/Evolution/Shell:" BASE_VERSION);