Added language keys

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/2558/head
Matthew Nickson 2 years ago
parent d7f2fa982a
commit 05443f9bb7
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

@ -695,5 +695,19 @@
"Google Analytics ID": "Google Analytics ID", "Google Analytics ID": "Google Analytics ID",
"Edit Tag": "Edit Tag", "Edit Tag": "Edit Tag",
"Server Address": "Server Address", "Server Address": "Server Address",
"Learn More": "Learn More" "Learn More": "Learn More",
"API Keys": "API Keys",
"Expiry": "Expiry",
"Expiry date": "Expiry date",
"Don't expire": "Don't expire",
"Continue": "Continue",
"Add Another": "Add Another",
"Key Added": "Key Added",
"apiKeyAddedMsg": "Your API key has been added. Please make a note of it as it will not be shown again.",
"Add API Key": "Add API Key",
"No API Keys": "No API Keys",
"apiKey-active": "Active",
"apiKey-expired": "Expired",
"apiKey-inactive": "Inactive",
"Expires": "Expires"
} }

@ -8,7 +8,7 @@
<div class="col-xl-10"> <div class="col-xl-10">
<!-- Title --> <!-- Title -->
<div class="mb-3"> <div class="mb-3">
<label for="name" class="form-label">{{ $t("Title") }}</label> <label for="name" class="form-label">{{ $t("Name") }}</label>
<input <input
id="name" v-model="key.name" type="text" class="form-control" id="name" v-model="key.name" type="text" class="form-control"
required required

@ -59,7 +59,7 @@
</div> </div>
<div class="text-center mt-3" style="font-size: 13px;"> <div class="text-center mt-3" style="font-size: 13px;">
<a href="https://github.com/louislam/uptime-kuma/wiki/Maintenance" target="_blank">Learn More</a> <a href="https://github.com/louislam/uptime-kuma/wiki/APIKeys" target="_blank">{{ $t("Learn More") }}</a>
</div> </div>
<Confirm ref="confirmPause" :yes-text="$t('Yes')" :no-text="$t('No')" @yes="disableKey"> <Confirm ref="confirmPause" :yes-text="$t('Yes')" :no-text="$t('No')" @yes="disableKey">

Loading…
Cancel
Save