Explorar el Código

fix(admin-ui): Add branding to welcome page (#2115)

Relates to #2040 - Includes translation in english and german
Daniel Biegler hace 2 años
padre
commit
f0f87692da

+ 1 - 1
packages/admin-ui/src/lib/login/src/components/login/login.component.html

@@ -14,7 +14,7 @@
         </div>
         <div class="login-wrapper-form">
             <p class="login-title">
-                {{ 'common.login-title' | translate }}
+                {{ 'common.login-title' | translate: { brand: hideVendureBranding ? brand : "Vendure" } }}
             </p>
             <form class="login-form">
                 <div class="login-group">

+ 1 - 1
packages/admin-ui/src/lib/static/i18n-messages/de.json

@@ -287,7 +287,7 @@
     "view-next-month": "Nächsten Monat anzeigen",
     "view-previous-month": "Vorherigen Monat anzeigen",
     "with-selected": "Auswahl...",
-    "login-title": "Anmelden bei Vendure",
+    "login-title": "Anmelden bei {brand}",
     "login-image-title": "Hallo! Willkommen zurück. Schön, dich zu sehen."
   },
   "customer": {

+ 1 - 1
packages/admin-ui/src/lib/static/i18n-messages/en.json

@@ -287,7 +287,7 @@
     "view-next-month": "View next month",
     "view-previous-month": "View previous month",
     "with-selected": "With {count} selected...",
-    "login-title": "Log in to Vendure",
+    "login-title": "Log in to {brand}",
     "login-image-title": "Hi! Welcome back. Good to see you."
   },
   "customer": {