Files
systemd/po/meson.build
Zbigniew Jędrzejewski-Szmek 997ce3a3c0 po: "detect" msgmerge-nofuzzy using file()
With find_program, meson verbosely reports the detection of the file,
which we don't need since it's part of the repo and always present.
2026-05-24 13:26:56 +01:00

15 lines
549 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
want_translations = get_option('translations')
if want_translations
# The msgmerge invocation hidden behind i18n.gettext()'s update-po target inserts auto-guessed
# "fuzzy" translations for new strings, which are almost always wrong, use a wrapper to skip it.
meson.override_find_program('msgmerge', msgmerge_no_fuzzy_py)
i18n = import('i18n')
i18n.gettext(meson.project_name(),
preset : 'glib',
data_dirs : '.')
endif