moving to core/
[debian/openrocket] / core / scripts / checkTranslations.sh
diff --git a/core/scripts/checkTranslations.sh b/core/scripts/checkTranslations.sh
new file mode 100755 (executable)
index 0000000..bbbf91c
--- /dev/null
@@ -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 {} +
+