mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2787 from dhensby/i18n-chaining
API Adding chaining to i18nTextCollector::write()
This commit is contained in:
commit
827ace033a
@ -193,6 +193,7 @@ class i18nTextCollector extends Object {
|
|||||||
|
|
||||||
public function write($module, $entities) {
|
public function write($module, $entities) {
|
||||||
$this->getWriter()->write($entities, $this->defaultLocale, $this->baseSavePath . '/' . $module);
|
$this->getWriter()->write($entities, $this->defaultLocale, $this->baseSavePath . '/' . $module);
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user