Plan: a day with one routine says "1 routine", and so does the toast after importing a one-routine plan file (QA copy)

The weekday header on the Plan screen and the toast after "Add to my plan" both formatted
their count with the plural key only, so a single routine read "1 routines". The singular
"{0} routine" has been in every pack all along — a routineCount helper next to exCount in
lib/format.js now picks the form, and the import sheet's own summary line uses it too instead
of spelling the choice out again. The toast needed a real singular string, "Added {0} routine
to your plan", added to all 14 packs; pt-BR overrides it like the plural, so the inherited
pt-PT set and its fingerprint are unchanged and only the override count moves to 645.
This commit is contained in:
Duarte Santos committed 2026-09-19 21:15:33 +02:00
1 parent 83b2a140d6
commit d0c7d40a68
20 files changed
+137 -6

No files matched your search

+1
View File
@@ -580,6 +580,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} Übungen aus der Datei sind nicht in deiner Bibliothek und wurden weggelassen.',
'Use this weekly schedule': 'Diesen Wochenplan verwenden',
'Replaces your current Mon–Sun assignments.': 'Ersetzt deine aktuelle Mo–So-Belegung.',
'Added {0} routine to your plan': '{0} Routine zu deinem Plan hinzugefügt',
'Added {0} routines to your plan': '{0} Routinen zu deinem Plan hinzugefügt',
'this isn’t an openGym plan file': 'das ist keine openGym-Plandatei',
'Shared routine': 'Geteilte Routine',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} ejercicios del archivo no están en tu biblioteca y se han omitido.',
'Use this weekly schedule': 'Usar este horario semanal',
'Replaces your current Mon–Sun assignments.': 'Reemplaza tu asignación actual de lun–dom.',
'Added {0} routine to your plan': 'Se añadió {0} rutina a tu plan',
'Added {0} routines to your plan': 'Se añadieron {0} rutinas a tu plan',
'this isn’t an openGym plan file': 'esto no es un archivo de plan de openGym',
'Shared routine': 'Rutina compartida',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} exercices du fichier ne sont pas dans ta bibliothèque et ont été ignorés.',
'Use this weekly schedule': 'Utiliser ce planning hebdomadaire',
'Replaces your current Mon–Sun assignments.': 'Remplace ton attribution lun–dim actuelle.',
'Added {0} routine to your plan': '{0} routine ajoutée à ton plan',
'Added {0} routines to your plan': '{0} routines ajoutées à ton plan',
'this isn’t an openGym plan file': 'ce n\'est pas un fichier de plan openGym',
'Shared routine': 'Routine partagée',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': 'फ़ाइल के {0} व्यायाम आपकी लाइब्रेरी में नहीं हैं और छोड़ दिए गए।',
'Use this weekly schedule': 'यह साप्ताहिक कार्यक्रम इस्तेमाल करें',
'Replaces your current Mon–Sun assignments.': 'आपके मौजूदा सोम–रवि निर्धारण को बदल देता है।',
'Added {0} routine to your plan': 'आपके प्लान में {0} रूटीन जोड़ा गया',
'Added {0} routines to your plan': 'आपके प्लान में {0} रूटीन जोड़े गए',
'this isn’t an openGym plan file': 'यह openGym प्लान फ़ाइल नहीं है',
'Shared routine': 'साझा किया गया रूटीन',
+1
View File
@@ -540,6 +540,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} gyakorlat a fájlban nincs a könyvtáradban, ezért kimaradt.',
'Use this weekly schedule': 'Heti beosztás alkalmazása',
'Replaces your current Mon–Sun assignments.': 'Lecseréli a jelenlegi H–V beosztásod.',
'Added {0} routine to your plan': '{0} rutin hozzáadva a tervedhez',
'Added {0} routines to your plan': '{0} rutin hozzáadva a tervedhez',
'this isn’t an openGym plan file': 'ez nem egy openGym tervfájl',
'Shared routine': 'Megosztott rutin',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} esercizi del file non sono nella tua libreria e sono stati esclusi.',
'Use this weekly schedule': 'Usa questo programma settimanale',
'Replaces your current Mon–Sun assignments.': 'Sostituisce la tua assegnazione lun–dom attuale.',
'Added {0} routine to your plan': 'Aggiunta {0} routine al tuo piano',
'Added {0} routines to your plan': 'Aggiunte {0} routine al tuo piano',
'this isn’t an openGym plan file': 'questo non è un file di piano openGym',
'Shared routine': 'Routine condivisa',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '파일의 운동 {0}개가 라이브러리에 없어 제외했습니다.',
'Use this weekly schedule': '이 주간 일정 사용',
'Replaces your current Mon–Sun assignments.': '현재 월–일 배정을 대체합니다.',
'Added {0} routine to your plan': '계획에 루틴 {0}개를 추가했습니다',
'Added {0} routines to your plan': '계획에 루틴 {0}개를 추가했습니다',
'this isn’t an openGym plan file': 'openGym 계획 파일이 아닙니다',
'Shared routine': '공유된 루틴',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} ćwiczeń z pliku nie ma w Twojej bibliotece i zostały pominięte.',
'Use this weekly schedule': 'Użyj tego harmonogramu tygodnia',
'Replaces your current Mon–Sun assignments.': 'Zastępuje Twój obecny przydział pon–niedz.',
'Added {0} routine to your plan': 'Dodano {0} plan treningowy do Twojego planu',
'Added {0} routines to your plan': 'Dodano {0} planów treningowych do Twojego planu',
'this isn’t an openGym plan file': 'to nie jest plik planu openGym',
'Shared routine': 'Udostępniony plan treningowy',
+1
View File
@@ -210,6 +210,7 @@ export const PT_BR_OVERRIDES = {
'{0} exercise in the file isn’t in your library and was left out.': '{0} exercício do arquivo não está na sua biblioteca e foi ignorado.',
'{0} exercises in the file aren’t in your library and were left out.': '{0} exercícios do arquivo não estão na sua biblioteca e foram ignorados.',
'Replaces your current Mon–Sun assignments.': 'Substitui os dias definidos de segunda a domingo.',
'Added {0} routine to your plan': '{0} rotina adicionada ao seu plano',
'Added {0} routines to your plan': '{0} rotinas adicionadas ao seu plano',
'this isn’t an openGym plan file': 'este não é um arquivo de plano do openGym',
'This screen could not be drawn. Your data is safe on this device.': 'Não foi possível exibir esta tela. Seus dados estão seguros neste dispositivo.',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} exercícios do ficheiro não estão na tua biblioteca e foram ignorados.',
'Use this weekly schedule': 'Usar este horário semanal',
'Replaces your current Mon–Sun assignments.': 'Substitui a tua atribuição atual de seg–dom.',
'Added {0} routine to your plan': 'Adicionada {0} rotina ao teu plano',
'Added {0} routines to your plan': 'Adicionadas {0} rotinas ao teu plano',
'this isn’t an openGym plan file': 'isto não é um ficheiro de plano openGym',
'Shared routine': 'Rotina partilhada',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '{0} упражнений из файла отсутствуют в вашей библиотеке и были пропущены.',
'Use this weekly schedule': 'Использовать это расписание недели',
'Replaces your current Mon–Sun assignments.': 'Заменяет твоё текущее распределение пн–вс.',
'Added {0} routine to your plan': 'В твой план добавлена {0} программа',
'Added {0} routines to your plan': 'В твой план добавлено программ: {0}',
'this isn’t an openGym plan file': 'это не файл плана openGym',
'Shared routine': 'Общая программа',
+1
View File
@@ -540,6 +540,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': 'มี {0} ท่าในไฟล์ที่ไม่มีในคลังของคุณ จึงถูกข้ามไป',
'Use this weekly schedule': 'ใช้ตารางรายสัปดาห์นี้',
'Replaces your current Mon–Sun assignments.': 'จะแทนที่ตารางจันทร์–อาทิตย์ปัจจุบันของคุณ',
'Added {0} routine to your plan': 'เพิ่ม {0} รูทีนเข้าแผนของคุณแล้ว',
'Added {0} routines to your plan': 'เพิ่ม {0} รูทีนเข้าแผนของคุณแล้ว',
'this isn’t an openGym plan file': 'นี่ไม่ใช่ไฟล์แผนของ openGym',
'Shared routine': 'รูทีนที่แชร์มา',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': 'Dosyadaki {0} egzersiz kitaplığında yok ve atlandı.',
'Use this weekly schedule': 'Bu hafta programını kullan',
'Replaces your current Mon–Sun assignments.': 'Mevcut Pzt–Paz atamanı değiştirir.',
'Added {0} routine to your plan': 'Planına {0} rutin eklendi',
'Added {0} routines to your plan': 'Planına {0} rutin eklendi',
'this isn’t an openGym plan file': 'bu bir openGym plan dosyası değil',
'Shared routine': 'Paylaşılan rutin',
+1
View File
@@ -561,6 +561,7 @@ export default {
'{0} exercises in the file aren’t in your library and were left out.': '文件中有 {0} 个动作不在你的动作库中,已略过。',
'Use this weekly schedule': '使用此每周日程',
'Replaces your current Mon–Sun assignments.': '替换你当前的周一至周日安排。',
'Added {0} routine to your plan': '已向你的计划添加 {0} 个训练日',
'Added {0} routines to your plan': '已向你的计划添加 {0} 个训练日',
'this isn’t an openGym plan file': '这不是 openGym 计划文件',
'Shared routine': '共享的训练日',