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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-05-24 13:26:56 +01:00
committed by Luca Boccassi
parent 084488a39b
commit 997ce3a3c0
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -5,9 +5,7 @@ want_translations = get_option('translations')
if want_translations if want_translations
# The msgmerge invocation hidden behind i18n.gettext()'s update-po target inserts auto-guessed # 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. # "fuzzy" translations for new strings, which are almost always wrong, use a wrapper to skip it.
meson.override_find_program( meson.override_find_program('msgmerge', msgmerge_no_fuzzy_py)
'msgmerge',
find_program('../tools/msgmerge-no-fuzzy.py'))
i18n = import('i18n') i18n = import('i18n')
i18n.gettext(meson.project_name(), i18n.gettext(meson.project_name(),
+1
View File
@@ -17,6 +17,7 @@ make_man_index_py = files('make-man-index.py')
meson_build_sh = files('meson-build.sh') meson_build_sh = files('meson-build.sh')
meson_extract_unit_files_py = files('meson-extract-unit-files.py') meson_extract_unit_files_py = files('meson-extract-unit-files.py')
meson_render_jinja2_py = files('meson-render-jinja2.py') meson_render_jinja2_py = files('meson-render-jinja2.py')
msgmerge_no_fuzzy_py = files('msgmerge-no-fuzzy.py')
sync_docs_py = files('sync-docs.py') sync_docs_py = files('sync-docs.py')
update_dbus_docs_py = files('update-dbus-docs.py') update_dbus_docs_py = files('update-dbus-docs.py')
update_hwdb_autosuspend_sh = files('update-hwdb-autosuspend.sh') update_hwdb_autosuspend_sh = files('update-hwdb-autosuspend.sh')