From f28b32cf75bfce7e1b7762f41db33f4b4cee192f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 21 Feb 2020 08:49:51 +1000 Subject: [PATCH] split ftl and po syncing scripts --- qt/i18n/{sync-git => sync-ftl-git} | 4 ---- qt/i18n/sync-po-git | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) rename qt/i18n/{sync-git => sync-ftl-git} (63%) mode change 100755 => 100644 create mode 100755 qt/i18n/sync-po-git diff --git a/qt/i18n/sync-git b/qt/i18n/sync-ftl-git old mode 100755 new mode 100644 similarity index 63% rename from qt/i18n/sync-git rename to qt/i18n/sync-ftl-git index 38e1ef9b1..df527248a --- a/qt/i18n/sync-git +++ b/qt/i18n/sync-ftl-git @@ -3,10 +3,6 @@ # pull any pending changes from git repos ./pull-git -# upload changes to .pot -./update-po-template -(cd po && git add desktop; git commit -m update; git push) - # upload changes to ftl templates ./update-ftl-templates (cd ftl && git add core; git commit -m update; git push) diff --git a/qt/i18n/sync-po-git b/qt/i18n/sync-po-git new file mode 100755 index 000000000..55c778d9f --- /dev/null +++ b/qt/i18n/sync-po-git @@ -0,0 +1,8 @@ +#!/bin/bash + +# pull any pending changes from git repos +./pull-git + +# upload changes to .pot +./update-po-template +(cd po && git add desktop; git commit -m update; git push)