Currently translated at 31.8% (118 of 370 strings)
Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I543e54c2e3a9985d415d389265a2d510a2553d52
(Some of our tooltip() calls are conditional on
window.mode.isDesktop(), others on !window.ThisIsAMobileApp. Which is
more correct?)
Fixes https://github.com/CollaboraOnline/online/issues/1461
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I98cd4c5f0cd05b78236c6722104cd1fe03f3e70f
For calc we have 5 svg nodes inside the overlay pane (fixed, top-left,
top-right, bottom-left, bottom-right). The shape selections will be in
all panes except the 'fixed' pane. The 'fixed' was used to contain the
split/freeze lines but that got moved to canvas. Before this patch the
'fixed' svg was getting selected by the selector...
'.leaflet-pane.leaflet-overlay-pane svg'
...which is empty in this case. Lets always select the bottom-right one
which is covers the whole view area when there aren't any active freezes.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iea2bbeff3c492a82e75ecdeb1aa70fa3c33f3426
but in a dedicated div inside the canvas container div, covering the
canvas.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ie43a4cb98c9cdb7e3ca81faa78bcc2419fa90a32
In canvas section based overlay objects the coordinates are stored in
core pixels and they need to get updated and redrawn every time zoom is
changed. Both Writer and Impress are also using canvas based overlays
for selections and will soon be using it for the rest.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iecd5bf8c875d4c4a6f8d055f2abccfeedd2cae8a
This can optionally contain corepixel position for now.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I3b9e369ee9c3b58070f2c16b0c6cf0dd8f0df87f
For this CPath needs capability to add handler(s) for arbitrary event
types. This achieved by introducing a base class CEventsHandler which
supports leaflet like functionality.
"""
this.on('swipe', this.onSwip)
this.off('popupclosed', this.popupClosed)
"""
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia5d017096b98383491a25eec7353625a51703611
This fixes incorrect header selections after zoom.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id68768baaddf93e48a7ed767da0f6be98f43f84f
At least in case of CSplitterLine it is needed to adjust the coordinates
when map size changes.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8a17fae4b662501da753f73aafe1443f6c3c28e8
Fixed overlay objects are much easier to animate. Don't use the regular
transformation for these. Use a scaling transformation instead.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5392c850cdb0491a6d8aed5187d5af5baab9a8aa
When it was based on CPolyline and using lineWidth (weight) we get semi
transparent pixels on the edges of the line. By using a rectangle and
relying on just the fill (and not on stroke) we get sharp pixels.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Icddb8e37cdb2e30ac9e7e11305bb2c534069b295
Using a gap of 1 pixel (css or not) between frozen pane and movable pane
causes a unpainted gap lines. This was not apparent because we had thick
svg splitter line covering them.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I08573b590662e0e4199b1445c57d3a2917c7d99a
without the interaction capability which is currently not used.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If78e23490f49d2d9d6d17c350c89fa67ba6bfdab
We get a single exception during setup from setSelectionRange,
presumably when the textArea is not focused. That causes a leak
of _ignoreInputCount - which kills text input.
So catch and ignore the exception.
Change-Id: I3fdfff99344f53b03ebadec2e551d7ee70416334
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Add a new state before load the document,
when Macro Security dialog popup, and avoid
to send the event load timeout.
Change-Id: I5973c5205e90e5447e5478cbab895709a68606f6
Signed-off-by: Henry Castro <hcastro@collabora.com>
ScrollSection.ts is the updated version of this file.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I484dcb7eafdc3ca62ba4d8ad864e0de711567d66
It was used for managing the mCustomScrollBar. Not needed anymore.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ibb1da1e69556f4af56353d2f8d326a3b9a56f059
wholeColumnSelected and wholeRowSelected variables need to be set before the command is sent to the server.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I302643d5dbaeb3a6919c51eef34a2523e5f9bfa0