summaryrefslogtreecommitdiff
path: root/doc/plugin-registration.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugin-registration.markdown')
-rw-r--r--doc/plugin-registration.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugin-registration.markdown b/doc/plugin-registration.markdown
index 37540f29..74dc160a 100644
--- a/doc/plugin-registration.markdown
+++ b/doc/plugin-registration.markdown
@@ -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');
}
```