add some comments to card-template-rendering.ftl

This commit is contained in:
Damien Elmes 2020-02-17 09:06:54 +10:00
parent 6e3f1d2e26
commit 0217cff099

View File

@ -1,20 +1,39 @@
front-side-problem = Front template has a problem:
back-side-problem = Back template has a problem:
## Error messages
no-closing-brackets =
Missing '{$missing}' in '{$tag}'
conditional-not-closed =
Missing '{$missing}'
wrong-conditional-closed =
Found '{$found}', but expected '{$expected}'
conditional-not-open =
Found '{$found}', but missing '{$missing1}' or '{$missing2}'
no-such-field =
Found '{$found}', but there is no field called '{$field}'
### These messages are shown on the review screen, preview screen, and
### card template screen when the user has made a mistake in their card
### template, or the front of the card is empty.
# Label of link users can click on
more-info = More information
front-side-problem = Front template has a problem:
back-side-problem = Back template has a problem:
# when the user forgot to close a field reference,
# eg, Missing '}}' in '{{Field'
no-closing-brackets =
Missing '{$missing}' in '{$tag}'
# when the user opened a conditional, but forgot to close it
# eg, Missing '{{/Conditional}}'
conditional-not-closed =
Missing '{$missing}'
# when the user closed the wrong conditional
# eg, Found '{{/Something}}', but expected '{{/SomethingElse}}'
wrong-conditional-closed =
Found '{$found}', but expected '{$expected}'
# when the user closed a conditional that wasn't open
# eg, Found '{{/Something}}', but missing '{{#Something}}' or '{{^Something}}'
conditional-not-open =
Found '{$found}', but missing '{$missing1}' or '{$missing2}'
# when the user referenced a field that doesn't exist
# eg, Found '{{Field}}', but there is not field called 'Field'
no-such-field =
Found '{$found}', but there is no field called '{$field}'
# This message is shown when the front side of the card is blank,
# either due to a badly-designed template, or because required fields
# are missing.
empty-front = The front of this card is blank.