diff --git a/js/ui/environment.js b/js/ui/environment.js index 2dd911564..4a78b84a7 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -7,7 +7,7 @@ imports.gi.versions.GdkPixbuf = '2.0'; imports.gi.versions.Gtk = '3.0'; const Clutter = imports.gi.Clutter;; -const Gettext = imports.gettext.domain('gnome-shell'); +const Gettext = imports.gettext; const GLib = imports.gi.GLib; const Gtk = imports.gi.Gtk; const Shell = imports.gi.Shell; diff --git a/src/main.c b/src/main.c index 5472953b9..c9c9d6e12 100644 --- a/src/main.c +++ b/src/main.c @@ -458,6 +458,7 @@ main (int argc, char **argv) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); ctx = meta_get_option_context (); g_option_context_add_main_entries (ctx, gnome_shell_options, GETTEXT_PACKAGE);