Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2018007 | 1.2.0 | John Oconner | P3 | Resolved | Fixed | 1.2beta3 |
Name: gvC48267 Date: 11/19/97
The russian locale is invalid in JDK 1.2b1 EA3.
A propoused new locale is attached.
Changes have following format
'//WAS:' <old line>
'//' <explanation of fix>
<fixed line>
---------------------- java\text\resources\LocaleElements_ru.java
-----------------------------
/*
* @(#)LocaleElements_ru.java 1.9 97/09/22
*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996, 1997 - All Rights Reserved
*
* Portions copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved.
*
* The original version of this source code and documentation is copyrighted
* and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
* materials are provided under terms of a License Agreement between Taligent
* and Sun. This technology is protected by multiple US and International
* patents. This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purposes and without
* fee is hereby granted provided that this copyright notice
* appears in all copies. Please refer to the file "copyright.html"
* for further important copyright and licensing information.
*
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
* THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
* ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
*
*/
/**
*
* Table of Java supplied standard locale elements
*
* automatically generated by java LocaleTool LocaleElements.java
*
* Date Created: Wed Aug 21 15:47:57 1996
*
* Locale Elements and Patterns: last update 10/23/96
*
*
*/
// WARNING : the format of this file will change in the future!
package java.text.resources;
public class LocaleElements_ru extends LocaleData {
public LocaleElements_ru() {
super.init(table);
}
static String table []={
/* locale id based on iso codes */ "ru_RU",
/* Windows id */ "0419",
/* iso-3 abbrev lang name */ "rus",
/* iso-3 abbrev country name */ "RUS",
/* language names */ "en_Russian;
ru_\u0440\u0443\u0441\u0441\u043a\u0438\u0439",
/* country names */ "en_Russia;
ru_\u0420\u043e\u0441\u0441\u0438\u044f",
/* january */
"\u044f\u043d\u0432\u0430\u0440\u044f",
/* february */
"\u0444\u0435\u0432\u0440\u0430\u043b\u044f",
/* march */
"\u043c\u0430\u0440\u0442\u0430",
/* april */
"\u0430\u043f\u0440\u0435\u043b\u044f",
/* may */ "\u043c\u0430\u044f",
/* june */
"\u0438\u044e\u043d\u044f",
/* july */
"\u0438\u044e\u043b\u044f",
/* august */
"\u0430\u0432\u0433\u0443\u0441\u0442\u0430",
/* september */
"\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f",
/* october */
"\u043e\u043a\u0442\u044f\u0431\u0440\u044f",
/* november */
"\u043d\u043e\u044f\u0431\u0440\u044f",
/* december */
"\u0434\u0435\u043a\u0430\u0431\u0440\u044f",
/* month 13 if applicable */ "",
/* abb january */ "\u044f\u043d\u0432.",
/* abb february */ "\u0444\u0435\u0432.",
/* abb march */ "\u043c\u0430\u0440.",
/* abb april */ "\u0430\u043f\u0440.",
/* abb may */ "\u043c\u0430\u044f",
/* abb june */ "\u0438\u044e\u043d.",
/* abb july */ "\u0438\u044e\u043b.",
/* abb august */ "\u0430\u0432\u0433.",
/* abb september */ "\u0441\u0435\u043d.",
/* abb october */ "\u043e\u043a\u0442.",
/* abb november */ "\u043d\u043e\u044f.",
/* abb december */ "\u0434\u0435\u043a.",
/* abb month 13 if applicable */ "",
/* sunday */
"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435",
/* monday */
"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a",
/* tuesday */
"\u0432\u0442\u043e\u0440\u043d\u0438\u043a",
/* wednesday */
"\u0441\u0440\u0435\u0434\u0430",
/* thursday */
"\u0447\u0435\u0442\u0432\u0435\u0440\u0433",
/* friday */
"\u043f\u044f\u0442\u043d\u0438\u0446\u0430",
/* saturday */
"\u0441\u0443\u0431\u0431\u043e\u0442\u0430",
//WAS:/* abb sunday */
"\u0432\u043e\u0441.",
// two letter abb. are usually used
/* abb sunday */ "\u0432\u0441",
//WAS:/* abb monday */
"\u043f\u043e\u043d.",
// two letter abb. are usually used
/* abb monday */ "\u043f\u043d",
//WAS:/* abb tuesday */
"\u0432\u0442\u043e.",
// two letter abb. are usually used
/* abb tuesday */ "\u0432\u0442",
//WAS:/* abb wednesday */
"\u0441\u0440\u0435.",
// two letter abb. are usually used
/* abb wednesday */ "\u0441\u0440",
//WAS:/* abb thursday */
"\u0447\u0435\u0442.",
// two letter abb. are usually used
/* abb thursday */ "\u0447\u0442",
//WAS:/* abb friday */
"\u043f\u0435\u0442.",
// two letter abb. are usually used
//BTW: even if you want 'mmm.' it should be
"\u043f\u044f\u0442." (middle letter spelling)
/* abb friday */ "\u043f\u0442",
//WAS:/* abb saturday */
"\u0441\u0443\u0431.",
// two letter abb. are usually used
/* abb saturday */ "\u0441\u0431",
/* am marker; default is AM */ "AM",
/* pm marker; default is PM */ "PM",
/* era strings */ "\u0434\u043e
\u043d.\u044d.;\u043d.\u044d.",
/* decimal pattern */ "#,##0.###;-#,##0.###",
//WAS: /* currency pattern */ "rub.
#,##0.##;-rub. #,##0.##",
// It is local currency symbol (used in russia), right?
/* currency pattern */
"#,##0.##\u0440.;#,##0.##\u0440.",
/* percent pattern */ "#,##0%",
/* decimal separator */ ",",
/* group (thousands) separator */ ".",
/* list separator */ "",
/* percent sign */ "%",
/* native 0 digit */ "0",
/* pattern digit */ "#",
/* minus sign */ "-",
/* exponential */ "E",
//WAS: /* local currency symbol */ "rub.",
// Look at currency pattern
/* local currency symbol */ "\u0440.",
/* intl currency symbol */ "RUR",
/* monetary decimal separator */ ".",
//WAS: /* Full time pattern */ "H.mm.ss z",
// ':' should be used instead of '.'
/* Full time pattern */ "H:mm:ss z",
//WAS: /* Long time pattern */ "H.mm.ss z",
// ':' should be used instead of '.'
/* Long time pattern */ "H:mm:ss z",
//WAS: /* Default time pattern */ "H.mm.ss",
// ':' should be used instead of '.'
/* Default time pattern */ "H:mm:ss",
//WAS: /* Short time pattern */ "H.mm",
// ':' should be used instead of '.'
/* Short time pattern */ "H:mm",
//WAS: /* Full date pattern */ "EEEE, d, MMMM
yyyy",
//extra comma before month + '\u0433.' after year
/* Full date pattern */ "EEEE, d MMMM
yyyy\u0433.",
//extra comma before month
//WAS: /* Long date pattern */ "d, MMMM yyyy",
/* Long date pattern */ "d MMMM yyyy\u0433.",
//WAS: /* Default date pattern */ "d M yyyy",
//dots should be displayed betwwen components
/* Default date pattern */ "d.M.yyyy",
//WAS: /* Short date pattern */ "d M yy",
//dots should be displayed betwwen components
/* Short date pattern */ "d.M.yy",
/* Date-Time pattern*/ "{1} {0}",
/* first day of week */ "1",
/* min days in first week */ "1",
/* for ru_RU, default plus the following */
"& Z < \u0430 , \u0410" // CYRILLIC A (small letter, capital
letter)
+ "< \u0431 , \u0411" // CYRILLIC BE
+ "< \u0432 , \u0412" // CYRILLIC VE
+ "< \u0433 , \u0413" // CYRILLIC GHE
+ "< \u0434 , \u0414" // CYRILLIC DE
+ "< \u0453 , \u0403" // macedonian gje
+ "< \u0452 , \u0402" // serbian dje
+ "< \u0435 , \u0415" // CYRILLIC IE
+ "< \u0454 , \u0404" // CYRILLIC UKRAINIAN IE
+ "< \u0451 , \u0401" // cyrillic io
+ "< \u0436 , \u0416" // CYRILLIC ZHE
+ "< \u0437 , \u0417" // CYRILLIC ZE
+ "< \u0455 , \u0405" // macedonian dze
+ "< \u0438 , \u0418" // CYRILLIC I
+ "< \u0456 , \u0406" // CYRILLIC BYELORUSSIAN-UKRAINIAN I
+ "< \u0457 , \u0407" // ukrainian yi
+ "< \u0458 , \u0408" // CYRILLIC JE
+ "< \u043a , \u041a" // CYRILLIC KA
+ "< \u043b , \u041b" // CYRILLIC EL
+ "< \u0459 , \u0409" // CYRILLIC LJE
+ "< \u043c , \u041c" // CYRILLIC EM
+ "< \u043d , \u041d" // CYRILLIC EN
+ "< \u045A , \u040A" // CYRILLIC NJE
+ "< \u043e , \u041e" // CYRILLIC O
+ "< \u043f , \u041f" // CYRILLIC PE
+ "< \u0440 , \u0420" // CYRILLIC ER
+ "< \u0441 , \u0421" // CYRILLIC ES
+ "< \u0442 , \u0422" // CYRILLIC TE
+ "< \u045C , \u040C" // macedonian kje
+ "< \u045B , \u040B" // CYRILLIC TSHE
+ "< \u0443 , \u0423" // CYRILLIC U
+ "< \u045e , \u040e" // byelorussian short u
+ "< \u0444 , \u0424" // CYRILLIC EF
+ "< \u0445 , \u0425" // CYRILLIC HA
+ "< \u0446 , \u0426" // CYRILLIC TSE
+ "< \u0447 , \u0427" // CYRILLIC CHE
+ "< \u045F , \u040F" // CYRILLIC DZHE
+ "< \u0448 , \u0428" // CYRILLIC SHA
+ "< \u0449 , \u0429" // CYRILLIC SHCHA
+ "< \u044a , \u042a" // CYRILLIC HARD SIGN
+ "< \u044b , \u042b" // CYRILLIC YERU
+ "< \u044c , \u042c" // CYRILLIC SOFT SIGN
+ "< \u044d , \u042d" // CYRILLIC E
+ "< \u044e , \u042e" // CYRILLIC YU
+ "< \u044f , \u042f" // CYRILLIC YA
/* others, in order, as per unicode.....*/
+ " < \u0461 , \u0460" // CYRILLIC OMEGA
+ " < \u0463 , \u0462" // CYRILLIC YAT
+ " < \u0465 , \u0464" // CYRILLIC IOTIFIED E
+ " < \u0467 , \u0466" // CYRILLIC LITTLE YUS
+ " < \u0469 , \u0468" // CYRILLIC IOTIFIED LITTLE YUS
+ " < \u046B , \u046A" // CYRILLIC BIG YUS
+ " < \u046D , \u046C" // CYRILLIC IOTIFIED BIG YUS
+ " < \u046F , \u046E" // CYRILLIC KSI
+ " < \u0471 , \u0470" // CYRILLIC PSI
+ " < \u0473 , \u0472" // CYRILLIC FITA
+ " < \u0475 , \u0474" // CYRILLIC IZHITSA
+ " < \u0479 , \u0478" // CYRILLIC UK
+ " < \u047B , \u047A" // CYRILLIC ROUND OMEGA
+ " < \u047D , \u047C" // CYRILLIC OMEGA WITH TITLO
+ " < \u047F , \u047E" // CYRILLIC OT
+ " < \u0481 , \u0480" // CYRILLIC KOPPA
+ " < \u0491 , \u0490" // CYRILLIC GHE WITH UPTURN
+ " < \u0493 , \u0492" // CYRILLIC GHE WITH STROKE
+ " < \u0495 , \u0494" // CYRILLIC GHE WITH MIDDLE HOOK
+ " < \u0497 , \u0496" // CYRILLIC ZHE WITH DESCENDER
+ " < \u0499 , \u0498" // CYRILLIC ZE WITH DESCENDER
+ " < \u049B , \u049A" // CYRILLIC KA WITH DESCENDER
+ " < \u049D , \u049C" // CYRILLIC KA WITH VERTICAL STROKE
+ " < \u049F , \u049E" // CYRILLIC KA WITH STROKE
+ " < \u04A1 , \u04A0" // CYRILLIC BASHKIR KA
+ " < \u04A3 , \u04A2" // CYRILLIC EN WITH DESCENDER
+ " < \u04A5 , \u04A4" // CYRILLIC LIGATURE EN GHE
+ " < \u04A7 , \u04A6" // CYRILLIC PE WITH MIDDLE HOOK
+ " < \u04A9 , \u04A8" // CYRILLIC ABKHASIAN HA
+ " < \u04AB , \u04AA" // CYRILLIC ES WITH DESCENDER
+ " < \u04AD , \u04AC" // CYRILLIC TE WITH DESCENDER
+ " < \u04AF , \u04AE" // CYRILLIC STRAIGHT U
+ " < \u04B1 , \u04B0" // CYRILLIC STRAIGHT U WITH STROKE
+ " < \u04B3 , \u04B2" // CYRILLIC HA WITH DESCENDER
+ " < \u04B5 , \u04B4" // CYRILLIC LIGATURE TE TSE
+ " < \u04B7 , \u04B6" // CYRILLIC CHE WITH DESCENDER
+ " < \u04B9 , \u04B8" // CYRILLIC CHE WITH VERTICAL STROKE
+ " < \u04BB , \u04BA" // CYRILLIC SHHA
+ " < \u04BD , \u04BC" // CYRILLIC ABKHASIAN CHE
+ " < \u04BF , \u04BE" // CYRILLIC ABKHASIAN CHE WITH DESCENDER
+ " < \u04C4 , \u04C3" // CYRILLIC KA WITH HOOK
+ " < \u04C8 , \u04C7" // CYRILLIC EN WITH HOOK
+ " < \u04CC , \u04CB" // CYRILLIC KHAKASSIAN CHE
};
}
(Review ID: 20512)
======================================================================
- backported by
-
JDK-2018007 Incorrect russian locale information
-
- Resolved
-