Issue Bug Closed

#28280Line breaks in XLF translation causes JS error

Björn Pedersen 07/18/11, 09:07 updated 06/15/15, 10:13

Description

The xlf files for workspace contain some line breaks (livePreviewDetail). This causes a JS error.

unterminated string literal
livePreviewDetail: ‘Click this elem…rsion and see the live version of the

The generated JS:
TYPO3.LLL.Workspaces = {
visualPreview: ‘Visual preview’,
listView: ‘List view’,
livePreview: ‘Live’,
livePreviewDetail: ‘Click this element to hide the workspace version and see the live version of the
page.
’,
…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.