diff --git a/apps/host/scripts/make-tune-locales.py b/apps/host/scripts/make-tune-locales.py index c364a66d..dfd95870 100644 --- a/apps/host/scripts/make-tune-locales.py +++ b/apps/host/scripts/make-tune-locales.py @@ -159,12 +159,11 @@ T = { ], } -# the "Check again" button keeps to one short line; the 2 minutes are said in the sentence above it -import re as _re +# "Check again" already exists in the main catalog: drop it from this one _i = KEYS.index("Check again (about 2 minutes)") -KEYS[_i] = "Check again" +del KEYS[_i] for _v in T.values(): - _v[_i] = _re.split(r"\s*[((]", _v[_i])[0].strip() + del _v[_i] out = Path(__file__).resolve().parent.parent / "src" / "locales" ids = [f"tune{i + 1:02d}" for i in range(len(KEYS))] diff --git a/apps/host/src/locales/tune-de.json b/apps/host/src/locales/tune-de.json index 2b95ea11..92462ccc 100644 --- a/apps/host/src/locales/tune-de.json +++ b/apps/host/src/locales/tune-de.json @@ -33,8 +33,7 @@ "tune32": "Gespeicherte Abstimmungen", "tune33": "In Gebrauch", "tune34": "Verwenden", - "tune35": "Erneut prüfen", - "tune36": "Erneut abstimmen", - "tune37": "Abstimmung starten", - "tune38": "Dein Modell wird abgestimmt" + "tune35": "Erneut abstimmen", + "tune36": "Abstimmung starten", + "tune37": "Dein Modell wird abgestimmt" } diff --git a/apps/host/src/locales/tune-en.json b/apps/host/src/locales/tune-en.json index 969cf56e..30e2b76c 100644 --- a/apps/host/src/locales/tune-en.json +++ b/apps/host/src/locales/tune-en.json @@ -33,8 +33,7 @@ "tune32": "Saved tunings", "tune33": "In use", "tune34": "Use", - "tune35": "Check again", - "tune36": "Tune again", - "tune37": "Start tuning", - "tune38": "Tuning your model" + "tune35": "Tune again", + "tune36": "Start tuning", + "tune37": "Tuning your model" } diff --git a/apps/host/src/locales/tune-es.json b/apps/host/src/locales/tune-es.json index 2dd19940..6c8df85d 100644 --- a/apps/host/src/locales/tune-es.json +++ b/apps/host/src/locales/tune-es.json @@ -33,8 +33,7 @@ "tune32": "Ajustes guardados", "tune33": "En uso", "tune34": "Usar", - "tune35": "Comprobar de nuevo", - "tune36": "Ajustar de nuevo", - "tune37": "Empezar a ajustar", - "tune38": "Ajustando tu modelo" + "tune35": "Ajustar de nuevo", + "tune36": "Empezar a ajustar", + "tune37": "Ajustando tu modelo" } diff --git a/apps/host/src/locales/tune-ja.json b/apps/host/src/locales/tune-ja.json index 8420fa7b..87c74abf 100644 --- a/apps/host/src/locales/tune-ja.json +++ b/apps/host/src/locales/tune-ja.json @@ -33,8 +33,7 @@ "tune32": "保存済みチューニング", "tune33": "使用中", "tune34": "使用する", - "tune35": "もう一度チェック", - "tune36": "もう一度チューニング", - "tune37": "チューニングを開始", - "tune38": "モデルをチューニング中" + "tune35": "もう一度チューニング", + "tune36": "チューニングを開始", + "tune37": "モデルをチューニング中" } diff --git a/apps/host/src/locales/tune-ko.json b/apps/host/src/locales/tune-ko.json index 9b352c29..8faca5ad 100644 --- a/apps/host/src/locales/tune-ko.json +++ b/apps/host/src/locales/tune-ko.json @@ -33,8 +33,7 @@ "tune32": "저장된 최적화", "tune33": "사용 중", "tune34": "사용", - "tune35": "다시 점검", - "tune36": "다시 최적화", - "tune37": "최적화 시작", - "tune38": "모델을 최적화하는 중" + "tune35": "다시 최적화", + "tune36": "최적화 시작", + "tune37": "모델을 최적화하는 중" } diff --git a/apps/host/src/locales/tune-pt.json b/apps/host/src/locales/tune-pt.json index 22da2023..39359010 100644 --- a/apps/host/src/locales/tune-pt.json +++ b/apps/host/src/locales/tune-pt.json @@ -33,8 +33,7 @@ "tune32": "Ajustes salvos", "tune33": "Em uso", "tune34": "Usar", - "tune35": "Verificar de novo", - "tune36": "Ajustar de novo", - "tune37": "Iniciar ajuste", - "tune38": "Ajustando o seu modelo" + "tune35": "Ajustar de novo", + "tune36": "Iniciar ajuste", + "tune37": "Ajustando o seu modelo" } diff --git a/apps/host/src/locales/tune-ru.json b/apps/host/src/locales/tune-ru.json index 7bf326d6..3f5fe545 100644 --- a/apps/host/src/locales/tune-ru.json +++ b/apps/host/src/locales/tune-ru.json @@ -33,8 +33,7 @@ "tune32": "Сохранённые настройки", "tune33": "Используется", "tune34": "Использовать", - "tune35": "Проверить снова", - "tune36": "Настроить снова", - "tune37": "Начать настройку", - "tune38": "Настройка вашей модели" + "tune35": "Настроить снова", + "tune36": "Начать настройку", + "tune37": "Настройка вашей модели" } diff --git a/apps/host/src/locales/tune-zh.json b/apps/host/src/locales/tune-zh.json index 6ac7e66e..458dbbbf 100644 --- a/apps/host/src/locales/tune-zh.json +++ b/apps/host/src/locales/tune-zh.json @@ -33,8 +33,7 @@ "tune32": "已保存的调优", "tune33": "使用中", "tune34": "使用", - "tune35": "再次检查", - "tune36": "再次调优", - "tune37": "开始调优", - "tune38": "正在调优你的模型" + "tune35": "再次调优", + "tune36": "开始调优", + "tune37": "正在调优你的模型" }