7 Commits

Author SHA1 Message Date
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
93b76db773 tdf#131416 typo in basic syntax
Change-Id: Ic51949f7781263879f8d92861d1a08e8d98329af
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/98455
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-10 14:40:20 +02:00
de1a815d21 fix doubled colon
Change-Id: I9bad622b777f2e403e24386f7efb985de72aceb6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/98292
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-08 12:57:26 +02:00
731ea5215c Some more copyediting…
Change-Id: I43d4535b5c0ea659fd19177775ad00db71a2d7b3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91001
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-04-27 02:27:32 +02:00
82c126e04a help pages corrections
- faulty embed in RGB() pages
  - faulty embeds could be removed in Blue(), Green(), Red() pages
  - did not clear 'farbcodes' in case use elsewhere
- Rewording in Resume statement

Change-Id: Ic760007a5e58af973f9935e22c107094d2170001
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92545
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-25 15:29:19 +02:00
f4753fb3ec Fix typo
Change-Id: I0219b40a90e82c5e4cd0d0bca4e3816eb837c6cf
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92038
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-10 16:04:05 +02:00
abb9f58751 tdf#129366 Resume statement new help page
its 3 available options are:
- 0
- label
- Next

+ associated examples in combination with On Error statement

To be rebased past #91709

Change-Id: I0986816580835bf9b2b2657ecdbdc06118b1ff9d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91712
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-09 19:46:44 +02:00