Commit graph

183 commits

Author SHA1 Message Date
Henry Castro
940f0228ed loleaflet: remove unused dir
Change-Id: I0b706797b691bca773a96a0b551feda5c29c246a
2018-05-26 10:16:18 -04:00
Andras Timar
b1948bff68 remove unused evol-colorpicker
Change-Id: I3eaf2040aa8cfaefb7861c33bceac7c1e5d7866a
Reviewed-on: https://gerrit.libreoffice.org/54806
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-05-25 23:07:15 +02:00
Henry Castro
50dd72d34f loleaflet: move cursors to images directory
Change-Id: Iea2f5753da022fec70d17fd325764cc46b371483
2018-05-24 14:45:59 -04:00
Henry Castro
9978c51595 loleaflet: lint draw plugins
I forgot to add it, in previous commit

Change-Id: I9fce42d39d07f6d60910e2fc6fec86b78888b9d6
2018-05-24 13:42:07 -04:00
Henry Castro
242b86454d loleaflet: fixed js lint errors in js/global.js
Change-Id: I81d9371e6bfb8eec9e3290e863d89d3f1cb53c40
2018-05-24 10:45:42 -04:00
Henry Castro
7b17fc3a3f loleaflet: modularize toolbar.js file
Change-Id: Ic09d97b7f19aebec80a48161ff3f2a8c7db61328
2018-05-20 10:13:29 -04:00
Henry Castro
486a525cdf loleaflet: debug: do not bundle the draw plugin files
Change-Id: I022f121410eb0a3cd59b2b3b1a160ff7d244ad53
2018-05-17 17:22:25 -04:00
Andras Timar
8f8fbd64df fix file paths 'make pot'
Change-Id: I135c05955e4b8752d527838162f4a7ed345fcc6d
2018-05-11 16:38:47 +02:00
Henry Castro
04f17a012f loleaflet: fix build in admin files
Change-Id: I0e96b18e6319ce0d4456c16f0fce008e4e4c4966
2018-05-10 14:48:50 -04:00
Henry Castro
8618885b31 use Makefile to build loleaflet
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory

Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00
Henry Castro
472cae55e7 loeaflet: debug w2toolbar
avoid minify w2toolbar for debugging purposes

Change-Id: I6a24f498511d4b03a04e68af0aa3715bb8c1b48b
2018-03-27 23:05:07 -04:00
Andras Timar
239d5a09a3 remove src/control/Control.MetricInput.js from list of localizable files, because it was deleted
Change-Id: I1583c81aef924c7f61b6b1722666c5fd1137e418
2018-02-21 23:07:52 +01:00
Samuel Mehrbrodt
3ae85e20a6 Ignore errors when draw directory is not deletable
Change-Id: Iec3567129f96b69174421ca1ec652dccf6a6b56c
Reviewed-on: https://gerrit.libreoffice.org/48911
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-01-31 10:24:13 +01:00
Andras Timar
a8f3876ea4 enable l10n of Control.AlertDialog.js
Change-Id: I841aa6b7ef02fd6681fc55f16976a38de69c54b6
Reviewed-on: https://gerrit.libreoffice.org/48061
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-01-17 20:52:17 +01:00
Jan Holesovsky
1f1a76e5ef l10n: use translations of .uno: commands from LibreOffice
This is a combination of 22 commits.

l10n: New script for collecting the used .uno: commands.

Change-Id: I9c6f3f03a4042f8e5ba1f258ce468fc0f4abd169
Reviewed-on: https://gerrit.libreoffice.org/45981
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 99161841dcee3b066153a7f7af0e98d6ef7f8a2c)

l10n: Don't repeat the strings in the menu definition, use the uno commands.

Change-Id: If8ccd753cd88056c64c10e3f9f7b951208fafdb8
Reviewed-on: https://gerrit.libreoffice.org/45983
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 5b87f2fca5d6f84d0ac637021e87e2dc41dd13c7)

l10n: "type: 'unocommand'" is implicit when there is "uno:" in the item.

Change-Id: I2fe50e4860848920f551cc6a3fda5ebe5f49b3f2
Reviewed-on: https://gerrit.libreoffice.org/46011
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit d38664c023f374dc66361d00be89c08a0e5bbc20)

l10n: Fix mis-typed .uno: commands.

Change-Id: Ia2d695d584d48b92def364c3936655909aabd076
Reviewed-on: https://gerrit.libreoffice.org/46012
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c)

l10n: Don't extract uno: when name: is provided for that entry.

Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb
Reviewed-on: https://gerrit.libreoffice.org/46013
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 293c5d45083823ae1c1f4e0519928c0b5d23dced)

l10n: Implement --check to notice not covered .uno: commands early.

Change-Id: I928f2cef8d9a869c10fa6c6370a7ce1c811631c8
Reviewed-on: https://gerrit.libreoffice.org/46014
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 457f929357adf7f52e0fc9281d41df3f29859467)

