mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
main: make "gnome-shell" the default gettext domain
Since libmutter uses dgettext(), we can take over the default domain https://bugzilla.gnome.org/show_bug.cgi?id=649203
This commit is contained in:
parent
898b2b903d
commit
4bfc3bafcb
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue