[panel] Fix translatable strings

There are some strings in panel.js which are not extracted correctly.
Fix by marking them correctly with double quotes and _().
This commit is contained in:
Florian Müllner 2010-06-08 17:11:15 +02:00
parent 8aeadcdf9a
commit e1a109b9be

View File

@ -815,7 +815,7 @@ AppMenuButton.prototype = {
let icon = this._focusedApp.get_faded_icon(AppDisplay.APPICON_SIZE);
let appName = this._focusedApp.get_name();
this._label.setText(appName);
this._quitMenu.label.set_text(_('Quit %s').format(appName));
this._quitMenu.label.set_text(_("Quit %s").format(appName));
this._iconBox.set_child(icon);
this._iconBox.show();
}
@ -835,7 +835,7 @@ ClockButton.prototype = {
_init: function() {
PanelMenuButton.prototype._init.call(this, St.Align.START);
this.menu.addAction("Preferences", Lang.bind(this, this._onPrefs));
this.menu.addAction(_("Preferences"), Lang.bind(this, this._onPrefs));
this._clock = new St.Label();
this.actor.set_child(this._clock);