Fixed bug #11926: Language file Resources/Private/Language/emails.xml can not be...
authorTolleiv Nietsch <info@tolleiv.de>
Thu, 6 Jan 2011 16:49:48 +0000 (16:49 +0000)
committerTolleiv Nietsch <info@tolleiv.de>
Thu, 6 Jan 2011 16:49:48 +0000 (16:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/version/trunk@3666 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/version/ChangeLog
typo3/sysext/version/Resources/Private/Language/emails.xml [deleted file]
typo3/sysext/version/Resources/Private/Language/locallang_emails.xml [new file with mode: 0644]
typo3/sysext/version/ext_localconf.php

index 4ccac27..dbc1f40 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-06  Tolleiv Nietsch  <typo3@tolleiv.de>
+
+       * Fixed bug #11926: Language file Resources/Private/Language/emails.xml can not be translated (Thanks to Christopher).
+
 2011-01-01  Oliver Hader  <oliver.hader@typo3.org>
 
        * Fixed bug #11833: Sorting order of IRRE records is wrong after publishing
diff --git a/typo3/sysext/version/Resources/Private/Language/emails.xml b/typo3/sysext/version/Resources/Private/Language/emails.xml
deleted file mode 100644 (file)
index f4f49ee..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<T3locallang>
-       <meta type="array">
-               <description>Module labels</description>
-               <type>module</type>
-       </meta>
-       <data type="array">
-               <languageKey index="default" type="array">
-                       <label index="subject">TYPO3 Workspace Note: Stage Change for ###ELEMENT_NAME###</label>
-                       <label index="message">At the TYPO3 site "###SITE_NAME###" (###SITE_URL###)
-in workspace "###WORKSPACE_TITLE###" (###WORKSPACE_UID###)
-the stage has changed for the element(s) "###RECORD_TITLE###" (###ELEMENT_NAME###) at location "###RECORD_PATH###" in the page tree:
-
-=> ###NEXT_STAGE###
-
-User Comment:
-"###COMMENT###"
-
-State was changed by ###USER_FULLNAME### (username: ###USER_USERNAME###)</label>
-               </languageKey>
-       </data>
-</T3locallang>
diff --git a/typo3/sysext/version/Resources/Private/Language/locallang_emails.xml b/typo3/sysext/version/Resources/Private/Language/locallang_emails.xml
new file mode 100644 (file)
index 0000000..f4f49ee
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<T3locallang>
+       <meta type="array">
+               <description>Module labels</description>
+               <type>module</type>
+       </meta>
+       <data type="array">
+               <languageKey index="default" type="array">
+                       <label index="subject">TYPO3 Workspace Note: Stage Change for ###ELEMENT_NAME###</label>
+                       <label index="message">At the TYPO3 site "###SITE_NAME###" (###SITE_URL###)
+in workspace "###WORKSPACE_TITLE###" (###WORKSPACE_UID###)
+the stage has changed for the element(s) "###RECORD_TITLE###" (###ELEMENT_NAME###) at location "###RECORD_PATH###" in the page tree:
+
+=> ###NEXT_STAGE###
+
+User Comment:
+"###COMMENT###"
+
+State was changed by ###USER_FULLNAME### (username: ###USER_USERNAME###)</label>
+               </languageKey>
+       </data>
+</T3locallang>
index f23452c..107bf08 100644 (file)
@@ -13,8 +13,8 @@ if (TYPO3_MODE == 'BE') {
 
        // add default notification options to every page
 t3lib_extMgm::addPageTSconfig('
-       tx_version.workspaces.stageNotificationEmail.subject = LLL:EXT:version/Resources/Private/Language/emails.xml:subject
-       tx_version.workspaces.stageNotificationEmail.message = LLL:EXT:version/Resources/Private/Language/emails.xml:message
+       tx_version.workspaces.stageNotificationEmail.subject = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:subject
+       tx_version.workspaces.stageNotificationEmail.message = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:message
        # tx_version.workspaces.stageNotificationEmail.additionalHeaders =
 ');
 }