Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3932f3a6
Commit
3932f3a6
authored
Feb 12, 2001
by
Rein Klazes
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for the Malayan language.
parent
d62dd82e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
90 additions
and
2 deletions
+90
-2
locale_rc.rc
dlls/kernel/locale_rc.rc
+4
-0
msl.nls
dlls/kernel/nls/msl.nls
+81
-0
options.c
misc/options.c
+1
-1
lang.c
tools/wmc/lang.c
+1
-0
language.c
tools/wmc/language.c
+2
-1
utils.c
tools/wrc/utils.c
+1
-0
No files found.
dlls/kernel/locale_rc.rc
View file @
3932f3a6
...
@@ -363,6 +363,10 @@ LANG_BEGIN (LANG_GAELIC, SUBLANG_GAELIC_MANX) /* 0x0c3c */
...
@@ -363,6 +363,10 @@ LANG_BEGIN (LANG_GAELIC, SUBLANG_GAELIC_MANX) /* 0x0c3c */
#include "nls/gdv.nls"
#include "nls/gdv.nls"
LANG_END
LANG_END
LANG_BEGIN (LANG_MALAY, SUBLANG_DEFAULT) /* 0x043e */
#include "nls/msl.nls"
LANG_END
LANG_BEGIN (LANG_ESPERANTO, SUBLANG_DEFAULT) /*0x048f*/
LANG_BEGIN (LANG_ESPERANTO, SUBLANG_DEFAULT) /*0x048f*/
#include "nls/esperanto.nls"
#include "nls/esperanto.nls"
LANG_END
LANG_END
...
...
dlls/kernel/nls/msl.nls
0 → 100644
View file @
3932f3a6
/*
* Malay (Malaysia)
*
*/
LOCVAL(LOCALE_ILANGUAGE, "043e")
LOCVAL(LOCALE_SLANGUAGE, "Malay (Malaysia)")
LOCVAL(LOCALE_SENGLANGUAGE, "Malay")
LOCVAL(LOCALE_SABBREVLANGNAME, "MSL")
LOCVAL(LOCALE_SNATIVELANGNAME, "Bahasa Malaysia")
LOCVAL(LOCALE_ICOUNTRY, "60")
LOCVAL(LOCALE_SCOUNTRY, "Malaysia")
LOCVAL(LOCALE_SENGCOUNTRY, "Malaysia")
LOCVAL(LOCALE_SABBREVCTRYNAME, "MYS")
LOCVAL(LOCALE_SNATIVECTRYNAME, "Malaysia")
LOCVAL(LOCALE_IDEFAULTLANGUAGE, "043e")
LOCVAL(LOCALE_IDEFAULTCOUNTRY, "60")
LOCVAL(LOCALE_SCURRENCY, "R")
LOCVAL(LOCALE_SENGCURRNAME, "Malaysian Ringgit")
LOCVAL(LOCALE_SNATIVECURRNAME, "Ringgit Malaysia")
LOCVAL(LOCALE_SINTLSYMBOL, "MYR")
LOCVAL(LOCALE_ICURRDIGITS, "0")
LOCVAL(LOCALE_IINTLCURRDIGITS, "0")
LOCVAL(LOCALE_ICURRENCY, "0")
LOCVAL(LOCALE_INEGCURR, "0")
LOCVAL(LOCALE_SDATE, "/")
LOCVAL(LOCALE_SSHORTDATE, "dd/MM/yyyy")
LOCVAL(LOCALE_SLONGDATE, "dd MMMM yyyy")
LOCVAL(LOCALE_STIMEFORMAT, "H:mm:ss")
LOCVAL(LOCALE_ITIMEMARKPOSN, "0")
LOCVAL(LOCALE_IDAYLZERO, "1")
LOCVAL(LOCALE_IMONLZERO, "1")
LOCVAL(LOCALE_S1159, "")
LOCVAL(LOCALE_S2359, "")
LOCVAL(LOCALE_IFIRSTWEEKOFYEAR, "0")
LOCVAL(LOCALE_SDAYNAME1, "Isnin")
LOCVAL(LOCALE_SDAYNAME2, "Selasa")
LOCVAL(LOCALE_SDAYNAME3, "Rabu")
LOCVAL(LOCALE_SDAYNAME4, "Khamis")
LOCVAL(LOCALE_SDAYNAME5, "Jumaat")
LOCVAL(LOCALE_SDAYNAME6, "Sabtu")
LOCVAL(LOCALE_SDAYNAME7, "Ahad")
LOCVAL(LOCALE_SABBREVDAYNAME1, "Isnin")
LOCVAL(LOCALE_SABBREVDAYNAME2, "Sel")
LOCVAL(LOCALE_SABBREVDAYNAME3, "Rabu")
LOCVAL(LOCALE_SABBREVDAYNAME4, "Khamis")
LOCVAL(LOCALE_SABBREVDAYNAME5, "Jumaat")
LOCVAL(LOCALE_SABBREVDAYNAME6, "Sabtu")
LOCVAL(LOCALE_SABBREVDAYNAME7, "Ahad")
LOCVAL(LOCALE_SMONTHNAME1, "Januari")
LOCVAL(LOCALE_SMONTHNAME2, "Februari")
LOCVAL(LOCALE_SMONTHNAME3, "Mac")
LOCVAL(LOCALE_SMONTHNAME4, "April")
LOCVAL(LOCALE_SMONTHNAME5, "Mei")
LOCVAL(LOCALE_SMONTHNAME6, "Jun")
LOCVAL(LOCALE_SMONTHNAME7, "Julai")
LOCVAL(LOCALE_SMONTHNAME8, "Ogos")
LOCVAL(LOCALE_SMONTHNAME9, "September")
LOCVAL(LOCALE_SMONTHNAME10, "Oktober")
LOCVAL(LOCALE_SMONTHNAME11, "November")
LOCVAL(LOCALE_SMONTHNAME12, "Disember")
LOCVAL(LOCALE_SABBREVMONTHNAME1, "Jan")
LOCVAL(LOCALE_SABBREVMONTHNAME2, "Feb")
LOCVAL(LOCALE_SABBREVMONTHNAME3, "Mac")
LOCVAL(LOCALE_SABBREVMONTHNAME4, "Apr")
LOCVAL(LOCALE_SABBREVMONTHNAME5, "Mei")
LOCVAL(LOCALE_SABBREVMONTHNAME6, "Jun")
LOCVAL(LOCALE_SABBREVMONTHNAME7, "Jul")
LOCVAL(LOCALE_SABBREVMONTHNAME8, "Ogos")
LOCVAL(LOCALE_SABBREVMONTHNAME9, "Sept")
LOCVAL(LOCALE_SABBREVMONTHNAME10, "Okt")
LOCVAL(LOCALE_SABBREVMONTHNAME11, "Nov")
LOCVAL(LOCALE_SABBREVMONTHNAME12, "Dis")
LOCVAL(LOCALE_SPOSITIVESIGN, "")
LOCVAL(LOCALE_IPOSSIGNPOSN, "3")
LOCVAL(LOCALE_INEGSIGNPOSN, "0")
LOCVAL(LOCALE_IPOSSEPBYSPACE, "0")
LOCVAL(LOCALE_INEGSEPBYSPACE, "0")
LOCVAL(LOCALE_SISO639LANGNAME, "ms")
LOCVAL(LOCALE_SISO3166CTRYNAME, "MY")
LOCVAL(LOCALE_IDEFAULTMACCODEPAGE, "10000")
misc/options.c
View file @
3932f3a6
...
@@ -86,7 +86,7 @@ static const struct option_descr option_table[] =
...
@@ -86,7 +86,7 @@ static const struct option_descr option_table[] =
"--help,-h Show this help message"
},
"--help,-h Show this help message"
},
{
"language"
,
0
,
1
,
1
,
do_language
,
{
"language"
,
0
,
1
,
1
,
do_language
,
"--language xx Set the language (one of Br,Ca,Cs,Cy,Da,De,En,Eo,Es,Fi,Fr,Ga,Gd,Gv,
\n
"
"--language xx Set the language (one of Br,Ca,Cs,Cy,Da,De,En,Eo,Es,Fi,Fr,Ga,Gd,Gv,
\n
"
" He,Hr,Hu,It,Ja,Ko,Kw,Nl,No,Pl,Pt,Sk,Sv,Ru,Wa)"
},
" He,Hr,Hu,It,Ja,Ko,Kw,
Ms,
Nl,No,Pl,Pt,Sk,Sv,Ru,Wa)"
},
{
"managed"
,
0
,
0
,
0
,
do_managed
,
{
"managed"
,
0
,
0
,
0
,
do_managed
,
"--managed Allow the window manager to manage created windows"
},
"--managed Allow the window manager to manage created windows"
},
{
"synchronous"
,
0
,
0
,
1
,
do_synchronous
,
{
"synchronous"
,
0
,
0
,
1
,
do_synchronous
,
...
...
tools/wmc/lang.c
View file @
3932f3a6
...
@@ -59,6 +59,7 @@ static const language_t languages[] = {
...
@@ -59,6 +59,7 @@ static const language_t languages[] = {
{
0x0436
,
850
,
1252
,
"Afrikaans"
,
"South Africa"
},
{
0x0436
,
850
,
1252
,
"Afrikaans"
,
"South Africa"
},
/* {0x0438, 852, 1252, "Faroese", "Faroe Islands"}, FIXME: Not sure about codepages */
/* {0x0438, 852, 1252, "Faroese", "Faroe Islands"}, FIXME: Not sure about codepages */
{
0x043C
,
437
,
1252
,
"Irish"
,
"Ireland"
},
{
0x043C
,
437
,
1252
,
"Irish"
,
"Ireland"
},
{
0x043E
,
850
,
1252
,
"Malay"
,
"Malaysia"
},
/* {0x048F, ?, ?, "Esperanto", "<none>"},*/
/* {0x048F, ?, ?, "Esperanto", "<none>"},*/
/* {0x0804, ?, ?, "Chinese (People's replublic of China)", People's republic of China"},*/
/* {0x0804, ?, ?, "Chinese (People's replublic of China)", People's republic of China"},*/
{
0x0807
,
850
,
1252
,
"German"
,
"Switzerland"
},
{
0x0807
,
850
,
1252
,
"German"
,
"Switzerland"
},
...
...
tools/wmc/language.c
View file @
3932f3a6
...
@@ -104,4 +104,5 @@
...
@@ -104,4 +104,5 @@
{
"Belgium"
,
0x0490
,
1252
},
{
"Belgium"
,
0x0490
,
1252
},
{
"Hong Kong"
,
0x0404
,
0
},
{
"Hong Kong"
,
0x0404
,
0
},
{
"People's republic of China"
,
0x0804
,
0
},
{
"People's republic of China"
,
0x0804
,
0
},
{
"Singapore"
,
0x0404
,
0
}
{
"Singapore"
,
0x0404
,
0
},
{
"Malaysia"
,
0x043e
,
1252
}
tools/wrc/utils.c
View file @
3932f3a6
...
@@ -357,6 +357,7 @@ static const struct lang2cp lang2cps[] =
...
@@ -357,6 +357,7 @@ static const struct lang2cp lang2cps[] =
{
LANG_LATVIAN
,
SUBLANG_NEUTRAL
,
1257
},
{
LANG_LATVIAN
,
SUBLANG_NEUTRAL
,
1257
},
{
LANG_LITHUANIAN
,
SUBLANG_NEUTRAL
,
1257
},
{
LANG_LITHUANIAN
,
SUBLANG_NEUTRAL
,
1257
},
{
LANG_MACEDONIAN
,
SUBLANG_NEUTRAL
,
1251
},
{
LANG_MACEDONIAN
,
SUBLANG_NEUTRAL
,
1251
},
{
LANG_MALAY
,
SUBLANG_NEUTRAL
,
1252
},
{
LANG_NEUTRAL
,
SUBLANG_NEUTRAL
,
1252
},
{
LANG_NEUTRAL
,
SUBLANG_NEUTRAL
,
1252
},
{
LANG_NORWEGIAN
,
SUBLANG_NEUTRAL
,
1252
},
{
LANG_NORWEGIAN
,
SUBLANG_NEUTRAL
,
1252
},
{
LANG_POLISH
,
SUBLANG_NEUTRAL
,
1250
},
{
LANG_POLISH
,
SUBLANG_NEUTRAL
,
1250
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment