meson.build: Add l10n support

Closes https://gitlab.gnome.org/World/fractal/issues/89
This commit is contained in:
Eisha CHEN-YEN-SU 2018-05-17 19:52:35 +02:00
parent 26181a82ed
commit e312370817
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
i18n.gettext(meson.project_name(), preset: 'glib')

View file

@ -16,6 +16,9 @@ fractal_bindir = join_paths(fractal_prefix, get_option('bindir'))
datadir = get_option('datadir')
icondir = join_paths(datadir, 'icons')
i18n = import('i18n')
subdir('fractal-gtk/po')
subdir('fractal-gtk/res')
cargo = find_program('cargo', required: false)