add translated string support

This commit is contained in:
danhanson committed 2026-09-06 05:28:53 -05:00
1 parent 451e38cad4
commit 9fc72cf891
6 files changed
+7956 -7501

No files matched your search

+49
View File
@@ -274,3 +274,52 @@ Template Variable Attribute Beginning With Underscore
(ERROR)
==================
Template Variable Translated String
==================
{{ _("Hello") }}
---
(template
(content)
(template_variable
(filtered_value
(value
(literal
(translated_string
(string))))))
(content))
==================
Template Variable Translated String With Filter
==================
{{ _('Hello')|upper }}
---
(template
(content)
(template_variable
(filtered_value
(value
(literal
(translated_string
(string))))
(filter_expression
(filter))))
(content))
==================
Template Variable Translated String With Spaces
:error
==================
{{ _( "Hello" ) }}
---
(ERROR)