[BUGFIX] Pootle: Multi-line labels are not rendered properly
authorXavier Perseguers <xavier@typo3.org>
Thu, 20 Oct 2011 11:21:04 +0000 (13:21 +0200)
committerXavier Perseguers <xavier@typo3.org>
Fri, 21 Oct 2011 14:44:06 +0000 (16:44 +0200)
commit3a9de7020cc0e2b328bd7af1dd20630fcf67f9ca
tree4f192909370af28b3814d680e4f6130927244cb8
parent4622bd629e1c73fd35d18e9e3bd1910f7f6af529
[BUGFIX] Pootle: Multi-line labels are not rendered properly

In order to ensure that multi-line labels can be properly translated on Pootle or
any 3rd party tool, it turns out that an additional attribute xml:space="preserve"
should be added to each and every <trans-unit> tag in the localization files.

Change-Id: I74dbf92196b649b96023b329eb12ad98dac7be49
Fixes: #31141
Releases: 4.6
Reviewed-on: http://review.typo3.org/6121
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
205 files changed:
typo3/sysext/aboutmodules/mod/locallang_mod.xlf
typo3/sysext/adodb/locallang_datasource_config.xlf
typo3/sysext/adodb/locallang_wizard.xlf
typo3/sysext/belog/locallang.xlf
typo3/sysext/belog/mod/locallang.xlf
typo3/sysext/belog/mod/locallang_mod.xlf
typo3/sysext/beuser/mod/locallang.xlf
typo3/sysext/beuser/mod/locallang_mod.xlf
typo3/sysext/cms/layout/locallang.xlf
typo3/sysext/cms/layout/locallang_db_new_content_el.xlf
typo3/sysext/cms/layout/locallang_mod.xlf
typo3/sysext/cms/locallang_csh_webinfo.xlf
typo3/sysext/cms/locallang_csh_weblayout.xlf
typo3/sysext/cms/locallang_tca.xlf
typo3/sysext/cms/locallang_ttc.xlf
typo3/sysext/cms/web_info/locallang.xlf
typo3/sysext/context_help/4.5/locallang_csh_pages.xlf
typo3/sysext/context_help/4.5/locallang_csh_ttcontent.xlf
typo3/sysext/context_help/locallang_csh_fe_groups.xlf
typo3/sysext/context_help/locallang_csh_fe_users.xlf
typo3/sysext/context_help/locallang_csh_pages.xlf
typo3/sysext/context_help/locallang_csh_pageslol.xlf
typo3/sysext/context_help/locallang_csh_statictpl.xlf
typo3/sysext/context_help/locallang_csh_sysdomain.xlf
typo3/sysext/context_help/locallang_csh_systmpl.xlf
typo3/sysext/context_help/locallang_csh_ttcontent.xlf
typo3/sysext/css_styled_content/locallang_db.xlf
typo3/sysext/css_styled_content/pi1/locallang.xlf
typo3/sysext/em/language/locallang.xlf
typo3/sysext/extra_page_cm_options/locallang.xlf
typo3/sysext/felogin/locallang_db.xlf
typo3/sysext/felogin/pi1/locallang.xlf
typo3/sysext/form/Resources/Private/Language/locallang_controller.xlf
typo3/sysext/form/Resources/Private/Language/locallang_wizard.xlf
typo3/sysext/func_wizards/locallang.xlf
typo3/sysext/func_wizards/locallang_csh.xlf
typo3/sysext/impexp/app/locallang.xlf
typo3/sysext/impexp/locallang_csh.xlf
typo3/sysext/impexp/locallang_csh_45.xlf
typo3/sysext/impexp/modfunc1/locallang.xlf
typo3/sysext/indexed_search/locallang.xlf
typo3/sysext/indexed_search/locallang_csh_indexcfg.xlf
typo3/sysext/indexed_search/locallang_db.xlf
typo3/sysext/indexed_search/mod/locallang_mod.xlf
typo3/sysext/indexed_search/modfunc1/locallang.xlf
typo3/sysext/indexed_search/modfunc2/locallang.xlf
typo3/sysext/indexed_search/pi/locallang.xlf
typo3/sysext/info_pagetsconfig/locallang.xlf
typo3/sysext/info_pagetsconfig/locallang_csh_webinfo.xlf
typo3/sysext/install/mod/locallang_mod.xlf
typo3/sysext/install/report/locallang.xlf
typo3/sysext/lang/4.5/locallang_csh_corebe.xlf
typo3/sysext/lang/4.5/locallang_csh_pages.xlf
typo3/sysext/lang/hooks/clearcache/locallang.xlf
typo3/sysext/lang/locallang_alt_doc.xlf
typo3/sysext/lang/locallang_alt_intro.xlf
typo3/sysext/lang/locallang_browse_links.xlf
typo3/sysext/lang/locallang_common.xlf
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/lang/locallang_csh_be_groups.xlf
typo3/sysext/lang/locallang_csh_be_users.xlf
typo3/sysext/lang/locallang_csh_corebe.xlf
typo3/sysext/lang/locallang_csh_em.xlf
typo3/sysext/lang/locallang_csh_pages.xlf
typo3/sysext/lang/locallang_csh_sysfilem.xlf
typo3/sysext/lang/locallang_csh_syslang.xlf
typo3/sysext/lang/locallang_csh_sysnews.xlf
typo3/sysext/lang/locallang_csh_sysws.xlf
typo3/sysext/lang/locallang_csh_web_func.xlf
typo3/sysext/lang/locallang_csh_web_info.xlf
typo3/sysext/lang/locallang_general.xlf
typo3/sysext/lang/locallang_login.xlf
typo3/sysext/lang/locallang_misc.xlf
typo3/sysext/lang/locallang_mod_admintools.xlf
typo3/sysext/lang/locallang_mod_doc.xlf
typo3/sysext/lang/locallang_mod_file.xlf
typo3/sysext/lang/locallang_mod_file_list.xlf
typo3/sysext/lang/locallang_mod_help.xlf
typo3/sysext/lang/locallang_mod_help_about.xlf
typo3/sysext/lang/locallang_mod_help_cshmanual.xlf
typo3/sysext/lang/locallang_mod_tools.xlf
typo3/sysext/lang/locallang_mod_tools_em.xlf
typo3/sysext/lang/locallang_mod_user.xlf
typo3/sysext/lang/locallang_mod_user_ws.xlf
typo3/sysext/lang/locallang_mod_usertools.xlf
typo3/sysext/lang/locallang_mod_web.xlf
typo3/sysext/lang/locallang_mod_web_func.xlf
typo3/sysext/lang/locallang_mod_web_info.xlf
typo3/sysext/lang/locallang_mod_web_list.xlf
typo3/sysext/lang/locallang_mod_web_perm.xlf
typo3/sysext/lang/locallang_show_rechis.xlf
typo3/sysext/lang/locallang_t3lib_fullsearch.xlf
typo3/sysext/lang/locallang_tca.xlf
typo3/sysext/lang/locallang_tcemain.xlf
typo3/sysext/lang/locallang_tsfe.xlf
typo3/sysext/lang/locallang_tsparser.xlf
typo3/sysext/lang/locallang_view_help.xlf
typo3/sysext/lang/locallang_wizards.xlf
typo3/sysext/lowlevel/config/locallang.xlf
typo3/sysext/lowlevel/config/locallang_mod.xlf
typo3/sysext/lowlevel/dbint/locallang.xlf
typo3/sysext/lowlevel/dbint/locallang_mod.xlf
typo3/sysext/opendocs/locallang_opendocs.xlf
typo3/sysext/opendocs/mod/locallang_mod.xlf
typo3/sysext/openid/locallang_csh.xlf
typo3/sysext/openid/locallang_csh_mod.xlf
typo3/sysext/openid/locallang_db.xlf
typo3/sysext/recycler/locallang_db.xlf
typo3/sysext/recycler/mod1/locallang.xlf
typo3/sysext/recycler/mod1/locallang_mod.xlf
typo3/sysext/reports/mod/locallang.xlf
typo3/sysext/reports/reports/locallang.xlf
typo3/sysext/rsaauth/hooks/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/Acronym/locallang_csh.xlf
typo3/sysext/rtehtmlarea/extensions/BlockElements/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/DefaultFont/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/EditElement/locallang_csh.xlf
typo3/sysext/rtehtmlarea/extensions/InlineElements/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/Language/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/Language/locallang_csh.xlf
typo3/sysext/rtehtmlarea/extensions/PlainText/locallang_csh.xlf
typo3/sysext/rtehtmlarea/extensions/RemoveFormat/locallang_csh.xlf
typo3/sysext/rtehtmlarea/extensions/SelectFont/locallang.xlf
typo3/sysext/rtehtmlarea/extensions/TextStyle/locallang.xlf
typo3/sysext/rtehtmlarea/hooks/clearrtecache/locallang.xlf
typo3/sysext/rtehtmlarea/hooks/statusreport/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/locallang_dialogs.xlf
typo3/sysext/rtehtmlarea/htmlarea/locallang_msg.xlf
typo3/sysext/rtehtmlarea/htmlarea/locallang_tooltips.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultColor/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineCSS/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectColor/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/locallang.xlf
typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/locallang.xlf
typo3/sysext/rtehtmlarea/locallang.xlf
typo3/sysext/rtehtmlarea/locallang_csh.xlf
typo3/sysext/rtehtmlarea/locallang_csh_abbreviation.xlf
typo3/sysext/rtehtmlarea/locallang_db.xlf
typo3/sysext/rtehtmlarea/mod2/locallang.xlf
typo3/sysext/rtehtmlarea/mod3/locallang.xlf
typo3/sysext/rtehtmlarea/mod4/locallang.xlf
typo3/sysext/rtehtmlarea/mod5/locallang.xlf
typo3/sysext/rtehtmlarea/pi1/locallang.xlf
typo3/sysext/rtehtmlarea/pi2/locallang.xlf
typo3/sysext/rtehtmlarea/res/accessibilityicons/locallang.xlf
typo3/sysext/rtehtmlarea/res/contentcss/locallang.xlf
typo3/sysext/saltedpasswords/locallang.xlf
typo3/sysext/scheduler/locallang.xlf
typo3/sysext/scheduler/mod1/locallang.xlf
typo3/sysext/scheduler/mod1/locallang_csh_scheduler.xlf
typo3/sysext/scheduler/mod1/locallang_mod.xlf
typo3/sysext/setup/locallang_csh_mod.xlf
typo3/sysext/setup/mod/locallang.xlf
typo3/sysext/setup/mod/locallang_mod.xlf
typo3/sysext/statictemplates/locallang_tca.xlf
typo3/sysext/sv/reports/locallang.xlf
typo3/sysext/sys_action/locallang.xlf
typo3/sysext/sys_action/locallang_csh_sysaction.xlf
typo3/sysext/sys_action/locallang_tca.xlf
typo3/sysext/sys_note/locallang_csh_sysnote.xlf
typo3/sysext/sys_note/locallang_tca.xlf
typo3/sysext/t3editor/locallang.xlf
typo3/sysext/taskcenter/locallang.xlf
typo3/sysext/taskcenter/task/locallang.xlf
typo3/sysext/taskcenter/task/locallang_mod.xlf
typo3/sysext/tsconfig_help/mod1/locallang.xlf
typo3/sysext/tsconfig_help/mod1/locallang_mod.xlf
typo3/sysext/tstemplate/ts/locallang.xlf
typo3/sysext/tstemplate/ts/locallang_mod.xlf
typo3/sysext/tstemplate_analyzer/locallang.xlf
typo3/sysext/tstemplate_ceditor/locallang.xlf
typo3/sysext/tstemplate_info/locallang.xlf
typo3/sysext/tstemplate_objbrowser/locallang.xlf
typo3/sysext/viewpage/view/locallang_mod.xlf
typo3/sysext/wizard_crpages/locallang.xlf
typo3/sysext/wizard_crpages/locallang_csh.xlf
typo3/sysext/wizard_sortpages/locallang.xlf
typo3/sysext/wizard_sortpages/locallang_csh.xlf