mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-09 09:41:37 +00:00
feat? initial translation
This commit is contained in:
parent
51e9275ba6
commit
cdb27d79da
3 changed files with 50 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import LL from '$i18n/i18n-svelte';
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import Submit from '$lib/components/button/Submit.svelte';
|
import Submit from '$lib/components/button/Submit.svelte';
|
||||||
|
|
||||||
|
|
@ -19,10 +20,9 @@
|
||||||
<SplitLayout>
|
<SplitLayout>
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<SchoolBadge />
|
<SchoolBadge />
|
||||||
<h1 class="text-sspsBlue mt-8 text-4xl font-semibold">Přihlášení</h1>
|
<h1 class="text-sspsBlue mt-8 text-4xl font-semibold">{$LL.candidate.auth.login.title()}</h1>
|
||||||
<p class="text-sspsGray my-8 text-center font-light">
|
<p class="text-sspsGray my-8 text-center font-light">
|
||||||
Evidenční číslo je jedinečné číslo přidělené uchazeči, které slouží k jeho identifikaci<br /> a
|
{$LL.candidate.auth.login.description()}
|
||||||
přihlášení se do systému.
|
|
||||||
</p>
|
</p>
|
||||||
<div class="w-4/5 lg:w-3/5">
|
<div class="w-4/5 lg:w-3/5">
|
||||||
<TextField bind:value={applicationValue} placeholder="Ev. číslo" type="number" />
|
<TextField bind:value={applicationValue} placeholder="Ev. číslo" type="number" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,15 @@
|
||||||
import type { BaseTranslation } from '../i18n-types.js'
|
import type { BaseTranslation } from '../i18n-types.js';
|
||||||
|
|
||||||
const cs: BaseTranslation = {
|
const cs: BaseTranslation = {
|
||||||
}
|
candidate: {
|
||||||
|
auth: {
|
||||||
|
login: {
|
||||||
|
title: 'Přihlášení',
|
||||||
|
description:
|
||||||
|
'Evidenční číslo je jedinečné číslo přidělené uchazeči, které slouží k jeho identifikaci\napřihlášení se do systému.'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
export default cs
|
export default cs;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
|
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import type { BaseTranslation as BaseTranslationType } from 'typesafe-i18n'
|
import type { BaseTranslation as BaseTranslationType, LocalizedString } from 'typesafe-i18n'
|
||||||
|
|
||||||
export type BaseTranslation = BaseTranslationType
|
export type BaseTranslation = BaseTranslationType
|
||||||
export type BaseLocale = 'cs'
|
export type BaseLocale = 'cs'
|
||||||
|
|
@ -12,8 +12,40 @@ export type Translation = RootTranslation
|
||||||
|
|
||||||
export type Translations = RootTranslation
|
export type Translations = RootTranslation
|
||||||
|
|
||||||
type RootTranslation = {}
|
type RootTranslation = {
|
||||||
|
candidate: {
|
||||||
|
auth: {
|
||||||
|
login: {
|
||||||
|
/**
|
||||||
|
* Přihlášení
|
||||||
|
*/
|
||||||
|
title: string
|
||||||
|
/**
|
||||||
|
* Evidenční číslo je jedinečné číslo přidělené uchazeči, které slouží k jeho identifikaci
|
||||||
|
apřihlášení se do systému.
|
||||||
|
*/
|
||||||
|
description: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type TranslationFunctions = {}
|
export type TranslationFunctions = {
|
||||||
|
candidate: {
|
||||||
|
auth: {
|
||||||
|
login: {
|
||||||
|
/**
|
||||||
|
* Přihlášení
|
||||||
|
*/
|
||||||
|
title: () => LocalizedString
|
||||||
|
/**
|
||||||
|
* Evidenční číslo je jedinečné číslo přidělené uchazeči, které slouží k jeho identifikaci
|
||||||
|
apřihlášení se do systému.
|
||||||
|
*/
|
||||||
|
description: () => LocalizedString
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type Formatters = {}
|
export type Formatters = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue