Damien Elmes
|
8d4df820cc
|
update i18n scripts
- export updated .po files for consumption
- add a script to pull and push translations
|
2020-11-11 21:08:06 +10:00 |
|
Damien Elmes
|
c4f28a0a17
|
prep for i18n updates
Update scripts will be split into separate repo
|
2020-11-11 16:18:28 +10:00 |
|
Damien Elmes
|
dd2edee3b3
|
accept alternate strings file
|
2020-08-09 14:44:23 +10:00 |
|
Damien Elmes
|
8d6af167cc
|
catch duplicate keys
|
2020-08-04 11:52:19 +10:00 |
|
Damien Elmes
|
97bf4da6e8
|
convert po string extraction to GUI app
|
2020-08-04 11:21:39 +10:00 |
|
Damien Elmes
|
dfda5750a1
|
add new strings to .po files as part of template update
Pontoon appears to only update existing gettext translations; it
won't add new ones on its own. Fixes
https://forums.ankiweb.net/t/anki-2-1-28-beta/629/6
|
2020-07-02 10:03:39 +10:00 |
|
evandrocoan
|
efb62b9528
|
Add missing close file descriptors using context managers
|
2020-05-18 15:54:20 -03:00 |
|
Damien Elmes
|
29379a9a50
|
update extract-po-string to handle plurals again
|
2020-05-12 21:13:34 +10:00 |
|
evandrocoan
|
06056236c0
|
Fixed build-mo-files not failing the build when msgmerge
is not found:
https://github.com/ankitects/anki/runs/617116053?check_suite_focus=true#step:27:1244
The build was not falling because when you do `(commands)` in a
shell script, the `set -e` directive is not inherited. Then, either
do not start a new shell or just use an if to test the error condition.
|
2020-04-25 05:17:24 -03:00 |
|
Damien Elmes
|
5392bd8e28
|
fix extract-po-string.py
|
2020-04-01 17:49:31 +10:00 |
|
evandrocoan
|
721453f923
|
Merge remote-tracking branch 'danielelmes/master' into create_actions_for_windows_macos
# Conflicts:
# .github/scripts/trailing-newlines.sh
# .github/workflows/checks.yml
# Makefile
# pylib/Makefile
# qt/Makefile
# qt/tools/typecheck-setup.sh
# rspy/Makefile
|
2020-03-24 22:49:49 -03:00 |
|
evandrocoan
|
20c9837770
|
Created the .github/workflows/windows.yml
# Conflicts:
# .github/scripts/trailing-newlines.sh
# Makefile
# qt/tools/typecheck-setup.sh
# react/Makefile
# rspy/Makefile
# svelte/Makefile
# tslib/Makefile
|
2020-03-23 19:51:03 -03:00 |
|
evandrocoan
|
51823bf1ff
|
Fixed typecheck-setup.sh: sudo: command not found on Windows
|
2020-03-17 19:48:16 -03:00 |
|
Damien Elmes
|
6514f18e3a
|
copy ftl to source folder in extra-po-string as well
|
2020-03-12 19:53:52 +10:00 |
|
Damien Elmes
|
d457ab0b17
|
add helper to duplicate a fluent string
|
2020-03-12 19:53:44 +10:00 |
|
Damien Elmes
|
72bfedbed8
|
no implicit {} in replacements
|
2020-03-12 18:02:40 +10:00 |
|
Damien Elmes
|
1b7417595e
|
add ability to use other path to translation json
|
2020-03-12 18:02:36 +10:00 |
|
Damien Elmes
|
493d9899e2
|
fix echo statement
|
2020-02-27 20:37:44 +10:00 |
|
Damien Elmes
|
57f9ca787b
|
dump po data into json to speed up invocations
|
2020-02-27 20:37:24 +10:00 |
|
Damien Elmes
|
f4d38f579d
|
strip whitespace in extracted strings
|
2020-02-27 17:38:02 +10:00 |
|
Damien Elmes
|
da86c27d05
|
fix extract-po-string path
|
2020-02-27 17:37:40 +10:00 |
|
evandrocoan
|
dc049ce26a
|
Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
# Makefile
|
2020-02-27 00:20:34 -03:00 |
|
Damien Elmes
|
4983eb8e3d
|
fix push-i18n
|
2020-02-26 18:09:06 +10:00 |
|
Damien Elmes
|
46fadc2a82
|
don't abort build if mo file fails; rename files for consistency
Issues are now checked for in CI, so there's no need to break the
build for everyone each time there's a problem with the gettext
catalogs.
|
2020-02-26 17:47:02 +10:00 |
|