Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772210
This commit is contained in:
parent
9bcdd9c274
commit
649d360289
@ -26,7 +26,7 @@
|
|||||||
<summary>Disable user extensions</summary>
|
<summary>Disable user extensions</summary>
|
||||||
<description>
|
<description>
|
||||||
Disable all extensions the user has enabled without affecting
|
Disable all extensions the user has enabled without affecting
|
||||||
the 'enabled-extension' setting.
|
the “enabled-extension” setting.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="disable-extension-version-validation" type="b">
|
<key name="disable-extension-version-validation" type="b">
|
||||||
@ -64,9 +64,9 @@
|
|||||||
</key>
|
</key>
|
||||||
<key name="always-show-log-out" type="b">
|
<key name="always-show-log-out" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Always show the 'Log out' menu item in the user menu.</summary>
|
<summary>Always show the “Log out” menu item in the user menu.</summary>
|
||||||
<description>
|
<description>
|
||||||
This key overrides the automatic hiding of the 'Log out'
|
This key overrides the automatic hiding of the “Log out”
|
||||||
menu item in single-user, single-session situations.
|
menu item in single-user, single-session situations.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
<description>
|
<description>
|
||||||
The shell will request a password when an encrypted device or a
|
The shell will request a password when an encrypted device or a
|
||||||
remote filesystem is mounted. If the password can be saved for
|
remote filesystem is mounted. If the password can be saved for
|
||||||
future use a 'Remember Password' checkbox will be present.
|
future use a “Remember Password” checkbox will be present.
|
||||||
This key sets the default state of the checkbox.
|
This key sets the default state of the checkbox.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
@ -105,9 +105,9 @@
|
|||||||
</key>
|
</key>
|
||||||
<key name="toggle-application-view" type="as">
|
<key name="toggle-application-view" type="as">
|
||||||
<default>["<Super>a"]</default>
|
<default>["<Super>a"]</default>
|
||||||
<summary>Keybinding to open the "Show Applications" view</summary>
|
<summary>Keybinding to open the “Show Applications” view</summary>
|
||||||
<description>
|
<description>
|
||||||
Keybinding to open the "Show Applications" view of the Activities
|
Keybinding to open the “Show Applications” view of the Activities
|
||||||
Overview.
|
Overview.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
@ -176,8 +176,8 @@
|
|||||||
<summary>The application icon mode.</summary>
|
<summary>The application icon mode.</summary>
|
||||||
<description>
|
<description>
|
||||||
Configures how the windows are shown in the switcher. Valid possibilities
|
Configures how the windows are shown in the switcher. Valid possibilities
|
||||||
are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-only'
|
are “thumbnail-only” (shows a thumbnail of the window), “app-icon-only”
|
||||||
(shows only the application icon) or 'both'.
|
(shows only the application icon) or “both”.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<key type="b" name="current-workspace-only">
|
<key type="b" name="current-workspace-only">
|
||||||
|
@ -298,7 +298,7 @@ const AuthenticationDialog = new Lang.Class({
|
|||||||
* requested authentication was not gained; this can happen
|
* requested authentication was not gained; this can happen
|
||||||
* because of an authentication error (like invalid password),
|
* because of an authentication error (like invalid password),
|
||||||
* for instance. */
|
* for instance. */
|
||||||
this._errorMessageLabel.set_text(_("Sorry, that didn\'t work. Please try again."));
|
this._errorMessageLabel.set_text(_("Sorry, that didn’t work. Please try again."));
|
||||||
this._errorMessageLabel.show();
|
this._errorMessageLabel.show();
|
||||||
this._infoMessageLabel.hide();
|
this._infoMessageLabel.hide();
|
||||||
this._nullMessageLabel.hide();
|
this._nullMessageLabel.hide();
|
||||||
|
@ -380,7 +380,7 @@ const ShellMountPasswordDialog = new Lang.Class({
|
|||||||
this.setInitialKeyFocus(this._passwordEntry);
|
this.setInitialKeyFocus(this._passwordEntry);
|
||||||
|
|
||||||
this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label',
|
this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label',
|
||||||
text: _("Sorry, that didn\'t work. Please try again.") });
|
text: _("Sorry, that didn’t work. Please try again.") });
|
||||||
this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||||
this._errorMessageLabel.clutter_text.line_wrap = true;
|
this._errorMessageLabel.clutter_text.line_wrap = true;
|
||||||
this._errorMessageLabel.hide();
|
this._errorMessageLabel.hide();
|
||||||
|
@ -1431,7 +1431,7 @@ const NMVPNConnectionItem = new Lang.Class({
|
|||||||
case NetworkManager.VPNConnectionState.PREPARE:
|
case NetworkManager.VPNConnectionState.PREPARE:
|
||||||
case NetworkManager.VPNConnectionState.CONNECT:
|
case NetworkManager.VPNConnectionState.CONNECT:
|
||||||
case NetworkManager.VPNConnectionState.IP_CONFIG_GET:
|
case NetworkManager.VPNConnectionState.IP_CONFIG_GET:
|
||||||
return _("connecting...");
|
return _("connecting…");
|
||||||
case NetworkManager.VPNConnectionState.NEED_AUTH:
|
case NetworkManager.VPNConnectionState.NEED_AUTH:
|
||||||
/* Translators: this is for network connections that require some kind of key or password */
|
/* Translators: this is for network connections that require some kind of key or password */
|
||||||
return _("authentication required");
|
return _("authentication required");
|
||||||
|
@ -675,7 +675,7 @@ const ResizePopup = new Lang.Class({
|
|||||||
set: function(rect, displayW, displayH) {
|
set: function(rect, displayW, displayH) {
|
||||||
/* Translators: This represents the size of a window. The first number is
|
/* Translators: This represents the size of a window. The first number is
|
||||||
* the width of the window and the second is the height. */
|
* the width of the window and the second is the height. */
|
||||||
let text = _("%d x %d").format(displayW, displayH);
|
let text = _("%d × %d").format(displayW, displayH);
|
||||||
this._label.set_text(text);
|
this._label.set_text(text);
|
||||||
|
|
||||||
this._widget.set_position(rect.x, rect.y);
|
this._widget.set_position(rect.x, rect.y);
|
||||||
|
@ -390,7 +390,7 @@ GOptionEntry gnome_shell_options[] = {
|
|||||||
{
|
{
|
||||||
"mode", 0, 0, G_OPTION_ARG_STRING,
|
"mode", 0, 0, G_OPTION_ARG_STRING,
|
||||||
&session_mode,
|
&session_mode,
|
||||||
N_("Use a specific mode, e.g. \"gdm\" for login screen"),
|
N_("Use a specific mode, e.g. “gdm” for login screen"),
|
||||||
"MODE"
|
"MODE"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user