From b2a65f809f8dc184d41443ca470310e5ad77d975 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 17 Jan 2014 16:30:49 -0500 Subject: [PATCH] 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 6ffda1e1a..9965c5a8f 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 749ab37b5..66c462817 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 23bdddc10..8a348219b 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 599eee9a6..3fcaff682 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 e2745d381..07fe94382 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);