1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
elinks/po/meson.build
Witold Filipczyk 1140727fae [meson] check-po target
Usage:
ninja check-po 2>&1 | less
2022-10-09 17:09:58 +02:00

12 lines
335 B
Meson

if conf_data.get('CONFIG_NLS')
i18n = import('i18n')
# define GETTEXT_PACKAGE
add_project_arguments('-DGETTEXT_PACKAGE="elinks"', language:'c')
i18n.gettext('elinks',
args: '--directory=' + meson.source_root()
)
endif
check_po_sh = find_program('check_po.sh')
run_target('check-po', command:[check_po_sh])