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.
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").
Created attachment 50082 [details] With the icon unchecked, it is all in English
Created attachment 50083 [details] With the checkbox checked, the button "Ok" is in traditional chinese
It seems that some labels (Preview, Refactor) are not properly internationalized - reassigned to component Refactoring.
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
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.
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
see attached gifs for more.
Created attachment 50156 [details] image
Created attachment 50157 [details] image
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
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
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