mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +00:00
Replace "Default" notification badge with translation
This commit is contained in:
parent
267654c987
commit
265cca9ed1
2 changed files with 2 additions and 1 deletions
|
@ -307,6 +307,7 @@ export default {
|
||||||
steamApiKeyDescription: "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ",
|
steamApiKeyDescription: "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ",
|
||||||
"Current User": "Current User",
|
"Current User": "Current User",
|
||||||
recent: "Recent",
|
recent: "Recent",
|
||||||
|
Default: "Default",
|
||||||
headersPlaceholder: "Example:\n\{\n \"HeaderName\": \"HeaderValue\"\n}",
|
headersPlaceholder: "Example:\n\{\n \"HeaderName\": \"HeaderValue\"\n}",
|
||||||
bodyPlaceholder: "Example:\n\{\n \"key\": \"value\"\n}",
|
bodyPlaceholder: "Example:\n\{\n \"key\": \"value\"\n}",
|
||||||
// Status page
|
// Status page
|
||||||
|
|
|
@ -215,7 +215,7 @@
|
||||||
<a href="#" @click="$refs.notificationDialog.show(notification.id)">{{ $t("Edit") }}</a>
|
<a href="#" @click="$refs.notificationDialog.show(notification.id)">{{ $t("Edit") }}</a>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<span v-if="notification.isDefault == true" class="badge bg-primary ms-2">Default</span>
|
<span v-if="notification.isDefault == true" class="badge bg-primary ms-2">{{ $t("Default") }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="btn btn-primary me-2" type="button" @click="$refs.notificationDialog.show()">
|
<button class="btn btn-primary me-2" type="button" @click="$refs.notificationDialog.show()">
|
||||||
|
|
Loading…
Reference in a new issue