i18n russian (#1049)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-02-23 23:10:11 +07:00
committed by GitHub
parent 7a8f581741
commit 3e4188dac3
125 changed files with 1055 additions and 329 deletions
@@ -14,13 +14,14 @@
-->
<script lang="ts">
import setting from '@anticrm/setting'
import presentation from '@anticrm/presentation'
import { Button, EditBox, Icon, Label } from '@anticrm/ui'
import { changePassword } from '@anticrm/login-resources'
let oldPassword: string = ''
let password: string = ''
let password2: string = ''
let label = setting.string.Save
let label = presentation.string.Save
let saved = false
$: disabled =
@@ -34,7 +35,7 @@
label = setting.string.Saved
} catch (e) {
console.log(e)
label = setting.string.Save
label = presentation.string.Save
saved = false
}
}
@@ -47,10 +47,10 @@
</div>
<div class="flex-grow flex-col">
<div class="fs-title overflow-label">
{f.name}
<Label label={f.name} />
</div>
<div class="text-sm content-dark-color overflow-label">
{f.description}
<Label label={f.description} />
</div>
</div>
{#if f._id === folder?._id}
@@ -15,7 +15,7 @@
-->
<script lang="ts">
import type { Ref } from '@anticrm/core'
import type { Doc, Ref, Space } from '@anticrm/core'
import { AttributeEditor, createQuery, getClient } from '@anticrm/presentation'
import setting from '@anticrm/setting'
import task, { genRanks, KanbanTemplate, KanbanTemplateSpace } from '@anticrm/task'
@@ -29,7 +29,7 @@
let templateMap = new Map<Ref<KanbanTemplate>, KanbanTemplate>()
const templatesQ = createQuery()
$: if (folder !== undefined) {
templatesQ.query(task.class.KanbanTemplate, { space: folder._id }, (result) => {
templatesQ.query(task.class.KanbanTemplate, { space: folder._id as Ref<Doc> as Ref<Space> }, (result) => {
templates = result
})
}
@@ -50,7 +50,7 @@
const space = folder._id
const template = await client.createDoc(task.class.KanbanTemplate, space, {
const template = await client.createDoc(task.class.KanbanTemplate, space as Ref<Doc> as Ref<Space>, {
doneStatesC: 0,
statesC: 0,
title: 'New Template'
@@ -73,7 +73,7 @@
await Promise.all(doneStates.map(async (ds) => {
await client.addCollection(
ds.class,
space,
space as Ref<Doc> as Ref<Space>,
template,
task.class.KanbanTemplate,
'doneStatesC',