mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 19:57:43 +02:00
i18n russian (#1049)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@anticrm/presentation'
|
||||
import type { Issue, Task } from '@anticrm/task'
|
||||
import { Icon } from '@anticrm/ui'
|
||||
import { Icon, Label } from '@anticrm/ui'
|
||||
import task from '../plugin'
|
||||
|
||||
export let value: Task
|
||||
|
||||
const client = getClient()
|
||||
const shortLabel = client.getHierarchy().getClass(value._class).shortLabel?.toUpperCase()
|
||||
const shortLabel = client.getHierarchy().getClass(value._class).shortLabel
|
||||
|
||||
let name: string | undefined = undefined
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class='flex item'>
|
||||
<Icon icon={task.icon.Task} size={'large'} />
|
||||
<div class='ml-2'>
|
||||
{shortLabel}-{value.number}
|
||||
{#if shortLabel}<Label label={shortLabel} />-{/if}{value.number}
|
||||
</div>
|
||||
{#if name}
|
||||
<div class='ml-1'>{name}</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@anticrm/presentation'
|
||||
import type { Issue } from '@anticrm/task'
|
||||
import { Icon, showPanel } from '@anticrm/ui'
|
||||
import { Icon, Label, showPanel } from '@anticrm/ui'
|
||||
import view from '@anticrm/view'
|
||||
import task from '../plugin'
|
||||
|
||||
@@ -31,5 +31,5 @@
|
||||
</script>
|
||||
|
||||
<div class="sm-tool-icon" on:click={show}>
|
||||
<span class="icon"><Icon icon={task.icon.Task} size={'small'} /></span>{shortLabel}-{value.number}
|
||||
<span class="icon"><Icon icon={task.icon.Task} size={'small'} /></span>{#if shortLabel}<Label label={shortLabel} />-{/if}-{value.number}
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import type { Ref } from '@anticrm/core'
|
||||
import type { Doc, Ref, Space } from '@anticrm/core'
|
||||
import { createQuery } from '@anticrm/presentation'
|
||||
import type { KanbanTemplate, KanbanTemplateSpace } from '@anticrm/task'
|
||||
import task from '@anticrm/task'
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
let templates: KanbanTemplate[] = []
|
||||
const templatesQ = createQuery()
|
||||
$: templatesQ.query(task.class.KanbanTemplate, { space: { $in: folders } }, (result) => { templates = result })
|
||||
$: templatesQ.query(task.class.KanbanTemplate, { space: { $in: (folders as Ref<Doc>[] as Ref<Space>[]) } }, (result) => { templates = result })
|
||||
|
||||
let items: DropdownTextItem[] = []
|
||||
$: items = templates.map(x => ({ id: x._id, label: x.title }))
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import core from '@anticrm/core'
|
||||
import { createQuery, getClient, MessageBox } from '@anticrm/presentation'
|
||||
import type { Kanban, SpaceWithStates, State } from '@anticrm/task'
|
||||
import task from '@anticrm/task'
|
||||
import task from '../../plugin'
|
||||
import KanbanEditor from '../kanban/KanbanEditor.svelte'
|
||||
import { Icon, IconClose, Label, showPopup, ActionIcon, ScrollBox } from '@anticrm/ui'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
@@ -81,7 +81,7 @@
|
||||
<div class="ac-header__wrap-title">
|
||||
<div class="ac-header__icon"><Icon icon={task.icon.ManageStatuses} size={'small'} /></div>
|
||||
<span class="ac-header__title">
|
||||
Manage application statuses within
|
||||
<Label label={task.string.ManageStatusesWithin} />
|
||||
{#if spaceClassInstance}<Label label={spaceClassInstance?.label}/>{:else}...{/if}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user