Ilmari Lauhakangas
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
..
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-06-13 12:34:15 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-07-05 15:27:54 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-06-17 13:06:13 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-11-07 01:13:39 +01:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-04-05 16:33:15 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-05-20 18:24:15 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-10-19 14:29:23 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-12-27 23:22:06 +01:00
2021-12-27 23:22:06 +01:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-11-07 01:13:39 +01:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-06-17 13:11:00 +02:00
2020-06-17 13:09:56 +02:00
2022-12-07 17:39:02 +00:00
2022-03-21 13:08:01 +01:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-12-02 20:31:54 +01:00
2020-04-17 20:34:57 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-09-29 12:28:19 +02:00
2020-10-09 18:02:44 +02:00
2020-09-29 12:28:19 +02:00
2020-09-29 12:28:19 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2020-04-17 20:34:57 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-10-11 02:05:24 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-12-27 23:31:58 +01:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2021-10-13 14:54:17 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00