Commit graph

2227 commits

Author SHA1 Message Date
Andras Timar
c05c2692ab Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id54db427bce6a7be1e2aea3d82c550b11867ca8b
2023-02-27 15:10:14 +01:00
Pedro Pinto Silva
a60f38e48f Improve You are leaving editor message (open hyperlink)
- Improves modal title instead of generic 'Open Link'(which is
already used in the button) use instead a more informative
tile: 'External Link'
- Indicate to the user that the web page will open in a new tab
as per request:
  - Fixes: https://github.com/CollaboraOnline/online/issues/5893

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia4770d13ed0e5ef4f33aaa85054b0d21bea9e449
2023-02-27 15:05:41 +01:00
Nathan
6bccfb14d1 Translated using Weblate (French)
Currently translated at 99.2% (516 of 520 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: I71a9a45bc5be1ccc4add82aed45a4474d89d7c45
2023-02-27 14:55:50 +01:00
Adolfo Jayme Barrientos
de48496da7 Translated using Weblate (Asturian)
Currently translated at 50.9% (265 of 520 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4a267786aec23f3443a6d88c5769545e9a7dfb4c
2023-02-27 14:55:50 +01:00
Andika Triwidada
6ad1d6e148 Translated using Weblate (Indonesian)
Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib9605858fa020bdcb3444e5ebc081f2672b46b5a
2023-02-27 14:55:50 +01:00
Pedro Pinto Silva
13b1807a7f Compact view: Do not show translate if the respective op is false
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9d8ae8c4585c86b53eff952a96b1494da7197746
2023-02-27 14:38:38 +01:00
Pedro Pinto Silva
76bb99ca1c Tablet: tabbed view: Allow user to go back to read only mode
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7938f042e3d8a49887bd15e4e5e2331bcfff133c
2023-02-27 11:36:21 +01:00
Szymon Kłos
5e3cf57605 jsdialog: show overlay for all modals
All modals shown with uiManager.showInfoModal should
have overlay which helps to focus on modal dialog.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id6f159bba6c6be289dadf666b25bd610f2df0cc1
2023-02-27 10:52:09 +01:00
Pedro Pinto Silva
b1afc5ae3d Accessiblity checker tabbed item should only exist for text doctype
Since the helptab is shared between different doctypes we need to
make sure that writer's accessibility check doesn't bleed out to
other doctypes

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic4d35fe080cbefc2564db1a250dbf6d62274de69
2023-02-23 14:08:49 +01:00
Szymon Kłos
65349e6eae Cancel insert link on map click
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If50ffe68298f575b7e966ff21db09fab9c4a61bb
2023-02-22 17:59:49 +01:00
Szymon Kłos
7e5ef7552b jsdialog: share close method for modals
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Idc1e86998a11f8ddc5c15a3ba9aad3068545931f
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
72c9b2f60a Fix JSDialog input field on Mobile (chrome/mium), no scrolling
This  affects hyperlink text area

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0f98ce5cbd3ecf124141e680fe68d2d5b97d400e
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
7339a9d754 Fix JSDialog input field on Mobile (chrome/mium)
Otherwise they do not fully expand

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idaee2c10be2fd13e99b8d28336ec8738df431adb
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
14a4ed6852 Style hyperlink-text-box so it looks like an inputfield
Hyperlink's text field needs to be a  multiline but that doesn't
look right on 90% of the case. So better to style it as if it was
an input field but keep it as a text area so multiline text selection
doesn't get pasted back as one super long line

Ideally: if the user selects multiple lines and the Ctrl + k it should
concatenate it only for the purpose of presenting it in the dialog but
then the text in the document should retain the multilinear aspect and
be clickable . < - this is impossible to have currently without
over engineering so probably best simply style it differently

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I640f148ffd5bd76592fb30dde5545e2c26eda016
2023-02-22 17:59:49 +01:00
Szymon Kłos
58bcdc36ae jsdialog: convert insert hyperlink from vex
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If09bc53ec3265fe78afec7cb9f38390aabcd537b
2023-02-22 17:59:49 +01:00
Szymon Kłos
61712b10b6 Improve hyperlink edit dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6a46ff07bd84d81ea6644a0b299c08abb97d0127
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
34b4ff6a4e Mobile: spreadsheet: Allow user to define and remove print area
This fixes #353

For now add only the .uno:DefinePrintArea and DeletePrintArea
- Edit triggers a tunneled dialog and thus is not ready for mobile
- Add (allows to add multiple) is should not be added to mobile until
Edit is available

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I27b5377d00080e745aab465da4dd65fffeaa3217
2023-02-22 12:54:26 +01:00
Pedro Pinto Silva
2f314e94c4 Add sheet RTL switch to Calc tabbed view
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8932c149452fba8952824e5313876645093c0074
2023-02-22 11:44:43 +01:00
Aron Budea
e2394b5725 browser: add switch between RTL/LTR to Calc main menu
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I2781b7ff4a0ba4fa93a49ae2d62ba18d35789e52
2023-02-22 11:44:43 +01:00
Bayram Çiçek
21b632d9d4 hide Formatting Marks when on read-only mode
On mobile, the Formatting marks
should not be visible in the hamburger
menu when on read-only mode.

- new menuItem.id added for Formatting Marks
as "formattingmarks"
- the id is added to the switch case so that
it can be hidded on read-only mode

Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: I17098e0cd0b59556ab85d93b51745ff376f6156e
2023-02-22 11:00:07 +01:00
Henry Castro
df095cafaf browser: send ".uno:JumpToMark" command
for internal links.

Change-Id: I5af0677bf9e2f9a2a7559facfe1ff04eab20c673
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Henry Castro
1347bd1c60 browser: enable URL popup internal hyperlink
The popups were enabled only for http or https.

Change-Id: I98b5ecf31faed28cfa91c13a3efb3b32ea5f8b42
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Henry Castro
4da165cfdc browser: extract internal link bookmark
See documentation:

https://wiki.documentfoundation.org/Documentation/Calc_Functions/HYPERLINK

HYPERLINK(URL[; Cell Text])

Change-Id: I9faa330bb0b632d057aa5b191e4fdd9018c8f90a
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Szymon Kłos
4ba872456c Better display of graphic selection
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia214b194a3fc58b23282c84afc95217ea75b0e4d
2023-02-22 09:36:54 +01:00
Szymon Kłos
4111ed6835 formulabar: handle ctrl+a
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9fce315a5bf91239b26b596b233d8874ec5211a1
2023-02-22 09:09:10 +01:00
Szymon Kłos
ab6bf68ce5 formulabar: allow pasting from external source
this fixes regression introduced in:
commit 164b148d6ee6e27acdc1f25aa9c06ef9c39b193a
formulabar: allow copying using keyboard

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7fa5a114daea7a748cb3033a40670b6719a63cc0
2023-02-22 09:09:10 +01:00
Szymon Kłos
ad8f35462e jsdialog: command is better id than text
When id is missing for uno button - command is better source
than text, because it is not translated.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I57d8442b7c826aae6ba5a12c74172871103a3670
2023-02-22 08:48:07 +01:00
Szymon Kłos
e7f77af7bd notebookbar: simplify insert symbol button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib1615525ba702527ec9b7ac7ac98954d1cc02a2c
2023-02-22 08:48:07 +01:00
Szymon Kłos
824f002808 notebookbar: simplify presentation button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia23703365a352a09ca8a8f255d9937b9fb99b433
2023-02-22 08:48:07 +01:00
Szymon Kłos
92007951bc notebookbar: simplify share as button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1b1da8dc83f7880bcd8035b071891dd40db27635
2023-02-22 08:48:07 +01:00
Szymon Kłos
94e2be3e87 notebookbar: simplify revision history button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I524e1768858ce21a7839bde90fd74ce9e69eab7a
2023-02-22 08:48:07 +01:00
Szymon Kłos
c1ef1f6a06 notebookbar: simplify insert hyperlink button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ief7afc1d3583ae138a7e4a8aef59c6eb7dadc7d8
2023-02-22 08:48:07 +01:00
Szymon Kłos
a9a4038b40 jsdialog: keep focus on map when using custom buttons in NB
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2d06c807c098782feb82823a11cb0176782293dd
2023-02-22 08:48:07 +01:00
Gökay Şatır
5f7e385ba2 Remove vex usage from AdminSocketBase.js
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I73192156e7a5a95bf757111db01f95bb38c6e80e
2023-02-22 09:32:04 +03:00
Patrick Luby
5c40ab722a Fix font name combobox style bug in issue #5838
Swap the ID names of the font name combobox elements and don't add the
"select2-selection--single" class.

Unfortunately, this change does not set the height of the font name combobox
to the font size combobox. I made a few tries at overriding the CSS that
sets the height of buttons to 36px but I was unsuccessful.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Iee8b51a114f5a89627c7b83a4c937c71cad4b213
2023-02-21 16:43:29 +01:00
Patrick Luby
eba7746e6f Fix issue #5838 Use unique IDs for font name combobox elements
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Ie7cedf80ed50ca133282b5805ec0e1417ca6846b
2023-02-20 21:33:46 +01:00
Marco Cecchetti
7643a76773 handle incoming mouse pointer style msg
Problem: pointer style was set up for a <div> element wrapping the map
pane, anyway a further <div> element in the middle had the pointer
style always set up to 'text', so any incoming mouse pointer msg had
no effect.
Now the pointer style is set up on the same <div> element.

Moreover I noticed that in writer mouse pointer hovering over an
edited text box had a wrong style. This commit fix this issue, too.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I3f62908b00ab748d19a3651270babb926252fe21
2023-02-20 13:54:14 +01:00
Pedro Pinto Silva
d3518f7fe0 Improve connectors popup dropdown #5418
Fixes #5418

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I12efe479c77ebd4c91ebe50687799da9e695e262
2023-02-17 10:34:10 +01:00
Adolfo Jayme Barrientos
af466f9447 Translated using Weblate (Esperanto)
Currently translated at 74.4% (387 of 520 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I29d3546f6378485d5e9573d025e52557b22fd3c8
2023-02-16 15:22:06 +01:00
Sveinn í Felli
97a1f2320b Translated using Weblate (Icelandic)
Currently translated at 100.0% (520 of 520 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: I26e96be690d5cb0c77ab9e32dcdb5e64887a7495
2023-02-16 15:22:06 +01:00
Alex Gabilondo
9937b4273b Translated using Weblate (Basque)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3da7fec0fe1086a8261437ec4d839dfabc121321
2023-02-16 15:22:06 +01:00
Szymon Kłos
44df504098 Zotero: hide also in compact mode when not supproted
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I277476676546ed7518aadd4d1df7e75573436171
2023-02-16 13:05:29 +01:00
Szymon Kłos
a60fd0f508 Zotero: don't show if integrator doesn't support
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5d8ab1fda1760b038009f0bf13779cddbabfef09
2023-02-16 13:05:29 +01:00
Ashod Nakashian
add1e10447 browser: handle no graphic-selection when showing media
Change-Id: I6760ade82caf4b268955642181b04cfff83b3f4e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-02-15 19:06:18 -05:00
Ashod Nakashian
7bdf97b183 wsd: play media when selected by other views
This fixes an issue with video not playing back
when another view has selected it. We also move
the URL handling to graphicselection, which simplifies
and improves things, albeit at the expense of
unpacking graphicselection payload, which isn't
as clean as one hopes.

Change-Id: I64f81eabf0f0bc850db83233812eaae6d9e036da
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-02-14 12:56:18 +01:00
Aron Budea
698df45bfe browser: Add LTR/RTL text direction commands to Calc tab bar and menu
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I1be5a42b99571309782d6624e6487d6d5817dc57
2023-02-13 16:38:37 +01:00
Alex Gabilondo
abeb9a68c0 Translated using Weblate (Basque)
Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
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: Ie71fa620d383e1801dad311ba437c64664778f14
2023-02-13 10:51:38 +01:00
Ayhan Yalçınsoy
c822989156 Translated using Weblate (Turkish)
Currently translated at 100.0% (520 of 520 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: I3550892302873457383b07dbadbf5e9ea8e5f4a1
2023-02-13 10:51:37 +01:00
Marc Rodrigues
cbd3a91351 Translated using Weblate (Esperanto)
Currently translated at 94.9% (434 of 457 strings)

Translated using Weblate (Esperanto)

Currently translated at 74.0% (385 of 520 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8fc312f16cac74c4568d6f6f8eb5ca94cf9a853f
2023-02-13 10:51:37 +01:00
Andrej Shadura
07fd750116 Translated using Weblate (Slovak)
Currently translated at 89.2% (464 of 520 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: Andrej Shadura <andrew@shadura.me>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I484868c79f02a37af14fba9b39c94214bd0bdce8
2023-02-13 10:51:37 +01:00