mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-24 02:25:00 +02:00
i18n russian (#1049)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -14,14 +14,13 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import type { Ref, Space } from '@anticrm/core'
|
||||
import core, { Class, Doc, WithLookup } from '@anticrm/core'
|
||||
import { createQuery, getClient } from '@anticrm/presentation'
|
||||
import type { Ref,Space } from '@anticrm/core'
|
||||
import core,{ WithLookup } from '@anticrm/core'
|
||||
import presentation,{ createQuery,getClient } from '@anticrm/presentation'
|
||||
import type { AnyComponent } from '@anticrm/ui'
|
||||
import { Button, Icon, SearchEdit, showPopup, Tooltip } from '@anticrm/ui'
|
||||
import { Button,Icon,SearchEdit,showPopup,Tooltip } from '@anticrm/ui'
|
||||
import { Viewlet } from '@anticrm/view'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import workbench from '../plugin'
|
||||
import { classIcon } from '../utils'
|
||||
import Header from './Header.svelte'
|
||||
|
||||
@@ -73,7 +72,7 @@
|
||||
dispatch('search', search)
|
||||
}}/>
|
||||
{#if createItemDialog}
|
||||
<Button label={workbench.string.Create} primary={true} size={'small'} on:click={(ev) => showCreateDialog(ev)}/>
|
||||
<Button label={presentation.string.Create} primary={true} size={'small'} on:click={(ev) => showCreateDialog(ev)}/>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
import type { IntlString } from '@anticrm/platform'
|
||||
import { createQuery, getClient } from '@anticrm/presentation'
|
||||
import { EditBox, Grid, Icon, IconClose, Label, ActionIcon, Scroller } from '@anticrm/ui'
|
||||
import LangPopup from '@anticrm/ui/src/components/internal/LangPopup.svelte'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import workbench from '../../plugin'
|
||||
|
||||
export let _id: Ref<Space>
|
||||
export let _class: Ref<Class<Space>>
|
||||
@@ -38,7 +40,7 @@
|
||||
const query = createQuery()
|
||||
$: query.query(core.class.Space, { _id }, result => { space = result[0] })
|
||||
|
||||
const tabs: IntlString[] = ['General' as IntlString, 'Members' as IntlString]
|
||||
const tabs: IntlString[] = [workbench.string.General, workbench.string.Members]
|
||||
let selected = 0
|
||||
|
||||
function onNameChange (ev: Event) {
|
||||
@@ -81,7 +83,7 @@
|
||||
</Grid>
|
||||
{/if}
|
||||
{:else}
|
||||
Members and other
|
||||
<Label label={workbench.string.Members} />
|
||||
{/if}
|
||||
</Scroller>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import { getClient } from '@anticrm/presentation'
|
||||
import { Action, IconAdd, IconEdit, showPanel, showPopup } from '@anticrm/ui'
|
||||
import { getActions as getContributedActions } from '@anticrm/view-resources'
|
||||
import type { SpacesNavModel } from '@anticrm/workbench'
|
||||
import { SpacesNavModel } from '@anticrm/workbench'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import plugin from '../../plugin'
|
||||
import { classIcon } from '../../utils'
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
const editSpace: Action = {
|
||||
label: 'Open' as IntlString,
|
||||
label: plugin.string.Open,
|
||||
icon: IconEdit,
|
||||
action: async (_id: Ref<Doc>): Promise<void> => {
|
||||
showPanel(model.component ?? plugin.component.SpacePanel, _id, model.spaceClass, 'right')
|
||||
|
||||
Reference in New Issue
Block a user