Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@
"TensorboardPath": "Log directory for TensorBoard",
"InputTensorboardPath": "Please input log directory that TensorBoard will refer to. Note that the log directory will not be automatically created..",
"DefaultTensorboardPath": "/home/work/logs",
"AlreadyTerminatingSession": "Already terminating the session.",
"SessionTerminated": "Session terminated.",
"SessionsTerminated": "Sessions terminated.",
"NoSession": "No session.",
Expand Down Expand Up @@ -664,6 +665,7 @@
"MemoryShouldBeLargerThanSHMEM": "Memory should be larger than shared memory",
"Created": "Resource preset created",
"Updated": "Resource preset updated",
"Deleted": "Resource preset is successfully deleted.",
"MinimumCPUUnit": "CPU starts with 1 core",
"MinimumMemUnit": "Memory starts with 1 GB",
"MinimumShmemUnit": "The minimum unit for shared memory is 0.01 GB.",
Expand Down
6 changes: 4 additions & 2 deletions resources/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@
"EnterValidSessionName": "__NOT_TRANSLATED__",
"SessionNameAlreadyExist": "__NOT_TRANSLATED__",
"SluggedStrings": "__NOT_TRANSLATED__"
}
},
"AlreadyTerminatingSession": "__NOT_TRANSLATED__"
},
"button": {
"Cancel": "Annuler",
Expand Down Expand Up @@ -671,7 +672,8 @@
"MinimumMemUnit": "La mémoire commence avec 1 Go",
"MinimumShmemUnit": "L'unité minimale pour la mémoire partagée est de 0,01 Go.",
"RAM": "RAM (Go)",
"SharedMemory": "Mémoire partagée (Go)"
"SharedMemory": "Mémoire partagée (Go)",
"Deleted": "__NOT_TRANSLATED__"
},
"usersettings": {
"General": "Général",
Expand Down
6 changes: 4 additions & 2 deletions resources/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@
"EnterValidSessionName": "__NOT_TRANSLATED__",
"SessionNameAlreadyExist": "__NOT_TRANSLATED__",
"SluggedStrings": "__NOT_TRANSLATED__"
}
},
"AlreadyTerminatingSession": "__NOT_TRANSLATED__"
},
"button": {
"Cancel": "Batalkan",
Expand Down Expand Up @@ -671,7 +672,8 @@
"MinimumMemUnit": "Memori dimulai dengan 1 GB",
"MinimumShmemUnit": "Unit minimum untuk memori bersama adalah 0,01 GB.",
"RAM": "RAM (GB)",
"SharedMemory": "Memori bersama (GB)"
"SharedMemory": "Memori bersama (GB)",
"Deleted": "__NOT_TRANSLATED__"
},
"usersettings": {
"General": "Umum",
Expand Down
6 changes: 4 additions & 2 deletions resources/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@
"SluggedStrings": "최소 4자 이상의 고유문자열로 입력해주세요",
"EnterValidSessionName": "올바른 세션 이름을 입력해주세요",
"SessionNameAlreadyExist": "같은 이름의 세션이 이미 있습니다"
}
},
"AlreadyTerminatingSession": "__NOT_TRANSLATED__"
},
"button": {
"Cancel": "취소",
Expand Down Expand Up @@ -670,7 +671,8 @@
"MinimumMemUnit": "메모리 최소 단위: 1 GB",
"MinimumShmemUnit": "공유메모리 최소 단위는 0.01 GB 입니다.",
"RAM": "메모리 (GB)",
"SharedMemory": "공유메모리 (GB)"
"SharedMemory": "공유메모리 (GB)",
"Deleted": "__NOT_TRANSLATED__"
},
"usersettings": {
"General": "일반",
Expand Down
6 changes: 4 additions & 2 deletions resources/i18n/mn.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@
"EnterValidSessionName": "__NOT_TRANSLATED__",
"SessionNameAlreadyExist": "__NOT_TRANSLATED__",
"SluggedStrings": "__NOT_TRANSLATED__"
}
},
"AlreadyTerminatingSession": "__NOT_TRANSLATED__"
},
"button": {
"Cancel": "Цуцлах",
Expand Down Expand Up @@ -671,7 +672,8 @@
"MinimumMemUnit": "Санах ой нь 1 ГБ-аас эхэлдэг",
"MinimumShmemUnit": "Хамтарсан санах ойн хамгийн бага нэгж нь 0.01 ГБ байна.",
"RAM": "RAM (GB)",
"SharedMemory": "Хуваалцсан санах ой (GB)"
"SharedMemory": "Хуваалцсан санах ой (GB)",
"Deleted": "__NOT_TRANSLATED__"
},
"usersettings": {
"General": "Ерөнхий",
Expand Down
6 changes: 4 additions & 2 deletions resources/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@
"EnterValidSessionName": "__NOT_TRANSLATED__",
"SessionNameAlreadyExist": "__NOT_TRANSLATED__",
"SluggedStrings": "__NOT_TRANSLATED__"
}
},
"AlreadyTerminatingSession": "__NOT_TRANSLATED__"
},
"button": {
"Cancel": "Отмена",
Expand Down Expand Up @@ -671,7 +672,8 @@
"MinimumMemUnit": "Память начинается с 1 ГБ",
"MinimumShmemUnit": "Минимальный размер разделяемой памяти составляет 0,01 ГБ.",
"RAM": "RAM (ГБ)",
"SharedMemory": "Общая память (ГБ)"
"SharedMemory": "Общая память (ГБ)",
"Deleted": "__NOT_TRANSLATED__"
},
"usersettings": {
"General": "Общий",
Expand Down
2 changes: 1 addition & 1 deletion src/components/backend-ai-resource-preset-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class BackendAiResourcePresetList extends BackendAIPage {
_deleteResourcePresetWithCheck(e) {
globalThis.backendaiclient.resourcePreset.delete(this.presetName).then((response) => {
this.shadowRoot.querySelector('#delete-resource-preset-dialog').hide();
this.notification.text = 'Resource preset is successfully deleted.';
this.notification.text = _text('resourcePreset.Deleted');
this.notification.show();
this._refreshTemplateData();
}).catch((err) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/backend-ai-session-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ export default class BackendAiSessionList extends BackendAIPage {
const accessKey = controls['access-key'];

if (this.terminationQueue.includes(sessionId)) {
this.notification.text = 'Already terminating the session.';
this.notification.text = _text('session.AlreadyTerminatingSession');
this.notification.show();
return false;
}
Expand All @@ -1033,7 +1033,7 @@ export default class BackendAiSessionList extends BackendAIPage {

_terminateSessionWithCheck(forced = false) {
if (this.terminationQueue.includes(this.terminateSessionDialog.sessionId)) {
this.notification.text = 'Already terminating the session.';
this.notification.text = _text('session.AlreadyTerminatingSession');
this.notification.show();
return false;
}
Expand Down