This commit is contained in:
Louis Lam 2023-04-25 18:22:17 +08:00
parent 078d1f96a5
commit a3e31b22bc
4 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@
<input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1"> <input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="authentication-method" class="form-label">{{ $t("AuthenticationMethod") }}</label> <label for="authentication-method" class="form-label">{{ $t("ntfyAuthenticationMethod") }}</label>
<select id="authentication-method" v-model="$parent.notification.ntfyAuthenticationMethod" class="form-select"> <select id="authentication-method" v-model="$parent.notification.ntfyAuthenticationMethod" class="form-select">
<option v-for="(name, type) in authenticationMethods" :key="type" :value="type">{{ name }}</option> <option v-for="(name, type) in authenticationMethods" :key="type" :value="type">{{ name }}</option>
</select> </select>
@ -56,7 +56,7 @@ export default {
authenticationMethods() { authenticationMethods() {
return { return {
none: this.$t("None"), none: this.$t("None"),
usernamePassword: this.$t("UsernameAndPassword"), usernamePassword: this.$t("ntfyUsernameAndPassword"),
accessToken: this.$t("Access Token") accessToken: this.$t("Access Token")
}; };
} }

View file

@ -736,8 +736,8 @@
"lunaseaTarget": "Ziel", "lunaseaTarget": "Ziel",
"lunaseaDeviceID": "Geräte-ID", "lunaseaDeviceID": "Geräte-ID",
"lunaseaUserID": "Benutzer-ID", "lunaseaUserID": "Benutzer-ID",
"AuthenticationMethod": "Authentifizierungsmethode", "ntfyAuthenticationMethod": "Authentifizierungsmethode",
"UsernameAndPassword": "Benutzername und Passwort", "ntfyUsernameAndPassword": "Benutzername und Passwort",
"twilioAccountSID": "Account SID", "twilioAccountSID": "Account SID",
"twilioFromNumber": "Absender", "twilioFromNumber": "Absender",
"twilioToNumber": "Empfänger", "twilioToNumber": "Empfänger",

View file

@ -739,8 +739,8 @@
"lunaseaDeviceID": "Geräte-ID", "lunaseaDeviceID": "Geräte-ID",
"lunaseaTarget": "Ziel", "lunaseaTarget": "Ziel",
"lunaseaUserID": "Benutzer-ID", "lunaseaUserID": "Benutzer-ID",
"AuthenticationMethod": "Authentifizierungsmethode", "ntfyAuthenticationMethod": "Authentifizierungsmethode",
"UsernameAndPassword": "Benutzername und Passwort", "ntfyUsernameAndPassword": "Benutzername und Passwort",
"twilioAccountSID": "Account SID", "twilioAccountSID": "Account SID",
"twilioFromNumber": "Absender", "twilioFromNumber": "Absender",
"twilioToNumber": "Empfänger", "twilioToNumber": "Empfänger",

View file

@ -714,8 +714,8 @@
"lunaseaTarget": "Target", "lunaseaTarget": "Target",
"lunaseaDeviceID": "Device ID", "lunaseaDeviceID": "Device ID",
"lunaseaUserID": "User ID", "lunaseaUserID": "User ID",
"AuthenticationMethod": "Authentication Method", "ntfyAuthenticationMethod": "Authentication Method",
"UsernameAndPassword": "Username and Password", "ntfyUsernameAndPassword": "Username and Password",
"twilioAccountSID": "Account SID", "twilioAccountSID": "Account SID",
"twilioAuthToken": "Auth Token", "twilioAuthToken": "Auth Token",
"twilioFromNumber": "From Number", "twilioFromNumber": "From Number",