* Modify lite language.

This commit is contained in:
caoyanyi
2023-02-23 10:51:07 +08:00
parent 59527ae349
commit 0d847aaccc
10 changed files with 32 additions and 40 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
$lang->my->featureBar['contribute']['task'] = array();
$lang->my->featureBar['contribute']['task']['assignedTo'] = 'AssignedToMe';
$lang->my->featureBar['contribute']['task']['openedBy'] = 'CreatedByMe';
$lang->my->featureBar['contribute']['task']['finishedBy'] = 'FinishedByMe';
$lang->my->featureBar['contribute']['task']['closedBy'] = 'ClosedByMe';
$lang->my->featureBar['contribute']['task']['canceledBy'] = 'CancelledByMe';
+7
View File
@@ -0,0 +1,7 @@
<?php
$lang->my->featureBar['contribute']['task'] = array();
$lang->my->featureBar['contribute']['task']['assignedTo'] = 'AssignedToMe';
$lang->my->featureBar['contribute']['task']['openedBy'] = 'CreatedByMe';
$lang->my->featureBar['contribute']['task']['finishedBy'] = 'FinishedByMe';
$lang->my->featureBar['contribute']['task']['closedBy'] = 'ClosedByMe';
$lang->my->featureBar['contribute']['task']['canceledBy'] = 'CancelledByMe';
+7
View File
@@ -0,0 +1,7 @@
<?php
$lang->my->featureBar['contribute']['task'] = array();
$lang->my->featureBar['contribute']['task']['assignedTo'] = 'AssignedToMe';
$lang->my->featureBar['contribute']['task']['openedBy'] = 'CreatedByMe';
$lang->my->featureBar['contribute']['task']['finishedBy'] = 'FinishedByMe';
$lang->my->featureBar['contribute']['task']['closedBy'] = 'ClosedByMe';
$lang->my->featureBar['contribute']['task']['canceledBy'] = 'CancelledByMe';
@@ -0,0 +1,7 @@
<?php
$lang->my->featureBar['contribute']['task'] = array();
$lang->my->featureBar['contribute']['task']['assignedTo'] = '指派给我';
$lang->my->featureBar['contribute']['task']['openedBy'] = '由我创建';
$lang->my->featureBar['contribute']['task']['finishedBy'] = '由我完成';
$lang->my->featureBar['contribute']['task']['closedBy'] = '由我关闭';
$lang->my->featureBar['contribute']['task']['canceledBy'] = '由我取消';
+4 -5
View File
@@ -19,11 +19,10 @@
<?php $recTotalLabel = " <span class='label label-light label-badge'>{$pager->recTotal}</span>"; ?>
<?php if($app->rawMethod == 'contribute'):?>
<?php
echo html::a(inlink($app->rawMethod, "mode=$mode&type=assignedTo"), "<span class='text'>{$lang->my->taskMenu->assignedToMe}</span>" . ($type == 'assignedTo' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'assignedTo' ? ' btn-active-text' : '') . "'");
echo html::a(inlink($app->rawMethod, "mode=$mode&type=openedBy"), "<span class='text'>{$lang->my->taskMenu->openedByMe}</span>" . ($type == 'openedBy' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'openedBy' ? ' btn-active-text' : '') . "'");
echo html::a(inlink($app->rawMethod, "mode=$mode&type=finishedBy"), "<span class='text'>{$lang->my->taskMenu->finishedByMe}</span>" . ($type == 'finishedBy' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'finishedBy' ? ' btn-active-text' : '') . "'");
echo html::a(inlink($app->rawMethod, "mode=$mode&type=closedBy"), "<span class='text'>{$lang->my->taskMenu->closedByMe}</span>" . ($type == 'closedBy' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'closedBy' ? ' btn-active-text' : '') . "'");
echo html::a(inlink($app->rawMethod, "mode=$mode&type=canceledBy"), "<span class='text'>{$lang->my->taskMenu->canceledByMe}</span>" . ($type == 'canceledBy' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'canceledBy' ? ' btn-active-text' : '') . "'");
foreach($lang->my->featureBar[$app->rawMethod]['task'] as $key => $name)
{
echo html::a(inlink($app->rawMethod, "mode=$mode&type=$key"), "<span class='text'>{$name}</span>" . ($type == $key ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == $key ? ' btn-active-text' : '') . "'");
}
?>
<?php endif;?>
</div>
-7
View File
@@ -90,13 +90,6 @@ $lang->my->auditField->oaTitle['makeup'] = '%s application for makeup:%s';
$lang->my->auditField->oaTitle['overtime'] = '%s application for overtime: %s';
$lang->my->auditField->oaTitle['lieu'] = '%s application for lieu: %s';
$lang->my->projectMenu = new stdclass();
$lang->my->projectMenu->doing = 'Doing';
$lang->my->projectMenu->wait = 'Waiting';
$lang->my->projectMenu->suspended = 'Suspended';
$lang->my->projectMenu->closed = 'Closed';
$lang->my->projectMenu->openedbyme = 'CreatedByMe';
$lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basic Info';
$lang->my->form->lblContact = 'Contact Info';
-7
View File
@@ -90,13 +90,6 @@ $lang->my->auditField->oaTitle['makeup'] = '%s application for makeup:%s';
$lang->my->auditField->oaTitle['overtime'] = '%s application for overtime: %s';
$lang->my->auditField->oaTitle['lieu'] = '%s application for lieu: %s';
$lang->my->projectMenu = new stdclass();
$lang->my->projectMenu->doing = 'Doing';
$lang->my->projectMenu->wait = 'Waiting';
$lang->my->projectMenu->suspended = 'Suspended';
$lang->my->projectMenu->closed = 'Closed';
$lang->my->projectMenu->openedbyme = 'CreatedByMe';
$lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basic Info';
$lang->my->form->lblContact = 'Contact Info';
-7
View File
@@ -90,13 +90,6 @@ $lang->my->auditField->oaTitle['makeup'] = '%s application for makeup:%s';
$lang->my->auditField->oaTitle['overtime'] = '%s application for overtime: %s';
$lang->my->auditField->oaTitle['lieu'] = '%s application for lieu: %s';
$lang->my->projectMenu = new stdclass();
$lang->my->projectMenu->doing = 'Doing';
$lang->my->projectMenu->wait = 'Waiting';
$lang->my->projectMenu->suspended = 'Suspended';
$lang->my->projectMenu->closed = 'Closed';
$lang->my->projectMenu->openedbyme = 'CreatedByMe';
$lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basic Info';
$lang->my->form->lblContact = 'Contact Info';
-7
View File
@@ -61,13 +61,6 @@ $lang->my->storyMenu->openedByMe = 'CreatedByMe';
$lang->my->storyMenu->reviewedByMe = 'ReviewedByMe';
$lang->my->storyMenu->closedByMe = 'ClosedByMe';
$lang->my->projectMenu = new stdclass();
$lang->my->projectMenu->doing = 'Doing';
$lang->my->projectMenu->wait = 'Waiting';
$lang->my->projectMenu->suspended = 'Suspended';
$lang->my->projectMenu->closed = 'Closed';
$lang->my->projectMenu->openedbyme = 'CreatedByMe';
$lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basic Info';
$lang->my->form->lblContact = 'Contact Info';
-7
View File
@@ -90,13 +90,6 @@ $lang->my->auditField->oaTitle['makeup'] = '%s的补班申请:%s';
$lang->my->auditField->oaTitle['overtime'] = '%s的加班申请:%s';
$lang->my->auditField->oaTitle['lieu'] = '%s的调休申请:%s';
$lang->my->projectMenu = new stdclass();
$lang->my->projectMenu->doing = '进行中';
$lang->my->projectMenu->wait = '未开始';
$lang->my->projectMenu->suspended = '已挂起';
$lang->my->projectMenu->closed = '已关闭';
$lang->my->projectMenu->openedbyme = '由我创建';
$lang->my->form = new stdclass();
$lang->my->form->lblBasic = '基本信息';
$lang->my->form->lblContact = '联系信息';