CI: warn earlier about weird lupdate strings
This commit is contained in:
parent
7773e0bfc8
commit
46eaf6f450
@ -105,7 +105,7 @@ fi
|
|||||||
# those are done separately.
|
# those are done separately.
|
||||||
_srcdirs="src/calamares src/libcalamares src/libcalamaresui src/modules src/qml"
|
_srcdirs="src/calamares src/libcalamares src/libcalamaresui src/modules src/qml"
|
||||||
$LUPDATE -no-obsolete $_srcdirs -ts lang/calamares_en.ts
|
$LUPDATE -no-obsolete $_srcdirs -ts lang/calamares_en.ts
|
||||||
grep '{1?}' lang/calamares_en.ts && { echo "lupdate has introduced weird markers." ; exit 1 ; }
|
grep '{1' lang/calamares_en.ts && { echo "lupdate has introduced weird markers." ; exit 1 ; }
|
||||||
# Non-Transifex special-cases
|
# Non-Transifex special-cases
|
||||||
#
|
#
|
||||||
# - timezone names can be translated, but that's 700+ strings I don't want
|
# - timezone names can be translated, but that's 700+ strings I don't want
|
||||||
|
Loading…
Reference in New Issue
Block a user