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:
committed by
Luca Boccassi
parent
084488a39b
commit
997ce3a3c0
+1
-3
@@ -5,9 +5,7 @@ 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',
|
||||
find_program('../tools/msgmerge-no-fuzzy.py'))
|
||||
meson.override_find_program('msgmerge', msgmerge_no_fuzzy_py)
|
||||
|
||||
i18n = import('i18n')
|
||||
i18n.gettext(meson.project_name(),
|
||||
|
||||
@@ -17,6 +17,7 @@ make_man_index_py = files('make-man-index.py')
|
||||
meson_build_sh = files('meson-build.sh')
|
||||
meson_extract_unit_files_py = files('meson-extract-unit-files.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')
|
||||
update_dbus_docs_py = files('update-dbus-docs.py')
|
||||
update_hwdb_autosuspend_sh = files('update-hwdb-autosuspend.sh')
|
||||
|
||||
Reference in New Issue
Block a user