Commit graph

56 commits

Author SHA1 Message Date
Muhammet Kara
0b9648445c Translator credits: Space after comma and tabs-to-spaces
Change-Id: I412b035cf25f7ec40164d0d187881177c7de0f4e
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-11-01 23:00:15 +03:00
kuesji koesnu
8e53541734 edited behaviour: if you pass csv input file with --csv parameter you get output in single line with comma seperated format.
Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: I4ed2299f917aa3bc899d9d2c62ffe7926e65498c
2020-11-01 22:14:20 +03:00
kuesji koesnu
591a5ac9b2 added --csv file argument for taking author list from comma seperated format
removed mail addresses from author list

Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: I369794dfb0db978c890b7691e4101f8fdf316302
2020-11-01 22:14:20 +03:00
kuesji koesnu
668eabffa4 this script searchs "Translated using Weblate" message in commit log and generates list of translators.
Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: If6b1ae1dd9de66138dff0c35a1f6ea98e61c12ca
2020-11-01 11:58:14 +03:00
Mücahid Aydin
e9ea83efa5 pep8 coding style conformance for scripts/unocommands.py
Change-Id: Ic395a0692a808bc8519a05baf9cdd669d94a0fc4
2020-10-15 12:44:54 +03:00
bgbenzer
5f482e57fd pep8 coding style conformance for scripts/untranslated.py
Change-Id: I4a3d8db37ba013b581eeec8fff8fba6fe1bcc966
2020-10-12 17:05:32 +03:00
corleone77
6ce6e0fbb9 locorestrings style fixed
Change-Id: If33d97ab9ddc33f5d674ddcc53db884338eb83c6
2020-10-12 12:06:09 +02:00
Miklos Vajna
9619517a10 git hooks: enable them automatically during 'make'
So one can't forget enabling them.

Change-Id: Icb595e9d0711227eaa6f11c1a9ff87f2c361e0bb
2020-10-07 12:54:47 +02:00
Andras Timar
0002fdfd6c fix license headers
Change-Id: I8623770b32d278a45357dc7f757fabfadd2b4af7
2020-10-01 11:56:43 +02:00
Tor Lillqvist
728d56aa05 Don't use just the basename in the usage help message
That is counter-productive. Use the command name as used by the user
to run the script.

Change-Id: I11b082375db8d8184543cead912cbc556f3695e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102041
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-09-04 12:46:42 +02:00
Szymon Kłos
9dd57f8fe1 notebookbar: customize Insert tab in Writer
Change-Id: I531854b4c7361fe5802a64016886feab5cda8979
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100177
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-06 08:16:19 +02:00
Andras Timar
000c5a9b41 Add more source files to scripts/unocommands.py
Change-Id: I395f1fdd761f94018c75fa5bf48d64aff0335c27
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96940
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-24 09:08:25 +02:00
Aron Budea
3c531c9adf Add translations for Page Setup & co
Translations for strings added in
53e6b0d07e

Change-Id: I319f519b897dcfc279e3c493a793b58b8b47a930
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87567
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-28 09:09:52 +01:00
Aron Budea
185bb77eee Add correct string and translations for Function Wizard
Change-Id: Ia9d8f2b102bc405d9eb9ef6364a00fc46c5798b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87155
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-24 21:34:01 +01:00
Andras Timar
bc608f41d5 With switch to Weblate, downloadpootle.sh script became obsolete
Change-Id: I85447800a2547d2e9142b59ce60ee3c242e7234d
2019-12-13 12:29:31 +01:00
Tamás Zolnai
7041d5c5b0 Update conext menu code to handle Spelling Popup
* Use unique IDs for sub menus.
* Handle uno command's parameter.
* When there is any parameter, we use the menu text.
* Avoid to enable FontDialog on other conext menus
* Introduce the command ".uno:None" to indicate that the
menu item can't be executed.
* Whitelisted spelling context menu's uno commands.
* Add a black list in unocommands.py to list those uno
commands which have no text in xcu file. In this case,
we can use the text sent in the menu structure.

Change-Id: Ie84fcb7d6c7a2f4cd50c666dbcd8c77cf42731de
Reviewed-on: https://gerrit.libreoffice.org/83606
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-11-24 14:12:30 +01:00
Michael Weghorn
c1e04e4069 scripts/unocommands.py: Switch to python3
Files not explicitly opened in binary mode are text files and thus
expect a 'str' arg for their write() method.

Python 2 is nearing its EOL and e.g. Debian has already
removed the python2-based 'python-polib' package previously
used here from its testing distribution.

I checked that running the commands

    ./scripts/unocommands.py --update . ../libreoffice
    ./scripts/unocommands.py --translate . ../libreoffice/translations
    ./scripts/unocommands.py --check .

still yields the same results as previously.

Change-Id: I39e1785d3c78416009420dd4c2be58bd1c3647c3
Reviewed-on: https://gerrit.libreoffice.org/81422
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Michael Stahl <michael.stahl@cib.de>
2019-10-24 14:07:47 +02:00
George
360d5a0956 added server uptime field to admin console
Change-Id: Id23fee1299b87095f186ce7aaa8c2d2e0f3cef52
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2019-07-19 21:14:01 +01:00
Andras Timar
8b3d548747 force overwrite of ios-*.po when downloading from Pootle
Change-Id: Ib0184ebe1b7485af819979acf4df268a564772b8
Reviewed-on: https://gerrit.libreoffice.org/74437
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-06-20 12:12:28 +02:00
Michael Meeks
4959b3b21c perftrace: fix time parsing issue.
Change-Id: If0987454e3aa747aa476fa4e0ec8070a95e92867
2019-04-19 23:51:26 +01:00
Michael Meeks
729c124b3b perftrace: consume PROFILE_FRAME messages and chart lok ProfileZones.
Also - enable performance tracing in the kit when we're logging at
trace level.

