# HG changeset patch # User Richard Nelson # Date 1179542608 0 # Node ID a924c94ce5da9528673cf0c5f187c00692f6e68a # Parent 9d7989b05338f1d9b7c26df9b69887a4c58b86e9 Mark strings for translation diff -r 9d7989b05338 -r a924c94ce5da finch/gntplugin.c --- a/finch/gntplugin.c Sat May 19 02:35:41 2007 +0000 +++ b/finch/gntplugin.c Sat May 19 02:43:28 2007 +0000 @@ -67,11 +67,10 @@ static void plugin_toggled_cb(GntWidget *tree, PurplePlugin *plugin, gpointer null) { - /* TODO: Mark these strings for translation after the freeze */ if (gnt_tree_get_choice(GNT_TREE(tree), plugin)) { if (!purple_plugin_load(plugin)) { - purple_notify_error(NULL, "ERROR", "loading plugin failed", NULL); + purple_notify_error(NULL, _("ERROR"), _("loading plugin failed"), NULL); gnt_tree_set_choice(GNT_TREE(tree), plugin, FALSE); } } @@ -80,7 +79,7 @@ GntWidget *win; if (!purple_plugin_unload(plugin)) { - purple_notify_error(NULL, "ERROR", "unloading plugin failed", NULL); + purple_notify_error(NULL, _("ERROR"), _("unloading plugin failed"), NULL); gnt_tree_set_choice(GNT_TREE(tree), plugin, TRUE); } diff -r 9d7989b05338 -r a924c94ce5da finch/gntprefs.c --- a/finch/gntprefs.c Sat May 19 02:35:41 2007 +0000 +++ b/finch/gntprefs.c Sat May 19 02:43:28 2007 +0000 @@ -76,7 +76,7 @@ get_idle_options() { GList *list = NULL; - list = g_list_append(list, "Based on keyboard use"); /* XXX: string freeze */ + list = g_list_append(list, _("Based on keyboard use")); list = g_list_append(list, "system"); list = g_list_append(list, (char*)_("From last sent message")); list = g_list_append(list, "purple");