silverstripe-framework/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php
Ingo Schommer 874aaf1d27 ENHANCEMENT Refactored i18nTextCollector and added unit tests
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
2008-10-17 15:21:33 +00:00

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();
}
}