Uppercase and improve language keys

pull/2885/head
Louis Lam 2 years ago
parent 70bb69fc73
commit 6e0aa109bc

@ -4,17 +4,17 @@
<div class="form-text"> <div class="form-text">
<p> <p>
<select id="lunasea-notification-target" v-model="$parent.notification.lunaseaTarget" class="form-select" required> <select id="lunasea-notification-target" v-model="$parent.notification.lunaseaTarget" class="form-select" required>
<option value="device">{{ $t("Device") }}</option> <option value="device">{{ $t("lunaseaDeviceID") }}</option>
<option value="user">{{ $t("User") }}</option> <option value="user">{{ $t("lunaseaUserID") }}</option>
</select> </select>
</p> </p>
</div> </div>
<div v-if="$parent.notification.lunaseaTarget === 'device'"> <div v-if="$parent.notification.lunaseaTarget === 'device'">
<label for="lunasea-device" class="form-label">{{ $t("Device ID") }}<span style="color: red;"><sup>*</sup></span></label> <label for="lunasea-device" class="form-label">{{ $t("lunaseaDeviceID") }}<span style="color: red;"><sup>*</sup></span></label>
<input id="lunasea-device" v-model="$parent.notification.lunaseaDevice" type="text" class="form-control"> <input id="lunasea-device" v-model="$parent.notification.lunaseaDevice" type="text" class="form-control">
</div> </div>
<div v-if="$parent.notification.lunaseaTarget === 'user'"> <div v-if="$parent.notification.lunaseaTarget === 'user'">
<label for="lunasea-device" class="form-label">{{ $t("User ID") }}<span style="color: red;"><sup>*</sup></span></label> <label for="lunasea-device" class="form-label">{{ $t("lunaseaUserID") }}<span style="color: red;"><sup>*</sup></span></label>
<input id="lunasea-device" v-model="$parent.notification.lunaseaUserID" type="text" class="form-control"> <input id="lunasea-device" v-model="$parent.notification.lunaseaUserID" type="text" class="form-control">
</div> </div>
</div> </div>

@ -154,6 +154,7 @@
"Token": "Token", "Token": "Token",
"Show URI": "Show URI", "Show URI": "Show URI",
"Tags": "Tags", "Tags": "Tags",
"Add New Tag": "Add New Tag",
"Add New below or Select...": "Add New below or Select…", "Add New below or Select...": "Add New below or Select…",
"Tag with this name already exist.": "Tag with this name already exists.", "Tag with this name already exist.": "Tag with this name already exists.",
"Tag with this value already exist.": "Tag with this value already exists.", "Tag with this value already exist.": "Tag with this value already exists.",
@ -703,7 +704,7 @@
"pagertreeResolve": "Auto Resolve", "pagertreeResolve": "Auto Resolve",
"pagertreeDoNothing": "Do Nothing", "pagertreeDoNothing": "Do Nothing",
"wayToGetPagerTreeIntegrationURL": "After creating the Uptime Kuma integration in PagerTree, copy the Endpoint. See full details {0}", "wayToGetPagerTreeIntegrationURL": "After creating the Uptime Kuma integration in PagerTree, copy the Endpoint. See full details {0}",
"Add New Tag": "Add new tag", "lunaseaTarget": "target",
"Target": "target", "lunaseaDeviceID": "Device ID",
"Device ID": "Device ID" "lunaseaUserID": "User ID"
} }

Loading…
Cancel
Save