You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
success/packages/excalidraw/locales
Ryan Di 971b4d4ae6
feat: text wrapping (#7999)
* resize single elements from the side

* fix lint

* do not resize texts from the sides (for we want to wrap/unwrap)

* omit side handles for frames too

* upgrade types

* enable resizing from the sides for multiple elements as well

* fix lint

* maintain aspect ratio when elements are not of the same angle

* lint

* always resize proportionally for multiple elements

* increase side resizing padding

* code cleanup

* adaptive handles

* do not resize for linear elements with only two points

* prioritize point dragging over edge resizing

* lint

* allow free resizing for multiple elements at degree 0

* always resize from the sides

* reduce hit threshold

* make small multiple elements movable

* lint

* show side handles on touch screen and mobile devices

* differentiate touchscreens

* keep proportional with text in multi-element resizing

* update snapshot

* update multi elements resizing logic

* lint

* reduce side resizing padding

* bound texts do not scale in normal cases

* lint

* test sides for texts

* wrap text

* do not update text size when changing its alignment

* keep text wrapped/unwrapped when editing

* change wrapped size to auto size from context menu

* fix test

* lint

* increase min width for wrapped texts

* wrap wrapped text in container

* unwrap when binding text to container

* rename `wrapped` to `autoResize`

* fix lint

* revert: use `center` align when wrapping text in container

* update snaps

* fix lint

* simplify logic on autoResize

* lint and test

* snapshots

* remove unnecessary code

* snapshots

* fix: defaults not set correctly

* tests for wrapping texts when resized

* tests for text wrapping when edited

* fix autoResize refactor

* include autoResize flag check

* refactor

* feat: rename action label & change contextmenu position

* fix: update version on `autoResize` action

* fix infinite loop when editing text in a container

* simplify

* always maintain `width` if `!autoResize`

* maintain `x` if `!autoResize`

* maintain `y` pos after fontSize change if `!autoResize`

* refactor

* when editing, do not wrap text in textWysiwyg

* simplify text editor

* make test more readable

* comment

* rename action to match file name

* revert function signature change

* only update  in app

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
9 months ago
..
README.md build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
ar-SA.json chore: Update translations from Crowdin (#7176) 1 year ago
az-AZ.json chore: Update translations from Crowdin (#7176) 1 year ago
bg-BG.json chore: Update translations from Crowdin (#7176) 1 year ago
bn-BD.json chore: Update translations from Crowdin (#7176) 1 year ago
ca-ES.json chore: Update translations from Crowdin (#7176) 1 year ago
cs-CZ.json chore: Update translations from Crowdin (#7176) 1 year ago
da-DK.json chore: Update translations from Crowdin (#7176) 1 year ago
de-DE.json chore: Update translations from Crowdin (#7176) 1 year ago
el-GR.json chore: Update translations from Crowdin (#7176) 1 year ago
en.json feat: text wrapping (#7999) 9 months ago
es-ES.json chore: Update translations from Crowdin (#7176) 1 year ago
eu-ES.json chore: Update translations from Crowdin (#7176) 1 year ago
fa-IR.json chore: Update translations from Crowdin (#7176) 1 year ago
fi-FI.json chore: Update translations from Crowdin (#7176) 1 year ago
fr-FR.json chore: Update translations from Crowdin (#7176) 1 year ago
gl-ES.json chore: Update translations from Crowdin (#7176) 1 year ago
he-IL.json chore: Update translations from Crowdin (#7176) 1 year ago
hi-IN.json chore: Update translations from Crowdin (#7176) 1 year ago
hu-HU.json chore: Update translations from Crowdin (#7176) 1 year ago
id-ID.json chore: Update translations from Crowdin (#7176) 1 year ago
it-IT.json chore: Update translations from Crowdin (#7176) 1 year ago
ja-JP.json chore: Update translations from Crowdin (#7176) 1 year ago
kaa.json chore: Update translations from Crowdin (#7176) 1 year ago
kab-KAB.json chore: Update translations from Crowdin (#7176) 1 year ago
kk-KZ.json chore: Update translations from Crowdin (#7176) 1 year ago
km-KH.json chore: Update translations from Crowdin (#7176) 1 year ago
ko-KR.json chore: Update translations from Crowdin (#7176) 1 year ago
ku-TR.json chore: Update translations from Crowdin (#7176) 1 year ago
lt-LT.json chore: Update translations from Crowdin (#7176) 1 year ago
lv-LV.json chore: Update translations from Crowdin (#7176) 1 year ago
mr-IN.json chore: Update translations from Crowdin (#7176) 1 year ago
my-MM.json chore: Update translations from Crowdin (#7176) 1 year ago
nb-NO.json chore: Update translations from Crowdin (#7176) 1 year ago
nl-NL.json chore: Update translations from Crowdin (#7176) 1 year ago
nn-NO.json chore: Update translations from Crowdin (#7176) 1 year ago
oc-FR.json chore: Update translations from Crowdin (#7176) 1 year ago
pa-IN.json chore: Update translations from Crowdin (#7176) 1 year ago
percentages.json chore: Update translations from Crowdin (#7176) 1 year ago
pl-PL.json chore: Update translations from Crowdin (#7176) 1 year ago
pt-BR.json chore: Update translations from Crowdin (#7176) 1 year ago
pt-PT.json chore: Update translations from Crowdin (#7176) 1 year ago
ro-RO.json chore: Update translations from Crowdin (#7176) 1 year ago
ru-RU.json chore: Update translations from Crowdin (#7176) 1 year ago
si-LK.json chore: Update translations from Crowdin (#7176) 1 year ago
sk-SK.json chore: Update translations from Crowdin (#7176) 1 year ago
sl-SI.json chore: Update translations from Crowdin (#7176) 1 year ago
sv-SE.json chore: Update translations from Crowdin (#7176) 1 year ago
ta-IN.json chore: Update translations from Crowdin (#7176) 1 year ago
th-TH.json chore: Update translations from Crowdin (#7176) 1 year ago
tr-TR.json chore: Update translations from Crowdin (#7176) 1 year ago
uk-UA.json chore: Update translations from Crowdin (#7176) 1 year ago
vi-VN.json chore: Update translations from Crowdin (#7176) 1 year ago
zh-CN.json chore: Update translations from Crowdin (#7176) 1 year ago
zh-HK.json chore: Update translations from Crowdin (#7176) 1 year ago
zh-TW.json chore: Update translations from Crowdin (#7176) 1 year ago

README.md

How to contribute

Please do not contribute changes directly to these files, as we manage them with Crowdin. Instead:

Completion of translation

percentages.json holds a percentage of completion for each language. We generate these automatically on build time when a new translation PR appears.

We only make a language available on the app if it exceeds a certain threshold of completion.