js: Use proper Unicode ellipsis (…) instead of three dots

https://bugzilla.gnome.org/show_bug.cgi?id=689542
This commit is contained in:
Jeremy Bicha 2012-12-03 10:59:28 -05:00
parent 6f8540f25a
commit 2a5f8e84bb
6 changed files with 11 additions and 11 deletions

View File

@ -566,7 +566,7 @@ const SessionList = new Lang.Class({
box.add_actor(this._triangle);
let label = new St.Label({ style_class: 'login-dialog-session-list-label',
text: _("Session...") });
text: _("Session") });
box.add_actor(label);
this._button.connect('clicked',

View File

@ -215,7 +215,7 @@ const Overview = new Lang.Class({
in the search entry when no search is
active; it should not exceed ~30
characters. */
hint_text: _("Type to search..."),
hint_text: _("Type to search"),
track_hover: true,
can_focus: true });
this._searchEntryBin = new St.Bin({ child: this._searchEntry,

View File

@ -428,7 +428,7 @@ const SearchResults = new Lang.Class({
startingSearch: function() {
this.reset();
this._statusText.set_text(_("Searching..."));
this._statusText.set_text(_("Searching"));
this._statusBin.show();
},

View File

@ -56,8 +56,8 @@ const Indicator = new Lang.Class({
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(),
new PopupMenu.PopupMenuItem(_("Send Files to Device...")),
new PopupMenu.PopupMenuItem(_("Set Up a New Device...")),
new PopupMenu.PopupMenuItem(_("Send Files to Device")),
new PopupMenu.PopupMenuItem(_("Set Up a New Device")),
new PopupMenu.PopupSeparatorMenuItem()];
this._hasDevices = false;
@ -236,7 +236,7 @@ const Indicator = new Lang.Class({
}
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);
}));
}

View File

@ -49,7 +49,7 @@ const NM80211ApFlags = NetworkManager['80211ApFlags'];
const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags'];
// 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;
function macToArray(string) {
@ -549,7 +549,7 @@ const NMDevice = new Lang.Class({
if (j + activeOffset >= NUM_VISIBLE_NETWORKS) {
if (!this._overflowItem) {
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More"));
this.section.addMenuItem(this._overflowItem);
}
this._overflowItem.menu.addMenuItem(obj.item);
@ -1432,7 +1432,7 @@ const NMDeviceWireless = new Lang.Class({
this.section.addMenuItem(apObj.item, position);
} else {
if (!this._overflowItem) {
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More"));
this.section.addMenuItem(this._overflowItem);
}
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 (!this._overflowItem) {
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More..."));
this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More"));
this.section.addMenuItem(this._overflowItem);
}
this._overflowItem.menu.addMenuItem(obj.item);

View File

@ -96,7 +96,7 @@ const Indicator = new Lang.Class({
if (time == 0) {
// 0 is reported when UPower does not have enough data
// to estimate battery life
this._batteryItem.label.text = _("Estimating...");
this._batteryItem.label.text = _("Estimating");
} else {
let minutes = time % 60;
let hours = Math.floor(time / 60);