diff --git a/src/components/BraveMeasureTextError.tsx b/src/components/BraveMeasureTextError.tsx index 8a4a71e4f..1932d7a29 100644 --- a/src/components/BraveMeasureTextError.tsx +++ b/src/components/BraveMeasureTextError.tsx @@ -1,39 +1,40 @@ -import { t } from "../i18n"; +import Trans from "./Trans"; + const BraveMeasureTextError = () => { return (
- {t("errors.brave_measure_text_error.start")}
-
- {t("errors.brave_measure_text_error.aggressive_block_fingerprint")}
- {" "}
- {t("errors.brave_measure_text_error.setting_enabled")}.
-
-
- {t("errors.brave_measure_text_error.break")}{" "}
-
- {t("errors.brave_measure_text_error.text_elements")}
- {" "}
- {t("errors.brave_measure_text_error.in_your_drawings")}.
+
+
- {t("errors.brave_measure_text_error.strongly_recommend")}{" "}
-
- {" "}
- {t("errors.brave_measure_text_error.steps")}
- {" "}
- {t("errors.brave_measure_text_error.how")}.
+
- {t("errors.brave_measure_text_error.disable_setting")}{" "}
-
- {t("errors.brave_measure_text_error.issue")}
- {" "}
- {t("errors.brave_measure_text_error.write")}{" "}
-
- {t("errors.brave_measure_text_error.discord")}
-
- .
+
- Looks like you are using Brave browser with the
-
+ Looks like you are using Brave browser with the
Aggressively Block Fingerprinting
-
- setting enabled
- .
-
-
- This could result in breaking the
-
+ setting enabled.
+
+ This could result in breaking the Text Elements - - in your drawings - . + in your drawings.
- We strongly recommend disabling this setting. You can follow - + We strongly recommend disabling this setting. You can follow - these steps - - on how to do so - . + on how to do so.
- If disabling this setting doesn't fix the display of text elements, please open an - + If disabling this setting doesn't fix the display of text elements, please open an issue - - on our GitHub, or write us on - + on our GitHub, or write us on Discord + . - .
`; diff --git a/src/locales/en.json b/src/locales/en.json index 7e250a800..041fb5643 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -208,18 +208,10 @@ "collabSaveFailed": "Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work.", "collabSaveFailed_sizeExceeded": "Couldn't save to the backend database, the canvas seems to be too big. You should save the file locally to ensure you don't lose your work.", "brave_measure_text_error": { - "start": "Looks like you are using Brave browser with the", - "aggressive_block_fingerprint": "Aggressively Block Fingerprinting", - "setting_enabled": "setting enabled", - "break": "This could result in breaking the", - "text_elements": "Text Elements", - "in_your_drawings": "in your drawings", - "strongly_recommend": "We strongly recommend disabling this setting. You can follow", - "steps": "these steps", - "how": "on how to do so", - "disable_setting": " If disabling this setting doesn't fix the display of text elements, please open an", - "issue": "issue", - "write": "on our GitHub, or write us on", + "line1": "Looks like you are using Brave browser with the