And with working i18n 🌍

ref #48
This commit is contained in:
2021-02-27 19:33:57 +01:00
parent c89caf7855
commit e07d1e42e2
3 changed files with 623 additions and 618 deletions

View File

@@ -232,8 +232,7 @@
aria-orientation="vertical"
aria-labelledby="options-menu">
<span
class="block w-full text-left px-4 py-2 text-sm text-gray-700">Select
language</span>
class="block w-full text-left px-4 py-2 text-sm text-gray-700">{$_('select-language')}</span>
<button
on:click={() => {
generateSponsoringContract('de');
@@ -241,7 +240,7 @@
type="submit"
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
role="menuitem">
German
{$_('german')}
</button>
<button
on:click={() => {
@@ -250,7 +249,7 @@
type="submit"
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
role="menuitem">
English
{$_('english')}
</button>
</div>
</div>