meson.build: Add l10n support
Closes https://gitlab.gnome.org/World/fractal/issues/89
This commit is contained in:
parent
26181a82ed
commit
e312370817
2 changed files with 4 additions and 0 deletions
1
fractal-gtk/po/meson.build
Normal file
1
fractal-gtk/po/meson.build
Normal file
|
@ -0,0 +1 @@
|
|||
i18n.gettext(meson.project_name(), preset: 'glib')
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue