From 0dfeb10e838374ec87d9fc1363207e9159abcad6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 16 Jan 2024 07:46:02 +0530 Subject: Extract string for i18n --- src/components/settings/settings/EditSettingsForm.tsx | 9 ++++++++- src/i18n/locales/en-US.json | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/settings/settings/EditSettingsForm.tsx b/src/components/settings/settings/EditSettingsForm.tsx index 1672a1411..70887af0f 100644 --- a/src/components/settings/settings/EditSettingsForm.tsx +++ b/src/components/settings/settings/EditSettingsForm.tsx @@ -238,6 +238,10 @@ const messages = defineMessages({ id: 'settings.app.updateStatusUpToDate', defaultMessage: 'You are using the latest version of Ferdium', }, + servicesUpdateStatusUpToDate: { + id: 'settings.app.servicesUpdateStatusUpToDate', + defaultMessage: 'Your services are up-to-date', + }, currentVersion: { id: 'settings.app.currentVersion', defaultMessage: 'Current version:', @@ -1117,7 +1121,10 @@ class EditSettingsForm extends Component { ) : (

-  Your services are up-to-date. +   + {intl.formatMessage( + messages.servicesUpdateStatusUpToDate, + )}

)} diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index da6d825b6..eb8053fec 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json @@ -296,6 +296,7 @@ "settings.app.sectionUpdates": "App Updates Settings", "settings.app.sentryInfo": "Sending telemetry data allows us to find errors in Ferdium - we will not send any personal information like your message data!", "settings.app.serverHelp": "Connected to server at {serverURL}", + "settings.app.servicesUpdateStatusUpToDate": "Your services are up-to-date", "settings.app.spellCheckerLanguageInfo": "Ferdium uses your Mac's build-in spellchecker to check for typos. If you want to change the languages the spellchecker checks for, you can do so in your Mac's System Preferences.", "settings.app.subheadlineCache": "Cache", "settings.app.subheadlineFerdiumProfile": "Ferdium Profile", -- cgit v1.2.3-54-g00ecf