keyboard: Add a missed translation

The word "tray" should be translated to other languages.

https://bugzilla.gnome.org/show_bug.cgi?id=660600
This commit is contained in:
Jasper St. Pierre 2011-09-30 17:29:46 -04:00
parent 0ccb280008
commit 4e114107ed

View File

@ -305,7 +305,8 @@ Keyboard.prototype = {
}, },
_getTrayIcon: function () { _getTrayIcon: function () {
let trayButton = new St.Button ({ label: "tray", style_class: 'keyboard-key' }); let trayButton = new St.Button ({ label: _("tray"),
style_class: 'keyboard-key' });
trayButton.key_width = 1; trayButton.key_width = 1;
trayButton.connect('button-press-event', Lang.bind(this, function () { trayButton.connect('button-press-event', Lang.bind(this, function () {
Main.messageTray.toggle(); Main.messageTray.toggle();