mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 18:21:23 +02:00
FEATURE Support for i18n entity namespaces in templates git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64492 467b73ca-7a2a-4603-9d3b-597d59a354a9
20 lines
363 B
PHP
20 lines
363 B
PHP
<?php
|
|
class i18nTestModule extends Object {
|
|
function __construct() {
|
|
_t(
|
|
'i18nTestModule.ENTITY',
|
|
'Entity with "Double Quotes"',
|
|
PR_LOW,
|
|
'Comment for entity'
|
|
);
|
|
|
|
parent::__construct();
|
|
}
|
|
}
|
|
class i18nTestModule_Addition extends Object {
|
|
function __construct() {
|
|
_t('i18nTestModule.ADDITION','Addition');
|
|
|
|
parent::__construct();
|
|
}
|
|
} |