Skip to content

Commit f2c1234

Browse files
rbujraveit65
authored andcommitted
Make translatable the copyright in about dialog
1 parent 879a0cf commit f2c1234

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

baobab/src/callbacks.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,11 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
9191

9292
gchar* license_trans = g_strjoin("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
9393

94-
static const gchar copyright[] = "Copyright \xc2\xa9 2005-2010 Fabio Marzocca\n"
95-
"Copyright \xc2\xa9 2011-2018 MATE developers";
96-
9794
gtk_show_about_dialog (GTK_WINDOW (baobab.window),
9895
"comments", _("A graphical tool to analyze disk usage."),
9996
"version", VERSION,
100-
"copyright", copyright,
97+
"copyright", _("Copyright \xc2\xa9 2005-2010 Fabio Marzocca\n"
98+
"Copyright \xc2\xa9 2011-2019 MATE developers"),
10199
"logo-icon-name", "mate-disk-usage-analyzer",
102100
"license", license_trans,
103101
"authors", authors,

logview/src/logview-window.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,8 @@ logview_about (GtkWidget *widget, GtkWidget *window)
766766
gtk_show_about_dialog (GTK_WINDOW (window),
767767
"name", _("System Log Viewer"),
768768
"version", VERSION,
769-
"copyright", "Copyright \xc2\xa9 1998-2008 Free Software Foundation, Inc.\n"
770-
"Copyright \xc2\xa9 2011-2018 MATE developers",
769+
"copyright", _("Copyright \xc2\xa9 1998-2008 Free Software Foundation, Inc.\n"
770+
"Copyright \xc2\xa9 2011-2019 MATE developers"),
771771
"license", license_trans,
772772
"wrap-license", TRUE,
773773
"comments", _("A system log viewer for MATE."),

mate-dictionary/src/gdict-about.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ gdict_show_about_dialog (GtkWidget *parent)
5353
};
5454

5555
const gchar *translator_credits = _("translator-credits");
56-
const gchar *copyright = "Copyright \xc2\xa9 2005-2006 Emmanuele Bassi\n"
57-
"Copyright \xc2\xa9 2011-2018 MATE developers";
5856
const gchar *comments = _("Look up words in dictionaries");
5957

6058
const gchar *license =
@@ -78,7 +76,8 @@ gdict_show_about_dialog (GtkWidget *parent)
7876
gtk_show_about_dialog (GTK_IS_WINDOW (parent) ? GTK_WINDOW (parent) : NULL,
7977
"name", _("Dictionary"),
8078
"version", VERSION,
81-
"copyright", copyright,
79+
"copyright", _("Copyright \xc2\xa9 2005-2006 Emmanuele Bassi\n"
80+
"Copyright \xc2\xa9 2011-2019 MATE developers"),
8281
"comments", comments,
8382
"authors", authors,
8483
"documenters", documenters,

0 commit comments

Comments
 (0)