2
0
Эх сурвалжийг харах

fix: fix brave error i18n string and remove unused (#6561)

David Luzar 2 жил өмнө
parent
commit
026949204d

+ 1 - 1
src/components/__snapshots__/App.test.tsx.snap

@@ -32,7 +32,7 @@ exports[`Test <App/> should show error modal when using brave and measureText AP
      on how to do so.
   </p>
   <p>
-     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 
     <a
       href="https://github.com/excalidraw/excalidraw/issues/new"
     >

+ 1 - 2
src/locales/en.json

@@ -211,8 +211,7 @@
       "line1": "Looks like you are using Brave browser with the <bold>Aggressively Block Fingerprinting</bold> setting enabled.",
       "line2": "This could result in breaking the <bold>Text Elements</bold> in your drawings.",
       "line3": "We strongly recommend disabling this setting. You can follow <link>these steps</link> on how to do so.",
-      "line4": " If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>",
-      "discord": "Discord"
+      "line4": "If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>"
     }
   },
   "toolBar": {