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">
</div>
<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">
<option v-for="(name, type) in authenticationMethods" :key="type" :value="type">{{ name }}</option>
</select>
@ -56,7 +56,7 @@ export default {
authenticationMethods() {
return {
none: this.$t("None"),
usernamePassword: this.$t("UsernameAndPassword"),
usernamePassword: this.$t("ntfyUsernameAndPassword"),
accessToken: this.$t("Access Token")
};
}

View File

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

View File

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

View File

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