[TASK] System extension lang is using ll-XML
authorXavier Perseguers <xavier@typo3.org>
Fri, 31 Aug 2012 16:05:07 +0000 (18:05 +0200)
committerXavier Perseguers <xavier@typo3.org>
Fri, 31 Aug 2012 16:46:50 +0000 (18:46 +0200)
Starting from TYPO3 4.6, localization files should use
XLIFF and not ll-XML anymore.

Change-Id: I81a12e83ef2808fdc8e16e36d5a73c14a1cee6a7
Resolves: #40494
Releases: 6.0
Reviewed-on: http://review.typo3.org/14250
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/lang/Resources/Private/Language/locallang.xlf [new file with mode: 0644]
typo3/sysext/lang/Resources/Private/Language/locallang.xml [deleted file]
typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xlf [new file with mode: 0644]
typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xml [deleted file]

diff --git a/typo3/sysext/lang/Resources/Private/Language/locallang.xlf b/typo3/sysext/lang/Resources/Private/Language/locallang.xlf
new file mode 100644 (file)
index 0000000..11990a6
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0">
+       <file source-language="en" datatype="plaintext" original="messages" date="2012-08-31T17:54:12Z" product-name="lang">
+               <header/>
+               <body>
+                       <trans-unit id="not_checked" xml:space="preserve">
+                               <source>not checked</source>
+                       </trans-unit>
+                       <trans-unit id="translation_n_a" xml:space="preserve">
+                               <source>translation not available</source>
+                       </trans-unit>
+                       <trans-unit id="translation_msg_failed" xml:space="preserve">
+                               <source>Failed</source>
+                       </trans-unit>
+                       <trans-unit id="translation_msg_updated" xml:space="preserve">
+                               <source>Updated</source>
+                       </trans-unit>
+                       <trans-unit id="translation_status_uptodate" xml:space="preserve">
+                               <source>up to date</source>
+                       </trans-unit>
+                       <trans-unit id="button_save" xml:space="preserve">
+                               <source>Save</source>
+                       </trans-unit>
+                       <trans-unit id="button_update" xml:space="preserve">
+                               <source>Update from repository</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
\ No newline at end of file
diff --git a/typo3/sysext/lang/Resources/Private/Language/locallang.xml b/typo3/sysext/lang/Resources/Private/Language/locallang.xml
deleted file mode 100644 (file)
index af65296..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<T3locallang>
-       <meta type="array">
-               <type>module</type>
-               <description>Language labels for module &quot;lang&quot; - in modul</description>
-       </meta>
-       <data type="array">
-               <languageKey index="default" type="array">
-                       <label index="not_checked">not checked</label>
-
-                       <label index="translation_n_a">translation not available</label>
-                       <label index="translation_msg_failed">Failed</label>
-                       <label index="translation_msg_updated">Updated</label>
-                       <label index="translation_status_uptodate">up to date</label>
-                       <label index="button_save">Save</label>
-                       <label index="button_update">Update from repository</label>
-               </languageKey>
-       </data>
-</T3locallang>
\ No newline at end of file
diff --git a/typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xlf b/typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xlf
new file mode 100644 (file)
index 0000000..078ebe5
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0">
+       <file source-language="en" datatype="plaintext" original="messages" date="2012-08-31T17:54:12Z" product-name="lang">
+               <header/>
+               <body>
+                       <trans-unit id="mlang_labels_tablabel" xml:space="preserve">
+                               <source>Language</source>
+                       </trans-unit>
+                       <trans-unit id="mlang_labels_tabdescr" xml:space="preserve">
+                               <source>Select language to be available for backend and frontend. Provide update of chosen languages.</source>
+                       </trans-unit>
+                       <trans-unit id="mlang_tabs_tab" xml:space="preserve">
+                               <source>Language</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
\ No newline at end of file
diff --git a/typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xml b/typo3/sysext/lang/Resources/Private/Language/locallang_mod_language.xml
deleted file mode 100644 (file)
index 52119ca..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<T3locallang>
-       <meta type="array">
-               <type>module</type>
-               <description>Language labels for module &quot;lang&quot; - header, description</description>
-       </meta>
-       <data type="array">
-               <languageKey index="default" type="array">
-                       <label index="mlang_labels_tablabel">Language</label>
-                       <label index="mlang_labels_tabdescr">Select language to be available for backend and frontend. Provide update of chosen languages.</label>
-                       <label index="mlang_tabs_tab">Language</label>
-               </languageKey>
-       </data>
-</T3locallang>
\ No newline at end of file