Added --no-location for xgettext

This commit is contained in:
Htylol 2024-09-02 17:47:48 +05:00
parent f73f63ae47
commit ad87b33a94

@ -100,7 +100,7 @@ generate_pot () {
LANG_MO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.mo" LANG_MO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.mo"
TEMPLATE_POT="${PORT_WINE_PATH}/data/locales/PortProton.pot" TEMPLATE_POT="${PORT_WINE_PATH}/data/locales/PortProton.pot"
pushd "${PORT_WINE_PATH}" 1>/dev/null || fatal pushd "${PORT_WINE_PATH}" 1>/dev/null || fatal
xgettext --from-code=UTF-8 --language Shell -i \ xgettext --no-location --from-code=UTF-8 --language Shell -i \
"data/scripts/start.sh" \ "data/scripts/start.sh" \
"data/scripts/setup.sh" \ "data/scripts/setup.sh" \
"data/scripts/functions_helper" \ "data/scripts/functions_helper" \