X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Fscripts%2FcheckTranslations.sh;fp=core%2Fscripts%2FcheckTranslations.sh;h=bbbf91c2c7bb54da32d747482b76015a16643252;hb=746dc4db372980f08b14799732c653744d944986;hp=0000000000000000000000000000000000000000;hpb=ecb19dadbadc834ccb19fa205790b15c5baf8ca6;p=debian%2Fopenrocket diff --git a/core/scripts/checkTranslations.sh b/core/scripts/checkTranslations.sh new file mode 100755 index 00000000..bbbf91c2 --- /dev/null +++ b/core/scripts/checkTranslations.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# +# Perform all tests for the translation files. +# +# Usage: +# ./scripts/checkTranslations.sh +# + + +# Test that keys used in Java files are present in English messages +find src/ -name "*.java" -exec ./scripts/verifyTranslationKeys.pl l10n/messages.properties {} + +