Fix HTML formatting for search errors
This commit is contained in:
parent
91d56a9b91
commit
105fa555f2
@ -1,91 +1,33 @@
|
||||
## Errors shown when invalid search input is encountered.
|
||||
## Strong text is literal search input and should not to be translated.
|
||||
## Text wrapped in code tags is literal search input and should generally not to be altered.
|
||||
|
||||
search-invalid = Invalid search - please check for typing mistakes.
|
||||
search-misplaced-and =
|
||||
Invalid search:
|
||||
An <strong>and</strong> was found but it is not connecting two search terms.
|
||||
If you want to search for the word itself, wrap it in double quotes: <strong>"and"</strong>.
|
||||
search-misplaced-or =
|
||||
Invalid search:
|
||||
An <strong>or</strong> was found but it is not connecting two search terms.
|
||||
If you want to search for the word itself, wrap it in double quotes: <strong>"or"</strong>.
|
||||
search-empty-group =
|
||||
Invalid search:
|
||||
A group <strong>(...)</strong> was found but there was nothing between the brackets to search for.
|
||||
If you want to search for literal brackets, wrap them in double quotes: <strong>"( )"</strong>.
|
||||
search-unopened-group =
|
||||
Invalid search:
|
||||
A closing bracket <strong>)</strong> was found, but there was no opening bracket <strong>(</strong> preceding it.
|
||||
If you want to search for the literal <strong>)</strong>, wrap it in double quotes or prepend a backslash: <strong>")"</strong> or <strong>\)</strong>.
|
||||
search-unclosed-group =
|
||||
Invalid search:
|
||||
An opening bracket <strong>(</strong> was found, but there was no closing bracket <strong>)</strong> following it.
|
||||
If you want to search for the literal <strong>(</strong>, wrap it in double quotes or prepend a backslash: <strong>"("</strong> or <strong>\(</strong> .
|
||||
search-empty-quote =
|
||||
Invalid search:
|
||||
A pair of double quotes <strong>""</strong> was found but there was nothing between them to search for.
|
||||
If you want to search for literal double quotes, prepend backslashes: <strong>\"\"</strong>.
|
||||
search-unclosed-quote =
|
||||
Invalid search:
|
||||
An opening double quote <strong>"</strong> was found but there was no second one to close it.
|
||||
If you want to search for the literal <strong>"</strong>, prepend a backslash: <strong>\"</strong>.
|
||||
search-missing-key =
|
||||
Invalid search:
|
||||
A colon <strong>:</strong> was found but there was no key word preceding it.
|
||||
If you want to search for the literal <strong>:</strong>, prepend a backslash: <strong>\:</strong>.
|
||||
search-unknown-escape =
|
||||
Invalid search:
|
||||
The escape sequence <strong>{ $val }</strong> is not defined.
|
||||
If you want to search for the literal backslash <strong>\</strong>, prepend another one: <strong>\\</strong>.
|
||||
search-invalid-id-list =
|
||||
Invalid search:
|
||||
Note or card id lists must be comma-separated number series.
|
||||
search-invalid-state =
|
||||
Invalid search:
|
||||
<strong>is:</strong> must be followed by one of the predefined card states: <strong>new</strong>, <strong>review</strong>, <strong>learn</strong>, <strong>due</strong>, <strong>buried</strong>, <strong>buried-manually</strong>, <strong>buried-sibling</strong> or <strong>suspended</strong>.
|
||||
search-invalid-flag =
|
||||
Invalid search:
|
||||
<strong>flag:</strong> must be followed by a valid flag number: <strong>1</strong> (red), <strong>2</strong> (orange), <strong>3</strong> (green), <strong>4</strong> (blue) or <strong>0</strong> (no flag).
|
||||
search-invalid-added =
|
||||
Invalid search:
|
||||
<strong>added:</strong> must be followed by a positive number of days.
|
||||
search-invalid-edited =
|
||||
Invalid search:
|
||||
<strong>edited:</strong> must be followed by a positive number of days.
|
||||
search-invalid-rated-days =
|
||||
Invalid search:
|
||||
<strong>rated:</strong> must be followed by a positive number of days.
|
||||
search-invalid-rated-ease =
|
||||
Invalid search:
|
||||
<strong>rated:{ $val }:</strong> must be followed by <strong>0</strong> (rescheduled), <strong>1</strong> (again), <strong>2</strong> (hard), <strong>3</strong> (good) or <strong>4</strong> (easy).
|
||||
search-invalid-dupe-mid =
|
||||
Invalid search:
|
||||
<strong>dupe:</strong> must be followed by a note type id, a comma and then arbitrary text.
|
||||
search-invalid-dupe-text =
|
||||
Invalid search:
|
||||
<strong>dupe:</strong> must be followed by a note type id, a comma and then arbitrary text.
|
||||
search-invalid-prop-property =
|
||||
Invalid search:
|
||||
<strong>prop:</strong> must be followed by one of the predefined card properties: <strong>ivl</strong> (interval), <strong>due</strong>, <strong>reps</strong> (repetitions), <strong>lapses</strong>, <strong>ease</strong> or <strong>pos</strong> (position).
|
||||
search-invalid-prop-operator =
|
||||
Invalid search:
|
||||
<strong>prop:{ $val }</strong> must be followed by one of the comparison operators: <strong>=</strong>, <strong>!=</strong>, <strong><</strong>, <strong>></strong>, <strong><=</strong> or <strong>>=</strong>.
|
||||
search-invalid-prop-float =
|
||||
Invalid search:
|
||||
<strong>prop:{ $val }</strong> must be followed by a decimal number.
|
||||
search-invalid-prop-integer =
|
||||
Invalid search:
|
||||
<strong>prop:{ $val }</strong> must be followed by a whole number.
|
||||
search-invalid-prop-unsigned =
|
||||
Invalid search:
|
||||
<strong>prop:{ $val }</strong> must be followed by a non-negative whole number.
|
||||
search-invalid-did =
|
||||
Invalid search:
|
||||
<strong>did:</strong> must be followed by a valid deck id.
|
||||
search-invalid-mid =
|
||||
Invalid search:
|
||||
<strong>mid:</strong> must be followed by a note type deck id.
|
||||
search-misplaced-and = Invalid search:<br>An <code>and</code> was found but it is not connecting two search terms.<br>If you want to search for the word itself, wrap it in double quotes: <code>"and"</code>.
|
||||
search-misplaced-or = Invalid search:<br>An <code>or</code> was found but it is not connecting two search terms.<br>If you want to search for the word itself, wrap it in double quotes: <code>"or"</code>.
|
||||
# Here, the ellipsis "..." may be localised.
|
||||
search-empty-group = Invalid search:<br>A group <code>(...)</code> was found but there was nothing between the brackets to search for.<br>If you want to search for literal brackets, wrap them in double quotes: <code>"( )"</code>.
|
||||
search-unopened-group = Invalid search:<br>A closing bracket <code>)</code> was found, but there was no opening bracket <code>(</code> preceding it.<br>If you want to search for the literal <code>)</code>, wrap it in double quotes or prepend a backslash: <code>")"</code> or <code>\)</code>.
|
||||
search-unclosed-group = Invalid search:<br>An opening bracket <code>(</code> was found, but there was no closing bracket <code>)</code> following it.<br>If you want to search for the literal <code>(</code>, wrap it in double quotes or prepend a backslash: <code>"("</code> or <code>\(</code> .
|
||||
search-empty-quote = Invalid search:<br>A pair of double quotes <code>""</code> was found but there was nothing between them to search for.<br>If you want to search for literal double quotes, prepend backslashes: <code>\"\"</code>.
|
||||
search-unclosed-quote = Invalid search:<br>An opening double quote <code>"</code> was found but there was no second one to close it.<br>If you want to search for the literal <code>"</code>, prepend a backslash: <code>\"</code>.
|
||||
search-missing-key = Invalid search:<br>A colon <code>:</code> was found but there was no key word preceding it.<br>If you want to search for the literal <code>:</code>, prepend a backslash: <code>\:</code>.
|
||||
search-unknown-escape = Invalid search:<br>The escape sequence <code>{ $val }</code> is not defined.<br>If you want to search for the literal backslash <code>\</code>, prepend another one: <code>\\</code>.
|
||||
search-invalid-id-list = Invalid search:<br>Note or card id lists must be comma-separated number series.
|
||||
search-invalid-state = Invalid search:<br><code>is:</code> must be followed by one of the predefined card states: <code>new</code>, <code>review</code>, <code>learn</code>, <code>due</code>, <code>buried</code>, <code>buried-manually</code>, <code>buried-sibling</code> or <code>suspended</code>.
|
||||
search-invalid-flag = Invalid search:<br><code>flag:</code> must be followed by a valid flag number: <code>1</code> (red), <code>2</code> (orange), <code>3</code> (green), <code>4</code> (blue) or <code>0</code> (no flag).
|
||||
search-invalid-added = Invalid search:<br><code>added:</code> must be followed by a positive number of days.
|
||||
search-invalid-edited = Invalid search:<br><code>edited:</code> must be followed by a positive number of days.
|
||||
search-invalid-rated-days = Invalid search:<br><code>rated:</code> must be followed by a positive number of days.
|
||||
search-invalid-rated-ease = Invalid search:<br><code>rated:{ $val }:</code> must be followed by <code>0</code> (rescheduled), <code>1</code> (again), <code>2</code> (hard), <code>3</code> (good) or <code>4</code> (easy).
|
||||
search-invalid-dupe-mid = Invalid search:<br><code>dupe:</code> must be followed by a note type id, a comma and then arbitrary text.
|
||||
search-invalid-dupe-text = Invalid search:<br><code>dupe:</code> must be followed by a note type id, a comma and then arbitrary text.
|
||||
search-invalid-prop-property = Invalid search:<br><code>prop:</code> must be followed by one of the predefined card properties: <code>ivl</code> (interval), <code>due</code>, <code>reps</code> (repetitions), <code>lapses</code>, <code>ease</code> or <code>pos</code> (position).
|
||||
search-invalid-prop-operator = Invalid search:<br><code>prop:{ $val }</code> must be followed by one of the comparison operators: <code>=</code>, <code>!=</code>, <code><</code>, <code>></code>, <code><=</code> or <code>>=</code>.
|
||||
search-invalid-prop-float = Invalid search:<br><code>prop:{ $val }</code> must be followed by a decimal number.
|
||||
search-invalid-prop-integer = Invalid search:<br><code>prop:{ $val }</code> must be followed by a whole number.
|
||||
search-invalid-prop-unsigned = Invalid search:<br><code>prop:{ $val }</code> must be followed by a non-negative whole number.
|
||||
search-invalid-did = Invalid search:<br><code>did:</code> must be followed by a valid deck id.
|
||||
search-invalid-mid = Invalid search:<br><code>mid:</code> must be followed by a note type deck id.
|
||||
|
||||
## Column labels in browse screen
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user