Update documentation

This commit is contained in:
Frederic Guillot
2016-06-01 20:21:26 -04:00
parent b0a31b168f
commit ca87b1b60f
5 changed files with 19 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ Plugin can be translated in the same way as the rest of the application. You mus
```php
public function onStartup()
{
Translator::load($this->language->getCurrentLanguage(), __DIR__.'/Locale');
Translator::load($this->languageModel->getCurrentLanguage(), __DIR__.'/Locale');
}
```