* Fix typo, rename attatch to attach.
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
</tr>
|
||||
<?php $this->printExtendFields('', 'table', 'columns=4');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->legendAttatch;?></th>
|
||||
<th><?php echo $lang->story->legendAttach;?></th>
|
||||
<td colspan='4'><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<?php $showFile = (strpos('draft,changing', $story->status) === false and empty($files)) ? false : true;?>
|
||||
<?php if($showFile):?>
|
||||
<div class='detail'>
|
||||
<div class='detail-title'><?php echo $lang->attatch;?></div>
|
||||
<div class='detail-title'><?php echo $lang->attach;?></div>
|
||||
<div class='form-group'>
|
||||
<?php $canChangeFile = strpos('draft,changing', $story->status) !== false ? true : false;?>
|
||||
<?php echo $this->fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'false', 'object' => $story, 'method' => 'edit', 'showDelete' => $canChangeFile));?>
|
||||
|
||||
@@ -176,7 +176,7 @@ class backup extends control
|
||||
if(!$result->result) return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->backup->error->restoreSQL, $result->error)));
|
||||
}
|
||||
|
||||
/* Restore attatchments. */
|
||||
/* Restore attachments. */
|
||||
if(file_exists("{$this->backupPath}{$fileName}.file.zip.php"))
|
||||
{
|
||||
$fileBackup = "{$this->backupPath}{$fileName}.file.zip.php";
|
||||
@@ -246,7 +246,7 @@ class backup extends control
|
||||
return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->backup->error->noDelete, $this->backupPath . $fileName . '.sql')));
|
||||
}
|
||||
|
||||
/* Delete attatchments file. */
|
||||
/* Delete attachments file. */
|
||||
if(file_exists($this->backupPath . $fileName . '.file.zip.php') and !unlink($this->backupPath . $fileName . '.file.zip.php'))
|
||||
{
|
||||
return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->backup->error->noDelete, $this->backupPath . $fileName . '.file.zip.php')));
|
||||
|
||||
@@ -184,7 +184,7 @@ $lang->bug->createBuild = 'Neu';
|
||||
global $config;
|
||||
/* Legend list. */
|
||||
$lang->bug->legendBasicInfo = 'Basis Info';
|
||||
$lang->bug->legendAttatch = 'Anlagen';
|
||||
$lang->bug->legendAttach = 'Anlagen';
|
||||
$lang->bug->legendPRJExecStoryTask = "{$lang->SRCommon}/{$lang->executionCommon}/Story/Task";
|
||||
$lang->bug->legendExecStoryTask = "{$lang->SRCommon}/Story/Task";
|
||||
$lang->bug->lblTypeAndSeverity = 'Typ/Schwere';
|
||||
|
||||
@@ -184,7 +184,7 @@ $lang->bug->createBuild = 'New';
|
||||
global $config;
|
||||
/* Legend list. */
|
||||
$lang->bug->legendBasicInfo = 'Basic Info';
|
||||
$lang->bug->legendAttatch = 'Files';
|
||||
$lang->bug->legendAttach = 'Files';
|
||||
$lang->bug->legendPRJExecStoryTask = "{$lang->SRCommon}/{$lang->executionCommon}/Story/Task";
|
||||
$lang->bug->legendExecStoryTask = "{$lang->SRCommon}/Story/Task";
|
||||
$lang->bug->lblTypeAndSeverity = 'Type/Severity';
|
||||
|
||||
@@ -184,7 +184,7 @@ $lang->bug->createBuild = 'Nouveau';
|
||||
global $config;
|
||||
/* Legend list. */
|
||||
$lang->bug->legendBasicInfo = 'Infos de Base';
|
||||
$lang->bug->legendAttatch = 'Fichiers';
|
||||
$lang->bug->legendAttach = 'Fichiers';
|
||||
$lang->bug->legendPRJExecStoryTask = "{$lang->SRCommon}/{$lang->executionCommon}/Story/Task";
|
||||
$lang->bug->legendExecStoryTask = "{$lang->SRCommon}/Story/Task";
|
||||
$lang->bug->lblTypeAndSeverity = 'Type/Severité';
|
||||
|
||||
@@ -162,7 +162,7 @@ $lang->bug->createBuild = 'Mới';
|
||||
|
||||
/* Legend list。*/
|
||||
$lang->bug->legendBasicInfo = 'Thông tin cơ bản';
|
||||
$lang->bug->legendAttatch = 'Files';
|
||||
$lang->bug->legendAttach = 'Files';
|
||||
$lang->bug->legendPRJExecStoryTask = 'Project/' . $lang->executionCommon . '/Story/Task';
|
||||
$lang->bug->legendExecStoryTask = 'Project/Câu chuyện/Nhiệm vụ';
|
||||
$lang->bug->lblTypeAndSeverity = 'Loại/Mức độ';
|
||||
|
||||
@@ -184,7 +184,7 @@ $lang->bug->createBuild = '创建';
|
||||
global $config;
|
||||
/* legend列表。*/
|
||||
$lang->bug->legendBasicInfo = '基本信息';
|
||||
$lang->bug->legendAttatch = '附件';
|
||||
$lang->bug->legendAttach = '附件';
|
||||
$lang->bug->legendPRJExecStoryTask = "{$lang->projectCommon}/{$lang->executionCommon}/{$lang->SRCommon}/任务";
|
||||
$lang->bug->legendExecStoryTask = "{$lang->projectCommon}/{$lang->SRCommon}/任务";
|
||||
$lang->bug->lblTypeAndSeverity = '类型/严重程度';
|
||||
|
||||
@@ -158,7 +158,7 @@ $lang->bug->createBuild = '創建';
|
||||
|
||||
/* legend列表。*/
|
||||
$lang->bug->legendBasicInfo = '基本信息';
|
||||
$lang->bug->legendAttatch = '附件';
|
||||
$lang->bug->legendAttach = '附件';
|
||||
$lang->bug->legendPRJExecStoryTask = "項目/" . $lang->executionCommon . "/{$lang->SRCommon}/任務";
|
||||
$lang->bug->legendExecStoryTask = $lang->executionCommon . "/{$lang->SRCommon}/任務";
|
||||
$lang->bug->lblTypeAndSeverity = '類型/嚴重程度';
|
||||
|
||||
@@ -103,7 +103,7 @@ $lang->confirmDraft = 'Unsaved form is found. Do you want to restore it?';
|
||||
$lang->resume = 'resume';
|
||||
$lang->comment = 'Notiz';
|
||||
$lang->history = 'Historie';
|
||||
$lang->attatch = 'Anlagen';
|
||||
$lang->attach = 'Anlagen';
|
||||
$lang->reverse = 'Umkehren';
|
||||
$lang->switchDisplay = 'Umschalten';
|
||||
$lang->switchTo = 'Switch To';
|
||||
|
||||
@@ -103,7 +103,7 @@ $lang->confirmDraft = 'Unsaved form is found. Do you want to restore it?';
|
||||
$lang->resume = 'resume';
|
||||
$lang->comment = 'Note';
|
||||
$lang->history = 'History';
|
||||
$lang->attatch = 'Files';
|
||||
$lang->attach = 'Files';
|
||||
$lang->reverse = 'Inverse';
|
||||
$lang->switchDisplay = 'Toggle';
|
||||
$lang->switchTo = 'Switch To';
|
||||
|
||||
@@ -103,7 +103,7 @@ $lang->confirmDraft = 'Unsaved form is found. Do you want to restore it?';
|
||||
$lang->resume = 'resume';
|
||||
$lang->comment = 'Note';
|
||||
$lang->history = 'Historique';
|
||||
$lang->attatch = 'Fichiers';
|
||||
$lang->attach = 'Fichiers';
|
||||
$lang->reverse = 'Inverser';
|
||||
$lang->switchDisplay = 'Basculer';
|
||||
$lang->switchTo = 'Switch To';
|
||||
|
||||
@@ -75,7 +75,7 @@ $lang->confirmDraft = 'There are unsaved form of %name%. Do you want to resto
|
||||
$lang->resume = 'resume';
|
||||
$lang->comment = 'Ghi chú';
|
||||
$lang->history = 'Lịch sử';
|
||||
$lang->attatch = 'Files';
|
||||
$lang->attach = 'Files';
|
||||
$lang->reverse = 'Inverse';
|
||||
$lang->switchDisplay = 'Menu';
|
||||
$lang->expand = 'Mở ra';
|
||||
|
||||
@@ -103,7 +103,7 @@ $lang->confirmDraft = '有未保存的%name%表单,是否恢复?';
|
||||
$lang->resume = '恢复';
|
||||
$lang->comment = '备注';
|
||||
$lang->history = '历史记录';
|
||||
$lang->attatch = '附件';
|
||||
$lang->attach = '附件';
|
||||
$lang->reverse = '切换顺序';
|
||||
$lang->switchDisplay = '切换显示';
|
||||
$lang->switchTo = '切换到';
|
||||
|
||||
@@ -83,7 +83,7 @@ $lang->actions = '操作';
|
||||
$lang->restore = '恢復預設';
|
||||
$lang->comment = '備註';
|
||||
$lang->history = '歷史記錄';
|
||||
$lang->attatch = '附件';
|
||||
$lang->attach = '附件';
|
||||
$lang->reverse = '切換順序';
|
||||
$lang->switchDisplay = '切換顯示';
|
||||
$lang->expand = '展開全部';
|
||||
|
||||
@@ -278,7 +278,7 @@ $lang->story->legendBasicInfo = 'Basis Infos';
|
||||
$lang->story->legendLifeTime = 'Story Leben ';
|
||||
$lang->story->legendRelated = 'Weitere Infos';
|
||||
$lang->story->legendMailto = 'Mail an';
|
||||
$lang->story->legendAttatch = 'Dateien';
|
||||
$lang->story->legendAttach = 'Dateien';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . ' Aufgaben';
|
||||
$lang->story->legendBugs = 'Verküpfte Bugs';
|
||||
$lang->story->legendFromBug = 'Verküpfte Formular Bugs';
|
||||
|
||||
@@ -278,7 +278,7 @@ $lang->story->legendBasicInfo = 'Basic Info';
|
||||
$lang->story->legendLifeTime = 'Story Life ';
|
||||
$lang->story->legendRelated = 'Related Info';
|
||||
$lang->story->legendMailto = 'Mailto';
|
||||
$lang->story->legendAttatch = 'Files';
|
||||
$lang->story->legendAttach = 'Files';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . ' And Task';
|
||||
$lang->story->legendBugs = 'Linked Bugs';
|
||||
$lang->story->legendFromBug = 'From Bug';
|
||||
|
||||
@@ -278,7 +278,7 @@ $lang->story->legendBasicInfo = 'Infos de Base';
|
||||
$lang->story->legendLifeTime = 'Vie de la Story ';
|
||||
$lang->story->legendRelated = 'Info Connexes';
|
||||
$lang->story->legendMailto = 'Mailto';
|
||||
$lang->story->legendAttatch = 'Fichiers';
|
||||
$lang->story->legendAttach = 'Fichiers';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . ' et Tâches';
|
||||
$lang->story->legendBugs = 'Bugs Liés';
|
||||
$lang->story->legendFromBug = 'du Bug';
|
||||
|
||||
@@ -263,7 +263,7 @@ $lang->story->legendBasicInfo = 'Thông tin cơ bản';
|
||||
$lang->story->legendLifeTime = 'Tổng quan';
|
||||
$lang->story->legendRelated = 'Thông tin liên quan';
|
||||
$lang->story->legendMailto = 'Mail tới';
|
||||
$lang->story->legendAttatch = 'Files';
|
||||
$lang->story->legendAttach = 'Files';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . ' và nhiệm vụ';
|
||||
$lang->story->legendBugs = 'Bugs liên kết';
|
||||
$lang->story->legendFromBug = 'Từ Bug';
|
||||
|
||||
@@ -278,7 +278,7 @@ $lang->story->legendBasicInfo = '基本信息';
|
||||
$lang->story->legendLifeTime = "需求的一生";
|
||||
$lang->story->legendRelated = '相关信息';
|
||||
$lang->story->legendMailto = '抄送给';
|
||||
$lang->story->legendAttatch = '附件';
|
||||
$lang->story->legendAttach = '附件';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . '任务';
|
||||
$lang->story->legendBugs = '相关Bug';
|
||||
$lang->story->legendFromBug = '来源Bug';
|
||||
|
||||
@@ -241,7 +241,7 @@ $lang->story->legendBasicInfo = '基本信息';
|
||||
$lang->story->legendLifeTime = "需求的一生";
|
||||
$lang->story->legendRelated = '相關信息';
|
||||
$lang->story->legendMailto = '抄送給';
|
||||
$lang->story->legendAttatch = '附件';
|
||||
$lang->story->legendAttach = '附件';
|
||||
$lang->story->legendProjectAndTask = $lang->executionCommon . '任務';
|
||||
$lang->story->legendBugs = '相關Bug';
|
||||
$lang->story->legendFromBug = '來源Bug';
|
||||
|
||||
@@ -140,7 +140,7 @@ foreach($fields as $field => $attr)
|
||||
$formItems['file'] = formGroup
|
||||
(
|
||||
set::width('full'),
|
||||
set::label($lang->attatch),
|
||||
set::label($lang->attach),
|
||||
input
|
||||
(
|
||||
set::type('file'),
|
||||
|
||||
@@ -360,7 +360,7 @@ formPanel
|
||||
),
|
||||
formGroup
|
||||
(
|
||||
set::label($lang->story->legendAttatch),
|
||||
set::label($lang->story->legendAttach),
|
||||
upload()
|
||||
),
|
||||
formGroup
|
||||
|
||||
@@ -157,7 +157,7 @@ detailBody
|
||||
),
|
||||
$canEditContent || $story->files ? section
|
||||
(
|
||||
set::title($lang->story->legendAttatch),
|
||||
set::title($lang->story->legendAttach),
|
||||
$canEditContent ? upload() : null,
|
||||
$story->files ? fileList
|
||||
(
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<td><?php echo html::textarea('comment', '', 'rows=5 class="form-control"');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->attatch;?></th>
|
||||
<th><?php echo $lang->attach;?></th>
|
||||
<td>
|
||||
<?php echo $this->fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'false', 'object' => $story, 'method' => 'edit'));?>
|
||||
<?php echo $this->fetch('file', 'buildform');?>
|
||||
|
||||
@@ -334,7 +334,7 @@ foreach(explode(',', $config->story->create->requiredFields) as $field)
|
||||
</tr>
|
||||
<?php $this->printExtendFields('', 'table', 'columns=4');?>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->legendAttatch;?></th>
|
||||
<th><?php echo $lang->story->legendAttach;?></th>
|
||||
<td colspan='4'><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<?php $hiddenMailto = strpos(",$showFields,", ',mailto,') !== false ? '' : 'hidden';?>
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<?php $showFile = (strpos('draft,changing', $story->status) === false and empty($story->files)) ? false : true;?>
|
||||
<?php if($showFile):?>
|
||||
<div class='detail'>
|
||||
<div class='detail-title'><?php echo $lang->attatch;?></div>
|
||||
<div class='detail-title'><?php echo $lang->attach;?></div>
|
||||
<div class='form-group'>
|
||||
<?php $canChangeFile = strpos('draft,changing', $story->status) !== false ? true : false;?>
|
||||
<?php echo $this->fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'false', 'object' => $story, 'method' => 'edit', 'showDelete' => $canChangeFile));?>
|
||||
|
||||
@@ -183,7 +183,7 @@ $lang->testcase->lblStageValue = 'Stageliste';
|
||||
$lang->testcase->lblStatusValue = 'Statusliste';
|
||||
|
||||
$lang->testcase->legendBasicInfo = 'Basis Info';
|
||||
$lang->testcase->legendAttatch = 'Datei';
|
||||
$lang->testcase->legendAttach = 'Datei';
|
||||
$lang->testcase->legendLinkBugs = 'Bug';
|
||||
$lang->testcase->legendOpenAndEdit = 'Erstellt/Bearbeitet';
|
||||
$lang->testcase->legendComment = 'Bemerkung';
|
||||
|
||||
@@ -186,7 +186,7 @@ $lang->testcase->lblStageValue = 'Phase Value';
|
||||
$lang->testcase->lblStatusValue = 'Status Value';
|
||||
|
||||
$lang->testcase->legendBasicInfo = 'Basic Information';
|
||||
$lang->testcase->legendAttatch = 'Files';
|
||||
$lang->testcase->legendAttach = 'Files';
|
||||
$lang->testcase->legendLinkBugs = 'Bugs';
|
||||
$lang->testcase->legendOpenAndEdit = 'Create/Edit';
|
||||
$lang->testcase->legendComment = 'Comment';
|
||||
|
||||
@@ -183,7 +183,7 @@ $lang->testcase->lblStageValue = 'Valeur Phase';
|
||||
$lang->testcase->lblStatusValue = 'Valeur Statut';
|
||||
|
||||
$lang->testcase->legendBasicInfo = 'Infos de Base';
|
||||
$lang->testcase->legendAttatch = 'Fichiers';
|
||||
$lang->testcase->legendAttach = 'Fichiers';
|
||||
$lang->testcase->legendLinkBugs = 'Bugs';
|
||||
$lang->testcase->legendOpenAndEdit = 'Créer/Editer';
|
||||
$lang->testcase->legendComment = 'Commentaire';
|
||||
|
||||
@@ -179,7 +179,7 @@ $lang->testcase->lblStageValue = 'Giá trị giai đoạn';
|
||||
$lang->testcase->lblStatusValue = 'Giá trị trạng thái';
|
||||
|
||||
$lang->testcase->legendBasicInfo = 'Thông tin cơ bản';
|
||||
$lang->testcase->legendAttatch = 'Files';
|
||||
$lang->testcase->legendAttach = 'Files';
|
||||
$lang->testcase->legendLinkBugs = 'Bugs';
|
||||
$lang->testcase->legendOpenAndEdit = 'Tạo/Sửa';
|
||||
$lang->testcase->legendComment = 'Nhận xét';
|
||||
|
||||
@@ -187,7 +187,7 @@ $lang->testcase->lblStageValue = '阶段可选值列表';
|
||||
$lang->testcase->lblStatusValue = '状态可选值列表';
|
||||
|
||||
$lang->testcase->legendBasicInfo = '基本信息';
|
||||
$lang->testcase->legendAttatch = '附件';
|
||||
$lang->testcase->legendAttach = '附件';
|
||||
$lang->testcase->legendLinkBugs = '相关Bug';
|
||||
$lang->testcase->legendOpenAndEdit = '创建编辑';
|
||||
$lang->testcase->legendComment = '备注';
|
||||
|
||||
@@ -179,7 +179,7 @@ $lang->testcase->lblStageValue = '階段可選值列表';
|
||||
$lang->testcase->lblStatusValue = '狀態可選值列表';
|
||||
|
||||
$lang->testcase->legendBasicInfo = '基本信息';
|
||||
$lang->testcase->legendAttatch = '附件';
|
||||
$lang->testcase->legendAttach = '附件';
|
||||
$lang->testcase->legendLinkBugs = '相關Bug';
|
||||
$lang->testcase->legendOpenAndEdit = '創建編輯';
|
||||
$lang->testcase->legendComment = '備註';
|
||||
|
||||
@@ -215,7 +215,7 @@ foreach($results as $i => $result)
|
||||
(
|
||||
width('56px'),
|
||||
setClass('text-left'),
|
||||
$lang->attatch
|
||||
$lang->attach
|
||||
),
|
||||
),
|
||||
div
|
||||
|
||||
Reference in New Issue
Block a user