diff --git a/ui/extractedTranslations/da/translation.json b/ui/extractedTranslations/da/translation.json index ae0d5691..b30c1010 100644 --- a/ui/extractedTranslations/da/translation.json +++ b/ui/extractedTranslations/da/translation.json @@ -154,6 +154,11 @@ } }, "title": "Brugere" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/extractedTranslations/de/translation.json b/ui/extractedTranslations/de/translation.json index 4be024b9..558a37b6 100644 --- a/ui/extractedTranslations/de/translation.json +++ b/ui/extractedTranslations/de/translation.json @@ -116,7 +116,7 @@ "language_selector": { "placeholder": "Sprache auswählen" }, - "title": "Persönliche Einstelungen" + "title": "Persönliche Einstellungen" }, "users": { "add_user": { @@ -154,6 +154,11 @@ } }, "title": "Benutzer" + }, + "version_info": { + "build_date_title": "Build-Datum", + "title": "Photoview Version", + "version_title": "Version" } }, "share_page": { diff --git a/ui/extractedTranslations/en/translation.json b/ui/extractedTranslations/en/translation.json index 1fcff5c1..3d9820c0 100644 --- a/ui/extractedTranslations/en/translation.json +++ b/ui/extractedTranslations/en/translation.json @@ -154,6 +154,11 @@ } }, "title": "Users" + }, + "version_info": { + "build_date_title": "Build date", + "title": "Photoview Version", + "version_title": "Release Version" } }, "share_page": { diff --git a/ui/extractedTranslations/es/translation.json b/ui/extractedTranslations/es/translation.json index 90e14689..b52e82a9 100644 --- a/ui/extractedTranslations/es/translation.json +++ b/ui/extractedTranslations/es/translation.json @@ -154,6 +154,11 @@ } }, "title": "Usuarios" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/extractedTranslations/fr/translation.json b/ui/extractedTranslations/fr/translation.json index fa537725..2078abeb 100644 --- a/ui/extractedTranslations/fr/translation.json +++ b/ui/extractedTranslations/fr/translation.json @@ -154,6 +154,11 @@ } }, "title": "Utilisateurs" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/extractedTranslations/it/translation.json b/ui/extractedTranslations/it/translation.json index 8e327609..6c10c717 100644 --- a/ui/extractedTranslations/it/translation.json +++ b/ui/extractedTranslations/it/translation.json @@ -154,6 +154,11 @@ } }, "title": "Utenti" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/extractedTranslations/pl/translation.json b/ui/extractedTranslations/pl/translation.json index 23f43e30..96d9d103 100644 --- a/ui/extractedTranslations/pl/translation.json +++ b/ui/extractedTranslations/pl/translation.json @@ -154,6 +154,11 @@ } }, "title": "Użytkownicy" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/extractedTranslations/sv/translation.json b/ui/extractedTranslations/sv/translation.json index 6b9e553a..aab3904d 100644 --- a/ui/extractedTranslations/sv/translation.json +++ b/ui/extractedTranslations/sv/translation.json @@ -154,6 +154,11 @@ } }, "title": "Användare" + }, + "version_info": { + "build_date_title": null, + "title": null, + "version_title": null } }, "share_page": { diff --git a/ui/src/Pages/SettingsPage/VersionInfo.tsx b/ui/src/Pages/SettingsPage/VersionInfo.tsx index 319f6c9d..8d519433 100644 --- a/ui/src/Pages/SettingsPage/VersionInfo.tsx +++ b/ui/src/Pages/SettingsPage/VersionInfo.tsx @@ -1,5 +1,6 @@ import React from 'react' import styled from 'styled-components' +import { useTranslation } from 'react-i18next' import { InputLabelDescription, InputLabelTitle, @@ -14,12 +15,20 @@ const VersionInfoWrapper = styled.div` ` const VersionInfo = () => { + const { t } = useTranslation() + return ( - Photoview Version - Release Version + + {t('settings.version_info.title', 'Photoview Version')} + + + {t('settings.version_info.version_title', 'Release Version')} + {VERSION} - Build date + + {t('settings.version_info.build_date_title', 'Build date')} + {BUILD_DATE} )