Added language keys🌎

ref #92
This commit is contained in:
2021-03-18 17:17:15 +01:00
parent 8252a35771
commit 60aa919b14
6 changed files with 368 additions and 353 deletions

View File

@@ -45,7 +45,7 @@
if (processed_last_submit === true) {
processed_last_submit = false;
const toast = Toastify({
text: "Adding Scan",
text: $_('adding-scan'),
duration: -1,
}).showToast();
let postdata = {
@@ -59,7 +59,7 @@
modal_open = false;
//
Toastify({
text: "Scan added",
text: $_('scan-added'),
duration: 500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast();
@@ -118,11 +118,11 @@
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Create a new scan (fixed only)
{$_('create-a-new-scan-fixed-only')}
</h3>
<div class="mt-2 mb-6">
<p class="text-sm text-gray-500">
Please provide the nessecary information to create a new scan.
{$_('please-provide-the-nessecary-information-to-create-a-new-scan')}
</p>
</div>
<div class="grid grid-cols-6 gap-6">
@@ -163,7 +163,7 @@
{#if !is_distance_valid}
<span
class="flex items-center font-medium tracking-wide text-red-500 text-xs mt-1 ml-1">
The scan's distance must be greater than 0m
{$_('the-scans-distance-must-be-greater-than-0m')}
</span>
{/if}
</div>