9 Commits

Author SHA1 Message Date
e6eb23afa0 tdf#154996 Update tools - remaining help pages
Change-Id: Ide4d3dd44b0c7d4ab09bd7560cc0a3f7fb6b59c1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157648
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-10-06 16:45:12 +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
1e721d1ea8 Update Calc Tools menu with Forms submenu
Change-Id: I5524b4ba2674167a162133b9ff99677f2f59cfc3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131607
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-15 17:07:41 +01:00
14b884e807 Revert "Update Clac Tools menu with Forms submenu"
This reverts commit 31f0c48d3bc30742d49af32ac9686d71f8aa7215, because
it broke the build, presumably because it forgot to add
helpcontent2/source/text/shared/menu/forms.xhp as a new file.

Change-Id: Ie51a7683f254b0439bbbc2e563ba943b8f98e02a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131486
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-15 08:33:11 +01:00
31f0c48d3b Update Clac Tools menu with Forms submenu
Change-Id: Ib8ac1f43116592ea569d88d16f84db44b0333286
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131567
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-15 00:11:45 +01:00
abe9969968 Fix typo
Thanks a lot to Valter Mura:
https://listarchives.libreoffice.org/global/l10n/2022/msg00005.html

Change-Id: I3416cd3e0da0426aa4ea074e8b9c8268dfd2b627
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128302
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12 07:19:12 +01:00
890b11c7e3 Add Development Tools icon to Help page
Change-Id: I619e94f6c9c58285781cd6635398b4a807d20f55
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125335
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-17 11:48:48 +01:00
202fe13967 Mute l10n in some strings
Change-Id: I5338d523362eb8d50bdf633793a9d3d5d59999f1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122446
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-28 02:09:36 +02:00
0b7cde3aab Create help page for the Development Tools feature
Change-Id: Ib392399fa71c27ce6be7fca8c55985d75519ea87
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119855
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-03 01:39:29 +02:00