summaryrefslogtreecommitdiff
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
parent086ca8b01aa6566ba7be07ba348d5b16b887bd48 (diff)
downloadmate-panel-e0efbab6d4a97f3d658c2f4a5f08bbae2a969349.tar.bz2
mate-panel-e0efbab6d4a97f3d658c2f4a5f08bbae2a969349.tar.xz
Make translatable the copyright in about dialog
-rw-r--r--applets/clock/clock.c7
-rw-r--r--applets/fish/fish.c7
-rw-r--r--applets/notification_area/main.c11
-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
-rw-r--r--mate-panel/panel-context-menu.c5
8 files changed, 26 insertions, 46 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index afe39421..8b60341e 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -3291,15 +3291,12 @@ static void display_about_dialog(GtkAction* action, ClockData* cd)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 1998-2004 Free Software Foundation, Inc.";
-
gtk_show_about_dialog(NULL,
"program-name", _("Clock"),
"authors", authors,
"comments", _("The Clock displays the current time and date"),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 1998-2004 Free Software Foundation, Inc.\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"logo-icon-name", CLOCK_ICON,
"translator-credits", _("translator-credits"),
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index 0ee7bcc4..922d6ba0 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -547,9 +547,6 @@ static void display_about_dialog(GtkAction* action, FishApplet* fish)
char* authors[3];
char* descr;
- char copyright[] = \
- "Copyright \xc2\xa9 1998-2002 Free Software Foundation, Inc.\n"
- "Copyright \xc2\xa9 2012-2018 MATE developers";
authors[0] = g_strdup_printf(author_format, fish->name);
authors[1] = _("(with minor help from George)");
@@ -561,7 +558,9 @@ static void display_about_dialog(GtkAction* action, FishApplet* fish)
"program-name", _("Fish"),
"authors", authors,
"comments", descr,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 1998-2002 Free Software Foundation, Inc.\n"
+ "Copyright \xc2\xa9 2002-2005 Vincent Untz\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"logo-icon-name", FISH_ICON,
"translator-credits", _("translator-credits"),
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c
index 271d22f8..613a2470 100644
--- a/applets/notification_area/main.c
+++ b/applets/notification_area/main.c
@@ -272,17 +272,14 @@ static void about_cb(GtkAction* action, NaTrayApplet* applet)
NULL
};
- const char copyright[] = \
- "Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
- "Copyright \xc2\xa9 2003-2006 Vincent Untz\n"
- "Copyright \xc2\xa9 2011 Perberos\n"
- "Copyright \xc2\xa9 2012-2018 MATE developers";
-
gtk_show_about_dialog(NULL,
"program-name", _("Notification Area"),
"authors", authors,
//"comments", _(comments),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
+ "Copyright \xc2\xa9 2003-2006 Vincent Untz\n"
+ "Copyright \xc2\xa9 2011 Perberos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"documenters", documenters,
"logo-icon-name", NOTIFICATION_AREA_ICON,
"translator-credits", _("translator-credits"),
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,
diff --git a/mate-panel/panel-context-menu.c b/mate-panel/panel-context-menu.c
index cd618485..7a600b43 100644
--- a/mate-panel/panel-context-menu.c
+++ b/mate-panel/panel-context-menu.c
@@ -113,8 +113,9 @@ panel_context_menu_show_about_dialog (GtkWidget *menuitem)
g_object_set (about,
"program-name", _("The MATE Panel"),
"version", VERSION,
- "copyright", "Copyright \xc2\xa9 1997-2003 Free Software Foundation, Inc.\n"
- "Copyright \xc2\xa9 2011-2018 MATE Developers.",
+ "copyright", _("Copyright \xc2\xa9 1997-2003 Free Software Foundation, Inc.\n"
+ "Copyright \xc2\xa9 2004 Vincent Untz\n"
+ "Copyright \xc2\xa9 2011-2019 MATE developers"),
"comments", _("This program is responsible for launching other "
"applications and provides useful utilities."),
"authors", authors,