[TASK] English XLIFF files should not contain target element
authorDominique Feyer <dfeyer@ttree.ch>
Mon, 17 Oct 2011 20:27:45 +0000 (22:27 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 18 Oct 2011 07:23:28 +0000 (09:23 +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: Ic118a746e93493f1a2b820f0e3721c53ca2d7805
Resolves: #31043
Relates: #30916
Releases: 4.6

typo3/sysext/extbase/Resources/Private/Language/locallang_db.xlf

index 05df81c..409a679 100644 (file)
@@ -1,31 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xliff version="1.0">
 <?xml version="1.0" encoding="UTF-8"?>
 <xliff version="1.0">
-       <file source-language="EN" target-language="fr_CH.UTF-8" datatype="plaintext" original="messages" date="Lun  1 aoĆ» 2011 17:52:59 UTC" product-name="extbase">
+       <file source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:32Z" product-name="extbase">
                <header/>
                <body>
                <header/>
                <body>
-                       <trans-unit id="fe_users.tx_extbase_type" approved="yes">
+                       <trans-unit id="fe_users.tx_extbase_type">
                                <source>Record Type</source>
                                <source>Record Type</source>
-                               <target>Record Type</target>
                        </trans-unit>
                        </trans-unit>
-                       <trans-unit id="fe_users.tx_extbase_type.0" approved="yes">
+                       <trans-unit id="fe_users.tx_extbase_type.0">
                                <source>undefined</source>
                                <source>undefined</source>
-                               <target>undefined</target>
                        </trans-unit>
                        </trans-unit>
-                       <trans-unit id="fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser" approved="yes">
+                       <trans-unit id="fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser">
                                <source>Tx_Extbase_Domain_Model_FrontendUser</source>
                                <source>Tx_Extbase_Domain_Model_FrontendUser</source>
-                               <target>Tx_Extbase_Domain_Model_FrontendUser</target>
                        </trans-unit>
                        </trans-unit>
-                       <trans-unit id="fe_groups.tx_extbase_type" approved="yes">
+                       <trans-unit id="fe_groups.tx_extbase_type">
                                <source>Record Type</source>
                                <source>Record Type</source>
-                               <target>Record Type</target>
                        </trans-unit>
                        </trans-unit>
-                       <trans-unit id="fe_groups.tx_extbase_type.0" approved="yes">
+                       <trans-unit id="fe_groups.tx_extbase_type.0">
                                <source>undefined</source>
                                <source>undefined</source>
-                               <target>undefined</target>
                        </trans-unit>
                        </trans-unit>
-                       <trans-unit id="fe_groups.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUserGroup" approved="yes">
+                       <trans-unit id="fe_groups.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUserGroup">
                                <source>Tx_Extbase_Domain_Model_FrontendUserGroup</source>
                                <source>Tx_Extbase_Domain_Model_FrontendUserGroup</source>
-                               <target>Tx_Extbase_Domain_Model_FrontendUserGroup</target>
                        </trans-unit>
                </body>
        </file>
                        </trans-unit>
                </body>
        </file>