Add initial calls to Gettext

We don't have a lot of strings, and what ones we do have we've
been avoiding duplication.  This patch adds calls to _() i.e. gettext
for those strings we do have.
This commit is contained in:
Colin Walters
2009-08-14 09:30:48 -04:00
parent ec95a1c2d3
commit ca51a8c926
5 changed files with 26 additions and 14 deletions

View File

@ -6,6 +6,8 @@ const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Shell = imports.gi.Shell;
const Signals = imports.signals;
const Gettext = imports.gettext.domain('gnome-shell');
const _ = Gettext.gettext;
const Main = imports.ui.main;
@ -69,7 +71,7 @@ RunDialog.prototype = {
let label = new Clutter.Text({ color: BOX_TEXT_COLOR,
font_name: '18px Sans',
text: 'Please enter a command:' });
text: _("Please enter a command:") });
label.set_position(6, 6);
boxGroup.add_actor(label);