[BUGFIX] Pootle: Multi-line labels are not rendered properly
authorXavier Perseguers <xavier@typo3.org>
Thu, 20 Oct 2011 11:49:39 +0000 (13:49 +0200)
committerXavier Perseguers <xavier@typo3.org>
Thu, 20 Oct 2011 11:49:39 +0000 (13:49 +0200)
In order to ensure that multi-line labels can be properly translated on Pootle or
any 3rd party tool, it turns out that an additional attribute xml:space="preserve"
should be added to each and every <trans-unit> tag in the localization files.

Change-Id: I91ff0df927fa86e911bde4ce0692ac9c85140374
Relates: #31141
Releases: 4.6

typo3/sysext/linkvalidator/locallang.xlf
typo3/sysext/linkvalidator/modfuncreport/locallang.xlf
typo3/sysext/linkvalidator/modfuncreport/locallang_csh.xlf
typo3/sysext/linkvalidator/modfuncreport/locallang_mod.xlf

index a516b62..29a0e5a 100644 (file)
@@ -3,55 +3,55 @@
        <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:34Z" product-name="linkvalidator">
                <header/>
                <body>
-                       <trans-unit id="mod_linkvalidator">
+                       <trans-unit id="mod_linkvalidator" xml:space="preserve">
                                <source>Linkvalidator</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.name">
+                       <trans-unit id="tasks.validate.name" xml:space="preserve">
                                <source>Linkvalidator</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.description">
+                       <trans-unit id="tasks.validate.description" xml:space="preserve">
                                <source>Search for broken links and store the result into the temporary table tx_linkvalidator_link in order to ease up the backend module.</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.page">
+                       <trans-unit id="tasks.validate.page" xml:space="preserve">
                                <source>Start page (uid)</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.depth">
+                       <trans-unit id="tasks.validate.depth" xml:space="preserve">
                                <source>Depth</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.conf">
+                       <trans-unit id="tasks.validate.conf" xml:space="preserve">
                                <source>Overwrite TSconfig</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.email">
+                       <trans-unit id="tasks.validate.email" xml:space="preserve">
                                <source>Send email report to</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.emailOnBrokenLinkOnly">
+                       <trans-unit id="tasks.validate.emailOnBrokenLinkOnly" xml:space="preserve">
                                <source>Send email on new broken links only</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.emailTemplateFile">
+                       <trans-unit id="tasks.validate.emailTemplateFile" xml:space="preserve">
                                <source>Email template file</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.invalidEmail">
+                       <trans-unit id="tasks.validate.invalidEmail" xml:space="preserve">
                                <source>Invalid email format!</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.invalidPage">
+                       <trans-unit id="tasks.validate.invalidPage" xml:space="preserve">
                                <source>Invalid page uid, please enter a valid page uid!</source>
                        </trans-unit>
-                       <trans-unit id="tasks.validate.invalidDepth">
+                       <trans-unit id="tasks.validate.invalidDepth" xml:space="preserve">
                                <source>There is no depth set, please set it to one of the offered values!</source>
                        </trans-unit>
-                       <trans-unit id="tasks.error.noSubject">
+                       <trans-unit id="tasks.error.noSubject" xml:space="preserve">
                                <source>No subject for the notification email</source>
                        </trans-unit>
-                       <trans-unit id="tasks.error.invalidToEmail">
+                       <trans-unit id="tasks.error.invalidToEmail" xml:space="preserve">
                                <source>Invalid format of one or more of the recipient email addresses!</source>
                        </trans-unit>
-                       <trans-unit id="tasks.error.invalidFromEmail">
+                       <trans-unit id="tasks.error.invalidFromEmail" xml:space="preserve">
                                <source>Invalid format of the email address in the from header</source>
                        </trans-unit>
-                       <trans-unit id="tasks.error.invalidTSconfig">
+                       <trans-unit id="tasks.error.invalidTSconfig" xml:space="preserve">
                                <source>Invalid TSconfig in the task configuration!</source>
                        </trans-unit>
