0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01:00

Add transifex config

Dieser Commit ist enthalten in:
Angus McLeod 2018-03-06 11:21:40 +08:00
Ursprung 4ab2cbb1ff
Commit f5ab7c65b4
2 geänderte Dateien mit 40 neuen und 0 gelöschten Zeilen

24
.travis.yml Normale Datei
Datei anzeigen

@ -0,0 +1,24 @@
# We want to use the KVM-based system, so require sudo
sudo: required
services:
- docker
before_install:
- plugin_name=${PWD##*/} && echo $plugin_name
script:
- >
docker run
-e "COMMIT_HASH=origin/tests-passed"
-e "SKIP_CORE=1"
-e SINGLE_PLUGIN=$plugin_name
-v $(pwd):/var/www/discourse/plugins/$plugin_name
discourse/discourse_test:release
after_success:
- pip install virtualenv
- virtualenv ~/env
- source ~/env/bin/activate
- pip install transifex-client
- sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc
- tx push -s

16
.tx/config Normale Datei
Datei anzeigen

@ -0,0 +1,16 @@
[main]
host = https://www.transifex.com
[discourse-custom-wizard.client-en-yml]
file_filter = config/locales/client.<lang>.yml
minimum_perc = 0
source_file = config/locales/client.en.yml
source_lang = en
type = YML
[discourse-custom-wizard.server-en-yml]
file_filter = config/locales/server.<lang>.yml
source_file = config/locales/server.en.yml
source_lang = en
type = YML