diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index 4576198ce..981299eec 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -24,6 +24,7 @@ }, "application_opened_another_tab": "This application has been opened in another tab.", "browser_media_e2ee_unsupported": "Your web browser does not support media end-to-end encryption. Supported Browsers are Chrome, Safari, Firefox >=117", + "browser_media_e2ee_unsupported_heading": "Incompatible Browser", "call_ended_view": { "body": "You were disconnected from the call", "create_account_button": "Create account", @@ -37,12 +38,14 @@ }, "call_name": "Name of call", "common": { + "analytics": "Analytics", "audio": "Audio", "avatar": "Avatar", "camera": "Camera", "copied": "Copied!", "display_name": "Display name", "encrypted": "Encrypted", + "error": "Error", "home": "Home", "loading": "Loading…", "microphone": "Microphone", @@ -79,8 +82,11 @@ "leave_button": "Back to recents" }, "local_volume_label": "Local volume", + "log_in": "Log In", "logging_in": "Logging in…", "login_auth_links": "<0>Create an account Or <2>Access as a guest", + "login_auth_links_prompt": "Not registered yet?", + "login_subheading": "To continue to Element", "login_title": "Login", "microphone_off": "Microphone off", "microphone_on": "Microphone on", @@ -105,6 +111,7 @@ }, "register_auth_links": "<0>Already have an account?<1><0>Log in Or <2>Access as a guest", "register_confirm_password_label": "Confirm password", + "register_heading": "Create your account", "return_home_button": "Return to home screen", "room_auth_view_eula_caption": "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)", "room_auth_view_join_button": "Join call now", diff --git a/src/FullScreenView.tsx b/src/FullScreenView.tsx index 5757d1224..60edfdbd8 100644 --- a/src/FullScreenView.tsx +++ b/src/FullScreenView.tsx @@ -71,7 +71,7 @@ export const ErrorView: FC = ({ error }) => { return ( -

Error

+

{t("common.error")}

{error instanceof TranslatedError ? error.translatedMessage diff --git a/src/UserMenu.tsx b/src/UserMenu.tsx index f485760a2..c703d933b 100644 --- a/src/UserMenu.tsx +++ b/src/UserMenu.tsx @@ -96,7 +96,7 @@ export const UserMenu: FC = ({ if (!isAuthenticated) { return ( - Log in + {t("log_in")} ); } diff --git a/src/auth/LoginPage.tsx b/src/auth/LoginPage.tsx index 93f2c9709..188341a33 100644 --- a/src/auth/LoginPage.tsx +++ b/src/auth/LoginPage.tsx @@ -90,8 +90,8 @@ export const LoginPage: FC = () => {

-

Log In

-

To continue to Element

+

{t("log_in")}

+

{t("login_subheading")}

{
-

Not registered yet?

+

{t("login_auth_links_prompt")}

Create an account diff --git a/src/auth/RegisterPage.tsx b/src/auth/RegisterPage.tsx index 436e1db9e..467530d06 100644 --- a/src/auth/RegisterPage.tsx +++ b/src/auth/RegisterPage.tsx @@ -166,7 +166,7 @@ export const RegisterPage: FC = () => {

-

Create your account

+

{t("register_heading")}

= ({ } else if (!isE2EESupported() && isRoomE2EE) { return ( - Incompatible Browser + {t("browser_media_e2ee_unsupported_heading")} {t("browser_media_e2ee_unsupported")} {t("common.home")} diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index 6baa9a8c5..e16c5cb63 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -186,8 +186,12 @@ export const SettingsModal: FC = (props) => { } > -

Developer

-

Version: {(import.meta.env.VITE_APP_VERSION as string) || "dev"}

+

{t("settings.developer_tab_title")}

+

+ {t("version", { + version: import.meta.env.VITE_APP_VERSION || "dev", + })} +

= (props) => { } /> -

Analytics

+

{t("common.analytics")}