environment: put gettext stuff into global environment
Rather than defining _() as a local function in every module, put it into the global environment (along with C_() and ngettext()). https://bugzilla.gnome.org/show_bug.cgi?id=649203
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
const Shell = imports.gi.Shell;
|
||||
const Lang = imports.lang;
|
||||
const Signals = imports.signals;
|
||||
const Gettext = imports.gettext.domain('gnome-shell');
|
||||
const _ = Gettext.gettext;
|
||||
|
||||
const Main = imports.ui.main;
|
||||
|
||||
|
Reference in New Issue
Block a user