Commit Graph

14 Commits

Author SHA1 Message Date
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
215707177c Refactor database files
Change-Id: If6acf26ea094234d06522c26c8bb8274c0abdaa5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127430
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-24 17:57:56 +01:00
04bef9c488 Refactor database help files
Change-Id: Ie8f983d2c49f61084c456f8c7e91b41a6b5ac22a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125491
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-18 19:18:39 +01:00
95f006af3f Refactor database files
Change-Id: I97f41e7a5268ee307e3e0b051abebb35b917ed73
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124565
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-02 08:04:48 +01:00
6c9b69b325 Refactor relations Help pages in sdatabase/
Change-Id: I6bb25934bc3f1443fbd5aa9806936a3628c03454
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111681
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-27 15:59:30 +01:00
5fd683cd1c Refactor some database pages
Place in sdatabase/ folder

Change-Id: Ia787f7634755be2fd4936914cacecded5bee4221
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110208
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-31 21:57:58 +01:00
c1b3e8ec87 Refactor database Help pages
Move pages to proper Help module (WIP)

Change-Id: I15fce44e0f066439db88175d1fd3754f4b618e23
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/104880
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-10-27 13:13:00 +01:00
971425d46a refactor some database Help files
Change-Id: Ia3ad2896015c335450d0970d8cf51044473e249e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97456
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 21:08:39 +02:00
4cb385dca9 Refactor database help page
Open a new module sdatabase and add one entry file.

Later, and very slowly, move database help pages from
shared/explorer/database/* to sdatabase/*

Note: Each move will trigger translation so better move
only a few files per translation cycle, not to overload
translators. Translation memory should easy the traslation
job.

Change-Id: I8e2be9c9355b966775fb5dacc5d63b852be7187a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94362
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-16 19:29:49 +02:00
e159f81ef3 tdf#117239 F4 -> Ctrl+Shift+F4
Update help pages woth F4 key for datasource

Change-Id: I20eb2b144dde11eb244dedde492e9c1b298fe103
Reviewed-on: https://gerrit.libreoffice.org/53588
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-29 12:03:08 +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
c20dde3497 The 'lastedited' element is useless, we have git. 2015-11-12 09:34:06 +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