Commit graph

2225 commits

Author SHA1 Message Date
SC
5fbffa76c4 Translated using Weblate (Portuguese)
Currently translated at 100.0% (520 of 520 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: I6081620f9c0f0ba2838d225bfd99686b47ef5c9b
2023-02-13 10:51:37 +01:00
Gülşah Köse
3014cb9ede Prevent double feature unlock dialog
If we have already a feature unlock dialog open, don't let open the
second one.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I7c7235bc1a64c48ba69f11d0599bbb9839b7fe71
2023-02-13 10:14:34 +01:00
Szymon Kłos
4aeed8fb8c jsdialog: implemented language dialog
- unified menus in notebookbar
- unified 10 favourite languages and More... button
  in statusbar, menubar and notebookbar
- dialog for "more..." languages

This helps with LanguageTool where we have available
lots of languages and list cannot appear fully on the
screen.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I90c59ee4e7abdafc5b81e8ca8aaa89745effb467
2023-02-11 09:53:36 +01:00
Szymon Kłos
a4099c6675 Keep list of languages in app properties
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4557e436847fef82023a63925ee1e849bc44114d
2023-02-11 09:53:36 +01:00
Szymon Kłos
0c10ed7a11 Move language selector to separate file
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0c327b42ce381cb0be3aac5a3a6a995d15831421
2023-02-11 09:53:36 +01:00
Andras Timar
ba48f2917c l10n of Translate button of Writer's notebookbar
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I46f723fc91a28be352044c2d92a4b93e74e1e047
2023-02-08 08:22:49 +01:00
Adolfo Jayme Barrientos
9d84ff75ca Translated using Weblate (Spanish)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
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: I67426725382fa0e120e8d7c1cd848717cd8d3bd0
2023-02-08 07:50:38 +01:00
Milo Ivir
0266848a1b Translated using Weblate (Croatian)
Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (Croatian)

Currently translated at 99.8% (519 of 520 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: Iee1a37f505b89db8a5962f3393b6dd1dd6345130
2023-02-08 07:50:38 +01:00
Martin Srebotnjak
52dccc0305 Translated using Weblate (Slovenian)
Currently translated at 100.0% (520 of 520 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: I9f2868b3d12c91c6a5e61ca89df67b47c75457d8
2023-02-08 07:50:38 +01:00
Quentin Pagès
b2d3c875b7 Translated using Weblate (Occitan)
Currently translated at 53.6% (279 of 520 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Quentin Pagès <quentinantonin@free.fr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/oc/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9f004194e633044ccf1924443549b20cc4c1712c
2023-02-08 07:50:38 +01:00
Sebastiaan Veld
103baa9b0e Translated using Weblate (Dutch)
Currently translated at 100.0% (520 of 520 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: Ia65f4861dc18f4eb152d5039fc992498cab11fda
2023-02-08 07:50:38 +01:00
Rob Pearson
c4be282bc6 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (520 of 520 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: I994d14fde07325dd63eea8cf0cdd00c0d416c311
2023-02-08 07:50:38 +01:00
Stanislav Horáček
96abd33b71 Translated using Weblate (Czech)
Currently translated at 100.0% (520 of 520 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: I9286e536973de6ce18d2e4d44c3bee382ab579ad
2023-02-08 07:50:38 +01:00
Ihor Hordiichuk
294d99fd84 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (520 of 520 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: Ia044752498853cffd6477279823cc81da22ad13c
2023-02-08 07:50:38 +01:00
Matthaiks
ffe116cf3a Translated using Weblate (Polish)
Currently translated at 100.0% (520 of 520 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: I421eaf07b5df4c4c31e64ae7a1e86d6c990b38fe
2023-02-08 07:50:38 +01:00
Andras Timar
c4d9c9ec7c Translated using Weblate (German)
Currently translated at 100.0% (520 of 520 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
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: I32d63db785227e5eb6e27b764c10d45ebb049e90
2023-02-08 07:50:38 +01:00
Yaron Shahrabani
d981516000 Translated using Weblate (Hebrew)
Currently translated at 100.0% (520 of 520 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: I25c84f822dca4038387b4c099059cd03761b12d1
2023-02-08 07:50:37 +01:00
gallegonovato
5dd53ee870 Translated using Weblate (Spanish)
Currently translated at 100.0% (520 of 520 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
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: Ifc6bcbc7a5ebfb0829526898d85a0d92a7ba8fb6
2023-02-08 07:50:37 +01:00
Joan Montané
abc2dc7721 Translated using Weblate (Catalan)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Catalan)

Currently translated at 99.8% (519 of 520 strings)

Translated using Weblate (Catalan)

Currently translated at 97.6% (508 of 520 strings)

Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If803a571e5453daf90f3be7cb98dbe3fbff7c4ee
2023-02-08 07:50:37 +01:00
Andras Timar
3e67787fea Update UNO command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I71f8a276692db0da2e3b6577ccb7a6f391425083
2023-02-06 21:49:53 +01:00
Tushar
9a33c3b8f0 solves toggleMenubar wrong icon. Fixes issue #2816
Signed-off-by: Tushar <tusharbarman123@gmail.com>
Change-Id: I0cbbd1653ff49beb12fc51ebd8b9d66b532ca406
2023-02-06 10:38:55 +01:00
Gülşah Köse
bb99f6ee7d Set inital focus widget for repair dialog
Without this change focus is on sheet and ESC does not close the dialog

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ib60e681726393c67b38101d6eb48e3693ba156e3
2023-02-06 10:45:38 +03:00
Andras Timar
147a59f925 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7003ea0859e4b754bbce60a14e4d95dfcb28564f
2023-02-03 12:50:59 +01:00
Andika Triwidada
97b107498a Translated using Weblate (Indonesian)
Currently translated at 100.0% (518 of 518 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I832a7d6c8c3d85418b336b643f32af4abc64ea6c
2023-02-03 12:48:04 +01:00
Ihor Hordiichuk
56327ae934 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (518 of 518 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: I2d7c209a16220160d9518805002d0161901d950f
2023-02-03 12:48:04 +01:00
Martin Srebotnjak
c71e03b07b Translated using Weblate (Slovenian)
Currently translated at 100.0% (518 of 518 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: I47c59b68a1bb29dde4a7d3b89f190de8ba353469
2023-02-03 12:48:04 +01:00
Matthaiks
e755eb8911 Translated using Weblate (Polish)
Currently translated at 100.0% (518 of 518 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: I48653dbd7d23e60ee08784dd3a30cbfb6d4c4427
2023-02-03 12:48:03 +01:00
Sebastiaan Veld
184f19950d Translated using Weblate (Dutch)
Currently translated at 100.0% (518 of 518 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: I09ba302b0091ada6cd7b38f6673463011082be29
2023-02-03 12:48:03 +01:00
Sveinn í Felli
1826ea75fa Translated using Weblate (Icelandic)
Currently translated at 100.0% (518 of 518 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: I227d6a0b28ebe105a4a89eca36a741fda2234037
2023-02-03 12:48:03 +01:00
Andras Timar
e91ffb9c4b Translated using Weblate (Hungarian)
Currently translated at 100.0% (518 of 518 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: Iac9833a188f1edb8299367a71c73e4d2fb2fbc92
2023-02-03 12:48:03 +01:00
Yaron Shahrabani
c5a18a509d Translated using Weblate (Hebrew)
Currently translated at 100.0% (518 of 518 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: Ic8b0735ef9b23592c3f44be65f0b8ed45059b9d5
2023-02-03 12:48:03 +01:00
gallegonovato
94f7ec7150 Translated using Weblate (Spanish)
Currently translated at 100.0% (518 of 518 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
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: I757a2030249646208c3cc7a92171d773cccaef9f
2023-02-03 12:48:03 +01:00
Rob Pearson
6915d97f1e Translated using Weblate (English (South Africa))
Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (518 of 518 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (518 of 518 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: Ie0d609355aa8b03ca3ed8abbc2dae3760066caa7
2023-02-03 12:48:03 +01:00
Stanislav Horáček
1f2faeedf7 Translated using Weblate (Czech)
Currently translated at 100.0% (518 of 518 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: Ie14ee99591736fc8043948cf8c03a09157579a31
2023-02-03 12:48:03 +01:00
Szymon Kłos
23082d8db1 jsdialog: handle standard responses in messagebox
we need to use containerHandler to get response bindings

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8d38020ac3fcf889932c1cbd16005dd06f609e27
2023-02-02 11:43:34 -04:00
Pedro Pinto Silva
3199ab9afb Fix the insertion of ghost hyperlinks
Before this commit, if the user would choose to insert a link
without text value (maybe plans to add the title later)
or when the user forgets completely to insert the text value
the hyperlink dialog would disappear and no hyperlink would be inserted.

If the text is inexistent -> take the hyperlink itself as the text value

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4487d3f3c6084e1da11d042d5e6930d4f772d652
2023-02-02 10:31:46 +01:00
Pedro Pinto Silva
ccc90c2403 Do not error out when inserting empty hyperlinks
Plus always good to inform the user of what is happening

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia9a85062f525139f716669e9cdacf444d6055274
2023-02-02 10:31:46 +01:00
Pranam Lashkari
a8cd0ef8ab feature locking: fix custom uno command handling of menu items
adding 'uno' field to menu items broke some custom feature handling
removed '.uno:' from the command and if uno field is missing add lockUno field

it is a revert of a6cc06a with some additional changes

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1cce37c0d943be5f2cd1ec53f363fbbd73464ac8
2023-02-02 09:25:33 +01:00
Szymon Kłos
a135af0db4 Show error when user not provided extension for export file name
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ida96cc7b972ba1b72f596319bcc8129d6218fd92
2023-02-01 12:16:12 +01:00
Andras Timar
1f503b8681 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I92a7619a862fc36085a3964f4836600bf174b328
2023-02-01 00:11:22 +01:00
Pranam Lashkari
4a33dfc1eb zotero: fixed setting browser cached language for citation unintentionally
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4ac11900b0f000e3acd4cb4dc1768852d133e85b
2023-02-01 00:03:21 +01:00
Pranam Lashkari
7cc870d8fc zotero: show warning citations storage type can't be changed
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I76c6ea8989ac9c5496fc497be5e56fab1d44b1ee
2023-02-01 00:03:21 +01:00
Pranam Lashkari
e9a885d32f zotero: introduced support for endnote and footnote citation
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I8429e81c58e72e846ce39de47e883ab6c96c8ebe
2023-02-01 00:03:21 +01:00
Besnik Bleta
f7c650c5b2 Translated using Weblate (Albanian)
Currently translated at 99.0% (109 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 0.0% (0 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Albanian)

Currently translated at 50.1% (229 of 457 strings)

Translated using Weblate (Albanian)

Currently translated at 15.0% (69 of 457 strings)

Translated using Weblate (Albanian)

Currently translated at 96.8% (493 of 509 strings)

Translated using Weblate (Albanian)

Currently translated at 14.6% (67 of 457 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sq/
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: I7c421af6ce5301b420b3422984e0aba7f544133c
2023-01-31 22:46:30 +01:00
Matthaiks
f7749d2509 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/help/pl/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdb044737bb89cb72f201b31935c64aff2c10d05
2023-01-31 22:46:30 +01:00
Marc Rodrigues
f88023fd0d Translated using Weblate (German)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (German)

Currently translated at 100.0% (509 of 509 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie2748b3550aae618c0033cbc8decddb74592cfc8
2023-01-31 22:46:29 +01:00
Milo Ivir
16d6c41125 Translated using Weblate (Croatian)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (509 of 509 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/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I31259145559ea3ad50d42de491e6b809a1d4cb7c
2023-01-31 22:46:29 +01:00
Szymon Kłos
f5b1aa8f43 calc: allow to select mutliple columns using mouse
click and drag mouse pointer on row/column headers to
select them in calc

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3d62269692ffe47269bd6b7db04175c0cdcfb4bc
2023-01-31 15:54:06 +01:00
Szymon Kłos
a523aba4ba formulabar: allow copying using keyboard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I59c9ee634c4799be421649f99fca3c9be6656781
2023-01-31 15:53:07 +01:00
Szymon Kłos
f290a0829a jsdialog: allow arrow up/down navigation in multiline edit
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1e8ace0c0dae2e06f8d64788b9316e6e1914d7ab
2023-01-31 15:52:17 +01:00
Szymon Kłos
8bc3ed7d54 jsdialog: don't use jQuery in multilineedit
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1808693c3e9b10d533a60e59f55ac293239235dd
2023-01-31 15:52:17 +01:00
Szymon Kłos
96230dddec jsdialog: move multiline edit widget to separate file
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie47125930166ac966d057cd48c8e91b43f781bee
2023-01-31 15:52:17 +01:00
Ashod Nakashian
0f9dc9460b wsd: support per-user timezone
Change-Id: I5e2318a34cb39d8d56ec3cf4977ebd75588a7627
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-31 15:38:08 +01:00
Rash419
7e06860ddf js: get full uri from indirection server
instead of just routeToken

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I3755fc2536d4358d2c63effdc9e9f9e5da246504
2023-01-31 15:32:30 +01:00
Rash419
2529fa9ee2 notify client when route tokens get updated
- once client get notification it will update the routetoken
by refetching it from indirection url endpoint
- added support to configure indirectionurl enpoint using
remote config

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iead22af56c655bdece6b70cc4e97a1fa401b1bae
2023-01-31 15:32:30 +01:00
Rash419
b9914a3042 js: added routeToken as parameter in wopisrc
fetch route_token from indirectionurl and add them in wopisrc
parameter

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6e724d0c59e12d4f7f6c125ec076e90d20b9b3c8
2023-01-31 15:32:30 +01:00
Pranam Lashkari
c7dcca6a16 zotero: added warning for unreachable citation items
In cases where zotero item is added by a user and another user opens the doc,
if the new user does not have that item in the database, he may fail to do activity related to that item,
so we warn the user when we are setting up the zotero

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I9056f38334cb8d9b127ddb594adb083d25bd4472
2023-01-31 09:51:17 +01:00
Pranam Lashkari
321e27b8fc zotero: extracted repeated code into a function
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I6240558e67682b8a00d7c23437523a7170211545
2023-01-31 09:44:41 +01:00
Pranam Lashkari
26744fe861 zotero: added support for uncited and omitted bibliography
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I7d19db38e468da8f405b1d618a60dc3c9231a42b
2023-01-31 09:44:41 +01:00
Gökay Şatır
13387b8df6 Enable deleting page / part with keyboard after a preview is clicked on.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Icffb947bbe0fb11326a9f5478aec16912248fe0a
2023-01-31 09:40:54 +01:00
Gökay Şatır
2c8cf5bc96 After one the previews is clicked, allow using the arrow keys for navigating between previews.
Left and Right arrow keys are also allowed.

If user presses one of the other keys, focus will be set to map again.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3786ed4b9ef04deb7e3e05f157843fc30f3dc76e
2023-01-31 09:40:54 +01:00
Gülşah Köse
7c3035b2ed Keep focus on map after hyperlink dialog closed
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I9b74978f7778a9772f69e0d3ad982945cd646120
2023-01-31 09:38:20 +01:00
Aron Budea
5947c08302 browser: Make navigation shortcuts work in read-only mode
F5 for slideshow, too.
Regression from 47c52b90f3

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I056703f575460076693b245f790c7284854162be
2023-01-31 09:36:05 +01:00
Balázs Varga (allotropia)
ceb1ba5668 WASM: Copy all the necessary files from builddir\wasm
to browser\dist, otherwise it has to be done by hand after every
wasm build.

Signed-off-by: Balázs Varga (allotropia) <balazs.varga.extern@allotropia.de>
Change-Id: I46c432116d0d42016dfc1573009d284f82c52114
2023-01-30 13:26:59 +02:00
Pranam Lashkari
e6e4aad796 zotero: restric user from changing field type
if document contains existing zotero citation,
restrict user from changing the field storage type.

currently online does not have any ways to change the field type
maybe in future we can add some core APIs to support this

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I58caf403744431d34344f5a1cb635781409d7e68
2023-01-30 10:34:33 +01:00
Szymon Kłos
61e76e0b0b jsdialog: convert delete slide modal from vex
can be found in menubar -> slide -> delete

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I04db9d5a071a229c1a964c3c512582eff05256bf
2023-01-30 09:02:48 +01:00
Paris Oplopoios
aea0ea0582 browser: Add page number wizard to compact insert menu
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Ibb92c17894166276c0e0ef33736522b282fea993
2023-01-29 12:52:33 +01:00
Tor Lillqvist
81c4adb199 Use branding.css also in the EMSCRIPTENAPP case
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I832414864130b9baa1ce7577b3006c7c37dc14eb
2023-01-29 12:45:28 +02:00
Tor Lillqvist
cee9bf493a Change hardcoded sample document name and verify that we get it
You now must pass --with-wasm-additional-files=<path> where path
contains a file called sample.docx.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I21e62feb6282833a5d60b31db26328eda63cdaea
2023-01-29 06:56:08 +02:00
Tor Lillqvist
38171388c8 Make the temporary "WASM app" work
Now I hope things are initialised in the right order and the plumbing
gets set up so that messages are passed as expected. It seems to work
most of the time.

Main changes are:

  - The online WASM executable is built using the -s MODULARIZE -s
    EXPORT_NAME=createOnlineModule options. This means that the WASM
    runtime is not automatically initialized and the main() function
    is not automatically started. Only when the createOnlineModule()
    function is called is that done. Calling exported C/C++ functions
    is a little bit more complicated.

  - Code to actually Base64-encode strings to be executed as
    JavaScript when expected is now present in wasmapp.cpp. (After
    being passed through the Base64ToArrayBuffer function on the JS
    side.) Whether this is actually necessary is not fully clear, but
    to keep the code similar to that in the GTK, iOS, and Android
    apps, this is kept as such for now. It would probably work fine to
    just directly create the ArrayBuffer in the C++ (using the EM_ASM
    magic).

  - The COOLWSD::run() function is now run in a separate thread so
    that main() can return.

  - The FakeWebSocket's onopen() function is now called from
    innerMain(), where the HULLO message is sent. It remains a bit
    unclear if this really is the ideal place.

    In the mobile apps the HULLO message is sent and the onopen()
    function is called in the window.socket.onopen() function in
    global.js.

    But note that despite that the WASM app and the mobile apps are
    largely quite similarly constructed and the FakeSocket and
    FakeWebSocket plumbing is the same, there is an important
    difference. In a mobile app the C++ code is what runs first, and
    that then loads the HTML page into WebKit, in which the JS
    runs. In the WASM app it is the other way around. The web page is
    naturaly the one that is loaded and the JS code then starts
    running the C++ code as WASM.

Finally, note that the whole concept that there is a separate "WASM
app" is temporary.

What we eventually want to achieve is that the COOL webpage upon
loading will connect a COOL server. As it does currently. The COOL
server runs the online and core C++ code to load a document, and
renders document tiles and sends those to the client JS code to
dispay.

The new thing will be that, if enabled, in addition to the HTML and JS
resources, the client will also download the WASM code and data
resources. Also, the document and updates to it will be downloaded
while being edited so that a copy can be kept in client memory. But
the WASM code and the downloaded document will remain unused most of
the time. Only if the connection to the COOL server breaks will the JS
start running the WASM code and the JS will talk to online code
running locally as WASM instead of to a COOL server. Obviously there
are still lots of things hanging in the air here regarding how exactly
this will work.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ib1786a0b485d51797b0f2302d4296aa1ff9df5c1
2023-01-28 22:04:39 +02:00
Tor Lillqvist
84963dafd1 Temporarily hardcode the document URL and UI lang for WASM in more places
(Note that the existence of a window.ThisIsTheEmscriptenApp property
is also a temporary hack; the eventual goal is for a one same Online
webpage to be able to switch automatically from server-based to
WASM-based and back based on connectivity to the server.)

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ia5e3f4008eaaf1543c08482418635dca0d3983e5
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2023-01-28 10:30:26 +02:00
Tor Lillqvist
6514e01da2 Hardcode window.userInterfaceMode to notebookbar for EMSCRIPTENAPP for now
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I79611e982de2d49b125d7c887081385c6597a028
2023-01-27 22:56:56 +02:00
Gülşah Köse
83336a491f Keep focus on sheet on empty navbar and notebookbar clicked
When we click empty part of navbar or notebookbar bar, focus
should be on sheet. There are some wide containers
(eg document title) and they looking like empty area. Clicking
there makes lost the focus. Here we add aditional conditions
to check if user cliked that empty looking areas.

Without this patch, focus is on browser itself and CTRL+S
saves the HTML instead of current document.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I3a94c2d66dc093475e6674543b36b2c6905df2c0
2023-01-27 15:07:52 +01:00
Pedro Pinto Silva
610a62be6d Sidebar: Fix to allow ratio to span across columns
There is an element displayed as a column before ratio
and we then hide it which is fine but, when ratio label
becomes to lengthly (Seitenverhältnis beibehalten) it then
gets cropped due to lack of space.
- Make it span across columns
- Do not align to the end
- Remove left margin from checkbox

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I02ec7a608c0b330a52fa70db3b453fe04fefa805
2023-01-27 12:53:26 +01:00
Szymon Kłos
ae06a2db8b Add export to PDF & EPUB in menubar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4364dae88fa6943381137a554d3bde12be8a376a
2023-01-26 18:23:18 +01:00
Szymon Kłos
6510e42f8e Include PDF and EPUB in Get_Export_Formats_Resp
After rework to grouped download as and also export
entry fro PDF and EPUB - these formats were not included.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I91e5b25823017a3164fef2b63b2552e9893cf0b0
2023-01-26 13:06:57 +00:00
Szymon Kłos
3285ea6cae Don't show pdf export for readonly templates
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0f67eb0ccd31f135da7f416b038cd7ca547fb290
2023-01-26 13:06:57 +00:00
Szymon Kłos
502c3de01d Add export as epub
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I49c152b3dda6d156b65221cfac2a06f7b79b0547
2023-01-26 13:06:57 +00:00
Szymon Kłos
b0dd943089 Add export as pdf
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I61853fb2213e57acd02d7a3eee53e86f43cb36b5
2023-01-26 13:06:57 +00:00
Szymon Kłos
93e0641fd0 Use dispatch for downloadas and saveas
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7f75e4a632dcce0c5c086ab570d2f3877f717f52
2023-01-26 13:06:57 +00:00
Tor Lillqvist
9e81cdefde Stop using Qt
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Icb7c280c20ed02ef5840272a0e979e1446af2b56
2023-01-26 10:02:29 +02:00
Pranam Lashkari
f626f9b723 zotero: zotero: handle section deletion
this also helps in case of undo

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ib14b1772a7bfd2f9de0c0bb065c5f596c48c94b0
2023-01-25 16:56:35 +01:00
Pranam Lashkari
bcf1f0fbc7 zotero: handle bookmark deletion
this also helps in case of undo

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I51cf51cab25569a43761fe81a068e608fa8d9601
2023-01-25 16:56:35 +01:00
Pranam Lashkari
d0737222e9 zotero: handle refmark deletion
this also helps in case of undo

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I14154724c55c2648aace493503be92180c7aa961
2023-01-25 16:56:35 +01:00
Pranam Lashkari
b5d24834f1 zotero: handle fieldmark deletion
this also helps in case of undo

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I880fa4589f4b40e3f7733ff59f3c6866f82db899
2023-01-25 16:56:35 +01:00
Pedro Pinto Silva
f051b62e35 Fix checkbutton label vertical alignment and spacing
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib32dfe4f7f2b0f8bb0b22434696143924f4fef17
2023-01-25 12:50:31 +01:00
Pedro Pinto Silva
b33a0c017e Sidebar fix cropped checkbutton label
In some languages (de) some labels were being shifted and ultimately
cropped due to their length. Example: Using German; selecting an image
-> the 'Seitenverhältnis beibehalten' was being cropped

Remove padding for those labels when on the sidebar

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4097268682a1890543c9d2a8107e621ea15335c9
2023-01-25 12:50:31 +01:00
SC
230da39a9a Translated using Weblate (Portuguese (Brazil))
Currently translated at 91.4% (418 of 457 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt_BR/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I987330a2af4a95a55d1c91e78d2a414309a94e71
2023-01-25 10:00:32 +01:00
Rob Pearson
e73cc059bf Translated using Weblate (English (South Africa))
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (509 of 509 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (509 of 509 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (509 of 509 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (509 of 509 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
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/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I823c8e8cf4ee0d25e865a7a73529769e0c5cf43b
2023-01-25 10:00:32 +01:00
Pedro Pinto Silva
f65cf558de Translated using Weblate (German)
Currently translated at 95.2% (485 of 509 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/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4d48de3ce4c5964959a06d6b54b56fced87e87f
2023-01-25 10:00:32 +01:00
Gökay Şatır
e4b9cfba2d Fix group headers while split panes is active.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If2d7363c40fff420af4e4aabd4c8dc4328c28a59
2023-01-25 09:32:08 +03:00
Gökay Şatır
b385b72462 Start group loop from beginning or first group won't be included.
Therefore, head won't be drawn.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I2200ca8a76dab01b5c019eb38c0bd3e822545b44
2023-01-25 09:32:08 +03:00
Gökay Şatır
c1624571ac Fix group header drawings (Calc).
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I2ca7300ae097f8c6bc9fe7ae469b4a64dd656b53
2023-01-25 09:32:08 +03:00
Pranam Lashkari
48b893ca2c zotero: added unlink citation support for section
sections are used to represent bibliography when citations are used as refmark

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4094cf053cb3fe1c86eb7f7f0a95816fb51fa8c7
2023-01-24 19:45:57 +05:30
Pedro Pinto Silva
3d7cfce80e Fix DE translation for References menu
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8cb65493d104c601f546b302ca16668f129bd780
2023-01-24 12:21:32 +01:00
Pranam Lashkari
50f0f025f2 zotero: fixed bookmark insertion
fixed regression: user was note able to insert any citations as bookmark

This also reduces number of queries to find the citations under the cursor

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I40148e61a0109e5a807b50ea0121ab623bc41e4d
2023-01-24 16:22:50 +05:30
Pedro Pinto Silva
5068a79213 Fix w2ui menus appearing with unnecessary scrollbars
Before this commit, on chrome/mium, menus such as
image or save as in the tabbed view (and with the browser zoom
set to bellow 80%) were being displayed with scrollbars.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id32e86229fe5d7aad293d24a20c9bfa555fbe78b
2023-01-24 11:52:29 +01:00
SC
f234e2b5e0 Translated using Weblate (Portuguese)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (509 of 509 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I32139365ec17589f099f08291b0e24882343731e
2023-01-23 19:14:14 +01:00
Sebastiaan Veld
7ab5070c1a Translated using Weblate (Dutch)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (509 of 509 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/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If603c904cc76065eb1dc82799d505295be7298ab
2023-01-23 19:14:13 +01:00
Sveinn í Felli
97fa972359 Translated using Weblate (Icelandic)
Currently translated at 100.0% (509 of 509 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: I40ee38e6a991127697009b31b0320f25cc570762
2023-01-23 19:14:13 +01:00