[BUGFIX] Fix localization of the language module 76/21676/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 26 Jun 2013 18:10:51 +0000 (20:10 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Wed, 26 Jun 2013 22:25:39 +0000 (00:25 +0200)
The table headers are not translatable yet.
Replace them with f:translate tags.

Change-Id: Ibe9fc989eba193f3401f40b1b7f5f8be081189ef
Resolves: #49401
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21676
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/lang/Resources/Private/Language/locallang.xlf
typo3/sysext/lang/Resources/Private/Partials/LanguageSelectionList.html
typo3/sysext/lang/Resources/Private/Partials/TranslationUpdateList.html

index fe07422..686d35a 100644 (file)
                        <trans-unit id="flashmessage.canceled" xml:space="preserve">
                                <source>The process has been canceled.</source>
                        </trans-unit>
-
+                       <trans-unit id="table.language" xml:space="preserve">
+                               <source>Language</source>
+                       </trans-unit>
+                       <trans-unit id="table.locale" xml:space="preserve">
+                               <source>Locale</source>
+                       </trans-unit>
+                       <trans-unit id="table.extension" xml:space="preserve">
+                               <source>Extension</source>
+                       </trans-unit>
                </body>
        </file>
-</xliff>
\ No newline at end of file
+</xliff>
index e94b533..520661d 100644 (file)
@@ -6,8 +6,8 @@
                <thead>
                        <tr>
                                <td class="check notSortable"></td>
-                               <td class="language">Language</td>
-                               <td class="locale">Locale</td>
+                               <td class="language"><f:translate key="table.language">Language</f:translate></td>
+                               <td class="locale"><f:translate key="table.locale">Locale</f:translate></td>
                        </tr>
                </thead>
                <tbody>
index 9f093d0..bc503dc 100644 (file)
@@ -4,7 +4,7 @@
        <thead>
                <tr>
                        <td class="icon notSortable"></td>
-                       <td class="extension">Extension</td>
+                       <td class="extension"><f:translate key="table.extension">Extension</f:translate></td>
                        <f:for each="{languageSelectionForm.selectedLanguages}" as="selectedLanguage">
                                <td class="language notSortable">{selectedLanguage.language}</td>
                        </f:for>