-                       <trans-unit id="tasks.error.invalidEmailTemplateFile">
+                       <trans-unit id="tasks.error.invalidEmailTemplateFile" xml:space="preserve">
                                <source>The email template file is not existing!</source>
                        </trans-unit>
                </body>
index 071a0d9..9a6c606 100644 (file)
        <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:34Z" product-name="linkvalidator">
                <header/>
                <body>
-                       <trans-unit id="menu.introduction">
+                       <trans-unit id="menu.introduction" xml:space="preserve">
                                <source>Introduction</source>
                        </trans-unit>
-                       <trans-unit id="menu.checkLinks">
+                       <trans-unit id="menu.checkLinks" xml:space="preserve">
                                <source>Check Links for validity</source>
                        </trans-unit>
-                       <trans-unit id="menu.overview">
+                       <trans-unit id="menu.overview" xml:space="preserve">
                                <source>Overview of links on website</source>
                        </trans-unit>
-                       <trans-unit id="overview.header">
+                       <trans-unit id="overview.header" xml:space="preserve">
                                <source>Overview - choose options to check the links</source>
                        </trans-unit>
-                       <trans-unit id="overview.all.header">
+                       <trans-unit id="overview.all.header" xml:space="preserve">
                                <source>Total amounts in tt_content</source>
                        </trans-unit>
-                       <trans-unit id="overview.all.records">
+                       <trans-unit id="overview.all.records" xml:space="preserve">
                                <source>Records with ext. links:</source>
                        </trans-unit>
-                       <trans-unit id="overview.all.links">
+                       <trans-unit id="overview.all.links" xml:space="preserve">
                                <source>External links:</source>
                        </trans-unit>
-                       <trans-unit id="overview.branch.header">
+                       <trans-unit id="overview.branch.header" xml:space="preserve">
                                <source>Amounts from actual branch in tt_content</source>
                        </trans-unit>
-                       <trans-unit id="overview.branch.records">
+                       <trans-unit id="overview.branch.records" xml:space="preserve">
                                <source>Records with ext. links:</source>
                        </trans-unit>
-                       <trans-unit id="overview.branch.links">
+                       <trans-unit id="overview.branch.links" xml:space="preserve">
                                <source>External links:</source>
                        </trans-unit>
-                       <trans-unit id="overview.attention.header">
+                       <trans-unit id="overview.attention.header" xml:space="preserve">
                                <source>Attention:</source>
                        </trans-unit>
-                       <trans-unit id="overview.attention.text">
+                       <trans-unit id="overview.attention.text" xml:space="preserve">
                                <source>Checking links may take up to several minutes. Checking ONE link can last up to 3 seconds.</source>
                        </trans-unit>
-                       <trans-unit id="Report">
+                       <trans-unit id="Report" xml:space="preserve">
                                <source>Report</source>
                        </trans-unit>
-                       <trans-unit id="CheckLink">
+                       <trans-unit id="CheckLink" xml:space="preserve">
                                <source>Check Links</source>
                        </trans-unit>
-                       <trans-unit id="report.statistics.header">
+                       <trans-unit id="report.statistics.header" xml:space="preserve">
                                <source>Show these types of broken links</source>
                        </trans-unit>
-                       <trans-unit id="checklinks.statistics.header">
+                       <trans-unit id="checklinks.statistics.header" xml:space="preserve">
                                <source>Check these types of broken links</source>
                        </trans-unit>
-                       <trans-unit id="report.func.title">
+                       <trans-unit id="report.func.title" xml:space="preserve">
                                <source>Show this level</source>
                        </trans-unit>
-                       <trans-unit id="checklinks.func.title">
+                       <trans-unit id="checklinks.func.title" xml:space="preserve">
                                <source>Check this level</source>
                        </trans-unit>
-                       <trans-unit id="overviews.nbtotal">
+                       <trans-unit id="overviews.nbtotal" xml:space="preserve">
                                <source>Broken links total:</source>
                        </trans-unit>
-                       <trans-unit id="hooks.db">
+                       <trans-unit id="hooks.db" xml:space="preserve">
                                <source>Internal Links:</source>
                        </trans-unit>
