1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 03:28:20 +00:00

Filter locales under 25% (#9893)

* Create update-locales.sh

* Update .drone.yml

* fix file perms +x
This commit is contained in:
Antoine GIRARD
2020-01-21 17:26:17 +01:00
committed by GitHub
parent 8cb9b2f016
commit 99aad09bd0
2 changed files with 19 additions and 4 deletions

View File

@@ -317,10 +317,7 @@ steps:
pull: default
image: alpine:3.11
commands:
- mv ./options/locale/locale_en-US.ini ./options/
- "sed -i -e 's/=\"/=/g' -e 's/\"$$//g' ./options/locale/*.ini"
- "sed -i -e 's/\\\\\\\\\"/\"/g' ./options/locale/*.ini"
- mv ./options/locale_en-US.ini ./options/locale/
- ./scripts/update-locales.sh
- name: push
pull: always