add: 历史记录模块实现国际化
This commit is contained in:
@@ -752,7 +752,8 @@ public class TaskServiceImpl extends CommonServiceImpl<TaskMapper, Task> impleme
|
||||
JSONArray array = json.getJSONArray("data");
|
||||
|
||||
if (array.size() == 0) {
|
||||
throw new RuntimeException("请选择起点");
|
||||
throw new BadRequestException( LangProcess.msg("starting_point_isNull"));
|
||||
//throw new RuntimeException("请选择起点");
|
||||
}
|
||||
for (int i = 0; i < array.size(); i++) {
|
||||
JSONObject arrjo = array.getJSONObject(i);
|
||||
|
||||
@@ -2,3 +2,4 @@ task_checkExist={0}任务已存在
|
||||
task_insHas=指令已存在
|
||||
task_insRun=有指令未完成
|
||||
task_isNull={0}查询信息不存在
|
||||
starting_point_isNull=请选择起点
|
||||
|
||||
@@ -2,3 +2,4 @@ task_checkExist=Task {0} already exists
|
||||
task_insHas=Instruction already exists
|
||||
task_insRun=There are instructions that are not completed
|
||||
task_isNull={0}query is null
|
||||
starting_point_isNull = Please select starting point
|
||||
|
||||
@@ -2,3 +2,4 @@ task_checkExist=Tugas {0} sudah ada
|
||||
task_insHas=Instruksi sudah ada
|
||||
task_insRun=Ada instruksi yang belum selesai
|
||||
task_isNull={0}Pertanyaan Tidak ada
|
||||
starting_point_isNull = Silakan pilih titik awal
|
||||
|
||||
Reference in New Issue
Block a user