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

55 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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 .
-->
<helpdocument version="1.0">
<meta>
<topic id="textsharedexplorerdatabasetablewizard04xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Table Wizard - Create Table</title>
<filename>/text/sdatabase/tablewizard04.xhp</filename>
</topic>
<history>
<created date="2004-07-06T15:43:51">UFI: new Table Wizard page 4</created>
</history>
</meta>
<body>
<section id="createtable">
<h1 id="par_idN10543"><link href="text/sdatabase/tablewizard04.xhp">Table Wizard - Create Table</link></h1>
<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Enter a name for the table and specify whether you want to modify the table after the wizard is finished.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_TXT_NAME" id="bm_id6823633" localize="false"/>
<h2 id="par_idN10556">Table name</h2>
<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Specifies the table name.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LST_CATALOG" id="bm_id3157139" localize="false"/>
<h2 id="par_idN105E4">Catalog of the table</h2>
<paragraph role="paragraph" id="par_idN105EA" xml-lang="en-US"><ahelp hid=".">Select the catalog for the table. (Available only if the database supports catalogs)</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LST_SCHEMA" id="bm_id2800683" localize="false"/>
<h2 id="par_idN10605">Schema of the table</h2>
<paragraph role="paragraph" id="par_idN1060B" xml-lang="en-US"><ahelp hid=".">Select the schema for the table. (Available only if the database supports schemas)</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_WORKWITHTABLE" id="bm_id5238807" localize="false"/>
<h2 id="par_idN1055D">Modify the table design</h2>
<paragraph role="paragraph" id="par_idN10561" xml-lang="en-US"><ahelp hid=".">Select to save and edit the table design.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_MODIFYTABLE" id="bm_id2086855" localize="false"/>
<h2 id="par_idN10564">Insert data immediately</h2>
<paragraph role="paragraph" id="par_idN10568" xml-lang="en-US"><ahelp hid=".">Select to save the table design and open the table to enter data.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_STARTFORMWIZARD" id="bm_id3381145" localize="false"/>
<h2 id="par_idN1056B">Create a form based on this table</h2>
<paragraph role="paragraph" id="par_idN1056F" xml-lang="en-US"><ahelp hid=".">Select to create a form based on this table. The form is created on a text document with the last used settings of the <link href="text/shared/autopi/01090000.xhp">Form Wizard</link>.</ahelp></paragraph>
<paragraph role="paragraph" id="par_idN10580" xml-lang="en-US"><link href="text/sdatabase/tablewizard00.xhp">Table Wizard</link></paragraph>
</body>
</helpdocument>