Merge branch 'ent-12714-errores-de-traduccion-y-elementos-de-la-consola-sin-traducir-al-espanol-en-775' into 'develop'
Ent 12714 errores de traduccion y elementos de la consola sin traducir al espanol en 775 See merge request artica/pandorafms!7009
This commit is contained in:
commit
84f0f402ac
|
@ -71,7 +71,7 @@ if ((bool) check_acl($config['id_user'], 0, 'AR') === true
|
|||
$sub2['godmode/servers/discovery&wiz=hd&mode=managenetscanscripts']['text'] = __('Manage scan scripts');
|
||||
}
|
||||
|
||||
$sub['godmode/servers/discovery&wiz=hd']['text'] = __('Host & devices');
|
||||
$sub['godmode/servers/discovery&wiz=hd']['text'] = __('Host & Devices');
|
||||
$sub['godmode/servers/discovery&wiz=hd']['id'] = 'hd';
|
||||
$sub['godmode/servers/discovery&wiz=hd']['type'] = 'direct';
|
||||
$sub['godmode/servers/discovery&wiz=hd']['subtype'] = 'nolink';
|
||||
|
|
|
@ -76,7 +76,7 @@ class Applications extends Wizard
|
|||
$this->msg = $msg;
|
||||
$this->icon = $icon;
|
||||
$this->class = $class_style;
|
||||
$this->label = $label;
|
||||
$this->label = __($label);
|
||||
$this->page = $page;
|
||||
$this->url = ui_get_full_url(
|
||||
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=app'
|
||||
|
|
|
@ -97,7 +97,7 @@ class Cloud extends Wizard
|
|||
$this->task = [];
|
||||
$this->msg = $msg;
|
||||
$this->icon = $icon;
|
||||
$this->label = $label;
|
||||
$this->label = __($label);
|
||||
$this->page = $page;
|
||||
$this->url = ui_get_full_url(
|
||||
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=cloud'
|
||||
|
|
|
@ -90,7 +90,7 @@ class HostDevices extends Wizard
|
|||
$this->task = [];
|
||||
$this->msg = $msg;
|
||||
$this->icon = $icon;
|
||||
$this->label = $label;
|
||||
$this->label = __($label);
|
||||
$this->page = $page;
|
||||
$this->url = ui_get_full_url(
|
||||
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=hd'
|
||||
|
|
|
@ -129,7 +129,7 @@ class ManageExtensions extends HTML
|
|||
{
|
||||
return [
|
||||
'icon' => $this->icon,
|
||||
'label' => $this->label,
|
||||
'label' => __($this->label),
|
||||
'url' => $this->url,
|
||||
|
||||
];
|
||||
|
|
|
@ -228,29 +228,29 @@ class GeneralTacticalView
|
|||
|
||||
if ($name !== '') {
|
||||
$emojiOptions = [
|
||||
'have_good_day' => __('Have a good day %s ✌', $name),
|
||||
'welcome_back' => __('Welcome back! %s 👋', $name),
|
||||
'merry_christmas' => __('Welcome back! %s 🎅', $name),
|
||||
'good_morning' => __('Good morning, %s! ☕', $name),
|
||||
'good_evening' => __('Good evening, %s 🌇', $name),
|
||||
'good_night' => __('Good night, %s 🌕', $name),
|
||||
'happy_summer' => __('Happy summer, %s 🌞', $name),
|
||||
'happy_winter' => __('Happy winter, %s ⛄', $name),
|
||||
'happy_autumn' => __('Happy autumn, %s 🍂', $name),
|
||||
'happy_spring' => __('Happy spring, %s 🌻', $name),
|
||||
'have_good_day' => __('Have a good day %s', $name).' ✌',
|
||||
'welcome_back' => __('Welcome back! %s', $name).' 👋',
|
||||
'merry_christmas' => __('Welcome back! %s', $name).' 🎅',
|
||||
'good_morning' => __('Good morning, %s!', $name).' ☕',
|
||||
'good_evening' => __('Good evening, %s', $name).' 🌇',
|
||||
'good_night' => __('Good night, %s', $name).' 🌕',
|
||||
'happy_summer' => __('Happy summer, %s', $name).' 🌞',
|
||||
'happy_winter' => __('Happy winter, %s', $name).' ⛄',
|
||||
'happy_autumn' => __('Happy autumn, %s', $name).' 🍂',
|
||||
'happy_spring' => __('Happy spring, %s', $name).' 🌻',
|
||||
];
|
||||
} else {
|
||||
$emojiOptions = [
|
||||
'have_good_day' => __('Have a good day ✌'),
|
||||
'welcome_back' => __('Welcome back! 👋'),
|
||||
'merry_christmas' => __('Welcome back! 🎅'),
|
||||
'good_morning' => __('Good morning! ☕'),
|
||||
'good_evening' => __('Good evening 🌇'),
|
||||
'good_night' => __('Good night 🌕'),
|
||||
'happy_summer' => __('Happy summer 🌞'),
|
||||
'happy_winter' => __('Happy winter ⛄'),
|
||||
'happy_autumn' => __('Happy autumn 🍂'),
|
||||
'happy_spring' => __('Happy spring 🌻'),
|
||||
'have_good_day' => __('Have a good day').' ✌',
|
||||
'welcome_back' => __('Welcome back!').' 👋',
|
||||
'merry_christmas' => __('Welcome back!').' 🎅',
|
||||
'good_morning' => __('Good morning!').' ☕',
|
||||
'good_evening' => __('Good evening').' 🌇',
|
||||
'good_night' => __('Good night').' 🌕',
|
||||
'happy_summer' => __('Happy summer').' 🌞',
|
||||
'happy_winter' => __('Happy winter').' ⛄',
|
||||
'happy_autumn' => __('Happy autumn').' 🍂',
|
||||
'happy_spring' => __('Happy spring').' 🌻',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -662,9 +662,17 @@ if (!empty($rows)) {
|
|||
$menu_operation['links']['sec2'] = '';
|
||||
$menu_operation['links']['id'] = 'god-links';
|
||||
|
||||
$traslations = [
|
||||
'Get support' => __('Get support'),
|
||||
'Report a bug' => __('Report a bug'),
|
||||
'Suggest new feature' => __('Suggest new feature'),
|
||||
];
|
||||
|
||||
$sub = [];
|
||||
foreach ($rows as $row) {
|
||||
$sub[$row['link']]['text'] = __($row['name']);
|
||||
$sub[$row['link']]['text'] = (empty($traslations[$row['name']]) === false)
|
||||
? $traslations[$row['name']]
|
||||
: __($row['name']);
|
||||
$sub[$row['link']]['id'] = $row['name'];
|
||||
$sub[$row['link']]['type'] = 'direct';
|
||||
$sub[$row['link']]['subtype'] = 'new_blank';
|
||||
|
|
Loading…
Reference in New Issue