[gedit] Add context to open and save window title strings
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Add context to open and save window title strings
- Date: Sun, 18 Oct 2015 10:51:39 +0000 (UTC)
commit e785a447aede64664e463823028ce84a701693d8
Author: Piotr DrÄ…g <piotrdrag gmail com>
Date: Fri Sep 25 16:39:23 2015 +0200
Add context to open and save window title strings
Also adds a comment to "Save As", similar to the one in "Open".
gedit/gedit-commands-file.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-commands-file.c b/gedit/gedit-commands-file.c
index aa0238c..ae668c7 100644
--- a/gedit/gedit-commands-file.c
+++ b/gedit/gedit-commands-file.c
@@ -453,7 +453,7 @@ _gedit_cmd_file_open (GSimpleAction *action,
}
/* Translators: "Open" is the title of the file chooser window. */
- open_dialog = gedit_file_chooser_dialog_create (_("Open"),
+ open_dialog = gedit_file_chooser_dialog_create (C_("window title", "Open"),
window != NULL ? GTK_WINDOW (window) : NULL,
GEDIT_FILE_CHOOSER_OPEN |
GEDIT_FILE_CHOOSER_ENABLE_ENCODING |
@@ -843,7 +843,8 @@ save_as_tab_async (GeditTab *tab,
task = g_task_new (tab, cancellable, callback, user_data);
g_task_set_task_data (task, g_object_ref (window), g_object_unref);
- save_dialog = gedit_file_chooser_dialog_create (_("Save As"),
+ /* Translators: "Save As" is the title of the file chooser window. */
+ save_dialog = gedit_file_chooser_dialog_create (C_("window title", "Save As"),
GTK_WINDOW (window),
GEDIT_FILE_CHOOSER_SAVE |
GEDIT_FILE_CHOOSER_ENABLE_ENCODING |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]