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 086ca8b commit e0efbab6d4a97f3d658c2f4a5f08bbae2a969349
@@ -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"),
@@ -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"),
@@ -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"),
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,

0 comments on commit e0efbab

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