[TASK] Move language in sys_action 51/41551/3
authorMichael Oehlhof <typo3@oehlhof.de>
Fri, 17 Jul 2015 09:04:47 +0000 (11:04 +0200)
committerAndreas Wolf <andreas.wolf@typo3.org>
Fri, 17 Jul 2015 10:03:25 +0000 (12:03 +0200)
Move language files in sys_action to Resources/Private/Language

Resolves: #68269
Releases: master
Change-Id: I4ecdf99e5123ec03ebad938c3156538b494a68e9
Reviewed-on: http://review.typo3.org/41551
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/sys_action/Classes/ActionTask.php
typo3/sysext/sys_action/Classes/Backend/ToolbarItems/ActionToolbarItem.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf [new file with mode: 0644]
typo3/sysext/sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf [new file with mode: 0644]
typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf [new file with mode: 0644]
typo3/sysext/sys_action/ext_tables.php
typo3/sysext/sys_action/locallang.xlf [deleted file]
typo3/sysext/sys_action/locallang_csh_sysaction.xlf [deleted file]
typo3/sysext/sys_action/locallang_tca.xlf [deleted file]
typo3/sysext/taskcenter/Documentation/DevelopersGuide/CreatingANewTask/Index.rst

index dcbf77d..bcefd6a 100644 (file)
@@ -47,7 +47,7 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface {
        public function __construct(\TYPO3\CMS\Taskcenter\Controller\TaskModuleController $taskObject) {
                $this->moduleUrl = BackendUtility::getModuleUrl('user_task');
                $this->taskObject = $taskObject;
-               $this->getLanguageService()->includeLLFile('EXT:sys_action/locallang.xlf');
+               $this->getLanguageService()->includeLLFile('EXT:sys_action/Resources/Private/Language/locallang.xlf');
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sys_action']['tx_sysaction_task'])) {
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sys_action']['tx_sysaction_task'] as $classRef) {
                                $this->hookObjects[] = GeneralUtility::getUserObj($classRef);
index dc07d94..2349140 100644 (file)
@@ -32,7 +32,7 @@ class ActionToolbarItem implements ToolbarItemInterface {
         * Constructor
         */
        public function __construct() {
-               $this->getLanguageService()->includeLLFile('EXT:sys_action/locallang.xlf');
+               $this->getLanguageService()->includeLLFile('EXT:sys_action/Resources/Private/Language/locallang.xlf');
                $this->initializeActionEntries();
        }
 
index 8eb294b..b886758 100644 (file)
@@ -7,7 +7,7 @@ return array(
                'default_sortby' => 'ORDER BY title',
                'sortby' => 'sorting',
                'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
-               'title' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action',
+               'title' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
                'adminOnly' => 1,
@@ -44,7 +44,7 @@ return array(
                        )
                ),
                'hidden' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.hidden',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.hidden',
                        'config' => array(
                                'type' => 'check'
                        )
@@ -55,16 +55,16 @@ return array(
                                'type' => 'select',
                                'items' => array(
                                        array('', '0'),
-                                       array('LLL:EXT:sys_action/locallang_tca.xlf:sys_action.type.1', '1'),
-                                       array('LLL:EXT:sys_action/locallang_tca.xlf:sys_action.type.2', '2'),
-                                       array('LLL:EXT:sys_action/locallang_tca.xlf:sys_action.type.3', '3'),
-                                       array('LLL:EXT:sys_action/locallang_tca.xlf:sys_action.type.4', '4'),
-                                       array('LLL:EXT:sys_action/locallang_tca.xlf:sys_action.type.5', '5')
+                                       array('LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.1', '1'),
+                                       array('LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.2', '2'),
+                                       array('LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.3', '3'),
+                                       array('LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.4', '4'),
+                                       array('LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.5', '5')
                                )
                        )
                ),
                'assign_to_groups' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.assign_to_groups',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.assign_to_groups',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'be_groups',
@@ -77,7 +77,7 @@ return array(
                        )
                ),
                't1_userprefix' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t1_userprefix',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_userprefix',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -86,7 +86,7 @@ return array(
                        )
                ),
                't1_allowed_groups' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t1_allowed_groups',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_allowed_groups',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'be_groups',
