Skip to content

Commit

Permalink
补充提交中英文资源
Browse files Browse the repository at this point in the history
  • Loading branch information
supermap123 committed May 8, 2024
1 parent 7a69092 commit e53f930
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions SuperMap iEarth/public/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ const local_en = {
education: "SuperMap Education",
urlChecedFail:"Url verification failed, please enter the correct address",
appointSceneName:'Specify scene name',
s3mNameRepeatTip:'The layer name is duplicated, please modify the current layer name',
sceneNameRepeatTip:'This scene already exists, please do not add it again'
}

window.local_en = local_en;
2 changes: 2 additions & 0 deletions SuperMap iEarth/public/locale/ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ const local_ja = {
education: "教育版",
urlChecedFail:"Urlチェックに失敗しました。正しいアドレスを入力してください",
appointSceneName:'シーン名の指定',
s3mNameRepeatTip:'レイヤー名が重複しています。現在のレイヤー名を変更してください',
sceneNameRepeatTip:'このシーンはすでに存在します。再度追加しないでください'
}

window.local_ja = local_ja;
2 changes: 2 additions & 0 deletions SuperMap iEarth/public/locale/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ const local_ru = {
education: "обучать",
urlChecedFail:"Ошибка проверки Url, введите правильный адрес",
appointSceneName:'Укажите имя сцены',
s3mNameRepeatTip:'Имя слоя дублируется, измените имя текущего слоя.',
sceneNameRepeatTip:'Эта сцена уже существует, пожалуйста, не добавляйте ее снова'
}

window.local_ru = local_ru;
2 changes: 2 additions & 0 deletions SuperMap iEarth/public/locale/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ const local_zh = {
education: "教育版",
urlChecedFail:"Url校验失败,请输入正确地址",
appointSceneName:'指定场景名称',
s3mNameRepeatTip:'图层名重复,请修改当前图层名称',
sceneNameRepeatTip:'该场景已存在,请勿重复添加'
}

window.local_zh = local_zh;
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function openLayer() {
case "S3M":
let isExist = checkS3MLayeExist(state.layerName);
if (isExist) {
message.warning('图层名重复,请修改当前图层名称');
message.warning($t("s3mNameRepeatTip"));
}else{
addS3M(state.layerUrl);
}
Expand Down Expand Up @@ -213,7 +213,7 @@ function handleChange() {
);
let isExist = checkS3MLayeExist(state.layerName);
if(isExist){
message.warning('图层名重复,请修改当前图层名称');
message.warning($t("s3mNameRepeatTip"));
}
}
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function checkSeneName(sceneUrl:string){
let sceneName = data[0].name;
let isExist = GlobalStore.addSceneList.includes(sceneName);
if(isExist){
message.warning('该场景已存在,请勿重复添加');
message.warning($t("sceneNameRepeatTip"));
}else{
GlobalStore.addSceneList.push(sceneName);
}
Expand Down

0 comments on commit e53f930

Please sign in to comment.