* Add language for files.
This commit is contained in:
@@ -39,6 +39,7 @@ $lang->doc->fileTitle = 'Dateiname';
|
||||
$lang->doc->filePath = 'Dateipfad';
|
||||
$lang->doc->extension = 'Erweiterung';
|
||||
$lang->doc->size = 'Größe der Anlage';
|
||||
$lang->doc->source = 'Source';
|
||||
$lang->doc->download = 'Download';
|
||||
$lang->doc->acl = 'Rechte';
|
||||
$lang->doc->fileName = 'Files';
|
||||
@@ -212,6 +213,10 @@ $lang->doc->noticeAcl['doc']['private'] = 'Only the one who created it can acces
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = 'Url';
|
||||
|
||||
$lang->doc->summary = "Total files on this page: <strong>%s</strong> , total size: <strong>%s</strong>, <strong>%s</strong>";
|
||||
$lang->doc->ge = ':';
|
||||
$lang->doc->point = '.';
|
||||
|
||||
$lang->doclib = new stdclass();
|
||||
$lang->doclib->name = 'Name';
|
||||
$lang->doclib->control = 'Zugriffskontrolle';
|
||||
|
||||
@@ -40,6 +40,7 @@ $lang->doc->fileTitle = 'File Name';
|
||||
$lang->doc->filePath = 'File Path';
|
||||
$lang->doc->extension = 'Extension';
|
||||
$lang->doc->size = 'Files Size';
|
||||
$lang->doc->source = 'Source';
|
||||
$lang->doc->download = 'Download';
|
||||
$lang->doc->acl = 'Right';
|
||||
$lang->doc->fileName = 'Files';
|
||||
@@ -217,6 +218,10 @@ $lang->doc->noticeAcl['doc']['private'] = 'Only the one who created it can acces
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = 'URL';
|
||||
|
||||
$lang->doc->summary = "Total files on this page: <strong>%s</strong> , total size: <strong>%s</strong>, <strong>%s</strong>";
|
||||
$lang->doc->ge = ':';
|
||||
$lang->doc->point = '.';
|
||||
|
||||
$lang->doclib = new stdclass();
|
||||
$lang->doclib->name = 'Name';
|
||||
$lang->doclib->control = 'Access Control';
|
||||
|
||||
@@ -39,6 +39,7 @@ $lang->doc->fileTitle = 'Nom du Fichier';
|
||||
$lang->doc->filePath = 'Chemin Fichier';
|
||||
$lang->doc->extension = 'Extension';
|
||||
$lang->doc->size = 'Taille de la pièce jointe';
|
||||
$lang->doc->source = 'Source';
|
||||
$lang->doc->download = 'Téléchargement';
|
||||
$lang->doc->acl = 'Droit';
|
||||
$lang->doc->fileName = 'Fichiers';
|
||||
@@ -212,6 +213,10 @@ $lang->doc->noticeAcl['doc']['private'] = 'Seulement celui qui a ajouté le docu
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = 'URL';
|
||||
|
||||
$lang->doc->summary = "Total files on this page: <strong>%s</strong> , total size: <strong>%s</strong>, <strong>%s</strong>";
|
||||
$lang->doc->ge = ':';
|
||||
$lang->doc->point = '.';
|
||||
|
||||
$lang->doclib = new stdclass();
|
||||
$lang->doclib->name = 'Nom';
|
||||
$lang->doclib->control = "Contrôle d'Accès";
|
||||
|
||||
@@ -39,6 +39,7 @@ $lang->doc->fileTitle = 'File tên';
|
||||
$lang->doc->filePath = 'File Path';
|
||||
$lang->doc->extension = 'Extension';
|
||||
$lang->doc->size = 'Cỡ miếng';
|
||||
$lang->doc->source = 'Source';
|
||||
$lang->doc->download = 'Tải về';
|
||||
$lang->doc->acl = 'Right';
|
||||
$lang->doc->fileName = 'Files';
|
||||
@@ -212,6 +213,10 @@ $lang->doc->noticeAcl['doc']['private'] = 'Chỉ the one who created it có th
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = 'URL';
|
||||
|
||||
$lang->doc->summary = "Total files on this page: <strong>%s</strong> , total size: <strong>%s</strong>, <strong>%s</strong>";
|
||||
$lang->doc->ge = ':';
|
||||
$lang->doc->point = '.';
|
||||
|
||||
$lang->doclib = new stdclass();
|
||||
$lang->doclib->name = 'Tên';
|
||||
$lang->doclib->control = 'Quyền truy cập';
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
/* 欄位列表。*/
|
||||
$lang->doc->common = '文檔';
|
||||
$lang->doc->id = '文檔編號';
|
||||
$lang->doc->id = '文檔';
|
||||
$lang->doc->product = '所屬' . $lang->productCommon;
|
||||
$lang->doc->project = '所屬項目';
|
||||
$lang->doc->execution = '所屬' . $lang->executionCommon;
|
||||
@@ -36,10 +36,11 @@ $lang->doc->fileObject = '所屬對象';
|
||||
$lang->doc->whiteList = '白名單';
|
||||
$lang->doc->contentType = '文檔格式';
|
||||
$lang->doc->separator = "<i class='icon-angle-right'></i>";
|
||||
$lang->doc->fileTitle = '附件名';
|
||||
$lang->doc->fileTitle = '附件名稱';
|
||||
$lang->doc->filePath = '地址';
|
||||
$lang->doc->extension = '類型';
|
||||
$lang->doc->size = '附件大小';
|
||||
$lang->doc->source = '來源';
|
||||
$lang->doc->download = '下載';
|
||||
$lang->doc->acl = '權限';
|
||||
$lang->doc->fileName = '附件';
|
||||
@@ -205,6 +206,10 @@ $lang->doc->noticeAcl['doc']['private'] = '只有創建者自己可以訪問。'
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = '相應的連結地址';
|
||||
|
||||
$lang->doc->summary = "本頁共 <strong>%s</strong> 個附件,共計 <strong>%s</strong>,其中<strong>%s</strong>。";
|
||||
$lang->doc->ge = '個';
|
||||
$lang->doc->point = '、';
|
||||
|
||||
$lang->doclib = new stdclass();
|
||||
$lang->doclib->name = '文檔庫名稱';
|
||||
$lang->doclib->control = '訪問控制';
|
||||
|
||||
+11
-4
@@ -2059,7 +2059,7 @@ class docModel extends model
|
||||
$selected = $key == $libID ? 'selected' : '';
|
||||
$output .= html::a(inlink($methodName, "type=$type&objectID=$objectID&libID=$key"), $lib->name, '', "class='$selected' data-app='{$this->app->openApp}'");
|
||||
}
|
||||
if($type != 'custom')
|
||||
if($type != 'custom' and $type != 'book')
|
||||
{
|
||||
$selected = empty($libID) ? 'selected' : '';
|
||||
$output .= html::a(inlink('showFiles', "type=$type&objectID=$objectID"), $this->lang->doclib->files, '', "class='$selected' data-app='{$this->app->openApp}'");
|
||||
@@ -2227,10 +2227,17 @@ class docModel extends model
|
||||
$extensionNum = count($extensionCount);
|
||||
foreach($extensionCount as $extension => $count)
|
||||
{
|
||||
$extensionSummary .= $extension . ' ' . $count . $this->lang->doc->ge;
|
||||
if(in_array($this->app->getClientLang(), ['zh-cn','zh-tw']))
|
||||
{
|
||||
$extensionSummary .= $extension . ' ' . $count . $this->lang->doc->ge;
|
||||
|
||||
$extensionNum--;
|
||||
if(!empty($extensionNum)) $extensionSummary .= $this->lang->doc->point;
|
||||
$extensionNum--;
|
||||
if(!empty($extensionNum)) $extensionSummary .= $this->lang->doc->point;
|
||||
}
|
||||
else
|
||||
{
|
||||
$extensionSummary .= $extension . ' ' . $this->lang->doc->ge . ' ' . $count . $this->lang->doc->point;
|
||||
}
|
||||
}
|
||||
|
||||
return sprintf($this->lang->doc->summary, $filesCount, $sizeCount, $extensionSummary);
|
||||
|
||||
Reference in New Issue
Block a user