mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +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",
|
"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…
Reference in a new issue