feat: add translation (#704)

* feat: add translation

* modal, left menu translation

* primary tools translation

* render with intl provider for testing

restore file

* french translation done

* context menu translation and test

* added italian

* Add menu to select language

* translation for the word language

* bump dev deps

Bump react on www

* Fix types

* update dependencies

* pre-release

* Delete lask.config.json

Co-authored-by: Enrico <franciscono.enry@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
Judicael 2022-06-09 17:33:35 +03:00 committed by GitHub
parent 7c08f2f5b6
commit d919bd273e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 1387 additions and 694 deletions

View file

@ -1,7 +1,7 @@
import { Tldraw, TldrawApp, TldrawProps, useFileSystem } from '@tldraw/tldraw'
import { useAccountHandlers } from 'hooks/useAccountHandlers'
import { useUploadAssets } from 'hooks/useUploadAssets'
import React, { FC } from 'react'
import * as React from 'react'
import * as gtag from 'utils/gtag'
declare const window: Window & { app: TldrawApp }
@ -12,7 +12,7 @@ interface EditorProps {
isSponsor?: boolean
}
const Editor: FC<EditorProps & Partial<TldrawProps>> = ({
const Editor: React.FC<EditorProps & Partial<TldrawProps>> = ({
id = 'home',
isUser = false,
isSponsor = false,