Merge branch 'po' into 'master'

Add initial po support

Closes #315

See merge request World/Phosh/squeekboard!497
This commit is contained in:
dcz
2021-12-05 18:02:55 +00:00
9 changed files with 52 additions and 18 deletions

View File

@ -2,3 +2,9 @@
* Autogenerated by the Meson build system.
* Do not edit, your changes will be lost.
*/
#pragma once
#mesondefine GETTEXT_PACKAGE
#mesondefine LOCALEDIR

View File

@ -326,6 +326,10 @@ main (int argc, char **argv)
return 1;
}
textdomain (GETTEXT_PACKAGE);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
if (!gtk_init_check (&argc, &argv)) {
g_printerr ("Can't init GTK\n");
exit (1);