1
0
gnome-control-center/gnome-control-center-shell-common-tasks-i18n.patch

29 lines
1.2 KiB
Diff

Index: gnome-control-center-2.27.91/shell/control-center.c
===================================================================
--- gnome-control-center-2.27.91.orig/shell/control-center.c
+++ gnome-control-center-2.27.91/shell/control-center.c
@@ -35,6 +35,14 @@ static GSList *get_actions_list ();
#define CONTROL_CENTER_ACTIONS_SEPARATOR ";"
#define EXIT_SHELL_ON_STATIC_ACTION "exit_shell_on_static_action"
+#define COMMON_TASK_1 N_("Change Look and Feel")
+#define COMMON_TASK_2 N_("Set Preferred Applications")
+#define COMMON_TASK_3 N_("Configure Printer")
+#define COMMON_TASK_4 N_("Configure Network")
+#define COMMON_TASK_5 N_("Edit Personal Information")
+#define COMMON_TASK_6 N_("Add User")
+#define COMMON_TASK_7 N_("Open Administrator Settings")
+
static GSList *
get_actions_list (void)
{
@@ -57,7 +65,7 @@ get_actions_list (void)
action = g_new (AppAction, 1);
temp = g_strsplit (entry, CONTROL_CENTER_ACTIONS_SEPARATOR, 2);
- action->name = g_strdup (temp[0]);
+ action->name = g_strdup (_(temp[0]));
if ((action->item = load_desktop_item_from_unknown (temp[1])) == NULL)
{
g_warning ("get_actions_list() - PROBLEM - Can't load %s\n", temp[1]);