diff --git a/public/locales/en/layout/modals/about.json b/public/locales/en/layout/modals/about.json
index 01a8f5d09..fdca91f6d 100644
--- a/public/locales/en/layout/modals/about.json
+++ b/public/locales/en/layout/modals/about.json
@@ -6,6 +6,7 @@
"key": "Shortcut key",
"action": "Action",
"keybinds": "Keybinds",
+ "documentation": "Documentation",
"actions": {
"toggleTheme": "Toggle light/dark mode",
"focusSearchBar": "Focus on search bar",
@@ -20,6 +21,9 @@
"i18n": "Loaded I18n translation namespaces",
"locales": "Configured I18n locales",
"experimental_disableEditMode": "EXPERIMENTAL: Disable edit mode"
+ },
+ "version": {
+ "new": "New: {{newVersion}}",
+ "dropdown": "Version {{newVersion}} is available! Current Version is {{currentVersion}}"
}
-
}
\ No newline at end of file
diff --git a/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx b/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx
index 64174046d..19b2252d6 100644
--- a/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx
+++ b/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx
@@ -167,7 +167,7 @@ export const AboutModal = ({ opened, closeModal, newVersionAvailable }: AboutMod
variant="default"
fullWidth
>
- Documentation
+ {t('layout/modals/about:documentation')}
@@ -203,6 +203,7 @@ const useInformationTableItems = (newVersionAvailable?: string): InformationTabl
const { attributes } = usePackageAttributesStore();
const { editModeEnabled } = useEditModeInformationStore();
const { primaryColor } = useColorTheme();
+ const { t } = useTranslation(['layout/modals/about']);
const { configVersion } = useConfigContext();
const { configs } = useConfigStore();
@@ -300,21 +301,23 @@ const useInformationTableItems = (newVersionAvailable?: string): InformationTabl
transition={{ duration: 0.8, ease: 'easeInOut' }}
>
- new: {newVersionAvailable}
+ {t('version.new',{ newVersion: newVersionAvailable})}
- Version{' '}
-
-
- {newVersionAvailable}
-
- {' '}
- is available ! Current version: {attributes.packageVersion}
+
+ {t('version.dropdown', {currentVersion: attributes.packageVersion}).split('{{newVersion}}')[0]}
+
+
+ {newVersionAvailable}
+
+
+ {t('version.dropdown', {currentVersion: attributes.packageVersion}).split('{{newVersion}}')[1]}
+
)}