This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117615 - [60cat] i18n incoherence in java file rename/refactor's UI
Summary: [60cat] i18n incoherence in java file rename/refactor's UI
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-03 13:14 UTC by karmagfa
Modified: 2008-07-28 21:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
With the icon unchecked, it is all in English (5.17 KB, application/octet-stream)
2007-10-03 13:15 UTC, karmagfa
Details
With the checkbox checked, the button "Ok" is in traditional chinese (5.41 KB, application/octet-stream)
2007-10-03 13:18 UTC, karmagfa
Details
image (7.87 KB, image/gif)
2007-10-04 05:58 UTC, Ken Frank
Details
image (7.58 KB, image/gif)
2007-10-04 05:59 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karmagfa 2007-10-03 13:14:20 UTC
On Windows XP, Traditional Chinese edition, when I rename a java file from the project explorer, I see some buttons in
english and 1 of them is in Chinese (see screenshot, the one in Chinese means "Ok").
Comment 1 karmagfa 2007-10-03 13:15:39 UTC
Created attachment 50082 [details]
With the icon unchecked, it is all in English
Comment 2 karmagfa 2007-10-03 13:18:29 UTC
Created attachment 50083 [details]
With the checkbox checked, the button "Ok" is in traditional chinese
Comment 3 Marian Petras 2007-10-03 13:43:01 UTC
It seems that some labels (Preview, Refactor) are not properly internationalized - reassigned to component Refactoring.
Comment 4 Ken Frank 2007-10-03 19:53:15 UTC
if this is nb6, then it has not been translated yet so whatever is seen in Chinese is coming from
the OS.

thus the problem might be about encoding or the view of what locale the user is in -

what is the encoding property of the project you are in, assuming you are using nb6 ?

ken.frank@sun.com
Comment 5 karmagfa 2007-10-04 03:34:17 UTC
Yes, this is the recent nightly build of nb6 (200710011200).
My OS is Windows XP, Taiwanese version.
The locale on my system is something like zh_TW.
Comment 6 Ken Frank 2007-10-04 05:56:56 UTC
I think I see this - am in ja locale on solaris - using pseudo localized.

rename dialog has 2 checkboxes - 
if the rename without refactoring one is checked, then there are 3 buttons,
one of which is the ok button, in japanese, and the other 2 say cancel and help.

if that checkbox is not checked then the buttons on bottom are 4 saying
preview, refactor, cancel, help.

thus the question might be, should the ok button instead come from a bundle file rather from either the os
or from jdk; perhaps this is some jdk button with default value ?

ken.frank@sun.com
Comment 7 Ken Frank 2007-10-04 05:57:18 UTC
see attached gifs for more.
Comment 8 Ken Frank 2007-10-04 05:58:35 UTC
Created attachment 50156 [details]
image
Comment 9 Ken Frank 2007-10-04 05:59:31 UTC
Created attachment 50157 [details]
image
Comment 10 Jan Becicka 2007-10-04 08:11:56 UTC
Checking in ParametersPanel.java;
/cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/ParametersPanel.java,v  <--  ParametersPanel.java
new revision: 1.27; previous revision: 1.26
done
Comment 11 Ken Frank 2008-03-06 20:39:30 UTC
want to verify it - can you clarify about fix 

1. is it still true that
rename dialog has 2 checkboxes - 
if the rename without refactoring one is checked, then there are 3 buttons,
one of which is the ok button,  and the other 2 say cancel and help.

if that checkbox is not checked then the buttons on bottom are 4 saying
preview, refactor, cancel, help.

and that all of these now come from bundle file ?
- I see all of the buttons in both cases from bundle now.

ken.frank@sun.com
Comment 12 Ken Frank 2008-07-28 21:54:26 UTC
am verifying, I think current ui is a bit different than for this issue
and rename without refactoring choice is not present.

ken.frank@sun.com