Bug 71883 - I18N: do not use same message for UI and export diff patch
I18N: do not use same message for UI and export diff patch
Status: NEW
Product: versioncontrol
Classification: Unclassified
Component: CVS
5.x
All All
: P2 (vote)
: 6.x
Assigned To: issues@versioncontrol
issues@versioncontrol
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-26 02:49 UTC by Masaki Katakai
Modified: 2007-12-12 01:59 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2006-01-26 02:49:47 UTC
I tried "export diff patch" on 5.0 ml 200601221400 JA locale, in generated patch
file below, "Base" and "Locally Modified (based On" are localized into Japanese.

Index: build.xml
*** /home/katakai/netbeans-src/translatedfiles/build.xml Base (1.110.2.4)
--- /home/katakai/netbeans-src/translatedfiles/build.xml Locally Modified (Based
On 1.110.2.4)
***************

I think we usually don't use localized strings in such fields. In netbeans.org
community
(and other communities also) patch file is being attached into bug management
system and is being distributed to others for share. So I understand we should
not use localized strings here.

./cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/diff/Bundle.properties
MSG_DiffPanel_LocalModified = Locally Modified (Based On {0})

Are these messages from above? I find only one message in Resource Bundle, which
is being used for UI too so we can not leave it as English. 

Please use separate Resource Bundle message for UI and export diff patch so that
we can use English for diff patch, can use translated strings for UI.
Comment 1 _ pkuzel 2006-01-30 10:57:01 UTC
Until it makes the patch unappliable, I consider it ENHANCEMENT.
Comment 2 Masaki Katakai 2007-12-12 01:59:51 UTC
Changed P3 to P2.

The simple scenario now does not work on NetBeans 6.0, These strings are
garbled on NetBeans editor.

1. Create JavaSE project
2. Import to CVS
3. Update .java file
4. Export Diff Patch

Now NetBeans 6.0 will open the .diff file into the Editor.
These characters are garbled in this scenario. I'm using
Japanese Windows.

Please provide another strings in Bundle.properties so that
we can revert back to English only for these messages.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo