fix(native/i18n): devices counter — use Vue-style %{var} placeholders

The new counter_some / counter_limit keys (added in e8ea005) used
i18next default {{var}} braces, but lib/i18n.ts configures the
interpolator with prefix: '%{', suffix: '}' (legacy Nuxt locale-file
convention, kept verbatim when ported to RN). Result: the placeholders
rendered literally on screen ("{{count}} von {{max}} Geräten…").

Switched all three locales (DE/EN/FR) to %{var}. Also dropped the
literal "+ " prefix from the add_device label — the button now renders
an Ionicons `add-circle-outline`, so the duplicate "+" was redundant.
This commit is contained in:
chahinebrini 2026-05-15 23:31:35 +02:00
parent e4ac3ae51c
commit 701e32c36e
3 changed files with 9 additions and 9 deletions

View File

@ -889,9 +889,9 @@
"success_body": "Du kannst weitere Geräte hinzufügen wenn du willst.",
"remove_warning_title": "Profile manuell entfernen",
"remove_warning_body": "Wir können das Profile nicht aus der Ferne löschen. Auf dem Mac: Systemeinstellungen → Profile → ReBreak → Entfernen (Admin-Passwort nötig).",
"add_device": "+ neues Gerät hinzufügen",
"counter_some": "{{count}} von {{max}} Geräten · noch {{remaining}} frei",
"counter_limit": "Maximum erreicht — {{max}} von {{max}} Geräten",
"add_device": "Neues Gerät hinzufügen",
"counter_some": "%{count} von %{max} Geräten · noch %{remaining} frei",
"counter_limit": "Maximum erreicht — %{max} von %{max} Geräten",
"add_windows_enabled": "Windows-PC hinzufügen",
"windows_label_question": "Wie soll der Windows-PC heißen?",
"windows_label_default": "Windows-PC",

View File

@ -889,9 +889,9 @@
"success_body": "You can add more devices whenever you like.",
"remove_warning_title": "Remove profile manually",
"remove_warning_body": "We can't delete the profile remotely. On the Mac: System Settings → Profiles → ReBreak → Remove (admin password required).",
"add_device": "+ add new device",
"counter_some": "{{count}} of {{max}} devices · {{remaining}} more available",
"counter_limit": "Maximum reached — {{max}} of {{max}} devices",
"add_device": "Add new device",
"counter_some": "%{count} of %{max} devices · %{remaining} more available",
"counter_limit": "Maximum reached — %{max} of %{max} devices",
"add_windows_enabled": "Add Windows PC",
"windows_label_question": "What should this Windows PC be called?",
"windows_label_default": "Windows PC",

View File

@ -886,9 +886,9 @@
"success_body": "Vous pouvez ajouter d'autres appareils quand vous le souhaitez.",
"remove_warning_title": "Supprimer le profil manuellement",
"remove_warning_body": "Nous ne pouvons pas supprimer le profil à distance. Sur le Mac : Réglages système → Profils → ReBreak → Supprimer (mot de passe administrateur requis).",
"add_device": "+ ajouter un appareil",
"counter_some": "{{count}} sur {{max}} appareils · encore {{remaining}} disponible",
"counter_limit": "Maximum atteint — {{max}} sur {{max}} appareils",
"add_device": "Ajouter un appareil",
"counter_some": "%{count} sur %{max} appareils · encore %{remaining} disponible",
"counter_limit": "Maximum atteint — %{max} sur %{max} appareils",
"add_windows_enabled": "Ajouter un PC Windows",
"windows_label_question": "Comment appeler ce PC Windows ?",
"windows_label_default": "PC Windows",