FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) added

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcoen Hirschberg 2007-10-01 17:16:31 +00:00
parent b8753ffdaa
commit ded94e69c4
9 changed files with 78 additions and 16 deletions

View file

@ -11327,4 +11327,17 @@
lcd_color: "Bar (Gradient Colour)"
</voice>
</phrase>
<phrase>
id: LANG_CODEPAGE_CENTRAL_EUROPEAN
desc: in codepage setting menu
user:
<source>
*: "Central European (CP1250)"
</source>
<dest>
*: "Central European (CP1250)"
</dest>
<voice>
*: "Central Eurpean"
</voice>
</phrase>

View file

@ -11038,3 +11038,17 @@
radio: "Menu Radia FM"
</voice>
</phrase>
<phrase>
id: LANG_CODEPAGE_CENTRAL_EUROPEAN
desc: in codepage setting menu
user:
<source>
*: "Europa Środkowa (CP1250)"
</source>
<dest>
*: "Europa Środkowa (CP1250)"
</dest>
<voice>
*: "Europa Środkowa"
</voice>
</phrase>

View file

@ -247,6 +247,7 @@ struct preferences {
ISO_8859_6,
ISO_8859_9,
ISO_8859_2,
CP1250,
SJIS,
GB2312,
KSX1001,
@ -1191,6 +1192,7 @@ static bool encoding_setting(void)
{"ISO-8859-6", -1},
{"ISO-8859-9", -1},
{"ISO-8859-2", -1},
{"CP1250", -1},
{"SJIS", -1},
{"GB-2312", -1},
{"KSX-1001", -1},

View file

@ -1025,22 +1025,23 @@ const struct settings_list settings[] = {
#ifdef HAVE_LCD_BITMAP
/* The order must match with that in unicode.c */
"iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,"
"iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8",
set_codepage, 13,
"iso8859-9,iso8859-2,cp1250,sjis,gb2312,ksx1001,big5,utf-8",
set_codepage, 14,
ID2P(LANG_CODEPAGE_LATIN1), ID2P(LANG_CODEPAGE_GREEK),
ID2P(LANG_CODEPAGE_HEBREW), ID2P(LANG_CODEPAGE_CYRILLIC),
ID2P(LANG_CODEPAGE_THAI), ID2P(LANG_CODEPAGE_ARABIC),
ID2P(LANG_CODEPAGE_TURKISH), ID2P(LANG_CODEPAGE_LATIN_EXTENDED),
ID2P(LANG_CODEPAGE_JAPANESE), ID2P(LANG_CODEPAGE_SIMPLIFIED),
ID2P(LANG_CODEPAGE_KOREAN), ID2P(LANG_CODEPAGE_TRADITIONAL),
ID2P(LANG_CODEPAGE_UTF8)),
ID2P(LANG_CODEPAGE_CENTRAL_EUROPEAN), ID2P(LANG_CODEPAGE_JAPANESE),
ID2P(LANG_CODEPAGE_SIMPLIFIED), ID2P(LANG_CODEPAGE_KOREAN),
ID2P(LANG_CODEPAGE_TRADITIONAL), ID2P(LANG_CODEPAGE_UTF8)),
#else /* !HAVE_LCD_BITMAP */
/* The order must match with that in unicode.c */
"iso8859-1,iso8859-7,cp1251,iso8859-9,iso8859-2,utf-8",
set_codepage, 6,
"iso8859-1,iso8859-7,cp1251,iso8859-9,iso8859-2,cp1250,utf-8",
set_codepage, 7,
ID2P(LANG_CODEPAGE_LATIN1), ID2P(LANG_CODEPAGE_GREEK),
ID2P(LANG_CODEPAGE_CYRILLIC), ID2P(LANG_CODEPAGE_TURKISH),
ID2P(LANG_CODEPAGE_LATIN_EXTENDED), ID2P(LANG_CODEPAGE_UTF8)),
ID2P(LANG_CODEPAGE_LATIN_EXTENDED), ID2P(LANG_CODEPAGE_CENTRAL_EUROPEAN),
ID2P(LANG_CODEPAGE_UTF8)),
#endif
OFFON_SETTING(0,warnon_erase_dynplaylist,
LANG_WARN_ERASEDYNPLAYLIST_MENU,false,