Commit Graph

6 Commits

Author SHA1 Message Date
3542a6dade tdf#162607 Remove dup's in hid2file.js
+ Case of placeholder "zzzz" left here and there
+ refactor

Change-Id: I048ad7a9db45a8931ffca0ed801cb49c7888e02a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172356
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-08-24 16:36:16 +02:00
7e42394ecb tdf#152323 drop name attribute from <link> elements
Replacement done with

find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
        's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'

(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)

translation files will be prepped with:

find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
    $'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'

(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)

Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-07 17:39:02 +00:00
9147d1fa9b sbasic.tree, uno_objects, ThisComponent better descriptions
Change-Id: Ie1778adf59317260cc0c9a1c1eb43ed2d66e7518
Reviewed-on: https://gerrit.libreoffice.org/81822
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31 10:58:33 +01:00
2706cb2c41 localization inhibition in Basic
Change-Id: Ic0572bb9c55a205cf2f5cbb326d310bd07557811
Reviewed-on: https://gerrit.libreoffice.org/66503
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-22 11:49:09 +01:00
899529868c Does not compile as such
Change-Id: I353cde4e67424cb5b56071adc897c28462242985
Reviewed-on: https://gerrit.libreoffice.org/66086
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-01-10 13:18:58 +01:00
3f0f452519 StarDesktop object and reorder indexes
Add StarDesktop object description
Reorder "Other commands" to add UNO objects

Change-Id: Ia6547ea059276f8946b03392d29d968187bcd26c
Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/64981
Tested-by: Jenkins
2018-12-12 10:10:46 +01:00