diff --git a/po/POTFILES.in b/po/POTFILES.in index 6b7be4ccc..58e3b102e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -226,6 +226,11 @@ src/modules/dropshadow/e_mod_main.c src/modules/everything/e_mod_main.c src/modules/everything/evry.c src/modules/everything/evry_config.c +src/modules/everything/evry_plug_actions.c +src/modules/everything/evry_plug_aggregator.c +src/modules/everything/evry_plug_clipboard.c +src/modules/everything/evry_plug_view_help.c +src/modules/everything/evry_util.c src/modules/everything-apps/e_mod_main.c src/modules/everything-aspell/e_mod_main.c src/modules/everything-calc/e_mod_main.c diff --git a/src/modules/everything-apps/e_mod_main.c b/src/modules/everything-apps/e_mod_main.c index 209659dab..e86eaf92c 100644 --- a/src/modules/everything-apps/e_mod_main.c +++ b/src/modules/everything-apps/e_mod_main.c @@ -946,12 +946,12 @@ module_init(void) return EINA_FALSE; p1 = E_NEW(Plugin, 1); - EVRY_PLUGIN_NEW(EVRY_PLUGIN(p1), "Applications", type_subject, "", "APPLICATION", + EVRY_PLUGIN_NEW(EVRY_PLUGIN(p1), _("Applications"), type_subject, "", "APPLICATION", _begin, _cleanup, _fetch, _icon_get, _free_plugin); EVRY_PLUGIN(p1)->complete = &_complete; p2 = E_NEW(Plugin, 1); - EVRY_PLUGIN_NEW(EVRY_PLUGIN(p2), "Open With...", type_action, "FILE", "", + EVRY_PLUGIN_NEW(EVRY_PLUGIN(p2), _("Open With..."), type_action, "FILE", "", _begin_open_with, _cleanup, _fetch, _icon_get, _free_plugin); @@ -960,22 +960,22 @@ module_init(void) evry_plugin_register(EVRY_PLUGIN(p1), 1); evry_plugin_register(EVRY_PLUGIN(p2), 1); - act = EVRY_ACTION_NEW("Launch", "APPLICATION", NULL, + act = EVRY_ACTION_NEW(_("Launch"), "APPLICATION", NULL, "everything-launch", _exec_app_action, _exec_app_check_item); - act1 = EVRY_ACTION_NEW("Open File...", "APPLICATION", "FILE", "document-open", + act1 = EVRY_ACTION_NEW(_("Open File..."), "APPLICATION", "FILE", "document-open", _exec_app_action, _exec_app_check_item); - act2 = EVRY_ACTION_NEW("Run in Terminal", "APPLICATION", NULL, "system-run", + act2 = EVRY_ACTION_NEW(_("Run in Terminal"), "APPLICATION", NULL, "system-run", _exec_term_action, _exec_term_check_item); - act3 = EVRY_ACTION_NEW("Edit Application Entry", "APPLICATION", NULL, "everything-launch", + act3 = EVRY_ACTION_NEW(_("Edit Application Entry"), "APPLICATION", NULL, "everything-launch", _edit_app_action, _edit_app_check_item); - act4 = EVRY_ACTION_NEW("New Application Entry", "APPLICATION", NULL, "everything-launch", + act4 = EVRY_ACTION_NEW(_("New Application Entry"), "APPLICATION", NULL, "everything-launch", _new_app_action, _new_app_check_item); - act5 = EVRY_ACTION_NEW("Run with Sudo", "APPLICATION", NULL, "system-run", + act5 = EVRY_ACTION_NEW(_("Run with Sudo"), "APPLICATION", NULL, "system-run", _exec_sudo_action, NULL); evry_action_register(act, 0); diff --git a/src/modules/everything-aspell/e_mod_main.c b/src/modules/everything-aspell/e_mod_main.c index 9cb84d277..7a55df637 100644 --- a/src/modules/everything-aspell/e_mod_main.c +++ b/src/modules/everything-aspell/e_mod_main.c @@ -339,7 +339,7 @@ module_init(void) p = E_NEW(Plugin, 1); - EVRY_PLUGIN_NEW(p, "Spell Checker", type_subject, "", "TEXT", + EVRY_PLUGIN_NEW(p, _("Spell Checker"), type_subject, "", "TEXT", NULL, _cleanup, _fetch, NULL, _free_plugin); EVRY_PLUGIN(p)->aggregate = EINA_FALSE; diff --git a/src/modules/everything-calc/e_mod_main.c b/src/modules/everything-calc/e_mod_main.c index 76f1a64fd..75b958965 100644 --- a/src/modules/everything-calc/e_mod_main.c +++ b/src/modules/everything-calc/e_mod_main.c @@ -229,7 +229,7 @@ module_init(void) if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; - p1 = EVRY_PLUGIN_NEW(NULL, "Calculator", type_subject, NULL, "TEXT", + p1 = EVRY_PLUGIN_NEW(NULL, _("Calculator"), type_subject, NULL, "TEXT", _begin, _cleanup, _fetch, NULL, NULL); p1->view_mode = VIEW_MODE_LIST; diff --git a/src/modules/everything-files/e_mod_main.c b/src/modules/everything-files/e_mod_main.c index 9c1a0d975..01eeaa2b3 100644 --- a/src/modules/everything-files/e_mod_main.c +++ b/src/modules/everything-files/e_mod_main.c @@ -593,20 +593,20 @@ module_init(void) if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; - p1 = EVRY_PLUGIN_NEW(NULL, "Files", type_subject, "FILE", "FILE", + p1 = EVRY_PLUGIN_NEW(NULL, _("Files"), type_subject, "FILE", "FILE", _begin, _cleanup, _fetch, _icon_get, NULL); - p2 = EVRY_PLUGIN_NEW(NULL, "Files", type_object, "FILE", "FILE", + p2 = EVRY_PLUGIN_NEW(NULL, _("Files"), type_object, "FILE", "FILE", _begin, _cleanup, _fetch, _icon_get, NULL); evry_plugin_register(p1, 3); evry_plugin_register(p2, 1); - act1 = EVRY_ACTION_NEW("Open Folder (EFM)", "FILE", NULL, "folder-open", + act1 = EVRY_ACTION_NEW(_("Open Folder (EFM)"), "FILE", NULL, "folder-open", _open_folder_action, _open_folder_check); evry_action_register(act1, 0); - act2 = EVRY_ACTION_NEW("Open Terminal here", "FILE", NULL, "system-run", + act2 = EVRY_ACTION_NEW(_("Open Terminal here"), "FILE", NULL, "system-run", _open_term_action, NULL); evry_action_register(act2, 2); diff --git a/src/modules/everything-settings/e_mod_main.c b/src/modules/everything-settings/e_mod_main.c index 1b437b47c..5611ae791 100644 --- a/src/modules/everything-settings/e_mod_main.c +++ b/src/modules/everything-settings/e_mod_main.c @@ -123,12 +123,12 @@ module_init(void) if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; - p = EVRY_PLUGIN_NEW(NULL, "Settings", type_subject, NULL, "E_SETTINGS", + p = EVRY_PLUGIN_NEW(NULL, _("Settings"), type_subject, NULL, "E_SETTINGS", NULL, _cleanup, _fetch, _item_icon_get, NULL); evry_plugin_register(p, 10); - act = EVRY_ACTION_NEW("Show Dialog", "E_SETTINGS", NULL, + act = EVRY_ACTION_NEW(_("Show Dialog"), "E_SETTINGS", NULL, "preferences-advanced", _action, NULL); evry_action_register(act, 0); diff --git a/src/modules/everything-wallpaper/e_mod_main.c b/src/modules/everything-wallpaper/e_mod_main.c index 46459130f..cba8791b8 100644 --- a/src/modules/everything-wallpaper/e_mod_main.c +++ b/src/modules/everything-wallpaper/e_mod_main.c @@ -205,7 +205,7 @@ module_init(void) if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; - _plug = EVRY_PLUGIN_NEW(NULL, "Wallpaper", type_action, "FILE", "", + _plug = EVRY_PLUGIN_NEW(NULL, _("Wallpaper"), type_action, "FILE", "", _begin, _cleanup, _fetch, _icon_get, NULL); EVRY_PLUGIN(_plug)->icon = "preferences-desktop-wallpaper"; diff --git a/src/modules/everything-windows/e_mod_main.c b/src/modules/everything-windows/e_mod_main.c index 37640996f..63ccce250 100644 --- a/src/modules/everything-windows/e_mod_main.c +++ b/src/modules/everything-windows/e_mod_main.c @@ -486,13 +486,13 @@ module_init(void) if (!evry_api_version_check(EVRY_API_VERSION)) return EINA_FALSE; - p1 = EVRY_PLUGIN_NEW(NULL, "Windows", type_subject, NULL, "BORDER", + p1 = EVRY_PLUGIN_NEW(NULL, _("Windows"), type_subject, NULL, "BORDER", _begin, _cleanup, _fetch, _item_icon_get, NULL); p1->transient = EINA_TRUE; evry_plugin_register(p1, 2); - p2 = EVRY_PLUGIN_NEW(NULL, "Window Action", type_action, "BORDER", NULL, + p2 = EVRY_PLUGIN_NEW(NULL, _("Window Action"), type_action, "BORDER", NULL, _act_begin, _act_cleanup, _act_fetch, _act_item_icon_get, NULL); EVRY_PLUGIN(p2)->action = &_act_action; diff --git a/src/modules/everything/evry_config.c b/src/modules/everything/evry_config.c index d151abdd0..4cde762c4 100644 --- a/src/modules/everything/evry_config.c +++ b/src/modules/everything/evry_config.c @@ -287,13 +287,13 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf of = e_widget_framelist_add(evas, _("History Sort"), 0); rg = e_widget_radio_group_new(&cfdata->history_sort_mode); - ob = e_widget_radio_add(evas, "By usage", 0, rg); + ob = e_widget_radio_add(evas, _("By usage"), 0, rg); e_widget_radio_toggle_set(ob, (cfdata->history_sort_mode == 0)); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, "Most used", 1, rg); + ob = e_widget_radio_add(evas, _("Most used"), 1, rg); e_widget_radio_toggle_set(ob, (cfdata->history_sort_mode == 1)); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, "Last used", 2, rg); + ob = e_widget_radio_add(evas, _("Last used"), 2, rg); e_widget_radio_toggle_set(ob, (cfdata->history_sort_mode == 2)); e_widget_framelist_object_append(of, ob); e_widget_list_object_append(o, of, 1, 1, 0.5); diff --git a/src/modules/everything/evry_plug_aggregator.c b/src/modules/everything/evry_plug_aggregator.c index 189da16e8..93af95f50 100644 --- a/src/modules/everything/evry_plug_aggregator.c +++ b/src/modules/everything/evry_plug_aggregator.c @@ -312,7 +312,7 @@ evry_plug_aggregator_new(Evry_Selector *selector) Plugin_Config *pc; p = E_NEW(Plugin, 1); - EVRY_PLUGIN_NEW(EVRY_PLUGIN(p), "All", 0, "", "", + EVRY_PLUGIN_NEW(EVRY_PLUGIN(p), _("All"), 0, "", "", NULL, _cleanup, _fetch, _icon_get, _plugin_free); EVRY_PLUGIN(p)->action = &_action; diff --git a/src/modules/everything/evry_plug_clipboard.c b/src/modules/everything/evry_plug_clipboard.c index 83f971b32..de764f3c8 100644 --- a/src/modules/everything/evry_plug_clipboard.c +++ b/src/modules/everything/evry_plug_clipboard.c @@ -31,7 +31,7 @@ evry_plug_clipboard_init(void) if (!win) return EINA_FALSE; //FIXME: Icon name doesnt follow FDO Spec - act = EVRY_ACTION_NEW("Copy to Clipboard", "TEXT", NULL, "everything-clipboard", + act = EVRY_ACTION_NEW(_("Copy to Clipboard"), "TEXT", NULL, "everything-clipboard", _action, _check_item); evry_action_register(act, 10); diff --git a/src/modules/everything/evry_plug_view_help.c b/src/modules/everything/evry_plug_view_help.c index 59aaee6d7..fb0b000a8 100644 --- a/src/modules/everything/evry_plug_view_help.c +++ b/src/modules/everything/evry_plug_view_help.c @@ -62,7 +62,7 @@ _view_create(Evry_View *v, const Evry_State *s, const Evas_Object *swallow) int mw, mh; char *text = - "<b>Welcome!</b>" + _("<b>Welcome!</b>" "Ok, here comes the explanation of everything...
" "Just type a few letters of the thing you are looking for.
" "Use cursor <up/down> to choose from the list of things.
" @@ -74,7 +74,7 @@ _view_create(Evry_View *v, const Evry_State *s, const Evas_Object *swallow) "<ctrl+left/right>" "cycle through plugins
" "<ctrl+1> " - "choose a different view (e.g. for images)
"; + "choose a different view (e.g. for images)
"); if (v->active) return v;