[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
Frans de Jonge 5 years ago
parent b24de3a4d8
commit 6f61c73853

3
.gitignore vendored

@ -31,9 +31,6 @@ luacov.stats.out
trace-out.txt
koreader-*
l10n/*
!l10n/Makefile
!l10n/README.md
i18n
/.cproject

3
.gitmodules vendored

@ -15,3 +15,6 @@
path = resources/fonts
url = https://github.com/koreader/koreader-fonts.git
shallow = true
[submodule "l10n"]
path = l10n
url = https://github.com/koreader/koreader-translations.git

@ -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…
Cancel
Save