Project

General

Profile

Actions

Bug #28280

closed

Line breaks in XLF translation causes JS error

Added by Björn Pedersen over 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-07-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

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.
',
...


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #28220: Preview with preview button not possible since 49d8f25 (page, list and template module)Closed2011-07-15

Actions
Actions

Also available in: Atom PDF