Commit graph

1555 commits

Author SHA1 Message Date
Andras Timar
7ebfb1516e Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I887beb16becdd31771ba70fb62c68bc743288a8f
2022-08-04 14:33:48 +02:00
Rob Pearson
54293cfbb2 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (English)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (English)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/en/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibf82272e631a0dcf6a3c0764ab9aca73891d60a5
2022-08-04 14:30:31 +02:00
Martin Srebotnjak
b8a358836d Translated using Weblate (Slovenian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6767b04ff940eec7cbfba0f34a46c7ded5d28e9e
2022-08-04 14:30:30 +02:00
Marco Cecchetti
2fd508dd5e Translated using Weblate (Italian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Marco Cecchetti <mrcekets@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia37243fc3e2d1648b568c40da21e5b71526e4a51
2022-08-04 14:30:30 +02:00
Szymon Kłos
962e1a9a5a sidebar: show Misc panel with Table Cell Color
It was removed in:
mobile wizard: hide unsupported items in table panel
commit 1aed5ddaa4

but now works

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia9ba8d9c7bad1c2074405617a4443e05df42ac66
2022-08-04 13:17:26 +02:00
Julius Härtl
1851926386 Unique ids and proper label for row height / column width
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I486c2709fd2dd5d133c4c46416dcea5ef0479fc1
2022-08-04 09:42:15 +02:00
Julius Härtl
219e246742 browser: Avoid important property on sidebar border
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: Ia9cd8db9dcfa580f049c7212cfb01384d957d5cc
2022-08-04 09:41:49 +02:00
Mert Tumer
26fdb33449 fix selecting redline comment jumps to scroll to beginning
redline comments dont have position properties set
and some calculation needed in order to have it
and scrolling to comment relies on position property.

We have now instead getter for it and if it is a redline
comment it is calculated otherwise the default one is returned
because it is already set.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I6a3cefdd1c881783832de3de8fc1df7c849aad09
2022-08-03 14:19:52 +03:00
Marc Rodrigues
20a27a9427 Translated using Weblate (German)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0dc5e67b559d47db0fffa2ef383e8a9510a0c52f
2022-08-01 16:48:44 +02:00
Mike Kaganski
1b95758712 Translated using Weblate (Russian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Mike Kaganski <mikekaganski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I825cfd70edb90271c61d8a19dd5e7d83c264958e
2022-08-01 16:48:44 +02:00
William Gathoye
9e5b797dcb Translated using Weblate (French)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: William Gathoye <william+weblate@gathoye.be>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib1734912ef3ef64a2cc6d987d2feb4d26d4bfde4
2022-08-01 16:48:44 +02:00
Tor Lillqvist
30de7bce7f Translated using Weblate (Finnish)
Currently translated at 91.7% (425 of 463 strings)

Co-authored-by: Tor Lillqvist <tml@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id4903be58e73a8b0902b58f949b7b20e3a484859
2022-08-01 16:48:44 +02:00
Pranam Lashkari
6e344b38e2 Translated using Weblate (Hindi)
Currently translated at 34.9% (162 of 463 strings)

Translated using Weblate (Hindi)

Currently translated at 33.2% (154 of 463 strings)

Co-authored-by: Pranam Lashkari <plashkari628@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ica85e9bf83bd2d05613c876c80c8b383a25955d9
2022-08-01 16:48:44 +02:00
Rashesh Padia
94ce0b0f70 Translated using Weblate (Hindi)
Currently translated at 33.2% (154 of 463 strings)

Co-authored-by: Rashesh Padia <rasheshpadia419@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5689ccc8dcf09323772d400159fe3b4ac9376aa5
2022-08-01 16:48:44 +02:00
Pedro Pinto Silva
ec1a77a2e4 Translated using Weblate (Swedish)
Currently translated at 95.8% (444 of 463 strings)

Translated using Weblate (Slovak)

Currently translated at 92.2% (427 of 463 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Czech)

Currently translated at 94.8% (439 of 463 strings)

Translated using Weblate (Russian)

Currently translated at 99.7% (462 of 463 strings)

Translated using Weblate (French)

Currently translated at 99.5% (461 of 463 strings)

Co-authored-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib3b9624fb9a5b962e0a7e6cf0bce1240b54719ca
2022-08-01 16:48:44 +02:00
Adolfo Jayme Barrientos
7f1909dd29 Translated using Weblate (Spanish)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Catalan)

Currently translated at 99.7% (462 of 463 strings)

Translated using Weblate (Asturian)

Currently translated at 51.1% (237 of 463 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia716263d8f7f672b0971cb0c93bb3d8d4daabe7a
2022-08-01 16:48:44 +02:00
SC
4e6a408a19 Translated using Weblate (Portuguese)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I14f30bb28d9ed37fbfc2fdda18213eee73bf6276
2022-08-01 16:48:44 +02:00
Ayhan Yalçınsoy
b905ba14cc Translated using Weblate (Turkish)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I02dfd042f7f2463582d0dba4e6680738df5eea61
2022-08-01 16:48:44 +02:00
Sebastiaan Veld
6aafd6573d Translated using Weblate (Dutch)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I17090f5e07a60db9609a96c0555919d5aa9fcadd
2022-08-01 16:48:44 +02:00
Ihor Hordiichuk
d4d29f44dd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96c80a33faa4c5c1d10c5222d0b1ea76095399a1
2022-08-01 16:48:44 +02:00
Matthaiks
fe2c7fd705 Translated using Weblate (Polish)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibfb3f1760e0799d52ed0a2fc115e15f01b9b5870
2022-08-01 16:48:44 +02:00
Andras Timar
1fec26ba3e Translated using Weblate (Hungarian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc0b2d7d5cc0f28a67013872bf7bd2bbfb0f94ef
2022-08-01 16:48:44 +02:00
Yaron Shahrabani
913fea57e4 Translated using Weblate (Hebrew)
Currently translated at 70.0% (320 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 69.8% (319 of 457 strings)

Translated using Weblate (Arabic)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ar/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If507f0e03897d8580d9d8eb06050f4c5ef49ec56
2022-08-01 16:48:44 +02:00
Pedro Pinto Silva
530a8992a4 Do not use classes in iconURLAliases
With changes from 4e07514
Some elements without id were being listed (using their CSS classes)
and their corresponding SVG files were removed

This reverts those lines making sure that icons within insert shapes
menu or fontwork are not missing anymore.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4d1ad6a0f2124867ea47c8ca5c0c636aa5646143
2022-08-01 15:23:42 +02:00
Pedro Pinto Silva
34ab177244 Fix iconURLAliases ids
With changes from 4e075146b9
4 problems were introduced, this fixes it:

- Writer > Form controls > insert date form control
  - We were trying to alias with an already inexistent SVG
- Impress > layout tab > Master slides sidebar
  - Typo: missing s in slides (masterslidespanel)
- Impress > top toolbar > Master slide sidebar
  - Same as the previous one
- Calc > style apply (next to conditional)
  - Typo: lc_ and .svg was being used

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I794dd0bbcb0593909a950e31413823a30f79bfad
2022-08-01 15:23:42 +02:00
Pedro Pinto Silva
f0f58a2075 Mobile: Make sure all unotoolbutton share padding and margin
and remove unnecessary CSS verbose

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I209ea7d05e7027df8127ff2e49457a9e1d55cd7e
2022-07-29 11:24:51 +02:00
Pedro Pinto Silva
7122440572 Fix non-used automatically generated spans on mobileWizard
This fix the follow issue
https://archive.org/download/mobile-wizard-generating-spans/mobile-wizard-generating-spans.png

but it also removes unnecessary css block related to all those span
elements associated with unotoolbutton. Better to avoid creating
the HTML element instead of creating and then hiding it.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4e9ea01456370f1f7f877de00cf1a57e15337f45
2022-07-29 11:24:51 +02:00
Skyler Grey
4e075146b9 Alias and remove duplicate SVG files
- This commit fixes #5052
- Files which were directly in `/browser/images` were the only ones I
  considered in-scope for this (not files in `/browser/images/dark` as I
  did not want any aliasing there to influence light theme)
- Files which weren't named `lc_*.svg` were not considered for this, as
  the function with the alias list transformed the names into that
  format
- Dupes were found with `find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -d --all-repeated=separate`
  It is possible (although unlikely) that there was a hash collision and
  I incorrectly aliased an image. The names I was aliasing seemed sane
  though, so I doubt this was the case.
- I changed the behavior of the aliases object such that it is *after*
  the lowercasing of the name and not before; this was so that I didn't
  have to worry about if capitals were used (as there were some SVGs
  with different combinations of underscores etc. and I didn't want to
  assume they all always needed to be in CamelCase)

Signed-off-by: Skyler Grey <skyler3665@gmail.com>
Change-Id: I4d7972900195edeaa8f5f8941d18ab556319a7f7
2022-07-28 14:08:52 +02:00
Szymon Kłos
cab0492e41 calc: scroll when we reached end of view on AutoFill
- allow to use auto scrolling feature by event propagation
- it required to create new modified event which will
  contain coordinates of the autofill marker

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic7fe236833f5e1747d0d72e9560d3c9ecdccde51
2022-07-28 12:38:04 +03:00
Skyler Grey
b1f3c4b56b Fix the close button on windows without a title
- Previously going into Help > About > View widgets would show a window
  where the close button was rendered slightly out of the top of the
  window
- This was because without the title taking up a line, the title bar
  shrunk to be too small to contain the close button
- This commit makes sure that the title can never take up less than a
  line in height

Signed-off-by: Skyler Grey <skyler3665@gmail.com>
Change-Id: I9ead59711e3db3cde6af485ebcccf0b8a3ea57a5
2022-07-27 14:18:41 +02:00
Andras Timar
f4510db850 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecf2f95395a6d9c58faa365373443987e0cbaa9c
2022-07-26 10:51:48 +02:00
Gontzal Manuel Pujana Onaindia
40027c1dbd Translated using Weblate (Basque)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1f2bdc4851b471dd01fe772cd4d0e8674ac8ad91
2022-07-26 10:48:56 +02:00
Ayhan Yalçınsoy
5ae7087fe0 Translated using Weblate (Turkish)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2d7934340871ee92175b5bab78eaf169b4c30bba
2022-07-26 10:48:56 +02:00
SC
2dcce409b3 Translated using Weblate (Portuguese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8b5c0c7e4cb6e86ac222294321bf2110bb7e76a1
2022-07-26 10:48:56 +02:00
Sveinn í Felli
4ffb1903ea Translated using Weblate (Icelandic)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1f04aa6737a60b86a211ee7874ead864984f7572
2022-07-26 10:48:56 +02:00
Szymon Kłos
8bb881bda2 calc: correctly detect complete row was selected
After commit:
change default Calc number of columns to 16384 (tdf#50916)
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4c5f8ccf0a2320432b8fe91add1dcadf54d9fd58

Last column code is 'XFD'

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3414ca2fefe1a3bda17595610ac2aab3a7a41d8e
2022-07-25 09:54:40 +02:00
Szymon Kłos
1c7a051044 calc: handle DoubleClick on AutoFillMarker
This will allow to fill column with formula when data
are present in neighborhood

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3f341b57b0d40251cb10a4f7b628c5c8f438e986
2022-07-22 14:56:58 +03:00
Szymon Kłos
963b7bda4f jsdialog: formulabar: reset shift key state after focus is lost
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I03d080fbe0d99cb5e2f825ac8fb66417b4b0b130
2022-07-21 11:12:00 +02:00
Szymon Kłos
3fe3655c6c formulabar: mobile: reuse TextInput for mobile IME
Fixes typing on Android using GBoard in Chrome
before this patch we didn't get any input due to
lack of keyCode, we need to use 'input' events
which are already handled in TextInput.js

This patch does that only for mobile case, later
we can try to unify it with desktop so we remove
our custom formulabar input even there.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I318840dee78ddf0f803af74236a6c880c3f09329
2022-07-21 10:23:45 +02:00
Szymon Kłos
bda3a2961d mobile: fix TypeError, missing Intl API
this error was shown on socket disconnect on mobile Chrome in older
phone

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I927880ce1848fd1d48776202679ee14a8858e065
2022-07-21 10:23:45 +02:00
Pedro Pinto Silva
9dfedf0003 Tablet: Fix Save icon floating when in presence of changes
The dot above the save icon was not scrolling together
with its parent:
     - Make sure the little dot is always under a parent with
       position set to relative
     - Adjust top position due to that ^ change
     - It also fixes for narrow window on desktop

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5844400cd1a15fe5693bb2b0be880460d974eec1
2022-07-21 09:18:17 +02:00
Pedro Pinto Silva
160467ac96 Don't use automatic generated ids (incremental digit) for save btn
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idaae02ce7c0ea9dab69056654df0bf15c847af3e
2022-07-21 09:18:17 +02:00
Rash419
9bb0b6fabd introduce new options to customize featurelock dialog
- adds two new options
1. localize the dialog
2. change upsell image shown in dialog using proxy handler
- provides all the settings using dynamic configuration

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7e21c1b31c806c88bf54f891de40f02fa342168f
2022-07-20 17:41:19 +05:30
Pedro Pinto Silva
b00961f06a Make view menu entries behave similar across types
- Follow the same order, for generic menu entries:
  - Toggle UI Mode; Show Ruler; Show Status Bar; Sidebar
- Make sure Reset Zoom and all UI toggles are present in all apps
(doc type) when using tablet

Note:
This commit does not change the following because I do agree with
remarks stated in 70f4f8b92e
- Zoom in and Zoom out entries are not needed in tablet
- Zoom also misbehaves, so better to have it out when on a tablet

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I06f1c025dba27ae65229c38406d646da75a59aa6
2022-07-20 13:24:25 +05:30
Pedro Pinto Silva
4901779bf3 Remove unnecessary separator from view menu entries (type: text)
No need to have one item (Resolved Annotations toggle) surrounded by
separators.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie5e560122054fc5904e3b24f984aa682c758d373
2022-07-20 13:24:25 +05:30
Pedro Pinto Silva
898f5181bd Add UI toggles to view menu (compact view) on tablets (type: text)
Building upon 70f4f8b92e
, it makes sense but let's add back in the Reset zoom
and let's make sure all the other UI toggles are available
when using tablet ( otherwise user is not able to
toggle UI mode, ruler or status bar).

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I972a3f6f17306484a266dc3cfa2103540ca4761d
2022-07-20 13:24:25 +05:30
Michael Meeks
80079f708c perf-test: cleanup un-expanded variables.
Change-Id: If2c7c055558a96c401e2be2ce031cd288bbc747e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-07-19 20:01:08 +01:00
Tor Lillqvist
ba80acc836 On iOS the tile messages arrive with e.data as a string
Now the tiles show up correctly in the iOS app again.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I2b1741ed9f5fc4e4df30cb67addfa45eb0d20b92
2022-07-19 19:25:42 +01:00
Gökay Şatır
66c5386400 Beautify the version string.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I66e2fd6d4331361e36bc31135a45e62149f2c0f9
2022-07-15 16:50:22 +03:00
Henry Castro
c9178b0223 Add home mode option - enabling more configurability for CODE.
Requested by several users and partners - defaults to off/un-changed.
When set it allows optional disabling of welcome/feedback when used
in a homely environment.

Also bump default max doc/conneciton limits in configure to 10k.

Change-Id: I3c917901e02445d45f6f86b554d47a60aa4e575d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-07-14 18:24:43 +01:00
Pedro Pinto Silva
ed5ab42d38 Calc: Add missing class to toolbar-wrapper when on tabbed view
This is needed so 584aa5b8f6
is also applied on tabbed view.
Until now we were just adding that class when on compact view
(Control.TopToolbar.js)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8c0ac3d909f64025f301651564b3c2b1ae130e1c
2022-07-14 09:16:30 +02:00
Егор Ермаков
ffc5e4f45b Translated using Weblate (Russian)
Currently translated at 62.5% (286 of 457 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@yandex.ru>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I821ed266d54f8802e747aa5c558799851d93121e
2022-07-11 19:12:16 +02:00
Rob Pearson
537af141e2 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If529c436a314705de45fc5801e7bbcf11ab44ba8
2022-07-11 19:12:16 +02:00
Adolfo Jayme Barrientos
95210c9f16 Translated using Weblate (Spanish)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Catalan)

Currently translated at 99.3% (459 of 462 strings)

Translated using Weblate (Asturian)

Currently translated at 50.0% (231 of 462 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If20eeac4c226f519c29c9c910e92e466f6994821
2022-07-11 19:12:16 +02:00
Yaron Shahrabani
7366f21bd3 Translated using Weblate (Hebrew)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5b7c69f8c73a7723bc941ceaba20bb53d1f26411
2022-07-11 19:12:16 +02:00
Henry Castro
63998720f4 browser: ensure if welcome was disabled
Change-Id: I22a90c0dd8e80870699aef12b800c85508b17920
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-07-11 14:19:00 +03:00
Andras Timar
fb25b7d806 If integration theme does not exits, fall back to default theme
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9939ee243aa81b50969168df2e8bb5c8cbf2a34c
2022-07-11 12:59:05 +02:00
Pedro Pinto Silva
10c70a46a6 Mobile: Do not allow rules from busypopup to affect snackbar
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibb3d964f66ef7f18272207b2738708b451c2e1b0
2022-07-11 07:29:26 +02:00
Pedro Pinto Silva
d09157b412 Snackbar: Fix contrast, remove unnecessary rules
Use a dark solid background color - with a shadow (already existent)
- to stand out against content.

Make sure button is blue similar to test selection handles or some
icons etc. So it is visible at 1st sight what's the action

Remove unnecessary or duplicated rules

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I53a291f762c4ed40f5b39230fad8246fa280d050
2022-07-11 07:29:26 +02:00
Pedro Pinto Silva
a29aeac3c0 Remove snackbar's border
It is not a normal dialog as in jsdialog or lodialog,
no need to add border

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib7a4d3d1a89f1c69df8e7a374d4283d48b66e42b
2022-07-11 07:29:26 +02:00
Pedro Pinto Silva
3000d74e7e jsDialogs: Avoid uncertain border radius
Avoid odd number by stop relying on a division by 2.
Instead, use the same already existent border radius.

-----

In the future if we end up deciding on something else,
we should probably create a new var for that and apply
it to all dialogs

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If0e53f0b2a965587c33156536f74fcc0a223a43a
2022-07-11 07:29:26 +02:00
Pedro Pinto da Silva
e3ed04713c Writer: sidebar (table) fix row height spinner's position
Since the row height spinner is the 1st element in the row,
there is no need for margin.

Note: in the future wuld be good to have the spinner coming from the
builder with additional class or style when they are the first
element being positioned

Signed-off-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Change-Id: I2396ab662fcb4a12762b4a6e2b38582f1df7c59b
2022-07-10 21:35:34 +02:00
Pedro Pinto da Silva
9e67710e3a Writer: Fix sidebar table btns position shift
Remove unnecessary rules targetting minimalrowheight and
minimalcolumnwidth. These rules were
1. Not being apply always (sometimes jsbuilder was
setting them with different id, e.g.: with suffix 1)
2. Even when apply this rules were forcing these two btns
to go up, looking like they are mere icon for the spinner.
This is wrong. They are buttons that trigger the set to the
minimal sizes of that particular row or columns

Signed-off-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Change-Id: I53e81c69cdcc3aafd2ca5ab0f8e196d912b86608
2022-07-10 21:35:34 +02:00
Pedro Pinto da Silva
ba8dfa52a9 Writer: remove sidebarbar spinner padding for table row & col
Before this change the spinner were getting unnecessary additional
padding.

Signed-off-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Change-Id: I43b8bffc8bacc13dfc633cee4cd8f7823834d402
2022-07-10 21:35:34 +02:00
Henry Castro
3cdd25c340 browser: add 'dropdown' dialog type
Adjust the drop-down dialog to the #map element
to show the correct position sent by the server.

Change-Id: I74a6d7402438241aae77a18699c3297d64b34098
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-07-08 16:37:47 +03:00
Pedro Pinto Silva
584aa5b8f6 Formulabar: remove bottom padding from toolbar-wrapper
This was affecting how we perceive padding around formulabar
- Making it look uneven (with more space at the bottom)
- Making toolbar-wrapper's bg visible at the bottom

Remove bottom padding when in presence of spreadsheet so to
avoid affecting the other apps

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Icce34ecb64781221428130f4a11420b5546003ad
2022-07-08 13:22:08 +02:00
Pedro Pinto Silva
fb83b73587 Fix formulabar's address input vertical pos on mobile
Before item address was getting vertical aligned resulting
in misalignment when in expanded view

![image](https://archive.org/download/formulabar-mobile-addressinput/formulabar-mobile-addressinput.png)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8f71a99da0d813a367f75023b5ae1230378bb19c
2022-07-08 13:22:08 +02:00
Pedro Pinto Silva
ae4a240fcc Formulabar: no need to use calc for line-height
Using unitless values will be automatically
multiply by the element's font size

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ice4b56c5da7e47aae83347c1bf6b6ac377a51518
2022-07-08 13:22:08 +02:00
Pedro Pinto Silva
db23db6a78 Fix formulabar's item address input field vertical alignment
Make sure every element between item address parent and the
item address itself is place at the top

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib883f6659788f4ec42ae6d953fa2d857038fc815
2022-07-08 13:22:08 +02:00
Pedro Pinto Silva
450d4611a8 Fix formulabar vertical padding and odd numbers
- Set heights to even numbers so we don't end up with uneven
  surrounding vertical spaces
- Remove individual top margins (margin-block-start) from btns
  - Instead fix underlying issue with formulabar
- Fix text-area padding inconsistencies between being expanded
  and collapsed. Problem: text area becomes taller, ending up
  occupying the top and bottom white space left from its parent
  - Leverage new css class added to the main parent #formulabar
    and add vertical padding so text-area forces parent to increase
    in size
  - Remove sub parent's (#tb_formulabar_item_formula)
    individual top padding

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I380af6cf70c0e879224329fbf9093e0778a38d8d
2022-07-08 13:22:08 +02:00
Pedro Pinto Silva
e3210b4c82 Fix horizontal padding around formulabar
Avoid setting elements, located  on the edges, with margin
in the hopes we get an overall padding:
   - Remove it
   - Add instead a true padding to the main parent

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie1690c9cc3c58f59387cb6aa73df20d42f5cc1fb
2022-07-08 13:22:08 +02:00
Szymon Kłos
47130f551e jsdialog: formulabar: fix backward selection using shift+arrow
When editing formulabar using keyboard - try to use shift + arrow
to make selection from the end in backward direction.

This patch makes it possible (visible).

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I48073214545892d98be097b38c60251ff95082f3
2022-07-08 12:32:48 +03:00
Szymon Kłos
b506abad58 jsdialog: formulabar: unify behaviour of Safari/Gnome Web with other browsers
eg. Chrome setups selection only if element has focus
it prevents us from stealing focus by formulabar when
switching cells

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I46cbd4d04615478a95a36dd8bcda22d732e74d3e
2022-07-08 12:32:48 +03:00
Henry Castro
545122e933 infobar: listen 'updateviewlist' event
check infobar data when the server send
the user info data.

Change-Id: I0ba1da488f9b3d03dc7e3f42cea718273e6939b1
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-07-08 11:39:48 +03:00
Henry Castro
c4681a79ba infobar: remove interval timer
Change-Id: Icf948c2f7ecc06ed2ba68224bf3fca7c22842ec0
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-07-08 11:39:48 +03:00
Pedro Pinto Silva
d552fc07d4 Fix DownloadPopup close btn overlapping popup link
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3294ce292b7921e36cb243f25149375f025e517d
2022-07-07 17:35:10 +03:00
Szymon Kłos
fe62d09c28 jsdialog: formulabar: fix freeze when server sent huge paragraph id
if there is no more paragraphs: exit the loop

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7075ff5454e1ddcc11155867f835e85117bdea15
2022-07-07 15:23:20 +03:00
Michael Meeks
e404ce88bb rows: ensure we don't stray beyond the last row in error.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I04273e6c4ed8ea5b5e4398121f3d97767d7c3a2f
2022-07-07 13:09:47 +01:00
Michael Meeks
9a32c2c27a sheet geometry: build geometry array up to the last row in the range.
Improve performance by not looking up endIdx that may be over the end
of the range. Ensure we still have valid data for the pieces we do
know about.

Playing with a complex 1m row spreadsheet and re-sizing rows by
typing multi-line text into them would provoke row header problems
otherwise.

Change-Id: I5a110137e6d26e2c4b272210cf41883abb02c3af
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-07-07 13:09:47 +01:00
Szymon Kłos
d1cb42e111 Keep custom buttons when switching the view
When we use API call InsertButton and we add custom buttons
we want to keep them when we switch between compact/tabbed view.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If03520f52422ac41aa40432f068e5bc011ed2596
2022-07-06 12:18:54 +02:00
Rash419
cb080f561e writer: fix: cannot add picture using picture contentcontrol
use sendContentControlEvent to set picture instead of InsertGraphic uno command
since InsertGraphic is not allowed for a protected content control (like picture),
only sendContentControlEvent();

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5f70919d995c51456056a8be2aa1e596df7bedc2
2022-07-06 14:57:30 +05:30
Pedro Pinto Silva
806dacecc2 Formula bar: Fix formula and sum btns shifting when expanding
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7a235750513f8375670fa73894964b2a05acab10
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
7a6f7fd846 Formula bar: Make sure the outline doesn't bleed out
and thus avoid cropping it altogether

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If959c617c6036daa353dc8185668aeb99d515497
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
cbfe45185d Formula bar: Increase font size of the text area
Before not only it was not vertically aligned but it was difficult
to read

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3790d51f4a90dd9bdb5158cfa16ed92de1ebfca5
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
4a6c701ae2 Formula bar: improve expander img
Set it to 24px, fix stroke and make it a path
- Result same size, smaller visual indicator

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic41b7a1d8e798998ea9399cd68c9fc6b46e73725
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
12d269768a Formula bar: Set text area and expander with the same style
Decrease number of visual differences between the two while
by using similar style. Add border radius already in use
in other components such as drop-down menus.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I09b51f0817d35641cfc7d028e281ae3ba362a663
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
ddcf4797a6 Remove Toolbar-mobile.css, avoid bleeding out rules to desktop
The rules found in toolbar-mobile.css seem to no longer be needed
in any shape or form on desktop (even on FF). Remove file and
insert those changes within device-mobile (so it is loaded only
when on mobile)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I58a3d52fc6313a8e32916fa2b5dd4796dd1c1cef
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
cbf1db8d38 Formula bar buttons add hover effect
And make them less "shouting" by default

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I69306cbe6107ce1f7306291fe55d7f54f7fdfe8b
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
3d993d79c2 Formula bar: improve autosum menu button
- Make it clear that it is a menu button
  - Remove extra space between triangle and image
- Fix icon size, before it was overshadowing the function icon
- Redo icon, so it is more legible, less tall and less flimsy

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I95c635b9a39aaa4dd470372018c63c9f45385b25
2022-07-06 08:35:13 +02:00
Szymon Kłos
3e1c068127 Fix TypeError when using formulabar variable in Writer
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5e90fe04f83cacfbf4dd15a821f3d0b1310a9ab2
2022-07-05 20:47:46 +05:30
Pedro Pinto Silva
95db795a23 Allow buttons in vex dialogs to wrap
ported from:
PR: https://github.com/CollaboraOnline/online/pull/4976

In cases when the button text is too long
or when using CO in, for example, DE language and when
the length of the parent dialog was not enough the btns
would not stack up, instead that would overlap. This would
make reading those btns impossible.

![vex-btns-overlap](https://archive.org/download/csv-overlap-btn-labels/CSV-overlap-btn-labels.png)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I801ea330db21add35d0a81466a1fba9501a61899
2022-07-05 12:01:13 +05:30
Sebastiaan Veld
bd44a879fb Translated using Weblate (Dutch)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I604d6118f1bca7242de194a84fadc16c5de51952
2022-07-02 18:39:20 +02:00
Nathan
23ad398698 Translated using Weblate (French)
Currently translated at 99.5% (460 of 462 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I38c51c48d17242e261c3e6fe849585b43609eeca
2022-07-02 18:39:19 +02:00
Yaron Shahrabani
91baaa0f7a Translated using Weblate (Hebrew)
Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I494dcf5c9c176a63a66242cc2290818dfe7bd964
2022-07-02 18:39:19 +02:00
Ayhan Yalçınsoy
193bce6815 Translated using Weblate (Turkish)
Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I80302d1a3751e44219b91d3e6d349cd041303c77
2022-07-02 18:39:19 +02:00
AbsurdUsername
339d5be236 Translated using Weblate (Italian)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Italian)

Currently translated at 93.0% (430 of 462 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: AbsurdUsername <sgso@pm.me>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I41053824fbb7040c79820dd95e503fe7dcf00f1b
2022-07-02 18:39:19 +02:00
Eric
0b0f483e95 Translated using Weblate (Chinese (Simplified))
Currently translated at 80.0% (370 of 462 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hans/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If8c4f929ec7a8a0e55f81b53df9b08bcd1afd925
2022-07-02 18:39:19 +02:00
Ihor Hordiichuk
9794a6a2d4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8a0dd12197259a4dadbddce25580ab9c1566c162
2022-07-02 18:39:19 +02:00
Andras Timar
6b524c1466 Translated using Weblate (Hungarian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1620d5e529c0b1e50a93e8731ef64c13cc78d043
2022-07-02 18:39:19 +02:00
Szymon Kłos
0833ec6489 jsdialog: use open/close instead of toggle for dropdowns
This helps us to be in sync with core especially with
problematic dropdowns like:
Sidebar in shape context -> Line Panel -> Line Width
This will close and not reopen the popup when we click outside.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4daf90f2611f6caa922022e1cc6e248f6a62d02f
2022-06-30 13:53:55 +02:00
Rizal Muttaqin
7c45f7a468 Revise dark variant of Picture Control icon #4845
Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: I728152c67975fd297b2035d4bf102cc5c57695f1
2022-06-30 11:43:19 +02:00
Pedro Pinto Silva
0f97be5d05 Context menu: on hover, fix contrast
User a darker background for on mouseover items

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib6dc6d2ed434d21765ab3d6bf3988dc918261281
2022-06-30 11:12:57 +02:00
Pedro Pinto Silva
aad841a48f Fix padding in follow editor's entry (userListPopover)
Use the same padding as the user names and thus fixing the
alignment (vertical: checkbox vs avatars)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1acb8cf5e3e5dc8aad083151c9c54b38aa552d6c
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
c3c37b3b71 Add following label to userListPopover (avatar list)
Until now user was reporting not fully understanding all the
features that user userListPopover offers. Namely, not knowing
that not only is possible to follow the editor (checkbox) but
that it is also possible to follow a specific user from the list

Make it easier to understand what's the current following status
by adding "Following" under the selected user name in the list

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0beba5df06f2cc7a9a349ef8f93db6b403befb9b
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
8a5d87f679 Hide avatars list when follow editor changes status
Get rid of the popover once the user completes the action
Probably better to avoid having hanging popover (that have no
close btn) and instead close them, specially because this
one can always be re-opened at anytime from omnipresent
toolbar and without risk of triggering any additional change

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id7946512e6c54622e3ed20b28d56178c05b18b5c
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
dadffd8a76 Hide avatars list when a user entry is selected
Make sure the avatar list popover automatically gets out of the
way once the user selects an entry (follow user)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie83a587e4f9900ffb0d70cadbfb13cfe81d8b849
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
7a395f48a5 Avatars list: Add missing hover styles
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6a5b215316a988ad0649982415c2d8ce6fab1212
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
dbf88dda17 Use the same bg for #userListPopover and its pointing triangle
Before the triangle was getting a different bg when compared
to #userListPopover

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If110d9e1178bedb7e858804e169689ee97a5a385
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
556220303d Fix position of avatar list
Instead of trying to re-position #userListPopover for every case
(compact view, tabbed view and rtl), use flex to align the elements
- This also fixes the positioning discrepancy of both the popover
but also the arrow (triangle)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I32ed3e05efc51001db106f5baaf18012e87965fe
2022-06-29 19:44:08 +02:00
Szymon Kłos
081deb5090 comments: don't lose focus if is edited
When spreadsheet was opened after few seconds we received CellCursor
message.
If comment was opened end edited at that time - it dissapeared

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I15804bfa0bf9ccac03c2858184db327a978061b3
2022-06-29 11:34:47 +05:30
Andras Timar
dcae5fa613 proxy.php: Special case for the remote image
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I98da25735a3b889824a72c2134c495abd26b3a05
2022-06-28 22:03:28 +02:00
Andras Timar
4a17ceb72b Fix release notes URL for 22.05
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If98d3a8dd70a71d5d2f44ef4248ec1608382b764
2022-06-27 20:12:35 +02:00
Ihor Hordiichuk
4d8e29850b Translated using Weblate (Ukrainian)
Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5d385e48f1ffdf5ec7be1a210489305bf3bf310f
2022-06-27 20:11:04 +02:00
Martin Srebotnjak
0b43c019ae Translated using Weblate (Slovenian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3f12ffbc3db15c6d07ff48cdc404b14ca2ad07f7
2022-06-27 20:11:04 +02:00
Matthaiks
811a34e851 Translated using Weblate (Polish)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia628d6b391a45059a8e860e0604beb9c35aa74b6
2022-06-27 20:11:04 +02:00
Andras Timar
848d1bbcdb Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5f72c01c8ac275798e5f083e8c61c0b0789801ac
2022-06-27 17:26:36 +02:00
Matthaiks
c5a490c3f4 Translated using Weblate (Polish)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id8013876ed314776258cadbe7c75de453031b9ac
2022-06-27 17:25:13 +02:00
Andras Timar
97884769ec Translated using Weblate (Hungarian)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If71b793017f38e29b8aa7ab91ced66e3b22b47d4
2022-06-27 17:25:13 +02:00
Andras Timar
04eafaf323 Update UNO command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I64502c9295197e6edf0a0d947e9dec138b7b9c05
2022-06-27 17:10:50 +02:00
Andras Timar
9edb092df1 Update UNO command list and unwind the damage of direct editing of the file
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I692b76eb795041d3068dc3ff50dfeba83034e2dd
2022-06-27 17:10:50 +02:00
Andras Timar
6c6c44b73b Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic2076761f90483ed1a910fc151fcd9ab45d8e066
2022-06-27 15:50:09 +02:00
Szymon Kłos
1908d84bcb jsdialog: be sure popup overlay will not block user
Don't add multiple overlays with the same id.
Remove overlay always when it exists and we close.
Close dropdown entires by dropdown click - specific to 21.11
where popups in the core are handled differently.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia1652434f38571defb817bfb29491ed0bd246e73
2022-06-27 15:05:28 +02:00
Szymon Kłos
9c81a240a2 jsdialog: use correct element to close popup
For toolitems with dropdowns we should toggle the button.
Use correct parent so we don't use button from other component.
Later we send toggle event to properly close the popup on the server.

example: Calc sidebar, Underline popup
Before this patch when we clicked in outside the popup it dissapeared
but app was completly blocked.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I124a41361df305931c66047a8799ce03393b67de
2022-06-27 15:05:28 +02:00
Eric
bc0ea4e47b Translated using Weblate (Chinese (Simplified))
Currently translated at 63.6% (291 of 457 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/zh_Hans/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia9e0926ee5fca292a026eaa09b4d41d30f8c72bc
2022-06-27 13:23:37 +02:00
Ayhan Yalçınsoy
114bdcb36b Translated using Weblate (Turkish)
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I22617b15f0fe476be93f4629fec1ccfa5e8fe26a
2022-06-27 13:23:37 +02:00
Sebastiaan Veld
6f4c4a3738 Translated using Weblate (Dutch)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4ad42f81a439d04a053b18b5669ba6f42f116d7b
2022-06-27 13:23:37 +02:00
Nathan
ea25a391bb Translated using Weblate (French)
Currently translated at 99.5% (453 of 455 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7ff86a18fa35b26c29422213c2b1a6393eca029a
2022-06-27 13:23:37 +02:00
Martin Srebotnjak
42568612ac Translated using Weblate (Slovenian)
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idd9269476c7972ce031e6333366ab88603886aee
2022-06-27 13:23:37 +02:00
SC
4b937f9dcc Translated using Weblate (Portuguese)
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9d36b85abeff7adffcc0af86d728142320a7dcb6
2022-06-27 13:23:37 +02:00
Mathieu B
e40862a5ad Translated using Weblate (French)
Currently translated at 98.2% (447 of 455 strings)

Co-authored-by: Mathieu B <mathieu.bousquet2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I72f749e51cf5ed134f975ce8b456ba5f51790964
2022-06-27 13:23:37 +02:00
Ihor Hordiichuk
fbe8a51468 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie74775208b6167e846c9371973068bfe1082faa4
2022-06-27 13:23:37 +02:00
Matthaiks
f5bd60ea34 Translated using Weblate (Polish)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0cb02b565a19abbb36b5c09f665a045cccbd1227
2022-06-27 13:23:37 +02:00
Andras Timar
a0d779e16c Translated using Weblate (Hungarian)
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I12b393379d7a8268701c1d7699f356a2e8e35adb
2022-06-27 13:23:36 +02:00
Yaron Shahrabani
7d98c8a4de Translated using Weblate (Hebrew)
Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate (Hebrew)

Currently translated at 99.7% (454 of 455 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I492efa1e1594cb3aeb663818a61dd26f9f2dbf95
2022-06-27 13:23:36 +02:00
Rob Pearson
68f6de23d6 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I043410200c00fc39d34f06bf30bad5ee61e9ea7d
2022-06-27 13:23:36 +02:00
Szymon Kłos
896f5b9ce8 notebookbar: unify color control in all components
Keep in sync colors in sidebar and notebookbar when
we change one of them.

Followup for
    commit 13ef21aa1e
    notebookbar: unify color control with core

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia8af727c6ba6b5b32a644ff070954c9ada584a24
2022-06-27 13:03:45 +02:00
Pedro Pinto Silva
82e9348609 Calc: formulabar item adress fix padding
Use instead logical properties

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I162f18a0249cc6a95c81418677bd03d68d9119d6
2022-06-24 21:23:25 +02:00
Pedro Pinto Silva
8f0f1c700d Calc: address bar, remove w2ui break
unclutter formula bar surrouding elements by removing the visual
break and instead add padding. Plus: we can now remove CSS
rules that were targetting that break's id

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4a9990a5709918d7cacfac2ef41b91281f9af54a
2022-06-24 21:23:25 +02:00
Pedro Pinto Silva
182e4ce9fc Formula bar's input address: add missing border property
This fixes a odd behaviour present on chrome based browsers
where the adress input (current cell) was being rendered
with a thicker border and with emboss style due to browsers'
default values

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib5ab745ab45415e86a2976d537b5766a72a136d3
2022-06-24 21:23:25 +02:00
Szymon Kłos
b2d8fc620a Avoid TypeError by not using undefined function
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6b2fc565f33169eca575f59a8a4b2ce398588113
2022-06-24 17:18:28 +05:30
Szymon Kłos
bbd63374f3 Don't focus map on .uno:CellCursor message when widget is focused
Just after we opened spreadsheet and opened font list - it was
closed after some seconds due to focus change caused by
.uno:CellCursor update.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ifabde00163567ab7d4f3f8359d58b4251fff5ec3
2022-06-24 17:18:28 +05:30
Szymon Kłos
13ef21aa1e notebookbar: unify color control with core
in desktop case color widget should show the latest selected
color not current one. split the button into arrow with dropdown
and "last color" button (icon)

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I07fcc94d69e14b030cf9f1bfe3ae50f0df333ec7
2022-06-24 12:45:16 +02:00
andreas kainz
4e933cea51 mobilewizard.css #fontsizecombobox.mobile-wizard only
the css rule for #fontsizecombobox at file
mobilewizard.css
change also the behaviour at desktop sidebar
so added .mobile-wizard and than the rule
was for mobile only.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I704857bca49556abebca018ef7a284c7b2159530
2022-06-24 10:05:48 +02:00
Szymon Kłos
8cd4bbd8b9 jsdialog: don't focus containers
Be sure we focus active part of a widget. We also require
active eleme3nts to have unique ids assigned so we don't
lose focus after we update the widget.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaf741f4753022b7f4da92184d576623dd0300adc
2022-06-24 09:38:56 +02:00
Szymon Kłos
b71c542f15 jsdialog: listbox and scrollwindow are not containers which need additional parent
This helps to keep id unique and process events correctly.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I35997ed40d09de73a7451b54243c54b041fd9c34
2022-06-24 09:38:56 +02:00
Rash419
c3e30b88be fix: CheckFileInfo - HideSaveOption, HideExportOption and HidePrintOption do not work in NB
fix: after switching to Notebookbar view and back again to Classic View; the Save icon reappears.

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8fda18a9148c679209f0de99b80526393a965720
2022-06-23 21:14:34 +05:30
andreas kainz
25c0c47a12 Sidebar .ui-expander-content have left and right same padding
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifbeecbaef00963498ac3a1bafd2a42075856d9ca
2022-06-23 10:47:33 +02:00
Szymon Kłos
ee996454c8 jsdialog: formulabar: handle tab key
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5c6e679ebaa4b3d97553e212224c76583ea84fbd
2022-06-21 16:40:05 +02:00
Rash419
5ff8a38473 css: improve contentcontrol datepicker
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib03cd613672089a29ef0226813bca54a0e6b0f81
2022-06-21 18:47:55 +05:30
Szymon Kłos
1d82b32ab4 jsdialog: handle grab_focus action
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5f53ffd5c3fbee03d1fcbbc47e110212e7882ffd
2022-06-21 12:41:20 +02:00
Pedro Pinto Silva
4b5aa6b4ca Fix images' alignment within pushbutton control, add flex classes
Bug
- pushbuttons with images get misaligned. Namely the inner image that
it's position well. Visible in some places within the sidebar
impress, calc:
https://archive.org/download/bug-pushbutton-with-img-alignments/bug-pushbutton-with-img-alignments.png

Fix
- Pushbuttons with images are now classified with .has-img and inherit
the respective global flexbox CSS classes.
  - Add global flex box CSS classes so we can avoid code duplication
- Also make sure other pushbuttons with image don't butchered with this
change (e.g. calc > pivot table dialog)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie37680eb02c15417c505402074bbe01d302910cb
2022-06-21 10:33:53 +02:00
Rash419
b27cf37801 contentcontrol: use polygon to draw indicator
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Id6ffb0de53f3fa386ffe13c7680b48d8e104bc8b
2022-06-16 17:33:38 +02:00
Rash419
22e168031d mobile: contentcontrol improvements
add: form icon in insert menu
fix: datecontentcontrol icon in form menu, jsdialog: options for all content control types were shown

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Id3f425f3a80cb09f58b3f83224bb19ebb365e8f3
2022-06-16 17:33:38 +02:00
Michael Meeks
d8482ea7d6 Catch a second location to de-duplicate JS tilecombined requests.
Change-Id: Iec8d5a76b7add535a640aa5940fba50fea03527f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-06-16 14:00:00 +01:00
Michael Meeks
05f9f2aaff elide duplicate tiles in JS created tilecombine requests.
Change-Id: Iefce276c2a44159d8f177e31dcaae8987343eacd
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-06-15 18:34:58 +01:00
andreas kainz
365b70b0bc Sidebar padding-inline instead of -left -right for RTL support
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib694d2acf60b2f0058f5ef0633e19aa086498c77
2022-06-15 17:19:45 +02:00
Szymon Kłos
822bc435c3 jsdialog: formulabar: handle keyboard arrows, multiline selection
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia65f49d578cf0a2a184ab583fb7a9694918e6e93
2022-06-15 13:40:29 +03:00
Szymon Kłos
79cc9ae23f jsdialog: formulabar: send key modifierwith all key events
This will allow to create multiline cell content using Shift+Enter

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie1b8497063fc59e29d010c62724b88c4ad8972a0
2022-06-15 13:40:29 +03:00
Pedro Pinto Silva
31b67e9b93 NB: Form tab: Move Properties to last position
Content control properties is not always an active button, it only
takes affect once a content control is selected thus best to place it
at the end.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie13bdc81a84730380d8462241661775d1abd1699
2022-06-15 11:04:18 +05:30
Pedro Pinto Silva
f5e7f6b247 NB: promote all toolitem elements in form tab
Currently there is no plans of adding more content controls. In total
there are 5 content controls toolitems and one for accessing its
properties.
 - Make it easier to pick content controls by increase toolitem size
 (bigtoolitem)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I86d8c1025cb4ff82fe45654076800057e17e9ea6
2022-06-15 11:04:18 +05:30
Pedro Pinto Silva
9b7970a441 Fix missing icon date picker for content control via iconURLAliases
No need to duplicate the icon, use the existent one.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I22ad3f99778051d6b663207ad229e808a34c0e3e
2022-06-15 11:04:18 +05:30
Rash419
1efbf290dc contentcontrol: mobile added content control option in form menu
rich text, checkbox , dropdown, picture picker work correctly now
css: fix: MacroSelectorDialog rules applied on normal jsdialog

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib6db879e968d45604d737cc5ee2b522fa45218af
2022-06-15 11:04:18 +05:30
Rash419
080a46d2fa browser: contentcontrol: add date type
add uno command to insert date in form tab
renamed 'Content Control Properties' -> 'Properties'

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib4a439cd349bb79430d590e0b80c825372c629d3
2022-06-15 11:04:18 +05:30
Szymon Kłos
8d238eb990 sidebar: css: calc area, line, shadow, possize panels
context: shape

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I791c766a91d4ce50fc2f27e4dfe6adc01583a64e
2022-06-14 22:46:23 +02:00
Szymon Kłos
4d622e044d sidebar: css: calc number format and alignment panels
- removed not needed direct position rules

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I462b04bc64dbcf989f04cbc36c3ecc11be08113b
2022-06-14 22:46:23 +02:00
Szymon Kłos
52e703e67a notebookbar: retry to activate when needed
Don't generate spam in the console log with warnings about not
activated notebookbar in apps where we don't use any welded widgets.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I48c2d843752058923242d6678f08ec0791d08e4c
2022-06-14 10:49:52 +03:00
Szymon Kłos
87e0280a43 Allow to send view mode command when dialog is opened
We automatically send notebookbar activation command in some cases.
Allow this command when dialog is opened and don't blink.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iac068cfca49ce6dbfe241bde752a475560d3445e
2022-06-14 10:49:52 +03:00
andreas kainz
7c3bd732d5 Impress add context: MasterPage
Fix #4808 by add SlideMasterPage to impress view tab
and add a context related MasterPage tab.

Update the icons to use the master*.svg colibre icons from core

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibbd24d1c20a48e26591d217311c5989794aa841e
2022-06-13 11:20:11 +02:00
Szymon Kłos
b371ff23ff cursor: hide current not all
when other view moved cursor outside out view - all of
them were hidden because we used selector for all the
elements matching cursor class - instead of current
instance

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If97606f33e44ce59f747ad0b015048deacbe8657
2022-06-13 09:02:24 +02:00
Szymon Kłos
abff2c7388 jsdialog: combobox is not a container type
add combobox to list of non-containers and cleanup

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I657038c960d7c606a0e437b0c24e74e83f2c2b00
2022-06-10 15:35:42 +02:00
Aron Budea
63c3560213 browser: adjusted Field submenu in menu bar
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I50decd1f84dd6e91ba268dabdca2d579e8d229ec
2022-06-10 11:50:19 +02:00
Pranam Lashkari
2990c018cc added icon for unprotect cell
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I48454b529044766c6646b15f9277a22ca0b81642
2022-06-09 18:25:28 +05:30
andreas kainz
864779be02 Compact View isn't part of Sidebar, Statusbar
Compact View is separate in the menubar from Sidebar and Statusbar
So it shouldn't be between them in the View Tab.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib46e9c4a4df24432eae5a7fef335e7cde68b1766
Signed-off-by: andreas kainz <kainz.a@gmail.com>
2022-06-09 11:58:48 +02:00
andreas kainz
97e196c370 Insert Shapes instead of Basic Shapes
In the insert tab there is the command uno:BasicShapes
by select BasicShapes the user can insert shapes
at least Basic Shapes, Symbol Shapes, Block Arrows,
Stars and Banners, Callouts, Flowchart, ...

So uno:BasicShapes will let you insert all available type of shapes
therefore the text label should be Shapes instead of Basic Shapes.

fix #4672

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I692b7a5b03b905599648c7af4a016684b12b335a
2022-06-09 11:49:25 +02:00
Pranam Lashkari
2168c3a58e added picture control icons
closes #4845

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I93eac9d7be31c06353b6fd595f699285b7deadd5
2022-06-09 11:53:54 +05:30
Henry Castro
2e1cb5dd08 Revert "browser: css: add '#lokit-logo' style to fetch lokit-extra-img.svg"
This reverts commit dd83984896.

The logo style already exists and to avoid override rule.

Change-Id: Idf59f1acbc427ea8a33147398057de1883731830
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-06-08 21:14:58 +02:00
Szymon Kłos
d11a23be72 jsdialog: focus map after popup is closed
So we can type after we closed popup in the sidebar.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib4164cfa0b7b25b0a3aeeccdd9d0ac8c9bf7f280
2022-06-08 16:35:17 +02:00
Szymon Kłos
c7ca6dc112 jsdialog: avoid focus in special popups like busypopup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib2089c9580c70f63cea8504cd847c583fbae9dd1
2022-06-08 12:30:11 +01:00
Pranam Lashkari
b1546f96e5 added UI buttons to protect and unprotect cells in writer table
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I7d9f1457a828d4ce69a49205e65e4df0e394e8de
2022-06-08 12:09:24 +03:00
Pedro Pinto da Silva
aca5503f33 Add missing Run Macro action to tabbed view
- Only visible when macros is switched on (coolwsd.xml)
- Added to the File tab because:
  - We do not have Tools tab and it seems we do not have a need or
  more > 1 action that justifies an yet another new tab
  - Run Macro could fall into Review or insert category but and
  since the icon when pressed Runs a Macro, best to place it
  within File tab since it affects the file. Plus user that is used
  to operate within classic view it's more likely to go to File tab

Signed-off-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Change-Id: I8110fc259860d285f0c911b9b553bdc67235f4e2
2022-06-08 11:40:31 +03:00
Henry Castro
dd83984896 browser: css: add '#lokit-logo' style to fetch lokit-extra-img.svg
Change-Id: Idb7001076db52471bfd4eeb79bf37b3732aa0dfc
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-06-07 15:42:53 +01:00
Rash419
f890e2102d browser: contentcontrol: improve picture contentcontrol to work when there is no integration
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia53b4332d0e62166cb8f6e9d31f1abdb81bf4594
2022-06-07 08:55:30 +02:00
Pranam Lashkari
0b73614cfb ignore if comment is selected while pasting
if comment is selected but is not in editing,
proceed to normal pasting in document

problem:
while pasting content multiple times with comment,
previously pasted comment stays selected and can't further normally

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ia594c725f4fe7108d6aea1591d88b2c306202be3
2022-06-02 18:20:47 +03:00
Andras Timar
154a177979 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I65062d5ba390acaea87a8cc98771acb23e6bd1fd
2022-06-02 12:18:22 +02:00
Sveinn í Felli
e20a6d80a5 Translated using Weblate (Icelandic)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia54d9fa6d2fe499f1ac64fecfa12c73109cb5831
2022-06-02 12:13:11 +02:00
SC
5899ca7f1a Translated using Weblate (Portuguese)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If188b31aeebc99c8d8294ca1670aeb79efe0507c
2022-06-02 12:13:11 +02:00
Adolfo Jayme Barrientos
17751ffe32 Translated using Weblate (Spanish)
Currently translated at 100.0% (447 of 447 strings)

Translated using Weblate (Catalan)

Currently translated at 99.7% (446 of 447 strings)

Translated using Weblate (Asturian)

Currently translated at 49.6% (222 of 447 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2b2ca372ee7d4ed3d1ee05077ebad9ecc465a540
2022-06-02 12:13:11 +02:00
Ayhan Yalçınsoy
aa44c3184c Translated using Weblate (Turkish)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaf5c8a2f8753fce9909ed19b15b3df28f8b85cb6
2022-06-02 12:13:11 +02:00
Ihor Hordiichuk
1b0e6d4928 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1f5c56965a3d2f065992ca847e1bc684bfade274
2022-06-02 12:13:11 +02:00
Martin Srebotnjak
3bfdfc8db1 Translated using Weblate (Slovenian)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id906e228ed763edbec424c84a3af1161563ef26c
2022-06-02 12:13:11 +02:00
Matthaiks
6a9515cda6 Translated using Weblate (Polish)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If5c7a9df0d5f26de6777fdb12cc628ccfd8993d0
2022-06-02 12:13:11 +02:00
Andras Timar
daac68e4c3 Translated using Weblate (Hungarian)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I525abc85aebbc5987e07391dd3b590c6c7b86cd9
2022-06-02 12:13:11 +02:00
Yaron Shahrabani
93b1668628 Translated using Weblate (Hebrew)
Currently translated at 100.0% (447 of 447 strings)

Translated using Weblate (Hebrew)

Currently translated at 99.7% (446 of 447 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib31ef778fdf841f6c5d98c2b3112b052dcf053d2
2022-06-02 12:13:11 +02:00
Nathan
fb365b82dd Translated using Weblate (French)
Currently translated at 100.0% (447 of 447 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I40dacb31ae6a84045cd808e91ce78eb8823b656f
2022-06-02 12:13:11 +02:00
Szymon Kłos
1351f142a2 welcome: temporarily use only local welcome dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iade402db7fcb8ee7d58dc539ae99f49be20d697d
2022-06-02 12:11:03 +02:00
andreas kainz
334160bb51 calc formularbar use var colors for input elements for dark mode
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0bee881aafb52d86641243f3e614ffd60427d198
2022-06-02 10:49:02 +01:00
Gökay Şatır
9e5b8cc943 testing the cherry-pick bot.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Id7a0acaa3aefdcde4a0cf65ccbbf133ac9510a67
2022-06-02 11:01:52 +03:00
Rash419
08969b843e browser: contentcontrol: added picture type
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8ba68253954c9b2052a864c61923d376220861f0
2022-06-01 15:33:47 +03:00
Rash419
0e12c85fc9 browser: contentcontrol: added dropdown type
- added a new menu button 'form' in classic and tab button in notebookbar for content control

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibe06667de39199fd2541fa70ced3ff879274366d
2022-06-01 15:33:47 +03:00
Szymon Kłos
1761e703f9 jsdialog: use correct codes for shortcuts CTRL + char
we should do the same for other modifiers: shift, alt

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I75933194aee82589c787c8c31cc47b66e96e2066
2022-06-01 14:14:32 +03:00