Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Change locallang XML files to XLIFF and move to language folder #1

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion BackEnd/conf.php
Expand Up @@ -6,4 +6,4 @@
$MCONF['access'] = 'user,group';

$MLANG['default']['tabs_images']['tab'] = 'moduleicon.gif';
$MLANG['default']['ll_ref'] = 'LLL:EXT:realty/BackEnd/locallang_mod.xml';
$MLANG['default']['ll_ref'] = 'LLL:EXT:realty/Resources/Private/Language/locallang_mod.xlf';
2 changes: 1 addition & 1 deletion BackEnd/index.php
Expand Up @@ -14,7 +14,7 @@

// This checks permissions and exits if the users has no permission for entry.
$BE_USER->modAccess($MCONF, 1);
$LANG->includeLLFile('EXT:realty/BackEnd/locallang.xml');
$LANG->includeLLFile('EXT:realty/Resources/Private/Language/locallang_mod.xlf');

/** @var tx_realty_BackEnd_Module $SOBE */
$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('tx_realty_BackEnd_Module');
Expand Down
115 changes: 0 additions & 115 deletions BackEnd/locallang.xml

This file was deleted.

65 changes: 0 additions & 65 deletions BackEnd/locallang_mod.xml

This file was deleted.

6 changes: 3 additions & 3 deletions Configuration/TCA/Overrides/fe_users.php
Expand Up @@ -6,7 +6,7 @@
[
'tx_realty_openimmo_anid' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:fe_users.tx_realty_openimmo_anid',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:fe_users.tx_realty_openimmo_anid',
'config' => [
'type' => 'input',
'size' => '31',
Expand All @@ -15,7 +15,7 @@
],
'tx_realty_maximum_objects' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:fe_users.tx_realty_maximum_objects',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:fe_users.tx_realty_maximum_objects',
'config' => [
'type' => 'input',
'size' => '4',
Expand All @@ -33,5 +33,5 @@
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'fe_users',
'--div--;LLL:EXT:realty/locallang_db.xml:fe_users.tx_realty_tab,tx_realty_openimmo_anid,tx_realty_maximum_objects;;;;1-1-1,'
'--div--;LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:fe_users.tx_realty_tab,tx_realty_openimmo_anid,tx_realty_maximum_objects;;;;1-1-1,'
);
4 changes: 2 additions & 2 deletions Configuration/TCA/tx_realty_apartment_types.php
Expand Up @@ -3,7 +3,7 @@

return [
'ctrl' => [
'title' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_apartment_types',
'title' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_apartment_types',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
Expand Down Expand Up @@ -53,7 +53,7 @@
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_apartment_types.title',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_apartment_types.title',
'config' => [
'type' => 'input',
'size' => '30',
Expand Down
4 changes: 2 additions & 2 deletions Configuration/TCA/tx_realty_car_places.php
Expand Up @@ -3,7 +3,7 @@

return [
'ctrl' => [
'title' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_car_places',
'title' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_car_places',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
Expand Down Expand Up @@ -53,7 +53,7 @@
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_car_places.title',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_car_places.title',
'config' => [
'type' => 'input',
'size' => '30',
Expand Down
6 changes: 3 additions & 3 deletions Configuration/TCA/tx_realty_cities.php
Expand Up @@ -3,7 +3,7 @@

return [
'ctrl' => [
'title' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_cities',
'title' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_cities',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
Expand Down Expand Up @@ -53,7 +53,7 @@
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_cities.title',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_cities.title',
'config' => [
'type' => 'input',
'size' => '30',
Expand All @@ -62,7 +62,7 @@
],
'save_folder' => [
'exclude' => 1,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_cities.save_folder',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_cities.save_folder',
'config' => [
'type' => 'group',
'internal_type' => 'db',
Expand Down
6 changes: 3 additions & 3 deletions Configuration/TCA/tx_realty_districts.php
Expand Up @@ -3,7 +3,7 @@

return [
'ctrl' => [
'title' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_districts',
'title' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_districts',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
Expand Down Expand Up @@ -53,7 +53,7 @@
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_districts.title',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_districts.title',
'config' => [
'type' => 'input',
'size' => '30',
Expand All @@ -62,7 +62,7 @@
],
'city' => [
'exclude' => 0,
'label' => 'LLL:EXT:realty/locallang_db.xml:tx_realty_districts.city',
'label' => 'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tx_realty_districts.city',
'config' => [
'type' => 'select',
'items' => [
Expand Down