Skip to content

Commit 8ddacc2

Browse files
committed
nemo-fileroller: Set the gettext domain before initializing the
module. Fixes linuxmint/mint20.2-beta#34.
1 parent 5dd4ac0 commit 8ddacc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nemo-fileroller/src/fileroller-module.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
void
3232
nemo_module_initialize (GTypeModule*module)
3333
{
34-
nemo_fr_register_type (module);
34+
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
35+
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
3536

36-
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
37-
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
37+
nemo_fr_register_type (module);
3838
}
3939

4040

0 commit comments

Comments
 (0)