mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Chore: Add translation
This commit is contained in:
parent
e0966e55c8
commit
a391576285
2 changed files with 6 additions and 2 deletions
|
@ -462,4 +462,6 @@ export default {
|
|||
"Footer Text": "Footer Text",
|
||||
"Show Powered By": "Show Powered By",
|
||||
"Domain Names": "Domain Names",
|
||||
signedInDisp: "Signed in as {0}",
|
||||
signedInDispDisabled: "Auth Disabled.",
|
||||
};
|
||||
|
|
|
@ -39,8 +39,10 @@
|
|||
</div>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<span v-if="$root.username != null" class="dropdown-item-text">Signed in as <strong>{{ $root.username }}</strong></span>
|
||||
<span v-if="$root.username == null" class="dropdown-item-text">Auth Disabled.</span>
|
||||
<i18n-t v-if="$root.username != null" tag="span" keypath="signedInDisp" class="dropdown-item-text">
|
||||
<strong>{{ $root.username }}</strong>
|
||||
</i18n-t>
|
||||
<span v-if="$root.username == null" class="dropdown-item-text">{{ $t("signedInDispDisabled") }}</span>
|
||||
</li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue