mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-19 16:06:32 +02:00
de02a3f733
Rolled pluralisation functionality into the i18n::_t() method Warnings on missing default can now be turned off
8 lines
383 B
Scheme
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 %>
|