-                       <trans-unit id="hooks.file">
+                       <trans-unit id="hooks.file" xml:space="preserve">
                                <source>File Links:</source>
                        </trans-unit>
-                       <trans-unit id="hooks.external">
+                       <trans-unit id="hooks.external" xml:space="preserve">
                                <source>External Links:</source>
                        </trans-unit>
-                       <trans-unit id="hooks.linkhandler">
+                       <trans-unit id="hooks.linkhandler" xml:space="preserve">
                                <source>Linkhandler Links:</source>
                        </trans-unit>
-                       <trans-unit id="label_refresh">
+                       <trans-unit id="label_refresh" xml:space="preserve">
                                <source>Refresh display</source>
                        </trans-unit>
-                       <trans-unit id="label_update">
+                       <trans-unit id="label_update" xml:space="preserve">
                                <source>Check links</source>
                        </trans-unit>
-                       <trans-unit id="list.header">
+                       <trans-unit id="list.header" xml:space="preserve">
                                <source>Listing of broken links</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.path">
+                       <trans-unit id="list.tableHead.path" xml:space="preserve">
                                <source>Path</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.element">
+                       <trans-unit id="list.tableHead.element" xml:space="preserve">
                                <source>Element</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.headlink">
+                       <trans-unit id="list.tableHead.headlink" xml:space="preserve">
                                <source>Link</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.linktarget">
+                       <trans-unit id="list.tableHead.linktarget" xml:space="preserve">
                                <source>URL / Link Target</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.linkmessage">
+                       <trans-unit id="list.tableHead.linkmessage" xml:space="preserve">
                                <source>Error message</source>
                        </trans-unit>
-                       <trans-unit id="list.tableHead.lastCheck">
+                       <trans-unit id="list.tableHead.lastCheck" xml:space="preserve">
                                <source>Last check</source>
                        </trans-unit>
-                       <trans-unit id="list.edit">
+                       <trans-unit id="list.edit" xml:space="preserve">
                                <source>Edit element containing this broken link</source>
                        </trans-unit>
-                       <trans-unit id="list.field">
+                       <trans-unit id="list.field" xml:space="preserve">
                                <source>(Field: %s)</source>
                        </trans-unit>
-                       <trans-unit id="list.no.headline">
+                       <trans-unit id="list.no.headline" xml:space="preserve">
                                <source>no headline</source>
                        </trans-unit>
