[gedit] Use Unicode in translatable strings



commit dfa8fa42ebe1d37aa1c8868f16aef8a25f3efaa6
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 10 17:35:35 2016 +0100

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774221

 data/org.gnome.gedit.gschema.xml.in                |   32 ++++++++++----------
 gedit/gedit-app.c                                  |    4 +-
 gedit/gedit-close-confirmation-dialog.c            |   26 ++++++++--------
 gedit/gedit-commands-file.c                        |   16 +++++-----
 gedit/gedit-commands-search.c                      |    2 +-
 gedit/gedit-encodings-combo-box.c                  |    2 +-
 gedit/gedit-encodings-dialog.c                     |    2 +-
 gedit/gedit-file-chooser-dialog-osx.c              |    2 +-
 gedit/gedit-io-error-info-bar.c                    |    8 ++--
 gedit/gedit-preferences-dialog.c                   |    4 +-
 gedit/gedit-print-job.c                            |    4 +-
 gedit/gedit-utils.c                                |    2 +-
 .../resources/ui/gedit-highlight-mode-selector.ui  |    2 +-
 gedit/resources/ui/gedit-shortcuts.ui              |    2 +-
 plugins/externaltools/data/build.desktop.in        |    2 +-
 ...nome.gedit.plugins.externaltools.gschema.xml.in |    4 +-
 plugins/externaltools/tools/appactivatable.py      |    2 +-
 plugins/filebrowser/gedit-file-browser-plugin.c    |    4 +-
 plugins/filebrowser/gedit-file-browser-widget.c    |    2 +-
 ....gnome.gedit.plugins.filebrowser.gschema.xml.in |    2 +-
 .../resources/ui/gedit-file-browser-menus.ui       |    2 +-
 ...nome.gedit.plugins.pythonconsole.gschema.xml.in |    4 +-
 plugins/quickopen/quickopen/__init__.py            |    2 +-
 plugins/quickopen/quickopen/popup.py               |    2 +-
 plugins/snippets/snippets/appactivatable.py        |    2 +-
 plugins/snippets/snippets/exporter.py              |    6 ++--
 plugins/snippets/snippets/importer.py              |   14 ++++----
 plugins/snippets/snippets/manager.py               |    2 +-
 plugins/sort/gedit-sort-plugin.c                   |    2 +-
 plugins/spell/gedit-spell-app-activatable.c        |    4 +-
 plugins/time/gedit-time-plugin.c                   |    2 +-
 .../time/resources/ui/gedit-time-setup-dialog.ui   |    2 +-
 32 files changed, 84 insertions(+), 84 deletions(-)
---
diff --git a/data/org.gnome.gedit.gschema.xml.in b/data/org.gnome.gedit.gschema.xml.in
index 4c628db..5b22271 100644
--- a/data/org.gnome.gedit.gschema.xml.in
+++ b/data/org.gnome.gedit.gschema.xml.in
@@ -33,12 +33,12 @@
     <key name="use-default-font" type="b">
       <default>true</default>
       <summary>Use Default Font</summary>
-      <description>Whether to use the system's default fixed width font for editing text instead of a font 
specific to gedit. If this option is turned off, then the font named in the "Editor Font" option will be used 
instead of the system font.</description>
+      <description>Whether to use the system’s default fixed width font for editing text instead of a font 
specific to gedit. If this option is turned off, then the font named in the “Editor Font” option will be used 
instead of the system font.</description>
     </key>
     <key name="editor-font" type="s">
       <default l10n="messages">'Monospace 12'</default>
       <summary>Editor Font</summary>
-      <description>A custom font that will be used for the editing area. This will only take effect if the 
"Use Default Font" option is turned off.</description>
+      <description>A custom font that will be used for the editing area. This will only take effect if the 
“Use Default Font” option is turned off.</description>
     </key>
     <key name="scheme" type="s">
       <default>'classic'</default>
@@ -53,17 +53,17 @@
     <key name="auto-save" type="b">
       <default>false</default>
       <summary>Autosave</summary>
-      <description>Whether gedit should automatically save modified files after a time interval. You can set 
the time interval with the "Autosave Interval" option.</description>
+      <description>Whether gedit should automatically save modified files after a time interval. You can set 
the time interval with the “Autosave Interval” option.</description>
     </key>
     <key name="auto-save-interval" type="u">
       <default>10</default>
       <summary>Autosave Interval</summary>
-      <description>Number of minutes after which gedit will automatically save modified files. This will 
only take effect if the "Autosave" option is turned on.</description>
+      <description>Number of minutes after which gedit will automatically save modified files. This will 
only take effect if the “Autosave” option is turned on.</description>
     </key>
     <key name="max-undo-actions" type="i">
       <default>2000</default>
       <summary>Maximum Number of Undo Actions</summary>
-      <description>Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited 
number of actions.</description>
+      <description>Maximum number of actions that gedit will be able to undo or redo. Use “-1” for unlimited 
number of actions.</description>
     </key>
     <key name="wrap-mode" enum="org.gnome.gedit.WrapMode">
       <aliases>
@@ -73,7 +73,7 @@
       </aliases>
       <default>'word'</default>
       <summary>Line Wrapping Mode</summary>
