Files
help/source/text/sdatabase/toolbar_table.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

194 lines
9.8 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/.
*
-->
<meta>
<topic id="dbtabletoolbar" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Database Table Toolbar</title>
<filename>/text/sdatabase/toolbar_table.xhp</filename>
</topic>
</meta>
<body>
<h1 id="par_idN10548"><variable id="DatabaseTableToolbarh1"><link href="text/sdatabase/toolbar_table.xhp">Database Table Toolbar</link></variable></h1>
<section id="databasetoolbarcommon">
<h2 id="hd_id461642852368590">Open document</h2>
<table id="tab_id321642852258015">
<tablerow>
<tablecell>
<paragraph id="par_id601642852258016" role="paragraph">
<image src="cmd/lc_open.svg" id="img_id941642787914042" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id291642787914043">Icon Open Document</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id981642852258019" role="paragraph" xml-lang="en-US">Opens a %PRODUCTNAME document.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id981642852403610">Save document</h2>
<table id="tab_id801642852435519">
<tablerow>
<tablecell>
<paragraph id="par_id731642852435520" role="paragraph">
<image src="cmd/lc_save.svg" id="img_id591642852435521" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id871642852435522">Icon Save database file</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id481642852435523" role="paragraph" xml-lang="en-US">Saves current database file.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id131642852596290">Copy</h2>
<table id="tab_id551642853541653">
<tablerow>
<tablecell>
<paragraph id="par_id381642853541654" role="paragraph">
<image src="cmd/lc_copy.svg" id="img_id21642853541655" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id801642853541656">Icon copy</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id601642853541657" role="paragraph" xml-lang="en-US">Copies the selection to the clipboard.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id941642852602272">Paste</h2>
<table id="tab_id331642853673907">
<tablerow>
<tablecell>
<paragraph id="par_id761642853673909" role="paragraph">
<image src="cmd/lc_paste.svg" id="img_id811642853673910" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id951642853673911">Icon Paste</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id321642853673912" role="paragraph" xml-lang="en-US">Inserts the contents of the clipboard at the location of the cursor, and replaces any selected text or objects.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id1001642852606113"> Sort ascending</h2>
<table id="tab_id181642853830972">
<tablerow>
<tablecell>
<paragraph id="par_id991642853830973" role="paragraph">
<image src="cmd/lc_sortascending.svg" id="img_id771642853830974" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id241642853830975">Icon Sort Ascending</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id621642853830977" role="paragraph" xml-lang="en-US">Sorts the entries in the detail view in ascending order.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id441642852616281">Sort descending</h2>
<table id="tab_id161642854313006">
<tablerow>
<tablecell>
<paragraph id="par_id511642854313007" role="paragraph">
<image src="cmd/lc_sortdescending.svg" id="img_id531642854313009" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id661642854313010">Icon Sort descending</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id81642854313011" role="paragraph" xml-lang="en-US">Sorts the entries in the detail view in descending order.</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="hd_id231642796152552">New database form</h2>
<table id="tab_id741642796165268">
<tablerow>
<tablecell>
<paragraph id="par_id431643796165270" role="paragraph">
<image src="cmd/lc_dbnewform.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Database Form</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id321612796165273" role="paragraph" xml-lang="en-US">Creates a new database form (default). Use the drop-down toolbar to create a new database object directly.</paragraph>
</tablecell>
</tablerow>
</table>
</section>
<bookmark xml-lang="en-US" branch="hid/.uno:DBNewTable" id="bm_id231642796070839" localize="false"/>
<h2 id="hd_id231642796157552">New table design</h2>
<table id="tab_id741642796165268">
<tablerow>
<tablecell>
<paragraph id="par_id431642796165270" role="paragraph">
<image src="cmd/lc_dbnewtable.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Table design</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id321642796165273" role="paragraph" xml-lang="en-US">Designs a new database table.</paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/.uno:DBTableOpen" id="bm_id1720023" localize="false"/>
<h2 id="par_idN10554">Open database table</h2>
<table id="tab_id171642787914042">
<tablerow>
<tablecell>
<paragraph id="par_id521642787914042" role="paragraph">
<image src="cmd/lc_open.svg" id="img_id941642787914042" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id291642787914043">Icon Open Database Table</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US"><ahelp hid=".">Opens the selected table so you can enter, edit, or delete records.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/.uno:DBTableEdit" id="bm_id2862636" localize="false"/>
<h2 id="par_idN1056F">Edit</h2>
<table id="tab_id951642788747899">
<tablerow>
<tablecell>
<paragraph id="par_id481642788747900" role="paragraph">
<image src="cmd/lc_dbtableedit.svg" id="img_id421642788747900" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id911642788747900">Icon Edit table</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_idN10573" xml-lang="en-US"><ahelp hid=".">Opens the selected table so you can change the structure.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/.uno:DBTableDelete" id="bm_id2447279" localize="false"/>
<h2 id="par_idN1058A">Delete</h2>
<table id="tab_id131642788871010">
<tablerow>
<tablecell>
<paragraph id="par_id261642788871011" role="paragraph">
<image src="cmd/lc_dbtabledelete.svg" id="img_id521642788871011" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id971642788871011">Icon Delete Table</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US"><ahelp hid=".">Deletes the selected table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/.uno:DBTableRename" id="bm_id4928739" localize="false"/>
<h2 id="par_idN105A5">Rename</h2>
<table id="tab_id521642788935573">
<tablerow>
<tablecell>
<paragraph id="par_id501642788935574" role="paragraph">
<image src="cmd/lc_dbtablerename.svg" id="img_id461642788935574" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id571642788935574">Icon Rename Table</alt></image>
</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US"><ahelp hid=".">Renames the selected table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
<section id="relatedtopics">
<embed href="text/sdatabase/toolbars.xhp#toolbars"/>
</section>
</body>
</helpdocument>