[TASK] English XLIFF files should not contain target element
authorDominique Feyer <dfeyer@ttree.ch>
Mon, 17 Oct 2011 20:26:44 +0000 (22:26 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 18 Oct 2011 07:28:48 +0000 (09:28 +0200)
Pootle uses the English XLIFF file has the template language and as such
it does not make sense to have "en" -> "en" translation files.

English XLIFF files are templates and should contain only a 'source', not
a 'target' element.

This commit contains:

- Remove of the target elements
- Remove target-language attribute
- Set the date attribute to the correct format
- Remove approved attribute

Change-Id: Ibb8e764658341c765c2ff6ebdcc4be7207c1d4a7
Resolves: #31044
Relates: #30916
Releases: 4.6

typo3/sysext/dbal/mod1/locallang.xlf
typo3/sysext/dbal/mod1/locallang_mod.xlf

index 1ad5620..75775cc 100644 (file)
@@ -1,23 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xliff version="1.0">
-       <file source-language="EN" target-language="vn" datatype="plaintext" original="messages" date="Tue Jun  7 20:24:28 UTC 2011" product-name="dbal">
+       <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:32Z" product-name="dbal">
                <header/>
                <body>
-                       <trans-unit id="title" approved="yes">
+                       <trans-unit id="title">
                                <source>DBAL Analysis Module</source>
-                               <target>DBAL Analysis Module</target>
                        </trans-unit>
-                       <trans-unit id="Debug_log" approved="yes">
+                       <trans-unit id="Debug_log">
                                <source>Debug log</source>
-                               <target>Debug log</target>
                        </trans-unit>
-                       <trans-unit id="Cached_info" approved="yes">
+                       <trans-unit id="Cached_info">
                                <source>Cached info</source>
-                               <target>Cached info</target>
                        </trans-unit>
-                       <trans-unit id="SQL_check" approved="yes">
+                       <trans-unit id="SQL_check">
                                <source>SQL Check</source>
-                               <target>SQL Check</target>
                        </trans-unit>
                </body>
        </file>
index 527bd0b..82d1b92 100644 (file)
@@ -1,11 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xliff version="1.0">
-       <file source-language="EN" target-language="vn" datatype="plaintext" original="messages" date="Tue Jun  7 20:24:28 UTC 2011" product-name="dbal">
+       <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:32Z" product-name="dbal">
                <header/>
                <body>
-                       <trans-unit id="mlang_tabs_tab" approved="yes">
+                       <trans-unit id="mlang_tabs_tab">
                                <source>DBAL Debug</source>
-                               <target>DBAL Debug</target>
                        </trans-unit>
                </body>
        </file>