Commit graph

4622 commits

Author SHA1 Message Date
Henry Castro
87ff57fe5b loleaflet: import json2.js library
The file was imported from node_modules/json-js/json2.js
the main reason is to analyze the source code, debug and patch
if necessary

To get the source code from npm repository

	make libs

Change-Id: I7d80646704b368f6961c75f1dabaabecde2527e6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89146
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-20 18:32:48 +01:00
Henry Castro
a75c8f3e71 loleaflet: import select2.js library
The file was imported fromnode_modules/select2/dist/js/select2.js
the main reason is to analyze the source code, debug and patch
if necessary

To get the source code from npm repository

	make libs

Change-Id: Ibe0fd718d1dd6157d463a304c56fd6475821a0eb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89110
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-20 17:37:14 +01:00
Aron Budea
c5f7a503f6 Revert "tdf#121457 Move "Fullscreen Presentation" to "Slideshow" menu"
This reverts commit 52775325f5.

Slide Show menu had a single item, and Slide menu only had a few.
Revert in favor of saving on menu width for now.

Change-Id: I81f0f96849e3eeaf571611d059325d72b85ec334
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89040
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-02-20 15:03:00 +01:00
Henry Castro
05d433b500 loleaflet: import vex.combined.js library
The file was imported from node_modules/vex-js/dist/js/vex.combined.js
the main reason is to analyze the source code, debug and patch
if necessary

To get the source code from npm repository

    make libs

Change-Id: I59e466e925d43bf4c599305898c656f69ec195d9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89099
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-20 14:51:54 +01:00
Henry Castro
5cc7ba2d77 loleaflet: import sanitize-url.js library
The file was imported from node_modules/@braintree/sanitize-url/index.js
the main reason is to analyze the source code, debug and patch
if necessary

To obtain the source code from npm repository

make libs

To bundle the file sanitize-url.js

browserify braintree-sanitize-url/index.js --standalone sanitizeUrl > sanitize-url.js

Change-Id: I7869a1349648ae1f8f2194859ebb398b1a73733e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89055
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-20 13:20:44 +01:00
Michael Meeks
c07f45e4e5 wizard: hide styleupdate as well as stylenew.
Also hide calc style panel for now: incomplete.

Change-Id: I46fee97f5d029860a12e5f7215d830091c5f9bf0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89068
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-20 05:21:51 +01:00
Michael Meeks
6197b25959 mend removal of adjacent jsdialog wizard items by name.
Change-Id: Id91a58cde7581d23aeb82a95f26a1c0e1352e411
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89067
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-20 05:03:16 +01:00
Tamás Zolnai
20b5825ce5 cypress: mobile: Avoid render the same mobile wizard twice.
We get the sidebar's content twice when we open
the mobile wizard. It makes some tests to fail
randomly. I have no idea whether this causes other
issue or not. So let's use it only for cypress now.

Change-Id: I8a43b493934aaebfa52aa230ded228ac4b9bd064
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89025
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-19 22:20:09 +01:00
mert
d21a13e76e Fix slide-sorter behaves like desktop on larger screen phones
Change-Id: Ief2a5278b901970378a84dc4a2f528f885e1cd06
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88093
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-19 18:11:22 +01:00
Pedro Pinto Silva
843717485a mobileWizard: remove unnecessary paddings (fixed overflow)
Change-Id: I16e239bc132d779e63d60229472103720eec7500
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89051
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 17:44:58 +01:00
Henry Castro
8ce1846e5e loleaflet: import l10n.js library
The file was imported from node_modules/l10n-for-node/l10n.js,
the main reason is to analyze the source code, debug and patch
if necessary

To obtain the source code from npm repository

make libs

Change-Id: I7bd4d400c504f57a94566e187c6d26361aed8bd0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89043
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-19 17:32:10 +01:00
Pedro Pinto Silva
28f076d694 Mobile: mobileWizard: Add hover/active state to spinners and Fix horizontal overflow
Change-Id: I4b3b6cd6f8fe99d7de5987dfea0013639bad946a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89042
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 16:28:17 +01:00
Andras Timar
207075f82c localize the buttons on 'Rename sheet' dialog
Change-Id: I6470deb2cfa93d59ebb612d223bb2829a6cea75e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89026
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-19 16:04:48 +01:00
Pedro Pinto Silva
f439771c3d mobileWizard: make currency icon monochrome to follow the same style the other present options
Change-Id: Iae20c5b924e400d548e5fb1985b7d60d854db9d6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89027
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 15:31:36 +01:00
Pedro Pinto Silva
6070fd1277 Mobile: Vex: primary button: follow the same style as the button in the mobileWizard
Change-Id: I7502de057122843d040ef1469c40815ce19e7178
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89022
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 15:12:35 +01:00
Pedro Pinto Silva
6cd4029385 Mobile: Hamburger menu: Fix alignments and
- Impress top position
- images position

Change-Id: Id3a5abc1c423169cb9f3d1bcb912171d1101c559
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89019
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 14:40:21 +01:00
Pedro Pinto Silva
116e3f74c7 Mobile: Toolbar up: Fix dark border when long press on any item and add hamburger press state
Change-Id: Ic2472ffd8e03463f56d7850d05d3ef5564093202
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89004
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:26:08 +01:00
Pedro Pinto Silva
00bed8db5b Mobile: mobileWizard: input field: fix inconsistencies between browsers
Change-Id: I6c8d196952765c3018c8d00595d3fef9a93c23f7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89000
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:25:42 +01:00
Pedro Pinto Silva
164ae6d9be Mobile: add active, focus status to elements, add missing downloadasicons, fixes
- mobileWizard: force row elements to be full width and adjust accordingly
- edit FAButon: add press state and transition
- mobileWizard: fix white space that sometimes appears between header and content
- mobilewizard: make better use of space
- mobilewizard [non tab layout]: make use of flex to place content full width and aligned to the center
- Calc: mobileWizard: remove unecessary labels (format: NumberFormatCurrency, NumberFormatPercent, numberFormatDecimal)
- Calc mobileWizard: Fix placement of NumberFormat buttons
- Hamburger Menu: Fix positions
- Hamburger Menu: add missing icons under download as
- mobileWizard: make sure some labels do not wrap into a second line
- mobileWizard: make use of percentages instead of px regarding margins
- reduce svg size

Change-Id: I10e46a88cf04afe02cafa6d10931daee119be27b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88970
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 09:12:36 +01:00
Henry Castro
f14fca607c loleaflet: mobile: set default preview images
using window.mode.isMobile() is used
small screen devices, and window.mode.isTablet()
larger screen devices.

Define a default preview image for all devices

