mirror of https://github.com/koreader/koreader
[chore] Add translations to submodule (#5506)
Apparently Weblate needs the translations in the repo before it can be set up. References <https://github.com/koreader/koreader/issues/3754>. Also see <https://github.com/koreader/koreader/issues/2040#issuecomment-485154051>.pull/5507/head
parent
b24de3a4d8
commit
6f61c73853
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 1afc501b1191985e3f1203dab14cbf4d0815f691
|
@ -1,9 +0,0 @@
|
|||||||
[main]
|
|
||||||
host = https://www.transifex.com
|
|
||||||
|
|
||||||
[koreader.koreader]
|
|
||||||
file_filter = <lang>/koreader.po
|
|
||||||
source_file = templates/koreader.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
all: bootstrap push pull
|
|
||||||
|
|
||||||
bootstrap:
|
|
||||||
tx set --auto-local -r koreader.koreader "<lang>/koreader.po" \
|
|
||||||
--source-language=en \
|
|
||||||
--source-file "templates/koreader.pot" --execute
|
|
||||||
|
|
||||||
pull:
|
|
||||||
tx pull -a -f
|
|
||||||
|
|
||||||
push:
|
|
||||||
tx push -sl en
|
|
||||||
|
|
||||||
.PHONY: all clean
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
# How to sync this folder with transifex
|
|
||||||
|
|
||||||
1. Install the transifex client. For example, on Debian or Ubuntu: `sudo apt install transifex-client`.
|
|
||||||
|
|
||||||
2. Configure the client:
|
|
||||||
https://docs.transifex.com/client/client-configuration
|
|
||||||
|
|
||||||
3. Pull the changes from transifex: `make pull`
|
|
Loading…
Reference in New Issue