Currently translated at 100.0% (442 of 442 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (441 of 441 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (441 of 441 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.4% (432 of 439 strings)
Co-authored-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I72dfd49276dee8427404b63a1ae488df47e783aa
Remove the `as` from `Download as` because in here we have a dropdown,
it is already clear that the component is not an action in itself but a
dropdown to trigger more actions. If this was not a dropdown but
instead a toolitem that triggers a dialog, such as `Save as`, then it
would make sense to include `as`, but that is not the case
Related issue:
https://github.com/CollaboraOnline/online/issues/4564
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I65de9570800756e026d20534a84d52c29d4f8bd1
As discussed in https://github.com/CollaboraOnline/online/issues/4564
the current lc_downloadas2.svg is quite different form the surrounding
icons
- Remove and use new download icon more similar to colibre theme
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5808af8a50c1f8025b38502ba5fcd2db3f98c9d5
Introduced in 71ef338dc5 and in
8e815bdff49154debcfb8a69816c89d71d01603d
this creative invention of new UNO commands is not the way to go.
We cannot invent uno command names and add them to unocommands.js, that
is a generated file, and generated from core. If we cannot pick the
desired string from unocommands.js, as last resort we can write out the
text, e.g. _('Column Width').
Affected:
.uno:ColumnWidthMenu,
.uno:RowHeightMenu,
.uno:ColumnFormatMenu,
.uno:RowFormatMenu
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I93adca8b416ae986171af2771adf4007d76d6422
Add new svg icon
Add menuitem to Layout tab with all the missing commands
Note: EditPrintArea was not be added because:
It triggers a dialog that is not async at the moment. When tested with
multiple users within the same server it does not work. If the one user
opens it the other one is not able to open it at the same time.
AddPrintArea was not added since it can also be problematic when multiple
users edit the same document.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I276b6ab08b0f541aba9211d2595786a835d873b8
There was only one way to successfully set a print rage: by defining
name ranges first and then within the dialog the tick the checkbox
'print range' under `Range options` expander.
All the other expected top menu entries within format main menu were
missing, Add except EditPrintArea and AddPrintArea:
- DefinePrintArea
- DeletePrintArea
EditPrintArea couldn't be added:
It triggers a dialog that is not async at the moment. When tested with
multiple users within the same server it does not work. If the one user
opens it the other one is not able to open it at the same time.
AddPrintArea wans't added because it might also be problematic when
multiple users edit the same document
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I943e82a005b485130833cf46e4687dde6a3e6e3f
Currently translated at 93.6% (428 of 457 strings)
Translated using Weblate (Greek)
Currently translated at 99.7% (437 of 438 strings)
Co-authored-by: Theo <tbousiou@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0d1f890be83be35a44ad3b5d2991a65f9febc931
* Use unix line endings.
* Use tabs instead of spaces to indent.
* Remove eslint-disable flag.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic7fe77097c0e1b652636e5771fd4835d547ffa90
Currently these options were only accessible via ontext menu
- Expose these row and columns format options (height and width) also
in the place user expects to find it (in classic mode): Format menu
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib83c11345407394eef4d90d9c350a9e015291e93
Before we needed an exception for the StatisticsMenu, to position the
arrow. Now this is no longer needed. The component get well placed by
default
- Remove CSS exception and fix the inconsistency:
https://archive.org/download/cool-nb-bug-arrow-statistics/cool-nb-bug-arrow-statistics.png
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7cf46c7c3d2593b571c91c0dedc197fdcae3a7ee
Layout tab does not have the:
- optimal height/width
- width/height
User expects to see those options in the Layout tab (as in LO).
However it seems in LO those menus have all the row/column related
options and as this might be worst for the tablet/touch screen laptop
(to have all those option hidden in the dropdown) and since we already
have the insert/delete options as icons:
- Simply add height and width specific menus
https://archive.org/download/notebookbar-layout-add-row-column-menus/notebookbar-layout-add-row-column-menus.png
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iebdc6df833bb3cb9d125e23be01e5197ec0d80c3
- run autofilter as normal mobile wizard not a popup
so we will use old styling (compatibility)
- close correctly popups so we can type after closing
autofilter
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I26957e745c8bee9cece4cae2cc1ecd58c9341d23
it is easy to block the input in the app if we didn't close
popup on the server but already deleted HTML elements for it
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I91bd08d09a75a111dffd3525601dbff04652407f
- in 22.05 core autofilter was welded and converted into regular popup
- for now we have to support both versions for 2021 and 22.05
- leter we need to remove Control.AutofilterDropdown.js
- special handling in Control.JSDialog.js should be separated later...
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2c3aec1f2c18472d79024a0cf586e61f9339759a
This change adds all the new sparkline UNO commands and whitelists
all the sparkline UNO command for the context menu.
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: I9dd6c4df9fd0ab9a6472e011b240a0fda7fc1ca3
changes, mainly in Chart Editing Panel
(select chart -> press "edit chart")
- simplified sidebar panel label with arrow
arrow has simpler rules without left/right (for RTL)
- turned off margins for .jsdialog.root-container
what caused elements to overflow in chart panel
(eg drawingarea with chart types)
- changed panel width definition from fixed pixels to
"100% - scrollbar"
- RTL: converted left/right -> margin-inline-* for some
spinfields in chart panel
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3cfa1b0aa6ed1fdf3cf8ff54474c0c3e6ec94aaf
When the focus is lost, TextInput actually removes the mouse cursor
but there are other functions that sets the cursor and we need to
check whether the cursor is deleted or not before we set it.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I57622d9a7156148ce2a3cdbedc1af551581d0f8a
Currently we only allow user to interact with columns' optimalWidth
and rows' optimalHeight but those are different from setting width
and height:
- optimalWidth/Height allows the user to in a swift interaction remove
all extra space surrounding its contents from those selected
columns/rows
- Setting width and height are just that forcing a particular size on
the selected columns/rows no matter their content
Add possibility to set:
- Row's height via context menu
- Column's width via context menu
Screenshot comparing what we have VS what user expects (LO):
https://archive.org/download/cool-bug-missing-heighwidth-contextmenu/cool-bug-missing-heighwidth-contextmenu.png
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7c5335f4996b57dac1f8062e71e7132682d174cf
When working with tables it is now possible to to slip cells
where: Top menu: Table -> Split Cell...
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia242358245cebb6bded55aa995bd8c80900b9aaa
current approach is lacking the acceptInput state
because when we close the keyboard we need to set it
to false when we hide the keyboard otherwise canAcceptInput is not going
to change and controls for that will fail such as panStart and panEnd in
TouchGesture. Pannig while the mobile wizard is on causes keyboard going
on top of the mobile wizard and after that it causes endless screen
flickering.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I3248ef7f344fe53a57b7c77f4222d1fed5740896
when we decide the keyboard is closed by checking the screen size
we should not force keyboard to close again instead we just need to
set the state
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I486cda0598ab02e426aefd726475f0e70e0eee52
Due to recent changes on the color palette mobile wizard has changed
color from white to gray which causes the hamburger menu to appear not
going full height:
https://archive.org/download/cool-bug-mobile-hamburger-bg/cool-bug-mobile-hamburger-bg.png
Make sure hamburger menu uses the right color
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4263ebf8f92979ffd5a5657fceb76843594d4d54
Save icon (blue tick) should not be visible at all when the hamburger
menu is open
On Calc and it is also needed to hide formularbar while hamburger menu
is open because otherwise the it affects the size of the toolbar-wrapper
and consequently affect the flex box and how the hamburger menu gets
aligned
before: https://archive.org/download/cool-bug-mobile-save-above-back/cool-bug-mobile-save-above-back.png
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ifa5406a5a5c31172cde82e843949671fa95c6596
most of them don't have the text where they need to have
otherwise the text is defaulted to id. We can use hint prop
to text because it has the same output due to the uno command
name convention.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I0dd38ebdaaa95c41225c49e02d7615007e8a4049
Add to elements that should be hidden on mobile
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I16a39b81ec969bc847b92708486b729baddc0c5e
It should not be visible:
- Update id (it now has img as sufix)
- Add to display none elements
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I112cc52423a8862f6a4fb4d9ccaaf79298193721
Some elements were being on purposed set to be hidden but the ids have
changed and now the sufix img was added and so the CSS were not taking
affect anymore:
https://archive.org/download/cool-bug-mwizard-base64images/cool-bug-mwizard-base64images.png
Add sufix, update rules
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0adf33dc64db70138e3530441137bf74275424ce