From e79c742d56e5a73e504b8f4865c5048e4888144f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 13 Feb 2025 22:19:02 +0200 Subject: [PATCH] feat(i18n): translate duration units --- .../type_widgets/options/other/note_erasure_timeout.ts | 8 ++++---- src/public/translations/en/translation.json | 6 ++++++ src/public/translations/ro/translation.json | 6 ++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.ts b/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.ts index 159b56e8d..0d13b4a6d 100644 --- a/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.ts +++ b/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.ts @@ -16,10 +16,10 @@ const TPL = ` diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index c3529c19a..8825780fa 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1648,5 +1648,11 @@ }, "help-button": { "title": "Open the relevant help page" + }, + "duration": { + "seconds": "Seconds", + "minutes": "Minutes", + "hours": "Hours", + "days": "Days" } } diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 151dbaba1..352d0a634 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1644,5 +1644,11 @@ "geo-map": { "create-child-note-title": "Crează o notiță nouă și adaug-o pe hartă", "unable-to-load-map": "Nu s-a putut încărca harta." + }, + "duration": { + "days": "zile", + "hours": "ore", + "minutes": "minute", + "seconds": "secunde" } }