chore: improve misc i18n things (#6645)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0c35ce1ae9
commit
78020b02a9
@ -9,10 +9,14 @@
|
|||||||
<HiddenInput id="clicksendsms-key" v-model="$parent.notification.clicksendsmsPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
<HiddenInput id="clicksendsms-key" v-model="$parent.notification.clicksendsmsPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="checkPriceAt" class="form-text">
|
||||||
{{ $t("checkPrice", ["clicksendsms"]) }}
|
<template #service>
|
||||||
|
clicksendsms
|
||||||
|
</template>
|
||||||
|
<template #url>
|
||||||
<a href="https://www.clicksend.com/us/pricing" target="_blank">https://clicksend.com/us/pricing</a>
|
<a href="https://www.clicksend.com/us/pricing" target="_blank">https://clicksend.com/us/pricing</a>
|
||||||
</div>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="clicksendsms-to-number" class="form-label">{{ $t("Recipient Number") }}</label>
|
<label for="clicksendsms-to-number" class="form-label">{{ $t("Recipient Number") }}</label>
|
||||||
|
|||||||
@ -13,10 +13,14 @@
|
|||||||
<option value="3">{{ $t("promosmsTypeFull") }}</option>
|
<option value="3">{{ $t("promosmsTypeFull") }}</option>
|
||||||
<option value="4">{{ $t("promosmsTypeSpeed") }}</option>
|
<option value="4">{{ $t("promosmsTypeSpeed") }}</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="checkPriceAt" class="form-text">
|
||||||
{{ $t("checkPrice", [$t("promosms")]) }}
|
<template #service>
|
||||||
|
promosms
|
||||||
|
</template>
|
||||||
|
<template #url>
|
||||||
<a href="https://promosms.com/cennik/" target="_blank">https://promosms.com/cennik/</a>
|
<a href="https://promosms.com/cennik/" target="_blank">https://promosms.com/cennik/</a>
|
||||||
</div>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="promosms-phone-number" class="form-label">{{ $t("promosmsPhoneNumber") }}</label>
|
<label for="promosms-phone-number" class="form-label">{{ $t("promosmsPhoneNumber") }}</label>
|
||||||
|
|||||||
@ -11,10 +11,14 @@
|
|||||||
<HiddenInput id="smsc-key" v-model="$parent.notification.smscPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
<HiddenInput id="smsc-key" v-model="$parent.notification.smscPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="checkPriceAt" class="form-text">
|
||||||
{{ $t("checkPrice", ['СМСЦ']) }}
|
<template #service>
|
||||||
|
СМСЦ
|
||||||
|
</template>
|
||||||
|
<template #url>
|
||||||
<a href="https://smsc.kz/tariffs/" target="_blank">https://smsc.kz/tariffs/</a>
|
<a href="https://smsc.kz/tariffs/" target="_blank">https://smsc.kz/tariffs/</a>
|
||||||
</div>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="smsc-to-number" class="form-label">{{ $t("Recipient Number") }}</label>
|
<label for="smsc-to-number" class="form-label">{{ $t("Recipient Number") }}</label>
|
||||||
|
|||||||
@ -9,9 +9,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="smsmanager-numbers" class="form-label"> {{ $t("Recipients") }}</label>
|
<label for="smsmanager-numbers" class="form-label"> {{ $t("Recipients") }}</label>
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="You can divide numbers with commas or semicolons" class="form-text">
|
||||||
{{ $t("You can divide numbers with") }} <b>,</b> {{ $t("or") }} <b>;</b>
|
<template #comma>
|
||||||
</div>
|
<code>,</code>
|
||||||
|
</template>
|
||||||
|
<template #semicolon>
|
||||||
|
<code>;</code>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
<input id="smsmanager-numbers" v-model="$parent.notification.numbers" type="text" class="form-control">
|
<input id="smsmanager-numbers" v-model="$parent.notification.numbers" type="text" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@ -23,9 +28,13 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="checkPriceAt" class="form-text">
|
||||||
{{ $t("checkPrice", [$t("SMSManager")]) }}
|
<template #service>
|
||||||
|
SMSManager
|
||||||
|
</template>
|
||||||
|
<template #url>
|
||||||
<a href="https://smsmanager.cz/rozesilani-sms/ceny/ceska-republika/" target="_blank">{{ $t("here") }}</a>
|
<a href="https://smsmanager.cz/rozesilani-sms/ceny/ceska-republika/" target="_blank">{{ $t("here") }}</a>
|
||||||
</div>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -142,12 +142,13 @@
|
|||||||
v-model="settings.steamAPIKey"
|
v-model="settings.steamAPIKey"
|
||||||
autocomplete="new-password"
|
autocomplete="new-password"
|
||||||
/>
|
/>
|
||||||
<div class="form-text">
|
<i18n-t tag="div" keypath="steamApiKeyDescriptionAt" class="form-text">
|
||||||
{{ $t("steamApiKeyDescription") }}
|
<template #url>
|
||||||
<a href="https://steamcommunity.com/dev" target="_blank">
|
<a href="https://steamcommunity.com/dev" target="_blank">
|
||||||
https://steamcommunity.com/dev
|
https://steamcommunity.com/dev
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- DNS Cache (nscd) -->
|
<!-- DNS Cache (nscd) -->
|
||||||
|
|||||||
@ -259,14 +259,14 @@
|
|||||||
"Body": "Body",
|
"Body": "Body",
|
||||||
"Headers": "Headers",
|
"Headers": "Headers",
|
||||||
"PushUrl": "Push URL",
|
"PushUrl": "Push URL",
|
||||||
"HeadersInvalidFormat": "The request headers are not valid JSON: ",
|
"HeadersInvalidFormatBecause": "The request headers are not valid JSON because {error}",
|
||||||
"BodyInvalidFormat": "The request body is not valid JSON: ",
|
"BodyInvalidFormatBecause": "The request body is not valid JSON because {error}",
|
||||||
"Monitor History": "Monitor History",
|
"Monitor History": "Monitor History",
|
||||||
"clearDataOlderThan": "Keep monitor history data for {0} days.",
|
"clearDataOlderThan": "Keep monitor history data for {0} days.",
|
||||||
"PasswordsDoNotMatch": "Passwords do not match.",
|
"PasswordsDoNotMatch": "Passwords do not match.",
|
||||||
"records": "records",
|
"records": "records",
|
||||||
"One record": "One record",
|
"One record": "One record",
|
||||||
"steamApiKeyDescription": "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ",
|
"steamApiKeyDescriptionAt": "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key at {url}",
|
||||||
"Current User": "Current User",
|
"Current User": "Current User",
|
||||||
"topic": "Topic",
|
"topic": "Topic",
|
||||||
"topicExplanation": "MQTT topic to monitor",
|
"topicExplanation": "MQTT topic to monitor",
|
||||||
@ -703,7 +703,7 @@
|
|||||||
"SMS Type": "SMS Type",
|
"SMS Type": "SMS Type",
|
||||||
"octopushTypePremium": "Premium (Fast - recommended for alerting)",
|
"octopushTypePremium": "Premium (Fast - recommended for alerting)",
|
||||||
"octopushTypeLowCost": "Low Cost (Slow - sometimes blocked by operator)",
|
"octopushTypeLowCost": "Low Cost (Slow - sometimes blocked by operator)",
|
||||||
"checkPrice": "Check {0} prices:",
|
"checkPriceAt": "Check {service} prices at {url}",
|
||||||
"apiCredentials": "API credentials",
|
"apiCredentials": "API credentials",
|
||||||
"octopushLegacyHint": "Do you use the legacy version of Octopush (2011-2020) or the new version?",
|
"octopushLegacyHint": "Do you use the legacy version of Octopush (2011-2020) or the new version?",
|
||||||
"Check octopush prices": "Check octopush prices {0}.",
|
"Check octopush prices": "Check octopush prices {0}.",
|
||||||
@ -725,9 +725,9 @@
|
|||||||
"Lowcost": "Lowcost",
|
"Lowcost": "Lowcost",
|
||||||
"high": "high",
|
"high": "high",
|
||||||
"SendKey": "SendKey",
|
"SendKey": "SendKey",
|
||||||
"SMSManager API Docs": "SMSManager API Docs ",
|
"SMSManager API Docs": "SMSManager API Docs",
|
||||||
"Gateway Type": "Gateway Type",
|
"Gateway Type": "Gateway Type",
|
||||||
"You can divide numbers with": "You can divide numbers with",
|
"You can divide numbers with commas or semicolons": "You can divide numbers with {comma} or {semicolon}",
|
||||||
"Base URL": "Base URL",
|
"Base URL": "Base URL",
|
||||||
"goAlertInfo": "GoAlert is a An open source application for on-call scheduling, automated escalations and notifications (like SMS or voice calls). Automatically engage the right person, the right way, and at the right time! {0}",
|
"goAlertInfo": "GoAlert is a An open source application for on-call scheduling, automated escalations and notifications (like SMS or voice calls). Automatically engage the right person, the right way, and at the right time! {0}",
|
||||||
"goAlertIntegrationKeyInfo": "Get generic API integration key for the service in this format \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" usually the value of token parameter of copied URL.",
|
"goAlertIntegrationKeyInfo": "Get generic API integration key for the service in this format \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" usually the value of token parameter of copied URL.",
|
||||||
@ -1292,10 +1292,8 @@
|
|||||||
"Sort by certificate expiry": "Sort by certificate expiry",
|
"Sort by certificate expiry": "Sort by certificate expiry",
|
||||||
"Splunk Rest URL": "Splunk Rest URL",
|
"Splunk Rest URL": "Splunk Rest URL",
|
||||||
"Severity": "Severity",
|
"Severity": "Severity",
|
||||||
"SMSManager": "SMSManager",
|
|
||||||
"Message Format": "Message Format",
|
"Message Format": "Message Format",
|
||||||
"smscTranslit": "smscTranslit",
|
"smscTranslit": "smscTranslit",
|
||||||
"promosms": "promosms",
|
|
||||||
"Region": "Region",
|
"Region": "Region",
|
||||||
"PushDeer Server URL": "PushDeer Server URL",
|
"PushDeer Server URL": "PushDeer Server URL",
|
||||||
"To Number": "To Number",
|
"To Number": "To Number",
|
||||||
|
|||||||
@ -2068,7 +2068,7 @@ message HealthCheckResponse {
|
|||||||
try {
|
try {
|
||||||
JSON.parse(this.monitor.body);
|
JSON.parse(this.monitor.body);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error(this.$t("BodyInvalidFormat") + err.message);
|
toast.error(this.$t("BodyInvalidFormatBecause", {error: err.message}));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2076,7 +2076,7 @@ message HealthCheckResponse {
|
|||||||
try {
|
try {
|
||||||
JSON.parse(this.monitor.headers);
|
JSON.parse(this.monitor.headers);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error(this.$t("HeadersInvalidFormat") + err.message);
|
toast.error(this.$t("HeadersInvalidFormatBecause", {error: err.message}));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user