Commit Graph

9 Commits

Author SHA1 Message Date
1c3257e391 tdf#155193 Fill indexer= when omitted in Help files
Change-Id: I10f3c9e1e698619dcace7c4314f2bd37adf698de
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155363
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-05 11:42:52 +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
e1da23a649 Related: tdf#146971 rename %PRODUCTNAME Macros to Application Macros
Change-Id: I83393ec16732482deade1694c6a1a8e2b92f3944
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128916
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-25 13:23:56 +01:00
bfc4754528 Remove more improper ellipses and fix a couple of capitalizations
Change-Id: I3cea0b968dd38d93381268c6b0ede5c90dc8a5a9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111945
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-04 04:32:05 +01:00
a8a0ba510b - Pages mutual x-Refs
- Relate Tools help page to Basic Dialog page
- Basic page title change
- extra bookmark(s)
- Basic code change
  - loadLibrary code change
  - loadDialog with full path (as best practice)

Change-Id: Ia9a449b1dc8cb3a5acc7a921feeedebe7ce9cefb
Reviewed-on: https://gerrit.libreoffice.org/72946
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-27 02:17:31 +02:00
8e550a4a31 minor correction
Change-Id: I900e7175a028599f320d80ff30822fcad55d9046
Reviewed-on: https://gerrit.libreoffice.org/68620
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-02 16:00:44 +01:00
1c8dbb18e1 Relate Python & Basic examples together
Change-Id: Ib6abffdfb2f83688eb84f94553f44b3f10dc33c2
Reviewed-on: https://gerrit.libreoffice.org/68388
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-27 15:22:59 +01:00
49d8f790a7 Fix typo
Change-Id: I3946d4ed9f9c38d0d30f89427b44bb6696b85f8a
Reviewed-on: https://gerrit.libreoffice.org/68182
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-02-22 05:35:42 +01:00
5489ccad66 Python: Help pages on opening dialogs
Change-Id: Ib71ad229ff908c1bb7c426f2242729d53cb01ff8
Reviewed-on: https://gerrit.libreoffice.org/68100
Tested-by: Jenkins
Reviewed-by: LibreOfficiant <OpenOfficiant@sfr.fr>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-21 16:22:07 +01:00