Server IP : 173.249.157.85 / Your IP : 3.137.173.170 Web Server : Apache System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : econtech ( 1005) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/econtech/public_html/vendor/symfony/translation/Tests/fixtures/extractor/ |
Upload File : |
This template is used for translation message extraction tests <?php echo $view['translator']->trans('single-quoted key'); ?> <?php echo $view['translator']->trans('double-quoted key'); ?> <?php echo $view['translator']->trans(<<<EOF heredoc key EOF ); ?> <?php echo $view['translator']->trans(<<<'EOF' nowdoc key EOF ); ?> <?php echo $view['translator']->trans( "double-quoted key with whitespace and escaped \$\n\" sequences" ); ?> <?php echo $view['translator']->trans( 'single-quoted key with whitespace and nonescaped \$\n\' sequences' ); ?> <?php echo $view['translator']->trans(<<<EOF heredoc key with whitespace and escaped \$\n sequences EOF ); ?> <?php echo $view['translator']->trans(<<<'EOF' nowdoc key with whitespace and nonescaped \$\n sequences EOF ); ?> <?php echo $view['translator']->trans('single-quoted key with "quote mark at the end"'); ?> <?php echo $view['translator']->transChoice( '{0} There is no apples|{1} There is one apple|]1,Inf[ There are %count% apples', 10, ['%count%' => 10] ); ?> <?php echo $view['translator']->trans('concatenated'.' message'.<<<EOF with heredoc EOF .<<<'EOF' and nowdoc EOF ); ?> <?php echo $view['translator']->trans('other-domain-test-no-params-short-array', [], 'not_messages'); ?> <?php echo $view['translator']->trans('other-domain-test-no-params-long-array', [], 'not_messages'); ?> <?php echo $view['translator']->trans('other-domain-test-params-short-array', ['foo' => 'bar'], 'not_messages'); ?> <?php echo $view['translator']->trans('other-domain-test-params-long-array', ['foo' => 'bar'], 'not_messages'); ?> <?php echo $view['translator']->transChoice('other-domain-test-trans-choice-short-array-%count%', 10, ['%count%' => 10], 'not_messages'); ?> <?php echo $view['translator']->transChoice('other-domain-test-trans-choice-long-array-%count%', 10, ['%count%' => 10], 'not_messages'); ?> <?php echo $view['translator']->trans('typecast', ['a' => (int) '123'], 'not_messages'); ?> <?php echo $view['translator']->transChoice('msg1', 10 + 1, [], 'not_messages'); ?> <?php echo $view['translator']->transChoice('msg2', ceil(4.5), [], 'not_messages'); ?> <?php echo $view['translator']->trans('default domain', [], null); ?>