-                       <trans-unit id="list.report.pagedeleted">
+                       <trans-unit id="list.report.pagedeleted" xml:space="preserve">
                                <source>Page '###title###' (###uid###) is deleted.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.pagenotvisible">
+                       <trans-unit id="list.report.pagenotvisible" xml:space="preserve">
                                <source>Page '###title###' (###uid###) is not visible.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.pagenotexisting">
+                       <trans-unit id="list.report.pagenotexisting" xml:space="preserve">
                                <source>Page (###uid###) does not exist.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.contentmoved">
+                       <trans-unit id="list.report.contentmoved" xml:space="preserve">
                                <source>Element '###title###' (###uid###) is not located on page ###wrongpage###, but on page ###rightpage###.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.contentdeleted">
+                       <trans-unit id="list.report.contentdeleted" xml:space="preserve">
                                <source>Element '###title###' (###uid###) is deleted.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.contentnotvisible">
+                       <trans-unit id="list.report.contentnotvisible" xml:space="preserve">
                                <source>Element '###title###' (###uid###) is not visible.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.contentnotexisting">
+                       <trans-unit id="list.report.contentnotexisting" xml:space="preserve">
                                <source>Element (###uid###) does not exist.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.rowdeleted">
+                       <trans-unit id="list.report.rowdeleted" xml:space="preserve">
                                <source>###title### row (###uid###) is deleted.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.rowdeleted.default.title">
+                       <trans-unit id="list.report.rowdeleted.default.title" xml:space="preserve">
                                <source>Linked</source>
                        </trans-unit>
-                       <trans-unit id="list.report.rownotexisting">
+                       <trans-unit id="list.report.rownotexisting" xml:space="preserve">
                                <source>Row (###uid###) does not exist.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.noinformation">
+                       <trans-unit id="list.report.noinformation" xml:space="preserve">
                                <source>No information about the error is available.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.noresponse">
+                       <trans-unit id="list.report.noresponse" xml:space="preserve">
                                <source>External Link not reachable.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.redirectloop">
+                       <trans-unit id="list.report.redirectloop" xml:space="preserve">
                                <source>A redirect loop occurred. (%s: %s)</source>
                        </trans-unit>
-                       <trans-unit id="list.report.pageforbidden403">
+                       <trans-unit id="list.report.pageforbidden403" xml:space="preserve">
                                <source>Accessing this address is not allowed (403).</source>
                        </trans-unit>
-                       <trans-unit id="list.report.pagenotfound404">
+                       <trans-unit id="list.report.pagenotfound404" xml:space="preserve">
                                <source>The requested url was not found (404).</source>
                        </trans-unit>
-                       <trans-unit id="list.report.externalerror">
+                       <trans-unit id="list.report.externalerror" xml:space="preserve">
                                <source>External Link returned HTTP error code (%s).</source>
                        </trans-unit>
-                       <trans-unit id="list.report.filenotexisting">
+                       <trans-unit id="list.report.filenotexisting" xml:space="preserve">
                                <source>File doesn't exist.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.timeout">
+                       <trans-unit id="list.report.timeout" xml:space="preserve">
                                <source>Operation timeout. The specified time-out period was reached according to the conditions.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.internalerror500">
+                       <trans-unit id="list.report.internalerror500" xml:space="preserve">
                                <source>Internal Server Error (500)</source>
                        </trans-unit>
-                       <trans-unit id="list.report.couldnotresolvehost">
+                       <trans-unit id="list.report.couldnotresolvehost" xml:space="preserve">
                                <source>Could not resolve host. The given remote host was not resolved.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.errornetworkdata">
+                       <trans-unit id="list.report.errornetworkdata" xml:space="preserve">
                                <source>Failure with receiving network data.</source>
                        </trans-unit>
-                       <trans-unit id="list.report.otherhttpcode">
+                       <trans-unit id="list.report.otherhttpcode" xml:space="preserve">
                                <source>An error occurred (%s): "%s".</source>
                        </trans-unit>
-                       <trans-unit id="list.report.httpexception">
+                       <trans-unit id="list.report.httpexception" xml:space="preserve">
                                <source>Exception: %s</source>
                        </trans-unit>
-                       <trans-unit id="list.msg.ok">
+                       <trans-unit id="list.msg.ok" xml:space="preserve">
                                <source>Ok</source>
                        </trans-unit>
-                       <trans-unit id="list.msg.lastRun">
+                       <trans-unit id="list.msg.lastRun" xml:space="preserve">
                                <source>%1$s %2$s</source>
                        </trans-unit>
-                       <trans-unit id="list.no.broken.links.title">
+                       <trans-unit id="list.no.broken.links.title" xml:space="preserve">
                                <source>No broken links to show!</source>
                        </trans-unit>
-                       <trans-unit id="list.no.broken.links">
+                       <trans-unit id="list.no.broken.links" xml:space="preserve">
                                <source>There are no broken links to be displayed.</source>
                        </trans-unit>
-                       <trans-unit id="no.access.title">
+                       <trans-unit id="no.access.title" xml:space="preserve">
                                <source>No access!</source>
                        </trans-unit>
-                       <trans-unit id="no.access">
+                       <trans-unit id="no.access" xml:space="preserve">
                                <source>You do not have access to these listings.</source>
                        </trans-unit>
                </body>
index e5e021d..8870125 100644 (file)
@@ -3,61 +3,61 @@
        <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:34Z" product-name="linkvalidator">
                <header/>
                <body>
-                       <trans-unit id="checkboxes.description">
+                       <trans-unit id="checkboxes.description" xml:space="preserve">
                                <source>Click the following checkboxes to consider or to ignore the corresponding broken links.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_path.description">
+                       <trans-unit id="tablehead_path.description" xml:space="preserve">
                                <source>Path to the content element, which contains the broken link.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_element.description">
+                       <trans-unit id="tablehead_element.description" xml:space="preserve">
                                <source>Type of the element containing the broken link, its headline and the field in which the broken link is located.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_headlink.description">
+                       <trans-unit id="tablehead_headlink.description" xml:space="preserve">
                                <source>The linking text.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_linktarget.description">
+                       <trans-unit id="tablehead_linktarget.description" xml:space="preserve">
                                <source>URL to which the broken link is pointing.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_linkmessage.description">
+                       <trans-unit id="tablehead_linkmessage.description" xml:space="preserve">
                                <source>Status of that link.</source>
                        </trans-unit>
-                       <trans-unit id="tablehead_lastcheck.description">
+                       <trans-unit id="tablehead_lastcheck.description" xml:space="preserve">
                                <source>Date and time of the last update of the information in each table row.</source>
                        </trans-unit>
-                       <trans-unit id="task_page.alttitle">
+                       <trans-unit id="task_page.alttitle" xml:space="preserve">
                                <source>Start page of the task</source>
                        </trans-unit>
-                       <trans-unit id="task_page.description">
+                       <trans-unit id="task_page.description" xml:space="preserve">
                                <source>UID of the start page for this task.</source>
                        </trans-unit>
-                       <trans-unit id="task_depth.alttitle">
+                       <trans-unit id="task_depth.alttitle" xml:space="preserve">
                                <source>Depth of the task</source>
                        </trans-unit>
-                       <trans-unit id="task_depth.description">
+                       <trans-unit id="task_depth.description" xml:space="preserve">
                                <source>Level of pages the task should check.</source>
                        </trans-unit>
-                       <trans-unit id="task_configuration.alttitle">
+                       <trans-unit id="task_configuration.alttitle" xml:space="preserve">
                                <source>Special TSconfig code</source>
                        </trans-unit>
-                       <trans-unit id="task_configuration.description">
+                       <trans-unit id="task_configuration.description" xml:space="preserve">
                                <source>TSconfig Code which defines settings for linkvalidator to be used for this task.</source>
                        </trans-unit>
-                       <trans-unit id="task_email.alttitle">
+                       <trans-unit id="task_email.alttitle" xml:space="preserve">
                                <source>Email address</source>
                        </trans-unit>
-                       <trans-unit id="task_email.description">
+                       <trans-unit id="task_email.description" xml:space="preserve">
                                <source>Email address to which an email report is sent.</source>
                        </trans-unit>
-                       <trans-unit id="task_emailonbrokenlinkonly.alttitle">
+                       <trans-unit id="task_emailonbrokenlinkonly.alttitle" xml:space="preserve">
                                <source>Mailing option</source>
                        </trans-unit>
-                       <trans-unit id="task_emailonbrokenlinkonly.description">
+                       <trans-unit id="task_emailonbrokenlinkonly.description" xml:space="preserve">
                                <source>Only send an email, if new broken links were found.</source>
                        </trans-unit>
-                       <trans-unit id="task_emailfile.alttitle">
+                       <trans-unit id="task_emailfile.alttitle" xml:space="preserve">
                                <source>Email template file</source>
                        </trans-unit>
-                       <trans-unit id="task_emailfile.description">
+                       <trans-unit id="task_emailfile.description" xml:space="preserve">
                                <source>Define a template to be used for the email.</source>
                        </trans-unit>
                </body>
index 604f320..653e93e 100644 (file)
@@ -3,13 +3,13 @@
        <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:34Z" product-name="linkvalidator">
                <header/>
                <body>
-                       <trans-unit id="mlang_tabs_tab">
+                       <trans-unit id="mlang_tabs_tab" xml:space="preserve">
                                <source>Check Links</source>
                        </trans-unit>
-                       <trans-unit id="mlang_labels_tabdescr">
+                       <trans-unit id="mlang_labels_tabdescr" xml:space="preserve">
                                <source>Checks the links in your website for validity.</source>
                        </trans-unit>
-                       <trans-unit id="mlang_labels_tablabel">
+                       <trans-unit id="mlang_labels_tablabel" xml:space="preserve">
                                <source>Validates links</source>
                        </trans-unit>
                </body>