Use "Region and Language Settings" label

Since this link in the keyboard menu points to Region and Language
Settings in System Settings, we should be consistent and use that
term instead of "Localization Settings"

Also, this removes ellipsis from "Show Keyboard Layout" since it
doesn't require further input.

https://bugzilla.gnome.org/show_bug.cgi?id=652984
This commit is contained in:
Jeremy Bicha 2011-07-17 03:35:08 -04:00 committed by Adel Gadllah
parent 60612cace9
commit 77556d181e

View File

@ -68,11 +68,11 @@ XKBIndicator.prototype = {
this._sync_config(); this._sync_config();
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Show Keyboard Layout..."), Lang.bind(this, function() { this.menu.addAction(_("Show Keyboard Layout"), Lang.bind(this, function() {
Main.overview.hide(); Main.overview.hide();
Util.spawn(['gkbd-keyboard-display', '-g', String(this._config.get_current_group() + 1)]); Util.spawn(['gkbd-keyboard-display', '-g', String(this._config.get_current_group() + 1)]);
})); }));
this.menu.addAction(_("Localization Settings"), function() { this.menu.addAction(_("Region and Language Settings"), function() {
Main.overview.hide(); Main.overview.hide();
let app = Shell.AppSystem.get_default().get_app('gnome-region-panel.desktop'); let app = Shell.AppSystem.get_default().get_app('gnome-region-panel.desktop');
app.activate(-1); app.activate(-1);