From 73ba9b5590e71ca9911d95c236344b4e58766621 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Wed, 4 Feb 2026 14:25:01 +0000 Subject: [PATCH] fix(translations): add missing strings --- src/ErrorBoundary.jsx | 15 ++-- .../MainModal/components/ModalTopBar.jsx | 2 +- .../Elements/MainModal/constants/tabConfig.js | 3 - src/features/background/options/Custom.jsx | 6 +- .../options/sections/APISettings.jsx | 8 +- .../components/Modals/ItemSettingsModal.jsx | 2 +- src/features/marketplace/views/Added.jsx | 10 +-- src/features/misc/sections/About.jsx | 18 ++-- src/features/misc/sections/Changelog.jsx | 2 +- src/features/misc/sections/Experimental.jsx | 24 +++--- .../quicklinks/options/QuickLinksOptions.jsx | 64 ++++++++------- src/features/quote/components/AuthorInfo.jsx | 2 +- .../quote/components/AuthorInfoLegacy.jsx | 4 +- src/features/search/Search.jsx | 4 +- src/i18n/locales/ar.json | 82 +++++++++++++++++-- src/i18n/locales/arz.json | 82 +++++++++++++++++-- src/i18n/locales/az.json | 82 +++++++++++++++++-- src/i18n/locales/azb.json | 82 +++++++++++++++++-- src/i18n/locales/bn.json | 82 +++++++++++++++++-- src/i18n/locales/de_DE.json | 82 +++++++++++++++++-- src/i18n/locales/el.json | 82 +++++++++++++++++-- src/i18n/locales/en_GB.json | 82 +++++++++++++++++-- src/i18n/locales/en_US.json | 82 +++++++++++++++++-- src/i18n/locales/es.json | 82 +++++++++++++++++-- src/i18n/locales/es_419.json | 82 +++++++++++++++++-- src/i18n/locales/et.json | 82 +++++++++++++++++-- src/i18n/locales/fa.json | 82 +++++++++++++++++-- src/i18n/locales/fr.json | 82 +++++++++++++++++-- src/i18n/locales/hu.json | 82 +++++++++++++++++-- src/i18n/locales/id_ID.json | 82 +++++++++++++++++-- src/i18n/locales/ja.json | 82 +++++++++++++++++-- src/i18n/locales/lt.json | 82 +++++++++++++++++-- src/i18n/locales/lv.json | 82 +++++++++++++++++-- src/i18n/locales/nl.json | 82 +++++++++++++++++-- src/i18n/locales/no.json | 82 +++++++++++++++++-- src/i18n/locales/peo.json | 82 +++++++++++++++++-- src/i18n/locales/pt.json | 82 +++++++++++++++++-- src/i18n/locales/pt_BR.json | 82 +++++++++++++++++-- src/i18n/locales/ru.json | 82 +++++++++++++++++-- src/i18n/locales/sl.json | 82 +++++++++++++++++-- src/i18n/locales/sv.json | 82 +++++++++++++++++-- src/i18n/locales/ta.json | 82 +++++++++++++++++-- src/i18n/locales/tr_TR.json | 82 +++++++++++++++++-- src/i18n/locales/uk.json | 82 +++++++++++++++++-- src/i18n/locales/vi.json | 82 +++++++++++++++++-- src/i18n/locales/zh_CN.json | 82 +++++++++++++++++-- src/i18n/locales/zh_Hant.json | 82 +++++++++++++++++-- 47 files changed, 2527 insertions(+), 343 deletions(-) diff --git a/src/ErrorBoundary.jsx b/src/ErrorBoundary.jsx index cc78ba43..0e2d1b75 100644 --- a/src/ErrorBoundary.jsx +++ b/src/ErrorBoundary.jsx @@ -1,6 +1,7 @@ import React, { PureComponent } from 'react'; import { captureException } from '@sentry/react'; +import variables from 'config/variables'; class ErrorBoundary extends PureComponent { constructor(props) { @@ -29,18 +30,18 @@ class ErrorBoundary extends PureComponent { return (
-

A critical error has occurred

-

- The new tab page could not be loaded. Please uninstall the extension and try again. -

+

{variables.getMessage('error_boundary.title')}

+

{variables.getMessage('error_boundary.message')}

{this.state.showReport ? ( - + ) : ( -

Sent Successfully

+

{variables.getMessage('error_boundary.sent_successfully')}

)} - Support Discord + {variables.getMessage('error_boundary.support_discord')}
diff --git a/src/components/Elements/MainModal/components/ModalTopBar.jsx b/src/components/Elements/MainModal/components/ModalTopBar.jsx index 0799cd0c..f24c3910 100644 --- a/src/components/Elements/MainModal/components/ModalTopBar.jsx +++ b/src/components/Elements/MainModal/components/ModalTopBar.jsx @@ -222,7 +222,7 @@ function ModalTopBar({
Mue {breadcrumbPath.length > 0 && ( -