added more utility rules and updated example

This commit is contained in:
danhanson committed 2026-09-14 15:33:17 -05:00
1 parent 036928d628
commit cb8c9f9c0b
12 files changed
+34942 -32273

No files matched your search

+19 -22
View File
@@ -335,7 +335,6 @@ Blocktrans Closed By The Other Spelling
---
==================
Blocktranslate Closed By The Other Spelling
:error
@@ -346,7 +345,6 @@ Blocktranslate Closed By The Other Spelling
---
==================
Blocktrans With Count And No Plural
==================
@@ -370,8 +368,6 @@ Blocktrans With Count And No Plural
(endblocktrans_block))
(content))
==================
Blocktrans With Plural And No Count
:error
@@ -382,7 +378,6 @@ Blocktrans With Plural And No Count
---
==================
Blocktrans Counting Two Bindings
:error
@@ -393,7 +388,6 @@ Blocktrans Counting Two Bindings
---
==================
Blocktrans With Nothing To Bind
:error
@@ -404,7 +398,6 @@ Blocktrans With Nothing To Bind
---
==================
Blocktrans With An Unknown Option
:error
@@ -415,7 +408,6 @@ Blocktrans With An Unknown Option
---
==================
Blocktrans With Asvar And No Name
:error
@@ -426,7 +418,6 @@ Blocktrans With Asvar And No Name
---
==================
Blocktrans Holding A Tag
:error
@@ -437,7 +428,6 @@ Blocktrans Holding A Tag
---
==================
Blocktrans Holding A Comment
:error
@@ -448,7 +438,6 @@ Blocktrans Holding A Comment
---
==================
Blocktrans Holding Another Blocktrans
:error
@@ -459,17 +448,33 @@ Blocktrans Holding Another Blocktrans
---
==================
Blocktrans With Two Plurals
:error
==================
{% blocktrans count n=x %}one{% plural %}many{% plural %}x{% endblocktrans %}
---
(template
(content)
(blocktranslate_group
(blocktrans_clause
(blocktrans_block
(identifier)
(filtered_value
(value
(variable_attribute
(identifier)))))
(content)
(plural_clause
(plural_block)
(content)))
(missing_endblocktrans_block))
(unexpected_block)
(content)
(unexpected_block)
(content))
==================
Blocktrans With An Argument On Plural
@@ -481,7 +486,6 @@ Blocktrans With An Argument On Plural
---
==================
Blocktrans With Trimmed Twice
:error
@@ -492,7 +496,6 @@ Blocktrans With Trimmed Twice
---
==================
Blocktrans With With Twice
:error
@@ -503,7 +506,6 @@ Blocktrans With With Twice
---
==================
Blocktrans With Context Twice
:error
@@ -514,7 +516,6 @@ Blocktrans With Context Twice
---
==================
Blocktrans With Asvar Twice
:error
@@ -525,7 +526,6 @@ Blocktrans With Asvar Twice
---
==================
Blocktrans With Count Twice
:error
@@ -536,7 +536,6 @@ Blocktrans With Count Twice
---
==================
Blocktranslate With Trimmed Twice
:error
@@ -547,7 +546,6 @@ Blocktranslate With Trimmed Twice
---
==================
Blocktrans Repeating An Option Of The Tag Before It
==================
@@ -579,4 +577,3 @@ Blocktrans With A Binding Twice
---