19 Commits

Author SHA1 Message Date
793e57c7e3 line break is actually CR+LF, not LF+CR
Change-Id: I22aa8c3f50b4ea35c6f48d8e1baed1df73c46d69
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148212
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-03-05 07:59:36 +00:00
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
39ec56dd4e Typo grab bag
Change-Id: I5065a95400934026fb8a52dbeb72793c66b8caf5
2022-10-20 06:23:59 -05:00
7dea7021f4 make title of method list localizable
Change-Id: I8a1a8c1657c6390b8bcd7a42a6f6824293bf43f2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129177
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-31 00:54:28 +01:00
43abde3c6b Remove avail_release <notes> from SF documentation
Change-Id: Iab4c6ecba7f4db57bed82a29c5c4b9434b4efbb4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126295
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-12-04 21:32:05 +01:00
38c34032f7 Fix localization in some help pages
Change-Id: I59e2ea89dd81c76ee4efee6a154082a56289b524
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122289
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-09-22 06:29:33 +02:00
f6422656f4 Document sf_string Python support
- Typo in FindRegex

Change-Id: I7b2f98140585f7ff0ff04f9c4855deb299664592
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120432
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-08-13 16:07:18 +02:00
4a07d8d492 Adapt SF_String to new method signatures and add Python examples
Change-Id: Ifd9fa48fcb34ca8469581b8f3d8aac29f51b8414
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119438
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-28 15:23:26 +02:00
bd9131a3c0 Change examples using "~" (tilde) shortcut in SF help files
Change-Id: I462e9a79a1776c0bc6acb67a8d5b08b85c2ae106
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119178
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-21 12:22:57 +02:00
ad23b45f68 Fix broken link in SF_String
The IsIBAN link was incorrectly pointing to IsIPV4

Change-Id: Icd2cb3a5e0ca884afd3edbd3d2a721817d0817f9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115963
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-05-24 15:55:09 +02:00
a4aacdb16a document SF_String isIBAN() 7.2 method
Change-Id: Icdf0bdc74ea5deced0f31ee01061e46ff8b805f1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114713
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-04-29 15:30:15 +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
d5eb6397f3 sf_session new help page
- extra bookmark & link in sf_array
 - typo in py2bas
 - typo in sf-string

Change-Id: I508722de9b4cb1e55e203ba97b470b28f1ba03ae
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110678
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-02-12 18:42:16 +01:00
c36ab9284d Fix typos
Change-Id: Ic59e55a6b3b31211dedca20572f53914eb9a47ef
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110660
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-02-10 01:36:16 +01:00
6abb464fb6 Recreates SF_String Help page (ScriptForge)
SF_Array:
- Adds a <variable> tag

SF_Document:
- Fixes localization issues pointed out by translators on WebLate

00000003.xhp:
- Fixes the message explaining how to load libraries

Change-Id: I9361f86e7907b95e0546197203e2d23c6211fd4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110366
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-07 23:04:54 +01:00
57222f5d47 Revert "Create Help page for the SF_String service"
This reverts commit a6f6fa2254ced7120ac0fb0075b4fd5195c334af.

Reason for revert: was not yet ready

Change-Id: Ibc95e08e2cb2a1f2220b503f3ab472518f98a047
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110365
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-04 15:54:14 +01:00
a6f6fa2254 Create Help page for the SF_String service
SF_Array:
- Adds a <variable> tag

SF_Document:
- Fixes localization issues pointed out by translators on WebLate

Change-Id: Ifa0a3c7665796ea2e5464dc3f2bd9508b3f7847c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110360
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-04 15:31:36 +01:00