Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
RainLoop committed Mar 6, 2018
1 parent c7cd537 commit 9dc3c97
Show file tree
Hide file tree
Showing 9 changed files with 853 additions and 95 deletions.
5 changes: 5 additions & 0 deletions .docker/tx/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:3.6-alpine

RUN pip install transifex-client

CMD ["tx", "--version"]
5 changes: 3 additions & 2 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[main]
host = https://www.transifex.com
type = YAML
minimum_perc = 60
type = YAML

[rainloop-webmail.rainloop-webmail]
file_filter = rainloop/v/0.0.0/app/localization/webmail/<lang>.yml
Expand All @@ -11,4 +11,5 @@ source_lang = en
[rainloop-webmail.rainloop-admin]
file_filter = rainloop/v/0.0.0/app/localization/admin/<lang>.yml
source_file = rainloop/v/0.0.0/app/localization/admin/_source.en.yml
source_lang = en
source_lang = en

9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ restart:
status:
@docker-compose ps

tx:
@docker-compose run --no-deps --rm tx tx pull -a

console-node:
@docker-compose run --no-deps --rm node sh
console-tx:
@docker-compose run --no-deps --rm tx sh
console-php:
@docker-compose exec php sh
console:
Expand All @@ -40,7 +45,11 @@ logs-nginx:
@docker-compose logs --tail=100 -f nginx
logs-mail:
@docker-compose logs --tail=100 -f mail
logs-tx:
@docker-compose logs --tail=100 -f tx

rl-dev:
@docker-compose run --no-deps --rm node gulp build
rl-build:
@docker-compose run --no-deps --rm node gulp all
rl-build-pro:
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ services:
- ./:/var/www
- ./.docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./.docker/.cache/nginx/tmp:/tmp
tx:
build:
context: ./.docker/tx
hostname: tx
container_name: rl.tx
working_dir: /var/www
command: sh -c 'tx --version'
volumes:
- ./:/var/www
- ./.docker/.cache/tx/root:/root
- ./.docker/.cache/tx/tmp:/tmp

volumes:
mysql:
Expand Down
3 changes: 2 additions & 1 deletion rainloop/v/0.0.0/app/localization/langs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Common:
LANG_CS_CZ: Čeština
LANG_AR_SA: ‏العربية‏
LANG_DA_DK: Dansk
LANG_ID_ID: Bahasa Indonesia

LANGS_NAMES_EN:
LANG_EN: English
Expand Down Expand Up @@ -87,4 +88,4 @@ Common:
LANG_CS_CZ: Czech
LANG_AR_SA: Arabic
LANG_DA_DK: Danish

LANG_ID_ID: Indonesian
Loading

0 comments on commit 9dc3c97

Please sign in to comment.