Bug 227363 - English string uses <br /> to explain line break
Summary: English string uses <br /> to explain line break
Status: RESOLVED DUPLICATE of bug 237257
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-04-16 11:50 EDT by Masahiro Arai CLA
Modified: 2008-08-02 07:23 EDT (History)
4 users (show)

See Also:


Attachments
Screen shot from Message Editor (207.88 KB, image/pjpeg)
2008-04-16 11:50 EDT, Masahiro Arai CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masahiro Arai CLA 2008-04-16 11:50:00 EDT
Created attachment 96272 [details]
Screen shot from Message Editor

Build ID: N/A

Steps To Reproduce:
1. Log-in to Babel web message editor.
2. Search following string on German locale:
org.eclipse.ui.ide/org/eclipse/ui/internal/ide/messages.properties
ChooseWorkspaceDialog_dialogMessage= \
{0} stores your projects in a folder called a workspace.\n\
Choose a workspace folder to use for this session.

--> you'll see <br /> on English string.


More information:
If we need to use line break, then English string also should follow same way.
Comment 1 Gabe O'Brien CLA 2008-04-16 12:34:44 EDT
Since the translation in question was imported from an existing language pack this is an issue for the import script to handle.

Of course this is no easy task if the English has both new line and BR tags.  But should be simply(ish) if the English only has new line or BR tags.

Maybe Denis can provide some insight into what files would need to be updated to make this happen?
Comment 2 Piotr Kontek CLA 2008-04-29 07:22:29 EDT
It's a duplicate of 222660, I think.
Comment 3 Kit Lo CLA 2008-04-29 08:34:55 EDT
The original English string looks like this:

ChooseWorkspaceDialog_dialogMessage= \
{0} stores your projects in a folder called a workspace.\n\
Choose a workspace folder to use for this session.

Note that there is a new line character after the first and second line. Arai-san was reporting that we converted the new line character and displayed a "<br />" in the English String.

We should find out where in the code is doing this conversion, and see if we could stop this conversion and just insert a new line character. I expect to see the following in the "English String" pane:

 \
{0} stores your projects in a folder called a workspace.\n\
Choose a workspace folder to use for this session.
Comment 4 Kit Lo CLA 2008-08-02 07:16:11 EDT
fixed
Comment 5 Kit Lo CLA 2008-08-02 07:23:59 EDT

*** This bug has been marked as a duplicate of bug 237257 ***