Commit graph

21 commits

Author SHA1 Message Date
ovari
d808412eb9
Update the hungarian translation (#105) 2020-07-07 12:04:11 +02:00
Ophir LOJKINE
f81e72d9d9 Update the software license in translations
WBO switched from GPL to AGPL two years ago already.
2020-07-07 09:50:24 +02:00
Ophir LOJKINE
60a16a1719 fix french translation 2020-07-07 09:48:07 +02:00
ovari
04c9206776
Default en then alphabetically, hu locale, tidy-ups (#103)
* Update translations.json

Sort locale alphabetically

* Update translations.json

Default language `en` first, then alphabetically.

* Update translations.json

hu (Hungarian - magyar) locale

* Update translations.json

`en` does not have a space before the exclamation mark (!) and a few other tidy-ups.

* Update translations.json
2020-07-07 09:41:31 +02:00
Ophir LOJKINE
50da719bda
Move (#97)
* Add mover skeleton

Atm it is just the eraser with new icons and renamed variables

* The mover not detect the object to move

* We can move ellipses and rectangles

* The mover now moves all types of objects

* Add the move everything functionality

* Aesthetic changes

* Replace the use of const and let with classic var

* Undo few commits

* Start the transform-translate implementation

* Mover now moves with transform translate

* Put the function to get the translation matrix in the Tools

* Shapes (ellipse, line, pencil, rect, and text) now properly load translate coords

* Add the transform-translate to the createSVG functions

* Done movement using transform-translate

* Fix parenthesization bug in the SVG create

* Fix comment about mover states

* Undo translation loading from Ellipse, Mover, Pencil, and Text tools

* Makes the board send update message to the mover as needed

* Remove the old code from the line tool too

* Simplify the mover tool

See #86

* update the mover icon

* Merge the mover and the hand tools

* Improve preview for pre-rendered elements

* v1.6.0

Co-authored-by: Paolo Bolzoni <paolo.bolzoni1@studenti.unipr.it>
2020-06-21 23:48:32 +02:00
ophir
3b9a2e7259 Fix translations for "white-out" in es and it 2020-06-21 13:08:39 +02:00
ophir
c516fa448c add translations for grid 2020-06-21 13:06:38 +02:00
ophir
038e6d5259 Added "free online whiteboard" to the main title 2020-06-21 12:56:31 +02:00
ophir
d83461898c add an italian translation
Improve the spanish translation and
2020-06-21 12:46:40 +02:00
ophir
9b4649e58d Add a spanish translation
Thanks to @beccobunsen

See #94
2020-06-20 16:48:49 +02:00
ophir
b77d26a9e8 Add a square as a secondary tool for the rectangle 2020-05-14 00:02:14 +02:00
finnboeger
740246528f
Add a whiteout tool as the secondary function of the pencil tool (#47)
* added whiteout icon made by Freeplk on flaticon.com

* added whiteout fluid icon (public domain).

* Added whiteout tool as secondary function of pencil tool.

Co-authored-by: Robert Beach <rdbeach@gmail.com>

* shrink icon width using stroke

* shrink whiteout icon properly

* shrink whiteout fluid icon

* reduce number of allowed messages

* simplify

* remove layer code

* renmove show/hide marker code

* change white to #ffffff

* make toggle function compatible with current implementation

* Revert changes unrelated to the whiteout tool

* Refactor secondary tool logic between ellipse and pencil

* Add translations for the whiteout pen

* Fix tests

Co-authored-by: Robert Beach <rdbeach@gmail.com>
Co-authored-by: ophir <pere.jobs@gmail.com>

(@rdbeach)
2020-05-13 22:15:11 +02:00
finnboeger
3c453e15c2
Add an ellipse and circle tool (#40)
* Added Circle tool as alternative function of Rectangle tool

* change toggle function to work with new icon structure and toggle name

* split circle into separate tool and added ellipse as secondary function. Also added server side rendering for svg export

* change ellipse to be default

* change circle behaviour to same as inkscape

* toggle to alternative while holding shift

* append to drawing area instead of svg root

* don't update shape after it has been drawn

* Stop logging all rectangles

* Remove es6

* Remove more es6

* Fix a few bugs with circle to ellipse toggling

* Calculate the circle params at creation time, not at rendering time

* Make the behavior of the shift key consistent

When shift is pressed, the current function is reversed: the circle tool draws an ellipse and the ellipse tool draws a circle.
This makes the tool easier to grasp.

* Add required translations

* german translation

* Update the shape immediately when pressing shift

* Fix server-side ellipse rendering

* Add a test for the circle tool

Co-authored-by: Robert Beach <rdbeach@gmail.com>
Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2020-05-03 17:53:44 +02:00
finnboeger
b9605acb87
Add option to change pen size with the scroll wheel (#54)
* add option to change pen size with the scroll wheel

* Update the cursor size immediately when changing the size

* Add a tooltip with the size change shortcut

Co-authored-by: ophir <pere.jobs@gmail.com>
2020-05-02 16:27:28 +02:00
finnboeger
70f45f0693
add a german translation (#62) 2020-05-02 16:00:05 +02:00
Takuya Arita
6b5760ed8e
Add Japanese translation (#43)
* Add Japanese translation

* Update Japanese translation.
2020-04-27 19:24:40 +02:00
ophir
96fa16559e Index page translations 2020-04-26 17:59:41 +02:00
ophir
ebaaacde35 Improved i18n system 2020-04-22 10:14:12 +02:00
Ophir LOJKINE
45cf1e1406 Improve internationalization 2019-06-27 15:44:16 +02:00
Ophir LOJKINE
e038527115 Add loading message 2019-06-25 13:28:02 +02:00
Ophir LOJKINE
3522c52d36 Server-side translations 2019-06-23 09:47:01 +02:00