From c04fd512d45368a8432b89ebc38e477cad39ab58 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Sun, 20 Sep 2026 19:45:22 +0200 Subject: [PATCH] Rename workout: the two strings #228 brought in are translated in all fourteen packs, and pt-BR inherits them from pt-PT --- frontend/src/lib/pt-br-locale.test.js | 4 ++-- frontend/src/locales/de.js | 2 ++ frontend/src/locales/es.js | 2 ++ frontend/src/locales/fr.js | 2 ++ frontend/src/locales/hi.js | 2 ++ frontend/src/locales/hu.js | 2 ++ frontend/src/locales/it.js | 2 ++ frontend/src/locales/ko.js | 2 ++ frontend/src/locales/pl.js | 2 ++ frontend/src/locales/pt.js | 2 ++ frontend/src/locales/ru.js | 2 ++ frontend/src/locales/th.js | 2 ++ frontend/src/locales/tr.js | 2 ++ frontend/src/locales/zh.js | 2 ++ 14 files changed, 28 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.js index 42c163a..499a046 100644 --- a/frontend/src/lib/pt-br-locale.test.js +++ b/frontend/src/lib/pt-br-locale.test.js @@ -28,10 +28,10 @@ describe('Brazilian Portuguese locale', () => { const fingerprint = createHash('sha256').update(JSON.stringify(inherited)).digest('hex') expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(645) - expect(inherited).toHaveLength(647) + expect(inherited).toHaveLength(649) // If this fails, review the changed keys and wording before accepting a new hash. From // frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list - expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('185cca3dfbc438a4a2177956d1d18da2bbdc907281c5eb4c858ba34afaf9f38e') + expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('eb0d354b97143ca3a65813bf9671560151feaf8e77abaf779ad2d1a8daf7969f') }) test('does not leak European Portuguese UI terms', () => { diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js index 8ee06ea..3213687 100644 --- a/frontend/src/locales/de.js +++ b/frontend/src/locales/de.js @@ -148,6 +148,8 @@ export default { 'This removes it from your history for good.': 'Das entfernt es endgültig aus deinem Verlauf.', 'Workout deleted': 'Training gelöscht', 'Delete workout': 'Training löschen', + 'Rename workout': 'Training umbenennen', + 'Workout title': 'Trainingstitel', '{0} done': '{0} geschafft', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Bestätige das Gewicht, mit dem du trainiert hast — dein höchstes wird beim nächsten Mal vorausgefüllt.', 'Then finish the superset partner.': 'Dann den Supersatz-Partner abschließen.', diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js index b77e136..b889f7e 100644 --- a/frontend/src/locales/es.js +++ b/frontend/src/locales/es.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Se elimina de tu historial para siempre.', 'Workout deleted': 'Entrenamiento eliminado', 'Delete workout': 'Eliminar entrenamiento', + 'Rename workout': 'Renombrar entrenamiento', + 'Workout title': 'Título del entrenamiento', '{0} done': '{0} hecho', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Confirma el peso con el que trabajaste — el más alto será el predeterminado la próxima vez.', 'Then finish the superset partner.': 'Luego termina el otro ejercicio de la superserie.', diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js index 5feda70..671524d 100644 --- a/frontend/src/locales/fr.js +++ b/frontend/src/locales/fr.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Elle sera retirée de ton historique pour de bon.', 'Workout deleted': 'Séance supprimée', 'Delete workout': 'Supprimer la séance', + 'Rename workout': 'Renommer la séance', + 'Workout title': 'Titre de la séance', '{0} done': '{0} terminé', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Confirme le poids utilisé — le plus élevé devient la valeur par défaut la prochaine fois.', 'Then finish the superset partner.': 'Puis termine le partenaire du superset.', diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js index 485de72..f0b44b4 100644 --- a/frontend/src/locales/hi.js +++ b/frontend/src/locales/hi.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'यह आपके इतिहास से हमेशा के लिए हट जाएगा।', 'Workout deleted': 'वर्कआउट हटाया गया', 'Delete workout': 'वर्कआउट हटाएँ', + 'Rename workout': 'वर्कआउट का नाम बदलें', + 'Workout title': 'वर्कआउट का शीर्षक', '{0} done': '{0} पूरा', 'Confirm the weight you worked with — your highest becomes the default next time.': 'जिस वज़न से काम किया उसकी पुष्टि करें — सबसे ज़्यादा वज़न अगली बार डिफ़ॉल्ट बन जाएगा।', 'Then finish the superset partner.': 'फिर सुपरसेट का दूसरा व्यायाम पूरा करें।', diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.js index 0cfa720..0aefade 100644 --- a/frontend/src/locales/hu.js +++ b/frontend/src/locales/hu.js @@ -140,6 +140,8 @@ export default { 'This removes it from your history for good.': 'Ez véglegesen eltávolítja az előzményeidből.', 'Workout deleted': 'Edzés törölve', 'Delete workout': 'Edzés törlése', + 'Rename workout': 'Edzés átnevezése', + 'Workout title': 'Edzés címe', '{0} done': '{0} kész', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Erősítsd meg a súlyt, amivel dolgoztál — a legmagasabb lesz az alapértelmezett legközelebb.', 'Then finish the superset partner.': 'Aztán fejezd be a szuperszett párját.', diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js index 8e80cd7..d4f3d57 100644 --- a/frontend/src/locales/it.js +++ b/frontend/src/locales/it.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Verrà rimosso per sempre dalla cronologia.', 'Workout deleted': 'Allenamento eliminato', 'Delete workout': 'Elimina allenamento', + 'Rename workout': 'Rinomina allenamento', + 'Workout title': 'Titolo dell’allenamento', '{0} done': '{0} fatto', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Conferma il peso usato — il più alto diventa il predefinito la prossima volta.', 'Then finish the superset partner.': "Poi completa l'altro esercizio del superset.", diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js index d5b13d3..a2af378 100644 --- a/frontend/src/locales/ko.js +++ b/frontend/src/locales/ko.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': '기록에서 영구히 삭제됩니다.', 'Workout deleted': '운동 삭제됨', 'Delete workout': '운동 삭제', + 'Rename workout': '운동 이름 변경', + 'Workout title': '운동 제목', '{0} done': '{0} 완료', 'Confirm the weight you worked with — your highest becomes the default next time.': '사용한 무게를 확인하세요 — 최고 무게가 다음번 기본값이 됩니다.', 'Then finish the superset partner.': '그다음 슈퍼세트 짝 운동을 마무리하세요.', diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js index 2d3321e..4784af8 100644 --- a/frontend/src/locales/pl.js +++ b/frontend/src/locales/pl.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'To usunie go z historii na zawsze.', 'Workout deleted': 'Trening usunięty', 'Delete workout': 'Usuń trening', + 'Rename workout': 'Zmień nazwę treningu', + 'Workout title': 'Tytuł treningu', '{0} done': '{0} — gotowe', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Potwierdź ciężar, z którym pracowałeś — najwyższy będzie domyślny następnym razem.', 'Then finish the superset partner.': 'Potem dokończ drugie ćwiczenie superserii.', diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js index 7619b0f..b0c515e 100644 --- a/frontend/src/locales/pt.js +++ b/frontend/src/locales/pt.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Isto remove-o do histórico para sempre.', 'Workout deleted': 'Treino eliminado', 'Delete workout': 'Eliminar treino', + 'Rename workout': 'Renomear treino', + 'Workout title': 'Título do treino', '{0} done': '{0} feito', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Confirma o peso com que trabalhaste — o mais alto fica predefinido na próxima vez.', 'Then finish the superset partner.': 'Depois termina o par da supersérie.', diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js index 85aaa63..eaa61ca 100644 --- a/frontend/src/locales/ru.js +++ b/frontend/src/locales/ru.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Она будет навсегда удалена из истории.', 'Workout deleted': 'Тренировка удалена', 'Delete workout': 'Удалить тренировку', + 'Rename workout': 'Переименовать тренировку', + 'Workout title': 'Название тренировки', '{0} done': '{0} — готово', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Подтверди рабочий вес — наибольший станет значением по умолчанию в следующий раз.', 'Then finish the superset partner.': 'Затем доделай второе упражнение суперсета.', diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.js index bd0c87c..91518ec 100644 --- a/frontend/src/locales/th.js +++ b/frontend/src/locales/th.js @@ -140,6 +140,8 @@ export default { 'This removes it from your history for good.': 'จะลบออกจากประวัติอย่างถาวร', 'Workout deleted': 'ลบการออกกำลังกายแล้ว', 'Delete workout': 'ลบการออกกำลังกาย', + 'Rename workout': 'เปลี่ยนชื่อการออกกำลังกาย', + 'Workout title': 'ชื่อการออกกำลังกาย', '{0} done': 'เสร็จแล้ว {0}', 'Confirm the weight you worked with — your highest becomes the default next time.': 'ยืนยันน้ำหนักที่ใช้ — น้ำหนักสูงสุดจะถูกตั้งเป็นค่าเริ่มต้นในครั้งถัดไป', 'Then finish the superset partner.': 'จากนั้นทำท่าคู่ซูเปอร์เซ็ตให้เสร็จ', diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js index 4bad8ce..4cbfe3b 100644 --- a/frontend/src/locales/tr.js +++ b/frontend/src/locales/tr.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': 'Geçmişinden kalıcı olarak kaldırılır.', 'Workout deleted': 'Antrenman silindi', 'Delete workout': 'Antrenmanı sil', + 'Rename workout': 'Antrenmanı yeniden adlandır', + 'Workout title': 'Antrenman başlığı', '{0} done': '{0} tamamlandı', 'Confirm the weight you worked with — your highest becomes the default next time.': 'Çalıştığın ağırlığı onayla — en yükseği bir dahaki sefer varsayılan olur.', 'Then finish the superset partner.': 'Sonra süpersetin diğer egzersizini bitir.', diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js index 96f33b9..fa65765 100644 --- a/frontend/src/locales/zh.js +++ b/frontend/src/locales/zh.js @@ -141,6 +141,8 @@ export default { 'This removes it from your history for good.': '它将从历史中永久删除。', 'Workout deleted': '训练已删除', 'Delete workout': '删除训练', + 'Rename workout': '重命名训练', + 'Workout title': '训练标题', '{0} done': '{0} 完成', 'Confirm the weight you worked with — your highest becomes the default next time.': '确认你使用的重量——最高值将成为下次的默认值。', 'Then finish the superset partner.': '然后完成超级组的另一个动作。',