Browse Source

Replace "Default" notification badge with translation

ivanbratovic/improve-translatables
Ivan 3 years ago
parent
commit
265cca9ed1
  1. 1
      src/languages/en.js
  2. 2
      src/pages/EditMonitor.vue

1
src/languages/en.js

@ -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: ",
"Current User": "Current User",
recent: "Recent",
Default: "Default",
headersPlaceholder: "Example:\n\{\n \"HeaderName\": \"HeaderValue\"\n}",
bodyPlaceholder: "Example:\n\{\n \"key\": \"value\"\n}",
// Status page

2
src/pages/EditMonitor.vue

@ -215,7 +215,7 @@
<a href="#" @click="$refs.notificationDialog.show(notification.id)">{{ $t("Edit") }}</a>
</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>
<button class="btn btn-primary me-2" type="button" @click="$refs.notificationDialog.show()">

Loading…
Cancel
Save