summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-11-01 20:52:48 +0800
committerGitHub <noreply@github.com>2017-11-01 20:52:48 +0800
commitde9915023d7de1f9dec40e48c7256774089c2a47 (patch)
tree218feecda461cf79357c9451cea18a1ac3b88621 /.drone.yml
parent6f84569629c29c747ca69d00fbcd2beea492ffd0 (diff)
downloadgitea-de9915023d7de1f9dec40e48c7256774089c2a47.tar.gz
gitea-de9915023d7de1f9dec40e48c7256774089c2a47.zip
Fix wrong translations (#2818)
* fix wrong translations * fix tab on yml
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index f8dc0c9d25..5151c2a336 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -21,6 +21,15 @@ pipeline:
event: [ push ]
branch: [ master ]
+ update-translations:
+ image: alpine:3.6
+ commands:
+ - sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
+ - sed -i -e 's/\\"/"/g' ./options/locale/*.ini
+ when:
+ event: [ push ]
+ branch: [ master ]
+
git_push:
image: appleboy/drone-git-push
pull: true