2023-05-05 18:05:18 +02:00
|
|
|
import Trans from "./Trans";
|
|
|
|
|
2023-03-13 19:46:09 +05:30
|
|
|
const BraveMeasureTextError = () => {
|
|
|
|
return (
|
|
|
|
<div data-testid="brave-measure-text-error">
|
|
|
|
<p>
|
2023-05-05 18:05:18 +02:00
|
|
|
<Trans
|
|
|
|
i18nKey="errors.brave_measure_text_error.line1"
|
|
|
|
bold={(el) => <span style={{ fontWeight: 600 }}>{el}</span>}
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<Trans
|
|
|
|
i18nKey="errors.brave_measure_text_error.line2"
|
|
|
|
bold={(el) => <span style={{ fontWeight: 600 }}>{el}</span>}
|
|
|
|
/>
|
2023-03-13 19:46:09 +05:30
|
|
|
</p>
|
|
|
|
<p>
|
2023-05-05 18:05:18 +02:00
|
|
|
<Trans
|
|
|
|
i18nKey="errors.brave_measure_text_error.line3"
|
|
|
|
link={(el) => (
|
|
|
|
<a href="http://docs.excalidraw.com/docs/@excalidraw/excalidraw/faq#turning-off-aggresive-block-fingerprinting-in-brave-browser">
|
|
|
|
{el}
|
|
|
|
</a>
|
|
|
|
)}
|
|
|
|
/>
|
2023-03-13 19:46:09 +05:30
|
|
|
</p>
|
|
|
|
<p>
|
2023-05-05 18:05:18 +02:00
|
|
|
<Trans
|
|
|
|
i18nKey="errors.brave_measure_text_error.line4"
|
|
|
|
issueLink={(el) => (
|
|
|
|
<a href="https://github.com/excalidraw/excalidraw/issues/new">
|
|
|
|
{el}
|
|
|
|
</a>
|
|
|
|
)}
|
|
|
|
discordLink={(el) => <a href="https://discord.gg/UexuTaE">{el}.</a>}
|
|
|
|
/>
|
2023-03-13 19:46:09 +05:30
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default BraveMeasureTextError;
|