* Rename $lang->colon to $lang->hyphen.

This commit is contained in:
liugang
2024-04-28 14:35:26 +08:00
parent 703b3d08c4
commit 1c13a31e99
95 changed files with 319 additions and 319 deletions
@@ -96,7 +96,7 @@ class product extends control
$productName = ($this->app->rawModule == 'projectstory' and empty($productID)) ? $this->lang->product->all : $this->products[$productID];
/* Assign. */
$this->view->title = $productName . $this->lang->colon . $this->lang->product->browse;
$this->view->title = $productName . $this->lang->hyphen . $this->lang->product->browse;
$this->view->moduleID = $moduleID;
$this->view->pager = $pager;
$this->view->orderBy = $orderBy;
@@ -51,7 +51,7 @@ formBatchPanel
(
set::id('dataform'),
set::ajax(array('beforeSubmit' => jsRaw('clickSubmit'))),
set::title($storyID ? $storyTitle . $lang->colon . $this->lang->story->subdivide : $this->lang->story->batchCreate),
set::title($storyID ? $storyTitle . $lang->hyphen . $this->lang->story->subdivide : $this->lang->story->batchCreate),
set::uploadParams('module=story&params=' . helper::safe64Encode("productID=$productID&branch=$branch&moduleID=$moduleID&storyID=$storyID&executionID=$executionID&plan=&type=$type")),
set::pasteField('title'),
set::customFields(array('list' => array(), 'show' => $showFields, 'key' => 'batchCreateFields')),
@@ -18,7 +18,7 @@
<div class='main-content' id='mainContent'>
<div class='main-header'>
<h2>
<?php echo $lang->story->common . $lang->colon . $lang->story->batchEdit;?>
<?php echo $lang->story->common . $lang->hyphen . $lang->story->batchEdit;?>
</h2>
</div>
<?php if(isset($suhosinInfo)):?>
@@ -22,7 +22,7 @@
<div class="main-header clearfix">
<h2 class="pull-left">
<?php if($parent):?>
<span class='pull-left'><?php echo $parentTitle . $this->lang->colon;?></span>
<span class='pull-left'><?php echo $parentTitle . $this->lang->hyphen;?></span>
<?php echo $lang->task->batchCreateChildren;?>
<?php else:?>
<?php echo $lang->task->batchCreate;?>
+1 -1
View File
@@ -161,7 +161,7 @@ div
div
(
setClass('entity-label flex items-center gap-x-2 entity-title text-lg font-bold'),
$lang->tree->common . $lang->colon . $root->name
$lang->tree->common . $lang->hyphen . $root->name
)
);
@@ -173,7 +173,7 @@ div
div
(
setClass('entity-label flex items-center gap-x-2 entity-title text-lg font-bold'),
$lang->tree->common . $lang->colon . $root->name
$lang->tree->common . $lang->hyphen . $root->name
)
);
@@ -26,7 +26,7 @@ li.story-item > .tree-actions .tree-action[data-type=delete] {display: none;}
</a>
<div class="divider"></div>
<div class="page-title">
<span class='text' title='<?php echo $root->name;?>'><?php echo $lang->tree->common . $lang->colon . $root->name;?></span>
<span class='text' title='<?php echo $root->name;?>'><?php echo $lang->tree->common . $lang->hyphen . $root->name;?></span>
</div>
</div>
</div>
+2 -2
View File
@@ -188,7 +188,7 @@ class admin extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true));
}
$this->view->title = $this->lang->admin->safe->common . $this->lang->colon . $this->lang->admin->safe->set;
$this->view->title = $this->lang->admin->safe->common . $this->lang->hyphen . $this->lang->admin->safe->set;
$this->view->gdInfo = function_exists('gd_info') ? gd_info() : array();
$this->display();
}
@@ -202,7 +202,7 @@ class admin extends control
*/
public function checkWeak()
{
$this->view->title = $this->lang->admin->safe->common . $this->lang->colon . $this->lang->admin->safe->checkWeak;
$this->view->title = $this->lang->admin->safe->common . $this->lang->hyphen . $this->lang->admin->safe->checkWeak;
$this->view->weakUsers = $this->loadModel('user')->getWeakUsers();
$this->display();
}
+5 -5
View File
@@ -581,7 +581,7 @@ class ai extends control
$this->view->prompt = $prompt;
$this->view->promptID = $promptID;
$this->view->lastActiveStep = $this->ai->getLastActiveStep($prompt);
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->colon} " . $this->lang->ai->prompts->assignRole . " {$this->lang->colon} " . $this->lang->ai->prompts->common;
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->hyphen} " . $this->lang->ai->prompts->assignRole . " {$this->lang->hyphen} " . $this->lang->ai->prompts->common;
$this->view->roleTemplates = $this->ai->getRoleTemplates();
$this->display();
}
@@ -620,7 +620,7 @@ class ai extends control
$this->view->prompt = $prompt;
$this->view->promptID = $promptID;
$this->view->lastActiveStep = $this->ai->getLastActiveStep($prompt);
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->colon} " . $this->lang->ai->prompts->selectDataSource . " {$this->lang->colon} " . $this->lang->ai->prompts->common;
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->hyphen} " . $this->lang->ai->prompts->selectDataSource . " {$this->lang->hyphen} " . $this->lang->ai->prompts->common;
$this->display();
}
@@ -656,7 +656,7 @@ class ai extends control
$this->view->prompt = $prompt;
$this->view->promptID = $promptID;
$this->view->lastActiveStep = $this->ai->getLastActiveStep($prompt);
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->colon} " . $this->lang->ai->prompts->setPurpose . " {$this->lang->colon} " . $this->lang->ai->prompts->common;
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->hyphen} " . $this->lang->ai->prompts->setPurpose . " {$this->lang->hyphen} " . $this->lang->ai->prompts->common;
$this->display();
}
@@ -697,7 +697,7 @@ class ai extends control
$this->view->prompt = $prompt;
$this->view->promptID = $promptID;
$this->view->lastActiveStep = $this->ai->getLastActiveStep($prompt);
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->colon} " . $this->lang->ai->prompts->setTargetForm . " {$this->lang->colon} " . $this->lang->ai->prompts->common;
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->hyphen} " . $this->lang->ai->prompts->setTargetForm . " {$this->lang->hyphen} " . $this->lang->ai->prompts->common;
$this->display();
}
@@ -735,7 +735,7 @@ class ai extends control
$this->view->prompt = $prompt;
$this->view->promptID = $promptID;
$this->view->lastActiveStep = $this->ai->getLastActiveStep($prompt);
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->colon} " . $this->lang->ai->prompts->finalize . " {$this->lang->colon} " . $this->lang->ai->prompts->common;
$this->view->title = "{$this->lang->ai->prompts->common}#{$prompt->id} $prompt->name {$this->lang->hyphen} " . $this->lang->ai->prompts->finalize . " {$this->lang->hyphen} " . $this->lang->ai->prompts->common;
$this->display();
}
+2 -2
View File
@@ -489,7 +489,7 @@ class api extends control
$this->setMenu($libID, $space);
$lib = $this->doc->getLibByID($libID);
$libName = isset($lib->name) ? $lib->name . $this->lang->colon : '';
$libName = isset($lib->name) ? $lib->name . $this->lang->hyphen : '';
$this->view->title = $libName . $this->lang->api->create;
$this->view->allUsers = $this->loadModel('user')->getPairs('devfirst|noclosed');
@@ -526,7 +526,7 @@ class api extends control
$this->setMenu($api->lib);
$this->getTypeOptions($api->lib);
$this->view->title = $api->title . $this->lang->colon . $this->lang->api->edit;
$this->view->title = $api->title . $this->lang->hyphen . $this->lang->api->edit;
$this->view->api = $api;
$this->view->allUsers = $this->loadModel('user')->getPairs('devfirst|noclosed');;
$this->view->moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($api->lib, 'api', $startModuleID = 0);
+1 -1
View File
@@ -712,7 +712,7 @@ class blockZen extends block
$branches = $product->type == 'normal' ? array(0 => '') : $this->loadModel('branch')->getPairs($productID, 'active');
/* Assign view data. */
$this->view->title = $product->name . $this->lang->colon . $this->lang->product->roadmap;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->product->roadmap;
$this->view->product = $product;
$this->view->roadmaps = $roadmaps;
$this->view->branches = $branches;
+3 -3
View File
@@ -686,7 +686,7 @@ class bug extends control
$this->qa->setMenu($productID, $branchID);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->common . $this->lang->colon . $this->lang->bug->reportChart;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->bug->common . $this->lang->hyphen . $this->lang->bug->reportChart;
$this->view->productID = $productID;
$this->view->browseType = $browseType;
$this->view->branchID = $branchID;
@@ -801,7 +801,7 @@ class bug extends control
/* Show the variables associated with the batch creation bugs. */
$this->bugZen->assignBatchCreateVars($executionID, $product, $branch, $output, $bugImagesFile);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->batchCreate;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->bug->batchCreate;
$this->view->moduleID = $moduleID;
$this->view->product = $product;
$this->display();
@@ -1288,7 +1288,7 @@ class bug extends control
/* 展示关联的变量。 */
/* Show the variables associated. */
$bugIdList = array_unique($this->post->bugIdList);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->batchActivate;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->bug->batchActivate;
$this->view->bugs = $this->bug->getByIdList($bugIdList);
$this->view->users = $this->user->getPairs('noclosed');
$this->view->builds = $this->loadModel('build')->getBuildPairs(array($productID), $branch, 'noempty,noreleased');
+1 -1
View File
@@ -27,7 +27,7 @@ foreach($bugs as $bug)
formBatchPanel
(
set::title($lang->bug->common . $lang->colon . $lang->bug->batchActivate),
set::title($lang->bug->common . $lang->hyphen . $lang->bug->batchActivate),
set::mode('edit'),
set::items($items),
set::data(array_values($bugs))
+1 -1
View File
@@ -23,7 +23,7 @@ if($this->config->edition != 'open')
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2><?php echo $lang->bug->common . $lang->colon . $lang->bug->batchActivate;?></h2>
<h2><?php echo $lang->bug->common . $lang->hyphen . $lang->bug->batchActivate;?></h2>
</div>
<form class='main-form' method='post' target='hiddenwin'>
<table class='table table-form table-fixed'>
+1 -1
View File
@@ -17,7 +17,7 @@
<?php js::set('requiredFields', $config->bug->edit->requiredFields);?>
<div id='mainContent' class='main-content fade'>
<div class='main-header'>
<h2><?php echo $lang->bug->common . $lang->colon . $lang->bug->batchEdit;?></h2>
<h2><?php echo $lang->bug->common . $lang->hyphen . $lang->bug->batchEdit;?></h2>
<div class="pull-right btn-toolbar">
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=bug&section=custom&key=batchEditFields')?>
<?php include '../../common/view/customfield.html.php';?>
+2 -2
View File
@@ -34,7 +34,7 @@
<span class='label label-danger'><?php echo $lang->bug->deleted;?></span>
<?php endif; ?>
<?php if($bug->case):?>
<small><?php echo html::a(helper::createLink('testcase', 'view', "caseID=$bug->case&version=$bug->caseVersion", '', true), "<i class='icon icon-sitemap'></i> {$lang->bug->fromCase}$lang->colon$bug->case", '', isonlybody() ? '' : "data-toggle='modal' data-type='iframe' data-width='80%'");?></small>
<small><?php echo html::a(helper::createLink('testcase', 'view', "caseID=$bug->case&version=$bug->caseVersion", '', true), "<i class='icon icon-sitemap'></i> {$lang->bug->fromCase}$lang->hyphen$bug->case", '', isonlybody() ? '' : "data-toggle='modal' data-type='iframe' data-width='80%'");?></small>
<?php endif;?>
</div>
</div>
@@ -159,7 +159,7 @@
</tr>
<tr>
<th><?php echo $lang->bug->fromCase;?></th>
<td><?php if($bug->case) echo html::a(helper::createLink('testcase', 'view', "caseID=$bug->case&version=$bug->caseVersion", '', true), "<i class='icon icon-sitemap'></i> {$lang->bug->fromCase}$lang->colon$bug->case", '', isonlybody() ? '' : "data-toggle='modal' data-type='iframe' data-width='80%'");?></td>
<td><?php if($bug->case) echo html::a(helper::createLink('testcase', 'view', "caseID=$bug->case&version=$bug->caseVersion", '', true), "<i class='icon icon-sitemap'></i> {$lang->bug->fromCase}$lang->hyphen$bug->case", '', isonlybody() ? '' : "data-toggle='modal' data-type='iframe' data-width='80%'");?></td>
</tr>
<tr valign='middle' class='<?php if($product->shadow and isset($project) and empty($project->multiple)) echo 'hide'?>'>
<th><?php echo $lang->bug->plan;?></th>
+3 -3
View File
@@ -773,7 +773,7 @@ class bugZen extends bug
$showModule = !empty($this->config->bug->browse->showModule) ? $this->config->bug->browse->showModule : '';
/* Set view. */
$this->view->title = $product->name . $this->lang->colon . $this->lang->bug->common;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->bug->common;
$this->view->product = $product;
$this->view->branch = $branch;
$this->view->browseType = $browseType;
@@ -1063,7 +1063,7 @@ class bugZen extends bug
$bug = $this->gettasksForCreate($bug);
if(in_array($this->config->edition, array('max', 'ipd'))) $this->view->injectionList = $this->view->identifyList = $this->loadModel('review')->getPairs($bug->projectID, $bug->productID, true);
$this->view->title = isset($this->products[$bug->productID]) ? $this->products[$bug->productID] . $this->lang->colon . $this->lang->bug->create : $this->lang->bug->create;
$this->view->title = isset($this->products[$bug->productID]) ? $this->products[$bug->productID] . $this->lang->hyphen . $this->lang->bug->create : $this->lang->bug->create;
$this->view->productMembers = $this->getProductMembersForCreate($bug);
$this->view->gobackLink = $from == 'global' ? $this->createLink('bug', 'browse', "productID=$bug->productID") : '';
$this->view->productName = isset($this->products[$bug->productID]) ? $this->products[$bug->productID] : '';
@@ -1547,7 +1547,7 @@ class bugZen extends bug
/* Get custom Fields. */
foreach(explode(',', $this->config->bug->list->customBatchEditFields) as $field) $customFields[$field] = $this->lang->bug->$field;
$this->view->title = ($productID ? (zget($products, $productID, '', $products[$productID]->name . $this->lang->colon) . "BUG") : '') . $this->lang->bug->batchEdit;
$this->view->title = ($productID ? (zget($products, $productID, '', $products[$productID]->name . $this->lang->hyphen) . "BUG") : '') . $this->lang->bug->batchEdit;
$this->view->customFields = $customFields;
/* Judge whether the editedBugs is too large and set session. */
+1 -1
View File
@@ -116,7 +116,7 @@ class buildZen extends build
$products = array();
foreach($productGroups as $product) $products[$product->id] = $product->name;
$this->view->title = $build->name . $this->lang->colon . $this->lang->build->edit;
$this->view->title = $build->name . $this->lang->hyphen . $this->lang->build->edit;
$this->view->products = $products;
$this->view->product = isset($productGroups[$build->product]) ? $productGroups[$build->product] : '';
$this->view->users = $this->loadModel('user')->getPairs('noletter', $build->builder);
+7 -7
View File
@@ -57,7 +57,7 @@ class caselib extends control
$libID = $this->caselibZen->saveLibState(0, $libraries);
$this->caselib->setLibMenu($libraries, $libID);
$this->view->title = $this->lang->caselib->common . $this->lang->colon . $this->lang->caselib->create;
$this->view->title = $this->lang->caselib->common . $this->lang->hyphen . $this->lang->caselib->create;
$this->display();
}
@@ -91,7 +91,7 @@ class caselib extends control
$libID = $this->caselibZen->saveLibState($libID, $libraries);
$this->caselib->setLibMenu($libraries, $libID);
$this->view->title = $libraries[$libID] . $this->lang->colon . $this->lang->caselib->edit;
$this->view->title = $libraries[$libID] . $this->lang->hyphen . $this->lang->caselib->edit;
$this->view->lib = $this->caselib->getByID($libID);
$this->display();
}
@@ -164,7 +164,7 @@ class caselib extends control
$this->loadModel('testcase');
$this->view->title = $this->lang->caselib->common . $this->lang->colon . $libraries[$libID];
$this->view->title = $this->lang->caselib->common . $this->lang->hyphen . $libraries[$libID];
$this->view->libID = $libID;
$this->view->libName = $libraries[$libID];
$this->view->cases = $cases;
@@ -234,7 +234,7 @@ class caselib extends control
/* Show the variables associated. */
$this->app->loadLang('testcase');
$this->view->title = $libraries[$libID] . $this->lang->colon . $this->lang->testcase->create;
$this->view->title = $libraries[$libID] . $this->lang->hyphen . $this->lang->testcase->create;
$this->view->showFields = $this->config->caselib->custom->createFields;
$this->view->customFields = $customFields;
$this->view->libraries = $libraries;
@@ -274,7 +274,7 @@ class caselib extends control
/* Set lib menu. */
$this->caselib->setLibMenu($libraries, $libID);
$this->view->title = $libraries[$libID] . $this->lang->colon . $this->lang->testcase->batchCreate;
$this->view->title = $libraries[$libID] . $this->lang->hyphen . $this->lang->testcase->batchCreate;
$this->view->libID = $libID;
$this->view->moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($libID, 'caselib', 0);
$this->view->currentModuleID = $moduleID;
@@ -299,7 +299,7 @@ class caselib extends control
$this->caselib->setLibMenu($libraries, $libID);
$this->app->loadLang('testcase');
$this->view->title = $lib->name . $this->lang->colon . $this->lang->caselib->view;
$this->view->title = $lib->name . $this->lang->hyphen . $this->lang->caselib->view;
$this->view->lib = $lib;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');
$this->view->actions = $this->loadModel('action')->getList('caselib', $libID);
@@ -449,7 +449,7 @@ class caselib extends control
$caseData = array_slice($caseData, ($pageID - 1) * $maxImport, $maxImport, true);
}
$this->view->title = $this->lang->caselib->common . $this->lang->colon . $this->lang->testcase->showImport;
$this->view->title = $this->lang->caselib->common . $this->lang->hyphen . $this->lang->testcase->showImport;
$this->view->cases = $this->dao->select('id,module,stage,status,pri,type')->from(TABLE_CASE)->where('lib')->eq($libID)->andWhere('deleted')->eq(0)->andWhere('product')->eq(0)->fetchAll('id');
$this->view->modules = $this->loadModel('tree')->getOptionMenu($libID, $viewType = 'caselib', $startModuleID = 0);
$this->view->caseData = $caseData;
+1 -1
View File
@@ -15,7 +15,7 @@ include (dirname(__FILE__) . '/common.php');
global $config;
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '.';
$lang->at = ' am ';
+1 -1
View File
@@ -15,7 +15,7 @@ include (dirname(__FILE__) . '/common.php');
global $config;
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '.';
$lang->at = ' on ';
+1 -1
View File
@@ -15,7 +15,7 @@ include (dirname(__FILE__) . '/common.php');
global $config;
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '.';
$lang->at = ' à ';
+1 -1
View File
@@ -10,7 +10,7 @@
* @link https://www.zentao.net
*/
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '.';
$lang->at = ' on ';
+1 -1
View File
@@ -15,7 +15,7 @@ include(dirname(__FILE__) . '/common.php');
global $config;
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '。';
$lang->at = ' 于 ';
+1 -1
View File
@@ -15,7 +15,7 @@ include(dirname(__FILE__) . '/common.php');
global $config;
$lang->arrow = '&nbsp;<i class="icon-angle-right"></i>&nbsp;';
$lang->colon = '-';
$lang->hyphen = '-';
$lang->comma = ',';
$lang->dot = '。';
$lang->at = ' 于 ';
+4 -4
View File
@@ -73,7 +73,7 @@ class company extends control
$users = $this->company->getUsers($browseType, $type, $queryID, $deptID, $sort, $pager);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'user');
$this->view->title = $this->lang->company->index . $this->lang->colon . $this->lang->dept->common;
$this->view->title = $this->lang->company->index . $this->lang->hyphen . $this->lang->dept->common;
$this->view->users = array_map(function($user){unset($user->password);return $user;}, $users);
$this->view->deptTree = $this->dept->getTreeMenu(0, array('deptModel', 'createMemberLink'));
$this->view->orderBy = $orderBy;
@@ -110,7 +110,7 @@ class company extends control
return $this->sendSuccess(array('load' => true));
}
$this->view->title = $this->lang->company->common . $this->lang->colon . $this->lang->company->edit;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $this->lang->company->edit;
$this->view->company = $this->company->getByID($this->app->company->id);
$this->display();
}
@@ -124,7 +124,7 @@ class company extends control
*/
public function view()
{
$this->view->title = $this->lang->company->common . $this->lang->colon . $this->lang->company->view;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $this->lang->company->view;
$this->view->company = $this->company->getByID($this->app->company->id);
$this->display();
}
@@ -179,7 +179,7 @@ class company extends control
if(empty($recTotal)) $recTotal = !(empty($date) && $browseType == 'all') ? array_sum(array_map('count', $dateGroups)) : $this->action->getDynamicCount();
/* Assign.*/
$this->view->title = $this->lang->company->common . $this->lang->colon . $this->lang->company->dynamic;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $this->lang->company->dynamic;
$this->view->recTotal = $recTotal;
$this->view->browseType = $browseType;
$this->view->account = $account;
+2 -2
View File
@@ -69,7 +69,7 @@ class compile extends control
foreach($buildList as $build) $build->triggerType = $this->loadModel('job')->getTriggerConfig($build);
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->compile->browse;
$this->view->title = $this->lang->ci->job . $this->lang->hyphen . $this->lang->compile->browse;
$this->view->repoID = $repoID;
$this->view->jobID = $jobID;
$this->view->buildList = $buildList;
@@ -103,7 +103,7 @@ class compile extends control
$this->view->logs = $logs;
$this->view->build = $build;
$this->view->job = $job;
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->compile->logs;
$this->view->title = $this->lang->ci->job . $this->lang->hyphen . $this->lang->compile->logs;
$this->display();
}
+4 -4
View File
@@ -35,7 +35,7 @@ class convert extends control
*/
public function selectSource()
{
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->start;
$this->view->title = $this->lang->convert->common . $this->lang->hyphen . $this->lang->convert->start;
$this->display();
}
@@ -54,7 +54,7 @@ class convert extends control
list($sourceName, $version) = explode('_', $this->post->source);
$setFunc = "set$sourceName";
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->setting;
$this->view->title = $this->lang->convert->common . $this->lang->hyphen . $this->lang->convert->setting;
$this->view->source = $sourceName;
$this->view->version = $version;
$this->view->setting = $this->fetch('convert', $setFunc, "version=$version");
@@ -106,7 +106,7 @@ class convert extends control
public function checkConfig()
{
$checkFunc = 'check' . $this->post->source;
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->checkConfig;
$this->view->title = $this->lang->convert->common . $this->lang->hyphen . $this->lang->convert->checkConfig;
$this->view->source = $this->post->source;
$this->view->checkResult = $this->fetch('convert', $checkFunc, "version={$this->post->version}");
$this->display();
@@ -192,7 +192,7 @@ class convert extends control
public function execute()
{
$convertFunc = 'convert' . $this->post->source;
$this->view->title = $this->lang->convert->common . $this->lang->colon . $this->lang->convert->execute;
$this->view->title = $this->lang->convert->common . $this->lang->hyphen . $this->lang->convert->execute;
$this->view->source = $this->post->source;
$this->view->version = $this->post->version;
$this->view->executeResult = $this->fetch('convert', $convertFunc, "version={$this->post->version}");
+1 -1
View File
@@ -58,7 +58,7 @@ class custom extends control
return $this->sendSuccess(array('load' => $this->createLink('custom', 'set', "module=$module&field=$field&lang=" . ($lang == 'all' ? $lang : ''))));
}
$this->view->title = $this->lang->custom->common . $this->lang->colon . $this->lang->$module->common;
$this->view->title = $this->lang->custom->common . $this->lang->hyphen . $this->lang->$module->common;
$this->view->field = $field;
$this->view->lang2Set = str_replace('_', '-', $lang);
$this->view->module = $module;
+1 -1
View File
@@ -21,7 +21,7 @@ class dept extends control
*/
public function browse(int $deptID = 0)
{
$this->view->title = $this->lang->dept->manage . $this->lang->colon . $this->app->company->name;
$this->view->title = $this->lang->dept->manage . $this->lang->hyphen . $this->app->company->name;
$this->view->deptID = $deptID;
$this->view->sons = $this->dept->getSons($deptID);
$this->view->tree = $this->dept->getDataStructure();
+8 -8
View File
@@ -107,7 +107,7 @@ class design extends control
if(isset($project->hasProduct) && $project->hasProduct) $this->config->design->dtable->fieldList['product']['map'] = $this->view->products;
if(!helper::hasFeature('devops')) $this->config->design->dtable->fieldList['actions']['menu'] = array('edit', 'delete');
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->browse;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->browse;
$this->view->designs = $this->design->getList($projectID, $productID, $type, $queryID, $orderBy, $pager);
$this->view->projectID = $projectID;
$this->view->productID = $productID;
@@ -151,7 +151,7 @@ class design extends control
$products = $this->product->getProductPairsByProject($projectID);
$productIdList = $productID ? $productID : array_keys($products);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->create;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->create;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->stories = $this->loadModel('story')->getProductStoryPairs($productIdList, 'all', 0, 'active', 'id_desc', 0, 'full', 'story', false);
$this->view->productID = $productID;
@@ -190,7 +190,7 @@ class design extends control
$project = $this->loadModel('project')->getByID($projectID);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->batchCreate;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->batchCreate;
$this->view->stories = $this->loadModel('story')->getProductStoryPairs($productIdList);
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->type = $type;
@@ -220,7 +220,7 @@ class design extends control
$productIdList = $design->product ? $design->product : array_keys($products);
$project = $this->loadModel('project')->getByID($design->project);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->view;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->view;
$this->view->design = $design;
$this->view->stories = $this->loadModel('story')->getProductStoryPairs($productIdList);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -266,7 +266,7 @@ class design extends control
$productIdList = $design->product ? $design->product : array_keys($products);
$project = $this->loadModel('project')->getByID($design->project);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->edit;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->edit;
$this->view->design = $design;
$this->view->project = $project;
$this->view->stories = $this->loadModel('story')->getProductStoryPairs($productIdList);
@@ -331,7 +331,7 @@ class design extends control
$this->config->design->linkcommit->dtable->fieldList['revision']['link'] = sprintf($this->config->design->linkcommit->dtable->fieldList['revision']['link'], $repoID, $design->project);
if(empty($repo->SCM) || $repo->SCM != 'Git') unset($this->config->design->linkcommit->dtable->fieldList['commit']);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->linkCommit;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->linkCommit;
$this->view->repos = $repos;
$this->view->repoID = $repoID;
$this->view->repo = $repo;
@@ -385,7 +385,7 @@ class design extends control
$this->config->design->viewcommit->dtable->fieldList['actions']['list']['unlinkCommit']['url'] = sprintf($this->config->design->viewcommit->actionList['unlinkCommit']['url'], $designID);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->submission;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->submission;
$this->view->design = $design;
$this->view->pager = $pager;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -499,7 +499,7 @@ class design extends control
$design = $this->design->getByID($designID);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->assignedTo;
$this->view->title = $this->lang->design->common . $this->lang->hyphen . $this->lang->design->assignedTo;
$this->view->design = $design;
$this->view->users = $this->loadModel('project')->getTeamMemberPairs($design->project);
$this->display();
+3 -3
View File
@@ -355,7 +355,7 @@ class doc extends control
$this->docZen->setObjectsForCreate($lib->type, $lib, $unclosed, zget($lib, $lib->type, 0));
$this->view->title = zget($lib, 'name', '', $lib->name . $this->lang->colon) . $this->lang->doc->create;
$this->view->title = zget($lib, 'name', '', $lib->name . $this->lang->hyphen) . $this->lang->doc->create;
$this->view->objectType = $objectType;
$this->view->objectID = zget($lib, $lib->type, 0);
$this->view->libID = $libID;
@@ -409,7 +409,7 @@ class doc extends control
$this->docZen->setObjectsForEdit($lib->type, $objectID);
$this->view->title = $lib->name . $this->lang->colon . $this->lang->doc->edit;
$this->view->title = $lib->name . $this->lang->hyphen . $this->lang->doc->edit;
$this->view->doc = $doc;
$this->view->moduleOptionMenu = $this->doc->getLibsOptionMenu($libs);
$this->view->type = $lib->type;
@@ -752,7 +752,7 @@ class doc extends control
$executionID = $type == 'project' && $lib->type == 'execution' ? $lib->execution : 0;
$this->view->title = $type == 'custom' ? $this->lang->doc->tableContents : $object->name . $this->lang->colon . $this->lang->doc->tableContents;
$this->view->title = $type == 'custom' ? $this->lang->doc->tableContents : $object->name . $this->lang->hyphen . $this->lang->doc->tableContents;
$this->view->type = $type;
$this->view->objectType = $type;
$this->view->spaceType = $type;
+1 -1
View File
@@ -72,7 +72,7 @@ if($config->vision == 'rnd' and ($config->edition == 'max' or $config->edition =
) : null;
}
$createInfo = $doc->status == 'draft' ? zget($users, $doc->addedBy) . " {$lang->colon} " . substr($doc->addedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->createAB : zget($users, $doc->releasedBy) . " {$lang->colon} " . substr($doc->releasedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->release;
$createInfo = $doc->status == 'draft' ? zget($users, $doc->addedBy) . " {$lang->hyphen} " . substr($doc->addedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->createAB : zget($users, $doc->releasedBy) . " {$lang->hyphen} " . substr($doc->releasedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->release;
$keywordsLabel = array();
if($doc->keywords)
+1 -1
View File
@@ -117,7 +117,7 @@
<div id="diffContain">
<div class="detail-content article-content table-col" <?php if('attachment' == $doc->type) echo 'style="max-height: 60px"';?>>
<div class='info'>
<?php $createInfo = $doc->status == 'draft' ? zget($users, $doc->addedBy) . " {$lang->colon} " . substr($doc->addedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->createAB : zget($users, $doc->releasedBy) . " {$lang->colon} " . substr($doc->releasedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->release;?>
<?php $createInfo = $doc->status == 'draft' ? zget($users, $doc->addedBy) . " {$lang->hyphen} " . substr($doc->addedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->createAB : zget($users, $doc->releasedBy) . " {$lang->hyphen} " . substr($doc->releasedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->release;?>
<span class='user-time text-muted'><i class='icon-contacts'></i> <?php echo $createInfo;?></span>
<span class='user-time text-muted'><i class='icon-star'></i> <?php echo $doc->collects;?></span>
<span class='user-time text-muted'><i class='icon-eye'></i> <?php echo $doc->views;?></span>
+2 -2
View File
@@ -521,7 +521,7 @@ class docZen extends doc
$this->setObjectsForCreate($objectType, $lib, $unclosed, $objectID);
$this->view->title = empty($lib) ? '' : zget($lib, 'name', '', $lib->name . $this->lang->colon) . $this->lang->doc->uploadDoc;
$this->view->title = empty($lib) ? '' : zget($lib, 'name', '', $lib->name . $this->lang->hyphen) . $this->lang->doc->uploadDoc;
$this->view->linkType = $objectType;
$this->view->objectType = $objectType;
$this->view->objectID = empty($lib) ? 0 : zget($lib, $lib->type, 0);
@@ -689,7 +689,7 @@ class docZen extends doc
*/
protected function assignVarsForView(int $docID, int $version, string $type, int $objectID, int $libID, object $doc, object $object, string $objectType, array $libs, array $objectDropdown): void
{
$this->view->title = $this->lang->doc->common . $this->lang->colon . $doc->title;
$this->view->title = $this->lang->doc->common . $this->lang->hyphen . $doc->title;
$this->view->docID = $docID;
$this->view->type = $type;
$this->view->objectID = $objectID;
+4 -4
View File
@@ -28,7 +28,7 @@ class entry extends control
$this->app->loadClass('pager', true);
$pager = new pager($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->entry->common . $this->lang->colon . $this->lang->entry->list;
$this->view->title = $this->lang->entry->common . $this->lang->hyphen . $this->lang->entry->list;
$this->view->entries = $this->entry->getList($orderBy, $pager);
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -62,7 +62,7 @@ class entry extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
}
$this->view->title = $this->lang->entry->common . $this->lang->colon . $this->lang->entry->create;
$this->view->title = $this->lang->entry->common . $this->lang->hyphen . $this->lang->entry->create;
$this->view->users = $this->loadModel('user')->getPairs('nodeleted|noclosed');
$this->display();
}
@@ -99,7 +99,7 @@ class entry extends control
}
$entry = $this->entry->getById($id);
$this->view->title = $this->lang->entry->edit . $this->lang->colon . $entry->name;
$this->view->title = $this->lang->entry->edit . $this->lang->hyphen . $entry->name;
$this->view->users = $this->loadModel('user')->getPairs('nodeleted|noclosed');
$this->view->entry = $entry;
$this->display();
@@ -139,7 +139,7 @@ class entry extends control
$pager = new pager($recTotal, $recPerPage, $pageID);
$entry = $this->entry->getByID($id);
$this->view->title = $this->lang->entry->log . $this->lang->colon . $entry->name;
$this->view->title = $this->lang->entry->log . $this->lang->hyphen . $entry->name;
$this->view->logs = $this->entry->getLogs($id, $orderBy, $pager);
$this->view->entry = $entry;
$this->view->orderBy = $orderBy;
+17 -17
View File
@@ -194,7 +194,7 @@ class execution extends control
if(!$execution->multiple) unset($this->config->execution->search['fields']['execution']);
$this->execution->buildTaskSearchForm($executionID, $this->executions, $queryID, $actionURL, $modules);
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->task;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->task;
$this->view->tasks = $tasks;
$this->view->pager = $pager;
$this->view->orderBy = $orderBy;
@@ -269,7 +269,7 @@ class execution extends control
list($groupTasks, $allCount) = $this->executionZen->filterGroupTasks($groupTasks, $groupBy, $filter, $allCount, $tasks);
/* Assign. */
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->task;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->task;
$this->view->members = $this->execution->getTeamMembers($executionID);
$this->view->tasks = $groupTasks;
$this->view->groupByList = $groupByList;
@@ -334,7 +334,7 @@ class execution extends control
$tasks2ImportedList = empty($tasks2ImportedList) ? $tasks2ImportedList : $tasks2ImportedList[$pageID - 1];
$tasks2ImportedList = $this->loadModel('task')->processTasks($tasks2ImportedList);
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->importTask;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->importTask;
$this->view->pager = $pager;
$this->view->orderBy = $orderBy;
$this->view->executions = $executions;
@@ -399,7 +399,7 @@ class execution extends control
if($this->app->tab == 'project') $this->view->projectID = $execution->project;
/* Assign. */
$this->view->title = $executions[$executionID] . $this->lang->colon . $this->lang->execution->importBug;
$this->view->title = $executions[$executionID] . $this->lang->hyphen . $this->lang->execution->importBug;
$this->view->pager = $pager;
$this->view->bugs = $bugs;
$this->view->browseType = $browseType;
@@ -701,7 +701,7 @@ class execution extends control
}
/* Set view data. */
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->build;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->build;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->builds = $this->executionZen->processBuildListData($builds, $executionID);
$this->view->product = $type == 'product' ? $param : '';
@@ -744,7 +744,7 @@ class execution extends control
$this->executionZen->assignTesttaskVars($tasks);
$this->view->title = $this->executions[$executionID] . $this->lang->colon . $this->lang->testtask->common;
$this->view->title = $this->executions[$executionID] . $this->lang->hyphen . $this->lang->testtask->common;
$this->view->execution = $execution;
$this->view->project = $this->loadModel('project')->getByID($execution->project);
$this->view->executionID = $executionID;
@@ -798,7 +798,7 @@ class execution extends control
unset($this->lang->TRActions);
/* Shows the variables needed to burn page. */
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->burn;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->burn;
$this->view->tabID = 'burn';
$this->view->burnBy = $burnBy;
$this->view->executionID = $executionID;
@@ -962,7 +962,7 @@ class execution extends control
$teamMembers[] = $member;
}
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->team;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->team;
$this->view->deptUsers = $this->loadModel('dept')->getDeptUserPairs($deptID, 'id');
$this->view->canBeChanged = common::canModify('execution', $execution); // Determines whether an object is editable.
$this->view->recTotal = count($this->view->teamMembers);
@@ -1184,7 +1184,7 @@ class execution extends control
unset($parentStageList[0]);
}
$this->view->title = $this->lang->execution->edit . $this->lang->colon . $execution->name;
$this->view->title = $this->lang->execution->edit . $this->lang->hyphen . $execution->name;
$this->view->executions = $executions;
$this->view->execution = $execution;
$this->view->project = $project;
@@ -1385,7 +1385,7 @@ class execution extends control
return $this->sendSuccess($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->execution->start;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->execution->start;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->actions = $this->loadModel('action')->getList($this->objectType, $executionID);
$this->display();
@@ -1425,7 +1425,7 @@ class execution extends control
return $this->sendSuccess($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->execution->putoff;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->execution->putoff;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->actions = $this->loadModel('action')->getList($this->objectType, $executionID);
$this->display();
@@ -1472,7 +1472,7 @@ class execution extends control
return $this->sendSuccess($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->execution->suspend;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->execution->suspend;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->actions = $this->loadModel('action')->getList($this->objectType, $executionID);
$this->display();
@@ -1524,7 +1524,7 @@ class execution extends control
$dateDiff = helper::diffDate($newBegin, $execution->begin);
$newEnd = date('Y-m-d', strtotime($execution->end) + $dateDiff * 24 * 3600);
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->execution->activate;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->execution->activate;
$this->view->execution = $execution;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->actions = $this->loadModel('action')->getList($this->objectType, $executionID);
@@ -1576,7 +1576,7 @@ class execution extends control
return $this->sendSuccess($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->execution->close;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->execution->close;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->actions = $this->loadModel('action')->getList($this->objectType, $executionID);
$this->display();
@@ -2145,7 +2145,7 @@ class execution extends control
if($execution->type == 'kanban') $this->lang->execution->copyTeamTitle = str_replace($this->lang->execution->common, $this->lang->execution->kanban, $this->lang->execution->copyTeamTitle);
$this->view->title = $this->lang->execution->manageMembers . $this->lang->colon . $execution->name;
$this->view->title = $this->lang->execution->manageMembers . $this->lang->hyphen . $execution->name;
$this->view->execution = $execution;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|devfirst', $appendUsers);
$this->view->roles = $this->user->getUserRoles(array_keys($this->view->users));
@@ -2310,7 +2310,7 @@ class execution extends control
$productPairs = array();
foreach($products as $id => $product) $productPairs[$id] = $product->name;
$this->view->title = $object->name . $this->lang->colon . $this->lang->execution->linkStory;
$this->view->title = $object->name . $this->lang->hyphen . $this->lang->execution->linkStory;
$this->view->objectID = $originObjectID;
$this->view->param = $param;
$this->view->extra = $extra;
@@ -2458,7 +2458,7 @@ class execution extends control
$dateGroups = $this->action->buildDateGroup($actions, $direction);
if(empty($recTotal)) $recTotal = count($dateGroups) < 2 ? count($dateGroups, 1) - count($dateGroups) : $this->action->getDynamicCount();
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->dynamic;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->dynamic;
$this->view->userIdPairs = $this->loadModel('user')->getTeamMemberPairs($executionID, 'execution', 'nodeleted|useid');
$this->view->accountPairs = $this->loadModel('user')->getPairs('noletter|nodeleted');
$this->view->executionID = $executionID;
+1 -1
View File
@@ -5104,7 +5104,7 @@ class executionModel extends model
if($this->app->viewType == 'mhtml' and $executionID)
{
$output = html::a(helper::createLink('execution', 'index'), $this->lang->executionCommon) . $this->lang->colon;
$output = html::a(helper::createLink('execution', 'index'), $this->lang->executionCommon) . $this->lang->hyphen;
$output .= "<a id='currentItem' href=\"javascript:showSearchMenu('execution', '$executionID', '$currentModule', '$currentMethod', '')\">{$currentExecutionName} <span class='icon-caret-down'></span></a><div id='currentItemDropMenu' class='hidden affix enter-from-bottom layer'></div>";
return $output;
}
+3 -3
View File
@@ -56,7 +56,7 @@ class executionZen extends execution
$build = !empty($build) ? $this->loadModel('build')->getById((int)$build) : null;
/* Assign. */
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->bug;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->bug;
$this->view->project = $project;
$this->view->orderBy = $orderBy;
$this->view->type = $type;
@@ -171,7 +171,7 @@ class executionZen extends execution
}
}
$this->view->title = $this->lang->execution->manageProducts . $this->lang->colon . $execution->name;
$this->view->title = $this->lang->execution->manageProducts . $this->lang->hyphen . $execution->name;
$this->view->execution = $execution;
$this->view->linkedProducts = $linkedProducts;
$this->view->unmodifiableProducts = $unmodifiableProducts;
@@ -263,7 +263,7 @@ class executionZen extends execution
$this->assignModuleForStory($type, $param, $storyType, $execution, $productID);
/* Assign. */
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->story;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->story;
$this->view->storyType = $storyType;
$this->view->param = $param;
$this->view->type = $this->session->executionStoryBrowseType;
+4 -4
View File
@@ -52,7 +52,7 @@ class gitea extends control
if(!$this->app->user->admin && !isset($myGiteas[$gitea->id])) $gitea->isBindUser = false;
}
$this->view->title = $this->lang->gitea->common . $this->lang->colon . $this->lang->gitea->browse;
$this->view->title = $this->lang->gitea->common . $this->lang->hyphen . $this->lang->gitea->browse;
$this->view->giteaList = $giteaList;
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -84,7 +84,7 @@ class gitea extends control
return $this->sendSuccess(array('locate' => $this->createLink('space', 'browse')));
}
$this->view->title = $this->lang->gitea->common . $this->lang->colon . $this->lang->gitea->lblCreate;
$this->view->title = $this->lang->gitea->common . $this->lang->hyphen . $this->lang->gitea->lblCreate;
$this->display();
}
@@ -99,7 +99,7 @@ class gitea extends control
{
$gitea = $this->gitea->fetchByID($giteaID);
$this->view->title = $this->lang->gitea->common . $this->lang->colon . $this->lang->gitea->view;
$this->view->title = $this->lang->gitea->common . $this->lang->hyphen . $this->lang->gitea->view;
$this->view->gitea = $gitea;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->actions = $this->loadModel('action')->getList('gitea', $giteaID);
@@ -136,7 +136,7 @@ class gitea extends control
return $this->sendSuccess(array('load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->gitea->common . $this->lang->colon . $this->lang->gitea->edit;
$this->view->title = $this->lang->gitea->common . $this->lang->hyphen . $this->lang->gitea->edit;
$this->view->gitea = $oldGitea;
$this->display();
}
+2 -2
View File
@@ -34,7 +34,7 @@ class gitfox extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('space', 'browse')));
}
$this->view->title = $this->lang->gitfox->common . $this->lang->colon . $this->lang->gitfox->lblCreate;
$this->view->title = $this->lang->gitfox->common . $this->lang->hyphen . $this->lang->gitfox->lblCreate;
$this->display();
}
@@ -68,7 +68,7 @@ class gitfox extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'callback' => 'loadCurrentPage()', 'closeModal' => true));
}
$this->view->title = $this->lang->gitfox->common . $this->lang->colon . $this->lang->gitfox->edit;
$this->view->title = $this->lang->gitfox->common . $this->lang->hyphen . $this->lang->gitfox->edit;
$this->view->gitfox = $oldGitFox;
$this->display();
+22 -22
View File
@@ -56,7 +56,7 @@ class gitlab extends control
/* Admin user don't need bind. */
$gitlabList = $this->gitlab->getList($orderBy, $pager);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browse;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browse;
$this->view->gitlabList = $gitlabList;
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -87,7 +87,7 @@ class gitlab extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('space', 'browse')));
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->lblCreate;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->lblCreate;
$this->display();
}
@@ -103,7 +103,7 @@ class gitlab extends control
{
$gitlab = $this->gitlab->getByID($gitlabID);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->view;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->view;
$this->view->gitlab = $gitlab;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->actions = $this->loadModel('action')->getList('gitlab', $gitlabID);
@@ -140,7 +140,7 @@ class gitlab extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->edit;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->edit;
$this->view->gitlab = $oldGitLab;
$this->display();
@@ -327,7 +327,7 @@ class gitlab extends control
$adminGroupIDList = array();
foreach($adminGroups as $group) $adminGroupIDList[] = $group->id;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseGroup;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseGroup;
$this->view->gitlabID = $gitlabID;
$this->view->gitlab = $this->gitlab->getByID($gitlabID);
$this->view->gitlabGroupList = $groups;
@@ -360,7 +360,7 @@ class gitlab extends control
$gitlab = $this->gitlab->getByID($gitlabID);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->group->create;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->group->create;
$this->view->gitlab = $gitlab;
$this->view->gitlabID = $gitlabID;
$this->display();
@@ -397,7 +397,7 @@ class gitlab extends control
$gitlab = $this->gitlab->getByID($gitlabID);
$group = $this->gitlab->apiGetSingleGroup($gitlabID, $groupID);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->group->edit;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->group->edit;
$this->view->gitlab = $gitlab;
$this->view->group = $group;
$this->view->gitlabID = $gitlabID;
@@ -492,7 +492,7 @@ class gitlab extends control
$accessLevels = $this->lang->gitlab->accessLevels;
$currentMembers = $this->gitlab->apiGetGroupMembers($gitlabID, $groupID);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->group->manageMembers;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->group->manageMembers;
$this->view->currentMembers = $currentMembers;
$this->view->gitlabUsers = $gitlabUsers;
$this->view->gitlabID = $gitlabID;
@@ -528,7 +528,7 @@ class gitlab extends control
}
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseUser;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseUser;
$this->view->gitlabID = $gitlabID;
$this->view->gitlabUserList = $users;
$this->view->orderBy = $orderBy;
@@ -576,7 +576,7 @@ class gitlab extends control
}
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->user->create;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->user->create;
$this->view->userPairs = $userPairs;
$this->view->users = $userInfos;
$this->view->gitlabID = $gitlabID;
@@ -618,7 +618,7 @@ class gitlab extends control
if(!isset($bindedUsers[$user->account]) or $user->account == $zentaoBindAccount) $userPairs[$user->account] = $user->realname;
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->user->edit;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->user->edit;
$this->view->user = $gitlabUser;
$this->view->userPairs = $userPairs;
$this->view->zentaoBindAccount = $zentaoBindAccount;
@@ -705,7 +705,7 @@ class gitlab extends control
$this->view->gitlab = $gitlab;
$this->view->keyword = urldecode(urldecode($keyword));
$this->view->pager = $result['pager'];
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseProject;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseProject;
$this->view->gitlabID = $gitlabID;
$this->view->gitlabProjectList = $result['projects'];
$this->view->orderBy = $orderBy;
@@ -748,7 +748,7 @@ class gitlab extends control
if($namespace->kind == 'group') $namespaces[$namespace->id] = $namespace->path;
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->project->create;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->project->create;
$this->view->gitlab = $gitlab;
$this->view->user = $user;
$this->view->namespaces = $namespaces;
@@ -778,7 +778,7 @@ class gitlab extends control
$project = $this->gitlab->apiGetSingleProject($gitlabID, $projectID);
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->project->edit;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->project->edit;
$this->view->project = $project;
$this->view->gitlabID = $gitlabID;
$this->display();
@@ -857,7 +857,7 @@ class gitlab extends control
$this->view->gitlab = $this->gitlab->getByID($gitlabID);
$this->view->pager = $pager;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseBranch;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseBranch;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->gitlabBranchList = empty($branchList) ? $branchList: $branchList[$pageID - 1];
@@ -893,7 +893,7 @@ class gitlab extends control
$branchPairs = array();
foreach($branches as $branch) $branchPairs[$branch->name] = $branch->name;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->createBranch;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->createBranch;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->branchPairs = $branchPairs;
@@ -944,7 +944,7 @@ class gitlab extends control
$this->view->gitlab = $this->gitlab->getByID($gitlabID);
$this->view->pager = $pager;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseTag;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseTag;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->keyword = $keyword;
@@ -1044,7 +1044,7 @@ class gitlab extends control
$products = $this->loadModel("product")->getPairs();
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->importIssue;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->importIssue;
$this->view->importable = empty($gitlabIssues) ? false : true;
$this->view->products = $products;
$this->view->gitlabID = $gitlabID;
@@ -1167,7 +1167,7 @@ class gitlab extends control
}
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->manageProjectMembers;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->manageProjectMembers;
$this->view->userAccessData = $userAccessData;
$this->view->users = $users;
$this->view->repo = $repo;
@@ -1248,7 +1248,7 @@ class gitlab extends control
$branches[$branch->name] = $branch->name;
}
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->createTag;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->createTag;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->branches = $branches;
@@ -1318,7 +1318,7 @@ class gitlab extends control
$branchPairs = array();
foreach($allBranches as $branch) $branchPairs[$branch->name] = $branch->name;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseBranchPriv;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseBranchPriv;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->branchPairs = $branchPairs;
@@ -1359,7 +1359,7 @@ class gitlab extends control
$tagPairs = array();
foreach($allTags as $tag) $tagPairs[$tag->name] = $tag->name;
$this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseTagPriv;
$this->view->title = $this->lang->gitlab->common . $this->lang->hyphen . $this->lang->gitlab->browseTagPriv;
$this->view->gitlabID = $gitlabID;
$this->view->projectID = $projectID;
$this->view->hasAccessTags = $hasAccessTags;
+4 -4
View File
@@ -51,7 +51,7 @@ class gogs extends control
if(!$this->app->user->admin && !isset($myGogses[$gogs->id])) $gogs->isBindUser = false;
}
$this->view->title = $this->lang->gogs->common . $this->lang->colon . $this->lang->gogs->browse;
$this->view->title = $this->lang->gogs->common . $this->lang->hyphen . $this->lang->gogs->browse;
$this->view->gogsList = $gogsList;
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -83,7 +83,7 @@ class gogs extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('space', 'browse')));
}
$this->view->title = $this->lang->gogs->common . $this->lang->colon . $this->lang->gogs->lblCreate;
$this->view->title = $this->lang->gogs->common . $this->lang->hyphen . $this->lang->gogs->lblCreate;
$this->display();
}
@@ -98,7 +98,7 @@ class gogs extends control
{
$gogs = $this->gogs->fetchByID($gogsID);
$this->view->title = $this->lang->gogs->common . $this->lang->colon . $this->lang->gogs->view;
$this->view->title = $this->lang->gogs->common . $this->lang->hyphen . $this->lang->gogs->view;
$this->view->gogs = $gogs;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->actions = $this->loadModel('action')->getList('gogs', $gogsID);
@@ -134,7 +134,7 @@ class gogs extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->gogs->common . $this->lang->colon . $this->lang->gogs->edit;
$this->view->title = $this->lang->gogs->common . $this->lang->hyphen . $this->lang->gogs->edit;
$this->view->gogs = $oldGogs;
$this->display();
}
+7 -7
View File
@@ -44,7 +44,7 @@ class group extends control
$group->users = implode(',', zget($groupUsers, $group->id, array()));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->browse;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->browse;
$this->view->groups = $groups;
$this->display();
@@ -69,7 +69,7 @@ class group extends control
return $this->sendSuccess(array('load' => true));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->create;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->create;
$this->display();
}
@@ -92,7 +92,7 @@ class group extends control
return $this->sendSuccess(array('load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->edit;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->edit;
$this->view->group = $this->group->getByID($groupID);
$this->display();
}
@@ -116,7 +116,7 @@ class group extends control
return $this->sendSuccess(array('load' => true));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->copy;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->copy;
$this->view->group = $this->group->getById($groupID);
$this->display();
}
@@ -143,7 +143,7 @@ class group extends control
/* Get the group data by id. */
$group = $this->group->getByID($groupID);
$this->view->title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->manageView;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $group->name . $this->lang->hyphen . $this->lang->group->manageView;
/* Get the list of data sets under administrator permission. */
if(!$this->app->user->admin)
@@ -233,7 +233,7 @@ class group extends control
$otherUsers = array_diff_assoc($allUsers, $groupUsers);
$outsideUsers = $this->loadModel('user')->getPairs('outside|noclosed|noletter|noempty');
$this->view->title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->manageMember;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $group->name . $this->lang->hyphen . $this->lang->group->manageMember;
$this->view->group = $group;
$this->view->deptTree = $this->loadModel('dept')->getTreeMenu($rooteDeptID = 0, array('deptModel', 'createGroupManageMemberLink'), $groupID);
$this->view->groupUsers = $groupUsers;
@@ -267,7 +267,7 @@ class group extends control
$group = $this->group->getById($groupID);
$groupUsers = $this->dao->select('t1.account, t2.realname')->from(TABLE_PROJECTADMIN)->alias('t1')->leftJoin(TABLE_USER)->alias('t2')->on('t1.account = t2.account')->fetchPairs();
$this->view->title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->manageMember;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $group->name . $this->lang->hyphen . $this->lang->group->manageMember;
$this->view->allUsers = $groupUsers + $this->loadModel('dept')->getDeptUserPairs($deptID);
$this->view->groupID = $groupID;
$this->view->deptID = $deptID;
+2 -2
View File
@@ -168,7 +168,7 @@ class groupZen extends group
$allPrivList = array_keys($allPrivList);
$relatedPrivData = $this->group->getRelatedPrivs($allPrivList, $selectedPrivList);
$this->view->title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->managePriv;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $group->name . $this->lang->hyphen . $this->lang->group->managePriv;
$this->view->allPrivList = $allPrivList;
$this->view->selectedPrivList = $selectedPrivList;
$this->view->relatedPrivData = $relatedPrivData;
@@ -225,7 +225,7 @@ class groupZen extends group
}
}
$this->view->title = $this->lang->company->common . $this->lang->colon . $this->lang->group->managePriv;
$this->view->title = $this->lang->company->common . $this->lang->hyphen . $this->lang->group->managePriv;
$this->view->groups = $this->group->getPairs();
$this->view->subsets = $subsets;
$this->view->packages = $packages;
+1 -1
View File
@@ -81,7 +81,7 @@ class jenkins extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->jenkins->common . $this->lang->colon . $this->lang->jenkins->edit;
$this->view->title = $this->lang->jenkins->common . $this->lang->hyphen . $this->lang->jenkins->edit;
$this->view->jenkins = $jenkins;
$this->display();
}
+4 -4
View File
@@ -71,7 +71,7 @@ class job extends control
$jobList = $this->jobZen->getJobList($repoID, $orderBy, $pager);
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->job->browse;
$this->view->title = $this->lang->ci->job . $this->lang->hyphen . $this->lang->job->browse;
$this->view->repoID = $repoID;
$this->view->jobList = $jobList;
$this->view->orderBy = $orderBy;
@@ -112,7 +112,7 @@ class job extends control
$this->loadModel('ci');
$this->app->loadLang('action');
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->job->create;
$this->view->title = $this->lang->ci->job . $this->lang->hyphen . $this->lang->job->create;
$this->view->repoList = $this->loadModel('repo')->getList($this->projectID);
$this->view->products = array(0 => '') + $this->loadModel('product')->getProductPairsByProject($this->projectID);
$this->view->jenkinsServerList = $this->loadModel('pipeline')->getPairs('jenkins');
@@ -170,7 +170,7 @@ class job extends control
$this->view->sonarqubeProjectPairs = $this->loadModel('sonarqube')->getProjectPairs($job->sonarqubeServer, $job->projectKey);
}
$this->view->title = $this->lang->job->pipeline . $this->lang->colon . $this->lang->job->edit;
$this->view->title = $this->lang->job->pipeline . $this->lang->hyphen . $this->lang->job->edit;
$this->view->repoList = $this->loadModel('repo')->getList($this->projectID);
$this->view->job = $job;
$this->view->repo = $repo;
@@ -222,7 +222,7 @@ class job extends control
if($compile && $compile->testtask) $this->jobZen->getCompileData($compile);
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->job->browse;
$this->view->title = $this->lang->ci->job . $this->lang->hyphen . $this->lang->job->browse;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->job = $job;
$this->view->compile = $compile;
+4 -4
View File
@@ -38,7 +38,7 @@ class mail extends control
{
if($this->config->mail->mta == 'smtp') $this->locate(inlink('edit'));
}
$this->view->title = $this->lang->mail->common . $this->lang->colon . $this->lang->mail->index;
$this->view->title = $this->lang->mail->common . $this->lang->hyphen . $this->lang->mail->index;
$this->display();
}
@@ -67,7 +67,7 @@ class mail extends control
return $this->sendSuccess($response);
}
$this->view->title = $this->lang->mail->common . $this->lang->colon . $this->lang->mail->detect;
$this->view->title = $this->lang->mail->common . $this->lang->hyphen . $this->lang->mail->detect;
$this->view->fromAddress = $this->session->mailConfig ? $this->session->mailConfig->fromAddress : '';
$this->display();
@@ -84,7 +84,7 @@ class mail extends control
$mailConfig = $this->mailZen->getConfigForEdit();
if(empty($mailConfig)) $this->locate(inlink('detect'));
$this->view->title = $this->lang->mail->common . $this->lang->colon . $this->lang->mail->edit;
$this->view->title = $this->lang->mail->common . $this->lang->hyphen . $this->lang->mail->edit;
$this->view->mailExist = $this->mail->mailExist();
$this->view->mailConfig = $mailConfig;
$this->view->openssl = extension_loaded('openssl');
@@ -151,7 +151,7 @@ class mail extends control
return $this->sendSuccess(array('load' => inLink('test'), 'message' => $this->lang->mail->noticeResend));
}
$this->view->title = $this->lang->mail->common . $this->lang->colon . $this->lang->mail->test;
$this->view->title = $this->lang->mail->common . $this->lang->hyphen . $this->lang->mail->test;
$this->view->users = $this->mailZen->getHasMailUserPairs();
$this->display();
}
+3 -3
View File
@@ -94,7 +94,7 @@ class mr extends control
$MR->linkButton = empty($product) ? false : true;
}
$this->view->title = $this->lang->mr->common . $this->lang->colon . $this->lang->mr->browse;
$this->view->title = $this->lang->mr->common . $this->lang->hyphen . $this->lang->mr->browse;
$this->view->MRList = $MRList;
$this->view->projects = $projects;
$this->view->pager = $pager;
@@ -157,7 +157,7 @@ class mr extends control
foreach(array('gitlab', 'gitea', 'gogs') as $service) $openIDList += $this->pipeline->getProviderPairsByAccount($service);
}
$this->view->title = $this->lang->mr->common . $this->lang->colon . $this->lang->mr->browse;
$this->view->title = $this->lang->mr->common . $this->lang->hyphen . $this->lang->mr->browse;
$this->view->MRList = $MRList;
$this->view->projects = $projects;
$this->view->pager = $pager;
@@ -559,7 +559,7 @@ class mr extends control
$tasks = $this->mr->getLinkList($MRID, $productID, 'task', $type == 'task' ? $orderBy : '', $taskPager);
$builds = $this->loadModel('build')->getBuildPairs($productID);
$this->view->title = $this->lang->mr->common . $this->lang->colon . $this->lang->mr->link;
$this->view->title = $this->lang->mr->common . $this->lang->hyphen . $this->lang->mr->link;
$this->view->MR = $MR;
$this->view->repoID = $MR->repoID;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
+19 -19
View File
@@ -167,7 +167,7 @@ class my extends control
}
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->todo;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->todo;
$this->view->todos = $todos;
$this->view->date = (int)$type == 0 ? date(DT_DATE1) : date(DT_DATE1, strtotime($type));
$this->view->type = $type;
@@ -238,7 +238,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->story;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->story;
$this->view->stories = $stories;
$this->view->users = $this->user->getPairs('noletter');
$this->view->type = $type;
@@ -303,7 +303,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->story;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->story;
$this->view->stories = $stories;
$this->view->users = $this->user->getPairs('noletter');
$this->view->type = $type;
@@ -366,7 +366,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->task;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->task;
$this->view->tabID = 'task';
$this->view->tasks = $this->app->viewType == 'json' ? array_values($tasks) : $tasks;
$this->view->summary = $summary;
@@ -436,7 +436,7 @@ class my extends control
}
/* assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->bug;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->bug;
$this->view->bugs = $bugs;
$this->view->users = $this->user->getPairs('noletter');
$this->view->memberPairs = $this->user->getPairs('noletter|nodeleted|noclosed');
@@ -494,7 +494,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->myTestTask;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->myTestTask;
$this->view->tasks = $tasks;
$this->view->type = $type;
$this->view->waitCount = $count['wait'];
@@ -552,7 +552,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->myTestCase;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->myTestCase;
$this->view->cases = $cases;
$this->view->users = $this->user->getPairs('noletter');
$this->view->tabID = 'test';
@@ -603,7 +603,7 @@ class my extends control
$this->loadModel('doc')->buildSearchForm(0, array(), $queryID, $actionURL, 'contribute');
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->doc;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->doc;
$this->view->docs = $docs;
$this->view->users = $this->user->getPairs('noletter');
$this->view->type = $type;
@@ -651,7 +651,7 @@ class my extends control
}
$PMList = $this->user->getListByAccounts($accounts, 'account');
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->project;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->project;
$this->view->users = $this->user->getPairs('noletter');
$this->view->projects = $projects;
$this->view->PMList = $PMList;
@@ -687,7 +687,7 @@ class my extends control
$executions = $this->user->getExecutions($this->app->user->account, $type, $orderBy, $pager);
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->execution;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->execution;
$this->view->tabID = 'project';
$this->view->executions = $executions;
$this->view->parentGroup = $this->loadModel('execution')->getChildIdGroup(array_keys($executions));
@@ -890,7 +890,7 @@ class my extends control
$this->view->activities = $this->pssp->getActivityPairs();
$this->view->outputs = $this->pssp->getOutputPairs();
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->auditplan;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->auditplan;
$this->view->browseType = $browseType;
$this->view->auditplans = $auditplans;
$this->view->users = $this->user->getPairs('noclosed|noletter');
@@ -935,7 +935,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->nc;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->nc;
$this->view->browseType = $browseType;
$this->view->ncs = $ncList;
$this->view->users = $this->user->getPairs('noclosed|noletter');
@@ -976,7 +976,7 @@ class my extends control
$this->myZen->showWorkCount($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->myMeeting;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->myMeeting;
$this->view->browseType = $browseType;
$this->view->meetings = $this->meeting->getListByUser($browseType, $orderBy, $queryID, $pager);
$this->view->orderBy = $orderBy;
@@ -1158,7 +1158,7 @@ class my extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $this->createLink('my', 'profile')));
}
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->editProfile;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->editProfile;
$this->view->user = $this->user->getById($this->app->user->account);
$this->view->rand = updateSessionRandom();
$this->display();
@@ -1198,7 +1198,7 @@ class my extends control
}
$this->view->isonlybody = $isonlybody;
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->changePassword;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->changePassword;
$this->view->user = $this->user->getById($this->app->user->account);
$this->view->rand = updateSessionRandom();
$this->display();
@@ -1251,7 +1251,7 @@ class my extends control
$userParams = empty($this->config->user->showDeleted) ? 'noletter|noempty|noclosed|noclosed|nodeleted' : 'noletter|noempty|noclosed|noclosed';
$users = $this->user->getPairs($userParams, $mode == 'new' ? '' : $userList, $this->config->maxCount);
$this->view->title = $this->lang->my->common . $this->lang->colon . $label;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $label;
$this->view->lists = $this->user->getContactLists($this->app->user->account, 'list');
$this->view->users = $users;
$this->view->mode = $mode;
@@ -1304,7 +1304,7 @@ class my extends control
$user = $this->user->getById($this->app->user->account);
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->profile;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->profile;
$this->view->user = $user;
$this->view->groups = $this->loadModel('group')->getByAccount($this->app->user->account);
$this->view->deptPath = $this->dept->getParents($user->dept);
@@ -1331,7 +1331,7 @@ class my extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true));
}
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->preference;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->preference;
$this->view->showTip = $showTip;
$this->view->URSRList = $this->loadModel('custom')->getURSRPairs();
@@ -1399,7 +1399,7 @@ class my extends control
if(empty($recTotal)) $recTotal = count($dateGroups) < 2 ? count($dateGroups, 1) - count($dateGroups) : $this->action->getDynamicCount();
/* Assign. */
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->dynamic;
$this->view->title = $this->lang->my->common . $this->lang->hyphen . $this->lang->my->dynamic;
$this->view->type = $type;
$this->view->orderBy = $orderBy;
$this->view->dateGroups = $dateGroups;
+8 -8
View File
@@ -92,7 +92,7 @@ class product extends control
$projects = $this->loadModel('project')->getPairsByProgram($product->program, 'all', false, 'order_asc', '', '', 'product');
foreach($projectStats as $project) unset($projects[$project->id]);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->product->project;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->product->project;
$this->view->projectStats = $this->productZen->processProjectListData($projectStats);
$this->view->PMList = $this->loadModel('user')->getListByAccounts(helper::arrayColumn($projectStats, 'PM'), 'account');
$this->view->product = $product;
@@ -240,7 +240,7 @@ class product extends control
$product = $this->product->getByID($productID);
$this->view->title = $this->lang->product->edit . $this->lang->colon . $product->name;
$this->view->title = $this->lang->product->edit . $this->lang->hyphen . $product->name;
$this->view->product = $product;
$this->view->fields = $this->productZen->getFormFields4Edit($product);
@@ -313,7 +313,7 @@ class product extends control
$product = $this->product->getByID($productID);
$this->view->title = $product->name . $this->lang->colon .$this->lang->close;
$this->view->title = $product->name . $this->lang->hyphen .$this->lang->close;
$this->view->product = $product;
$this->view->actions = $this->loadModel('action')->getList('product', $productID);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -346,7 +346,7 @@ class product extends control
$product = $this->product->getByID($productID);
$this->view->title = $product->name . $this->lang->colon .$this->lang->close;
$this->view->title = $product->name . $this->lang->hyphen .$this->lang->close;
$this->view->product = $product;
$this->view->actions = $this->loadModel('action')->getList('product', $productID);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -380,7 +380,7 @@ class product extends control
/* Execute hooks. */
$this->executeHooks($productID);
$this->view->title = $product->name . $this->lang->colon . $this->lang->product->view;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->product->view;
$this->view->product = $product;
$this->view->actions = $this->loadModel('action')->getList('product', $productID);
$this->view->dynamics = $this->action->getDynamic('all', 'all', 'date_desc', 50, $productID);
@@ -439,7 +439,7 @@ class product extends control
$branches = $product->type == 'normal' ? array(0 => '') : $this->loadModel('branch')->getPairs($productID);
/* Assign view data. */
$this->view->title = $product->name . $this->lang->colon . $this->lang->product->roadmap;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->product->roadmap;
$this->view->product = $product;
$this->view->roadmaps = $roadmaps;
$this->view->branches = $branches;
@@ -484,7 +484,7 @@ class product extends control
if(empty($recTotal)) $recTotal = count($dateGroups) < 2 ? count($dateGroups, 1) - count($dateGroups) : $this->action->getDynamicCount();
/* Assign. */
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->product->dynamic;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->product->dynamic;
$this->view->userIdPairs = $this->user->getPairs('noletter|nodeleted|noclosed|useid');
$this->view->accountPairs = $this->user->getPairs('noletter|nodeleted|noclosed');
$this->view->productID = $productID;
@@ -520,7 +520,7 @@ class product extends control
$product = $this->product->getStatByID($productID);
if(!$product) return $this->locate('product', 'all');
$this->view->title = $product->name . $this->lang->colon . $this->lang->product->view;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->product->view;
echo $this->fetch('block', 'dashboard', 'dashboard=singleproduct');
}
+1 -1
View File
@@ -1381,7 +1381,7 @@ class productZen extends product
$showModule = empty($this->config->product->browse->showModule) ? 0 : $this->config->product->browse->showModule;
if($isProjectStory) $showModule = empty($this->config->projectstory->story->showModule) ? 0 : $this->config->projectstory->story->showModule;
$this->view->title = $productName . $this->lang->colon . ($storyType === 'story' ? $this->lang->product->browse : $this->lang->product->requirement);
$this->view->title = $productName . $this->lang->hyphen . ($storyType === 'story' ? $this->lang->product->browse : $this->lang->product->requirement);
$this->view->productID = $productID;
$this->view->product = $product;
$this->view->projectID = $projectID;
+3 -3
View File
@@ -106,7 +106,7 @@ class productplan extends control
$this->view->begin = $lastPlan ? $begin : date('Y-m-d');
if($parent) $this->view->parentPlan = $this->productplan->getByID($parent);
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->productplan->create;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->productplan->create;
$this->view->product = $product;
$this->view->lastPlan = $lastPlan;
$this->view->branch = $branchID;
@@ -169,7 +169,7 @@ class productplan extends control
}
$this->view->branchTagOption = $branchPairs;
}
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->productplan->edit;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->productplan->edit;
$this->view->productID = $plan->product;
$this->view->oldBranch = $oldBranch;
$this->view->plan = $plan;
@@ -321,7 +321,7 @@ class productplan extends control
$plans = $this->productplan->getList($productID, (string)$branch, $browseType, $pager, $sort, "", $queryID);
$plans = $this->productplanZen->buildDataForBrowse($plans, $this->view->branchOption);
$this->view->title = $productName . $this->lang->colon . $this->lang->productplan->browse;
$this->view->title = $productName . $this->lang->hyphen . $this->lang->productplan->browse;
$this->view->productID = $productID;
$this->view->branchID = $branchID;
$this->view->browseType = $browseType;
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<div class='main-content' id='mainContent'>
<div class='main-header'>
<h2><?php echo $lang->productplan->common . $lang->colon . $lang->productplan->batchClose;?></h2>
<h2><?php echo $lang->productplan->common . $lang->hyphen . $lang->productplan->batchClose;?></h2>
</div>
<form method='post' action="<?php echo inLink('batchChangeStatus', "status=closed&productID=$productID")?>">
<table class='table table-fixed table-form with-border'>
+1 -1
View File
@@ -119,7 +119,7 @@ class programplanZen extends programplan
$this->config->programplan->form->create['attribute']['options'] = $this->lang->stage->ipdTypeList;
}
$this->view->title = $this->lang->programplan->create . $this->lang->colon . $viewData->project->name;
$this->view->title = $this->lang->programplan->create . $this->lang->hyphen . $viewData->project->name;
$this->view->productList = $viewData->productList;
$this->view->project = $viewData->project;
$this->view->productID = $viewData->productID ?: key($viewData->productList);
+11 -11
View File
@@ -282,7 +282,7 @@ class project extends control
$this->app->loadClass('pager', true);
$pager = new pager($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->project->common . $this->lang->colon . $this->lang->project->index;
$this->view->title = $this->lang->project->common . $this->lang->hyphen . $this->lang->project->index;
$this->view->pager = $pager;
$this->view->project = $project;
$this->view->browseType = $browseType;
@@ -711,7 +711,7 @@ class project extends control
/* The header and position. */
$project = $this->project->getByID($projectID);
$this->view->title = $project->name . $this->lang->colon . $this->lang->project->dynamic;
$this->view->title = $project->name . $this->lang->hyphen . $this->lang->project->dynamic;
$this->view->userIdPairs = $this->loadModel('user')->getTeamMemberPairs($projectID, 'project');
$this->view->accountPairs = $this->user->getPairs('noletter|nodeleted');
@@ -929,7 +929,7 @@ class project extends control
$this->projectZen->assignTesttaskVars($tasks);
$this->view->title = $project->name . $this->lang->colon . $this->lang->project->common;
$this->view->title = $project->name . $this->lang->hyphen . $this->lang->project->common;
$this->view->project = $project;
$this->view->pager = $pager;
$this->view->orderBy = $orderBy;
@@ -980,7 +980,7 @@ class project extends control
}
/* Set view data. */
$this->view->title = $project->name . $this->lang->colon . $this->lang->execution->build;
$this->view->title = $project->name . $this->lang->hyphen . $this->lang->execution->build;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->builds = $this->projectZen->processBuildListData($builds, $projectID);
$this->view->productID = $type == 'product' ? $param : 'all';
@@ -1040,7 +1040,7 @@ class project extends control
}
}
$this->view->title = $group->name . $this->lang->colon . $this->lang->group->managePriv;
$this->view->title = $group->name . $this->lang->hyphen . $this->lang->group->managePriv;
$this->view->group = $group;
$this->view->groupPrivs = $getPrivs;
$this->view->groupID = $groupID;
@@ -1064,7 +1064,7 @@ class project extends control
$project = $this->project->getByID($projectID);
$deptID = $this->app->user->admin ? 0 : $this->app->user->dept;
$this->view->title = $project->name . $this->lang->colon . $this->lang->project->team;
$this->view->title = $project->name . $this->lang->hyphen . $this->lang->project->team;
$this->view->projectID = $projectID;
$this->view->teamMembers = $this->project->getTeamMembers($projectID);
$this->view->deptUsers = $this->loadModel('dept')->getDeptUserPairs($deptID, 'id');
@@ -1142,7 +1142,7 @@ class project extends control
$currentMembers = $this->project->getTeamMembers($projectID);
$members2Import = $this->project->getMembers2Import($copyProjectID, array_keys($currentMembers));
$this->view->title = $this->lang->project->manageMembers . $this->lang->colon . $project->name;
$this->view->title = $this->lang->project->manageMembers . $this->lang->hyphen . $project->name;
$this->view->project = $project;
$this->view->users = $users;
$this->view->roles = $roles;
@@ -1196,7 +1196,7 @@ class project extends control
}
}
$this->view->title = $group->name . $this->lang->colon . $this->lang->group->manageMember;
$this->view->title = $group->name . $this->lang->hyphen . $this->lang->group->manageMember;
$this->view->group = $group;
$this->view->deptTree = $this->loadModel('dept')->getTreeMenu(0, array('deptModel', 'createGroupManageMemberLink'), (int)$groupID);
$this->view->groupUsers = $groupUsers;
@@ -1229,7 +1229,7 @@ class project extends control
return $this->sendSuccess(array('load' => true));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->copy;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->copy;
$this->view->group = $group;
$this->display('group', 'copy');
}
@@ -1257,7 +1257,7 @@ class project extends control
return $this->sendSuccess(array('load' => true));
}
$this->view->title = $this->lang->company->orgView . $this->lang->colon . $this->lang->group->edit;
$this->view->title = $this->lang->company->orgView . $this->lang->hyphen . $this->lang->group->edit;
$this->view->group = $this->group->getByID($groupID);
$this->display('group', 'edit');
}
@@ -1538,7 +1538,7 @@ class project extends control
$this->projectZen->extractUnModifyForm($projectID, $project);
/* Organizing render pages requires data. */
$this->view->title = $this->lang->project->manageProducts . $this->lang->colon . $project->name;
$this->view->title = $this->lang->project->manageProducts . $this->lang->hyphen . $project->name;
$this->view->project = $project;
$this->view->executions = $executions;
$this->view->branches = $this->project->getBranchesByProject($projectID);
+1 -1
View File
@@ -2531,7 +2531,7 @@ class projectModel extends model
if($this->app->viewType == 'mhtml' && $projectID)
{
$output = $this->lang->project->common . $this->lang->colon;
$output = $this->lang->project->common . $this->lang->hyphen;
$output .= "<a id='currentItem' href=\"javascript:showSearchMenu('project', '$projectID', '$currentModule', '$currentMethod', '')\">{$currentProjectName} <span class='icon-caret-down'></span></a><div id='currentItemDropMenu' class='hidden affix enter-from-bottom layer'></div>";
return $output;
}
+1 -1
View File
@@ -799,7 +799,7 @@ class projectZen extends project
$storyList = $storyIdList ? $this->loadModel('story')->getByList($storyIdList) : array();
$taskList = $taskIdList ? $this->loadModel('task')->getByIdList($taskIdList) : array();
$this->view->title = $project->name . $this->lang->colon . $this->lang->bug->common;
$this->view->title = $project->name . $this->lang->hyphen . $this->lang->bug->common;
$this->view->bugs = $bugs;
$this->view->build = $this->loadModel('build')->getById($build);
$this->view->buildID = $this->view->build ? $this->view->build->id : 0;
+3 -3
View File
@@ -78,7 +78,7 @@ class projectrelease extends control
$project = $this->project->getByID($projectID);
$execution = $this->loadModel('execution')->getByID($executionID);
$this->view->title = (isset($project->name) ? $project->name : $execution->name) . $this->lang->colon . $this->lang->release->browse;
$this->view->title = (isset($project->name) ? $project->name : $execution->name) . $this->lang->hyphen . $this->lang->release->browse;
$this->view->products = $this->product->getProductPairsByProject($projectID);
$this->view->pageSummary = $this->release->getPageSummary($releases, $type);
$this->view->projectID = $projectID;
@@ -146,7 +146,7 @@ class projectrelease extends control
$releasedBuilds = $this->projectrelease->getReleasedBuilds($projectID);
foreach($releasedBuilds as $build) unset($builds[$build]);
$this->view->title = $this->view->project->name . $this->lang->colon . $this->lang->release->create;
$this->view->title = $this->view->project->name . $this->lang->hyphen . $this->lang->release->create;
$this->view->projectID = $projectID;
$this->view->builds = $builds;
$this->view->lastRelease = $this->projectrelease->getLast($projectID);
@@ -202,7 +202,7 @@ class projectrelease extends control
if(!isset($bindBuilds[$releasedBuild])) unset($builds[$releasedBuild]);
}
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->edit;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->release->edit;
$this->view->release = $release;
$this->view->builds = $builds;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
+3 -3
View File
@@ -76,7 +76,7 @@ class release extends control
$releaseQuery = $type == 'bySearch' ? $this->releaseZen->getSearchQuery($queryID) : '';
$releases = $this->release->getList($productID, $branch, $type, $sort, $releaseQuery, $pager);
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->browse;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->release->browse;
$this->view->releases = $this->releaseZen->processReleaseListData($releases);
$this->view->pageSummary = $this->release->getPageSummary($releases, $type);
$this->view->type = $type;
@@ -127,7 +127,7 @@ class release extends control
$this->commonAction($productID, $branch);
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->create;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->release->create;
$this->view->productID = $productID;
$this->view->builds = $builds;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
@@ -176,7 +176,7 @@ class release extends control
if(strpos(',' . trim($release->build, ',') . ',', ",{$releasedBuild},") === false) unset($builds[$releasedBuild]);
}
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->edit;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->release->edit;
$this->view->release = $release;
$this->view->builds = $builds;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
+8 -8
View File
@@ -117,7 +117,7 @@ class repo extends control
$this->repoZen->buildRepoSearchForm($products, $projects, $objectID, $orderBy, $recPerPage, $pageID, $param);
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->browse;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->browse;
$this->view->serverPairs = $this->loadModel('pipeline')->getPairs('gitfox,gitlab');
$this->view->type = $type;
$this->view->orderBy = $orderBy;
@@ -374,7 +374,7 @@ class repo extends control
if(in_array($repo->SCM, $this->config->repo->gitTypeList)) $dropMenus = $this->repoZen->getBranchAndTagItems($repo, $this->cookie->repoBranch);
if($this->app->tab == 'execution') $this->view->executionID = $objectID;
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->view;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->view;
$this->view->dropMenus = $dropMenus;
$this->view->type = 'view';
$this->view->branchID = $this->cookie->repoBranch;
@@ -728,7 +728,7 @@ class repo extends control
$this->view->newRevision = $newRevision;
$this->view->oldRevision = $oldRevision;
$this->view->isBranchOrTag = $isBranchOrTag;
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->diff;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->diff;
$this->display();
}
@@ -798,7 +798,7 @@ class repo extends control
$this->app->loadLang('story');
if(is_string($this->config->repo->rules)) $this->config->repo->rules = json_decode($this->config->repo->rules, true);
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->setRules;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->setRules;
$this->display();
}
@@ -820,7 +820,7 @@ class repo extends control
if($branch) $branch = base64_decode(helper::safe64Decode($branch));
$latestInDB = $this->repo->getLatestCommit($repoID);
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->showSyncCommit;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->showSyncCommit;
$this->view->version = $latestInDB ? (int)$latestInDB->commit : 1;
$this->view->repoID = $repoID;
$this->view->repo = $this->repo->getByID($repoID);
@@ -1029,7 +1029,7 @@ class repo extends control
$repoList = $server ? $this->repoZen->getNotExistRepos($server) : array();
$products = $this->loadModel('product')->getPairs('', 0, '', 'all');
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->importAction;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->importAction;
$this->view->servers = $serverList;
$this->view->products = $products;
$this->view->projects = $this->product->getProjectPairsByProductIDList(array_keys($products));
@@ -1071,7 +1071,7 @@ class repo extends control
$this->scm->setEngine($repo);
$info = $this->scm->info($entry, $nRevision);
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->diff;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->diff;
$this->view->type = 'diff';
$this->view->encoding = str_replace('-', '_', $encoding);
$this->view->repoID = $repoID;
@@ -1136,7 +1136,7 @@ class repo extends control
$content = helper::convertEncoding($content, $encoding);
}
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->view;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->view;
$this->view->type = 'view';
$this->view->showBug = $showBug;
$this->view->repoID = $repoID;
+3 -3
View File
@@ -378,7 +378,7 @@ class repoZen extends repo
}
$projects = $this->product->getProjectPairsByProductIDList(array_keys($products));
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->create;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->create;
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted|noclosed');
$this->view->products = $products;
@@ -425,7 +425,7 @@ class repoZen extends repo
$repoGroups = $this->repo->getGroups($serverID);
}
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->create;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->create;
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted|noclosed');
$this->view->products = $products;
@@ -474,7 +474,7 @@ class repoZen extends repo
$linkedProductPairs = array_combine(array_keys($linkedProducts), helper::arrayColumn($linkedProducts, 'name'));
$products = $products + $linkedProductPairs;
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->edit;
$this->view->title = $this->lang->repo->common . $this->lang->hyphen . $this->lang->repo->edit;
$this->view->repo = $repo;
$this->view->repoID = $repoID;
$this->view->objectID = $objectID;
+6 -6
View File
@@ -54,7 +54,7 @@ class sonarqube extends control
$sonarqubeList = $this->loadModel('pipeline')->getList('sonarqube', $orderBy, $pager);
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->browse;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->browse;
$this->view->sonarqubeList = $sonarqubeList;
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -148,7 +148,7 @@ class sonarqube extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('space', 'browse')));
}
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->createServer;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->createServer;
$this->display();
}
@@ -215,7 +215,7 @@ class sonarqube extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true));
}
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->editServer;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->editServer;
$this->view->sonarqube = $oldSonarQube;
$this->display();
@@ -306,7 +306,7 @@ class sonarqube extends control
$this->view->sonarqube = $sonarqube;
$this->view->keyword = urldecode(urldecode($keyword));
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->browseProject;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->browseProject;
$this->view->sonarqubeID = $sonarqubeID;
$this->view->sonarqubeProjectList = (empty($sonarqubeProjectList) or empty($sonarqubeProjectList[$pageID - 1])) ? array() : $sonarqubeProjectList[$pageID - 1];
$this->view->projectJobPairs = $projectJobPairs;
@@ -334,7 +334,7 @@ class sonarqube extends control
return $this->sendSuccess(array('load' => inlink('browseProject', "sonarqubeID=$sonarqubeID"), 'closeModal' => true));
}
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->createProject;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->createProject;
$this->view->sonarqubeID = $sonarqubeID;
$this->display();
}
@@ -411,7 +411,7 @@ class sonarqube extends control
$this->view->projectKey = $projectKey;
$this->view->search = $search;
$this->view->keyword = $keyword;
$this->view->title = $this->lang->sonarqube->common . $this->lang->colon . $this->lang->sonarqube->browseIssue;
$this->view->title = $this->lang->sonarqube->common . $this->lang->hyphen . $this->lang->sonarqube->browseIssue;
$this->view->sonarqubeID = $sonarqubeID;
$this->view->sonarqube = $this->loadModel('pipeline')->getByID($sonarqubeID);
$this->view->sonarqubeIssueList = (empty($sonarqubeIssueList) or empty($sonarqubeIssueList[$pageID - 1])) ? array() : $sonarqubeIssueList[$pageID - 1];
+6 -6
View File
@@ -27,7 +27,7 @@ class stage extends control
$this->stage->setMenu($type);
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->browse;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->browse;
$this->view->stages = $this->stage->getStages($orderBy, 0, $type);
$this->view->orderBy = $orderBy;
$this->view->type = $type;
@@ -53,7 +53,7 @@ class stage extends control
$this->view->stages = $this->stage->getStages($orderBy, 0, $type);
$this->view->orderBy = $orderBy;
$this->view->type = $type;
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->browse;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->browse;
$this->display('stage', 'browse');
}
@@ -78,7 +78,7 @@ class stage extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'load' => true));
}
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->create;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->create;
$this->display();
}
@@ -103,7 +103,7 @@ class stage extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'load' => inlink($type == 'waterfall' ? 'browse' : 'plusBrowse', "orderBy=id_asc&type=$type")));
}
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->batchCreate;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->batchCreate;
$this->display();
}
@@ -132,7 +132,7 @@ class stage extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'load' => true));
}
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->edit;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->edit;
$this->view->stage = $stage;
$this->display();
@@ -190,7 +190,7 @@ class stage extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true));
}
$this->view->title = $this->lang->stage->common . $this->lang->colon . $this->lang->stage->setType;
$this->view->title = $this->lang->stage->common . $this->lang->hyphen . $this->lang->stage->setType;
$this->view->currentLang = $currentLang;
$this->view->lang2Set = !empty($lang2Set) ? $lang2Set : $lang;
$this->view->fieldList = $fieldList;
+4 -4
View File
@@ -317,7 +317,7 @@ class stakeholder extends control
if($stakeholder->objectType == 'project') $this->view->projectID = $stakeholder->objectID;
$this->view->title = $this->lang->stakeholder->common . $this->lang->colon . $this->lang->stakeholder->view;
$this->view->title = $this->lang->stakeholder->common . $this->lang->hyphen . $this->lang->stakeholder->view;
$this->view->user = $stakeholder;
$this->view->users = $this->loadModel('user')->getTeamMemberPairs($this->session->project, 'project', 'nodeleted');
$this->view->expects = $this->stakeholder->getExpectByUser($stakeholderID);
@@ -347,7 +347,7 @@ class stakeholder extends control
$this->commonAction($stakeholderID, 'stakeholder');
$this->view->title = $this->lang->stakeholder->common . $this->lang->colon . $this->lang->stakeholder->communicate;
$this->view->title = $this->lang->stakeholder->common . $this->lang->hyphen . $this->lang->stakeholder->communicate;
$this->view->user = $this->stakeholder->getByID($stakeholderID);
$this->view->users = $this->loadModel('user')->getTeamMemberPairs($this->view->user->objectID, 'project', 'nodeleted');
@@ -381,7 +381,7 @@ class stakeholder extends control
return $this->send(array('result' => 'success', 'closeModal' => true));
}
$this->view->title = $this->lang->stakeholder->common . $this->lang->colon . $this->lang->stakeholder->communicate;
$this->view->title = $this->lang->stakeholder->common . $this->lang->hyphen . $this->lang->stakeholder->communicate;
$this->view->user = $this->stakeholder->getByID($stakeholderID);
$this->display();
@@ -413,7 +413,7 @@ class stakeholder extends control
$this->app->loadLang('issue');
$stakeholder = $this->stakeholder->getByID($stakeholderID);
$this->view->title = $this->lang->stakeholder->common . $this->lang->colon . $this->lang->stakeholder->communicate;
$this->view->title = $this->lang->stakeholder->common . $this->lang->hyphen . $this->lang->stakeholder->communicate;
$this->view->stakeholder = $stakeholder;
$this->view->projectID = $stakeholder->objectID;
$this->view->issueList = $this->stakeholder->getStakeholderIssue($stakeholder->user);
+10 -10
View File
@@ -106,7 +106,7 @@ class story extends control
$fields = $this->storyZen->setModuleField($fields, $moduleID);
$fields = $this->storyZen->removeFormFieldsForCreate($fields, $storyType);
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->story->create;
$this->view->title = $this->view->product->name . $this->lang->hyphen . $this->lang->story->create;
$this->view->fields = $fields;
$this->view->blockID = $this->storyZen->getAssignMeBlockID();
$this->view->type = $storyType;
@@ -190,7 +190,7 @@ class story extends control
if(!$this->story->checkCanSubdivide($story, !empty($product->shadow))) return $this->send(array('result' => 'fail', 'message' => $this->lang->story->errorNotSubdivide, 'load' => array('alert' => $this->lang->story->errorNotSubdivide)));
}
$this->view->title = $product->name . $this->lang->colon . ($storyID ? $this->lang->story->subdivide : $this->lang->story->batchCreate);
$this->view->title = $product->name . $this->lang->hyphen . ($storyID ? $this->lang->story->subdivide : $this->lang->story->batchCreate);
$this->view->customFields = $customFields;
$this->view->showFields = $showFields;
$this->view->product = $product;
@@ -308,7 +308,7 @@ class story extends control
$fields = $this->storyZen->getFormFieldsForEdit($storyID);
$fields = $this->storyZen->hiddenFormFieldsForEdit($fields);
$this->view->title = $this->lang->story->edit . "STORY" . $this->lang->colon . $this->view->story->title;
$this->view->title = $this->lang->story->edit . "STORY" . $this->lang->hyphen . $this->view->story->title;
$this->view->story = $story;
$this->view->twins = empty($story->twins) ? array() : $this->story->getByList($story->twins);
$this->view->fields = $fields;
@@ -422,7 +422,7 @@ class story extends control
$this->story->getAffectedScope($story);
/* Assign. */
$this->view->title = $this->lang->story->change . "STORY" . $this->lang->colon . $story->title;
$this->view->title = $this->lang->story->change . "STORY" . $this->lang->hyphen . $story->title;
$this->view->users = $this->user->getPairs('pofirst|nodeleted|noclosed', $story->assignedTo);
$this->view->fields = $this->storyZen->getFormFieldsForChange($storyID);
$this->view->lastReviewer = $this->story->getLastReviewer($story->id);
@@ -474,7 +474,7 @@ class story extends control
$this->commonAction($storyID);
/* Assign. */
$this->view->title = $this->lang->story->activate . "STORY" . $this->lang->colon . $this->view->story->title;
$this->view->title = $this->lang->story->activate . "STORY" . $this->lang->hyphen . $this->view->story->title;
$this->view->users = $this->user->getPairs('pofirst|nodeleted|noclosed', $this->view->story->closedBy);
$this->display();
}
@@ -642,7 +642,7 @@ class story extends control
$reviewers = $this->story->getReviewerPairs($storyID, $story->version);
$this->story->getAffectedScope($story);
$this->view->title = $this->lang->story->review . "STORY" . $this->lang->colon . $story->title;
$this->view->title = $this->lang->story->review . "STORY" . $this->lang->hyphen . $story->title;
$this->view->fields = $this->storyZen->getFormFieldsForReview($storyID);
$this->view->reviewers = $reviewers;
$this->view->isLastOne = count(array_diff(array_keys($reviewers), explode(',', $story->reviewedBy))) <= 1;
@@ -859,7 +859,7 @@ class story extends control
$productStories = $this->story->getProductStoryPairs($story->product, $branch, 0, 'all', 'id_desc', 0, '', $storyType);
if(isset($productStories[$storyID])) unset($productStories[$storyID]);
$this->view->title = $this->lang->story->close . "STORY" . $this->lang->colon . $story->title;
$this->view->title = $this->lang->story->close . "STORY" . $this->lang->hyphen . $story->title;
$this->view->product = $product;
$this->view->story = $story;
$this->view->productStories = $productStories;
@@ -1172,7 +1172,7 @@ class story extends control
$product = $this->product->getByID($story->product);
$users = $this->config->vision == 'lite' ? $this->user->getTeamMemberPairs($this->session->project) : $this->user->getPairs('nodeleted|noclosed|pofirst|noletter');
$this->view->title = zget($product, 'name', $story->title) . $this->lang->colon . $this->lang->story->assign;
$this->view->title = zget($product, 'name', $story->title) . $this->lang->hyphen . $this->lang->story->assign;
$this->view->story = $story;
$this->view->actions = $this->action->getList('story', $storyID);
$this->view->users = $users;
@@ -1350,7 +1350,7 @@ class story extends control
$stories2Link = $this->story->getStories2Link($storyID, $type, $browseType, $queryID, $story->type);
/* Assign. */
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->colon .$this->lang->story->linkStory;
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->hyphen .$this->lang->story->linkStory;
$this->view->type = $type;
$this->view->stories2Link = $stories2Link;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -1728,7 +1728,7 @@ class story extends control
unset($this->lang->story->report->charts['storiesPerStage']);
}
$this->view->title = $product->name . $this->lang->colon . $this->lang->story->reportChart;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->story->reportChart;
$this->view->productID = $productID;
$this->view->branchID = $branchID;
$this->view->browseType = $browseType;
+1 -1
View File
@@ -70,7 +70,7 @@ formBatchPanel
on::change('[data-name="branch"]', 'setModuleAndPlanByBranch'),
$stories ? set::data($stories) : null,
set::ajax(array('beforeSubmit' => jsRaw('clickSubmit'))),
set::title($storyID ? $storyTitle . $lang->colon . $this->lang->story->subdivide : $this->lang->story->batchCreate),
set::title($storyID ? $storyTitle . $lang->hyphen . $this->lang->story->subdivide : $this->lang->story->batchCreate),
set::uploadParams('module=story&params=' . helper::safe64Encode("productID=$productID&branch=$branch&moduleID=$moduleID&storyID=$storyID&executionID=$executionID&plan={$planID}&type=$type")),
set::pasteField('title'),
set::customFields(array('list' => $customFields, 'show' => explode(',', $showFields), 'key' => 'batchCreateFields')),
+1 -1
View File
@@ -15,7 +15,7 @@
<?php js::set('app', $app->tab);?>
<div class='main-content' id='mainContent'>
<div class='main-header'>
<h2><?php echo ($storyType == 'story' ? $lang->SRCommon : $lang->URCommon) . $lang->colon . $lang->story->batchClose;?></h2>
<h2><?php echo ($storyType == 'story' ? $lang->SRCommon : $lang->URCommon) . $lang->hyphen . $lang->story->batchClose;?></h2>
</div>
<?php if(isset($suhosinInfo)):?>
<div class='alert alert-info'><?php echo $suhosinInfo;?></div>
+1 -1
View File
@@ -19,7 +19,7 @@
<div class='main-content' id='mainContent'>
<div class='main-header'>
<h2>
<?php echo $lang->story->common . $lang->colon . $lang->story->batchEdit;?>
<?php echo $lang->story->common . $lang->hyphen . $lang->story->batchEdit;?>
</h2>
<div class='pull-right btn-toolbar'>
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=story&section=custom&key=batchEditFields')?>
+2 -2
View File
@@ -229,7 +229,7 @@ class storyZen extends story
{
$this->product->setMenu($productID);
$product = $this->product->getByID($productID);
$this->view->title = $product->name . $this->lang->colon . $this->lang->story->batchClose;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->story->batchClose;
}
/* The stories of a execution. */
elseif($this->app->tab == 'execution' && $executionID)
@@ -238,7 +238,7 @@ class storyZen extends story
$this->lang->story->menuOrder = $this->lang->execution->menuOrder;
$this->execution->setMenu($executionID);
$execution = $this->execution->getByID($executionID);
$this->view->title = $execution->name . $this->lang->colon . $this->lang->story->batchClose;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->story->batchClose;
$this->view->executionID = $executionID;
}
elseif($this->app->tab == 'project')
+8 -8
View File
@@ -464,7 +464,7 @@ class task extends control
/* Shows the variables needed to start the task page. */
$assignedTo = empty($task->assignedTo) ? $this->app->user->account : $task->assignedTo;
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->task->start;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->task->start;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->members = $this->user->getTeamMemberPairs($task->execution, 'execution', 'nodeleted');
$this->view->assignedTo = !empty($task->team) ? $this->task->getAssignedTo4Multi($task->team, $task) : $assignedTo;
@@ -622,7 +622,7 @@ class task extends control
$task->myConsumed = zget($currentTeam, 'consumed', 0);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->task->finish;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->task->finish;
$this->view->members = $members;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->canRecordEffort = $this->task->canOperateEffort($task);
@@ -673,7 +673,7 @@ class task extends control
}
/* Show the variables associated. */
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->task->pause;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->task->pause;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}
@@ -720,7 +720,7 @@ class task extends control
return $this->send($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->task->restart;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->task->restart;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->members = $this->loadModel('user')->getTeamMemberPairs($task->execution, 'execution', 'nodeleted');
$this->view->assignedTo = $task->assignedTo == '' ? $this->app->user->account : $task->assignedTo;
@@ -763,7 +763,7 @@ class task extends control
return $this->send($response);
}
$this->view->title = $this->view->execution->name . $this->lang->colon .$this->lang->task->finish;
$this->view->title = $this->view->execution->name . $this->lang->hyphen .$this->lang->task->finish;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}
@@ -878,7 +878,7 @@ class task extends control
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'load' => $this->createLink('task', 'view', "taskID=$taskID")));
}
$this->view->title = $this->view->execution->name . $this->lang->colon . $this->lang->task->cancel;
$this->view->title = $this->view->execution->name . $this->lang->hyphen . $this->lang->task->cancel;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
@@ -940,7 +940,7 @@ class task extends control
$this->view->teamMembers = $teamMembers;
}
$this->view->title = $this->view->execution->name . $this->lang->colon . $this->lang->task->activate;
$this->view->title = $this->view->execution->name . $this->lang->hyphen . $this->lang->task->activate;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->isMultiple = !empty($this->view->task->team);
$this->display();
@@ -1064,7 +1064,7 @@ class task extends control
$this->execution->setMenu($executionID);
if($this->app->tab == 'project') $this->view->projectID = $execution->project;
$this->view->title = $execution->name . $this->lang->colon . $this->lang->task->report->common;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->task->report->common;
$this->view->executionID = $executionID;
$this->view->browseType = $browseType;
$this->view->chartType = $chartType;
+1 -1
View File
@@ -39,7 +39,7 @@ $colspan = count($visibleFields) + 3;
<div class="main-header clearfix">
<h2 class="pull-left">
<?php if($parent):?>
<span class='pull-left'><?php echo $parentTitle . $this->lang->colon;?></span>
<span class='pull-left'><?php echo $parentTitle . $this->lang->hyphen;?></span>
<?php echo $lang->task->batchCreateChildren;?>
<?php else:?>
<?php echo $lang->task->batchCreate;?>
+2 -2
View File
@@ -21,9 +21,9 @@ js::set('requiredFields', $config->task->edit->requiredFields);
<div id='mainContent' class='main-content fade'>
<div class='main-header'>
<h2>
<?php echo $lang->task->common . $lang->colon . $lang->task->batchEdit;?>
<?php echo $lang->task->common . $lang->hyphen . $lang->task->batchEdit;?>
<?php if($executionName and $execution->multiple):?>
<small class='text-muted'><?php echo $lang->task->execution . $lang->colon . ' ' . $executionName;?></small>
<small class='text-muted'><?php echo $lang->task->execution . $lang->hyphen . ' ' . $executionName;?></small>
<?php endif;?>
</h2>
<div class='pull-right btn-toolbar'>
+1 -1
View File
@@ -32,7 +32,7 @@
<span class='label label-danger'><?php echo $lang->task->deleted;?></span>
<?php endif;?>
<?php if($task->fromBug != 0):?>
<small><?php echo html::a(helper::createLink('bug', 'view', "bugID=$task->fromBug", '', true), "<i class='icon icon-bug'></i> {$lang->task->fromBug}$lang->colon$task->fromBug", '', "class='iframe' data-width='80%'");?></small>
<small><?php echo html::a(helper::createLink('bug', 'view', "bugID=$task->fromBug", '', true), "<i class='icon icon-bug'></i> {$lang->task->fromBug}$lang->hyphen$task->fromBug", '', "class='iframe' data-width='80%'");?></small>
<?php endif;?>
</div>
</div>
+4 -4
View File
@@ -59,7 +59,7 @@ class taskZen extends task
$executionTypeLang = zget($this->lang->execution->typeList, $execution->type, '');
$this->lang->task->noticeLinkStory = sprintf($this->lang->task->noticeLinkStory, $executionTypeLang);
$this->view->title = $execution->name . $this->lang->colon . $this->lang->task->create;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->task->create;
$this->view->customFields = $customFields;
$this->view->modulePairs = $modulePairs;
$this->view->showFields = $this->config->task->custom->createFields;
@@ -185,7 +185,7 @@ class taskZen extends task
$this->execution->setMenu($executionID);
$execution = $this->execution->getById($executionID);
$this->view->title = $execution->name . $this->lang->colon . $this->lang->task->batchEdit;
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->task->batchEdit;
$this->view->execution = $execution;
$this->view->modules = $this->tree->getTaskOptionMenu($executionID, 0, !empty($this->config->task->allModule) ? 'allModule' : '');
}
@@ -279,7 +279,7 @@ class taskZen extends task
$taskMembers = $this->view->members;
}
$this->view->title = $this->lang->task->edit . 'TASK' . $this->lang->colon . $this->view->task->name;
$this->view->title = $this->lang->task->edit . 'TASK' . $this->lang->hyphen . $this->view->task->name;
$this->view->stories = $this->story->getExecutionStoryPairs($this->view->execution->id, 0, 'all', '', 'full', 'active');
$this->view->tasks = $tasks;
$this->view->taskMembers = $taskMembers;
@@ -314,7 +314,7 @@ class taskZen extends task
if(!isset($members[$task->assignedTo])) $members[$task->assignedTo] = $task->assignedTo;
if(isset($members['closed']) || $task->status == 'closed') $members['closed'] = 'Closed';
$this->view->title = $this->view->execution->name . $this->lang->colon . $this->lang->task->assign;
$this->view->title = $this->view->execution->name . $this->lang->hyphen . $this->lang->task->assign;
$this->view->task = $task;
$this->view->members = $members;
$this->view->users = $this->loadModel('user')->getPairs();
+7 -7
View File
@@ -142,7 +142,7 @@ class testcase extends control
/* 展示变量. */
/* Show the variables. */
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->common;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->common;
$this->view->projectID = $projectID;
$this->view->productID = $productID;
$this->view->users = $this->user->getPairs('noletter');
@@ -277,7 +277,7 @@ class testcase extends control
$extras = str_replace(array(',', ' '), array('&', ''), $extras);
parse_str($extras, $output);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->create;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->create;
$this->view->productID = $productID;
$this->view->users = $this->user->getPairs('noletter|noclosed|nodeleted');
$this->view->gobackLink = isset($output['from']) && $output['from'] == 'global' ? $this->createLink('testcase', 'browse', "productID=$productID") : '';
@@ -332,7 +332,7 @@ class testcase extends control
/* 展示变量. */
/* Show the variables. */
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->batchCreate;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->batchCreate;
$this->view->productID = $productID;
$this->view->productName = $this->products[$productID];
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, 'case', 0, $branch === 'all' ? '0' : $branch);
@@ -382,7 +382,7 @@ class testcase extends control
/* 展示变量. */
/* Show the variables. */
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->createBug;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->createBug;
$this->view->caseID = $caseID;
$this->view->version = $version;
$this->view->runID = $runID;
@@ -768,7 +768,7 @@ class testcase extends control
$cases2Link = array_chunk($cases2Link, $pager->recPerPage);
/* Assign. */
$this->view->title = $case->title . $this->lang->colon . $this->lang->testcase->linkCases;
$this->view->title = $case->title . $this->lang->hyphen . $this->lang->testcase->linkCases;
$this->view->case = $case;
$this->view->cases2Link = empty($cases2Link) ? $cases2Link : $cases2Link[$pageID - 1];
$this->view->users = $this->loadModel('user')->getPairs('noletter');
@@ -1170,7 +1170,7 @@ class testcase extends control
/* Show the variables. */
$this->testcaseZen->assignForImportFromLib($productID, $branch, $libID, $orderBy, $queryID, $libraries, $projectID);
$this->view->title = $this->lang->testcase->common . $this->lang->colon . $this->lang->testcase->importFromLib;
$this->view->title = $this->lang->testcase->common . $this->lang->hyphen . $this->lang->testcase->importFromLib;
$this->view->libraries = $libraries;
$this->view->cases = $this->testcase->getCanImportCases($productID, $libID, $branch, $orderBy, $pager, $browseType, $queryID);
$this->view->libModules = $this->tree->getOptionMenu($libID, 'caselib');
@@ -1226,7 +1226,7 @@ class testcase extends control
$this->testcaseZen->assignShowImportVars($productID, $branch, $data['caseData'], isset($stepVars) ? $stepVars : 0, $pagerID, $maxImport);
$this->view->title = $this->lang->testcase->common . $this->lang->colon . $this->lang->testcase->showImport;
$this->view->title = $this->lang->testcase->common . $this->lang->hyphen . $this->lang->testcase->showImport;
$this->view->stories = $this->loadModel('story')->getProductStoryPairs($productID, $branch);
$this->view->cases = $this->testcase->getByProduct($productID);
$this->view->stepData = array_values($data['stepData']);
+1 -1
View File
@@ -20,7 +20,7 @@
<?php js::set('showFields', $showFields);?>
<div id="mainContent" class="main-content">
<div class="main-header">
<h2><?php echo $lang->testcase->common . $lang->colon . $lang->testcase->batchEdit;?></h2>
<h2><?php echo $lang->testcase->common . $lang->hyphen . $lang->testcase->batchEdit;?></h2>
<div class="pull-right btn-toolbar">
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=testcase&section=custom&key=batchEditFields')?>
<?php include '../../common/view/customfield.html.php';?>
+1 -1
View File
@@ -25,7 +25,7 @@
<span class='label label-id'><?php echo $case->id;?></span>
<span class='text' title='<?php echo $case->title;?>' style='color: <?php echo $case->color; ?>'><?php echo $case->title;?></span>
<?php if($case->fromCaseID):?>
<small><?php echo html::a(helper::createLink('testcase', 'view', "caseID=$case->fromCaseID"), html::icon($lang->icons['testcase']) . " {$lang->testcase->fromCase}$lang->colon$case->fromCaseID");?></small>
<small><?php echo html::a(helper::createLink('testcase', 'view', "caseID=$case->fromCaseID"), html::icon($lang->icons['testcase']) . " {$lang->testcase->fromCase}$lang->hyphen$case->fromCaseID");?></small>
<?php endif;?>
<?php if($case->deleted):?>
+6 -6
View File
@@ -307,7 +307,7 @@ class testcaseZen extends testcase
/* Set menu. */
$this->setMenu((int)$this->session->project, (int)$this->session->execution, $productID, $branch);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->newScene;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->newScene;
$this->view->modules = $this->tree->getOptionMenu($productID, 'case', 0, ($branch === 'all' || !isset($branches[$branch])) ? 'all' : (string)$branch);
$this->view->scenes = $this->testcase->getSceneMenu($productID, $moduleID, ($branch === 'all' || !isset($branches[$branch])) ? 'all' : (string)$branch);
$this->view->moduleID = $moduleID ? (int)$moduleID : (int)$this->cookie->lastCaseModule;
@@ -355,7 +355,7 @@ class testcaseZen extends testcase
$scenes = $this->testcase->getSceneMenu($productID, $moduleID, $branchID, 0, $oldScene->id);
if(!isset($scenes[$parentID])) $scenes += $this->testcase->getScenesName((array)$parentID);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->editScene;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->editScene;
$this->view->products = $this->products;
$this->view->product = $product;
$this->view->branches = $branches;
@@ -578,7 +578,7 @@ class testcaseZen extends testcase
$showModule = !empty($this->config->testcase->browse->showModule) ? $this->config->testcase->browse->showModule : '';
$tree = $moduleID ? $this->tree->getByID($moduleID) : '';
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->common;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->common;
$this->view->projectID = $projectID;
$this->view->projectType = !empty($projectID) ? $this->dao->select('model')->from(TABLE_PROJECT)->where('id')->eq($projectID)->fetch('model') : '';
$this->view->browseType = $browseType;
@@ -835,7 +835,7 @@ class testcaseZen extends testcase
$product = $this->product->getByID($case->product);
if(!isset($this->products[$case->product])) $this->products[$case->product] = $product->name;
$this->view->title = $this->products[$case->product] . $this->lang->colon . $this->lang->testcase->edit;
$this->view->title = $this->products[$case->product] . $this->lang->hyphen . $this->lang->testcase->edit;
$this->view->isLibCase = false;
$this->view->product = $product;
$this->view->products = $this->products;
@@ -1063,7 +1063,7 @@ class testcaseZen extends testcase
/* Set caselib menu. */
$this->caselib->setLibMenu($libraries, $libID);
$this->view->title = $libraries[$libID] . $this->lang->colon . $this->lang->testcase->batchEdit;
$this->view->title = $libraries[$libID] . $this->lang->hyphen . $this->lang->testcase->batchEdit;
}
/* 指派测试用例。 */
/* Assign test cases. */
@@ -1074,7 +1074,7 @@ class testcaseZen extends testcase
$this->setMenu((int)$this->session->project, (int)$this->session->execution, $productID, $branch);
$this->view->title = $product->name . $this->lang->colon . $this->lang->testcase->batchEdit;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->testcase->batchEdit;
}
/* 指派地盘标签下的用例。 */
/* Assign cases of my tab. */
+1 -1
View File
@@ -115,7 +115,7 @@ class testreport extends control
foreach(explode(',', $report->tasks) as $taskID) $tasks[$taskID] = $taskID;
}
$this->view->title = ($extra ? $task->name : $object->name) . $this->lang->colon . $this->lang->testreport->common;
$this->view->title = ($extra ? $task->name : $object->name) . $this->lang->hyphen . $this->lang->testreport->common;
$this->view->reports = $reports;
$this->view->orderBy = $orderBy;
$this->view->objectID = $objectID;
+3 -3
View File
@@ -155,7 +155,7 @@ class testsuite extends control
$productID = $this->product->checkAccess($productID, $this->products);
$this->loadModel('qa')->setMenu($productID);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testsuite->create;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testsuite->create;
$this->view->productID = $productID;
$this->display();
}
@@ -250,7 +250,7 @@ class testsuite extends control
$productID = $this->product->checkAccess($suite->product, $this->products);
$this->loadModel('qa')->setMenu($productID);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testsuite->edit;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testsuite->edit;
$this->view->suite = $suite;
$this->view->productID = $productID;
$this->display();
@@ -339,7 +339,7 @@ class testsuite extends control
if(!$this->config->testcase->needReview) unset($this->config->testcase->search['params']['status']['values']['wait']);
$this->loadModel('search')->setSearchParams($this->config->testcase->search);
$this->view->title = $suite->name . $this->lang->colon . $this->lang->testsuite->linkCase;
$this->view->title = $suite->name . $this->lang->hyphen . $this->lang->testsuite->linkCase;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->cases = $this->testsuite->getUnlinkedCases($suite, $browseType, $param, $pager);
$this->view->suiteID = $suiteID;
+11 -11
View File
@@ -124,7 +124,7 @@ class testtask extends control
$this->testtaskZen->prepareSummaryForBrowse($testtasks);
$this->view->title = $product->name . $this->lang->colon . $this->lang->testtask->common;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->testtask->common;
$this->view->users = $users;
$this->view->tasks = $testtasks;
$this->view->product = $product;
@@ -175,7 +175,7 @@ class testtask extends control
$pager = pager::init($recTotal, $recPerPage, $pageID);
$sort = common::appendOrder($orderBy);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->common;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->common;
$this->view->tasks = $this->testtask->getProductUnitTasks($productID, $browseType, $sort, $pager);
$this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');
$this->view->product = $this->product->getByID($productID);
@@ -337,7 +337,7 @@ class testtask extends control
$runs = $this->loadModel('testcase')->appendData($runs, 'testrun');
$runs = $this->testtaskZen->processRowspanForUnitCases($runs);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testcase->common;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testcase->common;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->runs = $runs;
$this->view->productID = $productID;
@@ -460,7 +460,7 @@ class testtask extends control
$this->products[$productID] = $product->name;
}
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->common . $this->lang->colon . $this->lang->testtask->reportChart;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->common . $this->lang->hyphen . $this->lang->testtask->reportChart;
$this->view->productID = $productID;
$this->view->taskID = $taskID;
$this->view->browseType = $browseType;
@@ -518,7 +518,7 @@ class testtask extends control
/* Process the rowspan property of cases for use by front-end component groupings. */
$cases = $this->testtaskZen->processRowspanForGroupCase($cases, $task->build);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->cases;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->cases;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->canBeChanged = common::canBeChanged('testtask', $task);
$this->view->productID = $productID;
@@ -608,7 +608,7 @@ class testtask extends control
/* Set menu. */
$this->loadModel('qa')->setMenu($productID, $testtask->branch);
$this->view->title = $testtask->name . $this->lang->colon . $this->lang->testtask->start;
$this->view->title = $testtask->name . $this->lang->hyphen . $this->lang->testtask->start;
$this->view->actions = $this->loadModel('action')->getList('testtask', $taskID);
$this->view->users = $this->loadModel('user')->getPairs('nodeleted', $testtask->owner);
$this->view->testtask = $testtask;
@@ -644,7 +644,7 @@ class testtask extends control
/* Set menu. */
$this->loadModel('qa')->setMenu($productID, $testtask->branch);
$this->view->title = $testtask->name . $this->lang->colon . $this->lang->close;
$this->view->title = $testtask->name . $this->lang->hyphen . $this->lang->close;
$this->view->actions = $this->loadModel('action')->getList('testtask', $taskID);
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|qdfirst');
$this->view->testtask = $testtask;
@@ -680,7 +680,7 @@ class testtask extends control
/* Set menu. */
$this->loadModel('qa')->setMenu($productID, $testtask->branch);
$this->view->title = $testtask->name . $this->lang->colon . $this->lang->testtask->block;
$this->view->title = $testtask->name . $this->lang->hyphen . $this->lang->testtask->block;
$this->view->actions = $this->loadModel('action')->getList('testtask', $taskID);
$this->view->users = $this->loadModel('user')->getPairs('nodeleted', $testtask->owner);
$this->view->testtask = $testtask;
@@ -716,7 +716,7 @@ class testtask extends control
/* Set menu. */
$this->loadModel('qa')->setMenu($productID, $testtask->branch);
$this->view->title = $testtask->name . $this->lang->colon . $this->lang->testtask->activate;
$this->view->title = $testtask->name . $this->lang->hyphen . $this->lang->testtask->activate;
$this->view->actions = $this->loadModel('action')->getList('testtask', $taskID);
$this->view->users = $this->loadModel('user')->getPairs('nodeleted', $testtask->owner);
$this->view->testtask = $testtask;
@@ -797,7 +797,7 @@ class testtask extends control
$pager = pager::init($recTotal, $recPerPage, $pageID);
$cases = $this->testtask->getLinkableCases($productID, $task, $type, $param, $pager);
$this->view->title = $task->name . $this->lang->colon . $this->lang->testtask->linkCase;
$this->view->title = $task->name . $this->lang->hyphen . $this->lang->testtask->linkCase;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->suites = $this->loadModel('testsuite')->getSuites($task->product);
$this->view->relatedTasks = $this->testtask->getRelatedTestTasks($productID, $taskID);
@@ -1037,7 +1037,7 @@ class testtask extends control
$executions = empty($productID) ? array() : $this->product->getExecutionPairsByProduct($productID, '', 0, '', array('review', 'design', 'request'));
$builds = empty($productID) ? array() : $this->loadModel('build')->getBuildPairs(array($productID), 'all', 'notrunk', 0, 'execution', '', false);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->importUnitResult;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->importUnitResult;
$this->view->users = $this->loadModel('user')->getPairs('noletter|nodeleted|noclosed');
$this->view->executions = $executions;
$this->view->builds = $builds;
+1 -1
View File
@@ -152,7 +152,7 @@ foreach($cases as $caseID => $case)
}
formPanel
(
set::title(($from == 'testtask' ? $lang->testtask->common . $lang->colon : '') . $lang->testtask->batchRun),
set::title(($from == 'testtask' ? $lang->testtask->common . $lang->hyphen : '') . $lang->testtask->batchRun),
set::width('auto'),
on::click('[name^=results]', 'toggleAction'),
+1 -1
View File
@@ -15,7 +15,7 @@
<?php $this->app->loadLang('testcase'); unset($this->lang->testcase->resultList['n/a']); ?>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2><?php echo ($from == 'testtask' ? ($lang->testtask->common . $lang->colon) : ''). $lang->testtask->batchRun;?></h2>
<h2><?php echo ($from == 'testtask' ? ($lang->testtask->common . $lang->hyphen) : ''). $lang->testtask->batchRun;?></h2>
</div>
<form class='main-form no-stash' method='post' target='hiddenwin'>
<table class='table table-fixed table-form table-bordered'>
+3 -3
View File
@@ -317,7 +317,7 @@ class testtaskZen extends testtask
$this->setDropMenu($product->id, $testtask);
$showModule = $this->loadModel('setting')->getItem("owner={$this->app->user->account}&module=testtask&section=cases&key=showModule");
$this->view->title = $product->name . $this->lang->colon . $this->lang->testtask->cases;
$this->view->title = $product->name . $this->lang->hyphen . $this->lang->testtask->cases;
$this->view->runs = $this->loadModel('testcase')->appendData($runs, 'run');
$this->view->users = $this->loadModel('user')->getPairs('noclosed|qafirst|noletter');
$this->view->moduleTree = $this->loadModel('tree')->getTreeMenu($product->id, 'case', 0, array('treeModel', 'createTestTaskLink'), (string)$testtask->id, $testtask->branch ? $testtask->branch : '0');
@@ -380,7 +380,7 @@ class testtaskZen extends testtask
$this->products[$productID] = $product->name;
}
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->create;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->create;
$this->view->product = $this->loadModel('product')->getByID($productID);
$this->view->executions = $productID ? $this->product->getExecutionPairsByProduct($productID, '', $projectID, 'stagefilter') : array();
$this->view->builds = $productID ? $this->loadModel('build')->getBuildPairs(array($productID), 'all', 'notrunk,withexecution', $objectID, $objectType, '', false) : array();
@@ -424,7 +424,7 @@ class testtaskZen extends testtask
$this->products[$productID] = $product->name;
}
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->edit;
$this->view->title = $this->products[$productID] . $this->lang->hyphen . $this->lang->testtask->edit;
$this->view->task = $task;
$this->view->project = $this->project->getByID($projectID);
$this->view->productID = $productID;
+1 -1
View File
@@ -18,7 +18,7 @@
<?php js::set('objectsMethod', $config->todo->getUserObjectsMethod)?>
<div id="mainContent" class="main-content">
<div class="main-header">
<h2><?php echo $lang->todo->common . $lang->colon . $lang->todo->batchEdit;?></h2>
<h2><?php echo $lang->todo->common . $lang->hyphen . $lang->todo->batchEdit;?></h2>
<div class='input-group pull-right'>
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=todo&section=custom&key=batchEditFields')?>
<?php include '../../common/view/customfield.html.php';?> </div>
+4 -4
View File
@@ -20,7 +20,7 @@ class todoZen extends todo
*/
protected function buildCreateView(string $date)
{
$this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->create;
$this->view->title = $this->lang->todo->common . $this->lang->hyphen . $this->lang->todo->create;
$this->view->date = date('Y-m-d', strtotime($date));
$this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta);
$this->view->time = date::now();
@@ -46,7 +46,7 @@ class todoZen extends todo
$this->view->customFields = $customFields;
$this->view->showFields = $this->config->todo->custom->batchCreateFields;
$this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->batchCreate;
$this->view->title = $this->lang->todo->common . $this->lang->hyphen . $this->lang->todo->batchCreate;
$this->view->date = (int)$date == 0 ? $date : date('Y-m-d', strtotime($date));
$this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta);
$this->view->time = date::now();
@@ -66,7 +66,7 @@ class todoZen extends todo
protected function buildEditView(object $todo): void
{
$todo->date = date("Y-m-d", strtotime($todo->date));
$this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->edit;
$this->view->title = $this->lang->todo->common . $this->lang->hyphen . $this->lang->todo->edit;
$this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta);
$this->view->todo = $todo;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|noempty');
@@ -464,7 +464,7 @@ class todoZen extends todo
$this->view->showFields = $this->config->todo->custom->batchEditFields;
$this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta);
$this->view->time = date::now();
$this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->batchEdit;
$this->view->title = $this->lang->todo->common . $this->lang->hyphen . $this->lang->todo->batchEdit;
$this->display();
}
+1 -1
View File
@@ -189,7 +189,7 @@ div
div
(
setClass('entity-label flex items-center gap-x-2 text-lg font-bold'),
$viewType == 'host' ? $root->name : $lang->tree->common . $lang->colon . $root->name
$viewType == 'host' ? $root->name : $lang->tree->common . $lang->hyphen . $root->name
)
);
+1 -1
View File
@@ -165,7 +165,7 @@ div
div
(
setClass('entity-label flex items-center gap-x-2 text-lg font-bold'),
$lang->tree->common . $lang->colon . $root->name
$lang->tree->common . $lang->hyphen . $root->name
)
);
+3 -3
View File
@@ -65,11 +65,11 @@ if($viewType == 'doc' or $viewType == 'api')
<?php
if($viewType == 'doc')
{
echo $lang->doc->manageType . $lang->colon . $root->name;
echo $lang->doc->manageType . $lang->hyphen . $root->name;
}
elseif($viewType == 'api')
{
echo $lang->api->manageType . $lang->colon . $root->name;
echo $lang->api->manageType . $lang->hyphen . $root->name;
}
elseif($viewType == 'line')
{
@@ -85,7 +85,7 @@ if($viewType == 'doc' or $viewType == 'api')
}
else
{
echo $lang->tree->common . $lang->colon . $root->name;
echo $lang->tree->common . $lang->hyphen . $root->name;
}
?>
</span>
+1 -1
View File
@@ -25,7 +25,7 @@ li.story-item > .tree-actions .tree-action[data-type=delete] {display: none;}
</a>
<div class="divider"></div>
<div class="page-title">
<span class='text' title='<?php echo $root->name;?>'><?php echo $lang->tree->common . $lang->colon . $root->name;?></span>
<span class='text' title='<?php echo $root->name;?>'><?php echo $lang->tree->common . $lang->hyphen . $root->name;?></span>
</div>
</div>
</div>
+1 -1
View File
@@ -95,7 +95,7 @@ class upgrade extends control
if($_POST) $this->locate(inlink('confirm', "fromVersion={$this->post->fromVersion}"));
$this->view->title = $this->lang->upgrade->common . $this->lang->colon . $this->lang->upgrade->selectVersion;
$this->view->title = $this->lang->upgrade->common . $this->lang->hyphen . $this->lang->upgrade->selectVersion;
$this->view->version = $version;
$this->display();
}
+10 -10
View File
@@ -71,7 +71,7 @@ class user extends control
$users = $this->loadModel('dept')->getDeptUserPairs($deptID, 'id');
if(!isset($users[$userID])) return $this->send(array('result' => 'fail', 'load' => array('alert' => $this->lang->user->error->noAccess, 'locate' => array('back' => true))));
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->todo;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->todo;
$this->view->deptUsers = $users;
$this->view->todos = $todos;
$this->view->user = $user;
@@ -120,7 +120,7 @@ class user extends control
if($storyType == 'requirement') $this->lang->story->title = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->story->title);
/* Assign. */
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->story;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->story;
$this->view->stories = $this->story->getUserStories($user->account, $type, $sort, $pager, $storyType, false, 'all');
$this->view->users = $this->user->getPairs('noletter');
$this->view->deptUsers = $users;
@@ -165,7 +165,7 @@ class user extends control
if(strpos($sort, 'Label') !== false) $sort = str_replace('Label', '', $sort);
/* Assign. */
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->task;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->task;
$this->view->tasks = $this->loadModel('task')->getUserTasks($user->account, $type, 0, $pager, $sort);
$this->view->deptUsers = $users;
$this->view->user = $user;
@@ -205,7 +205,7 @@ class user extends control
/* Load the lang of bug module. */
$this->app->loadLang('bug');
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->bug;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->bug;
$this->view->bugs = $this->loadModel('bug')->getUserBugs($user->account, $type, $orderBy, 0, $pager);
$this->view->users = $this->user->getPairs('noletter');
$this->view->deptUsers = $users;
@@ -249,7 +249,7 @@ class user extends control
/* Append id for second sort. */
$sort = common::appendOrder($orderBy);
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->testTask;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->testTask;
$this->view->tasks = $this->loadModel('testtask')->getByUser($user->account, $pager, $sort);
$this->view->deptUsers = $users;
$this->view->user = $user;
@@ -306,7 +306,7 @@ class user extends control
$cases = $this->loadModel('story')->checkNeedConfirm($cases);
/* Assign. */
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->testCase;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->testCase;
$this->view->users = $this->user->getPairs('noletter');
$this->view->cases = $cases;
$this->view->deptUsers = $users;
@@ -343,7 +343,7 @@ class user extends control
$this->app->loadClass('pager', true);
$pager = pager::init($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->execution;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->execution;
$this->view->executions = $this->user->getExecutions($user->account, 'all', $orderBy, $pager);
$this->view->deptUsers = $users;
$this->view->user = $user;
@@ -379,7 +379,7 @@ class user extends control
$this->app->loadClass('pager', true);
$pager = pager::init($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->issue;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->issue;
$this->view->issues = $this->loadModel('issue')->getUserIssues($type, 0, $user->account, $orderBy, $pager);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->deptUsers = $users;
@@ -419,7 +419,7 @@ class user extends control
$pager = pager::init($recTotal, $recPerPage, $pageID);
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->risk;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->risk;
$this->view->risks = $this->loadModel('risk')->getUserRisks($type, $user->account, $orderBy, $pager);
$this->view->deptUsers = $users;
$this->view->user = $user;
@@ -960,7 +960,7 @@ class user extends control
/* Assign. */
$this->view->title = $this->lang->user->common . $this->lang->colon . $this->lang->user->dynamic;
$this->view->title = $this->lang->user->common . $this->lang->hyphen . $this->lang->user->dynamic;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->dateGroups = $dateGroups;
$this->view->deptUsers = $users;
+4 -4
View File
@@ -45,7 +45,7 @@ class webhook extends control
/* Unset selectedDepts cookie. */
helper::setcookie('selectedDepts', '', 0, $this->config->webRoot, '', $this->config->cookieSecure, true);
$this->view->title = $this->lang->webhook->api . $this->lang->colon . $this->lang->webhook->list;
$this->view->title = $this->lang->webhook->api . $this->lang->hyphen . $this->lang->webhook->list;
$this->view->webhooks = $this->webhook->getList($orderBy, $pager);
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
@@ -71,7 +71,7 @@ class webhook extends control
}
$this->app->loadLang('action');
$this->view->title = $this->lang->webhook->api . $this->lang->colon . $this->lang->webhook->create;
$this->view->title = $this->lang->webhook->api . $this->lang->hyphen . $this->lang->webhook->create;
$this->view->products = $this->loadModel('product')->getPairs();
$this->view->executions = $this->loadModel('execution')->getPairs();
$this->display();
@@ -98,7 +98,7 @@ class webhook extends control
$webhook = $this->webhook->getByID($id);
$this->app->loadLang('action');
$this->view->title = $this->lang->webhook->edit . $this->lang->colon . $webhook->name;
$this->view->title = $this->lang->webhook->edit . $this->lang->hyphen . $webhook->name;
$this->view->products = $this->loadModel('product')->getPairs();
$this->view->executions = $this->loadModel('execution')->getPairs();
$this->view->webhook = $webhook;
@@ -141,7 +141,7 @@ class webhook extends control
$pager = new pager($recTotal, $recPerPage, $pageID);
$webhook = $this->webhook->getByID($id);
$this->view->title = $this->lang->webhook->log . $this->lang->colon . $webhook->name;
$this->view->title = $this->lang->webhook->log . $this->lang->hyphen . $webhook->name;
$this->view->logs = $this->webhook->getLogList($id, $orderBy, $pager);
$this->view->webhook = $webhook;
$this->view->orderBy = $orderBy;
+1 -1
View File
@@ -48,7 +48,7 @@ class weeklyModel extends model
$current = zget($weeks, $date, current($weeks));
$selectHtml = "<div class='btn-group angle-btn'>";
$selectHtml .= html::a('###', $this->lang->weekly->common . $this->lang->colon . $project->name, '', "class='btn'");
$selectHtml .= html::a('###', $this->lang->weekly->common . $this->lang->hyphen . $project->name, '', "class='btn'");
$selectHtml .= '</div>';
$selectHtml .= "<div class='btn-group angle-btn'>";