capitalize Pluma in titles of main window and prefs window

This commit is contained in:
monsta 2015-09-29 09:58:51 +03:00
parent 8c43c2cfdc
commit 4299e647a7
2 changed files with 6 additions and 6 deletions

View File

@ -1087,7 +1087,7 @@ pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg)
GTK_RESPONSE_HELP, GTK_RESPONSE_HELP,
NULL); NULL);
gtk_window_set_title (GTK_WINDOW (dlg), _("pluma Preferences")); gtk_window_set_title (GTK_WINDOW (dlg), _("Pluma Preferences"));
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);

View File

@ -2118,7 +2118,7 @@ set_title (PlumaWindow *window)
if (window->priv->active_tab == NULL) if (window->priv->active_tab == NULL)
{ {
gtk_window_set_title (GTK_WINDOW (window), "pluma"); gtk_window_set_title (GTK_WINDOW (window), "Pluma");
return; return;
} }
@ -2178,23 +2178,23 @@ set_title (PlumaWindow *window)
if (pluma_document_get_readonly (doc)) if (pluma_document_get_readonly (doc))
{ {
if (dirname != NULL) if (dirname != NULL)
title = g_strdup_printf ("%s [%s] (%s) - pluma", title = g_strdup_printf ("%s [%s] (%s) - Pluma",
name, name,
_("Read-Only"), _("Read-Only"),
dirname); dirname);
else else
title = g_strdup_printf ("%s [%s] - pluma", title = g_strdup_printf ("%s [%s] - Pluma",
name, name,
_("Read-Only")); _("Read-Only"));
} }
else else
{ {
if (dirname != NULL) if (dirname != NULL)
title = g_strdup_printf ("%s (%s) - pluma", title = g_strdup_printf ("%s (%s) - Pluma",
name, name,
dirname); dirname);
else else
title = g_strdup_printf ("%s - pluma", title = g_strdup_printf ("%s - Pluma",
name); name);
} }