Merge branch 'feature/69-translation-keys' of https://git.odit.services/lfk/frontend into feature/69-translation-keys

This commit is contained in:
2021-02-18 18:11:06 +01:00
7 changed files with 14 additions and 41 deletions

View File

@@ -56,7 +56,7 @@
{$_('application_name')}
</p>
<p class="mt-6 text-sm text-center text-gray-900">
{$_('forgot_password?')}
{$_('forgot_password')}
</p>
<p class="mt-2 mb-2 text-sm text-center text-gray-900">
{$_('dont-panic-were-resetting-it')}

View File

@@ -136,7 +136,7 @@
<a
href="/forgot_password"
class="block w-full text-center py-2 px-3 border border-gray-300 rounded-md font-medium hover:border-gray-400 focus:outline-none focus:border-gray-400 sm:text-sm">
{$_('forgot_password?')}
{$_('forgot_password')}
</a>
</div>
</div>

View File

@@ -6,6 +6,9 @@
let html = "";
async function load() {
let md = await fetch("/imprint_" + getLocaleFromNavigator() + ".md");
if((await md.text()).includes("<meta")){
md.ok=false
}
if (!md.ok) {
md = await fetch("/imprint_en.md");
}

View File

@@ -6,6 +6,9 @@
let html = "";
async function load() {
let md = await fetch("/privacy_" + getLocaleFromNavigator() + ".md");
if((await md.text()).includes("<meta")){
md.ok=false
}
if (!md.ok) {
md = await fetch("/privacy_en.md");
}