🚑 Fixed wrong translation keys in login.svelte

This commit is contained in:
Mawoka
2022-03-28 16:52:42 +02:00
parent 2b9e185b67
commit 20b4e46020
+7 -7
View File
@@ -104,13 +104,13 @@
name="email" name="email"
type="email" type="email"
class="w-full peer bg-transparent h-10 rounded-lg text-gray-700 dark:text-white placeholder-transparent ring-2 px-2 ring-gray-500 focus:ring-sky-600 focus:outline-none focus:border-rose-600" class="w-full peer bg-transparent h-10 rounded-lg text-gray-700 dark:text-white placeholder-transparent ring-2 px-2 ring-gray-500 focus:ring-sky-600 focus:outline-none focus:border-rose-600"
placeholder={$t('register_page.email')} placeholder={$t('words.email')}
/> />
<label <label
for="email" for="email"
class="absolute cursor-text left-0 -top-3 text-sm text-gray-700 dark:text-white bg-inherit mx-1 px-1 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-500 peer-placeholder-shown:top-2 peer-focus:-top-3 peer-focus:text-sky-600 peer-focus:text-sm transition-all" class="absolute cursor-text left-0 -top-3 text-sm text-gray-700 dark:text-white bg-inherit mx-1 px-1 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-500 peer-placeholder-shown:top-2 peer-focus:-top-3 peer-focus:text-sky-600 peer-focus:text-sm transition-all"
> >
{$t('register_page.email')} {$t('words.email')}
</label> </label>
</div> </div>
</div> </div>
@@ -122,13 +122,13 @@
type="password" type="password"
bind:value={loginData.password} bind:value={loginData.password}
class="w-full peer bg-transparent h-10 rounded-lg text-gray-700 dark:text-white placeholder-transparent ring-2 px-2 ring-gray-500 focus:ring-sky-600 focus:outline-none focus:border-rose-600" class="w-full peer bg-transparent h-10 rounded-lg text-gray-700 dark:text-white placeholder-transparent ring-2 px-2 ring-gray-500 focus:ring-sky-600 focus:outline-none focus:border-rose-600"
placeholder={$t('register_page.password')} placeholder={$t('words.password')}
/> />
<label <label
for="password" for="password"
class="absolute cursor-text left-0 -top-3 text-sm text-gray-500 bg-inherit mx-1 px-1 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-500 peer-placeholder-shown:top-2 peer-focus:-top-3 peer-focus:text-sky-600 peer-focus:text-sm transition-all" class="absolute cursor-text left-0 -top-3 text-sm text-gray-500 bg-inherit mx-1 px-1 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-500 peer-placeholder-shown:top-2 peer-focus:-top-3 peer-focus:text-sky-600 peer-focus:text-sm transition-all"
> >
{$t('register_page.password')} {$t('words.password')}
</label> </label>
</div> </div>
</div> </div>
@@ -160,7 +160,7 @@
/> />
</svg> </svg>
{:else} {:else}
{$t('register_page.login')} {$t('words.login')}
{/if} {/if}
</button> </button>
</div> </div>
@@ -178,7 +178,7 @@
<a <a
href="/account/register" href="/account/register"
class="mx-2 text-sm font-bold text-blue-500 dark:text-blue-400 hover:underline" class="mx-2 text-sm font-bold text-blue-500 dark:text-blue-400 hover:underline"
>{$t('register_page.register')}</a >{$t('words.register')}</a
> >
</div> </div>
</div> </div>
@@ -309,7 +309,7 @@
} }
}} }}
class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
>{$t('create_page.close')} >{$t('words.close')}
</button> </button>
</div> </div>
</div> </div>