@@ -97,13 +97,13 @@ return array(
                        )
                ),
                't1_create_user_dir' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t1_create_user_dir',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_create_user_dir',
                        'config' => array(
                                'type' => 'check'
                        )
                ),
                't1_copy_of_user' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t1_copy_of_user',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_copy_of_user',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -120,7 +120,7 @@ return array(
                        )
                ),
                't3_listPid' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t3_listPid',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t3_listPid',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -137,7 +137,7 @@ return array(
                        )
                ),
                't3_tables' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t3_tables',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t3_tables',
                        'config' => array(
                                'type' => 'select',
                                'special' => 'tables',
@@ -147,7 +147,7 @@ return array(
                        )
                ),
                't4_recordsToEdit' => array(
-                       'label' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action.t4_recordsToEdit',
+                       'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t4_recordsToEdit',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -170,7 +170,7 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                '),
@@ -178,11 +178,11 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.create_user.settings,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.create_user.settings,
                                t1_userprefix,t1_copy_of_user,
                                t1_allowed_groups,
                                t1_create_user_dir,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                '),
@@ -190,7 +190,7 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                '),
@@ -198,10 +198,10 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.record_list.settings,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.record_list.settings,
                                t3_listPid,
                                t3_tables,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                '),
@@ -209,9 +209,9 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.edit_records.settings,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.edit_records.settings,
                                t4_recordsToEdit,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                '),
@@ -219,10 +219,10 @@ return array(
                        type,
                        title,
                        description,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.new_record.settings,
-                               t3_listPid;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.new_record.pid,
-                               t3_tables;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.new_record.tablename,
-                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.new_record.settings,
+                               t3_listPid;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.new_record.pid,
+                               t3_tables;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.new_record.tablename,
+                       --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
                                hidden,
                                assign_to_groups
                ')
diff --git a/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf b/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf
new file mode 100644 (file)
index 0000000..1cbb3de
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
+       <file t3:id="1415814993" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
+               <header/>
+               <body>
+                       <trans-unit id="sys_action">
+                               <source>Action</source>
+                       </trans-unit>
+                       <trans-unit id="description">
+                               <source>An 'Action' is a configuration of a specific task which may be performed by assigned usergroups via the Task Center.</source>
+                       </trans-unit>
+                       <trans-unit id="new-sys_action">
+                               <source>Create a new action</source>
+                       </trans-unit>
+                       <trans-unit id="edit-sys_action">
+                               <source>Edit record</source>
+                       </trans-unit>
+                       <trans-unit id="action_error-not-found">
+                               <source>The action doesn't exist</source>
+                       </trans-unit>
+                       <trans-unit id="action_not-found">
+                               <source>No actions found</source>
+                       </trans-unit>
+                       <trans-unit id="action_not-found-description">
+                               <source>Currently there are no actions yet defined!</source>
+                       </trans-unit>
+                       <trans-unit id="action_error-access">
+                               <source>You don't have sufficient rights to see the records. Please ask the administrator to set those for you.</source>
+                       </trans-unit>
+                       <trans-unit id="error-wrong-email">
+                               <source>The E-mail address is wrong.</source>
+                       </trans-unit>
+                       <trans-unit id="error-username-empty">
+                               <source>The username is empty.</source>
+                       </trans-unit>
+                       <trans-unit id="error-password-empty">
+                               <source>The password is empty.</source>
+                       </trans-unit>
+                       <trans-unit id="error-wrong-user">
+                               <source>You are not allowed to edit this user.</source>
+                       </trans-unit>
+                       <trans-unit id="success">
+                               <source>Success</source>
+                       </trans-unit>
+                       <trans-unit id="success-user-created">
+                               <source>The user has been created.</source>
+                       </trans-unit>
+                       <trans-unit id="success-user-updated">
+                               <source>The user has been updated.</source>
+                       </trans-unit>
+                       <trans-unit id="action_noType">
+                               <source>Error: The action had no type defined.</source>
+                       </trans-unit>
+                       <trans-unit id="action_notReady">
+                               <source>Error: The action configuration is not finished.</source>
+                       </trans-unit>
+                       <trans-unit id="action_download_file">
+                               <source>Click here to download the exported data in a file</source>
+                       </trans-unit>
+                       <trans-unit id="action_editQuery">
+                               <source>Edit Query</source>
+                       </trans-unit>
+                       <trans-unit id="action_createQuery">
+                               <source>Create Query</source>
+                       </trans-unit>
+                       <trans-unit id="action_emptyQuery">
+                               <source>Query is empty, create one first!</source>
+                       </trans-unit>
+                       <trans-unit id="action_error">
+                               <source>Action error!</source>
+                       </trans-unit>
+                       <trans-unit id="action_lowlevelMissing">
+                               <source>The extension "lowlevel" must be installed in order to create a query.</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_hidden">
+                               <source>Disable user</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_username">
+                               <source>Login name</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_password">
+                               <source>Password</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_realName">
+                               <source>Real name</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_email">
+                               <source>Email</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_usergroups">
+                               <source>Member of groups</source>
+                       </trans-unit>
+                       <trans-unit id="action_t2_result">
+                               <source>Result of query</source>
+                       </trans-unit>
+                       <trans-unit id="action_Create">
+                               <source>Create Backend User</source>
+                       </trans-unit>
+                       <trans-unit id="action_Update">
+                               <source>Update Backend User</source>
+                       </trans-unit>
+                       <trans-unit id="action_t1_listOfUsers">
+                               <source>List of backend users</source>
+                       </trans-unit>
+                       <trans-unit id="action_t1_legend_generalFields">
+                               <source>General fields</source>
+                       </trans-unit>
+                       <trans-unit id="action_t1_legend_configuration">
+                               <source>Configuration</source>
+                       </trans-unit>
+                       <trans-unit id="action_BEu_db_mount">
+                               <source>Pagetree starting points</source>
+                       </trans-unit>
+                       <trans-unit id="action_t4_edit">
+                               <source>Select record to edit:</source>
+                       </trans-unit>
+                       <trans-unit id="action_toolbaritem">
+                               <source>Open System Actions</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
diff --git a/typo3/sysext/sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf b/typo3/sysext/sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf
new file mode 100644 (file)
index 0000000..533bf42
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
+       <file t3:id="1415814994" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
+               <header/>
+               <body>
+                       <trans-unit id=".description">
+                               <source>An 'Action' is a configuration of a specific task which may be performed by assigned usergroups via the Task Center.</source>
+                       </trans-unit>
+                       <trans-unit id=".details" xml:space="preserve">
+                               <source>Currently an Action may be configured to create additional backend usergroups without being and admin-user and by selecting from a limited set of options. Another option is to let an action initiate a SQL SELECT-query in the database and return the result as a CSV file.
+Actions can be assigned to a Backend usergroup and they are activated by a single click in the Task Center.</source>
+                       </trans-unit>
+                       <trans-unit id="title.description">
+                               <source>Enter the title of the action. This is shown in the list of available actions in the Task Center.</source>
+                       </trans-unit>
+                       <trans-unit id="description.description">
+                               <source>Describe what the action does or allows to do.</source>
+                       </trans-unit>
+                       <trans-unit id="hidden.description">
+                               <source>Check this option if you wish to disable the availability of the action or non-admin users.</source>
+                       </trans-unit>
+                       <trans-unit id="hidden.details">
+                               <source>This option is a great way to disable an action during changes made to it because it still allows you as an 'Admin'-user to activate it for test purposes.</source>
+                       </trans-unit>
+                       <trans-unit id="type.description">
+                               <source>Select the action type.</source>
+                       </trans-unit>
+                       <trans-unit id="type.details" xml:space="preserve">
+                               <source>&lt;strong&gt;"Create Backend User"&lt;/strong&gt; allows to create backend users with a limited set of options. This action type is meant for semi-administrators among your users which is in charge of daily user administration - still without being full fledged 'Admin'-users with 'a License to Kill everything'.
+When you select this option, you get to enter a 'template' user, enter a prefix which the new users will automatically have and whether or not a user home-dir is created in the process. Finally you can select a limited number of usergroups which the can be selected among.
+
+&lt;strong&gt;"SQL-query"&lt;/strong&gt; allows to make a fixed SQL SELECT-query in the database returned as CSV lists. When you have created an action of this type, you need to go to the System &gt; DB check (prior to v7 this can be found on Tools &gt; DB check) module and enter the Advanced Search feature. Here you can design your SQL-query. When you have designed it to select what you want correctly, you can select this action (by it's name) and save the query to the action there. From that point it will be effective from the Task Center. (Notice that the form of output selected in the Advanced Search function is also stored, so make sure to select CSV output there!)</source>
+                       </trans-unit>
+                       <trans-unit id="assign_to_groups.description">
+                               <source>Select the backend users groups allowed to activate the action in the Task Center.</source>
+                       </trans-unit>
+                       <trans-unit id="t1_userprefix.description">
+                               <source>Enter a prefix which is forcibly prepended to new usernames (eg. "news_")</source>
+                       </trans-unit>
+                       <trans-unit id="t1_allowed_groups.description">
+                               <source>Enter the Backend user groups which the user performing the action is able to choose among (if any).</source>
+                       </trans-unit>
+                       <trans-unit id="t1_create_user_dir.description">
+                               <source>If checked, a private home-directory is also created during user creation. </source>
+                       </trans-unit>
+                       <trans-unit id="t1_create_user_dir.details">
+                               <source>&lt;strong&gt;Notice:&lt;/strong&gt; $TYPO3_CONF_VARS["BE"]["userHomePath"] must be configured correctly along with $TYPO3_CONF_VARS["BE"]["lockRootPath"] and writable!</source>
+                       </trans-unit>
+                       <trans-unit id="t1_copy_of_user.description">
+                               <source>Insert a current Backend user which will be used as a template for the new users created. </source>
+                       </trans-unit>
+                       <trans-unit id="t1_copy_of_user.details" xml:space="preserve">
+                               <source>All values are copied to the new user, except username, password, name and email is of course overridden.
+If the template user is a member of a group which is not defined among the "Groups which may be assigned through the action" that group is still set for the user and cannot be removed by the user carrying out the action.</source>
+                       </trans-unit>
+                       <trans-unit id="t4_recordsToEdit.description">
+                               <source>[FILL IN] sys_action-&gt;t4_recordsToEdit</source>
+                       </trans-unit>
+                       <trans-unit id="t3_listPid.description">
+                               <source>[FILL IN] sys_action-&gt;t3_listPid</source>
+                       </trans-unit>
+                       <trans-unit id="t3_tables.description">
+                               <source>[FILL IN] sys_action-&gt;t3_tables</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
diff --git a/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf b/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf
new file mode 100644 (file)
index 0000000..fb451bb
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
+       <file t3:id="1415814995" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
+               <header/>
+               <body>
+                       <trans-unit id="sys_action">
+                               <source>Action</source>
+                       </trans-unit>
+                       <trans-unit id="tx_sys_action">
+                               <source>Actions</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.hidden">
+                               <source>Deactivated:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.assign_to_groups">
+                               <source>Assign action to groups:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t1_userprefix">
+                               <source>User prefix:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t1_allowed_groups">
+                               <source>Groups which may be assigned through the action:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t1_create_user_dir">
+                               <source>Create User Home Directory:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t1_copy_of_user">
+                               <source>Template user:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t3_listPid">
+                               <source>List pid:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t3_tables">
+                               <source>List only table:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.t4_recordsToEdit">
+                               <source>Records to edit:</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.type.1">
+                               <source>Create Backend User</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.type.2">
+                               <source>SQL query</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.type.3">
+                               <source>Record list</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.type.4">
+                               <source>Edit records</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.type.5">
+                               <source>New Record</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.access">
+                               <source>Access</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.create_user.settings">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.record_list.settings">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.edit_records.settings">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.new_record.settings">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.new_record.pid">
+                               <source>Select the page for the new record to be stored</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.new_record.tablename">
+                               <source>Record type</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
index ae837cb..5a4e2df 100644 (file)
@@ -2,10 +2,10 @@
 defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_action', 'EXT:sys_action/locallang_csh_sysaction.xlf');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_action', 'EXT:sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf');
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array(
-               'title' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action',
-               'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xlf:.description',
+               'title' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action',
+               'description' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf:.description',
                'icon' => 'EXT:sys_action/Resources/Public/Images/x-sys_action.png'
        );
 }
diff --git a/typo3/sysext/sys_action/locallang.xlf b/typo3/sysext/sys_action/locallang.xlf
deleted file mode 100644 (file)
index 1cbb3de..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
-       <file t3:id="1415814993" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
-               <header/>
-               <body>
-                       <trans-unit id="sys_action">
-                               <source>Action</source>
-                       </trans-unit>
-                       <trans-unit id="description">
-                               <source>An 'Action' is a configuration of a specific task which may be performed by assigned usergroups via the Task Center.</source>
-                       </trans-unit>
-                       <trans-unit id="new-sys_action">
-                               <source>Create a new action</source>
-                       </trans-unit>
-                       <trans-unit id="edit-sys_action">
-                               <source>Edit record</source>
-                       </trans-unit>
-                       <trans-unit id="action_error-not-found">
-                               <source>The action doesn't exist</source>
-                       </trans-unit>
-                       <trans-unit id="action_not-found">
-                               <source>No actions found</source>
-                       </trans-unit>
-                       <trans-unit id="action_not-found-description">
-                               <source>Currently there are no actions yet defined!</source>
-                       </trans-unit>
-                       <trans-unit id="action_error-access">
-                               <source>You don't have sufficient rights to see the records. Please ask the administrator to set those for you.</source>
-                       </trans-unit>
-                       <trans-unit id="error-wrong-email">
-                               <source>The E-mail address is wrong.</source>
-                       </trans-unit>
-                       <trans-unit id="error-username-empty">
-                               <source>The username is empty.</source>
-                       </trans-unit>
-                       <trans-unit id="error-password-empty">
-                               <source>The password is empty.</source>
-                       </trans-unit>
-                       <trans-unit id="error-wrong-user">
-                               <source>You are not allowed to edit this user.</source>
-                       </trans-unit>
-                       <trans-unit id="success">
-                               <source>Success</source>
-                       </trans-unit>
-                       <trans-unit id="success-user-created">
-                               <source>The user has been created.</source>
-                       </trans-unit>
-                       <trans-unit id="success-user-updated">
-                               <source>The user has been updated.</source>
-                       </trans-unit>
-                       <trans-unit id="action_noType">
-                               <source>Error: The action had no type defined.</source>
-                       </trans-unit>
-                       <trans-unit id="action_notReady">
-                               <source>Error: The action configuration is not finished.</source>
-                       </trans-unit>
-                       <trans-unit id="action_download_file">
-                               <source>Click here to download the exported data in a file</source>
-                       </trans-unit>
-                       <trans-unit id="action_editQuery">
-                               <source>Edit Query</source>
-                       </trans-unit>
-                       <trans-unit id="action_createQuery">
-                               <source>Create Query</source>
-                       </trans-unit>
-                       <trans-unit id="action_emptyQuery">
-                               <source>Query is empty, create one first!</source>
-                       </trans-unit>
-                       <trans-unit id="action_error">
-                               <source>Action error!</source>
-                       </trans-unit>
-                       <trans-unit id="action_lowlevelMissing">
-                               <source>The extension "lowlevel" must be installed in order to create a query.</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_hidden">
-                               <source>Disable user</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_username">
-                               <source>Login name</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_password">
-                               <source>Password</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_realName">
-                               <source>Real name</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_email">
-                               <source>Email</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_usergroups">
-                               <source>Member of groups</source>
-                       </trans-unit>
-                       <trans-unit id="action_t2_result">
-                               <source>Result of query</source>
-                       </trans-unit>
-                       <trans-unit id="action_Create">
-                               <source>Create Backend User</source>
-                       </trans-unit>
-                       <trans-unit id="action_Update">
-                               <source>Update Backend User</source>
-                       </trans-unit>
-                       <trans-unit id="action_t1_listOfUsers">
-                               <source>List of backend users</source>
-                       </trans-unit>
-                       <trans-unit id="action_t1_legend_generalFields">
-                               <source>General fields</source>
-                       </trans-unit>
-                       <trans-unit id="action_t1_legend_configuration">
-                               <source>Configuration</source>
-                       </trans-unit>
-                       <trans-unit id="action_BEu_db_mount">
-                               <source>Pagetree starting points</source>
-                       </trans-unit>
-                       <trans-unit id="action_t4_edit">
-                               <source>Select record to edit:</source>
-                       </trans-unit>
-                       <trans-unit id="action_toolbaritem">
-                               <source>Open System Actions</source>
-                       </trans-unit>
-               </body>
-       </file>
-</xliff>
diff --git a/typo3/sysext/sys_action/locallang_csh_sysaction.xlf b/typo3/sysext/sys_action/locallang_csh_sysaction.xlf
deleted file mode 100644 (file)
index 533bf42..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
-       <file t3:id="1415814994" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
-               <header/>
-               <body>
-                       <trans-unit id=".description">
-                               <source>An 'Action' is a configuration of a specific task which may be performed by assigned usergroups via the Task Center.</source>
-                       </trans-unit>
-                       <trans-unit id=".details" xml:space="preserve">
-                               <source>Currently an Action may be configured to create additional backend usergroups without being and admin-user and by selecting from a limited set of options. Another option is to let an action initiate a SQL SELECT-query in the database and return the result as a CSV file.
-Actions can be assigned to a Backend usergroup and they are activated by a single click in the Task Center.</source>
-                       </trans-unit>
-                       <trans-unit id="title.description">
-                               <source>Enter the title of the action. This is shown in the list of available actions in the Task Center.</source>
-                       </trans-unit>
-                       <trans-unit id="description.description">
-                               <source>Describe what the action does or allows to do.</source>
-                       </trans-unit>
-                       <trans-unit id="hidden.description">
-                               <source>Check this option if you wish to disable the availability of the action or non-admin users.</source>
-                       </trans-unit>
-                       <trans-unit id="hidden.details">
-                               <source>This option is a great way to disable an action during changes made to it because it still allows you as an 'Admin'-user to activate it for test purposes.</source>
-                       </trans-unit>
-                       <trans-unit id="type.description">
-                               <source>Select the action type.</source>
-                       </trans-unit>
-                       <trans-unit id="type.details" xml:space="preserve">
-                               <source>&lt;strong&gt;"Create Backend User"&lt;/strong&gt; allows to create backend users with a limited set of options. This action type is meant for semi-administrators among your users which is in charge of daily user administration - still without being full fledged 'Admin'-users with 'a License to Kill everything'.
-When you select this option, you get to enter a 'template' user, enter a prefix which the new users will automatically have and whether or not a user home-dir is created in the process. Finally you can select a limited number of usergroups which the can be selected among.
-
-&lt;strong&gt;"SQL-query"&lt;/strong&gt; allows to make a fixed SQL SELECT-query in the database returned as CSV lists. When you have created an action of this type, you need to go to the System &gt; DB check (prior to v7 this can be found on Tools &gt; DB check) module and enter the Advanced Search feature. Here you can design your SQL-query. When you have designed it to select what you want correctly, you can select this action (by it's name) and save the query to the action there. From that point it will be effective from the Task Center. (Notice that the form of output selected in the Advanced Search function is also stored, so make sure to select CSV output there!)</source>
-                       </trans-unit>
-                       <trans-unit id="assign_to_groups.description">
-                               <source>Select the backend users groups allowed to activate the action in the Task Center.</source>
-                       </trans-unit>
-                       <trans-unit id="t1_userprefix.description">
-                               <source>Enter a prefix which is forcibly prepended to new usernames (eg. "news_")</source>
-                       </trans-unit>
-                       <trans-unit id="t1_allowed_groups.description">
-                               <source>Enter the Backend user groups which the user performing the action is able to choose among (if any).</source>
-                       </trans-unit>
-                       <trans-unit id="t1_create_user_dir.description">
-                               <source>If checked, a private home-directory is also created during user creation. </source>
-                       </trans-unit>
-                       <trans-unit id="t1_create_user_dir.details">
-                               <source>&lt;strong&gt;Notice:&lt;/strong&gt; $TYPO3_CONF_VARS["BE"]["userHomePath"] must be configured correctly along with $TYPO3_CONF_VARS["BE"]["lockRootPath"] and writable!</source>
-                       </trans-unit>
-                       <trans-unit id="t1_copy_of_user.description">
-                               <source>Insert a current Backend user which will be used as a template for the new users created. </source>
-                       </trans-unit>
-                       <trans-unit id="t1_copy_of_user.details" xml:space="preserve">
-                               <source>All values are copied to the new user, except username, password, name and email is of course overridden.
-If the template user is a member of a group which is not defined among the "Groups which may be assigned through the action" that group is still set for the user and cannot be removed by the user carrying out the action.</source>
-                       </trans-unit>
-                       <trans-unit id="t4_recordsToEdit.description">
-                               <source>[FILL IN] sys_action-&gt;t4_recordsToEdit</source>
-                       </trans-unit>
-                       <trans-unit id="t3_listPid.description">
-                               <source>[FILL IN] sys_action-&gt;t3_listPid</source>
-                       </trans-unit>
-                       <trans-unit id="t3_tables.description">
-                               <source>[FILL IN] sys_action-&gt;t3_tables</source>
-                       </trans-unit>
-               </body>
-       </file>
-</xliff>
diff --git a/typo3/sysext/sys_action/locallang_tca.xlf b/typo3/sysext/sys_action/locallang_tca.xlf
deleted file mode 100644 (file)
index fb451bb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
-       <file t3:id="1415814995" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:37Z" product-name="sys_action">
-               <header/>
-               <body>
-                       <trans-unit id="sys_action">
-                               <source>Action</source>
-                       </trans-unit>
-                       <trans-unit id="tx_sys_action">
-                               <source>Actions</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.hidden">
-                               <source>Deactivated:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.assign_to_groups">
-                               <source>Assign action to groups:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t1_userprefix">
-                               <source>User prefix:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t1_allowed_groups">
-                               <source>Groups which may be assigned through the action:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t1_create_user_dir">
-                               <source>Create User Home Directory:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t1_copy_of_user">
-                               <source>Template user:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t3_listPid">
-                               <source>List pid:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t3_tables">
-                               <source>List only table:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.t4_recordsToEdit">
-                               <source>Records to edit:</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.type.1">
-                               <source>Create Backend User</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.type.2">
-                               <source>SQL query</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.type.3">
-                               <source>Record list</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.type.4">
-                               <source>Edit records</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.type.5">
-                               <source>New Record</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.tab.access">
-                               <source>Access</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.tab.create_user.settings">
-                               <source>Settings</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.tab.record_list.settings">
-                               <source>Settings</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.tab.edit_records.settings">
-                               <source>Settings</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.tab.new_record.settings">
-                               <source>Settings</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.new_record.pid">
-                               <source>Select the page for the new record to be stored</source>
-                       </trans-unit>
-                       <trans-unit id="sys_action.new_record.tablename">
-                               <source>Record type</source>
-                       </trans-unit>
-               </body>
-       </file>
-</xliff>
index cc22c2a..e4f568f 100644 (file)
@@ -70,8 +70,8 @@ task. Let's look at the declaration of sys\_action as an example:
 ::
 
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array(
-               'title' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action',
-               'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xlf:.description',
+               'title' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action',
+               'description' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf:.description',
                'icon' => 'EXT:sys_action/Resources/Public/Images/x-sys_action.png'
        );