Damien Elmes
|
b02badb224
|
update multi-line _() references
|
2020-11-18 11:32:22 +10:00 |
|
Damien Elmes
|
b9544ad210
|
more ngettext references
|
2020-11-18 10:52:13 +10:00 |
|
Damien Elmes
|
686b640e11
|
update some qt ngettext references
|
2020-11-18 09:22:27 +10:00 |
|
Damien Elmes
|
bd0919b7f1
|
update pylib ngettext references
|
2020-11-18 09:12:25 +10:00 |
|
Damien Elmes
|
dac8daf113
|
begin plural string migration
|
2020-11-17 23:29:08 +10:00 |
|
Damien Elmes
|
bdd642a7a8
|
update designer references
|
2020-11-17 19:55:18 +10:00 |
|
Damien Elmes
|
1781e83252
|
merge pylib references
|
2020-11-17 19:23:06 +10:00 |
|
Damien Elmes
|
d2e97d8332
|
add script to rewrite py files
|
2020-11-17 17:39:48 +10:00 |
|
Damien Elmes
|
39fe93be1f
|
output strings into ftl files
|
2020-11-17 15:12:05 +10:00 |
|
Damien Elmes
|
83cbe0d412
|
map gettext strings to keys/modules for ftl conversion
|
2020-11-17 14:11:09 +10:00 |
|
Damien Elmes
|
c62e6e61c2
|
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
|
5ab4cbfd63
|
prep for i18n updates
Update scripts will be split into separate repo
|
2020-11-11 16:18:28 +10:00 |
|
Damien Elmes
|
d273f1b5b8
|
accept alternate strings file
|
2020-08-09 14:44:23 +10:00 |
|
Damien Elmes
|
d336ccd81a
|
catch duplicate keys
|
2020-08-04 11:52:19 +10:00 |
|
Damien Elmes
|
c1bff288b8
|
convert po string extraction to GUI app
|
2020-08-04 11:21:39 +10:00 |
|
Damien Elmes
|
67cde145b1
|
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
|
4fe92bfc6b
|
Add missing close file descriptors using context managers
|
2020-05-18 15:54:20 -03:00 |
|
Damien Elmes
|
70e404b517
|
update extract-po-string to handle plurals again
|
2020-05-12 21:13:34 +10:00 |
|
evandrocoan
|
be1904ba1d
|
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
|
526569693c
|
fix extract-po-string.py
|
2020-04-01 17:49:31 +10:00 |
|
evandrocoan
|
964cc1a11a
|
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
|
4fcecaed9f
|
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
|
c4e94ddc20
|
Fixed typecheck-setup.sh: sudo: command not found on Windows
|
2020-03-17 19:48:16 -03:00 |
|
Damien Elmes
|
7069123a76
|
copy ftl to source folder in extra-po-string as well
|
2020-03-12 19:53:52 +10:00 |
|
Damien Elmes
|
29f625b61e
|
add helper to duplicate a fluent string
|
2020-03-12 19:53:44 +10:00 |
|
Damien Elmes
|
7f9a3dad7e
|
no implicit {} in replacements
|
2020-03-12 18:02:40 +10:00 |
|
Damien Elmes
|
172cb966c5
|
add ability to use other path to translation json
|
2020-03-12 18:02:36 +10:00 |
|
Damien Elmes
|
6aafefbc0c
|
fix echo statement
|
2020-02-27 20:37:44 +10:00 |
|
Damien Elmes
|
1e03223320
|
dump po data into json to speed up invocations
|
2020-02-27 20:37:24 +10:00 |
|
Damien Elmes
|
5f7046e841
|
strip whitespace in extracted strings
|
2020-02-27 17:38:02 +10:00 |
|
Damien Elmes
|
56d902b669
|
fix extract-po-string path
|
2020-02-27 17:37:40 +10:00 |
|
evandrocoan
|
4a2456f62f
|
Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
# Makefile
|
2020-02-27 00:20:34 -03:00 |
|
Damien Elmes
|
b276e6f9ac
|
fix push-i18n
|
2020-02-26 18:09:06 +10:00 |
|
Damien Elmes
|
7d691d7571
|
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 |
|