Added translations

ref #106
This commit is contained in:
2021-03-26 19:51:27 +01:00
parent 540304f947
commit 79c447b4c6
3 changed files with 846 additions and 838 deletions

View File

@@ -26,19 +26,19 @@ export function password_strong_enough_and_equal(password_change, password_confi
<div class="ml-4">
<ul class="list-disc font-medium tracking-wide text-red-500 text-xs">
{#if !strength.contains.includes('lowercase')}
<li>Must contain a lowercase letter!</li>
<li>{$_('must-contain-a-lowercase-letter')}</li>
{/if}
{#if !strength.contains.includes('uppercase')}
<li>Must contain a uppercase letter!</li>
<li>{$_('must-contain-a-uppercase-letter')}</li>
{/if}
{#if !strength.contains.includes('number')}
<li>Must contain a number letter!</li>
<li>{$_('must-contain-a-number')}</li>
{/if}
{#if !(strength.length > 9)}
<li>Must be at least 10 characters long!</li>
<li>{$_('must-be-at-least-10-characters-long')}</li>
{/if}
{#if !(passwords_match == true)}
<li>Passwords don't match!</li>
<li>{$_('passwords-dont-match')}</li>
{/if}
</ul>
</div>