Change-Id: I623c9851d53503108e6eba2c5b8df18aeca33d24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88992
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-19 03:30:24 +01:00
Weblate
4ddf38bb06 update translations
LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.6% (356 of 416 strings)

Change-Id: Idf0d944db0a3b02b07d43395001ee1837bcc6f3a

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.6% (356 of 416 strings)

Change-Id: I1c347a8951f86cdafd06a86ee76137adc37240d3

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.6% (356 of 416 strings)

Change-Id: I8e738a218359344df14b7bb08358fdba3d17c8f6

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.6% (356 of 416 strings)

Change-Id: I84e9506f7f828471ff9ae9da8da4e8302418f89e

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.6% (356 of 416 strings)

Change-Id: I5395612a69c7b3e3d05f497a17afc261716afe3a

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.3% (355 of 416 strings)

Change-Id: I8da8f25a4e94fc2fb7b700547c4a0c4a9a9a2b78

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 85.1% (354 of 416 strings)

Change-Id: Iba6009b13b4d57946563e278152358dca7363512

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 84.9% (353 of 416 strings)

Change-Id: I62e955da3e37a5933320455112793455332cd901

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 84.9% (353 of 416 strings)

Change-Id: I7183916354b0ae1d8b597c1bca34f4cf56602956

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 84.9% (353 of 416 strings)

Change-Id: I7f1d3969a33691e05a644e300a180622524f95d6

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 84.6% (352 of 416 strings)

Change-Id: I6984f72e555bbe736037c6c9f48a4a66e52aa0c3

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 84.1% (350 of 416 strings)

Change-Id: I8625a04dc774beeca8ec22d880de91f2cc9f315c

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 83.9% (349 of 416 strings)

Change-Id: Id40a3bfdbabc3deb54a9d8eea8469193057ae195

update translations

LibreOffice Online/android-app (Chinese (Traditional))
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I1d578a7e627cf13f81228ac56f9682bbf8ceedc1

update translations