Change-Id: I838e8d7769b0ead8508c4482c58e0e2564dcee91
2019-04-16 20:27:37 +01:00
Andras Timar
5f10b44f00 Extract iOS strings with prop2po from Translate Toolkit + update pots
Change-Id: I0b7a7f2b9dd9bcbc52117fbe3e1009cc5f629ea2
2019-04-13 21:59:41 +02:00
Michael Meeks
0b6e769667 perftrace: trace more pairs and output line number details too.
Change-Id: I48c74266e4fe3233b4534c46b4864f58a9e63200
2019-04-05 17:57:52 +01:00
Michael Meeks
ca619e6fd7 perftrace: annotate start events as idle as well.
Change-Id: Iaf603101426caca1f48ebe10918170287aee006d
2019-04-04 20:01:19 +01:00
Michael Meeks
cacaefc287 perftrace: Annotate idleness and render it better as gaps.
Change-Id: If4d7853d02ca736f8cab12bd9dcc7c4b60ec7d27
2019-04-04 19:18:45 +01:00
Michael Meeks
f031e95229 perftrace: extend linear events duration to the next event.
Change-Id: I4ab31a6a71b3efcc366ca15e15d513f73205ca37
2019-04-03 21:34:47 +01:00
Michael Meeks
5ea3f32857 perftrace: add thread identifiers, and spoof a duration for all lines.
Change-Id: I13d929ebb2f06969cccc1b89f6e2c9b022b107e3
2019-04-02 20:43:56 +01:00
Michael Meeks
4744755ede perftrace: map pids.
Change-Id: Ibb884bf212453decd146131e52478bdfe4283879
2019-04-02 20:27:45 +01:00
Michael Meeks
545f1457a3 perftrace: output in Trace Event Format too and by default.
Change-Id: I964f869d953234a83066c5d34f43abfc22933b46
2019-04-02 20:18:28 +01:00
Henry Castro
59306e2f4c loleaflet: rename toolbar.js to Control.Toolbar.js
Change-Id: Ia8d0c3856ea40b4e342e5bec94c558c78464943f
2019-03-30 16:22:32 -04:00
Andras Timar
9a289f08de very basic script that extracts translatable strings from Root.plist
Change-Id: Ic905cbdd2e74d41fe7f199d8852e021fb321f8eb
2019-03-29 22:31:41 +01:00
Michael Meeks
cadcc6e166 perftrace: start to annotate common spans.
Change-Id: I90e9939ddc7dedfb24fd608f13ea31a2863ebe3e
2019-03-29 09:37:28 +00:00
Michael Meeks
a81b02b2c6 Parse loolwsd logs and start to chart the output.
Change-Id: I2fa2fb093fdc0bc9fab68e4533cd26abc2be3ecc
2019-03-27 06:41:45 +00:00
Henry Castro
c1ba96f951 loleaflet: move toolbar.js to src/control directory
Simplify building loleaflet.

TODO. Convert to L.Control.Toolbar

Change-Id: I6abedd19caa6f0c22267c661e67480507dcd8336
2019-03-11 14:51:56 -04:00
Andras Timar
a998c4af7c enable l10n of shape group names of insert shapes dropdown panel
Change-Id: I4999fef8f40b09b81fd27c333a74b8575640ed29
2018-12-27 22:31:35 +01:00
Andras Timar
92f3d62882 escape double quotes when generating json files from po files
Change-Id: Iacddaf919161b6843dac2190a5072af8a25e8251
Reviewed-on: https://gerrit.libreoffice.org/63218
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-11-09 21:59:50 +01:00
Andras Timar
470960e607 adapth paths to new source layout
Change-Id: I26b99f697f8481783714d45793f49dd818164d60
2018-10-21 21:22:04 +02:00
Andras Timar
03d184438e typo: streingIds -> stringIds
Change-Id: If68d5ddb26eb8a9b1b1c9b13db3819972753aa28
2018-10-21 21:08:37 +02:00
Andras Timar
244b27170e untranslated.py - a helper script to list untranslated strings for a given language
Change-Id: I44d5102fbe3ca319d5a4671a91957353c5357cda
2018-10-21 21:07:59 +02:00
Andras Timar
e444e3f197 adapth path to new source layout
Change-Id: I5cec0534119fce64bf9409a1f8fd382c259bbb95
2018-10-21 20:37:28 +02:00
Andras Timar
c3c18a2fa9 adapth path to new source layout
Change-Id: Ibf532933c999400979bc2a0623622d3428b6a8c2
2018-10-18 16:42:45 +02:00
Andras Timar
3719faf5e9 loleaflet: remove latin access keys in parentheses (in case of CJK, Indian, etc. langs)
Change-Id: I15763165535771511a4871882dd067fc689baaa3
2018-07-16 09:04:05 +02:00
Andras Timar
d239a3b373 adjust paths of toolbar.js and unocommands.js
Change-Id: I0373f1a05d18a85d5e351fd11bf3b81c43367279
2018-07-16 09:04:05 +02: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
Andras Timar
49b4d867f7 l10n: add Upper Sorbian and Venetian
Change-Id: I1da95391d9124a0484d5a7c51e0b90366d87d431
2018-01-03 16:30:53 +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
878eef6cb4 loleaflet: Add Upper Sorbian and Lower Sorbian UI languages
Change-Id: I4ad5acbdf6746df03ddf233b986f20d200331794
2017-04-04 16:46:05 +02:00
Andras Timar
660eeab9da Pootle server times out with IPv6 address... 2016-10-23 16:44:56 +02:00
Andras Timar
ff3c15fd40 loleaflet: expose Wrap and Anchor context menus for images 2016-08-23 15:36:59 +02:00