Commit Graph

11 Commits

Author SHA1 Message Date
114401853f New features of SF_Dialog and SF_DialogControl services (WiP)
Change-Id: I5806e7c9cd014bd92e58b2f9aa739a610050ea76
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/153598
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2023-06-28 17:16:45 +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
4eb5af3af3 Add sort attribute in page
Change-Id: I9e34484ac411e07bcdeb67f4602ee58d7860150a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114112
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-14 23:37:09 +02:00
75cf318614 Deletion [Runtime] from names functions
[Runtime] was deleted
[Runtime - VBA] was replaced to [VBA]
Combination of words "runtime functions" and "runtime categiries"
was replaced to "functions" and "categiries" respectively

Change-Id: I1f03a5f2ef1697e216e144ecccbfb8942b315718
Reviewed-on: https://gerrit.libreoffice.org/49914
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-22 17:17:46 +01:00
bfe42f0868 Fixes for help pages after translation review.
Thanks to all translators for pinpointing these mistakes.

Change-Id: I3746d3d81ded2af1e012cb38cdd20e9e529c2667
Reviewed-on: https://gerrit.libreoffice.org/39330
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-06-28 00:02:04 +02:00
eb9ec1c794 remove obsolete oldref attribute (removes one context line in pot)
also remove obsolete l10n attribute (doesn't affect translations/pot)

Change-Id: I809866ea7b16cb1cacad9efacb6fdeebae38ea9f
2017-05-09 16:37:41 +02:00
2251478b3e Change file extensions in examples: sxw -> odt, sxc -> ods
Some examples still used the old StarOffice extensions.

Change-Id: Id6f7a28f0ff8511181f3641d8ad9f6f5896cef68
Reviewed-on: https://gerrit.libreoffice.org/28925
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-15 14:46:28 +00:00
64563d3282 switchinline is none of emph's allowed children
fixed with following sed expression:
's#<emph>\(<switchinline[^>]*><caseinline[^>]*>\)\([^>]*\)\(</caseinline><defaultinline>\)\([^<]*\)\(</defaultinline></switchinline>\)\([^<]*</emph>\)#\1<emph>\2</emph>\3<emph>\4</emph>\5<emph>\6#g'

Change-Id: I03d36f4c52e78ca48fc2f94b275ffad7329071e3
2016-01-25 15:13:19 +01:00
33e5713fd4 Killed the last remnants of the 'lastedited' element. 2015-11-12 09:41:15 +01:00
df4d4db740 re-base on ALv2 code. Includes:
Patch contributed by Oliver Rainer-Wittmann
    i#118572 - remove ui string and help content regarding
    usage of Java Mail in Writer's Mail Merge as Java
    Mail is not used.
    http://svn.apache.org/viewvc?view=revision&revision=1197035

    Patches contributed by Herbert Duerr
    updated help text for regexp word boundaries
    http://svn.apache.org/viewvc?view=revision&revision=1228026
    improved help text for word boundary regexp expression \b
    http://svn.apache.org/viewvc?view=revision&revision=1234738

    Patches contributed by Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245

    Patch contributed by Regina Henschel
    Extended tips for corner and cap style
    http://svn.apache.org/viewvc?view=revision&revision=1242287

* re-enable on-line update help, remove obsolete on-line purchasing.
2012-12-13 13:02:02 +00:00
61173c1b58 move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
2012-10-16 11:07:30 -05:00