[TASK] Add resname attribute to trans-unit tags in XLF files 76/61876/3
authorMarkus Klein <markus.klein@typo3.org>
Thu, 3 Oct 2019 06:30:02 +0000 (08:30 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 4 Oct 2019 06:40:55 +0000 (08:40 +0200)
commit06ad4b1fdec4217a3fa37f92f4158ade87b7c3f3
tree2f852562a7921f9196441ab2175942681e5a802e
parentdecf368423d5cfc147a5fb39675e282d533303c8
[TASK] Add resname attribute to trans-unit tags in XLF files

Crowdin doesn't show the information stored in the attribute "id".
If we want to have that visible, the attribute must be duplicated using
"resname".

find typo3/ -name '*.xlf' -exec sed -i -e \
    '/resname/!s/\(<trans-unit id="\)\([^"]*\)"/\1\2" resname="\2"/' \
    '{}' +

Resolves: #89335
Releases: master, 9.5
Change-Id: I73de72a8bf4a837347a69183088c212d0a958d74
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61876
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
167 files changed:
typo3/sysext/about/Resources/Private/Language/Modules/about.xlf
typo3/sysext/about/Resources/Private/Language/Modules/locallang_alt_intro.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang_cache.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang_debug.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang_info.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang_preview.xlf
typo3/sysext/adminpanel/Resources/Private/Language/locallang_tsdebug.xlf
typo3/sysext/backend/Resources/Private/Language/locallang.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_alt_doc.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_db_new_content_el.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_layout.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_login.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_mod_help_cshmanual.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_pages_new.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_pages_new_csh.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_pages_sort.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_pages_sort_csh.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_show_rechis.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_module.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf
typo3/sysext/backend/Resources/Private/Language/locallang_view_help.xlf
typo3/sysext/backend/Resources/Private/Language/siteconfiguration_fieldinformation.xlf
typo3/sysext/belog/Resources/Private/Language/locallang.xlf
typo3/sysext/belog/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/beuser/Resources/Private/Language/locallang.xlf
typo3/sysext/beuser/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/beuser/Resources/Private/Language/locallang_mod_permission.xlf
typo3/sysext/core/Resources/Private/Language/Form/locallang_tabs.xlf
typo3/sysext/core/Resources/Private/Language/db.xlf
typo3/sysext/core/Resources/Private/Language/debugger.xlf
typo3/sysext/core/Resources/Private/Language/fileMessages.xlf
typo3/sysext/core/Resources/Private/Language/locallang_common.xlf
typo3/sysext/core/Resources/Private/Language/locallang_core.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_be_groups.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_be_users.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_corebe.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_pages.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_sysfilem.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_sysfilereference.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_sysfilestorage.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_syslang.xlf
typo3/sysext/core/Resources/Private/Language/locallang_csh_sysnews.xlf
typo3/sysext/core/Resources/Private/Language/locallang_general.xlf
typo3/sysext/core/Resources/Private/Language/locallang_misc.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_admintools.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_file.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_help.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_site.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_system.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_usertools.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_web.xlf
typo3/sysext/core/Resources/Private/Language/locallang_mod_web_list.xlf
typo3/sysext/core/Resources/Private/Language/locallang_t3lib_fullsearch.xlf
typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/core/Resources/Private/Language/locallang_tsfe.xlf
typo3/sysext/core/Resources/Private/Language/locallang_wizards.xlf
typo3/sysext/core/Resources/Private/Language/wizard.xlf
typo3/sysext/core/Tests/Unit/Localization/Parser/Fixtures/fr.locallang.xlf
typo3/sysext/core/Tests/Unit/Localization/Parser/Fixtures/fr.locallang_override.xlf
typo3/sysext/core/Tests/Unit/Localization/Parser/Fixtures/locallang.xlf
typo3/sysext/core/Tests/Unit/Localization/Parser/Fixtures/locallang_override.xlf
typo3/sysext/extbase/Resources/Private/Language/locallang.xlf
typo3/sysext/extbase/Resources/Private/Language/locallang_db.xlf
typo3/sysext/extensionmanager/Resources/Private/Language/locallang.xlf
typo3/sysext/extensionmanager/Resources/Private/Language/locallang_db.xlf
typo3/sysext/extensionmanager/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/felogin/Resources/Private/Language/Database.xlf
typo3/sysext/felogin/Resources/Private/Language/locallang.xlf
typo3/sysext/filelist/Resources/Private/Language/locallang.xlf
typo3/sysext/filelist/Resources/Private/Language/locallang_mod_file_list.xlf
typo3/sysext/filemetadata/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/fluid/Resources/Private/Language/locallang.xlf
typo3/sysext/fluid_styled_content/Resources/Private/Language/FrontendEditing.xlf
typo3/sysext/fluid_styled_content/Resources/Private/Language/locallang.xlf
typo3/sysext/form/Resources/Private/Language/Database.xlf
typo3/sysext/form/Resources/Private/Language/locallang.xlf
typo3/sysext/form/Resources/Private/Language/locallang_formEditor_failSafeErrorHandling_javascript.xlf
typo3/sysext/form/Resources/Private/Language/locallang_formManager_javascript.xlf
typo3/sysext/form/Resources/Private/Language/locallang_module.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/de.locallang_form.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/de.locallang_text.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_additional_text.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_ceuid_suffix_01.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_ceuid_suffix_02.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_form.xlf
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_text.xlf
typo3/sysext/frontend/Resources/Private/Language/Database.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_csh_fe_groups.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_csh_fe_users.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_csh_systmpl.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_csh_ttcontent.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_csh_weblayout.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/frontend/Resources/Private/Language/locallang_ttc.xlf
typo3/sysext/impexp/Resources/Private/Language/locallang.xlf
typo3/sysext/impexp/Resources/Private/Language/locallang_csh.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_csh_indexcfg.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_db.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_em.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_main.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_pi.xlf
typo3/sysext/info/Resources/Private/Language/InfoPageTsConfig.xlf
typo3/sysext/info/Resources/Private/Language/locallang_csh_tsconfigInfo.xlf
typo3/sysext/info/Resources/Private/Language/locallang_csh_web_info.xlf
typo3/sysext/info/Resources/Private/Language/locallang_csh_webinfo.xlf
typo3/sysext/info/Resources/Private/Language/locallang_mod_web_info.xlf
typo3/sysext/info/Resources/Private/Language/locallang_webinfo.xlf
typo3/sysext/install/Resources/Private/Language/BackendModule.xlf
typo3/sysext/install/Resources/Private/Language/ModuleInstallEnvironment.xlf
typo3/sysext/install/Resources/Private/Language/ModuleInstallMaintenance.xlf
typo3/sysext/install/Resources/Private/Language/ModuleInstallSettings.xlf
typo3/sysext/install/Resources/Private/Language/ModuleInstallUpgrade.xlf
typo3/sysext/install/Resources/Private/Language/Report/locallang.xlf
typo3/sysext/linkvalidator/Resources/Private/Language/Module/locallang.xlf
typo3/sysext/linkvalidator/Resources/Private/Language/Module/locallang_csh.xlf
typo3/sysext/linkvalidator/Resources/Private/Language/Module/locallang_mod.xlf
typo3/sysext/linkvalidator/Resources/Private/Language/locallang.xlf
typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf
typo3/sysext/lowlevel/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/lowlevel/Resources/Private/Language/locallang_mod_configuration.xlf
typo3/sysext/opendocs/Resources/Private/Language/locallang.xlf
typo3/sysext/recordlist/Resources/Private/Language/locallang.xlf
typo3/sysext/recordlist/Resources/Private/Language/locallang_browse_links.xlf
typo3/sysext/recycler/Resources/Private/Language/locallang.xlf
typo3/sysext/recycler/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/recycler/Resources/Private/Language/locallang_tasks.xlf
typo3/sysext/redirects/Resources/Private/Language/locallang.xlf
typo3/sysext/redirects/Resources/Private/Language/locallang_db.xlf
typo3/sysext/redirects/Resources/Private/Language/locallang_module_redirect.xlf
typo3/sysext/redirects/Resources/Private/Language/locallang_reports.xlf
typo3/sysext/redirects/Resources/Private/Language/locallang_slug_service.xlf
typo3/sysext/reports/Resources/Private/Language/locallang.xlf
typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf
typo3/sysext/reports/Resources/Private/Language/locallang_servicereport.xlf
typo3/sysext/scheduler/Resources/Private/Language/locallang.xlf
typo3/sysext/scheduler/Resources/Private/Language/locallang_csh_scheduler.xlf
typo3/sysext/scheduler/Resources/Private/Language/locallang_em.xlf
typo3/sysext/scheduler/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/scheduler/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/setup/Resources/Private/Language/locallang.xlf
typo3/sysext/setup/Resources/Private/Language/locallang_csh_mod.xlf
typo3/sysext/setup/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/sys_note/Resources/Private/Language/locallang.xlf
typo3/sysext/sys_note/Resources/Private/Language/locallang_csh_sysnote.xlf
typo3/sysext/sys_note/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/t3editor/Resources/Private/Language/locallang.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang_analyzer.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang_ceditor.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang_info.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/tstemplate/Resources/Private/Language/locallang_objbrowser.xlf
typo3/sysext/viewpage/Resources/Private/Language/locallang.xlf
typo3/sysext/viewpage/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_csh_sysws_stage.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_db.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_emails.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf
typo3/sysext/workspaces/Resources/Private/Language/locallang_tcemain.xlf