aboutsummaryrefslogtreecommitdiffstats
path: root/crowdin/update
diff options
context:
space:
mode:
Diffstat (limited to 'crowdin/update')
-rwxr-xr-xcrowdin/update5
1 files changed, 3 insertions, 2 deletions
diff --git a/crowdin/update b/crowdin/update
index 560ca8a..0546f97 100755
--- a/crowdin/update
+++ b/crowdin/update
@@ -20,8 +20,9 @@ update_file() {
. "`dirname $0`/globals"
-_do git checkout master || die "git checkout master failed."
-_do git pull upstream master || die "git pull upstream master failed."
+echo You must be on an up-to-date master branch to execute this script.
+echo You have 5 seconds to abort with ctrl-c if this is not the case.
+sleep 5
update_file main/res/values/strings.xml /cgeo/strings.xml
update_file cgeo-calendar/res/values/strings.xml /cgeo-calendar/strings.xml