fix(系统设置):插件重复上传提示文字国际化配置

--bug=1021956 --user=王旭 【系统设置】插件管理-禅道/jira插件-可以重复上传 https://www.tapd.cn/55049933/s/1352938
This commit is contained in:
WangXu10 2023-03-20 15:09:17 +08:00 committed by jianxing
parent 1684ed5f76
commit 0341b1c19b
4 changed files with 7 additions and 4 deletions

View File

@ -84,7 +84,7 @@ public class PlatformPluginService {
if (pluginMapper.countByExample(example) > 0) {
// 校验插件类型是否存在
unload(id);
MSException.throwException(pluginMetaInfo.getKey() + " plugin is already exist!");
MSException.throwException(pluginMetaInfo.getKey() + Translator.get("platform_plugin_exit"));
}
PluginManagerUtil.uploadPlugin(id, file);

View File

@ -1,4 +1,5 @@
error_lang_invalid=Invalid language parameter, new
read_permission_file_fail=Failed to read permission file!
platform_plugin_not_exit=Platform docking function has been plug-in, please download the corresponding version of the plug-in:
workspace_name_exceeds_length_limit=Workspace name exceeds length limit
workspace_name_exceeds_length_limit=Workspace name exceeds length limit
platform_plugin_exit=plugin is already exist!

View File

@ -1,4 +1,5 @@
error_lang_invalid=语言参数错误, 新
read_permission_file_fail=读取权限文件失败!
platform_plugin_not_exit=平台对接功能已插件化,请下载对应版本的插件:
workspace_name_exceeds_length_limit=工作空间名称超出长度限制
workspace_name_exceeds_length_limit=工作空间名称超出长度限制
platform_plugin_exit=插件已存在!

View File

@ -1,4 +1,5 @@
error_lang_invalid=語言參數錯誤,新
read_permission_file_fail=讀取權限文件失敗!
platform_plugin_not_exit=平臺對接功能已插件化,請下載對應版本的插件:
workspace_name_exceeds_length_limit=工作空間名稱超出長度限制
workspace_name_exceeds_length_limit=工作空間名稱超出長度限制
platform_plugin_exit=插件已存在!