l10n: Further decrease the use of own Online strings...

...if those can be deducted from .uno: commands.

Change-Id: I9c2459a12ee95e936a7ec37f6270012d811cdf86
Reviewed-on: https://gerrit.libreoffice.org/46018
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 70ecee2bb6398aafdf6c71aeecf6e9eb6330fb70)

l10n: Let's avoid redirect, and write the unocommands.js directly.

Change-Id: Ifda0de27881ba415ff062368483524080dce5189
Reviewed-on: https://gerrit.libreoffice.org/46020
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit b6fa6f376c41d6787ab1cbb52218e7ff1064b83a)

l10n: Generate translations of the .uno: commands + update the current ones.

Change-Id: I77377412e4776a830f15973a35b83e8eca299f05
Reviewed-on: https://gerrit.libreoffice.org/46047
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit b2bfb2349ec2934a611bb4c1393e9f17aedb0ba2)

l10n: Translate also the right-click menu .uno: commands.

Change-Id: Ie5cedaaa10febe78ba319f9e9b03fdd44c94f468
Reviewed-on: https://gerrit.libreoffice.org/46048
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 861c252d5204dfac7b8f5fb4505efcc29eafeb3d)

l10n: len(sys.argv) is 1, when the command is invoked without options

Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76
Reviewed-on: https://gerrit.libreoffice.org/46078
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit f096cf33977620f368ecc7c5b64164ab2303060b)

l10n: remove obsolete unocommandsl10n.sh

Change-Id: I4e9945407aff4a4fa1444079f8ecec1782a71c9c
Reviewed-on: https://gerrit.libreoffice.org/46079
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 4f0d5d7a2431bf5e132bdcd85285c10c0fd21322)

l10n: Make sure to distinct between apps + between main menu and context menu.

The strings can differ considerably, making some menu entries not
understandable at all.

Change-Id: I36ffa8b01df119a7655a711ec859391af16836c9
Reviewed-on: https://gerrit.libreoffice.org/46097
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 53d9593edb32bbc5db3fe430ac5f20a1bdd4e127)

l10n: Fix the Table menu in Impress.

Change-Id: I2cb8b98ecc1a18174b26dfaa9c96ad3829ff5989
Reviewed-on: https://gerrit.libreoffice.org/46099
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit be100fe06abbeabed05b0c8a02c4f6067fcfc774)

l10n: first check for 'lang', then require unocommands

Change-Id: Ib8f94bbdd163a89bef4886d68816628e124e9ef8
(cherry picked from commit d94a53a0e363f6edf3a139d26c4b9603ef14389f)

l10n: get Language menu translations for free

Change-Id: I8b5628457cf713d8fdb0d4de6935b7e1d54ad093
Reviewed-on: https://gerrit.libreoffice.org/46158
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 53b8a60d5d85fc1a3909809ea51a23cb20453bea)

l10n: Calc and Impress should use _UNO('.uno:LanguageMenu') too.

Change-Id: I987821d9d9b0f40baea1879d28177e8e0c58a3a3
Reviewed-on: https://gerrit.libreoffice.org/46418
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit ba61ec9da2c073d2d728c5bb8df8912f5117fd5e)

l10n: Calc row, column and sheet tab context menu translations from LibreOffice

Change-Id: I1f566a71e5fdc66304e82bc2bcfb0f9ced2f5d2a
Reviewed-on: https://gerrit.libreoffice.org/46430
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit e8847b9ef174288b73650a4e63e8a6b0cfb43b4c)

l10n: Some toolbar button tooltip translations from LibreOffice

Change-Id: I4a8d050c7ae8efc7d1932f16dc35455f1a182d8a
Reviewed-on: https://gerrit.libreoffice.org/46444
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit d51a760957480ea412519f677dae7a2294c324cd)

l10n: localize 'Undo' and 'Redo' labels on Document Repair dialog

Change-Id: Ibd4236f85a6db92b7d6456f6f22115b35079da83
Reviewed-on: https://gerrit.libreoffice.org/47252
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit f8bf2c28608c139279aaa484603da8cc539ff948)

l10n: 5 more toolbar strings from LO core

