Initial translations support

Most of the app is now translatable, so put a POT file in git and make app use translations if available
This commit is contained in:
Rafał Dzięgiel
2021-08-25 11:23:43 +02:00
parent 8ca4c30beb
commit a1ce04edfa
7 changed files with 373 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
imports.gi.versions.Soup = '2.4';
pkg.initGettext();
const { GstClapper, Gtk, Adw } = imports.gi;
GstClapper.Clapper.gst_init(null);

View File

@@ -2,6 +2,8 @@ imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
imports.gi.versions.Soup = '2.4';
pkg.initGettext();
const { Gtk, Adw } = imports.gi;
Gtk.init();