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
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
RumovZ
add3fea6c3
Make - escapable
...
Treat unescaped - as before but make it escapable with \ to distinguish
the literal from the negator.
2020-11-17 18:38:27 +01:00
RumovZ
96845421d8
Fix RE in to_custom_re of text.rs
...
Match every single (potentially escaped) character of the string, so
they can be escaped properly.
2020-11-17 15:39:54 +01: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
RumovZ
64bf14f1e9
Split unescaping between parser and writer
...
* Unescape wildcards in writer instead of parser.
* Move text conversion functions to text.rs.
* Implicitly norm when converting text.
* Revert to using collection when comparing tags but add escape support.
2020-11-17 12:49:37 +01: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