mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-09 09:41:37 +00:00
feat: portfolio letter upload card translation
This commit is contained in:
parent
dfebebae47
commit
1d53c045ed
3 changed files with 28 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
<script lang="ts">
|
||||
import LL from '$i18n/i18n-svelte';
|
||||
|
||||
import type { ApiError } from '$lib/@api';
|
||||
import { fetchSubmProgress } from '$lib/stores/portfolio';
|
||||
import { apiDeletePortfolioLetter, apiUploadPortfolioLetter } from '../../@api/candidate';
|
||||
|
|
@ -28,9 +30,9 @@
|
|||
{error}
|
||||
on:filedrop={(e) => onFileDrop(e.detail)}
|
||||
on:delete={onDelete}
|
||||
title="Portfolio"
|
||||
title={$LL.components.dashboard.portfolioLetterUploadCard.title()}
|
||||
filetype="PDF"
|
||||
filesize={10}
|
||||
fileType={2}
|
||||
placeholder="svoje portfolio"
|
||||
placeholder={$LL.components.dashboard.portfolioLetterUploadCard.placeholder()}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -74,6 +74,10 @@ const cs: BaseTranslation = {
|
|||
title: 'Motivační dopis',
|
||||
placeholder: 'svůj motivanční dopis'
|
||||
},
|
||||
portfolioLetterUploadCard: {
|
||||
title: 'Portfolio',
|
||||
placeholder: 'své portfolio'
|
||||
},
|
||||
dashboardUploadCard: {
|
||||
dropHere: 'Sem přetáhněte,',
|
||||
orUpload: 'Nebo nahrajte {placeholder:string}',
|
||||
|
|
|
|||
|
|
@ -161,6 +161,16 @@ type RootTranslation = {
|
|||
*/
|
||||
placeholder: string
|
||||
}
|
||||
portfolioLetterUploadCard: {
|
||||
/**
|
||||
* Portfolio
|
||||
*/
|
||||
title: string
|
||||
/**
|
||||
* své portfolio
|
||||
*/
|
||||
placeholder: string
|
||||
}
|
||||
dashboardUploadCard: {
|
||||
/**
|
||||
* Sem přetáhněte,
|
||||
|
|
@ -519,6 +529,16 @@ export type TranslationFunctions = {
|
|||
*/
|
||||
placeholder: () => LocalizedString
|
||||
}
|
||||
portfolioLetterUploadCard: {
|
||||
/**
|
||||
* Portfolio
|
||||
*/
|
||||
title: () => LocalizedString
|
||||
/**
|
||||
* své portfolio
|
||||
*/
|
||||
placeholder: () => LocalizedString
|
||||
}
|
||||
dashboardUploadCard: {
|
||||
/**
|
||||
* Sem přetáhněte,
|
||||
|
|
|
|||
Loading…
Reference in a new issue