Change-Id: I398a0d7c28a8295c3b8e5077903b5fa7d3d5c45c
Reviewed-on: https://gerrit.libreoffice.org/47310
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-01-03 14:57:08 +01:00
Andras Timar
40a53cf28e l10n: reproducible way of extracting translations from LO core
Change-Id: If17639d79105efa782e724842ff7132d6b718dbc
2018-01-03 08:39:28 +01:00
Andras Timar
6aa893badf l10n: admin console fixes
Change-Id: I047e90c4977bcca2a8968d1af5422742b4ae43db
Reviewed-on: https://gerrit.libreoffice.org/47288
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-01-03 08:15:02 +01:00
Pranav Kant
0dbca24c8b lokdialog: Kill JS special character dialog; use the tunneled one
Change-Id: I4f86b3d8a1a05a522eeadaac69d14965106c47d0
Reviewed-on: https://gerrit.libreoffice.org/46466
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 30bae27622d3b6a2aa7af2e13f5da50a89f9e91e)
2017-12-19 17:35:15 +05:30
Pranav Kant
66556c1668 Copy jquery-ui image files to dist/ during normal make
No need of dist-hook now to do the same. The good thing is that now
these images will also be available to a developer which was earlier not
possible without manually copying the files left & right. This means no
more annoying errors in developer's browser console.

Change-Id: Ie180720086feace00b61891f56ee3532f5f9df7b
2017-11-10 11:33:45 +05:30
Christian Glombek
b61bcd2e53 Fix build from non-git source archives like tar or zip
Change-Id: I359056c9ad2550b625eb3e7b8e71d841eedea93b
Reviewed-on: https://gerrit.libreoffice.org/41553
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-03 01:30:27 +02:00
Andras Timar
0bfd359a7c loleaflet: create destination file's directory with po2json.py
... because the Makefile did not work on SLED11SP4 (?!)

Change-Id: I4e7468149f1c5461aeeb05d3a68e62cda1e329e5
Reviewed-on: https://gerrit.libreoffice.org/39778
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-07-31 19:42:32 +02:00
Jan Holesovsky
21192c4306 Generate the l10n json files only when the appropriate po's change.
Change-Id: I17c0f022775ec631e6493ba81fa41752f6841188
2017-05-05 11:28:26 +02:00
Jan Holesovsky
fdb5f6f09f Build the translations even for the developers.
Change-Id: Ida8e705c500c9698afc32427815a5b12ab076ac9
Reviewed-on: https://gerrit.libreoffice.org/37018
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-04-27 10:01:03 +02:00
Andras Timar
c38e5de273 loleaflet: without quotes the target file name was truncated at 'ui-bg_highlight-soft_'
Change-Id: I0f7ffb0babf4295a48e1684a24bb24a0fd7ab8f4
Reviewed-on: https://gerrit.libreoffice.org/36725
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-04-20 11:00:37 +02:00
Marco Viscido
0bb650e7c4 keep expired document and query them to get the historical content
A Document has its own snapshots set.
A snapshot is a string representation of a JSON object.
AdminModel keeps also the expired document objects.
Query each document object in order to get their own history.
Admin accepts an "history" command then returns a json object.
An administrator checks the history by dashboard.

Change-Id: I73c87eff334cdb5a4a58043b2b66f18a56240b3a
Reviewed-on: https://gerrit.libreoffice.org/35926
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-04-19 04:08:38 +02:00
Andras Timar
baa07c0997 loleaflet: src/control/Control.ContextMenu.js contains translatable strings
Change-Id: I4010eb296a1771f0e8fbfa5078b4847193cfc188
Reviewed-on: https://gerrit.libreoffice.org/36491
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-04-12 22:26:43 +02:00
Andras Timar
e5fbdb2cde loleaflet: add new localizable files to Makefile.am and regenerate pot file
Change-Id: I6a91186eba13da6745c2cddb6e96b7b148d797dc
2017-03-13 13:03:19 +01:00
Andras Timar
fdb71825c4 loleaflet: use --duplicates=merge option of html2po
Change-Id: Id2bba4580910a7dd02c0a11302e4ae1dd2c15acb
2017-01-09 15:48:16 +01:00
Pranav Kant
053f5b5d9f Unused variable
Change-Id: I1e8ba0dc8683193d7ce0680854cb43286fc0dd98
2017-01-05 13:14:42 +05:30
Pranav Kant
907b391f43 dist-hook and install-data-hook for loleaflet
Also tell automake to use tar-pax instead to allow bigger file
names (> 99).

Change-Id: I1d910a08684e780c958c7edc9852432705d51b18
2017-01-04 19:46:48 +05:30
Pranav Kant
fe1fe65e44 Include loleaflet files to source archive
Change-Id: Ia7583786fd5a709e56f3319fac25e554465ab3df
2017-01-04 14:20:27 +05:30
Andras Timar
9ee4062935 Bump version to 2.0.1+
Change-Id: I1a670d3b9a3a5d3711f1a83b2a8978e032ded774
2016-12-14 11:34:11 +01:00
Pranav Kant
b3db321e85 Unify loleaflet's make with top level make
Top level make would now build loleaflet too if necessary.

Respect value of ENABLE_DEBUG and if present add debug-info to
generated js bundles too.

Add new rule, clean-local in loleaflet.

Change-Id: I3a9b727824f2877fc72719a8bfdeebed5448cb7d
2016-12-12 17:56:58 +05:30
Renamed from loleaflet/Makefile (Browse further)