Fix translations

This commit is contained in:
Illya Marchenko 2022-11-07 12:57:27 +02:00
parent 1f4b4dbab9
commit ee6cab61c6
2 changed files with 6 additions and 5 deletions

@ -23,6 +23,8 @@ class aliasmanager extends rcube_plugin {
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
$this->add_texts('localization/');
switch ($this->rcmail->action) {
case 'plugin.aliasmanager-get-alias-list':
$this->onGetAliasList();
@ -45,8 +47,9 @@ class aliasmanager extends rcube_plugin {
$arg['actions'][] = [
'action' => 'plugin.aliasmanager',
'class' => 'aliasmanager',
'label' => 'plugin_aliasmanager',
'title' => 'plugin_aliasmanager',
'label' => 'settings_menu_label',
'title' => 'settings_menu_label',
'domain' => 'aliasmanager',
];
return $arg;

@ -1,5 +1,3 @@
<?php
$labels = [];
$labels['plugin_aliasmanager'] = 'Alias manager';
$labels['settings_menu_label'] = 'Alias manager';