Damien Elmes
829cdaebdd
add script to extract FTL strings
2020-11-19 11:26:09 +10:00
Damien Elmes
4f2fb3cbb3
Merge pull request #830 from abdnh/fix-titles
...
Strip isolation characters from more strings
2020-11-19 08:49:23 +10:00
Damien Elmes
717969862b
mark created deck parents as modified
...
Thanks to cecini for the original report. Closes #831 :
https://github.com/ankitects/anki/pull/831
2020-11-19 08:48:43 +10:00
abdo
caade20ad4
Strip isolation characters from more strings
2020-11-18 18:03:04 +03:00
Damien Elmes
679a4573aa
quieten MathJax
2020-11-18 21:34:44 +10:00
Damien Elmes
2f1d5cd38b
move ftl into top level ftl/ folder; make it source of truth for aqt
...
This avoids the need to modify the external repo before new strings
can be used in aqt.
2020-11-18 16:20:58 +10:00
Damien Elmes
e271c63537
remove print statement from unit tests
2020-11-18 13:56:44 +10:00
Damien Elmes
072b626535
formatting fix
2020-11-18 13:48:23 +10:00
Damien Elmes
439d39bbdf
update translations
2020-11-18 13:46:31 +10:00
Damien Elmes
aedc733724
update synci18n.py
2020-11-18 13:43:25 +10:00
Damien Elmes
d1a23fd65a
fix browser updateTitle()
2020-11-18 13:40:21 +10:00
Damien Elmes
ebd1236ab0
strip out unused gettext refs
2020-11-18 13:22:51 +10:00
Damien Elmes
cafd46f796
update translations
...
update translations
2020-11-18 12:53:19 +10:00
Damien Elmes
7e655614b2
fix remaining _() references; remove unused imports
2020-11-18 12:43:46 +10:00
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
346ec6880e
drop i18n references in old stats
2020-11-18 09:12:03 +10:00
Damien Elmes
dac8daf113
begin plural string migration
2020-11-17 23:29:08 +10:00
Damien Elmes
2feddb3d70
update temporary val="%s" references to standard ftl
2020-11-17 22:00:44 +10:00
Damien Elmes
8b11c2c451
update translations
...
add qt ftl strings from external repo
2020-11-17 20:11:06 +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
767933e2f5
fix the preview shortcut references
2020-11-17 17:51:57 +10:00
Damien Elmes
066b1498ae
merge bulk of qt/ - designer files still to do
2020-11-17 17:42:43 +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
5b2fb7826e
update translations
2020-11-17 09:56:25 +10:00
Damien Elmes
f4d424788e
Merge pull request #825 from hgiesel/mathjax3plus2
...
Switch from jQuery pre 3.0.0 pseudo promises to ES6 promises for ts hooks
2020-11-16 11:44:21 +10:00
Damien Elmes
e92848e0c2
Merge pull request #826 from abdnh/write-dupes-fix
...
Make dupe search operate on non-stripped text
2020-11-16 11:43:33 +10:00
abdo
35bfd20240
Make dupe search operate on non-stripped text
...
See https://github.com/ankitects/anki/pull/822/
2020-11-16 04:01:04 +03:00
Henrik Giesel
0d94016193
Switch from jQuery pre 3.0.0 pseudo promises to ES6 promises
2020-11-16 01:09:59 +01:00
Damien Elmes
30a096fc3c
Merge pull request #824 from hgiesel/mathjax3plus
...
Improvements to MathJax and ts hooks
2020-11-16 09:19:23 +10:00
Henrik Giesel
35b82bcd72
Satisfy formatter
2020-11-15 21:40:59 +01:00
Henrik Giesel
f498ae88dc
Improve ts hooks to allow for asynchronous actions
...
* reviewer ts hooks may now return a promise, which are then waited upon with Promise.all
* this does not break old ts hooks, as Promise.all allows for non-Promises in its array
2020-11-15 21:16:06 +01:00
Henrik Giesel
d18653cf16
Include default MathJax packages
...
* by default load all the default tex-chtml packages, which additionally include:
* require: using \require{package-name} to load a package
* autoload: using a command from a different package automatically loads it
* configmacros: allows for definition of predefined macros
2020-11-15 20:56:50 +01:00
Henrik Giesel
cc2ba7d07f
Load require package in Mathjax
2020-11-15 13:58:51 +01:00
Damien Elmes
7f040cad0d
Merge branch 'mathjax3'
2020-11-15 20:24:50 +10:00
Damien Elmes
896a1e44b1
add rule to copy mathjax from node_modules
2020-11-15 20:22:28 +10:00
Damien Elmes
da58bbaaa3
ignore incorrect clock in dev mode
2020-11-15 18:29:16 +10:00
Damien Elmes
05725ab560
use ring on Linux; native-tls on other platforms
...
Python wheels on Linux require statically linked SSL libraries.
We were previously relying on the native-tls-vendored feature in
reqwest, but that does not work with Bazel, as openssl-src makes
assumptions that break when sandboxed. The static libs distributed
by distros like Ubuntu fail to link, and while we could potentially
build OpenSSL ourselves, we'd then need to keep it up to
date.
On Windows and Mac however, native-tls is preferable to ring, as it
allows us to get free updates from the OS, and results in
a smaller library.
Rust currently only supports platform-specific features in nightly,
and cargo-raze does not have support for them, so we currently need
to override the generated build file with a hand-crafted one that
specifies the relative features/deps for each platform.
update.py has been updated to automatically keep the version numbers
in this file up to date, so it should hopefully not prove too hard to
maintain going forward.
2020-11-15 15:25:28 +10:00
Damien Elmes
fd4c1edc7f
add native-tls in preparation for Linux-only ring
2020-11-15 14:02:53 +10:00
Damien Elmes
702c4b29f9
update Rust deps
2020-11-15 13:31:24 +10:00
Henrik Giesel
d82d7bc95b
Add Mathjax filegroup
2020-11-14 14:14:25 +01:00
Henrik Giesel
06bd0376b1
Remove @types/mathjax as it is for MathJax 2
2020-11-14 14:14:25 +01:00
Henrik Giesel
3ec4b0da3a
Add moving MathJax3 into mathjax directory to build process
2020-11-14 14:14:25 +01:00
Henrik Giesel
6a29e0cd4d
Rip out MathJax 2 and setup MathJax 3 environment
2020-11-14 14:14:25 +01:00
Henrik Giesel
839e6652dd
Update MathJax2 config to MathJax3 config
...
Used: https://mathjax.github.io/MathJax-demos-web/convert-configuration/convert-configuration.html
2020-11-14 14:14:25 +01:00