Fix #2203 'this' in lang directive will refer to current module

This commit is contained in:
Kijin Sung 2023-10-31 21:59:33 +09:00
parent 3233619eac
commit e72336c90c
7 changed files with 69 additions and 6 deletions

View file

@ -0,0 +1,3 @@
<p>comment.foobarfoobar</p>
<p>document.foobarbazbaz</p>

View file

@ -0,0 +1,3 @@
<p>comment.foobarfoobar</p>
<p>member.foobarbazbaz</p>

View file

@ -0,0 +1,4 @@
@version(2)
<p>@lang('comment.foobarfoobar')</p>
<p>@lang('this.foobarbazbaz')</p>