Use recommended quotes

See https://wiki.gnome.org/Design/OS/Typography
This commit is contained in:
William Jon McCann 2014-01-17 16:30:49 -05:00
parent 2931869522
commit b2a65f809f
5 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ function trySpawnCommandLine(command_line) {
} }
function _handleSpawnError(command, err) { 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); Main.notifyError(title, err.message);
} }

View File

@ -309,7 +309,7 @@ const NetworkSecretDialog = new Lang.Class({
wirelessSetting = this._connection.get_setting_wireless(); wirelessSetting = this._connection.get_setting_wireless();
ssid = NetworkManager.utils_ssid_to_utf8(wirelessSetting.get_ssid()); ssid = NetworkManager.utils_ssid_to_utf8(wirelessSetting.get_ssid());
content.title = _("Authentication required by wireless network"); 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); this._getWirelessSecrets(content.secrets, wirelessSetting);
break; break;
case '802-3-ethernet': case '802-3-ethernet':
@ -336,7 +336,7 @@ const NetworkSecretDialog = new Lang.Class({
case 'cdma': case 'cdma':
case 'bluetooth': case 'bluetooth':
content.title = _("Mobile broadband network password"); 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); this._getMobileSecrets(content.secrets, connectionType);
break; break;
default: default:

View File

@ -201,7 +201,7 @@ const InstallExtensionDialog = new Lang.Class({
default: true 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(); let box = new St.BoxLayout();
this.contentLayout.add(box); this.contentLayout.add(box);

View File

@ -16,7 +16,7 @@ const WindowAttentionHandler = new Lang.Class({
_getTitleAndBanner: function(app, window) { _getTitleAndBanner: function(app, window) {
let title = app.get_name(); 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] return [title, banner]
}, },

View File

@ -637,7 +637,7 @@ shell_app_activate_full (ShellApp *app,
if (!shell_app_launch (app, timestamp, workspace, &error)) if (!shell_app_launch (app, timestamp, workspace, &error))
{ {
char *msg; 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, shell_global_notify_error (global,
msg, msg,
error->message); error->message);