Commit Graph

92 Commits

Author SHA1 Message Date
30682f2fa4 Reuse and sync help content
Change-Id: Ia95c3da543efd8dddfdcfa635d316b3c10fa52eb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/139569
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-09-19 16:36:52 +02:00
b97f163be7 Update bookmarks for python_programming.xhp
This patch also fixes all duplicated IDs that existed in this file.

Change-Id: I186f54d44a3863e2ead5f8e5ea33d4262e665f46
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137529
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-08-02 14:56:58 +02:00
68e39672b4 Toc update to document Python resources
Python modules deserve to be highlited:
- scriptforge
- uno
- msgbox

Change-Id: I6d0cad668527b17b1f3ca898d5001768cb30a318
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135947
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-24 16:08:35 +02:00
bf9c6c2a2b Minor string fixes
Change-Id: If1f76eacb11216a0b647948e956c7c99711f4c35
2022-04-05 08:57:36 -05:00
e1da23a649 Related: tdf#146971 rename %PRODUCTNAME Macros to Application Macros
Change-Id: I83393ec16732482deade1694c6a1a8e2b92f3944
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128916
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-25 13:23:56 +01:00
bba53dc2eb Silence strings for l10n in sbasic/shared (Part 1)
These strings are appearing for translation in Weblate
but they're pure Basic code/syntax that does not need translation.

Change-Id: I8a3f16fcb23f18a2b2b46eb7eaf8bbf74023dd84
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126606
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-12-11 01:57:15 +01:00
6d3d8f1f52 Simplify location description
Change-Id: I943bdd1ab68d0f73f3e7735b62c8ef228eecd72a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124700
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-12 16:46:58 +01:00
8278dc648a Fixing links
Change-Id: Iaffff844cfa18b2d3a8715e01d236e2d49ebe74a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124702
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-11-06 10:47:13 +01:00
993399c7c5 Fixing L10N issues
Change-Id: I45c83f083b861fbe594cb83a82b419aa51b29526
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123786
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-10-21 19:36:49 +02:00
79cf3e922b Running Python Interactive Console:
- Provide a non ambiguous capture
- Present APSO console as optional
- Provide GNU/Linux appropriate information

Change-Id: Ice7069242fc900b5c7c60a576671f62f841a313d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122732
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-11 01:28:36 +02: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
bd31d03c6a Fix in Basic macro example
Change-Id: Ia73865f59fc5b605853b5c1ff6232349fd186771
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121456
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-04 01:16:11 +02:00
38ce99f801 Create introductory ScriptForge help page
Change-Id: I5fd00cc05b0c28b600974c005a81804c1c6d5e74
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116906
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-06-11 22:42:55 +02:00
cfd0aa4ba1 Remove literals that prevent proper L10N
- extra index
- index relocation

Change-Id: Ia52c0db88406dd5b24514280c663cfb5de157091
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116169
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-06-08 14:15:19 +02:00
4ee2f0f82f sf_basic py2bas bridge
It includes Basic functions rework in order to
- share content,
- correct Basic keywords argument names tdf#141474
- accommodate Python lowercased arguments.

