mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Temporarily disabled Debug::message() calls in i18nTextCollector as they're disturbing unit test output and we currently dont have context switches for this
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64560 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
69d370dfd7
commit
a86e42e5ed
@ -43,7 +43,7 @@ class i18nTextCollector extends Object {
|
|||||||
* @uses DataObject->collectI18nStatics()
|
* @uses DataObject->collectI18nStatics()
|
||||||
*/
|
*/
|
||||||
public function run($restrictToModule = null) {
|
public function run($restrictToModule = null) {
|
||||||
Debug::message("Collecting text...", false);
|
//Debug::message("Collecting text...", false);
|
||||||
|
|
||||||
// A master string tables array (one mst per module)
|
// A master string tables array (one mst per module)
|
||||||
$entitiesByModule = array();
|
$entitiesByModule = array();
|
||||||
@ -67,7 +67,7 @@ class i18nTextCollector extends Object {
|
|||||||
// Write the generated master string tables
|
// Write the generated master string tables
|
||||||
$this->writeMasterStringFile($entitiesByModule);
|
$this->writeMasterStringFile($entitiesByModule);
|
||||||
|
|
||||||
Debug::message("Done!", false);
|
//Debug::message("Done!", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -78,7 +78,7 @@ class i18nTextCollector extends Object {
|
|||||||
protected function processModule($module) {
|
protected function processModule($module) {
|
||||||
$entitiesArr = array();
|
$entitiesArr = array();
|
||||||
|
|
||||||
Debug::message("Processing Module '{$module}'", false);
|
//Debug::message("Processing Module '{$module}'", false);
|
||||||
|
|
||||||
// Search for calls in code files if these exists
|
// Search for calls in code files if these exists
|
||||||
if(is_dir("$this->basePath/$module/code")) {
|
if(is_dir("$this->basePath/$module/code")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user