aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-01-16 07:46:02 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2024-01-16 07:46:02 +0530
commit0dfeb10e838374ec87d9fc1363207e9159abcad6 (patch)
tree2ba981f759d0fa1ec49350594831971b4e5ab47b /src
parent6.7.1-nightly.8 [skip ci] (diff)
downloadferdium-app-0dfeb10e838374ec87d9fc1363207e9159abcad6.tar.gz
ferdium-app-0dfeb10e838374ec87d9fc1363207e9159abcad6.tar.zst
ferdium-app-0dfeb10e838374ec87d9fc1363207e9159abcad6.zip
Extract string for i18n
Diffstat (limited to 'src')
-rw-r--r--src/components/settings/settings/EditSettingsForm.tsx9
-rw-r--r--src/i18n/locales/en-US.json1
2 files changed, 9 insertions, 1 deletions
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({
238 id: 'settings.app.updateStatusUpToDate', 238 id: 'settings.app.updateStatusUpToDate',
239 defaultMessage: 'You are using the latest version of Ferdium', 239 defaultMessage: 'You are using the latest version of Ferdium',
240 }, 240 },
241 servicesUpdateStatusUpToDate: {
242 id: 'settings.app.servicesUpdateStatusUpToDate',
243 defaultMessage: 'Your services are up-to-date',
244 },
241 currentVersion: { 245 currentVersion: {
242 id: 'settings.app.currentVersion', 246 id: 'settings.app.currentVersion',
243 defaultMessage: 'Current version:', 247 defaultMessage: 'Current version:',
@@ -1117,7 +1121,10 @@ class EditSettingsForm extends Component<IProps, IState> {
1117 ) : ( 1121 ) : (
1118 <p> 1122 <p>
1119 <Icon icon={mdiPowerPlug} /> 1123 <Icon icon={mdiPowerPlug} />
1120 &nbsp;Your services are up-to-date. 1124 &nbsp;
1125 {intl.formatMessage(
1126 messages.servicesUpdateStatusUpToDate,
1127 )}
1121 </p> 1128 </p>
1122 )} 1129 )}
1123 </> 1130 </>
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 @@
296 "settings.app.sectionUpdates": "App Updates Settings", 296 "settings.app.sectionUpdates": "App Updates Settings",
297 "settings.app.sentryInfo": "Sending telemetry data allows us to find errors in Ferdium - we will not send any personal information like your message data!", 297 "settings.app.sentryInfo": "Sending telemetry data allows us to find errors in Ferdium - we will not send any personal information like your message data!",
298 "settings.app.serverHelp": "Connected to server at {serverURL}", 298 "settings.app.serverHelp": "Connected to server at {serverURL}",
299 "settings.app.servicesUpdateStatusUpToDate": "Your services are up-to-date",
299 "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.", 300 "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.",
300 "settings.app.subheadlineCache": "Cache", 301 "settings.app.subheadlineCache": "Cache",
301 "settings.app.subheadlineFerdiumProfile": "Ferdium Profile", 302 "settings.app.subheadlineFerdiumProfile": "Ferdium Profile",