Fix translations
This commit is contained in:
parent
1f4b4dbab9
commit
ee6cab61c6
@ -23,6 +23,8 @@ class aliasmanager extends rcube_plugin {
|
|||||||
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
|
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
|
||||||
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
|
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
|
||||||
|
|
||||||
|
$this->add_texts('localization/');
|
||||||
|
|
||||||
switch ($this->rcmail->action) {
|
switch ($this->rcmail->action) {
|
||||||
case 'plugin.aliasmanager-get-alias-list':
|
case 'plugin.aliasmanager-get-alias-list':
|
||||||
$this->onGetAliasList();
|
$this->onGetAliasList();
|
||||||
@ -45,8 +47,9 @@ class aliasmanager extends rcube_plugin {
|
|||||||
$arg['actions'][] = [
|
$arg['actions'][] = [
|
||||||
'action' => 'plugin.aliasmanager',
|
'action' => 'plugin.aliasmanager',
|
||||||
'class' => 'aliasmanager',
|
'class' => 'aliasmanager',
|
||||||
'label' => 'plugin_aliasmanager',
|
'label' => 'settings_menu_label',
|
||||||
'title' => 'plugin_aliasmanager',
|
'title' => 'settings_menu_label',
|
||||||
|
'domain' => 'aliasmanager',
|
||||||
];
|
];
|
||||||
|
|
||||||
return $arg;
|
return $arg;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$labels = [];
|
$labels['settings_menu_label'] = 'Alias manager';
|
||||||
|
|
||||||
$labels['plugin_aliasmanager'] = 'Alias manager';
|
|
Loading…
x
Reference in New Issue
Block a user