Chore: Add translation

pull/1524/head
Nelson Chan 3 years ago
parent e0966e55c8
commit a391576285

@ -462,4 +462,6 @@ export default {
"Footer Text": "Footer Text", "Footer Text": "Footer Text",
"Show Powered By": "Show Powered By", "Show Powered By": "Show Powered By",
"Domain Names": "Domain Names", "Domain Names": "Domain Names",
signedInDisp: "Signed in as {0}",
signedInDispDisabled: "Auth Disabled.",
}; };

@ -39,8 +39,10 @@
</div> </div>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<span v-if="$root.username != null" class="dropdown-item-text">Signed in as <strong>{{ $root.username }}</strong></span> <i18n-t v-if="$root.username != null" tag="span" keypath="signedInDisp" class="dropdown-item-text">
<span v-if="$root.username == null" class="dropdown-item-text">Auth Disabled.</span> <strong>{{ $root.username }}</strong>
</i18n-t>
<span v-if="$root.username == null" class="dropdown-item-text">{{ $t("signedInDispDisabled") }}</span>
</li> </li>
<li><hr class="dropdown-divider"></li> <li><hr class="dropdown-divider"></li>
<li> <li>

Loading…
Cancel
Save