Commit Graph

13 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
b6accc5eaf tdf#114263 Basic 'New' operator is optional when setting 'Option Compatible'
Change-Id: I27ef9d9c832e4c52e5066336e54095ca949fec9c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133398
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-04-28 08:27:59 +02:00
f62d08a3fb tdf#145754 Corrections to 'Option Compatible' Basic help page
Change-Id: Ie44b6b8717de38073dc791c286ce778e7595db3e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132038
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-30 14:29:26 +02:00
f5aacf4b1d Add precisions on Option Compatible in BASIC
Change-Id: I7759df12c05dfad209ebaca8747d2daa1d210f09
ref: https://gerrit.libreoffice.org/c/help/+/74812
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131473
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-16 15:06:47 +01:00
d55fd06206 Silence strings for l10n in sbasic/shared (Part 5)
Change-Id: I9961615c4288b3470a640ed2a4a3ec3674db7833
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126820
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-27 23:31:58 +01:00
c984b1f7c6 Option Compatible vs. Option VBASupport
Change-Id: Ia0327a4bf584b089fbe839c46cf8a6e6c6c576fb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123394
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-13 14:54:17 +02:00
2896f2eba4 Content fixes after translation round
Change-Id: Icdb80c6e659e81492e3b9c43afd0f49cbea0ed86
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88772
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-16 11:26:59 +01:00
d17d3ef38a related topics section title miss
+ related topics legibility improvement in compatible.xhp
Change-Id: I59ce332560d99b949f180cd37cfd61c40d9ff3f9
Reviewed-on: https://gerrit.libreoffice.org/83981
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-28 12:45:14 +01:00
ea0f53e1c2 Split VBA Compatibility files and enhance
Add examples,
Add cross-links
Split files

Change-Id: I92bef363f008aeed367167b50c4ea9a9943a62ff
Reviewed-on: https://gerrit.libreoffice.org/74812
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-28 14:21:59 +02:00
9438da88cd A couple of articles and tag vomit cleanup
Change-Id: I5e3d9c7f9ce78807d1acfa190a740f41ddd8a378
2019-01-28 15:27:22 -06:00
3f27275900 tdf#114263 Help page for Partition [VBA]
+ some hyperlinks and reordering of text in calssmodule
and compatible, option vba support.

Change-Id: Ic387086a5874989d22cf93caf0f3d0f48fd77a9e
Reviewed-on: https://gerrit.libreoffice.org/66910
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-26 12:11:22 +01:00
441f600d21 tdf#114263 Undocumented BASIC Options
Option Compatible
Option ClassModule

Change-Id: Ieb07fddb216f4f8cc26089a30226da5760b0065e
Reviewed-on: https://gerrit.libreoffice.org/66824
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-24 11:50:31 +01:00