Replace "Default" notification badge with translation

pull/902/head
Ivan 3 years ago
parent 267654c987
commit 265cca9ed1

@ -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…
Cancel
Save