sernatur/po/meson.build

13 lines
301 B
Meson
Raw Permalink Normal View History

2018-11-01 22:08:06 -03:00
install_translations = get_option('install_translations')
2019-01-05 00:28:18 -03:00
i18n = import('i18n')
2018-11-01 22:08:06 -03:00
if install_translations
i18n.gettext(meson.project_name(),
args: '--directory=' + meson.source_root()
)
2019-01-05 00:28:18 -03:00
else
i18n.gettext(meson.project_name(),
args: '--directory=' + meson.source_root(),
install: false
)
2018-11-01 22:08:06 -03:00
endif