[gnome-shell] Use recommended quotes



commit b2a65f809f8dc184d41443ca470310e5ad77d975
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Jan 17 16:30:49 2014 -0500

    Use recommended quotes
    
    See https://wiki.gnome.org/Design/OS/Typography

 js/misc/util.js                  |    2 +-
 js/ui/components/networkAgent.js |    4 ++--
 js/ui/extensionDownloader.js     |    2 +-
 js/ui/windowAttentionHandler.js  |    2 +-
 src/shell-app.c                  |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 6ffda1e..9965c5a 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -153,7 +153,7 @@ function trySpawnCommandLine(command_line) {
 }
 
 function _handleSpawnError(command, err) {
-    let title = _("Execution of '%s' failed:").format(command);
+    let title = _("Execution of “%s” failed:").format(command);
     Main.notifyError(title, err.message);
 }
 
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 749ab37..66c4628 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -309,7 +309,7 @@ const NetworkSecretDialog = new Lang.Class({
             wirelessSetting = this._connection.get_setting_wireless();
             ssid = NetworkManager.utils_ssid_to_utf8(wirelessSetting.get_ssid());
             content.title = _("Authentication required by wireless network");
-            content.message = _("Passwords or encryption keys are required to access the wireless network 
'%s'.").format(ssid);
+            content.message = _("Passwords or encryption keys are required to access the wireless network 
“%s”.").format(ssid);
             this._getWirelessSecrets(content.secrets, wirelessSetting);
             break;
         case '802-3-ethernet':
@@ -336,7 +336,7 @@ const NetworkSecretDialog = new Lang.Class({
         case 'cdma':
         case 'bluetooth':
             content.title = _("Mobile broadband network password");
-            content.message = _("A password is required to connect to 
'%s'.").format(connectionSetting.get_id());
+            content.message = _("A password is required to connect to 
“%s”.").format(connectionSetting.get_id());
             this._getMobileSecrets(content.secrets, connectionType);
             break;
         default:
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 23bdddc..8a34821 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -201,7 +201,7 @@ const InstallExtensionDialog = new Lang.Class({
                            default: true
                          }]);
 
-        let message = _("Download and install '%s' from extensions.gnome.org?").format(info.name);
+        let message = _("Download and install “%s” from extensions.gnome.org?").format(info.name);
 
         let box = new St.BoxLayout();
         this.contentLayout.add(box);
diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js
index 599eee9..3fcaff6 100644
--- a/js/ui/windowAttentionHandler.js
+++ b/js/ui/windowAttentionHandler.js
@@ -16,7 +16,7 @@ const WindowAttentionHandler = new Lang.Class({
 
     _getTitleAndBanner: function(app, window) {
         let title = app.get_name();
-        let banner = _("'%s' is ready").format(window.get_title());
+        let banner = _("“%s” is ready").format(window.get_title());
         return [title, banner]
     },
 
diff --git a/src/shell-app.c b/src/shell-app.c
index e2745d3..07fe943 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -637,7 +637,7 @@ shell_app_activate_full (ShellApp      *app,
           if (!shell_app_launch (app, timestamp, workspace, &error))
             {
               char *msg;
-              msg = g_strdup_printf (_("Failed to launch '%s'"), shell_app_get_name (app));
+              msg = g_strdup_printf (_("Failed to launch “%s”"), shell_app_get_name (app));
               shell_global_notify_error (global,
                                          msg,
                                          error->message);


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