Bug #46940
closedXLF core locallang files are still referenced with .php/.xml
100%
Description
The core still access xliff language files as .php or .xml, although the files themselves are converted to
This is a cleanup taken all .xlf files in the EXT:lang/.xlf directory and run via a sed script (thanks to Stucki)
grep -rl "locallang_browse_links.php" * | xargs sed -i 's/locallang_browse_links.php/locallang_browse_links.xlf/g'
grep -rl "locallang_browse_links.xml" * | xargs sed -i 's/locallang_browse_links.xml/locallang_browse_links.xlf/g'
grep -rl "locallang_common.php" * | xargs sed -i 's/locallang_common.php/locallang_common.xlf/g'
grep -rl "locallang_common.xml" * | xargs sed -i 's/locallang_common.xml/locallang_common.xlf/g'
grep -rl "locallang_core.php" * | xargs sed -i 's/locallang_core.php/locallang_core.xlf/g'
grep -rl "locallang_core.xml" * | xargs sed -i 's/locallang_core.xml/locallang_core.xlf/g'
grep -rl "locallang_csh_be_groups.php" * | xargs sed -i 's/locallang_csh_be_groups.php/locallang_csh_be_groups.xlf/g'
grep -rl "locallang_csh_be_groups.xml" * | xargs sed -i 's/locallang_csh_be_groups.xml/locallang_csh_be_groups.xlf/g'
grep -rl "locallang_csh_corebe.php" * | xargs sed -i 's/locallang_csh_corebe.php/locallang_csh_corebe.xlf/g'
grep -rl "locallang_csh_corebe.xml" * | xargs sed -i 's/locallang_csh_corebe.xml/locallang_csh_corebe.xlf/g'
grep -rl "locallang_csh_em.php" * | xargs sed -i 's/locallang_csh_em.php/locallang_csh_em.xlf/g'
grep -rl "locallang_csh_em.xml" * | xargs sed -i 's/locallang_csh_em.xml/locallang_csh_em.xlf/g'
grep -rl "locallang_csh_pages.php" * | xargs sed -i 's/locallang_csh_pages.php/locallang_csh_pages.xlf/g'
grep -rl "locallang_csh_pages.xml" * | xargs sed -i 's/locallang_csh_pages.xml/locallang_csh_pages.xlf/g'
grep -rl "locallang_csh_sysfilem.php" * | xargs sed -i 's/locallang_csh_sysfilem.php/locallang_csh_sysfilem.xlf/g'
grep -rl "locallang_csh_sysfilem.xml" * | xargs sed -i 's/locallang_csh_sysfilem.xml/locallang_csh_sysfilem.xlf/g'
grep -rl "locallang_csh_syslang.php" * | xargs sed -i 's/locallang_csh_syslang.php/locallang_csh_syslang.xlf/g'
grep -rl "locallang_csh_syslang.xml" * | xargs sed -i 's/locallang_csh_syslang.xml/locallang_csh_syslang.xlf/g'
grep -rl "locallang_csh_sysnews.php" * | xargs sed -i 's/locallang_csh_sysnews.php/locallang_csh_sysnews.xlf/g'
grep -rl "locallang_csh_sysws.php" * | xargs sed -i 's/locallang_csh_sysws.php/locallang_csh_sysws.xlf/g'
grep -rl "locallang_csh_web_func.php" * | xargs sed -i 's/locallang_csh_web_func.php/locallang_csh_web_func.xlf/g'
grep -rl "locallang_csh_web_info.php" * | xargs sed -i 's/locallang_csh_web_info.php/locallang_csh_web_info.xlf/g'
grep -rl "locallang_general.php" * | xargs sed -i 's/locallang_general.php/locallang_general.xlf/g'
grep -rl "locallang_login.php" * | xargs sed -i 's/locallang_login.php/locallang_login.xlf/g'
grep -rl "locallang_misc.php" * | xargs sed -i 's/locallang_misc.php/locallang_misc.xlf/g'
grep -rl "locallang_mod_admintools.php" * | xargs sed -i 's/locallang_mod_admintools.php/locallang_mod_admintools.xlf/g'
grep -rl "locallang_mod_doc.php" * | xargs sed -i 's/locallang_mod_doc.php/locallang_mod_doc.xlf/g'
grep -rl "locallang_mod_file.php" * | xargs sed -i 's/locallang_mod_file.php/locallang_mod_file.xlf/g'
grep -rl "locallang_mod_file_list.php" * | xargs sed -i 's/locallang_mod_file_list.php/locallang_mod_file_list.xlf/g'
grep -rl "locallang_mod_help.php" * | xargs sed -i 's/locallang_mod_help.php/locallang_mod_help.xlf/g'
grep -rl "locallang_mod_help_about.php" * | xargs sed -i 's/locallang_mod_help_about.php/locallang_mod_help_about.xlf/g'
grep -rl "locallang_mod_help_cshmanual.php" * | xargs sed -i 's/locallang_mod_help_cshmanual.php/locallang_mod_help_cshmanual.xlf/g'
grep -rl "locallang_mod_tools.php" * | xargs sed -i 's/locallang_mod_tools.php/locallang_mod_tools.xlf/g'
grep -rl "locallang_mod_tools_em.php" * | xargs sed -i 's/locallang_mod_tools_em.php/locallang_mod_tools_em.xlf/g'
grep -rl "locallang_mod_user.php" * | xargs sed -i 's/locallang_mod_user.php/locallang_mod_user.xlf/g'
grep -rl "locallang_mod_user_ws.php" * | xargs sed -i 's/locallang_mod_user_ws.php/locallang_mod_user_ws.xlf/g'
grep -rl "locallang_mod_usertools.php" * | xargs sed -i 's/locallang_mod_usertools.php/locallang_mod_usertools.xlf/g'
grep -rl "locallang_mod_web.php" * | xargs sed -i 's/locallang_mod_web.php/locallang_mod_web.xlf/g'
grep -rl "locallang_mod_web_func.php" * | xargs sed -i 's/locallang_mod_web_func.php/locallang_mod_web_func.xlf/g'
grep -rl "locallang_mod_web_info.php" * | xargs sed -i 's/locallang_mod_web_info.php/locallang_mod_web_info.xlf/g'
grep -rl "locallang_mod_web_list.php" * | xargs sed -i 's/locallang_mod_web_list.php/locallang_mod_web_list.xlf/g'
grep -rl "locallang_mod_web_perm.php" * | xargs sed -i 's/locallang_mod_web_perm.php/locallang_mod_web_perm.xlf/g'
grep -rl "locallang_show_rechis.php" * | xargs sed -i 's/locallang_show_rechis.php/locallang_show_rechis.xlf/g'
grep -rl "locallang_t3lib_fullsearch.php" * | xargs sed -i 's/locallang_t3lib_fullsearch.php/locallang_t3lib_fullsearch.xlf/g'
grep -rl "locallang_tca.php" * | xargs sed -i 's/locallang_tca.php/locallang_tca.xlf/g'
grep -rl "locallang_tcemain.php" * | xargs sed -i 's/locallang_tcemain.php/locallang_tcemain.xlf/g'
grep -rl "locallang_tsfe.php" * | xargs sed -i 's/locallang_tsfe.php/locallang_tsfe.xlf/g'
grep -rl "locallang_tsparser.php" * | xargs sed -i 's/locallang_tsparser.php/locallang_tsparser.xlf/g'
grep -rl "locallang_view_help.php" * | xargs sed -i 's/locallang_view_help.php/locallang_view_help.xlf/g'
grep -rl "locallang_wizards.php" * | xargs sed -i 's/locallang_wizards.php/locallang_wizards.xlf/g'
grep -rl "locallang_csh_sysnews.xml" * | xargs sed -i 's/locallang_csh_sysnews.xml/locallang_csh_sysnews.xlf/g'
grep -rl "locallang_csh_sysws.xml" * | xargs sed -i 's/locallang_csh_sysws.xml/locallang_csh_sysws.xlf/g'
grep -rl "locallang_csh_web_func.xml" * | xargs sed -i 's/locallang_csh_web_func.xml/locallang_csh_web_func.xlf/g'
grep -rl "locallang_csh_web_info.xml" * | xargs sed -i 's/locallang_csh_web_info.xml/locallang_csh_web_info.xlf/g'
grep -rl "locallang_general.xml" * | xargs sed -i 's/locallang_general.xml/locallang_general.xlf/g'
grep -rl "locallang_login.xml" * | xargs sed -i 's/locallang_login.xml/locallang_login.xlf/g'
grep -rl "locallang_misc.xml" * | xargs sed -i 's/locallang_misc.xml/locallang_misc.xlf/g'
grep -rl "locallang_mod_admintools.xml" * | xargs sed -i 's/locallang_mod_admintools.xml/locallang_mod_admintools.xlf/g'
grep -rl "locallang_mod_doc.xml" * | xargs sed -i 's/locallang_mod_doc.xml/locallang_mod_doc.xlf/g'
grep -rl "locallang_mod_file.xml" * | xargs sed -i 's/locallang_mod_file.xml/locallang_mod_file.xlf/g'
grep -rl "locallang_mod_file_list.xml" * | xargs sed -i 's/locallang_mod_file_list.xml/locallang_mod_file_list.xlf/g'
grep -rl "locallang_mod_help.xml" * | xargs sed -i 's/locallang_mod_help.xml/locallang_mod_help.xlf/g'
grep -rl "locallang_mod_help_about.xml" * | xargs sed -i 's/locallang_mod_help_about.xml/locallang_mod_help_about.xlf/g'
grep -rl "locallang_mod_help_cshmanual.xml" * | xargs sed -i 's/locallang_mod_help_cshmanual.xml/locallang_mod_help_cshmanual.xlf/g'
grep -rl "locallang_mod_tools.xml" * | xargs sed -i 's/locallang_mod_tools.xml/locallang_mod_tools.xlf/g'
grep -rl "locallang_mod_tools_em.xml" * | xargs sed -i 's/locallang_mod_tools_em.xml/locallang_mod_tools_em.xlf/g'
grep -rl "locallang_mod_user.xml" * | xargs sed -i 's/locallang_mod_user.xml/locallang_mod_user.xlf/g'
grep -rl "locallang_mod_user_ws.xml" * | xargs sed -i 's/locallang_mod_user_ws.xml/locallang_mod_user_ws.xlf/g'
grep -rl "locallang_mod_usertools.xml" * | xargs sed -i 's/locallang_mod_usertools.xml/locallang_mod_usertools.xlf/g'
grep -rl "locallang_mod_web.xml" * | xargs sed -i 's/locallang_mod_web.xml/locallang_mod_web.xlf/g'
grep -rl "locallang_mod_web_func.xml" * | xargs sed -i 's/locallang_mod_web_func.xml/locallang_mod_web_func.xlf/g'
grep -rl "locallang_mod_web_info.xml" * | xargs sed -i 's/locallang_mod_web_info.xml/locallang_mod_web_info.xlf/g'
grep -rl "locallang_mod_web_list.xml" * | xargs sed -i 's/locallang_mod_web_list.xml/locallang_mod_web_list.xlf/g'
grep -rl "locallang_mod_web_perm.xml" * | xargs sed -i 's/locallang_mod_web_perm.xml/locallang_mod_web_perm.xlf/g'
grep -rl "locallang_show_rechis.xml" * | xargs sed -i 's/locallang_show_rechis.xml/locallang_show_rechis.xlf/g'
grep -rl "locallang_t3lib_fullsearch.xml" * | xargs sed -i 's/locallang_t3lib_fullsearch.xml/locallang_t3lib_fullsearch.xlf/g'
grep -rl "locallang_tca.xml" * | xargs sed -i 's/locallang_tca.xml/locallang_tca.xlf/g'
grep -rl "locallang_tcemain.xml" * | xargs sed -i 's/locallang_tcemain.xml/locallang_tcemain.xlf/g'
grep -rl "locallang_tsfe.xml" * | xargs sed -i 's/locallang_tsfe.xml/locallang_tsfe.xlf/g'
grep -rl "locallang_tsparser.xml" * | xargs sed -i 's/locallang_tsparser.xml/locallang_tsparser.xlf/g'
grep -rl "locallang_view_help.xml" * | xargs sed -i 's/locallang_view_help.xml/locallang_view_help.xlf/g'
grep -rl "locallang_wizards.xml" * | xargs sed -i 's/locallang_wizards.xml/locallang_wizards.xlf/g'
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19579
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19579
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19579
Updated by Benni Mack over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a887fdcb15cd7f83f4e4c2c7d603d4e43b7f00ef.