1
0
gnome-control-center/gnome-control-center-shell-common-tasks-i18n.patch
Vincent Untz 626d1e4cbf Accepting request 27606 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/gnome-control-center via accept of submit request 27606 revision 4.
Request was accepted with message:
accept

OBS-URL: https://build.opensuse.org/request/show/27606
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=57
2009-12-24 15:27:00 +00:00

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]);