RumovZ
91d56a9b91
Add translatable search error strings
2021-01-15 09:10:19 +01:00
abdo
e018ea94b6
Merge branch 'master' of https://github.com/ankitects/anki into tagtree
2021-01-15 01:12:01 +03:00
RumovZ
8f754e1525
Add FailKinds for unopened/unclosed groups
2021-01-14 19:09:31 +01:00
RumovZ
0b73110f82
Make AnkiError::SearchError work with ParseError
...
Use mock ftl strings for now.
2021-01-14 11:14:55 +01:00
Damien Elmes
aad37c94fd
update translations
2021-01-14 10:16:22 +10:00
abdo
b276ce3dd5
Hierarchical tags
2021-01-09 17:10:13 +03:00
Damien Elmes
ddee091d9d
remove spaces around '/'
2021-01-07 19:40:01 +10:00
Henrik Giesel
ee94c7eb93
Add label for SeparateInactiveCheckbox in ftl file
2021-01-05 19:13:57 +01:00
Damien Elmes
86b90c4813
Merge pull request #886 from BlueGreenMagick/browser-sidebar-rename-tag
...
add rename_tag to browser sidebar contextmenu
2021-01-04 13:43:04 +10:00
Damien Elmes
da5c565334
fix ftl formatting
2021-01-04 13:27:35 +10:00
Damien Elmes
ffd59a03c0
show what's wrong when bad formatting found in ftl
2021-01-04 13:27:12 +10:00
Damien Elmes
bef1fabd74
catch references to missing terms in ftl check
...
https://github.com/ankitects/anki/pull/889
- We can't use compare_locales's getChecker(), as it seems to
be focused on checking translations rather than the original
templates.
- Also fix return code not being passed on in check_files()
- Temporarily pin pip-tools, as its output format has changed
2021-01-04 13:19:17 +10:00
abdo
7bd3137425
Escape literal curly braces in Fluent
2021-01-04 00:31:58 +03:00
BlueGreenMagick
46346d01a0
add rename_tag to browser sidebar contextmenu
2021-01-03 16:36:54 +09:00
Arthur Milchior
89ffbe0fbb
Reject field name with : { or }
...
More than {{ is acceptable to start a tag, which means that `{{{Foo}}` won't be interpreted as "the content of `Foo`"
and should be rejected. For the sake of clarity and parsing, I suspect that those symbol should be rejected elsewhere
too.
Similary `{{Foo}}}` won't be interpreted as "Show the content of field `Foo}`" even if this field exists, so it's better
to reject `}`. It's clearly necessary to reject "}}" inside the field name, rejecting "}" seems easier to explain and
avoid future unexpected problem if the templates change.
The ":" are used to separate filters, and rejecting it in field name would ensure that there is no ambiguity.
2020-12-28 07:33:26 +01:00
Arthur Milchior
af6cb6612e
Rejects field names starting with #, ^ and /
2020-12-28 06:23:49 +01:00
Damien Elmes
5dd0eaf0a2
update translations; use http_archive
2020-12-23 21:28:07 +10:00
Damien Elmes
0a633160c5
add video driver enum; allow setting angle+software on mac in prefs
2020-12-22 13:01:06 +10:00
Damien Elmes
9d17d43124
avoid using literal 1 in English translations
...
It confuses translators:
https://forums.ankiweb.net/t/bug-in-review-intervals-for-some-languages-in-number-of-cards/5744/8
2020-12-18 10:14:19 +10:00
Damien Elmes
a9614a3971
remove format separator from recording string
2020-12-16 19:44:47 +10:00
Damien Elmes
4adf6c62e0
tweak graphs search error msg
2020-12-15 20:40:58 +10:00
Damien Elmes
0c08ff5317
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
8056ff0014
fluent-syntax depends on six
2020-11-22 16:20:42 +10:00
Damien Elmes
d85d0b88a1
Merge branch 'master' into init-lang
2020-11-22 16:10:49 +10:00
Damien Elmes
1e8e4ee603
move other i18n scripts to ftl/
2020-11-22 15:41:14 +10:00
Damien Elmes
52617511b0
automatically format/check ftl files
2020-11-22 15:30:59 +10:00
Damien Elmes
0b848eae56
update remaining python format strings to Fluent
2020-11-22 14:57:53 +10:00
abdo
7d7745fbb5
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
fcb3283a9d
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