Changeset 415
- Timestamp:
- 04/09/07 20:25:13 (2 years ago)
- Files:
-
- trunk/lib/jelix-modules/jelix/locales/en_EN/errors.ISO-8859-1.properties (modified) (1 diff)
- trunk/lib/jelix-modules/jelix/locales/en_EN/errors.UTF-8.properties (modified) (1 diff)
- trunk/lib/jelix-modules/jelix/locales/en_US/errors.ISO-8859-1.properties (modified) (1 diff)
- trunk/lib/jelix-modules/jelix/locales/en_US/errors.UTF-8.properties (modified) (1 diff)
- trunk/lib/jelix-modules/jelix/locales/fr_FR/errors.ISO-8859-1.properties (modified) (1 diff)
- trunk/lib/jelix-modules/jelix/locales/fr_FR/errors.UTF-8.properties (modified) (1 diff)
- trunk/lib/jelix/tpl/jTplCompiler.class.php (modified) (1 diff)
- trunk/lib/jelix/tpl/locales/fr.php (modified) (1 diff)
- trunk/testapp/modules/unittest/classes/utjtplexpr.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix-modules/jelix/locales/en_EN/errors.ISO-8859-1.properties
r385 r415 48 48 tplplugin.block.bad.argument.number=(316)In the tag %s in the template %3$s, bad argument number (%2$s expected) 49 49 tpl.tag.locale.end.missing=(317)In the tag %s in the template %s, the end of a locale key is missing 50 tpl.tag.constant.notallowed=(318)In the tag %s in the template %3$s, constants (%2$s) are not allowed 50 51 51 52 #---- mail trunk/lib/jelix-modules/jelix/locales/en_EN/errors.UTF-8.properties
r385 r415 48 48 tplplugin.block.bad.argument.number=(316)In the tag %s in the template %3$s, bad argument number (%2$s expected) 49 49 tpl.tag.locale.end.missing=(317)In the tag %s in the template %s, the end of a locale key is missing 50 tpl.tag.constant.notallowed=(318)In the tag %s in the template %3$s, constants (%2$s) are not allowed 50 51 51 52 #---- mail trunk/lib/jelix-modules/jelix/locales/en_US/errors.ISO-8859-1.properties
r385 r415 48 48 tplplugin.block.bad.argument.number=(316)In the tag %s in the template %3$s, bad argument number (%2$s expected) 49 49 tpl.tag.locale.end.missing=(317)In the tag %s in the template %s, the end of a locale key is missing 50 tpl.tag.constant.notallowed=(318)In the tag %s in the template %3$s, constants (%2$s) are not allowed 50 51 51 52 #---- mail trunk/lib/jelix-modules/jelix/locales/en_US/errors.UTF-8.properties
r385 r415 48 48 tplplugin.block.bad.argument.number=(316)In the tag %s in the template %3$s, bad argument number (%2$s expected) 49 49 tpl.tag.locale.end.missing=(317)In the tag %s in the template %s, the end of a locale key is missing 50 tpl.tag.constant.notallowed=(318)In the tag %s in the template %3$s, constants (%2$s) are not allowed 51 50 52 51 53 #---- mail trunk/lib/jelix-modules/jelix/locales/fr_FR/errors.ISO-8859-1.properties
r385 r415 45 45 tplplugin.block.bad.argument.number=(316)Dans le tag %s du template %3$s, nombre d'arguments incorrect (%2$s attendus) 46 46 tpl.tag.locale.end.missing=(317)Dans le tag %s du template %s, il manque la fin de la clef de localisation 47 tpl.tag.constant.notallowed=(318)Dans le tag %s du template %3$s, les constantes (%2$s) sont interdites 47 48 48 49 #---- mail trunk/lib/jelix-modules/jelix/locales/fr_FR/errors.UTF-8.properties
r385 r415 49 49 tplplugin.block.bad.argument.number=(316)Dans le tag %s du template %3$s, nombre d'arguments incorrect (%2$s attendus) 50 50 tpl.tag.locale.end.missing=(317)Dans le tag %s du template %s, il manque la fin de la clef de localisation 51 tpl.tag.constant.notallowed=(318)Dans le tag %s du template %3$s, les constantes (%2$s) sont interdites 51 52 52 53 #---- mail trunk/lib/jelix/tpl/jTplCompiler.class.php
r386 r415 416 416 $result.='$t->_vars[\''.substr($str,1).'\']'; 417 417 }elseif($type == T_WHITESPACE || in_array($type, $allowed)){ 418 if($type == T_STRING && defined($str)){ 419 $this->doError2('errors.tpl.tag.constant.notallowed', $this->_currentTag, $str); 420 } 418 421 $result.=$str; 419 422 }else{ trunk/lib/jelix/tpl/locales/fr.php
r215 r415 22 22 'errors.tplplugin.block.too.many.arguments'=>'Dans le tag %s du template %s, arguments en trop', 23 23 'errors.tplplugin.block.bad.argument.number'=>'Dans le tag %s du template %3$s, nombre d\'arguments incorrect (%2$s attendus)', 24 24 'errors.tpl.tag.constant.notallowed'=>'Dans le tag %s du template %3$s, les constantes (%2$s) sont interdites', 25 25 ); 26 26 trunk/testapp/modules/unittest/classes/utjtplexpr.class.php
r382 r415 55 55 '$aa'=>'$t->_vars[\'aa\']', 56 56 '$aa.$bb'=>'$t->_vars[\'aa\'].$t->_vars[\'bb\']', 57 '$aa.PHP_VERSION'=>'$t->_vars[\'aa\'].PHP_VERSION',58 57 '$aa."bbb"'=>'$t->_vars[\'aa\']."bbb"', 59 58 '$aa+234'=>'$t->_vars[\'aa\']+234', … … 107 106 'foreach($a)'=>array('jelix~errors.tpl.tag.phpsyntax.invalid',array('','foreach','')), 108 107 '@aaa.bbb'=>array('jelix~errors.tpl.tag.locale.end.missing',array('','')), 108 '$aaa.PHP_VERSION'=>array('jelix~errors.tpl.tag.constant.notallowed',array('','PHP_VERSION','')), 109 109 '@aaa.b,bb@'=>array('jelix~errors.tpl.tag.character.invalid',array('',',','')), 110 110 '@@'=>array('jelix~errors.tpl.tag.locale.invalid',array('','')),
