Skip to content

Commit

Permalink
Make translatable the copyright in about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj authored and raveit65 committed Feb 16, 2019
1 parent 879a0cf commit f2c1234
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 2 additions & 4 deletions baobab/src/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)

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

static const gchar copyright[] = "Copyright \xc2\xa9 2005-2010 Fabio Marzocca\n"
"Copyright \xc2\xa9 2011-2018 MATE developers";

gtk_show_about_dialog (GTK_WINDOW (baobab.window),
"comments", _("A graphical tool to analyze disk usage."),
"version", VERSION,
"copyright", copyright,
"copyright", _("Copyright \xc2\xa9 2005-2010 Fabio Marzocca\n"
"Copyright \xc2\xa9 2011-2019 MATE developers"),
"logo-icon-name", "mate-disk-usage-analyzer",
"license", license_trans,
"authors", authors,
Expand Down
4 changes: 2 additions & 2 deletions logview/src/logview-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,8 @@ logview_about (GtkWidget *widget, GtkWidget *window)
gtk_show_about_dialog (GTK_WINDOW (window),
"name", _("System Log Viewer"),
"version", VERSION,
"copyright", "Copyright \xc2\xa9 1998-2008 Free Software Foundation, Inc.\n"
"Copyright \xc2\xa9 2011-2018 MATE developers",
"copyright", _("Copyright \xc2\xa9 1998-2008 Free Software Foundation, Inc.\n"
"Copyright \xc2\xa9 2011-2019 MATE developers"),
"license", license_trans,
"wrap-license", TRUE,
"comments", _("A system log viewer for MATE."),
Expand Down
5 changes: 2 additions & 3 deletions mate-dictionary/src/gdict-about.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ gdict_show_about_dialog (GtkWidget *parent)
};

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

const gchar *license =
Expand All @@ -78,7 +76,8 @@ gdict_show_about_dialog (GtkWidget *parent)
gtk_show_about_dialog (GTK_IS_WINDOW (parent) ? GTK_WINDOW (parent) : NULL,
"name", _("Dictionary"),
"version", VERSION,
"copyright", copyright,
"copyright", _("Copyright \xc2\xa9 2005-2006 Emmanuele Bassi\n"
"Copyright \xc2\xa9 2011-2019 MATE developers"),
"comments", comments,
"authors", authors,
"documenters", documenters,
Expand Down

0 comments on commit f2c1234

Please sign in to comment.