From c33d55bc86e9cb23343f11eccc8e9d9af42c3597 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 31 Oct 2023 14:19:26 +0800 Subject: [PATCH] + Add repo language. --- module/repo/lang/de.php | 52 ++++++++++++++++++++------------------ module/repo/lang/en.php | 51 +++++++++++++++++++------------------ module/repo/lang/fr.php | 52 ++++++++++++++++++++------------------ module/repo/lang/zh-cn.php | 51 +++++++++++++++++++------------------ 4 files changed, 106 insertions(+), 100 deletions(-) diff --git a/module/repo/lang/de.php b/module/repo/lang/de.php index 9fdc1be3f5..a9f3e475b7 100644 --- a/module/repo/lang/de.php +++ b/module/repo/lang/de.php @@ -210,36 +210,38 @@ $lang->repo->rules->example['task']['finish'] = "%finish% %task% %id%1%split%2 % $lang->repo->rules->example['task']['effort'] = "%effort% %task% %id%1%split%2 %cost%%consumedmark%1%cunit% %left%%leftmark%3%lunit%"; $lang->repo->rules->example['bug']['resolve'] = "%resolve% %bug% %id%1%split%2"; -$lang->repo->error = new stdclass(); -$lang->repo->error->useless = 'Your server disabled exec and shell_exec, so it cannot be applied.'; -$lang->repo->error->connect = 'Connection to the repo failed. Please enter username, password and repo address correctly!'; -$lang->repo->error->version = 'Version 1.8+ of https and svn protocol is required. Please update to latest version! Go to http://subversion.apache.org/'; -$lang->repo->error->path = 'Repo address is the file path, e.g. /home/test.'; -$lang->repo->error->cmd = 'Client Error!'; -$lang->repo->error->diff = 'Two versions must be selected.'; -$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; -$lang->repo->error->product = "Please select {$lang->productCommon}!"; -$lang->repo->error->commentText = 'Please enter content for review!'; -$lang->repo->error->comment = 'Please enter content!'; -$lang->repo->error->title = 'Please enter title!'; -$lang->repo->error->accessDenied = 'You do not have the privilege to access the repository.'; -$lang->repo->error->noFound = 'The repo is not found.'; -$lang->repo->error->noFile = '%s does not exist.'; -$lang->repo->error->noPriv = 'The program does not have the privilege to switch to %s'; -$lang->repo->error->output = "The command is: %s\nThe error is(%s): %s\n"; -$lang->repo->error->clientVersion = "Client version is too low, please upgrade or change SVN client"; -$lang->repo->error->encoding = "The encoding might be wrong. Please change the encoding and try again."; -$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; -$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; -$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; -$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; -$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; -$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; +$lang->repo->error = new stdclass(); +$lang->repo->error->useless = 'Your server disabled exec and shell_exec, so it cannot be applied.'; +$lang->repo->error->connect = 'Connection to the repo failed. Please enter username, password and repo address correctly!'; +$lang->repo->error->version = 'Version 1.8+ of https and svn protocol is required. Please update to latest version! Go to http://subversion.apache.org/'; +$lang->repo->error->path = 'Repo address is the file path, e.g. /home/test.'; +$lang->repo->error->cmd = 'Client Error!'; +$lang->repo->error->diff = 'Two versions must be selected.'; +$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; +$lang->repo->error->product = "Please select {$lang->productCommon}!"; +$lang->repo->error->commentText = 'Please enter content for review!'; +$lang->repo->error->comment = 'Please enter content!'; +$lang->repo->error->title = 'Please enter title!'; +$lang->repo->error->accessDenied = 'You do not have the privilege to access the repository.'; +$lang->repo->error->noFound = 'The repo is not found.'; +$lang->repo->error->noFile = '%s does not exist.'; +$lang->repo->error->noPriv = 'The program does not have the privilege to switch to %s'; +$lang->repo->error->output = "The command is: %s\nThe error is(%s): %s\n"; +$lang->repo->error->clientVersion = "Client version is too low, please upgrade or change SVN client"; +$lang->repo->error->encoding = "The encoding might be wrong. Please change the encoding and try again."; +$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; +$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; +$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; +$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; +$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; +$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; $lang->repo->error->differentVersions = 'The criterion and contrast cannot be the same'; $lang->repo->error->needTwoVersion = 'Two branches or tags must be selected.'; $lang->repo->error->emptyVersion = 'Version cannot be empty'; $lang->repo->error->versionError = 'Wrong version format!'; $lang->repo->error->projectUnique = $lang->repo->serviceProject . " exists. Go to Admin->System->Data->Recycle Bin to restore it, if you are sure it is deleted."; +$lang->repo->error->repoNameInvalid = 'The name should contain only alphanumeric numbers, dashes, underscores, and dots.'; +$lang->repo->error->createdFail = 'Create failed'; $lang->repo->syncTips = 'You may find the reference about how to set Git sync from here.'; $lang->repo->encodingsTips = "The encodings of comments can be comma separated values, e.g. utf-8."; diff --git a/module/repo/lang/en.php b/module/repo/lang/en.php index a7e55a4e3f..c5e77664e2 100644 --- a/module/repo/lang/en.php +++ b/module/repo/lang/en.php @@ -212,37 +212,38 @@ $lang->repo->rules->example['task']['finish'] = "%finish% %task% %id%1%split%2 % $lang->repo->rules->example['task']['effort'] = "%effort% %task% %id%1%split%2 %cost%%consumedmark%1%cunit% %left%%leftmark%3%lunit%"; $lang->repo->rules->example['bug']['resolve'] = "%resolve% %bug% %id%1%split%2"; -$lang->repo->error = new stdclass(); -$lang->repo->error->useless = 'Your server disabled exec and shell_exec, so it cannot be applied.'; -$lang->repo->error->connect = 'Connection to the repo failed. Please enter username, password and repo address correctly!'; -$lang->repo->error->version = 'Version 1.8+ of https and svn protocol is required. Please update to latest version! Go to http://subversion.apache.org/'; -$lang->repo->error->path = 'Repo address is the file path, e.g. /home/test.'; -$lang->repo->error->cmd = 'Client Error!'; -$lang->repo->error->diff = 'Two versions must be selected.'; -$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; -$lang->repo->error->product = "Please select {$lang->productCommon}!"; -$lang->repo->error->commentText = 'Please enter content for review!'; -$lang->repo->error->comment = 'Please enter content!'; -$lang->repo->error->title = 'Please enter title!'; -$lang->repo->error->accessDenied = 'You do not have the privilege to access the repository.'; -$lang->repo->error->noFound = 'The repo is not found.'; -$lang->repo->error->noFile = '%s does not exist.'; -$lang->repo->error->noPriv = 'The program does not have the privilege to switch to %s'; -$lang->repo->error->output = "The command is: %s\nThe error is(%s): %s\n"; -$lang->repo->error->clientVersion = "Client version is too low, please upgrade or change SVN client"; -$lang->repo->error->encoding = "The encoding might be wrong. Please change the encoding and try again."; -$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; -$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; -$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; -$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; -$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; -$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; +$lang->repo->error = new stdclass(); +$lang->repo->error->useless = 'Your server disabled exec and shell_exec, so it cannot be applied.'; +$lang->repo->error->connect = 'Connection to the repo failed. Please enter username, password and repo address correctly!'; +$lang->repo->error->version = 'Version 1.8+ of https and svn protocol is required. Please update to latest version! Go to http://subversion.apache.org/'; +$lang->repo->error->path = 'Repo address is the file path, e.g. /home/test.'; +$lang->repo->error->cmd = 'Client Error!'; +$lang->repo->error->diff = 'Two versions must be selected.'; +$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; +$lang->repo->error->product = "Please select {$lang->productCommon}!"; +$lang->repo->error->commentText = 'Please enter content for review!'; +$lang->repo->error->comment = 'Please enter content!'; +$lang->repo->error->title = 'Please enter title!'; +$lang->repo->error->accessDenied = 'You do not have the privilege to access the repository.'; +$lang->repo->error->noFound = 'The repo is not found.'; +$lang->repo->error->noFile = '%s does not exist.'; +$lang->repo->error->noPriv = 'The program does not have the privilege to switch to %s'; +$lang->repo->error->output = "The command is: %s\nThe error is(%s): %s\n"; +$lang->repo->error->clientVersion = "Client version is too low, please upgrade or change SVN client"; +$lang->repo->error->encoding = "The encoding might be wrong. Please change the encoding and try again."; +$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; +$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; +$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; +$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; +$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; +$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; $lang->repo->error->differentVersions = 'The criterion and contrast cannot be the same'; $lang->repo->error->needTwoVersion = 'Two branches or tags must be selected.'; $lang->repo->error->emptyVersion = 'Version cannot be empty'; $lang->repo->error->versionError = 'Wrong version format!'; $lang->repo->error->projectUnique = $lang->repo->serviceProject . " exists. Go to Admin->System->Data->Recycle Bin to restore it, if you are sure it is deleted."; $lang->repo->error->repoNameInvalid = 'The name should contain only alphanumeric numbers, dashes, underscores, and dots.'; +$lang->repo->error->createdFail = 'Create failed'; $lang->repo->syncTips = 'You may find the reference about how to set Git sync from here.'; $lang->repo->encodingsTips = "The encodings of comments can be comma separated values, e.g. utf-8."; diff --git a/module/repo/lang/fr.php b/module/repo/lang/fr.php index 468577d1f0..4ec0398b8b 100644 --- a/module/repo/lang/fr.php +++ b/module/repo/lang/fr.php @@ -210,36 +210,38 @@ $lang->repo->rules->example['task']['finish'] = "%finish% %task% %id%1%split%2 % $lang->repo->rules->example['task']['effort'] = "%effort% %task% %id%1%split%2 %cost%%consumedmark%1%cunit% %left%%leftmark%3%lunit%"; $lang->repo->rules->example['bug']['resolve'] = "%resolve% %bug% %id%1%split%2"; -$lang->repo->error = new stdclass(); -$lang->repo->error->useless = 'Votre serveur a désactivé exec et shell_exec, il ne peut donc pas être appliqué.'; -$lang->repo->error->connect = "La connexion au référentiel a échoué. Veuillez saisir correctement le nom d'utilisateur, le mot de passe et l'adresse du référentiel !"; -$lang->repo->error->version = 'Version 1.8+ de https et du protocole svn est requis. Veuillez mettre à jour vers la dernière version ! Allez à http://subversion.apache.org/'; -$lang->repo->error->path = "L'adresse du référentiel est le chemin du fichier, ex: /home/test"; -$lang->repo->error->cmd = 'Erreur du Client !'; -$lang->repo->error->diff = 'Deux version doivent être sélectionnées.'; -$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; -$lang->repo->error->product = "Veuillez sélectionner un {$lang->productCommon}!"; -$lang->repo->error->commentText = 'Veuillez entrer du contenu pour une révision !'; -$lang->repo->error->comment = 'Veuillez entrer le contenu du commentaire !'; -$lang->repo->error->title = 'Veuillez saisir un titre !'; -$lang->repo->error->accessDenied = "Vous n'avez pas les privilèges d'accéder au référentiel."; -$lang->repo->error->noFound = 'Le référentiel est non trouvé.'; -$lang->repo->error->noFile = "%s n'existe pas."; -$lang->repo->error->noPriv = "Le programme n'a pas les privilèges pour basculer vers %s"; -$lang->repo->error->output = "La commande est: %s\nL'erreur est (%s): %s\n"; -$lang->repo->error->clientVersion = "La version du client est trop ancienne, veuillez mettre à niveau ou changer le client SVN"; -$lang->repo->error->encoding = "L'encodage est peut-être erroné. Veuillez modifier l'encodage et réessayer."; -$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; -$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; -$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; -$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; -$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; -$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; +$lang->repo->error = new stdclass(); +$lang->repo->error->useless = 'Votre serveur a désactivé exec et shell_exec, il ne peut donc pas être appliqué.'; +$lang->repo->error->connect = "La connexion au référentiel a échoué. Veuillez saisir correctement le nom d'utilisateur, le mot de passe et l'adresse du référentiel !"; +$lang->repo->error->version = 'Version 1.8+ de https et du protocole svn est requis. Veuillez mettre à jour vers la dernière version ! Allez à http://subversion.apache.org/'; +$lang->repo->error->path = "L'adresse du référentiel est le chemin du fichier, ex: /home/test"; +$lang->repo->error->cmd = 'Erreur du Client !'; +$lang->repo->error->diff = 'Deux version doivent être sélectionnées.'; +$lang->repo->error->safe = "For security reasons, the client version needs to be detected. Please write the version to the file %s. \n Execute command: %s"; +$lang->repo->error->product = "Veuillez sélectionner un {$lang->productCommon}!"; +$lang->repo->error->commentText = 'Veuillez entrer du contenu pour une révision !'; +$lang->repo->error->comment = 'Veuillez entrer le contenu du commentaire !'; +$lang->repo->error->title = 'Veuillez saisir un titre !'; +$lang->repo->error->accessDenied = "Vous n'avez pas les privilèges d'accéder au référentiel."; +$lang->repo->error->noFound = 'Le référentiel est non trouvé.'; +$lang->repo->error->noFile = "%s n'existe pas."; +$lang->repo->error->noPriv = "Le programme n'a pas les privilèges pour basculer vers %s"; +$lang->repo->error->output = "La commande est: %s\nL'erreur est (%s): %s\n"; +$lang->repo->error->clientVersion = "La version du client est trop ancienne, veuillez mettre à niveau ou changer le client SVN"; +$lang->repo->error->encoding = "L'encodage est peut-être erroné. Veuillez modifier l'encodage et réessayer."; +$lang->repo->error->deleted = "Deletion of the repository failed. The current repository has a commit record associated with the design."; +$lang->repo->error->linkedJob = "Deletion of the repository failed. The current repository has associated with the Compile."; +$lang->repo->error->clientPath = "The client installation directory cannot have spaces!"; +$lang->repo->error->notFound = "The repository %s’s URL %s does not exist. Please confirm if this repository has been deleted from the local server."; +$lang->repo->error->noWritable = '%s is not writable! Please check the privilege, or download will not be done.'; +$lang->repo->error->noCloneAddr = 'The repository clone address was not found'; $lang->repo->error->differentVersions = 'The criterion and contrast cannot be the same'; $lang->repo->error->needTwoVersion = 'Two branches or tags must be selected.'; $lang->repo->error->emptyVersion = 'Version cannot be empty'; $lang->repo->error->versionError = 'Wrong version format!'; $lang->repo->error->projectUnique = $lang->repo->serviceProject . " exists. Go to Admin->System->Data->Recycle Bin to restore it, if you are sure it is deleted."; +$lang->repo->error->repoNameInvalid = 'The name should contain only alphanumeric numbers, dashes, underscores, and dots.'; +$lang->repo->error->createdFail = 'Create failed'; $lang->repo->syncTips = 'Vous pouvez trouver la référence sur la façon de définir la synchronisation Git à partir de la page se trouvant ici.'; $lang->repo->encodingsTips = "Les encodages des commentaires de validation peuvent être des valeurs séparées par des virgules,ex: utf-8"; diff --git a/module/repo/lang/zh-cn.php b/module/repo/lang/zh-cn.php index 9343c9fbec..782dcf24c7 100644 --- a/module/repo/lang/zh-cn.php +++ b/module/repo/lang/zh-cn.php @@ -212,37 +212,38 @@ $lang->repo->rules->example['task']['finish'] = "%finish% %task% %id%1%split%2 % $lang->repo->rules->example['task']['effort'] = "%effort% %task% %id%1%split%2 %cost%%consumedmark%1%cunit% %left%%leftmark%3%lunit%"; $lang->repo->rules->example['bug']['resolve'] = "%resolve% %bug% %id%1%split%2"; -$lang->repo->error = new stdclass(); -$lang->repo->error->useless = '你的服务器禁用了exec,shell_exec方法,无法使用该功能'; -$lang->repo->error->connect = '连接代码库失败,请填写正确的用户名、密码和代码库地址!'; -$lang->repo->error->version = "https和svn协议需要1.8及以上版本的客户端,请升级到最新版本!详情访问:http://subversion.apache.org/"; -$lang->repo->error->path = '代码库地址直接填写文件路径,如:/home/test。'; -$lang->repo->error->cmd = '客户端错误!'; -$lang->repo->error->diff = '必须选择两个版本'; -$lang->repo->error->safe = "因为安全原因,需要检测客户端版本,请将版本号写入文件 %s \n 可以执行命令:%s"; -$lang->repo->error->product = "请选择{$lang->productCommon}!"; -$lang->repo->error->commentText = '请填写评审内容'; -$lang->repo->error->comment = '请填写内容'; -$lang->repo->error->title = '请填写标题'; -$lang->repo->error->accessDenied = '你没有权限访问该代码库'; -$lang->repo->error->noFound = '你访问的代码库不存在'; -$lang->repo->error->noFile = '目录 %s 不存在'; -$lang->repo->error->noPriv = '程序没有权限切换到目录 %s'; -$lang->repo->error->output = "执行命令:%s\n错误结果(%s): %s\n"; -$lang->repo->error->clientVersion = "客户端版本过低,请升级或更换SVN客户端"; -$lang->repo->error->encoding = "编码可能错误,请更换编码重试。"; -$lang->repo->error->deleted = "删除代码库失败,当前代码库有提交记录与设计关联"; -$lang->repo->error->linkedJob = "删除代码库失败,当前代码库与构建有关联,请取消关联或删除构建。"; -$lang->repo->error->clientPath = "客户端安装目录不能有空格和特殊字符!"; -$lang->repo->error->notFound = "代码库『%s』路径 %s 不存在,请确认此代码库是否已在本地服务器被删除"; -$lang->repo->error->noWritable = '%s 不可写!请检查该目录权限,否则无法下载。'; -$lang->repo->error->noCloneAddr = '该项目克隆地址未找到'; +$lang->repo->error = new stdclass(); +$lang->repo->error->useless = '你的服务器禁用了exec,shell_exec方法,无法使用该功能'; +$lang->repo->error->connect = '连接代码库失败,请填写正确的用户名、密码和代码库地址!'; +$lang->repo->error->version = "https和svn协议需要1.8及以上版本的客户端,请升级到最新版本!详情访问:http://subversion.apache.org/"; +$lang->repo->error->path = '代码库地址直接填写文件路径,如:/home/test。'; +$lang->repo->error->cmd = '客户端错误!'; +$lang->repo->error->diff = '必须选择两个版本'; +$lang->repo->error->safe = "因为安全原因,需要检测客户端版本,请将版本号写入文件 %s \n 可以执行命令:%s"; +$lang->repo->error->product = "请选择{$lang->productCommon}!"; +$lang->repo->error->commentText = '请填写评审内容'; +$lang->repo->error->comment = '请填写内容'; +$lang->repo->error->title = '请填写标题'; +$lang->repo->error->accessDenied = '你没有权限访问该代码库'; +$lang->repo->error->noFound = '你访问的代码库不存在'; +$lang->repo->error->noFile = '目录 %s 不存在'; +$lang->repo->error->noPriv = '程序没有权限切换到目录 %s'; +$lang->repo->error->output = "执行命令:%s\n错误结果(%s): %s\n"; +$lang->repo->error->clientVersion = "客户端版本过低,请升级或更换SVN客户端"; +$lang->repo->error->encoding = "编码可能错误,请更换编码重试。"; +$lang->repo->error->deleted = "删除代码库失败,当前代码库有提交记录与设计关联"; +$lang->repo->error->linkedJob = "删除代码库失败,当前代码库与构建有关联,请取消关联或删除构建。"; +$lang->repo->error->clientPath = "客户端安装目录不能有空格和特殊字符!"; +$lang->repo->error->notFound = "代码库『%s』路径 %s 不存在,请确认此代码库是否已在本地服务器被删除"; +$lang->repo->error->noWritable = '%s 不可写!请检查该目录权限,否则无法下载。'; +$lang->repo->error->noCloneAddr = '该项目克隆地址未找到'; $lang->repo->error->differentVersions = '基准和对比不能一样'; $lang->repo->error->needTwoVersion = '必须选择两个分支/标签'; $lang->repo->error->emptyVersion = '版本不能为空'; $lang->repo->error->versionError = '版本格式错误!'; $lang->repo->error->projectUnique = $lang->repo->serviceProject . '已经有这条记录了。如果您确定该记录已删除,请到后台-系统-数据-回收站还原。'; $lang->repo->error->repoNameInvalid = '名称应该只包含字母数字,破折号,下划线和点。'; +$lang->repo->error->createdFail = '创建失败'; $lang->repo->syncTips = '请参照这里,设置代码库定时同步。'; $lang->repo->encodingsTips = "提交日志的编码,可以用逗号连接起来的多个,比如utf-8。";