LibreOffice Online/android-lib (Bulgarian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ib782f795f785e9eab81afc13d722fbdae5172c6d

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 98.6% (283 of 287 strings)

Change-Id: Ibefad85c906286000aaeb34010b681a9f815c35a

update translations

LibreOffice Online/android-app (Chinese (Traditional))
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I543003ddcbeda4cc462094b5cbdac19344243e4b

update translations

LibreOffice Online/android-lib (Chinese (Traditional))
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I2c0044a37683965c90054703c7becd7dc3c0af95

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I51473d48cbb7bfd7bc0391e3fc8fa693dc844eaa

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 100.0% (416 of 416 strings)

Change-Id: Idc3a19f702ecafdd37200bf0cc1ed49f3bef26ee

update translations

LibreOffice Online/loleaflet-ui (Russian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I2736cebdf47c361b7f830868b4cdb74106f82d5f

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 88.9% (370 of 416 strings)

Change-Id: I104948afa2154638006ccf4a1ada4af7ae12ed06

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 88.7% (369 of 416 strings)

Change-Id: Iebc4af48c8d095920e66ad0fadaeb565ec1a2ecc

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 88.7% (369 of 416 strings)

Change-Id: I498a4ef1a8b14a4d2600b5cb3766c96d6959b7fc

update translations

LibreOffice Online/loleaflet-ui (Russian)
Currently translated at 99.7% (286 of 287 strings)

Change-Id: Id4edb3efd76eb642447378ca754c3e70536a291d

update translations

LibreOffice Online/loleaflet-ui (Russian)
Currently translated at 92.7% (266 of 287 strings)

Change-Id: I665066e6263fb52b39e2b2bef8459b768d1c435a

update translations

LibreOffice Online/loleaflet-ui (Indonesian)
Currently translated at 86.1% (247 of 287 strings)

Change-Id: Iff8eca19f2821186c51f7d2b8161a5d5225c5021

update translations

LibreOffice Online/android-app (Polish)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I5bbe092c2edac0d3f97d61d44cb6173c51518a0e

update translations

LibreOffice Online/android-lib (Polish)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: If0b5ca7d418a93036d5b6826461b0b7b9f322d99

update translations

LibreOffice Online/ios (Polish)
Currently translated at 100.0% (4 of 4 strings)

Change-Id: I8ff32b812465dab05dd4c6f270932c43acbcedde

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ia105e2115079e47920758cef9a2f2cf58250f13f

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ib9a2ab2b28839a75e2e90f1b9e51f53c9374989e

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 62.5% (5 of 8 strings)

Change-Id: Icbdeca27a301a427432fc6b31388f798cfe71685

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 47.8% (199 of 416 strings)

Change-Id: I0c455bfe08ad50c1912baa93110ae9bd18f22162

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 70.7% (294 of 416 strings)

Change-Id: I39b34d80ff046b689a2e6bfc7f6768895e9058db

update translations

LibreOffice Online/android-lib (Welsh)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I13cd95f92b05791f9b186e9fda3c07dc11c00eec

update translations

LibreOffice Online/android-lib (English (United Kingdom))
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ief5490c31967b8bd8561aa646160c9ba379b445a

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 50.0% (4 of 8 strings)

Change-Id: I6e62d62d75c50f7b3e0f701cebb136d8969d7ee3

update translations

LibreOffice Online/loleaflet-help (Portuguese (Brazil))
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I4be77e1a593ccb74726c93e4812ac613bf3346d4

update translations

LibreOffice Online/loleaflet-help (Spanish)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I5df732bac4ad7e540625c04ba48e780c65591b96

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 47.6% (198 of 416 strings)

Change-Id: I0d668177ff6ca69859454ca75668f17abd09e9c5

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I5c58d4511f722cf677c732a6796d072c33a207d2

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 19.2% (19 of 99 strings)

Change-Id: I30596fb015b8c30136b3b0673ced19b7a92659b2

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ide1a73f93d69b5151884525cd90c7d416eaaf12d

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 37.5% (3 of 8 strings)

Change-Id: Ie850289405334889b638d7fe9e375d02149d5909

update translations

LibreOffice Online/android-lib (Basque)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ief87132bed2f8f9df66db302654bc98844db0544

update translations

LibreOffice Online/android-lib (Galician)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: If4a21a28074b4f2821e9e6e231085e408feb89e5

update translations

LibreOffice Online/android-lib (Dutch)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I433cbb5ed603262f973c622a5a4c631435299ce1

update translations

LibreOffice Online/android-lib (Slovak)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ifce96b5c87f3b9aacc6a7acc3e205cdef10ba885

update translations

LibreOffice Online/android-lib (Asturian)
Currently translated at 37.5% (3 of 8 strings)

Change-Id: I25cfe62c194d2f9a59f66fa2b7940c8c7f6cd0ec

update translations

LibreOffice Online/android-lib (Catalan)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ifbeea39f8e4c4fa169fe54b956fc88733611f2f8

update translations

LibreOffice Online/android-lib (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I71bde146df7e08f08eb3adff504f1a758666d48a

update translations

LibreOffice Online/android-lib (Spanish)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I4655d33b9103745ae735a4b805ffa92aacc39d03

update translations

LibreOffice Online/android-app (Spanish)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ib6f5bc75562d2429f275b53f46298370da938ecf

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 57.7% (240 of 416 strings)

Change-Id: I37ab07c9eb32b091340a539e4f446fd3ba21b5a7

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 79.3% (330 of 416 strings)

Change-Id: I6b9b4ab449af99cc542a8d95df3e287305669c29

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 70.4% (293 of 416 strings)

Change-Id: Iab23098de2c522e0eaf41a6a532e7955b5fa48ff

update translations

LibreOffice Online/loleaflet-help (Asturian)
Currently translated at 9.4% (39 of 416 strings)

Change-Id: Idfc883697467b20ba1f8cfee579ba8a67dd6e459

update translations

LibreOffice Online/loleaflet-ui (Dutch)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I66450db427572f1f66142bb3626a17f781ee094f

update translations

LibreOffice Online/loleaflet-ui (Danish)
Currently translated at 80.8% (232 of 287 strings)

Change-Id: I37199d9acb263bd0a01f1d58baa242c8fea6a1b2

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Iaa59d7bdde85309bf095e97362b821d3b7e8812a

update translations

LibreOffice Online/android-lib (Czech)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I75a97a2cd9ccd35e03496f96b860f3a2e4a22ac6

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ib8ae61f9fabdc2b31a4334d0a82a3d13076bf45e

update translations

LibreOffice Online/android-app (Italian)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I8bc6660ebc68386b73071fe99a27d00d07e9d555

update translations

LibreOffice Online/android-lib (Lower Sorbian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I1a12405ee550e640016d11bad0e1473b7d7f03cf

update translations

LibreOffice Online/android-lib (Upper Sorbian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Id58d0a5fff9b2ff7efe898448bd73c04c90ce579

update translations

LibreOffice Online/android-lib (Italian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I9a364d11d50fe91e5ba5c06d830d178056d75898

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 78.1% (325 of 416 strings)

Change-Id: I6661de589a3a1c96a0abca9e7f3fbb5edf90ed8a

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I5f6678fb19937da39b177b43a190044421b53ab5

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 77.9% (324 of 416 strings)

Change-Id: Ieeb3e7a1a2213e1e2f991d65d8267fd16c6ef7bd

update translations

LibreOffice Online/android-lib (Dutch)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Iaa3702084047dcbe802f182cf9ae6b227d7d0499

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 77.6% (323 of 416 strings)

Change-Id: I6c4fa44ee9f17076e560331cd2f8e7fb567a15dd

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 85.0% (244 of 287 strings)

Change-Id: I247e47e89308662fe144ad20d807bf359b21d917

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 99.0% (284 of 287 strings)

Change-Id: I37d14155fe5a3096982bb01d78f0ec1161bb97f2

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I177414a65c7d1d2a0517f4cc55d64cb966d708ab

update translations

LibreOffice Online/android-lib (Slovak)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I5882106e7b10195e0fa9d37cb14bd1bd30c12076

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 62.6% (62 of 99 strings)

Change-Id: If4a541c58e000390df2f1f06ab63d1786801c2d8

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 61.6% (61 of 99 strings)

Change-Id: Ibeeb152e342346e06188cf58303d42f76f9c9e58

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I44fb98df32344043a34fdfe10045dac72543664a

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 58.6% (58 of 99 strings)

Change-Id: I185dbe639f3306bf7deeaaadc13317d0892934a4

update translations

LibreOffice Online/android-lib (Galician)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Ib3915e3f95fd35b49a760558b272c2d45368f7aa

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 72.6% (302 of 416 strings)

Change-Id: I2b5d800f891212f52f90efa84b0322c195df73a8

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I64155bebed2e1f34b39c2a6a009d7dcb1b6aacc6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88563
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-18 23:39:44 +01:00
Henry Castro
31fe67d205 tdf#130203: mobile: limit the zoom value when pinch events
The argument e.scale, sometimes has the value infinity
and it breaks the pinch states

Change-Id: I25ec3535024bf4091eb09741a2183178f4ffba20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88982
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-18 21:27:05 +01:00
Ashod Nakashian
498b3f6b13 leaflet: show keyboard on mobile for dialogs
Change-Id: I994fc34eb7a2a5e5c6c8d56a96d3ff2fe8acac2d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88509
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-18 16:25:10 +01:00
Ashod Nakashian
ee345a5ad2 leaflet: no keyboard with text selection
This prevents font change from showing the
keyboard. The downside is that the user can't
change the selection manually and retain
the keyboard (say, to delete the selection).

Change-Id: I97666fd7df6afb8277c627802c8402a6c45259ee
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88907
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-18 15:04:02 +01:00
Tamás Zolnai
364623c87f mobile: Fix css media rules to work with mobile emulation / cypress test.
Restore the media rules we used earlier for mobiles.
So for mobiles it's enough to have a small screen size,
for tablet we allow bigger screen size, but only with
special pointer properties.

Change-Id: Ic45f05c516ec44cd39c58463d8bf1907ec63c25a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88922
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:31:00 +01:00
Tamás Zolnai
1999f12b35 Revert "Revert "Mobile: change all media queries to:""
This reverts commit 55d067bfee.

Change-Id: I2077276e70e16324031b393a58bf802c3efdcb4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88921
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:30:42 +01:00
Tamás Zolnai
a043f549e1 mobile-wizard: Hide beginarrowstyle and endarrowstyle items.
For closed shapes these items do nothing. These items have
an effect on lines, curves, open polygons, etc, but the insertion of
these items are not supported by LO online now.
Using these items also makes mobile wizard to get into a wrong
state when trying to select an item or trying to get back with
the back button.

Change-Id: I134741de675fe02112ef93f0c4dec957750adfff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88876
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 11:29:30 +01:00
Tamás Zolnai
481e536f74 mobile: Make line width spinbutton readonly.
Entering a value directly into the spinbutton does not work.
It must be because we support only some predefined values
for line width on the sidebar. So don't allow to enter
a value directly, user can use the plus / minus instead.

Change-Id: I65f8b172308244a13761330370acc1ef4d5381a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88875
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 11:29:06 +01:00
Tamás Zolnai
55d067bfee Revert "Mobile: change all media queries to:"
This reverts commit ef48e44c0e.
2020-02-18 09:19:34 +01:00
mert
b783cb30e8 mobilewizard: pan the document area to top on presentation
WHen opening the wizard on presentation, the document is chopped in half
and there are a lot of grey area on the top.

Change-Id: I46bd329adcf551c94734998b240a251e1cec4e8d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88190
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-17 22:27:04 +01:00
Pedro Pinto Silva
ed86a313bc MobileWizard: Impress: Fix misalignment on fontColor
Change-Id: I3e2022acd313a2d429220ae2c539c08e233b6317
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88865
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 16:01:31 +01:00
Henry Castro
e10e9335c5 loleaflet: allow browser detection when loading html page
Move the code related to browser detection immediately
when loading html page to be accessible to all javascript libraries

Change-Id: I442cf5ab8e9452bffa5a760768e8a3e38c1c3c21
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88744
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-17 15:59:15 +01:00
Henry Castro
cefcfcfe19 loleaflet: mobile: use hyperlink tag for context menus
Change-Id: Iac83687794c90ff3439e7a5c833d24007ec52ec3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88545
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-17 15:58:11 +01:00
Pedro Pinto Silva
ef48e44c0e Mobile: change all media queries to:
- Include phablet size
- Ensure that the mobile css rules do not kick in when on Desktop (900px window)
-- Detect if the primary input mechanism cannot hover at all or cannot conveniently hover (hover:none)
-- Detect if at least one input mechanism includes a pointing device of limited accuracy (any-pointer:coarse)

Change-Id: Idf1494acbd52ecd40e9082c8cf6f4ce88ecf9ac6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88862
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 15:53:33 +01:00
Henry Castro
bb6f13d94d w2ui: remove unused components
w2ui is bundled with: w2grid, w2layout, w2popup,
w2tabs, w2sidebar, w2fields, w2form

But they are not used in desktop nor mobile and
it is preferable to remove the dead code to reduce
bundle size, parse with mobile devices.

If in a near future, these components are used,
still we can restore the components.

Change-Id: I522f01a73217635acc9828a54006111fa196636d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88735
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-17 14:57:19 +01:00
Andras Timar
a207bc4858 localize the buttons on vex.dialog.confirm
Change-Id: I24ab50b80e51c293a4ad71c6e5ea80bfda902883
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88860
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-17 14:51:19 +01:00
Aron Budea
40f9341d44 loleaflet: Remove generic sidebar toolbar button in Impress
It was introduced as a partial fix to sidebar deck toolbar buttons
not showing pressed state in bcd7af9657
but causes issues.

Hiding/unhiding by mixing the generic and specific sidebar buttons
can permanently hide the sidebar.

Change-Id: I436d296698dde2aed7f0a3aab268e561767013b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88830
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-17 05:06:14 +01:00
Jan Holesovsky
ceec4f0505 android: Actually override window.open to always send the HYPERLINK on mobile.
To cover potential future developers adding window.open without knowing
it might break mobile...

Change-Id: Iadad985ac6fad9b9f068f224fd8fb21f073bead6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88732
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-14 18:27:51 +01:00
Jan Holesovsky
2174206de1 android: Don't hang after returning from a hyperlink.
It seems that it is actually the webview that gets into a weird state
after returning from the url.  Unfortunately intercepting the calls via
shouldOverrideUrlLoading() in a WebViewClient does not help, so the only
way seems to be to make sure we actually don't have any clickable URL
anywhere, and for the rest, we issue a 'HYPERLINK' postMobileMessage...

Change-Id: I62dc2cfbe867e97aec7fac5f83c4399814ef2ce4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88720
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-14 15:43:58 +01:00
Dennis Francis
0ca8e3b639 Lets have Hammer pan listeners on scroll-container...
and delegate the pan events to L.Map.TouchGesture's pan handlers.

This solves the problem that if one starts to pan the sheet from
near the right edge (where the vertical scroll div exists), no
panning takes place. This is because the vertical scroll div
is managed by custom jquery plugin and has a high z-index and
mapPane is not an ancestor of it, so mapPane will not get the
touch events even with event bubble-up. But its ancestor div
'scroll-container' still gets touch/move events and has the same
size and location as that of mapPane. So we just need to register
Hammer for pan events for scroll-container and delegate these events
to the original pan handlers of mapPane without any change to the
event coordinates.

The scroll widget and the drag-rail still function as usual as they
are succesors of scroll-container and they get all the events they
need to handle.

Change-Id: Ie4ffe07a0889c5710b2c6d09e4eb90f0671b5ad0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88712
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-14 15:26:07 +01:00
Pedro Pinto Silva
6d3e88782e Fix Zoom controls:
- Percentage sometimes appears sometimes it doesn't. Removed percentage from values and instead added as suffix (via css)
- Content width changes. Fixed by setting a default minimum width

Change-Id: I4c2017ceaa98c97f06c7bba4dfe0f3aded9d605c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88608
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-13 15:08:06 +01:00
Pedro Pinto Silva
17b2e7fb2b MobileWizard: add remove icon
Change-Id: Ia617a105cfc3c371edfe2bfd0072a9e85935cca3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88607
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-13 14:32:08 +01:00
Jan Holesovsky
f7663f37a2 android: Control the keyboard appearing directly in TextInput.js.
And add one more trick: If the keyboard is not supposed to be shown, set
the read-only attribute for the textarea before the focus(), and remove
it again after the blur().

Change-Id: I5ff4d0e093cb70737af205c04951d8dd58a35831
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88587
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-13 10:28:45 +01:00
Michael Meeks
3d029cb6d0 Instead of zooming each time we resize, instead keep zoom and pan.
This helps us smoothly follow the cursor, and to adapt to less
space available when eg. the wizard or the keyboard pop up.

Ensure we do the right zoom-to-fit on the first call, interestingly
if we do not do that - we get just a single tile at the top left (que?).

Change-Id: Ib26f9b474caa631028e18e790dd50c058cbaef3b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88577
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-13 10:10:02 +01:00
Michael Meeks
6543ad21bb mobile: Delete insertion - use graphic selection rather than clip.
The clipboard population is asynchronous and might come too late.
Was missing the Delete item on Android.

Change-Id: I05515f151c8d730e2aa1cb61eceacd0c3b90c455
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88579
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-13 07:57:18 +01:00
Michael Meeks
1bc1034543 Avoid exception dragging during shutdown.
Really TileLayer.js should have a clean on remove that dis-connects
from drag, resize etc. but it doesn't yet.

Change-Id: Ia2c2268875187a2f1115b7d357fd56ab825bb77f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88578
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-13 06:07:14 +01:00
Michael Meeks
2adc32fab5 impress: cleanup preview invalidator & avoid null this._map on close.
Change-Id: I96f9cb217c6a479dfee91dc471ab442cd2d014ae
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88576
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-13 04:48:44 +01:00
Pranam Lashkari
a867a1b79c Tile loading enabled while autoscrolling
if scrolled too fast tiles could not load until auto scrolling stops
and user had to wait for approx 2 sec and wait for tile to load

follow up for: https://gerrit.libreoffice.org/c/online/+/88072

Change-Id: I09541f5400288398ac7680c6d96e224e2ad6ef66
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88485
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-12 20:00:30 +01:00
Weblate
32d55a6ca8 update translations
LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (287 of 287 strings)

Change-Id: If872e0bae5b538c042a6246e139ff92b51771cfb

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I1ad3b4226f4cb9ce113a4a11e496d8b1a70c6363

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ia519636dd33ff504fec3b78145c6b42b8e673e00

update translations

LibreOffice Online/android-lib (Welsh)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Ie9e72c41ffa386255ba35edfa5ecfed9b6cc6c3a

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 28.6% (2 of 7 strings)

Change-Id: I65360f5fc7f6425aab93dcdf7628b5317eea3f4a

update translations

LibreOffice Online/android-lib (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)

Change-Id: If87ad3131762c217cc0a51988305d22029c3a2fd

update translations

LibreOffice Online/android-lib (Spanish)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I16079ade29da13c8194f47c0bde7e7620cf9b133

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I3afb970ab5e682b9a5cedf90170506ece4f3ef1d

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I899178b428f813f64660a03d3767afec4930598d

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Iba756ea0887e0ae01ef38049e41bfa12ddff08be

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I21686dc43e08dfdb9a0b45dfe30577ad749c37c4

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 91.6% (263 of 287 strings)

Change-Id: Ibd68c1320bb9a746800a50f4744eea79c89891d1

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I14dfa3a452d0c4d3e8f9406f02841fe1a505c921

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 98.3% (282 of 287 strings)

Change-Id: Ib4de84246aa0fe8c9ceb6e2386910c58e4364eba

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ib7ad2706e29d04ed0a8d50e4ba43d3dc78b86585

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 34.8% (100 of 287 strings)

Change-Id: I8d2ebfc31d2ac706ff64602d984bd438b3cec39d

update translations

LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Ieb0d3d4adf1abb2e2bd20b9ddc6f203657d7d3cb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88518
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 15:15:22 +01:00
Pedro Pinto Silva
e71972bef1 Mobile: MobileWizard: swipe/scroll indicator: Avoid showing indicator when in prsence of window.mobileMenuWizard
Change-Id: I2430f8c3732d42b24abc7d2e9b83d71659260573
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88529
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-12 13:48:51 +01:00
Pedro Pinto Silva
45d053d9d1 Mobile: Hamburger menu: add missing toggle icon and also add default background when there is no image (top level)
Change-Id: I894bb25a9198a74bf1fa43d6c958e23878e0a0fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88525
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-12 13:29:33 +01:00
Weblate
d4fbeaccbd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I8d4703bc4654f4d1c9d34d9f37a4c141a98b2b07
Translation: LibreOffice Online/loleaflet-help
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-help/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88517
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:23:55 +01:00
Weblate
e1fc653c9f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: Ie88f8cffa8226beff819bd7229b9a610a81c4de4
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88516
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:23:37 +01:00
Weblate
fefc477f3b update translations
LibreOffice Online/android-lib (Bulgarian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I00530286bf66db4b7907b6f6bf08693622a6d7fd

update translations

LibreOffice Online/android-lib (Lower Sorbian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I57645233bd8763b1fb53b4d038a1d9cd433b52d5

update translations

LibreOffice Online/android-lib (Basque)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Idbb54d4b1759c459a69ef84a9a264e366e697520

update translations

LibreOffice Online/android-lib (Upper Sorbian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Ie9b822558edbec57ef62f8886910f129e1fe0f65

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 71.9% (299 of 416 strings)

Change-Id: I2a807adbc4dcff0aead5014e7e4aec0f98ba3a49

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 68.5% (285 of 416 strings)

Change-Id: Iffff79ac0f5567550ec4d249ccaa4a28e679d64e

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 66.6% (277 of 416 strings)

Change-Id: Ia9515c1195813b68f834fa72f3c02c9849ba3f1e

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 69.7% (290 of 416 strings)

Change-Id: I3ca0aeeb7bf3c55133df1f8836cce51038289a10
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88436
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:21:00 +01:00
Andras Timar
b9917890b1 loleaflet: updated pot files
Change-Id: I0c2d249677575a034552a114096665668b0c9429
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88515
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:18:58 +01:00
Dennis Francis
5460aa108c Add 'Delete' to context menu on non-text selection
The context menu items are obtained from core. Add a 'Delete'
entry to the context-menu json data just after 'Paste' only if
the selection is graphic and online is in Mobile mode.

Change-Id: Ie5810038bbca5d8ace01b236508b2dd4d31ca2a7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88510
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:18:40 +01:00
Ashod Nakashian
5720a4be80 leaflet: hide the keyboard during and after dragging the document
Change-Id: I5228358353cf04b838a90fc53f5987e9ac623f47
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88155
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 16:20:14 +01:00
Ashod Nakashian
9fcd4d3777 leaflet: second tap in cell starts editing
Single taping and double taping now enter
cell-edit mode and show the keyboard.

And improve graphic selection and adding text.

Change-Id: Ib38aac3165078cf143009d9ace530027bf630432
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88034
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 15:47:22 +01:00
Weblate
7ba3745e30 update translations
LibreOffice Online/loleaflet-help (Galician)
Currently translated at 62.0% (258 of 416 strings)

Change-Id: Ibb39da6d7cc28d2ea26163fc46068d3c28eb2917

update translations

LibreOffice Online/android-app (Hungarian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I8f8dc7485eb4fc2cfbf2e881a3fe61362833248a

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 59.9% (249 of 416 strings)

Change-Id: If207a96a6605d68fa5a770869e1ce534e3ba2dbd

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 49.3% (205 of 416 strings)

Change-Id: Iae659fb35a1a281f924767c0c5cefaf3d4c12d09

update translations

LibreOffice Online/android-app (Turkish)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I01c076644a7db1003eea085892fc6f6e09dca36b

update translations

LibreOffice Online/loleaflet-help (Hungarian)
Currently translated at 53.1% (221 of 416 strings)

Change-Id: I38093b903335e0746a20da196f49a61a9150aea0

update translations

LibreOffice Online/loleaflet-help (Upper Sorbian)
Currently translated at 63.9% (266 of 416 strings)

Change-Id: I9389ce6c16a5f8b8cc39059c723ca1f079a48f82

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 68.3% (284 of 416 strings)

Change-Id: Ic63aeec7fa9800861a4717dc22949486fb8e3931

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 98.9% (280 of 283 strings)

Change-Id: I508b45c587d89c704970cc4921a2864448f7b7d2

update translations

LibreOffice Online/android-app (French)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I36670af0671a156b22d94fcc329356ee19c9936e

update translations

LibreOffice Online/android-app (Dutch)
Currently translated at 99.0% (100 of 101 strings)

Change-Id: I492185682170971b1ecc33a81aa1b17a3a637f4c

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 54.1% (225 of 416 strings)

Change-Id: I32739b1a97e0c0e488b78c6bb66790e9ea4ad72c

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ifb1c55a159c3181b54d50c0118b292942e023c4f

update translations

LibreOffice Online/android-app (Portuguese)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I6a1085c256398877ff10e7763e83ace47e7ad583

update translations

LibreOffice Online/loleaflet-ui (Portuguese)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I9a527aee6f5040871d57511f33f05f1b79930a17

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 67.1% (279 of 416 strings)

Change-Id: I934f9b03d18bb93b22c33a1a484c031bd4610dda

update translations

LibreOffice Online/android-app (Portuguese (Brazil))
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I442c912c23b59c31524f8e7944b763e35f286033

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I4f7bbb44a8b28f043156d4e2863c2118785ce8b8

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 56.7% (236 of 416 strings)

Change-Id: I59dfd04c06b201bd56e6a20f5eec4c3e18cbffda

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I5bb296a2d1b00f9fa0faa07bd1d5d4f743497c4f

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 51.9% (216 of 416 strings)

Change-Id: Iec9d735c6b262fa124d2c3c373475b640211ddeb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88153
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-11 11:09:45 +01:00
Dennis Francis
002691d56c zoom-adjust header-height only when we have edit permissions
The patch :

-------------------------------------------------
commit ab64d2e0c3
Author: Dennis Francis <dennis.francis@collabora.com>
Date:   Wed Jan 29 13:38:16 2020 +0530

    Adjust column-header height with zoom-level too
--------------------------------------------------
introduced adjusting of column header height with zoom level.

But that messes up the positions of headers in the below scenario:
1. First zoom-in or out in mobile mode before enabling edit permissions
2. Then enable edit permissions, and now the header positions are all
messed up.

This happens because the formulabar ui is show only while in edit-mode
and the resize() method is not very robust(it adjusts 'top' style attribute
with height deltas) and does not consider the introduction of formula-bar
div into account when one changes the permission of the sheet from
'readonly' to 'edit' in mobile mode.

So lets not do resize() of the column-header container before entering
edit mode and avoid complications of adjusting for the introduction of
the formula-bar.

Change-Id: Ib03f89ad7a34cbd2a3cbfb65af2a9a016b47c125
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88175
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 09:45:05 +01:00
Andras Timar
36eed0c6f0 tdf#123892 deduplicate entries in Get_Export_Formats_Resp
Change-Id: I6eaa3f0c1529b968b8eaa7ea67356dd5bf54d3f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88418
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-11 09:10:39 +01:00
Tor Lillqvist
28d8bab072 Treat tablets as "mobile" (like phones) in the apps in L.Map.focus
This makes the on-screen keyboard behaviour more consistent between
phones and tablets.

One effect is that it now requires a double-tap on a cell in a
spreadsheet document also in the iOS app on iPad to get the on-screen
keyboard.

Change-Id: I0dee87b76a1781d6acde1270322a207958cba045
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88178
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-11 07:19:31 +01:00
Michael Meeks
875b4c37d3 Framed sample - add frame_ancestors instructions.
Change-Id: I2b503be31268616c39485cb102dc90a3427a1e45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88417
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-10 23:23:31 +01:00
Henry Castro
070395257a loleaflet: mobile: don't show 'Save' menu item when it is read only
Change-Id: I1b2c56c4c05c40b2e6e0cc6b4d0c420236c03fed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88414
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-10 22:29:43 +01:00
Pranam Lashkari
7338e3d818 Made document scrolling Ergonomic
added momentum to scrolling making scolling feel smoother and easier

Change-Id: If760761580aeea57116673b67787f9f5451ab5e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88072
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-10 22:27:47 +01:00
Andras Timar
2185595629 make iframe load in http:// case, too
Change-Id: I22d8cfde29bac3db24dc3906c69fe119e5d40464
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88409
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-10 21:32:27 +01:00
Dennis Francis
a43c8c304d Use the correct align statechange messages...
from core to control the state of toolbar's align
buttons (based on the current selection type).

Change-Id: I1c4c4ce1776091c05196d7c8257ea59f8248284a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88160
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-10 12:07:13 +01:00
Dennis Francis
1054dce67b Adapt align commands based on selection type
Use map._clip._selectionType to decide what align command to send
when one clicks on one of the toolbar align buttons. selectionType
is either 'text' or 'complex'; 'complex' by definition is set for
non-text selections like images and charts.

What is to be done next ?

1. Need to setup statechange: messages from core.git for
.uno:ObjectAlignLeft, .uno:AlignCenter, .uno:ObjectAlignRight
from sw/ sd/ in Get*State() methods of the relevant shells. After
this we need to make online toolbar align buttons to react to the
correct statechange messages based on selectionType.

2. _selectionType is not always correct. In Impress it
is always 'text' regardless of selection type. In Writer, for
shape selection, it is set to 'text'. SelectionType comes from
XTransferable2::isComplex(). Its implementations in sw/ and sd/
in core.git need fixing.

PS: In Calc, aligning images/objects does not make sense w.r.t to the
sheet in general. The align buttons are disabled in core-desktop
when an image is selected.

Change-Id: I8223cd03f864fa92523224bf88ccb992edfc2686
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87739
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-10 12:00:56 +01:00
Henry Castro
88d9e8a7fb loleaflet: mobile: don't show the table selector handlers when it is read only
Change-Id: I98d58a872921f442cf3b7318798d985985191c88
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88267
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-08 23:42:21 +01:00
Henry Castro
3d3625fb9a loleaflet: mobile: don't show the cell cursor when it is read only
Change-Id: I9376de1d32071e1849d9808b864700d81cab6afb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88266
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-08 23:17:36 +01:00
Pedro Pinto Silva
02ca6142e3 Mobile: Calc: Formula bar: make text selection handles visible and hide them on desktop
Change-Id: Iaf5b207fd641ff0b2428801b0972277a382b87e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88197
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 19:05:56 +01:00
Marco Cecchetti
be4aad288f loleaflet: calc: text selection: show handles only on the focused object
Change-Id: I468730f9700004428121debb4edfb0517b458c95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88232
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 18:22:08 +01:00
Henry Castro
779833ec7c loleaflet: mobile: change position of the edit button
when document type is Impress

Change-Id: I33af9c10827f50be25a8490b7de8fe5504b06352
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88216
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-07 17:27:10 +01:00
Marco Cecchetti
e5d03af224 loleaflet: fixing side-panel no more responding to taps on mobile device
Change-Id: I611e8313d6a0aa22f642c482c9d054a343a3cb17
2020-02-07 16:20:38 +01:00
Muhammet Kara
8704c41a6b mobile: Add Text Box to the Insert menu
Change-Id: I28dc378b550b157da41998d906319d71db072b5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88172
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-07 13:50:57 +01:00
Muhammet Kara
0b967ece69 mobile: do not trigger singleclick on longpress inside the selection range
Change-Id: I488758dc28d05ddaf7c59db7ef59047b0e2d9a11
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88104
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-02-07 13:32:50 +01:00
Tamás Zolnai
f53e030339 cypress: mobile: emulate tap and long press events.
To achive a better test covarage.
Now, the simple click() method is recognized
as 'tap' by hummerjs. For long press we need
to use low level events.
I expect that we can emulate other mobile events too
on a similar way.

Change-Id: I5f43afafe087133e707eed6ff8a43765324d5e24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88161
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-07 10:09:54 +01:00
Michael Meeks
6dc92fb812 select a new color as you switch tint palette.
Change-Id: I4c17e5e88c1263217448fc9b23d223413d788512
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88135
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:25:43 +01:00
Ashod Nakashian
9b9f2d0c04 leaflet: don't show the keyboard when mobile wizard open
Change-Id: I998f4d06e95eac83b21fce60f1b18f3f563522ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88016
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:18:40 +01:00
Weblate
f4e88f615a update translations
LibreOffice Online/android-app (Bulgarian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I07f83134e9981fd069b2e25f1138a4430c881700

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ic507a92420b65405a9958388ffbddcc4e60fbc8d

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 30.7% (31 of 101 strings)

Change-Id: Idac18ee56e924e93d5ce53ab27d4aadbe4d25272

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 4.0% (4 of 101 strings)

Change-Id: Ib95fcd774d982b764b1f63337c401638507413d0

update translations

LibreOffice Online/android-lib (English (United Kingdom))
Currently translated at 100.0% (6 of 6 strings)

Change-Id: If29f6ef730b8d00490fe0b290cdba0cf613a688d

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 15.8% (16 of 101 strings)

Change-Id: I882ee9cd517bb6519e5154eb4f67f9fccbaea601

update translations

LibreOffice Online/ios (Esperanto)
Currently translated at 100.0% (4 of 4 strings)

Change-Id: I90e48d21cab6ae6c0ea46359586a27331d238977

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: Id4f884816178f04af3b5eafbf3420a9063e11fc6

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 65.7% (186 of 283 strings)

Change-Id: I7580408131e91db107264f6f7915bd18dbf75ed8

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: Id388779917735f36afaa08274e52221370fa0d4d

update translations

LibreOffice Online/android-app (Icelandic)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I28df151afb4a16e7f94eaabfed45d049dbeadf05

update translations

LibreOffice Online/loleaflet-help (Icelandic)
Currently translated at 59.1% (246 of 416 strings)

Change-Id: I522d8ce13b2db7e0f7d936c94c086f5874bb213e

update translations

LibreOffice Online/android-app (Icelandic)
Currently translated at 76.2% (77 of 101 strings)

Change-Id: I72eab3f23e209e1e736d0ad7e4f99f742983d57e

update translations

LibreOffice Online/loleaflet-help (Icelandic)
Currently translated at 49.5% (206 of 416 strings)

Change-Id: I6c44c508990d3f2f4c75d52c8629bb753c970bbf

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I9f9a5c29e50a5b8fa3d6b1f5ae3201b1f948390a

update translations

LibreOffice Online/android-app (Japanese)
Currently translated at 5.9% (6 of 101 strings)

Change-Id: I324cd4d35966299fe332687c02df7b3059cfe499

update translations

LibreOffice Online/android-lib (Japanese)
Currently translated at 33.3% (2 of 6 strings)

Change-Id: I6298a12f85684ba1357774010731ecc9e15d3826

update translations

LibreOffice Online/ios (Japanese)
Currently translated at 75.0% (3 of 4 strings)

Change-Id: I416087312dbfd71290ea62cb97818f3d91fb7b27

update translations

LibreOffice Online/android-app (Lower Sorbian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: If9ddd00f8883cbf26a782f6e63de883bd4fc1eda

update translations

LibreOffice Online/android-app (Upper Sorbian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I1d844722ff8b95bc07f1491c8657cbb06be5d57a

update translations

LibreOffice Online/android-app (Welsh)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I484bab276926034bad343a01510c351c565e957d

update translations

LibreOffice Online/android-app (Basque)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Iace66ab2c3838114eabb38b142ce808aac8ed412

update translations

LibreOffice Online/android-app (Catalan)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ib96b4175b2c20736a1b6f0dba454806f62c9b2bf

update translations

LibreOffice Online/android-app (Spanish)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I09d24de30d22812a4f893f4b17b053454f0ea3cf

update translations

LibreOffice Online/loleaflet-ui (Malayalam)
Currently translated at 0.4% (1 of 283 strings)

Change-Id: I2760ed684f37a176328b56ffa335135020057b6c

update translations

LibreOffice Online/loleaflet-ui (Hebrew)
Currently translated at 86.2% (244 of 283 strings)

Change-Id: I49fab0e15b9b14e2bfad8b8421884ebb73151e48

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 86.2% (244 of 283 strings)

Change-Id: Icc941bb943890adbb3ae842e6111454d3d4b20e9

update translations

LibreOffice Online/loleaflet-ui (Assamese)
Currently translated at 0.4% (1 of 283 strings)

Change-Id: I8059a47c68c5c391135a52d18d264dfc4b2a3a40

update translations

LibreOffice Online/loleaflet-ui (Amharic)
Currently translated at 74.9% (212 of 283 strings)

Change-Id: I9bf84580f7a88d64246829ca37fd5509b3b132d9

update translations

LibreOffice Online/loleaflet-ui (Afrikaans)
Currently translated at 8.5% (24 of 283 strings)

Change-Id: Ice3857b065103e39d5ab0cdb214ea2840c968524

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 48.1% (200 of 416 strings)

Change-Id: I8fda8781ff990c446a6eef28f1fec13d39df1468

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I8a4765eb499b6faa6d03fccc18c223dfb6c601b5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87853
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:17:40 +01:00
Marco Cecchetti
a46fa588b1 calc: formula input bar: adding support for text selection handles
Change-Id: I6bc276945a7fd33f1358a3aa82ce0e7f45237771
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88090
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 15:58:36 +01:00
Henry Castro
2a66a65c75 loleaflet: mobile: add event listener 'resize'
Since no longer it is used 'iframe' element ensure
to add event listener 'resize' of the window object

Change-Id: I89d301ddaf9e5f26c9cbf0c87c8ee157fe77247b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88099
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-06 15:00:39 +01:00
Marco Cecchetti
ec2ec241d2 loleaflet: calc: input bar text selection layer
Change-Id: Id143c3c0b5f0bb6a99bd9e8ce7f953f95e3a65bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86791
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 14:48:00 +01:00
Henry Castro
d36989114b loleaflet: mobile: add permission precondition to row/column headers
Change-Id: Ic26f3a4e129fac02932dd0ba54e81a20b68d1ca8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88040
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-05 16:59:23 +01:00
Dennis Francis
ab64d2e0c3 Adjust column-header height with zoom-level too
Introduce a new method 'getHeaderZoomScale' to L.Control.Header
that returns current zoom-scale w.r.t to 100% zoom. It also lets
you limit the zoomScale between a upper and lower bound. Use this
method to scale column header height. Reuse this method to
scale font-size too.

Change-Id: I841ef2d73752cdc2206549d540633e179f19677f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87671
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-05 14:02:17 +01:00
Miklos Vajna
4a1c877127 loleaflet: remove leftover console.log()
Change-Id: I1ce6939ea46a0f810020ada88be8e496a6eec47a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87978
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-05 09:04:45 +01:00
Henry Castro
38324b3e29 loleaflet: mobile: avoid creating an "iframe" element resize detector
Creating an "iframe" element inside a container the browser usually creates
another sandbox window object. This is not required in mobile browser also
 we can reduce complexity operations.

Change-Id: I75c57479af1cbf51beb1eaa812293432aeaf221c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87974
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-04 22:44:51 +01:00
Tamás Zolnai
f7404745fb mobile: Don't refresh the sidebar state, when a different wizard is opened.
Caught by a cypress test. Hamburger menu was opened, by it got
the sidebar content instead.

Change-Id: I3130e7e1d44f76c8ba656121d96704fb4d5b8932
2020-02-04 15:33:49 +01:00
Tor Lillqvist
15bad57fc9 tdf#128468: Do actually pass the Amount parameter of MoveTabstop in twips
Also some (commented-out) logging improvement.

Change-Id: I1d667f30c780d06e1bf4e7ad8ea6cda6ecbb2adf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87973
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-02-04 15:01:53 +01:00
Tamás Zolnai
8c9ef8db4c mobile: Hide new style button on mobile wizard.
It opens a tunneled dialog, what we try to avoid on mobile.
Also after the recent focus related changes this dialog
can't get the focus, so can't add the name of the new style.
Even if I workround this focus issue and I manage to add a new
style, then that style won't be part of the style list displayed
on the mobile wizard.
All in all adding new style does not work now, so better to hide
this item.

Change-Id: I35c3686129621656f3f63914c9590248f320c15d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87965
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 13:15:12 +01:00
Jan Holesovsky
265ff8907f mobile: Loading... as the splash instead of Connecting...
Change-Id: I9e813cf257f0cf9c5b50b183fa1d3b265ba3903f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87922
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-04 11:40:41 +01:00
Tamás Zolnai
7dda26507a mobile: Merge these two lists of removable items.
Change-Id: If302035e017663d82f4154078c7d516b63410842
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87773
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:14:12 +01:00
Tamás Zolnai
c3c12e6fdf mobile: Remove linespacing item from mobile wizard.
In a desktop LO, this item opens a drop down list,
which seems to be not implemented in online yet.

Change-Id: Ia9d82cf9a058a43077043dc128dbbc16f18da83a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87772
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:14:03 +01:00
Tamás Zolnai
3a1cbc8027 mobile: Remove character spacing item from mobile wizard.
This item triggers the character dialog, which we should
avoid on mobile. In a desktop LO, this item opens a drop
down list, which seems to be not implemented in online yet.

Change-Id: I56a584e6665184c4242cddc4e78ba849a150c711
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87771
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:13:44 +01:00
Michael Meeks
d7eaf756e8 add class to unotoolbar buttons from parent id.
Necessary to add 'parent' member to parsed JSON structures to
allow walking up the hierarchy easily while building.

Change-Id: I52da1ba415e07bb7fef60a1c667e8c46cb0d640a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87902
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-03 22:57:14 +01:00
Tor Lillqvist
d532705a85 tdf#128468: Make dragging the tab stops send a UNO command
Still work in progress. The new UNO command is "MoveTabstop" with two
arguments: Tabstop (the index of the tabsetop) and Amount (in twips,
left (negative) or right).

The intent is that moving a tabstop in core will cause a callback that
will redraw the ruler, like moving a paragraph margin does.

Change-Id: Ic6b8b11811d2a7f6510c505fff421e1796300c70
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87868
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-02-03 14:38:02 +01:00
Jan Holesovsky
60ee81afc2 android: Close the app when we fail to load the document.
After user has chosen to close it, of course.

Change-Id: I82fcabdae5b0f0c96b4a1101a5f55856c8dd2c60
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87800
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-03 12:24:50 +01:00
Tamás Zolnai
9b64bd3819 Fix font / highlight color dropdown doesn't work
Regression from:
298f4297c2

Change-Id: Ic0001157b3866cbf3293812573c33d6b4a18a9d6
2020-02-03 03:37:39 +01:00
Pranam Lashkari
7519d0cf54 Fix: mobile wizard malfunctioning
The mobile wizard would not perform any actions
if opened when the mobile keyboard is visible

Change-Id: Id8722b551ea6c13f3fe22b78c996e2bb4b2db2f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87712
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-31 00:02:29 +01:00
Henry Castro
40e92f10dd loleaflet: simplify 'contextmenu' prevent default
The document object has already prevented default actions

Change-Id: I4d60ec0c6915ca266f3e2c24f0958127186ca970
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87752
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:44 +01:00