-      <description>Specifies how to wrap long lines in the editing area. Use "none" for no wrapping, "word" 
for wrapping at word boundaries, and "char" for wrapping at individual character boundaries. Note that the 
values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
+      <description>Specifies how to wrap long lines in the editing area. Use “none” for no wrapping, “word” 
for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the 
values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
     </key>
     <key name="wrap-last-split-mode" enum="org.gnome.gedit.WrapMode">
       <aliases>
@@ -82,7 +82,7 @@
       </aliases>
       <default>'word'</default>
       <summary>Last split mode choice for line wrapping mode</summary>
-      <description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is 
off we still remember the split mode choice. Use "word" for wrapping at word boundaries, and "char" for 
wrapping at individual character boundaries.</description>
+      <description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is 
off we still remember the split mode choice. Use “word” for wrapping at word boundaries, and “char” for 
wrapping at individual character boundaries.</description>
     </key>
     <key name="tabs-size" type="u">
       <default>8</default>
@@ -143,7 +143,7 @@
       </aliases>
       <default>'after'</default>
       <summary>Smart Home End</summary>
-      <description>Specifies how the cursor moves when the HOME and END keys are pressed. Use "disabled" to 
always move at the start/end of the line, "after" to move to the start/end of the line the first time the 
keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, 
"before" to move to the start/end of the text before moving to the start/end of the line and "always" to 
always move to the start/end of the text instead of the start/end of the line.</description>
+      <description>Specifies how the cursor moves when the HOME and END keys are pressed. Use “disabled” to 
always move at the start/end of the line, “after” to move to the start/end of the line the first time the 
keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, 
“before” to move to the start/end of the text before moving to the start/end of the line and “always” to 
always move to the start/end of the text instead of the start/end of the line.</description>
     </key>
     <key name="restore-cursor-position" type="b">
       <default>true</default>
@@ -175,7 +175,7 @@
     <key name="show-tabs-mode" enum="org.gnome.gedit.GeditNotebookShowTabsModeType">
       <default>'auto'</default>
       <summary>Notebook Show Tabs Mode</summary>
-      <description>Specifies when to show the notebook tabs. Use "never" to never show the tabs, "always" to 
always show the tabs, and "auto" to show the tabs only when there is more than one tab. Note that the values 
are case-sensitive, so make sure they appear exactly as mentioned here.</description>
+      <description>Specifies when to show the notebook tabs. Use “never” to never show the tabs, “always” to 
always show the tabs, and “auto” to show the tabs only when there is more than one tab. Note that the values 
are case-sensitive, so make sure they appear exactly as mentioned here.</description>
     </key>
     <key name="statusbar-visible" type="b">
       <default>true</default>
@@ -193,7 +193,7 @@
     <key name="max-recents" type="u">
       <default>5</default>
       <summary>Maximum Recent Files</summary>
-      <description>Specifies the maximum number of recently opened files that will be displayed in the 
"Recent Files" submenu.</description>
+      <description>Specifies the maximum number of recently opened files that will be displayed in the 
“Recent Files” submenu.</description>
     </key>
   </schema>
   <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.print" 
path="/org/gnome/gedit/preferences/print/">
@@ -215,7 +215,7 @@
       </aliases>
       <default>'word'</default>
       <summary>Printing Line Wrapping Mode</summary>
-      <description>Specifies how to wrap long lines for printing. Use "none" for no wrapping, "word" for 
wrapping at word boundaries, and "char" for wrapping at individual character boundaries. Note that the values 
are case-sensitive, so make sure they appear exactly as mentioned here.</description>
+      <description>Specifies how to wrap long lines for printing. Use “none” for no wrapping, “word” for 
wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values 
are case-sensitive, so make sure they appear exactly as mentioned here.</description>
     </key>
     <key name="print-line-numbers" type="u">
       <default>0</default>
@@ -225,17 +225,17 @@
     <key name="print-font-body-pango" type="s">
       <default l10n="messages">'Monospace 9'</default>
       <summary>Body Font for Printing</summary>
-      <description>Specifies the font to use for a document's body when printing documents.</description>
+      <description>Specifies the font to use for a document’s body when printing documents.</description>
     </key>
     <key name="print-font-header-pango" type="s">
       <default l10n="messages">'Sans 11'</default>
       <summary>Header Font for Printing</summary>
-      <description>Specifies the font to use for page headers when printing a document. This will only take 
effect if the "Print Header" option is turned on.</description>
+      <description>Specifies the font to use for page headers when printing a document. This will only take 
effect if the “Print Header” option is turned on.</description>
     </key>
     <key name="print-font-numbers-pango" type="s">
       <default l10n="messages">'Sans 8'</default>
       <summary>Line Number Font for Printing</summary>
-      <description>Specifies the font to use for line numbers when printing. This will only take effect if 
the "Print Line Numbers" option is non-zero.</description>
+      <description>Specifies the font to use for line numbers when printing. This will only take effect if 
the “Print Line Numbers” option is non-zero.</description>
     </key>
     <key name="margin-left" type="d">
       <default>25</default>
@@ -263,7 +263,7 @@
       <default>['']</default>
       <summary>Candidate Encodings</summary>
       <description>List of candidate encodings shown in the Character Encoding menu in the open/save file 
chooser.
-      "CURRENT" represents the current locale encoding. Only recognized encodings are used.
+      “CURRENT” represents the current locale encoding. Only recognized encodings are used.
       The default value is the empty list, in which case gedit will choose good defaults depending on the 
