Make Connect string translatable
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=597038
This commit is contained in:
parent
20b29ff48f
commit
90ddad7ba1
@ -9,6 +9,8 @@ const Shell = imports.gi.Shell;
|
|||||||
const Lang = imports.lang;
|
const Lang = imports.lang;
|
||||||
const Mainloop = imports.mainloop;
|
const Mainloop = imports.mainloop;
|
||||||
const Signals = imports.signals;
|
const Signals = imports.signals;
|
||||||
|
const Gettext = imports.gettext.domain('gnome-shell');
|
||||||
|
const _ = Gettext.gettext;
|
||||||
|
|
||||||
const DND = imports.ui.dnd;
|
const DND = imports.ui.dnd;
|
||||||
const Main = imports.ui.main;
|
const Main = imports.ui.main;
|
||||||
@ -172,7 +174,7 @@ Places.prototype = {
|
|||||||
this._actionsBox.append(network.actor, Big.BoxPackFlags.NONE);
|
this._actionsBox.append(network.actor, Big.BoxPackFlags.NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
let connect = new PlaceDisplay('Connect to...',
|
let connect = new PlaceDisplay(_("Connect to..."),
|
||||||
function () {
|
function () {
|
||||||
return Shell.TextureCache.get_default().load_icon_name("applications-internet", PLACES_ICON_SIZE);
|
return Shell.TextureCache.get_default().load_icon_name("applications-internet", PLACES_ICON_SIZE);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user