Replace "Default" notification badge with translation

This commit is contained in:
Ivan 2021-11-11 10:54:09 +01:00
parent 267654c987
commit 265cca9ed1
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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()">