anki/ftl/core
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
..
actions.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
adding.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
browsing.ftl update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
card-stats.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
card-template-rendering.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
card-templates.ftl update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
custom-study.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
database-check.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
deck-config.ftl avoid using literal 1 in English translations 2020-12-18 10:14:19 +10:00
decks.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
editing.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
empty-cards.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
exporting.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
fields.ftl Reject field name with : { or } 2020-12-28 07:33:26 +01:00
filtering.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
findreplace.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
importing.ftl update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
media-check.ftl avoid using literal 1 in English translations 2020-12-18 10:14:19 +10:00
media.ftl remove format separator from recording string 2020-12-16 19:44:47 +10:00
network.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
notetypes.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
preferences.ftl add video driver enum; allow setting angle+software on mac in prefs 2020-12-22 13:01:06 +10:00
profiles.ftl Set up default language before loading profile 2020-11-21 05:29:23 +03:00
scheduling.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
search.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
statistics.ftl avoid using literal 1 in English translations 2020-12-18 10:14:19 +10:00
studying.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
sync.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00