Files
help/source/text/shared/main0108.xhp
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

112 lines
7.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* 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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<meta>
<topic id="textsharedmain0108xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Help</title>
<filename>/text/shared/main0108.xhp</filename>
</topic>
</meta>
<body>
<section id="help">
<bookmark xml-lang="en-US" branch="hid/.uno:HelpMenu" id="bm_id3153539" localize="false"/>
<h1 id="hd_id3155364"><link href="text/shared/main0108.xhp">Help</link></h1>
<paragraph id="par_id3153990" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:HelpMenu">The Help menu allows you to start and control the $[officename] Help system.</ahelp></paragraph>
</section>
<section id="helpcommand">
<h2 id="hd_id3147399">$[officename] Help</h2>
<paragraph id="par_id3147576" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:HelpIndex">Opens the main page of the $[officename] Help for the current application.</ahelp> You can scroll through the Help pages and you can search for index terms or any text.</paragraph>
</section>
<section id="syhelp">
<table id="Tabela1">
<tablerow>
<tablecell>
<paragraph id="par_idN1064A" role="paragraph" xml-lang="en-US"><image id="img_id1619006" src="cmd/sc_helpindex.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id1619006">Icon Help</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_idN10667" role="paragraph" xml-lang="en-US">%PRODUCTNAME Help</paragraph>
</tablecell>
</tablerow>
</table>
</section>
<embed href="text/shared/main0201.xhp#whatsthis"/>
<bookmark xml-lang="en-US" branch="hid/.uno:Documentation" id="bm_id4224532" localize="false"/>
<h2 id="hd_id230120170827187813">User Guides</h2>
<paragraph id="hd_id230120170827189453" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:Documentation">Opens the documentation page in the web browser, where users can download, read or purchase %PRODUCTNAME user guides, written by the community.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:QuestionAnswers" id="bm_id4124532" localize="false"/>
<h2 id="hd_id230120170827196253">Get Help Online</h2>
<paragraph id="par_id230120170827196850" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:QuestionAnswers">Opens the community support page in the web browser.</ahelp> Use this page to ask questions on using %PRODUCTNAME. For professional support with service level agreement, refer to the <link href="https://www.documentfoundation.org/gethelp/support/"><emph>page of professional %PRODUCTNAME support</emph></link>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:SendFeedback" id="bm_id4134532" localize="false"/>
<h2 id="hd_id2752763">Send Feedback</h2>
<paragraph id="par_id443534340" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:SendFeedback">Opens a feedback form in the web browser, where users can report software bugs.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:SafeMode" id="bm_id4224562" localize="false"/>
<h2 id="par_id230120170903409011"><link href="text/shared/01/profile_safe_mode.xhp">Restart in Safe Mode</link></h2>
<paragraph id="par_id281120160939285779" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:SafeMode">Safe mode is a mode where %PRODUCTNAME temporarily starts with a fresh user profile and disables hardware acceleration. It helps to restore a non-working %PRODUCTNAME instance.
</ahelp></paragraph>
<h2 id="hd_id561629934889067">Get Involved</h2>
<paragraph role="paragraph" id="par_id501629934998665">Opens the <link href="https://www.libreoffice.org/community/get-involved/">community Get Involved page</link> in the web browser. The page describe areas of interest where you can collaborate with the %PRODUCTNAME community.</paragraph>
<h2 id="hd_id431629934866702">Donate to %PRODUCTNAME</h2>
<paragraph role="paragraph" id="par_id691629934873388">%PRODUCTNAME is Free Software and is made available free of charge.</paragraph>
<paragraph role="paragraph" id="par_id651629934878405">Your donation, which is purely optional, supports our worldwide community.</paragraph>
<paragraph role="paragraph" id="par_id611629934882669">If you like the software, <link href="https://www.libreoffice.org/donate/">please consider a donation</link>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:ShowLicense" id="bm_id4151385" localize="false"/>
<h2 id="hd_id4153881">License Information</h2>
<paragraph id="par_id4144510" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:ShowLicense">Displays the <emph>Licensing and Legal information</emph> dialog.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:ShowCredits" id="bm_id5151385" localize="false"/>
<h2 id="hd_id5153881">%PRODUCTNAME Credits</h2>
<paragraph id="par_id5144510" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:ShowLicense">Displays the <emph>CREDITS.odt</emph> document which lists the names of individuals who have contributed to OpenOffice.org source code (and whose contributions were imported into %PRODUCTNAME) or %PRODUCTNAME since 2010-09-28.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:OnlineUpdate" id="bm_id2785119" localize="false"/>
<h2 id="hd_id2926419"><link href="text/shared/01/online_update.xhp">Check for Updates</link></h2>
<paragraph id="par_id2783898" role="paragraph" xml-lang="en-US"><ahelp hid=".">Enable an Internet connection for %PRODUCTNAME. If you need a Proxy, check the %PRODUCTNAME Proxy settings in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Internet</emph>. Then choose <emph>Check for Updates</emph> to check for the availability of a newer version of your office suite.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:About" id="bm_id3151385" localize="false"/>
<h2 id="hd_id3153881">About $[officename]</h2>
<paragraph id="par_id3144510" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:About">Displays general program information such as version number and copyrights.</ahelp></paragraph>
<section id="relatedtopics">
<embed href="text/shared/guide/version_number.xhp#version_number"/>
<embed href="text/shared/guide/active_help_on_off.xhp#active_help_on_off"/>
<embed href="text/shared/05/00000110.xhp#00000110"/>
<embed href="text/shared/05/00000120.xhp#00000120"/>
<embed href="text/shared/05/00000130.xhp#00000130"/>
<embed href="text/shared/05/00000140.xhp#00000140"/>
<embed href="text/shared/05/00000150.xhp#doc_title"/>
<embed href="text/shared/05/00000160.xhp#doc_title"/>
</section>
</body>
</helpdocument>