-
Notifications
You must be signed in to change notification settings - Fork 2
/
Plugin.php
39 lines (28 loc) · 847 Bytes
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
namespace Kanboard\Plugin\zzzzOverwrite_translation;
use Kanboard\Core\Plugin\Base;
use Kanboard\Core\Translator;
class Plugin extends Base {
public function initialize() {
// nothing
}
public function onStartup() {
// load Translation
Translator::load($this->languageModel->getCurrentLanguage(), __DIR__ . '/Locale');
}
public function getPluginName() {
return 'Overwrite Translation';
}
public function getPluginDescription() {
return t('Overwrite default translations.');
}
public function getPluginAuthor() {
return 'BlueTeck';
}
public function getPluginVersion() {
return '1.0.34.0';
}
public function getPluginHomepage() {
return 'https://github.com/BlueTeck/kanboard_plugin_overwrite_translation';
}
}