diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-03-13 16:04:19 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-03-16 15:18:10 +0000 |
commit | 77cb682cd1b004e7247560e60f603a4bb0565b8d (patch) | |
tree | 5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/shared/01/password_main.xhp | |
parent | 00567a452bb1e270dd2438dcc865359edba56c19 (diff) |
convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.
This change doesn't affect translations, only the content of the
paragraph/headings is extracted.
done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'
(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)
Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared/01/password_main.xhp')
-rw-r--r-- | source/text/shared/01/password_main.xhp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/text/shared/01/password_main.xhp b/source/text/shared/01/password_main.xhp index 17c9b26f2f..a74fa571b2 100644 --- a/source/text/shared/01/password_main.xhp +++ b/source/text/shared/01/password_main.xhp @@ -30,7 +30,7 @@ <section id="password_main"> <bookmark xml-lang="en-US" branch="hid/uui/ui/setmasterpassworddlg/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> <bookmark xml-lang="en-US" branch="hid/uui/ui/setmasterpassworddlg/SetMasterPasswordDialog" id="bm_id098200904183274" localize="false"/> - <paragraph xml-lang="en-US" id="hd_id3154183" role="heading" level="1">Set Master Password</paragraph> + <h1 id="hd_id3154183">Set Master Password</h1> <paragraph xml-lang="en-US" id="par_id3154841" role="paragraph"><ahelp hid=".">Assign a master password to protect the access to a saved password.</ahelp></paragraph> <section id="password_text"> <paragraph xml-lang="en-US" id="par_id3146857" role="paragraph">You can save some passwords for the duration of a session, or permanently to a file protected by a master password.<comment> For example, passwords for accessing WebDAV or FTP servers are stored permanently if you enter a master password when prompted. Otherwise, they are only stored for the current session.</comment><comment>removed text see i71792</comment></paragraph> @@ -53,9 +53,9 @@ </listitem> </list> </section> -<paragraph xml-lang="en-US" id="hd_id3147588" role="heading" level="2">Master password</paragraph> +<h2 id="hd_id3147588">Master password</h2> <paragraph xml-lang="en-US" id="par_id3148731" role="paragraph"><ahelp hid="uui/ui/setmasterpassworddlg/password1">Type a master password to prevent unauthorized users from accessing stored passwords.</ahelp></paragraph> -<paragraph xml-lang="en-US" id="hd_id3144436" role="heading" level="2">Confirm master password</paragraph> +<h2 id="hd_id3144436">Confirm master password</h2> <paragraph xml-lang="en-US" id="par_id3145129" role="paragraph"><ahelp hid="uui/ui/setmasterpassworddlg/password2">Re-enter the master password.</ahelp></paragraph> </section> <section id="relatedtopics"> |