Change-Id: If59a82444a8e001b02d085f5e10e0053666f8485
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114008
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-04-29 18:15:58 +02:00
65d0ce6b57 Fixups of things missed in review
Change-Id: I6190d21bef297077e6a7685b59b58804cce60bca
2021-03-16 01:55:37 -06:00
bfc4754528 Remove more improper ellipses and fix a couple of capitalizations
Change-Id: I3cea0b968dd38d93381268c6b0ede5c90dc8a5a9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111945
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-04 04:32:05 +01:00
1f290dca1d Another random typo grab bag
Change-Id: Ib548ab7e25600fc693d7a9d6319104f431eb8e8e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111167
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-02-18 23:50:23 +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
1a2b300263 Minor copyedits
Change-Id: Id238b9ae6987152c7759cac21154b61a495b8685
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110027
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-27 18:13:57 +01:00
a9deae83c3 Fix spelling from UK English to US English
Change-Id: I5b1f9a65581945e8ec79f83728175d36f38a63eb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/103662
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-10-01 09:07:47 +02:00
4967b699ba tdf#132643 Translate German section IDs
Change-Id: I2d4a6e0a672db21ce316180b02938a118283183a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99437
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-25 23:08:21 +02:00
5ea3a748d1 typo
Change-Id: I1bcca86f97f87ae5a5240adbea7055bf669afbf6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97145
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 11:26:40 +02:00
7c39ebe635 Typo in Basic script
Change-Id: I73108c42e82a1e11606e373f1fce0f6a94198f7e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96094
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-11 13:58:55 +02:00
9be45efd58 Fix a couple of product names
Change-Id: I7d1fffadc0bcaec4ec9e9d43c9d9bb3351d570b7
2020-03-05 16:29:47 -06:00
1fa3873428 fix name of APSO extension
Change-Id: I17a1b9f0a6b67c05a77b328a06b9e4091e7c0c26
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88263
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-08 20:59:29 +01:00
08fa68db86 tdf#127919 link Assign Component dialog to 'Creating A Dialog Handler'
Change-Id: Ie0f7b0e45ebf0e39d67abc36640cdffd22e08e29
Reviewed-on: https://gerrit.libreoffice.org/85064
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-12 17:05:17 +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
aa272bf2b9 Fix links for basic_2_python page
Change-Id: I7ffd91ea10b22a5215a77be9639dd8d9c27c9ed0
Reviewed-on: https://gerrit.libreoffice.org/81509
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-25 18:03:40 +02:00
32ed2dcd31 Documenting how to call Python routines from Basic macros
Change-Id: I904cafe91ad7c5e72d09209c68db401003dda556
Reviewed-on: https://gerrit.libreoffice.org/81412
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-24 17:23:33 +02:00
35cef5c725 Restrict warning to sys=UNIX
Warning applies only to UNIX like systems

Change-Id: I1fe93eef298bb7f3f00d0318edb4413672e93d1f
Reviewed-on: https://gerrit.libreoffice.org/80831
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-15 15:54:41 +02:00
accc6a9e14 Add a warning detailing how to check Python's presence.
Change-Id: I31a1f4a99742b05f6f7a0c1b9904e78475ea9a4e
Reviewed-on: https://gerrit.libreoffice.org/79177
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-09-19 16:58:34 +02:00
7d89551e91 The exact context where Basic IDE is absent needs to be clarified
Change-Id: I722b5d37dcb6b6ea772ab6c8b6022484346ab29d
Reviewed-on: https://gerrit.libreoffice.org/78117
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-26 17:10:44 +02:00
243c74e455 Typo
Change-Id: I450b7d1c0b860f17cdd7a2ee36993fe90c58310f
Reviewed-on: https://gerrit.libreoffice.org/77731
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-19 15:57:58 +02:00
1e20b35158 Python console examples work better this way
Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837
Reviewed-on: https://gerrit.libreoffice.org/77598
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-17 15:00:43 +02:00
b21bc34d74 Don't translate example code snippets
Also avoid errors at 'make translations' such as:

Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0344
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0382
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0387
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0393
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0395
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0400
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0405
Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp
No string specified!
GroupID: N0417

Change-Id: I0715209dd8cf7b044a2914cfbcd3cfabdeab66ed
Reviewed-on: https://gerrit.libreoffice.org/77073
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-07 11:47:11 +02:00
c11400b40e tdf#126528 Add Python in Organize scripts page
Change-Id: I8d18f5e264fe11924a8ea234e82355913b0417d2
Reviewed-on: https://gerrit.libreoffice.org/76382
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-28 15:33:38 +02:00
1a500fb0a2 Fix typo
Change-Id: Ib92a4ba3f7b5dc41930e788c061c70fc74ab18f7
Reviewed-on: https://gerrit.libreoffice.org/76467
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-07-27 16:53:00 +02:00
6880ed4b73 Python dialog handler new topic
'Dialog Handler' new topic
bunch of x-ref between pages
make & toc

