We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc68baf commit 8b7a761Copy full SHA for 8b7a761
web/locale/hst_scan_i18n.sh
@@ -15,7 +15,7 @@ find ../.. \( -name '*.php' -o -name '*.html' -o -name '*.sh' \) | xgettext --ou
15
OLDIFS=$IFS
16
IFS=$'\n'
17
for string in $(awk -F'SYSTEM=' '/data=".+ SYSTEM=[^"]/ {print $2}' $HESTIA/bin/v-list-sys-services | cut -d\' -f2); do
18
- if [ -z "$(grep "$string" hestiacp.pot)" ]; then
+ if [ -z "$(grep "\"$string\"" hestiacp.pot)" ]; then
19
echo -e "\n#: ../../bin/v-list-sys-services:"$(grep -n "$string" $HESTIA/bin/v-list-sys-services | cut -d: -f1)"\nmsgid \"$string\"\nmsgstr \"\"" >> hestiacp.pot
20
fi
21
done
0 commit comments