From addab2fde72e15451a69cd6c468d85cbcfeef9e0 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 12 May 2026 15:10:26 -0500 Subject: [PATCH] `one`/`other` translation boilerplate duplication --- frontend/locales/en.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/frontend/locales/en.json b/frontend/locales/en.json index d49d1faf8..6fc957e9a 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -290,18 +290,23 @@ "email": "Email" }, "user_sessions_overview": { - "approaching_session_limit_warning_description": "You've used {{num_sessions}} of {{count}} device slots. Once you reach your limit, you'll need to remove an existing device to add another.", + "approaching_session_limit_warning_description:one": "You've used {{num_sessions}} of {{count}} device slots. Once you reach your limit, you'll need to remove an existing device to add another.", + "approaching_session_limit_warning_description:other": "You've used {{num_sessions}} of {{count}} device slots. Once you reach your limit, you'll need to remove an existing device to add another.", "approaching_session_limit_warning_header": "Heads up, you're close to your device limit", "heading": "Where you're signed in", - "hit_session_limit_warning_description": "You've used {{num_sessions}} of {{count}} device slots. When you try to sign-in again, you'll need to remove an existing device.", + "hit_session_limit_warning_description:one": "You've used {{num_sessions}} of {{count}} device slots. When you try to sign-in again, you'll need to remove an existing device.", + "hit_session_limit_warning_description:other": "You've used {{num_sessions}} of {{count}} device slots. When you try to sign-in again, you'll need to remove an existing device.", "hit_session_limit_warning_header": "You've hit the device limit", "no_active_sessions": { "default": "You are not signed in to any application.", "inactive_90_days": "All your sessions have been active in the last 90 days." }, - "num_sessions_filtered_header": "{{count}} devices match your filter ({{unfiltered_session_count}} total)", - "num_sessions_header": "{{count}} devices", - "session_limit_info": "You've used {{count}}/{{limit}} device slots" + "num_sessions_filtered_header:one": "{{count}} devices match your filter ({{unfiltered_session_count}} total)", + "num_sessions_filtered_header:other": "{{count}} devices match your filter ({{unfiltered_session_count}} total)", + "num_sessions_header:one": "{{count}} devices", + "num_sessions_header:other": "{{count}} devices", + "session_limit_info:one": "You've used {{count}}/{{limit}} device slots", + "session_limit_info:other": "You've used {{count}}/{{limit}} device slots" }, "verify_email": { "code_expired_alert": {