aboutdialog: Mark strings as translatable

https://bugzilla.gnome.org/show_bug.cgi?id=730893
This commit is contained in:
Thomas Lange 2014-10-18 22:53:03 +02:00 committed by Benjamin Otte
parent 55dddbc54a
commit a6ae8f6d96

View File

@ -405,8 +405,8 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
*/ */
props[PROP_LICENSE] = props[PROP_LICENSE] =
g_param_spec_string ("license", g_param_spec_string ("license",
_("License"), P_("License"),
_("The license of the program"), P_("The license of the program"),
NULL, NULL,
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@ -694,7 +694,7 @@ apply_use_header_bar (GtkAboutDialog *about)
action_area = gtk_dialog_get_action_area (GTK_DIALOG (about)); action_area = gtk_dialog_get_action_area (GTK_DIALOG (about));
G_GNUC_END_IGNORE_DEPRECATIONS G_GNUC_END_IGNORE_DEPRECATIONS
priv->credits_button = gtk_toggle_button_new_with_mnemonic ("C_redits"); priv->credits_button = gtk_toggle_button_new_with_mnemonic (_("C_redits"));
g_object_bind_property (priv->credits_page, "visible", g_object_bind_property (priv->credits_page, "visible",
priv->credits_button, "visible", G_BINDING_SYNC_CREATE); priv->credits_button, "visible", G_BINDING_SYNC_CREATE);
g_signal_connect (priv->credits_button, "toggled", G_CALLBACK (toggle_credits), about); g_signal_connect (priv->credits_button, "toggled", G_CALLBACK (toggle_credits), about);
@ -702,7 +702,7 @@ apply_use_header_bar (GtkAboutDialog *about)
"secondary", TRUE, "secondary", TRUE,
NULL); NULL);
priv->license_button = gtk_toggle_button_new_with_mnemonic ("_License"); priv->license_button = gtk_toggle_button_new_with_mnemonic (_("_License"));
g_object_bind_property (priv->license_page, "visible", g_object_bind_property (priv->license_page, "visible",
priv->license_button, "visible", G_BINDING_SYNC_CREATE); priv->license_button, "visible", G_BINDING_SYNC_CREATE);
g_signal_connect (priv->license_button, "toggled", G_CALLBACK (toggle_license), about); g_signal_connect (priv->license_button, "toggled", G_CALLBACK (toggle_license), about);
@ -711,7 +711,7 @@ apply_use_header_bar (GtkAboutDialog *about)
NULL); NULL);
gtk_dialog_add_button (GTK_DIALOG (about), "_Close", GTK_RESPONSE_DELETE_EVENT); gtk_dialog_add_button (GTK_DIALOG (about), _("_Close"), GTK_RESPONSE_DELETE_EVENT);
} }
} }