mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-28 03:10:17 +00:00
Fix date picker translation (#2883)
Signed-off-by: muhtimur <timur.mukhamedishin@xored.com>
This commit is contained in:
parent
585d82320e
commit
a49792b731
@ -41,6 +41,10 @@
|
|||||||
"HoursLabel": "Hours",
|
"HoursLabel": "Hours",
|
||||||
"Back": "Back",
|
"Back": "Back",
|
||||||
"Next": "Next",
|
"Next": "Next",
|
||||||
"DropdownDefaultLabel": "Select Item"
|
"DropdownDefaultLabel": "Select Item",
|
||||||
|
"DD": "DD",
|
||||||
|
"MM": "MM",
|
||||||
|
"YYYY": "YYYY",
|
||||||
|
"HH": "HH"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
"HoursLabel": "Часы",
|
"HoursLabel": "Часы",
|
||||||
"Back": "Назад",
|
"Back": "Назад",
|
||||||
"Next": "Вперед",
|
"Next": "Вперед",
|
||||||
"DropdownDefaultLabel": "Выберите Элемент"
|
"DropdownDefaultLabel": "Выберите Элемент",
|
||||||
|
"DD": "ДД",
|
||||||
|
"MM": "ММ",
|
||||||
|
"YYYY": "ГГГГ",
|
||||||
|
"HH": "ЧЧ"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -258,7 +258,7 @@
|
|||||||
>
|
>
|
||||||
{#if edits[0].value > -1}
|
{#if edits[0].value > -1}
|
||||||
{edits[0].value.toString().padStart(2, '0')}
|
{edits[0].value.toString().padStart(2, '0')}
|
||||||
{:else}ДД{/if}
|
{:else}<Label label={ui.string.DD} />{/if}
|
||||||
</span>
|
</span>
|
||||||
<span class="separator">.</span>
|
<span class="separator">.</span>
|
||||||
<span
|
<span
|
||||||
@ -271,7 +271,7 @@
|
|||||||
>
|
>
|
||||||
{#if edits[1].value > -1}
|
{#if edits[1].value > -1}
|
||||||
{edits[1].value.toString().padStart(2, '0')}
|
{edits[1].value.toString().padStart(2, '0')}
|
||||||
{:else}ММ{/if}
|
{:else}<Label label={ui.string.MM} />{/if}
|
||||||
</span>
|
</span>
|
||||||
<span class="separator">.</span>
|
<span class="separator">.</span>
|
||||||
<span
|
<span
|
||||||
@ -284,7 +284,7 @@
|
|||||||
>
|
>
|
||||||
{#if edits[2].value > -1}
|
{#if edits[2].value > -1}
|
||||||
{edits[2].value.toString().padStart(4, '0')}
|
{edits[2].value.toString().padStart(4, '0')}
|
||||||
{:else}ГГГГ{/if}
|
{:else}<Label label={ui.string.YYYY} />{/if}
|
||||||
</span>
|
</span>
|
||||||
{#if withTime}
|
{#if withTime}
|
||||||
<div class="time-divider" />
|
<div class="time-divider" />
|
||||||
@ -298,7 +298,7 @@
|
|||||||
>
|
>
|
||||||
{#if edits[3].value > -1}
|
{#if edits[3].value > -1}
|
||||||
{edits[3].value.toString().padStart(2, '0')}
|
{edits[3].value.toString().padStart(2, '0')}
|
||||||
{:else}ЧЧ{/if}
|
{:else}<Label label={ui.string.HH} />{/if}
|
||||||
</span>
|
</span>
|
||||||
<span class="separator">:</span>
|
<span class="separator">:</span>
|
||||||
<span
|
<span
|
||||||
@ -311,7 +311,7 @@
|
|||||||
>
|
>
|
||||||
{#if edits[4].value > -1}
|
{#if edits[4].value > -1}
|
||||||
{edits[4].value.toString().padStart(2, '0')}
|
{edits[4].value.toString().padStart(2, '0')}
|
||||||
{:else}ММ{/if}
|
{:else}<Label label={ui.string.MM} />{/if}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
@ -352,7 +352,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<Button kind={'primary'} label={ui.string.SaveDueDate} size={'x-large'} width={'100%'} on:click={closeDP} />
|
<Button kind={'primary'} label={ui.string.Save} size={'x-large'} width={'100%'} on:click={closeDP} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -66,7 +66,11 @@ export const uis = plugin(uiId, {
|
|||||||
HoursLabel: '' as IntlString,
|
HoursLabel: '' as IntlString,
|
||||||
Back: '' as IntlString,
|
Back: '' as IntlString,
|
||||||
Next: '' as IntlString,
|
Next: '' as IntlString,
|
||||||
DropdownDefaultLabel: '' as IntlString
|
DropdownDefaultLabel: '' as IntlString,
|
||||||
|
DD: '' as IntlString,
|
||||||
|
MM: '' as IntlString,
|
||||||
|
YYYY: '' as IntlString,
|
||||||
|
HH: '' as IntlString
|
||||||
},
|
},
|
||||||
metadata: {
|
metadata: {
|
||||||
DefaultApplication: '' as Metadata<AnyComponent>,
|
DefaultApplication: '' as Metadata<AnyComponent>,
|
||||||
|
Loading…
Reference in New Issue
Block a user