Update Weblate template from Sphinx templates

Fix regression from #3.
This commit is contained in:
Rémi Verschelde
2019-02-10 13:58:06 +01:00
parent 7fa4180f7b
commit fdee9236d4
2 changed files with 2570 additions and 186 deletions

View File

@@ -103,7 +103,7 @@ if [ "$update_weblate_pot" = true ]; then
if [ ! -d "$WEBLATE_DIR" ]; then
mkdir $WEBLATE_DIR
fi
msgcat -o $WEBLATE_TEMPLATE "$SPHINX_TEMPLATES"
msgcat -o $WEBLATE_TEMPLATE $SPHINX_TEMPLATES
sed -i 's@Report-Msgid-Bugs-To: [^"]*@Report-Msgid-Bugs-To: https://github.com/godotengine/godot-docs-l10n\\n@' $WEBLATE_TEMPLATE
fi