10 Commits

Author SHA1 Message Date
bd899b607e Create TOC with all ScriptForge methods and properties
Change-Id: I32be401689efce0cba70216458bc7c8ba4a405c5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144309
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-17 12:02:57 +00: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
cf2296c78c Fundamental confusion: *“Beware that” → “Be aware that”
Change-Id: I7f6b830a87bbdf2380c32d515554cb9836b50848
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137211
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-19 08:04:36 +02:00
4b68b8f837 Some ScriptForge services lack a pre-requisite note 2/3:
- included pre-requisite note in SF help page
- created a Python biaised note for 'Basic' service
- will create a Basic biaised note for Basic oriented services in a subsequent patch 

Change-Id: I0810602b527fde14e4a013857482fc892593ca7f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132386
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-04-06 20:00:15 +02:00
84169c6b03 make two sentences in Timer service localizable
Change-Id: I39e7cd9bb39cc2905aa9fc36f3434dc70b8e5fe4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129390
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-02-03 04:19:15 +01:00
08af5ea834 Python examples in SF_Timer help page
This patch also adds a <variable> tag and refactors the file 03030303.xhp (Timer function) to ease x-ref.

Change-Id: I90f26234a9632b9d8220cca94fe2ab11fb4f8fa2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119256
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-21 19:27:48 +02:00
3c0fb9a710 Add note about Python support availability on some SF services
Change-Id: I226b0b92fcc2b380fa6687cba87276b485009151
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117567
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-22 13:44:08 +02:00
8ec0053e3f Fixes localization in SF String, TextStream, Timer and UI help pages
Change-Id: Ic860d9861006ba69b6d2b593877f2cfa39f31402
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113286
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-30 13:49:39 +02:00
d87d59a9e8 Create SF_L10N Help page
Also in this patch:
- sf_timer: toggle translation of strings
- sf_string: fix typo / add <literal> tag

Change-Id: I45356a23104744e41b339d23ecaf03652bb0a765
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111591
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-01 17:22:33 +01:00
2bf658142b Creates Help page for ScriptForge Timer service
Change-Id: Id3d0832056edcbd828dd9eadaca4ed906088dc73
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109394
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-19 14:04:38 +01:00