]> source.dussan.org Git - gitea.git/commitdiff
Fix wrong translations (#2818)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 1 Nov 2017 12:52:48 +0000 (20:52 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2017 12:52:48 +0000 (20:52 +0800)
* fix wrong translations

* fix tab on yml

.drone.yml

index f8dc0c9d25d6f6ca3bec39ac2027fb154e466234..5151c2a33641a370e26c9fc95c9e7d52efb8d2ad 100644 (file)
@@ -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