mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix #2203 'this' in lang directive will refer to current module
This commit is contained in:
parent
3233619eac
commit
e72336c90c
7 changed files with 69 additions and 6 deletions
3
tests/_data/template/v2lang.executed1.html
Normal file
3
tests/_data/template/v2lang.executed1.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
<p>comment.foobarfoobar</p>
|
||||
<p>document.foobarbazbaz</p>
|
||||
3
tests/_data/template/v2lang.executed2.html
Normal file
3
tests/_data/template/v2lang.executed2.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
<p>comment.foobarfoobar</p>
|
||||
<p>member.foobarbazbaz</p>
|
||||
4
tests/_data/template/v2lang.html
Normal file
4
tests/_data/template/v2lang.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
@version(2)
|
||||
|
||||
<p>@lang('comment.foobarfoobar')</p>
|
||||
<p>@lang('this.foobarbazbaz')</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue