Skip to content
Permalink
Browse files

Make translatable the copyright in about dialog

  • Loading branch information...
rbuj authored and raveit65 committed Feb 15, 2019
1 parent 879a0cf commit f2c1234cdbc1fafc79f80a6e5f442ef2a5da387f
Showing with 6 additions and 9 deletions.
  1. +2 −4 baobab/src/callbacks.c
  2. +2 −2 logview/src/logview-window.c
  3. +2 −3 mate-dictionary/src/gdict-about.c
@@ -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,
@@ -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."),
@@ -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 =
@@ -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,

0 comments on commit f2c1234

Please sign in to comment.
You can’t perform that action at this time.