Closed Bug 144345 Opened 22 years ago Closed 22 years ago

"hardcoded" wrapping in the string makes localization difficult

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: yinglinxia, Assigned: Bienvenu)

Details

(Keywords: l12y, Whiteboard: [adt2 rtm])

Attachments

(1 file)

Can we remove all the line breaks inside the properties strings? It makes 
localization very difficult:

en-US.jar\locale\en-US\messenger\messenger.properties:

nocachedbodybody =The body of this message has not been downloaded from \n\
the server for reading offline. To read this message, \n\
you must reconnect to the network, choose Offline from \n\
the File menu and then select Work Online.\n\
In the future, you can select which messages or folders to read offline. To do 
\n\
this, choose Offline from the file menu and then select Synchronize. You can 
\n\
adjust the Disk Space preference to prevent the downloading of large messages.

nocachedbodytitle=<TITLE>Go Online to View This Message</TITLE>\n\
Hi, Ying: 

The line breaks are used to indent/format the strings in the UI (dialog?). Is
there another way to indent the strings?
Why we *only* have the line breaks in this string, what's the reason?
no, this message is displayed in the message window, not a dialog, when the user
is offline and clicks on a message header of a message that has not been
downloaded for offline use. This was just copied over from 4.x - we could try it
without the \n's and see how it looks. I'm unclear why localizing it is a
problem. If you want to localize it without the \n's, why not just do that?
two reasons:
1) Without detail infor, translators won't know where to break lines, different languages have different line break rules, not just like English break with spaces.
2) With the symbol "\n", our localization tools have some difficulties to match the string in the translation memory. So the vendor needs to work on this kind of stuff manually, everytime.
Attached patch remove /n'sSplinter Review
checked in r/sr = sspitzer
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Need Adt's approval to check this into the branch. Am I reading it correctly
that this has been r/sr and has been checked into the trunk already?

adding nsbeta1
Keywords: nsbeta1
it's checked into the trunk - I thought we were long past the point where we
could check in resource/ui changes into the branch...
UI freeze for RTM is on June 3rd. So we're okay for UI changes until then. 
Can you please check this into the commercial branch? There is no UI change here...
what's the commercial branch? If you mean the 1.01 branch, I need approval from
the adt before I can checkin. The bug is nominated, but nothing beyond that.
Keywords: l12y
nominating it for adt2 rtm

Any chance we can get this approved by Adt for check in to the branch?
Whiteboard: [adt2 rtm]
Marking adt1.0.1+ on behalf of the adt for checkin to the 1.0 branch.  Please
get drivers approval before checking in.

Keywords: nsbeta1adt1.0.1+, nsbeta1+
Attachment #83627 - Flags: approval+
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1+
checked into branch.
yxia@netscape.com - can you verify this bug fix in branch?  When verified, pls
replace fixed1.0.1 keyword with verified1.0.1.  Thanks.
The fix only checked in 1.0 branch, not trunk. Should we still close it?
No you didn't ;-) In today's Mozilla and Netscape trunk build, the line breaks
are still there...
Sorry, my bad, looked on wrong files :-(
Status: RESOLVED → VERIFIED
verified.
it looks fine to me.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: