mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2131 missing translations
This commit is contained in:
parent
f6b81231a6
commit
b6e1a4589a
2 changed files with 2 additions and 2 deletions
|
|
@ -1049,7 +1049,7 @@ class TemplateHandler
|
|||
{
|
||||
if (preg_match('/^\$[\\\\\w\[\]\'":>-]+$/i', $str))
|
||||
{
|
||||
$str = "$str ?? ''";
|
||||
$str = preg_match('/^\$lang->/', $str) ? $str : "$str ?? ''";
|
||||
}
|
||||
|
||||
switch($escape_option)
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ class TemplateHandlerTest extends \Codeception\TestCase\Test
|
|||
// issue 512 - ignores <marquee>
|
||||
array(
|
||||
'<div class="topimgContex"><marquee direction="up" scrollamount="1" height="130" loop="infinity" behavior="lscro">{$lang->sl_show_topimgtext}</marquee></div>',
|
||||
'?><div class="topimgContex"><marquee direction="up" scrollamount="1" height="130" loop="infinity" behavior="lscro"><?php echo $lang->sl_show_topimgtext ?? \'\' ?></marquee></div>'
|
||||
'?><div class="topimgContex"><marquee direction="up" scrollamount="1" height="130" loop="infinity" behavior="lscro"><?php echo $lang->sl_show_topimgtext ?></marquee></div>'
|
||||
),
|
||||
// issue 584
|
||||
array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue