From 90d1abcc5535cd55ca3c906cfb2b4782f3560a0b Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 17 Dec 2023 01:17:25 +0100 Subject: [PATCH] [chore] Change the description and notification level of broken models --- assets/jsons/translations/de.json | 2 +- assets/jsons/translations/en.json | 2 +- assets/jsons/translations/es.json | 2 +- assets/jsons/translations/fr.json | 2 +- assets/jsons/translations/ja.json | 2 +- assets/jsons/translations/ru.json | 2 +- assets/jsons/translations/zh-tw.json | 2 +- assets/jsons/translations/zh.json | 2 +- .../components/models-management/models-panel.component.tsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/assets/jsons/translations/de.json b/assets/jsons/translations/de.json index 6724c037..86376aad 100644 --- a/assets/jsons/translations/de.json +++ b/assets/jsons/translations/de.json @@ -947,7 +947,7 @@ }, "prevent-for-models-breaks": { "title": "Gebrochene Modelle", - "desc": "Seit dem Update des Beat Saber-Motors sind Modelle für diese Version nicht mehr funktional." + "desc": "Seit dem Update der Beat Saber Engine sind alle benutzerdefinierten Modellmods defekt und müssen aktualisiert werden. Sie wurden noch nicht aktualisiert." }, "export-success": { "title": "Export abgeschlossen 🎉" diff --git a/assets/jsons/translations/en.json b/assets/jsons/translations/en.json index 30bd72c7..fa3534d4 100644 --- a/assets/jsons/translations/en.json +++ b/assets/jsons/translations/en.json @@ -947,7 +947,7 @@ }, "prevent-for-models-breaks": { "title": "Broken models", - "desc": "Since the Beat Saber engine update, models are no longer functional for this version." + "desc": "Since the Beat Saber engine update, all custom model mods have broken and need to be updated. They have not been updated yet." }, "export-success": { "title": "Export completed 🎉" diff --git a/assets/jsons/translations/es.json b/assets/jsons/translations/es.json index 2b659bd1..6bdbd5fc 100644 --- a/assets/jsons/translations/es.json +++ b/assets/jsons/translations/es.json @@ -946,7 +946,7 @@ }, "prevent-for-models-breaks": { "title": "Modelos rotos", - "desc": "Desde la actualización del motor de Beat Saber, los modelos ya no son funcionales para esta versión." + "desc": "Desde la actualización del motor de Beat Saber, todos los mods de modelos personalizados se han roto y necesitan ser actualizados. Todavía no han sido actualizados." }, "export-success": { "title": "Exportación completada 🎉" diff --git a/assets/jsons/translations/fr.json b/assets/jsons/translations/fr.json index a2a3fb24..515e03bb 100644 --- a/assets/jsons/translations/fr.json +++ b/assets/jsons/translations/fr.json @@ -943,7 +943,7 @@ }, "prevent-for-models-breaks": { "title": "Modèles cassés", - "desc": "Depuis la mise à jour du moteur de Beat Saber, les modèles ne sont plus fonctionnels pour cette version." + "desc": "Depuis la mise à jour du moteur Beat Saber, tous les mods de modèles personnalisés ne sont plus fonctionnels et doivent être mis à jour. Ils n'ont pas encore été mis à jour." }, "export-success": { "title": "Export terminé 🎉" diff --git a/assets/jsons/translations/ja.json b/assets/jsons/translations/ja.json index 5f504cef..206e9326 100644 --- a/assets/jsons/translations/ja.json +++ b/assets/jsons/translations/ja.json @@ -947,7 +947,7 @@ }, "prevent-for-models-breaks": { "title": "モデルが壊れています!", - "desc": "Beat Saberエンジンのアップデートしたため、このバージョンではモデルが機能しなくなりました。" + "desc": "Beat Saberのエンジンアップデート以来、すべてのカスタムモデルのMODが壊れており、更新が必要です。まだ更新されていません。" }, "export-success": { "title": "エクスポート完了🎉" diff --git a/assets/jsons/translations/ru.json b/assets/jsons/translations/ru.json index f23996c3..118b14f6 100644 --- a/assets/jsons/translations/ru.json +++ b/assets/jsons/translations/ru.json @@ -947,7 +947,7 @@ }, "prevent-for-models-breaks": { "title": "Сломанные модели", - "desc": "После обновления движка Beat Saber, модели не работают с этой версией." + "desc": "С момента обновления движка Beat Saber, все пользовательские модификации моделей сломались и требуют обновления. Они еще не были обновлены." }, "export-success": { "title": "Экспорт завершен 🎉" diff --git a/assets/jsons/translations/zh-tw.json b/assets/jsons/translations/zh-tw.json index 6b1fae48..257550e8 100644 --- a/assets/jsons/translations/zh-tw.json +++ b/assets/jsons/translations/zh-tw.json @@ -948,7 +948,7 @@ }, "prevent-for-models-breaks": { "title": "已損壞的模型", - "desc": "因 BeatSaber 引擎更新,這些模型在該版本中不再可用。" + "desc": "自從Beat Saber引擎更新以來,所有自定義模型的MOD都已損壞,需要更新。它們還沒有被更新。" }, "export-success": { "title": "導出成功 🎉" diff --git a/assets/jsons/translations/zh.json b/assets/jsons/translations/zh.json index 5c8e07a6..29d566bd 100644 --- a/assets/jsons/translations/zh.json +++ b/assets/jsons/translations/zh.json @@ -948,7 +948,7 @@ }, "prevent-for-models-breaks": { "title": "已损坏的模型", - "desc": "因 BeatSaber 引擎更新,这些模型在该版本中不再可用。" + "desc": "自从Beat Saber引擎更新以来,所有自定义模型的MOD都已损坏,需要更新。它们还没有被更新。" }, "export-success": { "title": "导出成功 🎉" diff --git a/src/renderer/components/models-management/models-panel.component.tsx b/src/renderer/components/models-management/models-panel.component.tsx index b43a0cd2..1bf18a2f 100644 --- a/src/renderer/components/models-management/models-panel.component.tsx +++ b/src/renderer/components/models-management/models-panel.component.tsx @@ -66,7 +66,7 @@ export function ModelsPanel({ version, isActive, goToMods }: { version?: BSVersi if (config.get("not-remind-models-breaks")) { return; } - notification.notifyWarning({ title: "models.notifications.prevent-for-models-breaks.title", desc: "models.notifications.prevent-for-models-breaks.desc", actions: [{ id: "0", title: "models.notifications.prevent-for-mods.not-remind", cancel: true }], duration: 12_000 }).then(res => { + notification.notifyInfo({ title: "models.notifications.prevent-for-models-breaks.title", desc: "models.notifications.prevent-for-models-breaks.desc", actions: [{ id: "0", title: "models.notifications.prevent-for-mods.not-remind", cancel: true }], duration: 12_000 }).then(res => { if (res === "0") { config.set("not-remind-models-breaks", true); }