-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b20
-
x86
-
windows_nt, windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2067083 | 5.0 | Rajani Kaja | P3 | Resolved | Fixed | tiger |
This problem can be reproduced in all mantis builds. To reproduce:
1. Program Files -> Settings -> Control Panel
2. Double click on "Java Plug-in" icon
3. Click on "Update" tab
4. Click on "Advanced..." button
5. Under Frequency
a. Click on "Daily" radio button, you will see update.advanced_desc1.text
ex: Perform scan every day at 2:00 PM
b. Click on "Weekly" radio button, you will see update.advanced_desc2.text
ex: Perform scan every Sunday at 2:00 PM
c. Click on "Monthly" radio button, you will see update.advanced_desc3.text
ex: Perform scan on day 1 of every month at 2:00 PM
On the file deploy_ws/src/plugin/src/share/classes/sun/plugin/panel/UpdatePanel.java
it looks like the AmPmString position has been hardcoded.
DateFormatSymbols datefmt = new DateFormatSymbols();
ampmStrings = datefmt.getAmPmStrings();
weekDays = datefmt.getWeekdays();
atComboBoxText = new String[24];
atComboBoxText[0] = "12:00 "+ampmStrings[0]; //start with 12AM
The fix may be to use SHORT format from DateFormat class. See: http://java.sun.com/docs/books/tutorial/i18n/format/dateFormat.html
This affects Asian languages such as Korean, S.Chinese, T.Chinese and maybe Japanese.
1. Program Files -> Settings -> Control Panel
2. Double click on "Java Plug-in" icon
3. Click on "Update" tab
4. Click on "Advanced..." button
5. Under Frequency
a. Click on "Daily" radio button, you will see update.advanced_desc1.text
ex: Perform scan every day at 2:00 PM
b. Click on "Weekly" radio button, you will see update.advanced_desc2.text
ex: Perform scan every Sunday at 2:00 PM
c. Click on "Monthly" radio button, you will see update.advanced_desc3.text
ex: Perform scan on day 1 of every month at 2:00 PM
On the file deploy_ws/src/plugin/src/share/classes/sun/plugin/panel/UpdatePanel.java
it looks like the AmPmString position has been hardcoded.
DateFormatSymbols datefmt = new DateFormatSymbols();
ampmStrings = datefmt.getAmPmStrings();
weekDays = datefmt.getWeekdays();
atComboBoxText = new String[24];
atComboBoxText[0] = "12:00 "+ampmStrings[0]; //start with 12AM
The fix may be to use SHORT format from DateFormat class. See: http://java.sun.com/docs/books/tutorial/i18n/format/dateFormat.html
This affects Asian languages such as Korean, S.Chinese, T.Chinese and maybe Japanese.
- backported by
-
JDK-2067083 Time format used in ControlPanel Update tab is not correctly i18n'd
- Resolved
- duplicates
-
JDK-4837779 Inappropriate translation for Simplified Chinese on windows platforms
- Closed
- relates to
-
JDK-4845446 am/pm redundant string problem by 4837248
- Closed
-
JDK-4844682 ja: sentences on ControlPanel which have variables should be more comprehensible
- Closed