Commit graph

1518 commits

Author SHA1 Message Date
Milo Ivir
1845b64dbd Translated using Weblate (Croatian)
Currently translated at 100.0% (459 of 459 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idc8ef79e9b526d4633cabe7c0efd5e314a4f2c32
2022-09-18 10:01:53 +02:00
Rashesh Padia
f0a92df1a3 Translated using Weblate (Hindi)
Currently translated at 34.4% (158 of 459 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: I45c86158f14f7bdb8c7b746302917e6b05289522
2022-09-18 10:01:53 +02:00
Rob Pearson
5a2e95dad0 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (459 of 459 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (459 of 459 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (459 of 459 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (459 of 459 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: I23208c182c449bab761d782effca8b36aad2da20
2022-09-18 10:01:53 +02:00
Marc Rodrigues
a0d21683e4 Translated using Weblate (German)
Currently translated at 100.0% (459 of 459 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: I8fdc6bc5d959201847ef706a2814e4cb9fe9c0cd
2022-09-18 10:01:53 +02:00
Rash419
4ae16e5ce8 fix: notebookbar, tablets: sidebar toggle icons not visible in online browser
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5ea588e8e9b5b7e189b9d762435b69f3ed399f9c
2022-09-16 21:07:43 +05:30
Andras Timar
5fe6d503c8 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1a9ff8df464b337e2ef1e239cc0593be310f8a42
2022-09-16 12:49:50 +02:00
Milo Ivir
7ee3ea8c2b Translated using Weblate (Croatian)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I23926d262e9bd8b5c755a0eaa53970ee443c7117
2022-09-16 12:48:21 +02:00
HerMin
a6b9c452f3 Translated using Weblate (Korean)
Currently translated at 57.6% (267 of 463 strings)

Co-authored-by: HerMin <jetem@me.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ko/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibcc89f448aa238bce9bb093015630c3a0f822dc8
2022-09-16 12:48:21 +02:00
Gülşah Köse
7179a2d881 Resize cursor width according to browser zoom.
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I15418181394d27cb379d99e7f4c688153ac7a443
2022-09-14 10:18:24 +03:00
Szymon Kłos
ff65e5af7d sidebar: show on demand
Previously sidebar was always active on launch.
This patch together with core fix changes that so
initially it is off and we don't waste resources
for rendering sidebar which is hidden just after short
time.

We don't know the state of sidebar (which deck is activated)
on the core side so in some cases we need to switch decks
in 2 steps: send SidebarShow, and when we received result
we change deck to other one or we do nothing. This allows us
to switch correctly the decks.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib161cae73fd1344d375cb37712c5e805c4d1eefb
2022-09-13 11:29:21 +03:00
Szymon Kłos
999d2ff264 sidebar: move sidebar show action to more generic place
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia4cddadf9d947a0fd76f6d867da9f93c70f743ce
2022-09-13 11:29:21 +03:00
Szymon Kłos
b151cd9a8a sidebar: save state also in notebookbar
we need this state variable set in more generic place
not only in menubar

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I72e100ef91bbe32987ceb1e2bff5903f15c6134b
2022-09-13 11:29:21 +03:00
Gökay Şatır
6405b260d6 Save different sidebar states for Impress.
Remember them on opening if local storage is enabled.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I0c3e4eb65dfc16807d2a9a654d8e71f64341df67
2022-09-13 11:29:21 +03:00
Pedro Pinto Silva
657b193eb9 Tabbed view: Add "Tap to collapse/expand" tooltip
Make the possibility to collapse/expand tabs more discoverable
by adding tooltip to the:
- selected notebookbar tab when collapsed
- selected nb tab when expanded

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib75fc15fed6400557f6413a0d21be5c155fe8571
2022-09-12 17:07:49 +02:00
Pedro Pinto Silva
09abc4159d Tabbed view: center document name in the toolbar
Allow tabs container to grow and shrink as needed so
document name is centered in between that container
and the next element

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8d252478a4ddfdb9362555db6797205369dab57f
2022-09-12 17:07:49 +02:00
Pedro Pinto Silva
e6f407075b Add margin to tabbed view: tabs
This seems quite necessary to avoid missed-clicks between save icon and
File tab and also for white-space needs.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id2bd0e7bc2478684e1cb920cdb917dd43c9acc8f
2022-09-12 17:07:49 +02:00
Pedro Pinto Silva
d0436fb67c Remove notebookbar tab indicators on tablet
These used to make sense in the past, when we had completely
different look and feel. Plus even back then this was not super
elegant way of showing that the tab container is draggable.
Furthermore, currently, the tab container is quite distinguishable
form its parent making it visible that the notebookbar-tabs-container
has more content to show.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6e4c0d5b3bc5e0e21d6cd470446d13b9811846ab
2022-09-12 17:07:49 +02:00
Yunusemre Şentürk
b382fd722c Revert "Attempt to solve FreeBSD issue" and fix freebsd check
canvas module is needed for make check. --disable-werror is
required, because npm canvas module is not available as a
binary package on all target platforms, and it does not
compile without warnings from source.

Signed-off-by: Yunusemre Şentürk <yunusemre@collabora.com>
Change-Id: I03e1d72d96ec0d6863ccd6236223a87ee481eb09
2022-09-12 15:24:37 +03:00
Eric
fc322523f7 Translated using Weblate (Chinese (Simplified))
Currently translated at 69.3% (317 of 457 strings)

Co-authored-by: Eric <hamburger1024@firemail.cc>
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: Ieec42f1d03d8d4748264ad9daa4d1a3b26515be1
2022-09-11 22:28:24 +02:00
Jason Clermont
34026fc507 Translated using Weblate (Chinese (Simplified))
Currently translated at 69.3% (317 of 457 strings)

Co-authored-by: Jason Clermont <lunme1008@gmail.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: Idd85400af6572efd845cc632e90538755dcab461
2022-09-11 22:28:24 +02:00
Rob Pearson
a7c75f17c7 Translated using Weblate (English (Australia))
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifd66b8274768cd777ecbffca0c704fec2b877923
2022-09-11 22:28:24 +02:00
Joan Montané
88133048ef Translated using Weblate (Catalan)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iac63e27a1fb3f1e677dace45424592f984b593d9
2022-09-11 22:28:24 +02:00
Pedro Pinto Silva
8f3ea93d4b Mobile: Fix missing icon on lists within mobilewizard panels
Reuse createIconURL so it runs through the iconURLAliases before
inserting image url

Example: Chart icon

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia87b064c967df00c796d36fee577f4fd0f260a6f
2022-09-09 09:07:10 +02:00
Pedro Pinto Silva
de003ebf08 Add background to all tabs and add space in between them
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I03b8e0dc6298ddc18bad33afa3fef470f8cbe059
2022-09-08 17:10:24 +02:00
Pedro Pinto Silva
ae816b000a Make tabs shorter
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9e787c52c3ea0373eb97453cc7fc3217a87b251b
2022-09-08 17:10:24 +02:00
Pedro Pinto Silva
690be877b4 Remove tab's repositioning
Adding a margin to the first child only when it is selected is not
smart and causes tabs to move horizontally

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I89cb0c0e96cbb990ecdfb633f186ab5ea1c54078
2022-09-08 17:10:24 +02:00
Pedro Pinto Silva
389c747157 Remove hover effect on selected tabs
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3e74899804700f20613597bc48e0669fe09e882a
2022-09-08 17:10:24 +02:00
Andras Timar
b755a175df Embed images to exported HTML
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0e42bf2efcc2aa6ecf3f6705aab621cc1ea18774
2022-09-08 16:21:22 +02:00
Gökay Şatır
b412d61ca8 Attempt to solve FreeBSD issue.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8d3e85ab0b1d590a130569dd74d3c45cade708f5
2022-09-08 10:53:47 +02:00
Skyler Grey
fd0c49a0be Make the repair document dialog into a JSDialog
- The repair document dialog is a leaflet dialog
- As this dialog is online-side only, I'll use the JSDialog builder
  directly rather than writing a UI file
- Most of the code to build the dialogs is already very adaptable from
  looking at the protocol of existing JSDialogs that come from the
  server & where the code goes, however a small change had to be made to
  dialog modifications to allow us a callback function, as otherwise we
  would send off to the server whenever we pressed on a list item
- Finally, if there's no list to show, we'll show a bit of text saying
  that there's nothing, as otherwise it looks like an empty/broken dialog
- If we're on mobile, we'll need to use the alternative helper (the one
  that handles mobile wizard building)
- Fix a cypress test for writer (although impress and calc seem to have
  tests for this too that aren't implemented: this should be handled in
  a follow-up PR)
- Fix mobile tests

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Iab9e943a428e66b05e28819c2ee1001a2deffd2c
2022-09-08 12:52:19 +05:30
Mike Kaganski
d2f06e078c Drop Control.Notebookbar.lastContext
The event object in onContextChange has oldContext

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Ic405edad4c52e51294d5fdfa5e91afa858d0bba7
2022-09-07 14:04:40 +03:00
Mike Kaganski
f018beefa7 notebookbar: sidebar decks in Math
Math is activated in-place, so we need to replace current elements with
Math-specific ones temporarily, on context switch. Application ID is
required for that.

Having previous context in the event itself would allow to drop storing
it in Control.Notebookbar eventually.

For now, only have Elements deck exposed for Math, because Options deck
needs either re-implementation to host everything in itself, or JS-weld
of Math dialogs.

lc_sidebar.svg images were used for .uno:SidebarDeck.ElementsDeck as a
temporary icon, until there's a dedicated image. See also tdf#149144.

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I37dcda962a2a6ff60e301182033384c56615a24e
2022-09-07 14:04:40 +03:00
Mike Kaganski
106cb9b158 Deduplicate getOptionsSectionData
Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Ibb33ddbfa39e22e34de6fccd220da53a4b79b354
2022-09-07 14:04:40 +03:00
Tor Lillqvist
93b4d0db81 Use the name "lok" for the iOS app Webkit message handler here, too
Follow-up to 616e9200d1.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I4d9a77d34c3ae3f45df6bce9afad5c99b2142358
2022-09-07 11:14:25 +02:00
Pedro Pinto Silva
e8fd0168c0 Primary button goes last
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I640d72aef88914d7c045c630dbc2a592ab4c17c3
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
191a012559 Improve 3btn dialogs: don't allow btn to have 0 height
Particularly visible when on mobile and the conflict
dialog appears. Without this change primary button can shrunk.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id27761b53a425d16ab4bd2ef2a801890d899ee69
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
2e863c37ee Don't load btn hover status CSS rules when on mobile
Better to make sure we only use those on desktop. Otherwise,
a tap can trigger undesirable rules (changing bg etc)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I838328a55ee8943eccbbe8d69b99f76640fb3a69
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
11cff31803 Fix button order on newAnnotationVex
Submit button should be last so to conform with the current order
used anywhere else.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id794a608621b88076a80cc7ae8dda1e69512ca4f
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
7be4219d3b Add mobile-wizard-titlebar-btn and remove hard coded rules
No need to target #insert_comment solely
- Add generic class so it can be reused
- Do not absolute position etc
  - Use flexbox

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibeb1c517c5fd45b7a7774203cfa5e2a5210678ea
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
45341ab31e Remove master slides sidebar's btn CSS declarations
Better to inherit from button.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4dacfefa1f551c67e1b00910f25393897f7ccae9
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
1a29f1004a Don't use vex btn default btn CSS classes (rename)
By Renaming .vex-dialog-button-primary -> .button-primary and
.vex-dialog-button-secondary -> .button-secondary

- So we can remove duplicity on CSS buttons
- Easier to set vex primary and secondary button to use our css classes
- This way there is no need to hunt those specific cases down.
- Update cypress tests

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I82f4b33560367805eeeeb5aec9af8d1abd313788
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
e2f15a6888 Reduce CSS selectors targeting buttons
You can now, since 1db5e39ef7 got merged,
rely solely on button-primary and button-secondary class.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic0eb08b443ab6c523d69e50df197eb0d3850fbd4
2022-09-06 17:01:21 +02:00
Gülşah Köse
d78bad959e Stop follow user feature if a key has been pressed by the original user.
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ibfd160fd8fb80a9dfd4c71dfb9a4a2725be48465
2022-08-30 16:48:23 +02:00
Andras Timar
cb01192023 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (463 of 463 strings)

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/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I62217104fd86c8752d7c709130db8ec9a6889cc9
2022-08-29 15:43:20 +02:00
Stanislav Horáček
f57486c807 Translated using Weblate (Czech)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I568502b1fe99337cb8445cfdbea65bd4a73df44a
2022-08-29 15:43:20 +02:00
Adolfo Jayme Barrientos
891a8e368f Translated using Weblate (Spanish)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Asturian)

Currently translated at 15.3% (70 of 457 strings)

Translated using Weblate (Catalan)

Currently translated at 99.7% (462 of 463 strings)

Translated using Weblate (Asturian)

Currently translated at 52.4% (243 of 463 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ast/
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/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic086ba71f95d85b967b14393a0ecdc3754feaf34
2022-08-29 15:43:20 +02:00
Leif-Jöran Olsson
567a14ce3f Translated using Weblate (Swedish)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se>
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: Ic1b6f3eade7b83f1f082d08b54bb6ea1aa14af2f
2022-08-29 15:43:20 +02:00
Sebastiaan Veld
7724e4e67f 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: I48b22c3f66c47206974abb5142c84f76c16a62fc
2022-08-29 15:43:19 +02:00
Martin Srebotnjak
3ba41d3838 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: I9fd122b8fece71a5e29768bf585ccec1ada00c09
2022-08-29 15:43:19 +02:00
atilluF
fdaf9522e4 Translated using Weblate (Italian)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: atilluF <atilluf@outlook.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: I9326fb03b96e4ba9d04ced02e6d79d792483ca4a
2022-08-29 15:43:19 +02:00