Commit graph

5466 commits

Author SHA1 Message Date
Damien Elmes
00f827f976 fix duplicate search not checking first field
Thanks to abdo for the initial solution. Closes #838
2020-11-30 09:27:10 +10:00
Damien Elmes
892d349181 update about
https://forums.ankiweb.net/t/may-i-trouble-you-to-add-my-name-on-the-about-page/5433/2
2020-11-29 12:00:16 +10:00
Damien Elmes
e729317730 Merge pull request #837 from RumovZ/remove-r
Revert implementation of `r:` prefix
2020-11-28 14:22:23 +10:00
RumovZ
6c3c617b64 Comment fix 2020-11-27 22:12:36 +01:00
RumovZ
59bbbd53b8 Revert implementation of r: prefix 2020-11-27 22:10:37 +01:00
Damien Elmes
a8b2e7c0ce Merge pull request #836 from abdnh/fix-profiler
Fix UnboundLocalError in profiler code
2020-11-25 19:29:58 +10:00
Damien Elmes
9d0d82aaad update translations 2020-11-25 19:07:21 +10:00
abdo
a313ec2fe7 Fix UnboundLocalError in profiler code 2020-11-25 04:54:41 +03:00
Damien Elmes
775dae874d fix new Clippy lints 2020-11-25 09:12:19 +10:00
Damien Elmes
f4470f7a9e update Rust version 2020-11-25 09:02:49 +10:00
Damien Elmes
984e653e52 --no-times made running on macOS slower 2020-11-24 21:41:09 +10:00
Damien Elmes
8da6d57dc9 clean up GHA workflow
wheel uploading to pypi will be handled separately for future releases
2020-11-24 21:00:38 +10:00
Damien Elmes
29b3ee13e8 fix clippy lints 2020-11-24 20:13:05 +10:00
Damien Elmes
dc810c7339 manual tag on rslib was preventing clippy lints 2020-11-24 20:10:16 +10:00
Damien Elmes
4c7c78a2f1 fix compilation of rslib outside Bazel
fixes code completion
2020-11-24 18:51:19 +10:00
Damien Elmes
2f9ddadf2c switch to workspace for Rust code 2020-11-24 18:41:03 +10:00
Damien Elmes
ed82c04b4e update rust deps 2020-11-24 16:57:37 +10:00
Damien Elmes
6c14390790 use maybe in repo defs 2020-11-24 16:42:10 +10:00
Damien Elmes
0b728f94d8 update rules_rust 2020-11-24 16:37:30 +10:00
Damien Elmes
46b9948f31 update translations 2020-11-22 16:26:27 +10:00
Damien Elmes
5c853a544d Merge pull request #835 from abdnh/init-lang
Set up default language before loading profile
2020-11-22 16:25:44 +10:00
Damien Elmes
7ab43d64e3 fluent-syntax depends on six 2020-11-22 16:20:42 +10:00
Damien Elmes
6a1cf40dcd Merge branch 'master' into init-lang 2020-11-22 16:10:49 +10:00
Damien Elmes
8e531945ab Merge pull request #834 from RumovZ/update-re-func
Replace text_to_re with to_re
2020-11-22 16:02:05 +10:00
Damien Elmes
082845553a update translations 2020-11-22 16:00:25 +10:00
Damien Elmes
21e6e2d15c move other i18n scripts to ftl/ 2020-11-22 15:41:14 +10:00
Damien Elmes
8389276bed automatically format/check ftl files 2020-11-22 15:30:59 +10:00
Damien Elmes
68311500b3 update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
Damien Elmes
ac9cc87a60 update translations
update translations
2020-11-22 14:36:51 +10:00
abdo
d06a9137b6 Set up default language before loading profile
We can make more strings translatable this way.
2020-11-21 05:29:23 +03:00
Damien Elmes
0dee358839 remove make dependency in packaged Linux build 2020-11-20 19:33:40 +10:00
RumovZ
2cf97dc554 Add tests for conversion functions in text.rs 2020-11-20 09:45:53 +01:00
RumovZ
ab2cf9f457 Replace text.rs/text_to_re with text.rs/to_re 2020-11-20 09:23:25 +01:00
Damien Elmes
4043bd90bb Merge pull request #823 from RumovZ/rework-search-parser
Rework search parser
2020-11-20 16:22:12 +10:00
Damien Elmes
89491b8c12 Merge pull request #833 from abdnh/setdeflang-fix
Initialize translation system to default language on first run
2020-11-20 16:11:13 +10:00
Damien Elmes
84c3587bb2 Merge pull request #832 from abdnh/fix-exporter-desc
Fix description of exporters
2020-11-20 16:10:43 +10:00
abdo
97cead2bda Initialize translation system to default language on first run
The setlang screen was trying to use the translation system before
we initialize it.
2020-11-20 06:18:51 +03:00
abdo
702c5712e4 Fix description of exporters
Description broke yet again with the full migration to Fluent
2020-11-19 23:52:46 +03:00
RumovZ
4e7a31250f Add Python test for tag whitespace
Assert tag matches do not occur across different tags.
2020-11-19 09:28:19 +01:00
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
RumovZ
a6fe08f662 Revert changes to normalisation handling
Handle norm calls individually in write_search_node_to_sql again.
2020-11-18 23:46:27 +01:00
RumovZ
6290e09b89 Implement the prefix r: to search for raw input 2020-11-18 22:26:51 +01: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
RumovZ
65b6552f88 Remove space for contributors check... again? 2020-11-18 09:25:35 +01:00
RumovZ
f05e70a03e Merge branch 'master' into rework-search-parser
Conflicts:
    rslib/src/search/sqlwriter.rs
2020-11-18 09:04:04 +01: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