* Fix error of menu lang.

This commit is contained in:
tianshujie
2024-04-23 10:51:33 +08:00
parent c7291650c6
commit 174bb09d75
4 changed files with 24 additions and 8 deletions
+6 -2
View File
@@ -1,4 +1,10 @@
<?php
global $config;
list($productModule, $productMethod) = explode('-', $config->productLink);
list($projectModule, $projectMethod) = explode('-', $config->projectLink);
list($executionModule, $executionMethod) = explode('-', $config->executionLink);
$lang->execution->common = 'Kanban';
$lang->executionCommon = 'Kanban';
$lang->task->common = 'Task';
@@ -54,7 +60,6 @@ $lang->task->common = 'Task';
$lang->dashboard = isset($lang->dashboard->common) ? $lang->dashboard->common : $lang->dashboard;
/* Feedback. */
global $config;
if($config->edition != 'open')
{
$lang->feedback->menu->ticket = array('link' => 'Ticket|ticket|browse|browseType=unclosed');
@@ -194,7 +199,6 @@ $lang->createObjects['kanban'] = 'Kanban';
$lang->createIcons['execution'] = 'kanban';
/* Xuan */
global $config;
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
{
$lang->xuanxuan = new stdclass();
+6 -2
View File
@@ -1,4 +1,10 @@
<?php
global $config;
list($productModule, $productMethod) = explode('-', $config->productLink);
list($projectModule, $projectMethod) = explode('-', $config->projectLink);
list($executionModule, $executionMethod) = explode('-', $config->executionLink);
$lang->execution->common = 'Kanban';
$lang->executionCommon = 'Kanban';
$lang->task->common = 'Task';
@@ -54,7 +60,6 @@ $lang->task->common = 'Task';
$lang->dashboard = isset($lang->dashboard->common) ? $lang->dashboard->common : $lang->dashboard;
/* Feedback. */
global $config;
if($config->edition != 'open')
{
$lang->feedback->menu->ticket = array('link' => 'Ticket|ticket|browse|browseType=unclosed');
@@ -194,7 +199,6 @@ $lang->createObjects['kanban'] = 'Kanban';
$lang->createIcons['execution'] = 'kanban';
/* Xuan */
global $config;
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
{
$lang->xuanxuan = new stdclass();
+6 -2
View File
@@ -1,4 +1,10 @@
<?php
global $config;
list($productModule, $productMethod) = explode('-', $config->productLink);
list($projectModule, $projectMethod) = explode('-', $config->projectLink);
list($executionModule, $executionMethod) = explode('-', $config->executionLink);
$lang->execution->common = 'Kanban';
$lang->executionCommon = 'Kanban';
$lang->task->common = 'Task';
@@ -54,7 +60,6 @@ $lang->task->common = 'Task';
$lang->dashboard = isset($lang->dashboard->common) ? $lang->dashboard->common : $lang->dashboard;
/* Feedback. */
global $config;
if($config->edition != 'open')
{
$lang->feedback->menu->ticket = array('link' => 'Ticket|ticket|browse|browseType=unclosed');
@@ -194,7 +199,6 @@ $lang->createObjects['kanban'] = 'Kanban';
$lang->createIcons['execution'] = 'kanban';
/* Xuan */
global $config;
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
{
$lang->xuanxuan = new stdclass();
@@ -1,4 +1,10 @@
<?php
global $config;
list($productModule, $productMethod) = explode('-', $config->productLink);
list($projectModule, $projectMethod) = explode('-', $config->projectLink);
list($executionModule, $executionMethod) = explode('-', $config->executionLink);
$lang->execution->common = '看板';
$lang->executionCommon = '看板';
$lang->task->common = '任务';
@@ -54,7 +60,6 @@ $lang->task->common = '任务';
$lang->dashboard = isset($lang->dashboard->common) ? $lang->dashboard->common : $lang->dashboard;
/* Feedback. */
global $config;
if($config->edition != 'open')
{
$lang->feedback->menu->ticket = array('link' => '工单|ticket|browse|browseType=unclosed');
@@ -195,7 +200,6 @@ $lang->createObjects['kanban'] = '通用看板';
$lang->createIcons['execution'] = 'kanban';
/* Xuan */
global $config;
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
{
$lang->xuanxuan = new stdclass();