From 803e4a3b9af62fd0b691e8951dd49c54a0d6fceb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Mar 2016 20:13:45 +0000 Subject: [PATCH] Add translated files to git --- translate | 2 ++ 1 file changed, 2 insertions(+) diff --git a/translate b/translate index e2ed9af7..513b68e8 100755 --- a/translate +++ b/translate @@ -80,6 +80,7 @@ function create_translation_files { if [ -f /usr/bin/i18next-conv ]; then if [ -f locale/${lang}/${COMMAND_NAME}.po ]; then i18next-conv -l ${lang} -s locale/${lang}/${COMMAND_NAME}.po -t locale/${lang}/${COMMAND_NAME}.json + git add locale/${lang}/${COMMAND_NAME}.json fi fi @@ -102,6 +103,7 @@ function install_translations { if [ ! -f locale/${lang}/${COMMAND_NAME}.mo ]; then if [ -f locale/${lang}/${COMMAND_NAME}.json ]; then i18next-conv -l ${lang} -s locale/${lang}/${COMMAND_NAME}.json -t locale/${lang}/${COMMAND_NAME}.mo + git add locale/${lang}/${COMMAND_NAME}.mo fi fi fi