summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-15 11:50:03 +0100
committerraveit65 <[email protected]>2019-02-15 18:30:04 +0100
commite0efbab6d4a97f3d658c2f4a5f08bbae2a969349 (patch)
tree3b1dcd6f4eaabd7776747d62f6003a0619352e2c /applets/wncklet
parent086ca8b01aa6566ba7be07ba348d5b16b887bd48 (diff)
downloadmate-panel-e0efbab6d4a97f3d658c2f4a5f08bbae2a969349.tar.bz2
mate-panel-e0efbab6d4a97f3d658c2f4a5f08bbae2a969349.tar.xz
Make translatable the copyright in about dialog
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/showdesktop.c11
-rw-r--r--applets/wncklet/window-list.c9
-rw-r--r--applets/wncklet/window-menu.c13
-rw-r--r--applets/wncklet/workspace-switcher.c9
4 files changed, 14 insertions, 28 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index 632e2e82..78dd2778 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -494,18 +494,13 @@ static void display_about_dialog(GtkAction* action, ShowDesktopData* sdd)
NULL
};
- /* Translator credits */
- //const char* translator_credits = _("translator-credits");
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2011 Perberos\n"
- "Copyright \xc2\xa9 2002 Red Hat, Inc.";
-
gtk_show_about_dialog(GTK_WINDOW(sdd->applet),
"program-name", _("Show Desktop Button"),
"authors", authors,
"comments", _("This button lets you hide all windows and show the desktop."),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
+ "Copyright \xc2\xa9 2011 Perberos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"icon-name", SHOW_DESKTOP_ICON,
"logo-icon-name", SHOW_DESKTOP_ICON,
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index b7097ee6..2a5ea4ba 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -557,16 +557,13 @@ static void display_about_dialog(GtkAction* action, TasklistData* tasklist)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2011 Perberos\n"
- "Copyright \xc2\xa9 2002 Red Hat, Inc.";
-
gtk_show_about_dialog(GTK_WINDOW(tasklist->applet),
"program-name", _("Window List"),
"authors", authors,
"comments", _("The Window List shows a list of all windows in a set of buttons and lets you browse them."),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
+ "Copyright \xc2\xa9 2011 Perberos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"icon-name", WINDOW_LIST_ICON,
"logo-icon-name", WINDOW_LIST_ICON,
diff --git a/applets/wncklet/window-menu.c b/applets/wncklet/window-menu.c
index de8b7928..fc10cb2a 100644
--- a/applets/wncklet/window-menu.c
+++ b/applets/wncklet/window-menu.c
@@ -72,18 +72,15 @@ static void window_menu_about(GtkAction* action, WindowMenu* window_menu)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2011 Perberos\n"
- "Copyright \xc2\xa9 2003 Sun Microsystems, Inc.\n"
- "Copyright \xc2\xa9 2001 Free Software Foundation, Inc.\n"
- "Copyright \xc2\xa9 2000 Helix Code, Inc.";
-
gtk_show_about_dialog(GTK_WINDOW(window_menu->applet),
"program-name", _("Window Selector"),
"authors", authors,
"comments", _("The Window Selector shows a list of all windows in a menu and lets you browse them."),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2000 Helix Code, Inc.\n"
+ "Copyright \xc2\xa9 2001 Free Software Foundation, Inc.\n"
+ "Copyright \xc2\xa9 2003 Sun Microsystems, Inc.\n"
+ "Copyright \xc2\xa9 2011 Perberos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"icon-name", WINDOW_MENU_ICON,
"logo-icon-name", WINDOW_MENU_ICON,
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 13f18bd9..d3475e0d 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -630,16 +630,13 @@ static void display_about_dialog(GtkAction* action, PagerData* pager)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2011 Perberos\n"
- "Copyright \xc2\xa9 2002 Red Hat, Inc.";
-
gtk_show_about_dialog(GTK_WINDOW(pager->applet),
"program-name", _("Workspace Switcher"),
"authors", authors,
"comments", _("The Workspace Switcher shows you a small version of your workspaces that lets you manage your windows."),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
+ "Copyright \xc2\xa9 2011 Perberos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"icon-name", WORKSPACE_SWITCHER_ICON,
"logo-icon-name", WORKSPACE_SWITCHER_ICON,