mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
This commit reverts the Inline Snippets tag (#2001) and bumps Liquid to 5.11. For now, the inclusion of Inline Snippets in the latest Liquid release is being treated as a bug. While #2001 does implement the scope contained in RFC#1916, we need to take a step back to make sure we’re setting our sights high enough with this feature, and that we’re truly supporting theme developers in the ways they need. If you have any feedback, please leave a comment on RFC#1916. - Liquid Developer Tools
34 lines
2.4 KiB
YAML
34 lines
2.4 KiB
YAML
---
|
|
errors:
|
|
syntax:
|
|
tag_unexpected_args: "Syntax Error in '%{tag}' - Valid syntax: %{tag}"
|
|
block_tag_unexpected_args: "Syntax Error in '%{tag}' - Valid syntax: {% %{tag} %}{% end%{tag} %}"
|
|
assign: "Syntax Error in 'assign' - Valid syntax: assign [var] = [source]"
|
|
capture: "Syntax Error in 'capture' - Valid syntax: capture [var]"
|
|
case: "Syntax Error in 'case' - Valid syntax: case [condition]"
|
|
case_invalid_when: "Syntax Error in tag 'case' - Valid when condition: {% when [condition] [or condition2...] %}"
|
|
case_invalid_else: "Syntax Error in tag 'case' - Valid else condition: {% else %} (no parameters) "
|
|
cycle: "Syntax Error in 'cycle' - Valid syntax: cycle [name :] var [, var2, var3 ...]"
|
|
doc_invalid_nested: "Syntax Error in 'doc' - Nested doc tags are not allowed"
|
|
for: "Syntax Error in 'for loop' - Valid syntax: for [item] in [collection]"
|
|
for_invalid_in: "For loops require an 'in' clause"
|
|
for_invalid_attribute: "Invalid attribute in for loop. Valid attributes are limit and offset"
|
|
if: "Syntax Error in tag 'if' - Valid syntax: if [expression]"
|
|
include: "Error in tag 'include' - Valid syntax: include '[template]' (with|for) [object|collection]"
|
|
inline_comment_invalid: "Syntax error in tag '#' - Each line of comments must be prefixed by the '#' character"
|
|
invalid_delimiter: "'%{tag}' is not a valid delimiter for %{block_name} tags. use %{block_delimiter}"
|
|
invalid_template_encoding: "Invalid template encoding"
|
|
render: "Syntax error in tag 'render' - Template name must be a quoted string"
|
|
table_row: "Syntax Error in 'table_row loop' - Valid syntax: table_row [item] in [collection] cols=3"
|
|
table_row_invalid_attribute: "Invalid attribute '%{attribute}' in tablerow loop. Valid attributes are cols, limit, offset, and range"
|
|
tag_never_closed: "'%{block_name}' tag was never closed"
|
|
tag_termination: "Tag '%{token}' was not properly terminated with regexp: %{tag_end}"
|
|
unexpected_else: "%{block_name} tag does not expect 'else' tag"
|
|
unexpected_outer_tag: "Unexpected outer '%{tag}' tag"
|
|
unknown_tag: "Unknown tag '%{tag}'"
|
|
variable_termination: "Variable '%{token}' was not properly terminated with regexp: %{tag_end}"
|
|
argument:
|
|
include: "Argument error in tag 'include' - Illegal template name"
|
|
disabled:
|
|
tag: "usage is not allowed in this context"
|