OH:
- fixed broken file path
- fixed broken links

Change-Id: I37e94fea48c394310298ff6f4b13f22c71c523c4
Reviewed-on: https://gerrit.libreoffice.org/76191
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-26 13:30:28 +02:00
deb9f4e0f5 Typo
Change-Id: I854c7a4112eda552122fa37f15bcf9752ad302ae
Reviewed-on: https://gerrit.libreoffice.org/75627
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-16 00:31:16 +02:00
3d1c811073 Python to Basic Help page
- Python x Basic inter-language calls
- Dialog handlers with Basic or Python

Amend 1
- place page at right path
- inter-page link calls
- entry in Contents
- Some changes in passive voice, articles in text

Change-Id: I5bb54150f534486c092036a8ed4fa7cc38cc9ef0
Reviewed-on: https://gerrit.libreoffice.org/75057
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-15 02:23:47 +02:00
821b9724fe Let's cope with help index idiosyncrasies
Change-Id: I2cd538428cf91dc0c0802389b4db26e07ab33073
Reviewed-on: https://gerrit.libreoffice.org/75501
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-13 14:15:06 +02:00
dcedbce9f5 Prevent L10n issue when building Help
Pootle does not convert back &lt; and &gt; into the same entities, thus
disturbing XML parsing of string. Changed to ().

Change-Id: I4e754313a2c51c6b5b190a7e236768fe84ec8672
Reviewed-on: https://gerrit.libreoffice.org/73444
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-05 14:46:30 +02:00
d373249544 faulty xml comment in bookmark
bis repetita mea culpa

Change-Id: I7dec8f40d5a39f20b0a214a4cacdb7ebc4ce2c02
Reviewed-on: https://gerrit.libreoffice.org/73260
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-31 14:13:08 +02:00
eb191448f1 Remove xml comments from file
xml comments inside <bookmark> index are moved as is to Pootle
and are not handled as comment when brought back to translated file.

Change-Id: I040cf84851dea3feea26054cb9a0a20e1241c53b
Reviewed-on: https://gerrit.libreoffice.org/73112
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-28 17:24:29 +02:00
a8a0ba510b - Pages mutual x-Refs
- Relate Tools help page to Basic Dialog page
- Basic page title change
- extra bookmark(s)
- Basic code change
  - loadLibrary code change
  - loadDialog with full path (as best practice)

Change-Id: Ia9a449b1dc8cb3a5acc7a921feeedebe7ce9cefb
Reviewed-on: https://gerrit.libreoffice.org/72946
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-27 02:17:31 +02:00
ec480186a3 De-dup paragraph id
Change-Id: Ibbd54040bd439e08c5496383575aa15aae5f4f05
Reviewed-on: https://gerrit.libreoffice.org/72606
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 16:32:36 +02:00
3218853d57 Platform regognition for Basic language
localisation adjustments

Change-Id: Iced427fc30c0bb8fe3873f9d42e64786c863c619
Reviewed-on: https://gerrit.libreoffice.org/72603
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 16:11:08 +02:00
4f954243e7 - Partial refactoring using API calls
- New bookmarks
- Link from Basic Adv libraries to Platform page

Caution: Please fix GlobalScope miss in </bascode> parser in the first place!

Change-Id: Ifeaa98d5491b659a1dddbdbe3dddc417779374cf
Reviewed-on: https://gerrit.libreoffice.org/72583
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 15:35:09 +02:00
caed5d5208 Dropped parenthesis throws compiler error
Change-Id: Ib3179cd0d853e92e4b9ced7f3e504f27e88e6de3
Reviewed-on: https://gerrit.libreoffice.org/71536
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-29 16:55:55 +02:00