mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 21:40:13 +01:00
core: fix domain for g_option_context_set_translation_domain() (bgo #666652)
This commit is contained in:
parent
48852e112e
commit
d3c1383b4e
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ main (int argc, char *argv[])
|
|||
|
||||
/* Parse options */
|
||||
opt_ctx = g_option_context_new ("");
|
||||
g_option_context_set_translation_domain (opt_ctx, "UTF-8");
|
||||
g_option_context_set_translation_domain (opt_ctx, GETTEXT_PACKAGE);
|
||||
g_option_context_set_ignore_unknown_options (opt_ctx, FALSE);
|
||||
g_option_context_set_help_enabled (opt_ctx, TRUE);
|
||||
g_option_context_add_main_entries (opt_ctx, options, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue