js: Use proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689542
This commit is contained in:
parent
6f8540f25a
commit
2a5f8e84bb
@ -566,7 +566,7 @@ const SessionList = new Lang.Class({
|
|||||||
box.add_actor(this._triangle);
|
box.add_actor(this._triangle);
|
||||||
|
|
||||||
let label = new St.Label({ style_class: 'login-dialog-session-list-label',
|
let label = new St.Label({ style_class: 'login-dialog-session-list-label',
|
||||||
text: _("Session...") });
|
text: _("Session…") });
|
||||||
box.add_actor(label);
|
box.add_actor(label);
|
||||||
|
|
||||||
this._button.connect('clicked',
|
this._button.connect('clicked',
|
||||||
|
@ -215,7 +215,7 @@ const Overview = new Lang.Class({
|
|||||||
in the search entry when no search is
|
in the search entry when no search is
|
||||||
active; it should not exceed ~30
|
active; it should not exceed ~30
|
||||||
characters. */
|
characters. */
|
||||||
hint_text: _("Type to search..."),
|
hint_text: _("Type to search…"),
|
||||||
track_hover: true,
|
track_hover: true,
|
||||||
can_focus: true });
|
can_focus: true });
|
||||||
this._searchEntryBin = new St.Bin({ child: this._searchEntry,
|
this._searchEntryBin = new St.Bin({ child: this._searchEntry,
|
||||||
|
@ -428,7 +428,7 @@ const SearchResults = new Lang.Class({
|
|||||||
|
|
||||||
startingSearch: function() {
|
startingSearch: function() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this._statusText.set_text(_("Searching..."));
|
this._statusText.set_text(_("Searching…"));
|
||||||
this._statusBin.show();
|
this._statusBin.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -56,8 +56,8 @@ const Indicator = new Lang.Class({
|
|||||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||||
|
|
||||||
this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(),
|
this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(),
|
||||||
new PopupMenu.PopupMenuItem(_("Send Files to Device...")),
|
new PopupMenu.PopupMenuItem(_("Send Files to Device…")),
|
||||||
new PopupMenu.PopupMenuItem(_("Set Up a New Device...")),
|
new PopupMenu.PopupMenuItem(_("Set Up a New Device…")),
|
||||||
new PopupMenu.PopupSeparatorMenuItem()];
|
new PopupMenu.PopupSeparatorMenuItem()];
|
||||||
this._hasDevices = false;
|
this._hasDevices = false;
|
||||||
|
|
||||||
@ -236,7 +236,7 @@ const Indicator = new Lang.Class({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (device.capabilities & GnomeBluetoothApplet.Capabilities.OBEX_PUSH) {
|
if (device.capabilities & GnomeBluetoothApplet.Capabilities.OBEX_PUSH) {
|
||||||
item.menu.addAction(_("Send Files..."), Lang.bind(this, function() {
|
item.menu.addAction(_("Send Files…"), Lang.bind(this, function() {
|
||||||
this._applet.send_to_address(device.bdaddr, device.alias);
|
this._applet.send_to_address(device.bdaddr, device.alias);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ const NM80211ApFlags = NetworkManager['80211ApFlags'];
|
|||||||
const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags'];
|
const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags'];
|
||||||
|
|
||||||
// number of wireless networks that should be visible
|
// number of wireless networks that should be visible
|
||||||
// (the remaining are placed into More...)
|
// (the remaining are placed into More…)
|
||||||
const NUM_VISIBLE_NETWORKS = 5;
|
const NUM_VISIBLE_NETWORKS = 5;
|
||||||
|
|
||||||
function macToArray(string) {
|
function macToArray(string) {
|
||||||
@ -549,7 +549,7 @@ const NMDevice = new Lang.Class({
|
|||||||
|
|
||||||
if (j + activeOffset >= NUM_VISIBLE_NETWORKS) {
|
if (j + activeOffset >= NUM_VISIBLE_NETWORKS) {
|
||||||
if (!this._overflowItem) {
|
if (!this._overflowItem) {
|
||||||
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
|
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…"));
|
||||||
this.section.addMenuItem(this._overflowItem);
|
this.section.addMenuItem(this._overflowItem);
|
||||||
}
|
}
|
||||||
this._overflowItem.menu.addMenuItem(obj.item);
|
this._overflowItem.menu.addMenuItem(obj.item);
|
||||||
@ -1432,7 +1432,7 @@ const NMDeviceWireless = new Lang.Class({
|
|||||||
this.section.addMenuItem(apObj.item, position);
|
this.section.addMenuItem(apObj.item, position);
|
||||||
} else {
|
} else {
|
||||||
if (!this._overflowItem) {
|
if (!this._overflowItem) {
|
||||||
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
|
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…"));
|
||||||
this.section.addMenuItem(this._overflowItem);
|
this.section.addMenuItem(this._overflowItem);
|
||||||
}
|
}
|
||||||
this._overflowItem.menu.addMenuItem(apObj.item, position - NUM_VISIBLE_NETWORKS);
|
this._overflowItem.menu.addMenuItem(apObj.item, position - NUM_VISIBLE_NETWORKS);
|
||||||
@ -1624,7 +1624,7 @@ const NMVPNSection = new Lang.Class({
|
|||||||
|
|
||||||
if (j >= NUM_VISIBLE_NETWORKS) {
|
if (j >= NUM_VISIBLE_NETWORKS) {
|
||||||
if (!this._overflowItem) {
|
if (!this._overflowItem) {
|
||||||
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
|
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…"));
|
||||||
this.section.addMenuItem(this._overflowItem);
|
this.section.addMenuItem(this._overflowItem);
|
||||||
}
|
}
|
||||||
this._overflowItem.menu.addMenuItem(obj.item);
|
this._overflowItem.menu.addMenuItem(obj.item);
|
||||||
|
@ -96,7 +96,7 @@ const Indicator = new Lang.Class({
|
|||||||
if (time == 0) {
|
if (time == 0) {
|
||||||
// 0 is reported when UPower does not have enough data
|
// 0 is reported when UPower does not have enough data
|
||||||
// to estimate battery life
|
// to estimate battery life
|
||||||
this._batteryItem.label.text = _("Estimating...");
|
this._batteryItem.label.text = _("Estimating…");
|
||||||
} else {
|
} else {
|
||||||
let minutes = time % 60;
|
let minutes = time % 60;
|
||||||
let hours = Math.floor(time / 60);
|
let hours = Math.floor(time / 60);
|
||||||
|
Loading…
Reference in New Issue
Block a user