summaryrefslogtreecommitdiff
path: root/source/text/sbasic/python/python_shell.xhp
AgeCommit message (Collapse)Author
2024-03-10fix Helpex warnings: 'No string specified!'Andras Timar
Change-Id: I70ad73b6859cd989e6046c3bd5a76c54c27f416d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/164631 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-02-20Fix typoAndrea Gelmini
Change-Id: Ic6ed414c95a6a1c08884ea8ee55323a10bc36fe0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/163636 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-02-19Python Shell script update for macOSAlain Romedenne
- Eases the identification of embedded Python with Basic - Launching Python console with Python remains to be improved Change-Id: I4b581770166701cccca664d0b5209ccbe8362282 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/163172 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-12-07tdf#152323 drop name attribute from <link> elementsIlmari Lauhakangas
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-10-26index correctionAlain Romedenne
Change-Id: I9580f8bef5138364667df66eb950f1d205b5e9a2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141837 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-11-06Fixing linksAlain Romedenne
Change-Id: Iaffff844cfa18b2d3a8715e01d236e2d49ebe74a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124702 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-10-11Running Python Interactive Console:Alain Romedenne
- 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>
2019-04-02Current help page does not provide focus on UNOLibreOfficiant
...introspection that Python console is offering. Change-Id: Ic35833d7658d3ae9d465c1f3f7cc7a2ea1ecfa1a Reviewed-on: https://gerrit.libreoffice.org/69831 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-19remove empty paragraph, fixes a helpex warningAndras Timar
Helpex warning: invalid po attributes extracted from /home/timar/libreoffice-master/helpcontent2/source/text/sbasic/python/python_shell.xhp No string specified! GroupID: N0120 Change-Id: Ia3fa7d88f4756fd700eebcceb4480e0a553a5482
2019-02-14Python: improve navigation between Help pagesOlivier Hallot
add links between python pages add links from Contents section Change-Id: Ifc6704862c8213008eeb5d6e6baf86aa7c7be50b Reviewed-on: https://gerrit.libreoffice.org/67778 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-13Mute l10n in lines of Basic and Python codeOlivier Hallot
Change-Id: I8cebb9a0132d430242ae32be9b7fdac10e4e7da2 Reviewed-on: https://gerrit.libreoffice.org/66242 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-12-202 typos correctedLibreOfficiant
Change-Id: Ic3e2524861d91480da0cdb53400f22ca46d10e45 Reviewed-on: https://gerrit.libreoffice.org/65499 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-12-13More pages on Python scriptsAlain Romedenne
Change-Id: I5d8db28da384f52ee835195d3eb889fde0fe33b3 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/65117 Tested-by: Jenkins