Mercurial > pidgin.yaz
diff finch/gntplugin.c @ 17160:a924c94ce5da
Mark strings for translation
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Sat, 19 May 2007 02:43:28 +0000 |
parents | beb960114f7d |
children | 7be04c20bf22 |
line wrap: on
line diff
--- 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); }