Translate Test with replace:
ORIGINAL: Original with string: %1 (Replaced)
+ TRANSLATED: Translated with string: %1 (Replaced)
TRANSLATED: Translated with string: Replaced
TRANSLATED (escape): Translated with string: on
Capture test: INPUT TEST
@@ -196,6 +205,9 @@ final class SmartyExtendedTest extends TestCase
LOOP OUTPUT: 4
LOOP OUTPUT: 5
+
diff --git a/test/includes/locale/ja_JP.frontend.UTF-8.po b/test/includes/locale/ja_JP.frontend.UTF-8.po
index 4427b56..9b28ec1 100644
--- a/test/includes/locale/ja_JP.frontend.UTF-8.po
+++ b/test/includes/locale/ja_JP.frontend.UTF-8.po
@@ -23,5 +23,8 @@ msgstr "Translated"
msgid "Original with string: %1"
msgstr "Translated with string: %1"
+msgid "Are we translated?"
+msgstr "Yes, we are translated!"
+
#msgid ""
#msgstr ""
diff --git a/test/includes/locale/ja_JP/LC_MESSAGES/frontend.mo b/test/includes/locale/ja_JP/LC_MESSAGES/frontend.mo
index 1e0a4ff..fdeb974 100644
Binary files a/test/includes/locale/ja_JP/LC_MESSAGES/frontend.mo and b/test/includes/locale/ja_JP/LC_MESSAGES/frontend.mo differ
diff --git a/test/includes/templates/frontend/test.full.tpl b/test/includes/templates/frontend/test.full.tpl
index d38322e..65bc814 100644
--- a/test/includes/templates/frontend/test.full.tpl
+++ b/test/includes/templates/frontend/test.full.tpl
@@ -26,6 +26,8 @@ BASE: {$BASE}
Outside translation test
+ TRANSLATED ORIGINAL: {$TRANSLATED_ORIGINAL}
+ TRANSLATED REPLACED: {$TRANSLATED_REPLACED}
TRANSLATION CLASS (OUT): {$TRANSLATE_TEST}
TRANSLATION CLASS (OUT FUNCTION): {$TRANSLATE_TEST_FUNCTION}
TRANSLATION CLASS (SMARTY): {$TRANSLATE_TEST_SMARTY}
@@ -33,6 +35,7 @@ BASE: {$BASE}
Translate Test with replace:
ORIGINAL: Original with string: %1 ({$replace})
+ TRANSLATED: Translated with string: %1 ({$replace})
TRANSLATED: {t 1=$replace}Original with string: %1{/t}
TRANSLATED (escape): {t escape=on 1=$replace}Original with string: %1{/t}
{capture assign="extra_title"}{t}INPUT TEST{/t}{/capture}
diff --git a/test/includes/templates/frontend/test.simple.tpl b/test/includes/templates/frontend/test.simple.tpl
index 4afe87b..142f750 100644
--- a/test/includes/templates/frontend/test.simple.tpl
+++ b/test/includes/templates/frontend/test.simple.tpl
@@ -18,6 +18,8 @@ BASE: {$BASE}
Outside translation test
+ TRANSLATED ORIGINAL: {$TRANSLATED_ORIGINAL}
+ TRANSLATED REPLACED: {$TRANSLATED_REPLACED}
TRANSLATION CLASS (OUT): {$TRANSLATE_TEST}
TRANSLATION CLASS (OUT FUNCTION): {$TRANSLATE_TEST_FUNCTION}
TRANSLATION CLASS (SMARTY): {$TRANSLATE_TEST_SMARTY}
@@ -25,6 +27,7 @@ BASE: {$BASE}
Translate Test with replace:
ORIGINAL: Original with string: %1 ({$replace})
+ TRANSLATED: Translated with string: %1 ({$replace})
TRANSLATED: {t 1=$replace}Original with string: %1{/t}
TRANSLATED (escape): {t escape=on 1=$replace}Original with string: %1{/t}
{capture assign="extra_title"}{t}INPUT TEST{/t}{/capture}
diff --git a/test/index.php b/test/index.php
index 20dbd9c..510e735 100644
--- a/test/index.php
+++ b/test/index.php
@@ -74,6 +74,8 @@ $CONTENT_DATA = [
'HTML_TITLE' => 'Smarty v5 tst',
// smarty test
'SMARTY_TEST' => 'Test Data',
+ 'TRANSLATED_ORIGINAL' => 'Are we translated?',
+ 'TRANSLATED_REPLACED' => 'Yes, we are translated!',
'TRANSLATE_TEST' => $l10n->__('Are we translated?'),
'TRANSLATE_TEST_FUNCTION' => _gettext('Are we translated?'),
'TRANSLATE_TEST_SMARTY' => $l10n->__('Are we translated?'),
diff --git a/tools/phpunit b/tools/phpunit
deleted file mode 120000
index f1897d5..0000000
--- a/tools/phpunit
+++ /dev/null
@@ -1 +0,0 @@
-/home/clemens/.phive/phars/phpunit-10.3.5.phar
\ No newline at end of file