mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
🐞 fix(i18n):
This commit is contained in:
parent
e1ed6614a5
commit
88bb4a1b05
@ -1,5 +1,5 @@
|
||||
#i18n en
|
||||
#Fri Jun 14 12:53:47 CST 2024
|
||||
#Fri Jun 14 13:28:02 CST 2024
|
||||
i18n.ssh_info_does_not_exist.5ed0=SSH information does not exist
|
||||
i18n.incompatible_program_versions.5291=The current program version {} The new version of the program is minimum compatible {} and cannot be upgraded directly
|
||||
i18n.no_projects_configured.e873=No items are configured
|
||||
@ -886,6 +886,7 @@ i18n.user_operation_alarm.15b9=User operation alarm
|
||||
i18n.start_executing_build_task.a5ac=Start executing the build task, task wait time\: {}
|
||||
i18n.event_type_not_supported.e9c3=Unsupported event types\: {}
|
||||
i18n.user_directory_not_found_private_key_info.6ce4=The user directory did not find the private key information
|
||||
i18n.upload_progress_message_format.b91c=Upload file progress :{}[{}/{}] {}/{} {}
|
||||
i18n.download_failed_generic.be4f=Failed to download file
|
||||
i18n.oshi_network_card_monitoring_exception.6d41=OSHI network interface card resource monitoring abnormality
|
||||
i18n.connection_successful.b331=Connection successful
|
||||
@ -985,6 +986,7 @@ i18n.cannot_configure_root_path.d86e=The root path cannot be configured\:
|
||||
i18n.completed_and_successful_count_insufficient.92fa=Insufficient number of completed and successful {}/{}
|
||||
i18n.get_project_info_failure.ddff=Failed to obtain project information\:
|
||||
i18n.name_required.856d=Please fill in the name.
|
||||
i18n.build_source.2ef9=Build the source,
|
||||
i18n.joined_beta_program.c4e2=Successfully joined the beta program
|
||||
i18n.recover_abnormal_data.9adf={} Restore {} abnormal data
|
||||
i18n.file_name_error_message.7a25=File name cannot contain/
|
||||
|
@ -1,5 +1,5 @@
|
||||
#i18n zh
|
||||
#Fri Jun 14 12:53:46 CST 2024
|
||||
#Fri Jun 14 13:28:00 CST 2024
|
||||
i18n.ssh_info_does_not_exist.5ed0=ssh 信息不存在啦
|
||||
i18n.incompatible_program_versions.5291=当前程序版本 {} 新版程序最低兼容 {} 不能直接升级
|
||||
i18n.no_projects_configured.e873=没有配置任何项目
|
||||
@ -886,6 +886,7 @@ i18n.user_operation_alarm.15b9=用户操作报警
|
||||
i18n.start_executing_build_task.a5ac=开始执行构建任务,任务等待时间:{}
|
||||
i18n.event_type_not_supported.e9c3=不支持的事件类型:{}
|
||||
i18n.user_directory_not_found_private_key_info.6ce4=用户目录没有找到私钥信息
|
||||
i18n.upload_progress_message_format.b91c=上传文件进度:{}[{}/{}] {}/{} {}
|
||||
i18n.download_failed_generic.be4f=下载文件失败
|
||||
i18n.oshi_network_card_monitoring_exception.6d41=oshi 网卡资源监控异常
|
||||
i18n.connection_successful.b331=连接成功
|
||||
@ -985,6 +986,7 @@ i18n.cannot_configure_root_path.d86e=不能配置根路径:
|
||||
i18n.completed_and_successful_count_insufficient.92fa=完成并成功的个数不足 {}/{}
|
||||
i18n.get_project_info_failure.ddff=获取项目信息失败\:
|
||||
i18n.name_required.856d=请填写名称
|
||||
i18n.build_source.2ef9=构建来源,
|
||||
i18n.joined_beta_program.c4e2=成功加入 beta 计划
|
||||
i18n.recover_abnormal_data.9adf={} 恢复 {} 条异常数据
|
||||
i18n.file_name_error_message.7a25=文件名不能包含/
|
||||
|
@ -101,6 +101,7 @@
|
||||
"i18n.build_record_not_exist.8186":"构建记录不存在",
|
||||
"i18n.build_resource_cleanup_failed.c4cf":"清理构建资源失败",
|
||||
"i18n.build_runs_on_image_interrupted.00fd":"构建 runsOn 镜像被中断",
|
||||
"i18n.build_source.2ef9":"构建来源,",
|
||||
"i18n.build_status_abnormal.8ca1":"构建状态异常或者被取消",
|
||||
"i18n.build_status_message.42a7":"当前构建中任务数:{},队列中任务数:{} 构建任务等待超时或者超出最大等待数量,当前运行中的任务数:{}/{},取消执行当前构建",
|
||||
"i18n.build_task_count_and_queue_count.f0b6":"当前构建中任务数:{},队列中任务数:{} {}",
|
||||
@ -1539,6 +1540,7 @@
|
||||
"i18n.upload_exception_mismatch.0b25":"上传异常,完成数量不匹配",
|
||||
"i18n.upload_failed.b019":"上传失败:",
|
||||
"i18n.upload_failed_no_matching_project.b219":"上传失败,没有找到对应的分发项目",
|
||||
"i18n.upload_progress_message_format.b91c":"上传文件进度:{}[{}/{}] {}/{} {} ",
|
||||
"i18n.upload_progress_template.ac3f":"上传文件进度:{}/{} {}",
|
||||
"i18n.upload_progress_with_colon.dd5b":"上传文件进度:{} {}/{} {}",
|
||||
"i18n.upload_progress_with_units.44ad":"上传文件进度:{} {}/{} {} ",
|
||||
|
@ -167,9 +167,10 @@ public class ReleaseManage {
|
||||
logRecorder.system(I18nMessageUtil.get("i18n.start_syncing_to_file_management_center.0a03"), keepMsg);
|
||||
boolean tarGz = this.buildEnv.getBool(BuildUtil.USE_TAR_GZ, false);
|
||||
File dirPackage = BuildUtil.loadDirPackage(this.buildExtraModule.getId(), this.getRealBuildNumberId(), this.resultFile, tarGz, (unZip, file) -> file);
|
||||
String string = I18nMessageUtil.get("i18n.build_source.2ef9");
|
||||
String successMd5 = fileStorageService.addFile(dirPackage, 1,
|
||||
buildInfoModel.getWorkspaceId(),
|
||||
"构建来源," + buildInfoModel.getName(),
|
||||
string + buildInfoModel.getName(),
|
||||
// 默认的别名码为构建id
|
||||
StrUtil.emptyToDefault(buildInfoModel.getAliasCode(), buildInfoModel.getId()),
|
||||
fileStorageKeepDay);
|
||||
@ -541,7 +542,8 @@ public class ReleaseManage {
|
||||
int progressRange = (int) Math.floor(progressPercentage / buildExtConfig.getLogReduceProgressRatio());
|
||||
if (progressRangeList.add(progressRange)) {
|
||||
// total, progressSize
|
||||
logRecorder.system("上传文件进度:{}[{}/{}] {}/{} {} ", file.getName(),
|
||||
String info = I18nMessageUtil.get("i18n.upload_progress_message_format.b91c");
|
||||
logRecorder.system(info, file.getName(),
|
||||
(finalI + 1), diffSize,
|
||||
FileUtil.readableFileSize(progressSize), FileUtil.readableFileSize(total),
|
||||
NumberUtil.formatPercent(((float) progressSize / total), 0)
|
||||
|
Loading…
Reference in New Issue
Block a user