forked from amazingfate/help
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>
48 lines
2.9 KiB
XML
48 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
/*
|
|
* Copyright 2012 LibreOffice contributors.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*-->
|
|
<helpdocument version="1.0">
|
|
<meta>
|
|
<topic id="textsharedguideredlining_navigationxml" indexer="include" status="PUBLISH">
|
|
<title id="title" xml-lang="en-US">Navigating Changes</title>
|
|
<filename>/text/shared/guide/redlining_navigation.xhp</filename>
|
|
</topic>
|
|
<history>
|
|
<created date="2012-11-23T20:13:00">Muhammad Haggag.</created>
|
|
</history>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_redlining_navigation">
|
|
<bookmark_value>changes; navigating</bookmark_value>
|
|
<bookmark_value>review function; navigating changes</bookmark_value>
|
|
</bookmark>
|
|
<h1 id="par_id3153880"><variable id="redlining_navigation"><link href="text/shared/guide/redlining_navigation.xhp">Navigating Changes</link></variable></h1>
|
|
<note id="par_id3153881">This feature is Writer-specific.</note>
|
|
<paragraph id="par_id3153882" role="paragraph" xml-lang="en-US">There are two available commands to navigate changes in a Writer document:</paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/.uno:NextTrackedChange" id="bm_next_tracked_change" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/.uno:PreviousTrackedChange" id="bm_previous_tracked_change" localize="false"/>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph id="par_id3153883" role="listitem" xml-lang="en-US"><emph>Edit - Track Changes - Next</emph>: <ahelp hid=".uno:NextTrackedChange">Jumps to and selects the next change in the document, if any.</ahelp></paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3153884" role="listitem" xml-lang="en-US"><emph>Edit - Track Changes - Previous</emph>: <ahelp hid=".uno:PreviousTrackedChange">Jumps to and selects the previous change in the document, if any.</ahelp></paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph id="par_id3153885" role="paragraph" xml-lang="en-US">Using these commands in conjunction with the <emph>Accept</emph> and <emph>Reject</emph> commands allows navigating, accepting and rejecting changes without invoking the <emph>Edit - Track Changes - Manage</emph> dialog.</paragraph>
|
|
<section id="relatedtopics">
|
|
<embed href="text/shared/guide/redlining.xhp#redlining"/>
|
|
<embed href="text/shared/guide/redlining_accept.xhp#redlining_accept"/>
|
|
<embed href="text/shared/guide/redlining_doccompare.xhp#redlining_doccompare"/>
|
|
<embed href="text/shared/guide/redlining_docmerge.xhp#redlining_docmerge"/>
|
|
<embed href="text/shared/guide/redlining_versions.xhp#redlining_versions"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|