silverstripe-framework/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/templates/i18nTestModule.ss
Damian Mooyman de02a3f733
Restored context parameter to i18n, and added to a “comment” key
Rolled pluralisation functionality into the i18n::_t() method
Warnings on missing default can now be turned off
2017-01-25 18:12:40 +13:00

8 lines
383 B
Scheme

<% _t('i18nTestModule.MAINTEMPLATE',"Main Template") %>
$Layout
lonely _t() call that should be ignored
<% _t('i18nTestModule.NEWENTITY',"Not stored in master file yet") %>
Single: <%t i18nTestModule.PLURALS 'An item|{count} items' count=1 %>
Multiple: <%t i18nTestModule.PLURALS 'An item|{count} items' count=4 %>
None: <%t i18nTestModule.PLURALS 'An item|{count} items' count=0 %>