country and language.</description>
     </key>
   </schema>
@@ -309,7 +309,7 @@
     <key name="active-plugins" type="as">
       <default>[@ACTIVE_PLUGINS@]</default>
       <summary>Active plugins</summary>
-      <description>List of active plugins. It contains the "Location" of the active plugins. See the 
.gedit-plugin file for obtaining the "Location" of a given plugin.</description>
+      <description>List of active plugins. It contains the “Location” of the active plugins. See the 
.gedit-plugin file for obtaining the “Location” of a given plugin.</description>
     </key>
   </schema>
 </schemalist>
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 072dde8..de947f8 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -107,7 +107,7 @@ static const GOptionEntry options[] =
        /* Version */
        {
                "version", 'V', 0, G_OPTION_ARG_NONE, NULL,
-               N_("Show the application's version"), NULL
+               N_("Show the application’s version"), NULL
        },
 
        /* List available encodings */
@@ -155,7 +155,7 @@ static const GOptionEntry options[] =
        /* collects file arguments */
        {
                G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, NULL, NULL,
-               N_("[FILE...] [+LINE[:COLUMN]]")
+               N_("[FILE…] [+LINE[:COLUMN]]")
        },
 
        {NULL}
diff --git a/gedit/gedit-close-confirmation-dialog.c b/gedit/gedit-close-confirmation-dialog.c
index 6c5e268..85af73f 100644
--- a/gedit/gedit-close-confirmation-dialog.c
+++ b/gedit/gedit-close-confirmation-dialog.c
@@ -321,24 +321,24 @@ get_text_secondary_label (GeditDocument *doc)
        if (seconds < 55)
        {
                secondary_msg = g_strdup_printf (
-                                       ngettext ("If you don't save, changes from the last %ld second "
+                                       ngettext ("If you don’t save, changes from the last %ld second "
                                                  "will be permanently lost.",
-                                                 "If you don't save, changes from the last %ld seconds "
+                                                 "If you don’t save, changes from the last %ld seconds "
                                                  "will be permanently lost.",
                                                  seconds),
                                        seconds);
        }
        else if (seconds < 75) /* 55 <= seconds < 75 */
        {
-               secondary_msg = g_strdup (_("If you don't save, changes from the last minute "
+               secondary_msg = g_strdup (_("If you don’t save, changes from the last minute "
                                            "will be permanently lost."));
        }
        else if (seconds < 110) /* 75 <= seconds < 110 */
        {
                secondary_msg = g_strdup_printf (
-                                       ngettext ("If you don't save, changes from the last minute and %ld "
+                                       ngettext ("If you don’t save, changes from the last minute and %ld "
                                                  "second will be permanently lost.",
-                                                 "If you don't save, changes from the last minute and %ld "
+                                                 "If you don’t save, changes from the last minute and %ld "
                                                  "seconds will be permanently lost.",
                                                  seconds - 60 ),
                                        seconds - 60);
@@ -346,9 +346,9 @@ get_text_secondary_label (GeditDocument *doc)
        else if (seconds < 3600)
        {
                secondary_msg = g_strdup_printf (
-                                       ngettext ("If you don't save, changes from the last %ld minute "
+                                       ngettext ("If you don’t save, changes from the last %ld minute "
                                                  "will be permanently lost.",
-                                                 "If you don't save, changes from the last %ld minutes "
+                                                 "If you don’t save, changes from the last %ld minutes "
                                                  "will be permanently lost.",
                                                  seconds / 60),
                                        seconds / 60);
@@ -361,15 +361,15 @@ get_text_secondary_label (GeditDocument *doc)
                minutes = seconds / 60;
                if (minutes < 5)
                {
-                       secondary_msg = g_strdup (_("If you don't save, changes from the last hour "
+                       secondary_msg = g_strdup (_("If you don’t save, changes from the last hour "
                                                    "will be permanently lost."));
                }
                else
                {
                        secondary_msg = g_strdup_printf (
-                                       ngettext ("If you don't save, changes from the last hour and %d "
+                                       ngettext ("If you don’t save, changes from the last hour and %d "
                                                  "minute will be permanently lost.",
-                                                 "If you don't save, changes from the last hour and %d "
+                                                 "If you don’t save, changes from the last hour and %d "
                                                  "minutes will be permanently lost.",
                                                  minutes),
                                        minutes);
@@ -382,9 +382,9 @@ get_text_secondary_label (GeditDocument *doc)
                hours = seconds / 3600;
 
                secondary_msg = g_strdup_printf (
-                                       ngettext ("If you don't save, changes from the last %d hour "
+                                       ngettext ("If you don’t save, changes from the last %d hour "
                                                  "will be permanently lost.",
-                                                 "If you don't save, changes from the last %d hours "
+                                                 "If you don’t save, changes from the last %d hours "
                                                  "will be permanently lost.",
                                                  hours),
                                        hours);
@@ -559,7 +559,7 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
        }
        else
        {
-               secondary_label = gtk_label_new (_("If you don't save, "
+               secondary_label = gtk_label_new (_("If you don’t save, "
                                                   "all your changes will be permanently lost."));
        }
 
diff --git a/gedit/gedit-commands-file.c b/gedit/gedit-commands-file.c
index ae668c7..6fb6599 100644
--- a/gedit/gedit-commands-file.c
+++ b/gedit/gedit-commands-file.c
@@ -258,7 +258,7 @@ load_file_list (GeditWindow             *window,
 
                gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
                                               window->priv->generic_message_cid,
-                                              _("Loading file '%s'\342\200\246"),
+                                              _("Loading file “%s”\342\200\246"),
                                               uri_for_display);
 
                g_free (uri_for_display);
@@ -555,7 +555,7 @@ replace_read_only_file (GtkWindow *parent,
                                         GTK_DIALOG_DESTROY_WITH_PARENT,
                                         GTK_MESSAGE_QUESTION,
                                         GTK_BUTTONS_NONE,
-                                        _("The file \"%s\" is read-only."),
+                                        _("The file “%s” is read-only."),
                                         name_for_display);
        g_free (name_for_display);
 
@@ -622,7 +622,7 @@ change_compression (GtkWindow *parent,
        if (compressed)
        {
                gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
-                                                         _("The file \"%s\" was previously saved as plain "
+                                                         _("The file “%s” was previously saved as plain "
                                                            "text and will now be saved using compression."),
                                                          name_for_display);
 
@@ -631,7 +631,7 @@ change_compression (GtkWindow *parent,
        else
        {
                gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
-                                                         _("The file \"%s\" was previously saved "
+                                                         _("The file “%s” was previously saved "
                                                            "using compression and will now be saved as plain 
text."),
                                                          name_for_display);
                button_label = _("_Save As Plain Text");
@@ -749,7 +749,7 @@ save_dialog_response_cb (GeditFileChooserDialog *dialog,
 
        gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
                                       window->priv->generic_message_cid,
-                                      _("Saving file '%s'\342\200\246"),
+                                      _("Saving file “%s”\342\200\246"),
                                       parse_name);
 
        g_free (parse_name);
@@ -1016,7 +1016,7 @@ gedit_commands_save_document_async (GeditDocument       *document,
        uri_for_display = gedit_document_get_uri_for_display (document);
        gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
                                       window->priv->generic_message_cid,
-                                      _("Saving file '%s'\342\200\246"),
+                                      _("Saving file “%s”\342\200\246"),
                                       uri_for_display);
 
        g_free (uri_for_display);
@@ -1426,7 +1426,7 @@ do_revert (GeditWindow *window,
 
        gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
                                       window->priv->generic_message_cid,
-                                      _("Reverting the document '%s'\342\200\246"),
+                                      _("Reverting the document “%s”\342\200\246"),
                                       docname);
 
        g_free (docname);
@@ -1473,7 +1473,7 @@ revert_dialog (GeditWindow   *window,
        gedit_debug (DEBUG_COMMANDS);
 
        docname = gedit_document_get_short_name_for_display (doc);
-       primary_msg = g_strdup_printf (_("Revert unsaved changes to document '%s'?"),
+       primary_msg = g_strdup_printf (_("Revert unsaved changes to document “%s”?"),
                                       docname);
        g_free (docname);
 
diff --git a/gedit/gedit-commands-search.c b/gedit/gedit-commands-search.c
index 2b6e479..265b9c2 100644
--- a/gedit/gedit-commands-search.c
+++ b/gedit/gedit-commands-search.c
@@ -139,7 +139,7 @@ text_not_found (GeditWindow        *window,
                                       window->priv->generic_message_cid,
                                       /* Translators: %s is replaced by the text
                                          entered by the user in the search box */
-                                      _("\"%s\" not found"), truncated_text);
+                                      _("“%s” not found"), truncated_text);
 
        g_free (truncated_text);
 }
diff --git a/gedit/gedit-encodings-combo-box.c b/gedit/gedit-encodings-combo-box.c
index 4bd5ca4..9d23d9f 100644
--- a/gedit/gedit-encodings-combo-box.c
+++ b/gedit/gedit-encodings-combo-box.c
@@ -325,7 +325,7 @@ update_menu (GeditEncodingsComboBox *menu)
 
        gtk_list_store_append (store, &iter);
        gtk_list_store_set (store, &iter,
-                           COLUMN_NAME, _("Add or Remove..."),
+                           COLUMN_NAME, _("Add or Remove…"),
                            COLUMN_ENCODING, NULL,
                            COLUMN_CONFIGURE_ROW, TRUE,
                            -1);
diff --git a/gedit/gedit-encodings-dialog.c b/gedit/gedit-encodings-dialog.c
index 4ef8c1d..4a559f1 100644
--- a/gedit/gedit-encodings-dialog.c
+++ b/gedit/gedit-encodings-dialog.c
@@ -188,7 +188,7 @@ reset_button_clicked_cb (GtkWidget            *button,
                                                         GTK_BUTTONS_NONE,
                                                         "%s",
                                                         _("Do you really want to reset the "
-                                                          "character encodings' preferences?")));
+                                                          "character encodings’ preferences?")));
 
        gtk_dialog_add_buttons (msg_dialog,
                                _("_Cancel"), GTK_RESPONSE_CANCEL,
diff --git a/gedit/gedit-file-chooser-dialog-osx.c b/gedit/gedit-file-chooser-dialog-osx.c
index d59f5ad..829ec40 100644
--- a/gedit/gedit-file-chooser-dialog-osx.c
+++ b/gedit/gedit-file-chooser-dialog-osx.c
@@ -571,7 +571,7 @@ create_encoding_combo (GeditFileChooserDialogOSX *dialog,
        config = [[ConfigureEncodings alloc] initWithDialog:dialog];
 
        [menu addItem:[NSMenuItem separatorItem]];
-       citem = [[EncodingItem alloc] initWithTitle:[NSString stringWithUTF8String:_("Add or Remove...")]
+       citem = [[EncodingItem alloc] initWithTitle:[NSString stringWithUTF8String:_("Add or Remove…")]
                                             action:@selector(activateConfigure:)
                                      keyEquivalent:@""];
 
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index e68a622..d8d024f 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -766,7 +766,7 @@ gedit_file_already_open_warning_info_bar_new (GFile *location)
        gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
        /* Translators: the access key chosen for this string should be
         different from other main menu access keys (Open, Edit, View...) */
-                                _("D_on't Edit"),
+                                _("D_on’t Edit"),
                                 GTK_RESPONSE_CANCEL);
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
                                       GTK_MESSAGE_WARNING);
@@ -849,7 +849,7 @@ gedit_externally_modified_saving_error_info_bar_new (GFile        *location,
                                 _("S_ave Anyway"),
                                 GTK_RESPONSE_YES);
        gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
-                                _("D_on't Save"),
+                                _("D_on’t Save"),
                                 GTK_RESPONSE_CANCEL);
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
                                       GTK_MESSAGE_WARNING);
@@ -939,7 +939,7 @@ gedit_no_backup_saving_error_info_bar_new (GFile        *location,
                                 _("S_ave Anyway"),
                                 GTK_RESPONSE_YES);
        gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
-                                _("D_on't Save"),
+                                _("D_on’t Save"),
                                 GTK_RESPONSE_CANCEL);
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
                                       GTK_MESSAGE_WARNING);
@@ -1229,7 +1229,7 @@ gedit_invalid_character_info_bar_new (GFile *location)
                                 _("S_ave Anyway"),
                                 GTK_RESPONSE_YES);
        gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
-                                _("D_on't Save"),
+                                _("D_on’t Save"),
                                 GTK_RESPONSE_CANCEL);
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
                                       GTK_MESSAGE_WARNING);
diff --git a/gedit/gedit-preferences-dialog.c b/gedit/gedit-preferences-dialog.c
index 1d5784e..328aaf9 100644
--- a/gedit/gedit-preferences-dialog.c
+++ b/gedit/gedit-preferences-dialog.c
@@ -598,7 +598,7 @@ file_copy (const gchar  *name,
                g_set_error (error,
                             G_FILE_ERROR,
                             g_file_error_from_errno (save_errno),
-                            _("Directory '%s' could not be created: g_mkdir_with_parents() failed: %s"),
+                            _("Directory “%s” could not be created: g_mkdir_with_parents() failed: %s"),
                             display_filename,
                             g_strerror (save_errno));
 
@@ -858,7 +858,7 @@ uninstall_scheme_clicked (GtkButton              *button,
        if (!uninstall_style_scheme (scheme))
        {
                gedit_warning (GTK_WINDOW (dlg),
-                              _("Could not remove color scheme \"%s\"."),
+                              _("Could not remove color scheme “%s”."),
                               gtk_source_style_scheme_get_name (scheme));
        }
 }
diff --git a/gedit/gedit-print-job.c b/gedit/gedit-print-job.c
index 9083eca..f48f164 100644
--- a/gedit/gedit-print-job.c
+++ b/gedit/gedit-print-job.c
@@ -224,7 +224,7 @@ gedit_print_job_init (GeditPrintJob *job)
 {
        job->gsettings = g_settings_new ("org.gnome.gedit.preferences.print");
 
-       job->status_string = g_strdup (_("Preparing..."));
+       job->status_string = g_strdup (_("Preparing…"));
 }
 
 static void
@@ -623,7 +623,7 @@ draw_page_cb (GtkPrintOperation *operation,
                n_pages = gtk_source_print_compositor_get_n_pages (job->compositor);
 
                g_free (job->status_string);
-               job->status_string = g_strdup_printf (_("Rendering page %d of %d..."), page_nr + 1, n_pages);
+               job->status_string = g_strdup_printf (_("Rendering page %d of %d…"), page_nr + 1, n_pages);
 
                job->progress = page_nr / (2.0 * n_pages) + 0.5;
 
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 2229dc0..2ddb791 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -918,7 +918,7 @@ get_ui_objects_with_translation_domain (const gchar  *filename,
 
                if (!*gobj)
                {
-                       *error_widget = handle_builder_error (_("Unable to find the object '%s' inside file 
%s."),
+                       *error_widget = handle_builder_error (_("Unable to find the object “%s” inside file 
%s."),
                                                              name,
                                                              filename_markup),
                        ret = FALSE;
diff --git a/gedit/resources/ui/gedit-highlight-mode-selector.ui 
b/gedit/resources/ui/gedit-highlight-mode-selector.ui
index bcb5515..1aa5c95 100644
--- a/gedit/resources/ui/gedit-highlight-mode-selector.ui
+++ b/gedit/resources/ui/gedit-highlight-mode-selector.ui
@@ -28,7 +28,7 @@
         <property name="has_focus">True</property>
         <property name="is_focus">False</property>
         <property name="activates_default">True</property>
-        <property name="placeholder_text" translatable="yes">Search highlight mode...</property>
+        <property name="placeholder_text" translatable="yes">Search highlight mode…</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
diff --git a/gedit/resources/ui/gedit-shortcuts.ui b/gedit/resources/ui/gedit-shortcuts.ui
index 4410325..f020c94 100644
--- a/gedit/resources/ui/gedit-shortcuts.ui
+++ b/gedit/resources/ui/gedit-shortcuts.ui
@@ -86,7 +86,7 @@
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;Alt&gt;1...9</property>
-                <property name="title" translatable="yes" context="shortcut window">Switch to the first - 
ninth document</property>
+                <property name="title" translatable="yes" context="shortcut window">Switch to the first — 
ninth document</property>
               </object>
             </child>
           </object>
diff --git a/plugins/externaltools/data/build.desktop.in b/plugins/externaltools/data/build.desktop.in
index 42de918..8b68781 100644
--- a/plugins/externaltools/data/build.desktop.in
+++ b/plugins/externaltools/data/build.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Tool]
 _Name=Build
-_Comment=Run "make" in the document directory
+_Comment=Run “make” in the document directory
 Input=nothing
 Output=output-panel
 Shortcut=<Control>F8
diff --git a/plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in 
b/plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in
index bd4075e..7915238 100644
--- a/plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in
+++ b/plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in
@@ -5,7 +5,7 @@
       <summary>Whether to use the system font</summary>
       <description>
         If true, the external tools will use the desktop-global standard
-        font if it's monospace (and the most similar font it can
+        font if it’s monospace (and the most similar font it can
         come up with otherwise).
       </description>
     </key>
@@ -13,7 +13,7 @@
       <default>'Monospace 10'</default>
       <summary>Font</summary>
       <description>
-        A Pango font name. Examples are "Sans 12" or "Monospace Bold 14".
+        A Pango font name. Examples are “Sans 12” or “Monospace Bold 14”.
       </description>
     </key>
   </schema>
diff --git a/plugins/externaltools/tools/appactivatable.py b/plugins/externaltools/tools/appactivatable.py
index 76333b4..87e1226 100644
--- a/plugins/externaltools/tools/appactivatable.py
+++ b/plugins/externaltools/tools/appactivatable.py
@@ -130,7 +130,7 @@ class AppActivatable(GObject.Object, Gedit.AppActivatable):
                                                  self.css, 600)
 
         self.menu_ext = self.extend_menu("preferences-section")
-        item = Gio.MenuItem.new(_("Manage _External Tools..."), "app.manage-tools")
+        item = Gio.MenuItem.new(_("Manage _External Tools…"), "app.manage-tools")
         self.menu_ext.append_menu_item(item)
 
         self.submenu_ext = self.extend_menu("tools-section-1")
diff --git a/plugins/filebrowser/gedit-file-browser-plugin.c b/plugins/filebrowser/gedit-file-browser-plugin.c
index 7cf9758..9958267 100644
--- a/plugins/filebrowser/gedit-file-browser-plugin.c
+++ b/plugins/filebrowser/gedit-file-browser-plugin.c
@@ -904,7 +904,7 @@ on_confirm_no_trash_cb (GeditFileBrowserWidget *widget,
        if (files->next == NULL)
        {
                normal = gedit_file_browser_utils_file_basename (G_FILE (files->data));
-               secondary = g_strdup_printf (_("The file \"%s\" cannot be moved to the trash."), normal);
+               secondary = g_strdup_printf (_("The file “%s” cannot be moved to the trash."), normal);
                g_free (normal);
        }
        else
@@ -940,7 +940,7 @@ on_confirm_delete_cb (GeditFileBrowserWidget *widget,
        if (paths->next == NULL)
        {
                normal = get_filename_from_path (GTK_TREE_MODEL (store), (GtkTreePath *)(paths->data));
-               message = g_strdup_printf (_("Are you sure you want to permanently delete \"%s\"?"), normal);
+               message = g_strdup_printf (_("Are you sure you want to permanently delete “%s”?"), normal);
                g_free (normal);
        }
        else
diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/gedit-file-browser-widget.c
index d935ede..47776b1 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -2766,7 +2766,7 @@ on_location_entry_activate (GtkEntry               *entry,
                gchar *display_name, *msg;
 
                display_name = g_file_get_parse_name (new_root);
-               msg = g_strdup_printf (_("Error when loading '%s': "
+               msg = g_strdup_printf (_("Error when loading “%s”: "
                                         "No such directory"),
                                       display_name);
 
diff --git a/plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in 
b/plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in
index 5c31e8e..1213d04 100644
--- a/plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in
+++ b/plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in
@@ -23,7 +23,7 @@
     <key name="open-at-first-doc" type="b">
       <default>true</default>
       <summary>Set Location to First Document</summary>
-      <description>If TRUE the file browser plugin will view the directory of the first opened document 
given that the file browser hasn't been used yet. (Thus this generally applies to opening a document from the 
command line or opening it with Nautilus, etc.)</description>
+      <description>If TRUE the file browser plugin will view the directory of the first opened document 
given that the file browser hasn’t been used yet. (Thus this generally applies to opening a document from the 
command line or opening it with Nautilus, etc.)</description>
     </key>
     <key name="filter-mode" flags="org.gnome.gedit.plugins.filebrowser.GeditFileBrowserStoreFilterMode">
       <default>['hide-hidden', 'hide-binary']</default>
diff --git a/plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui 
b/plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui
index e57ac1d..9134268 100644
--- a/plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui
+++ b/plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui
@@ -26,7 +26,7 @@
     </section>
     <section>
       <item>
-        <attribute name="label" translatable="yes">_Rename...</attribute>
+        <attribute name="label" translatable="yes">_Rename…</attribute>
         <attribute name="action">browser.rename</attribute>
       </item>
       <item>
diff --git a/plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in 
b/plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in
index 31d3f87..526ad89 100644
--- a/plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in
+++ b/plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in
@@ -15,7 +15,7 @@
       <summary>Whether to use the system font</summary>
       <description>
         If true, the terminal will use the desktop-global standard
-        font if it's monospace (and the most similar font it can
+        font if it’s monospace (and the most similar font it can
         come up with otherwise).
       </description>
     </key>
@@ -23,7 +23,7 @@
       <default>'Monospace 10'</default>
       <summary>Font</summary>
       <description>
-        A Pango font name. Examples are "Sans 12" or "Monospace Bold 14".
+        A Pango font name. Examples are “Sans 12” or “Monospace Bold 14”.
       </description>
     </key>
   </schema>
diff --git a/plugins/quickopen/quickopen/__init__.py b/plugins/quickopen/quickopen/__init__.py
index 46a6503..3f708a3 100644
--- a/plugins/quickopen/quickopen/__init__.py
+++ b/plugins/quickopen/quickopen/__init__.py
@@ -44,7 +44,7 @@ class QuickOpenAppActivatable(GObject.Object, Gedit.AppActivatable):
         self.app.add_accelerator("<Primary><Alt>O", "win.quickopen", None)
 
         self.menu_ext = self.extend_menu("file-section")
-        item = Gio.MenuItem.new(_("Quick Open..."), "win.quickopen")
+        item = Gio.MenuItem.new(_("Quick Open…"), "win.quickopen")
         self.menu_ext.prepend_menu_item(item)
 
     def do_deactivate(self):
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index e594020..50d957e 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -87,7 +87,7 @@ class Popup(Gtk.Dialog):
         action_area.set_spacing(6)
 
         self._entry = Gtk.SearchEntry()
-        self._entry.set_placeholder_text(_('Type to search...'))
+        self._entry.set_placeholder_text(_('Type to search…'))
 
         self._entry.connect('changed', self.on_changed)
         self._entry.connect('key-press-event', self.on_key_press_event)
diff --git a/plugins/snippets/snippets/appactivatable.py b/plugins/snippets/snippets/appactivatable.py
index c51cb65..fb56e51 100644
--- a/plugins/snippets/snippets/appactivatable.py
+++ b/plugins/snippets/snippets/appactivatable.py
@@ -85,7 +85,7 @@ class AppActivatable(GObject.Object, Gedit.AppActivatable):
         action.connect('activate', self.on_action_snippets_activate)
         self.app.add_action(action)
 
-        item = Gio.MenuItem.new(_("Manage _Snippets..."), "app.snippets")
+        item = Gio.MenuItem.new(_("Manage _Snippets…"), "app.snippets")
         self.menu = self.extend_menu("preferences-section")
         self.menu.append_menu_item(item)
 
diff --git a/plugins/snippets/snippets/exporter.py b/plugins/snippets/snippets/exporter.py
index 6874dca..8f8249e 100644
--- a/plugins/snippets/snippets/exporter.py
+++ b/plugins/snippets/snippets/exporter.py
@@ -85,7 +85,7 @@ class Exporter:
             os.chdir(curdir)
 
         if status != 0:
-            return _('The archive "%s" could not be created' % self.filename)
+            return _('The archive “%s” could not be created' % self.filename)
 
         # Remove the temporary directory
         shutil.rmtree(dirname)
@@ -102,10 +102,10 @@ class Exporter:
     def run(self):
         dirname = os.path.dirname(self.filename)
         if not os.path.exists(dirname):
-            return _('Target directory "%s" does not exist') % dirname
+            return _('Target directory “%s” does not exist') % dirname
 
         if not os.path.isdir(dirname):
-            return _('Target directory "%s" is not a valid directory') % dirname
+            return _('Target directory “%s” is not a valid directory') % dirname
 
         (root, ext) = os.path.splitext(self.filename)
 
diff --git a/plugins/snippets/snippets/importer.py b/plugins/snippets/snippets/importer.py
index e3532bc..2718596 100644
--- a/plugins/snippets/snippets/importer.py
+++ b/plugins/snippets/snippets/importer.py
@@ -52,10 +52,10 @@ class Importer:
 
     def import_file(self, filename):
         if not os.path.exists(filename):
-            return _('File "%s" does not exist') % filename
+            return _('File “%s” does not exist') % filename
 
         if not os.path.isfile(filename):
-            return _('File "%s" is not a valid snippets file') % filename
+            return _('File “%s” is not a valid snippets file') % filename
 
         # Find destination for file to copy to
         destdir, dest = self.import_destination(filename)
@@ -72,7 +72,7 @@ class Importer:
 
         # Add library
         if not Library().add_user_library(dest):
-            return _('Imported file "%s" is not a valid snippets file') % os.path.basename(dest)
+            return _('Imported file “%s” is not a valid snippets file') % os.path.basename(dest)
 
     def import_xml(self):
         return self.import_file(self.filename)
@@ -82,7 +82,7 @@ class Importer:
         status = os.system('cd %s; %s "%s"' % (dirname, cmd, self.filename))
 
         if status != 0:
-            return _('The archive "%s" could not be extracted' % self.filename)
+            return _('The archive “%s” could not be extracted' % self.filename)
 
         errors = []
 
@@ -113,10 +113,10 @@ class Importer:
 
     def run(self):
         if not os.path.exists(self.filename):
-            return _('File "%s" does not exist') % self.filename
+            return _('File “%s” does not exist') % self.filename
 
         if not os.path.isfile(self.filename):
-            return _('File "%s" is not a valid snippets archive') % self.filename
+            return _('File “%s” is not a valid snippets archive') % self.filename
 
         (root, ext) = os.path.splitext(self.filename)
 
@@ -129,6 +129,6 @@ class Importer:
             if self.filename.endswith(k):
                 return v()
 
-        return _('File "%s" is not a valid snippets archive') % self.filename
+        return _('File “%s” is not a valid snippets archive') % self.filename
 
 # ex:ts=4:et:
diff --git a/plugins/snippets/snippets/manager.py b/plugins/snippets/snippets/manager.py
index ccbfc6f..ca64f18 100644
--- a/plugins/snippets/snippets/manager.py
+++ b/plugins/snippets/snippets/manager.py
@@ -71,7 +71,7 @@ class Manager(Gtk.Window, Gtk.Buildable):
         return nodes
 
     def add_new_snippet_node(self, parent):
-        return self.model.append(parent, ('<i>' + _('Add a new snippet...') + \
+        return self.model.append(parent, ('<i>' + _('Add a new snippet…') + \
                 '</i>', '', None, None))
 
     def fill_language(self, piter, expand=True):
diff --git a/plugins/sort/gedit-sort-plugin.c b/plugins/sort/gedit-sort-plugin.c
index 827a28d..0740409 100644
--- a/plugins/sort/gedit-sort-plugin.c
+++ b/plugins/sort/gedit-sort-plugin.c
@@ -240,7 +240,7 @@ gedit_sort_plugin_app_activate (GeditAppActivatable *activatable)
        priv = GEDIT_SORT_PLUGIN (activatable)->priv;
 
        priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "tools-section");
-       item = g_menu_item_new (_("S_ort..."), "win.sort");
+       item = g_menu_item_new (_("S_ort…"), "win.sort");
        gedit_menu_extension_append_menu_item (priv->menu_ext, item);
        g_object_unref (item);
 }
diff --git a/plugins/spell/gedit-spell-app-activatable.c b/plugins/spell/gedit-spell-app-activatable.c
index 9e42d53..c08b0cd 100644
--- a/plugins/spell/gedit-spell-app-activatable.c
+++ b/plugins/spell/gedit-spell-app-activatable.c
@@ -140,11 +140,11 @@ gedit_spell_app_activatable_activate (GeditAppActivatable *activatable)
        gtk_application_set_accels_for_action (GTK_APPLICATION (priv->app),"win.check-spell", accels);
        priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "spell-section");
 
-       item = g_menu_item_new (_("_Check Spelling..."), "win.check-spell");
+       item = g_menu_item_new (_("_Check Spelling…"), "win.check-spell");
        gedit_menu_extension_append_menu_item (priv->menu_ext, item);
        g_object_unref (item);
 
-       item = g_menu_item_new (_("Set _Language..."), "win.config-spell");
+       item = g_menu_item_new (_("Set _Language…"), "win.config-spell");
        gedit_menu_extension_append_menu_item (priv->menu_ext, item);
        g_object_unref (item);
 
diff --git a/plugins/time/gedit-time-plugin.c b/plugins/time/gedit-time-plugin.c
index a503325..0bb3b60 100644
--- a/plugins/time/gedit-time-plugin.c
+++ b/plugins/time/gedit-time-plugin.c
@@ -262,7 +262,7 @@ gedit_time_plugin_app_activate (GeditAppActivatable *activatable)
        priv = GEDIT_TIME_PLUGIN (activatable)->priv;
 
        priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "tools-section");
-       item = g_menu_item_new (_("In_sert Date and Time..."), "win.time");
+       item = g_menu_item_new (_("In_sert Date and Time…"), "win.time");
        gedit_menu_extension_append_menu_item (priv->menu_ext, item);
        g_object_unref (item);
 }
diff --git a/plugins/time/resources/ui/gedit-time-setup-dialog.ui 
b/plugins/time/resources/ui/gedit-time-setup-dialog.ui
index c2b14fb..3eff64f 100644
--- a/plugins/time/resources/ui/gedit-time-setup-dialog.ui
+++ b/plugins/time/resources/ui/gedit-time-setup-dialog.ui
@@ -54,7 +54,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">When inserting date/time...</property>
+                <property name="label" translatable="yes">When inserting date/time…</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                 </attributes>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]