API: Add more locale registration APIs

This commit is contained in:
Toby Zerner 2015-09-01 10:08:33 +09:30
parent 150eef8a32
commit 4891f2217c

View File

@ -27,8 +27,23 @@ class RegisterLocales
$this->manager = $manager;
}
public function addLocale($locale, $name)
{
$this->manager->addLocale($locale, $name);
}
public function addTranslations($locale, $file)
{
$this->manager->addTranslations($locale, $file);
}
public function addJsFile($locale, $file)
{
$this->manager->addJsFile($locale, $file);
}
public function addConfig($locale, $file)
{
$this->manager->addConfig($locale, $file);
}
}