[BUGFIX] change obsolete locallang reference 92/48592/2
authorIvan Kartolo <ivan.kartolo@gmail.com>
Thu, 16 Jun 2016 19:34:58 +0000 (21:34 +0200)
committerIvan Dharma Kartolo <ivan.kartolo@gmail.com>
Thu, 16 Jun 2016 19:39:38 +0000 (21:39 +0200)
in code locallang files are still referenced with
xml extension. there are changed to xlf

Resolves: #74534
Releases: master
Change-Id: I654c89918fc9a36de4acae486a7f73b616957e40
Reviewed-on: https://review.typo3.org/48592
Reviewed-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>
Tested-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>
ext_tables.php
pi/class.dmailsubscribe.php

index 154bdd2..ac628b8 100644 (file)
@@ -6,14 +6,13 @@ if (!defined('TYPO3_MODE')) {
 $tempColumns = array(
      'tx_directmailsubscription_localgender' => array(
         'exclude' => 1,
-        'label' => 'LLL:EXT:direct_mail_subscription/locallang_db.xml:tt_address.tx_directmailsubscription_localgender',
+        'label' => 'LLL:EXT:direct_mail_subscription/locallang_db.xlf:tt_address.tx_directmailsubscription_localgender',
         'config' => array(
             'type' => 'input',
             'size' => '30',
             'eval' => 'trim',
         )
-    ),
-
+     ),
 );
 
 
@@ -29,7 +28,7 @@ $tempColumns = array(
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
     array(
-        'LLL:EXT:direct_mail_subscription/locallang_db.xml:pi_dmail_subscr',
+        'LLL:EXT:direct_mail_subscription/locallang_db.xlf:pi_dmail_subscr',
         '21'
     )
 );
index 10ee3da..07d841d 100644 (file)
@@ -273,7 +273,7 @@ class user_dmailsubscribe
     public function pi_loadLL()
     {
         if (!$this->LOCAL_LANG_loaded && $this->scriptRelPath) {
-            $basePath = 'EXT:'.$this->extKey.'/'.dirname($this->scriptRelPath).'/locallang.xml';
+            $basePath = 'EXT:'.$this->extKey.'/'.dirname($this->scriptRelPath).'/locallang.xlf';
 
             $languageFactory = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Localization\\LocalizationFactory');