10 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
b79af43f87 Help page cleanup
Change-Id: I1066974181278b56071f16234358d67d8038e134
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131200
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-03-21 18:16:03 +01:00
da688f647b Fix typo
Change-Id: Ic8737cf620e6cd1ec64a2fb4234d0982f3724b16
2020-07-22 13:17:22 +02:00
4be1fc40b5 fix typo
Change-Id: I167c43c2899f7c37817d0c297eb62939663fc93e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99191
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-22 02:25:19 +02:00
115422426e tdf#131416 Basic Subroutines help pages
- Function, Property & Sub statements
- Public, Private are keywords, Global removed from diagrams:
  -  Global=Public as Basic libraries remain in memory
- Basic toc & index

Change-Id: If107f4d148b4da399dd03d1b18ea3da5454bb9ac
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92784
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 16:16:43 +02:00
74fc095274 o Property statement added in Procedures & Functions help
o Multiple layout changes
Note: Optional keyword to be referenced later in above help

o ByVal/ByRef added to Property help page


Change-Id: I30e84c1e7464b4bc101727d2d088a35173f74b34
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89282
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-18 12:57:56 +01:00
e394800294 faulty link due to an improper uppercase letter
Change-Id: I7955da53204d5eb8bf4dff2713f304776f2befc4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/90040
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-03-09 16:18:11 +01:00
9be45efd58 Fix a couple of product names
Change-Id: I7d1fffadc0bcaec4ec9e9d43c9d9bb3351d570b7
2020-03-05 16:29:47 -06:00
ad3253b366 Basic Property statement new help
Change-Id: I4386954ea6f6a22fa1f6d8df5695c574cacba19e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88051
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-22 13:13:19 +01:00