feat(app): label E+ banner Upgrade / Sign in (#12204)

Claude Opus 5.5 (xhigh)
This commit is contained in:
David Luzar
2026-09-29 17:44:41 +02:00
committed by GitHub
parent 5a406e5187
commit 35e854ecf7
2 changed files with 5 additions and 1 deletions
@@ -1,8 +1,11 @@
import { useI18n } from "@excalidraw/excalidraw/i18n";
export const ExcalidrawPlusPromoBanner = ({
isSignedIn,
}: {
isSignedIn: boolean;
}) => {
const { t } = useI18n();
return (
<a
href={
@@ -16,7 +19,7 @@ export const ExcalidrawPlusPromoBanner = ({
rel="noopener"
className="plus-banner"
>
Excalidraw+
{isSignedIn ? t("labels.signIn") : t("labels.upgrade")}
</a>
);
};
+1
View File
@@ -2,6 +2,7 @@
"labels": {
"signUp": "Sign up",
"signIn": "Sign in",
"upgrade": "Upgrade",
"paste": "Paste",
"pasteAsPlaintext": "Paste as plaintext",
"pasteCharts": "Paste charts",