diff --git a/dlls/kernel/locale_rc.rc b/dlls/kernel/locale_rc.rc index 86159969b64..89794c1e680 100644 --- a/dlls/kernel/locale_rc.rc +++ b/dlls/kernel/locale_rc.rc @@ -210,6 +210,10 @@ LANG_BEGIN (LANG_FRENCH, SUBLANG_FRENCH_LUXEMBOURG) /*0x140C*/ #include "nls/frl.nls" LANG_END +LANG_BEGIN (LANG_HEBREW, SUBLANG_DEFAULT) /*0x040D*/ +#include "nls/heb.nls" +LANG_END + LANG_BEGIN (LANG_HUNGARIAN, SUBLANG_DEFAULT) /*0x040e*/ #include "nls/hun.nls" LANG_END diff --git a/dlls/kernel/nls/heb.nls b/dlls/kernel/nls/heb.nls new file mode 100644 index 00000000000..0b72b0c287e --- /dev/null +++ b/dlls/kernel/nls/heb.nls @@ -0,0 +1,116 @@ +/* + * OLE2NLS library + * Hebrew (Israel) + */ + +LOCVAL(LOCALE_ILANGUAGE,"040d") +/* LOCVAL(LOCALE_SLANGUAGE,"") */ +LOCVAL(LOCALE_SENGLANGUAGE,"Hebrew (Israel)") +LOCVAL(LOCALE_SABBREVLANGNAME,"heb") +LOCVAL(LOCALE_SNATIVELANGNAME,"עברית") +LOCVAL(LOCALE_ICOUNTRY,"972") +LOCVAL(LOCALE_SCOUNTRY,"Israel") +LOCVAL(LOCALE_SENGCOUNTRY,"Israel") +LOCVAL(LOCALE_SABBREVCTRYNAME,"ISR") +LOCVAL(LOCALE_SNATIVECTRYNAME,"ישראל") +LOCVAL(LOCALE_IDEFAULTLANGUAGE,"040D") +LOCVAL(LOCALE_IDEFAULTCOUNTRY,"972") +LOCVAL(LOCALE_IDEFAULTCODEPAGE,"862") +LOCVAL(LOCALE_IDEFAULTANSICODEPAGE,"1255") +LOCVAL(LOCALE_SLIST,",") +LOCVAL(LOCALE_IMEASURE,"0") +LOCVAL(LOCALE_SDECIMAL,".") +LOCVAL(LOCALE_STHOUSAND,",") +LOCVAL(LOCALE_SGROUPING, "3;0") +LOCVAL(LOCALE_IDIGITS,"2") +/* LOCVAL(LOCALE_ILZERO,"1") */ +LOCVAL(LOCALE_INEGNUMBER,"1") +LOCVAL(LOCALE_SNATIVEDIGITS,"0123456789") +LOCVAL(LOCALE_SCURRENCY,"nis") +LOCVAL(LOCALE_SINTLSYMBOL,"ILS") +LOCVAL(LOCALE_SMONDECIMALSEP,".") +LOCVAL(LOCALE_SMONTHOUSANDSEP,",") +LOCVAL(LOCALE_SMONGROUPING,"3;0") +LOCVAL(LOCALE_ICURRDIGITS,"2") +/* LOCVAL(LOCALE_IINTLCURRDIGITS) */ +LOCVAL(LOCALE_ICURRENCY,"1") +LOCVAL(LOCALE_INEGCURR,"2") +LOCVAL(LOCALE_SDATE,"/") +LOCVAL(LOCALE_STIME,":") +LOCVAL(LOCALE_SSHORTDATE,"dd/MM/yyyy") +LOCVAL(LOCALE_SLONGDATE,"dddd, d. MMMM yyyy") +LOCVAL(LOCALE_STIMEFORMAT, "HH:mm:ss tt") +LOCVAL(LOCALE_IDATE,"1") +LOCVAL(LOCALE_ILDATE,"1") +LOCVAL(LOCALE_ITIME,"1") +/* LOCVAL(LOCALE_ITIMEMARKPOSN) */ +/* LOCVAL(LOCALE_ICENTURY) */ +LOCVAL(LOCALE_ITLZERO,"1") +/* LOCVAL(LOCALE_IDAYLZERO) */ +/* LOCVAL(LOCALE_IMONLZERO) */ +/* LOCVAL(LOCALE_S1159, "") */ +/* LOCVAL(LOCALE_S2359, "") */ +LOCVAL(LOCALE_ICALENDARTYPE, "1") +/* For Hebrew lunar calendar LOCVAL(LOCALE_ICALENDARTYPE, "8") */ +/* LOCVAL(LOCALE_IOPTIONALCALENDAR) */ +LOCVAL(LOCALE_IFIRSTDAYOFWEEK, "7") +/* LOCVAL(LOCALE_IFIRSTWEEKOFYEAR) */ + +LOCVAL(LOCALE_SDAYNAME1, "שני") +LOCVAL(LOCALE_SDAYNAME2, "שלישי") +LOCVAL(LOCALE_SDAYNAME3, "רביעי") +LOCVAL(LOCALE_SDAYNAME4, "חמישי") +LOCVAL(LOCALE_SDAYNAME5, "שישי") +LOCVAL(LOCALE_SDAYNAME6, "שבת") +LOCVAL(LOCALE_SDAYNAME7, "ראשון") + +LOCVAL(LOCALE_SABBREVDAYNAME1,"ב") +LOCVAL(LOCALE_SABBREVDAYNAME2,"ג") +LOCVAL(LOCALE_SABBREVDAYNAME3,"ד") +LOCVAL(LOCALE_SABBREVDAYNAME4,"ה") +LOCVAL(LOCALE_SABBREVDAYNAME5,"ו") +LOCVAL(LOCALE_SABBREVDAYNAME6,"ש") +LOCVAL(LOCALE_SABBREVDAYNAME7,"א") + +LOCVAL(LOCALE_SMONTHNAME1,"ינואר") +LOCVAL(LOCALE_SMONTHNAME2,"פברואר") +LOCVAL(LOCALE_SMONTHNAME3,"מרץ") +LOCVAL(LOCALE_SMONTHNAME4,"אפריל") +LOCVAL(LOCALE_SMONTHNAME5,"מאי") +LOCVAL(LOCALE_SMONTHNAME6,"יוני") +LOCVAL(LOCALE_SMONTHNAME7,"יולי") +LOCVAL(LOCALE_SMONTHNAME8,"אוגוסט") +LOCVAL(LOCALE_SMONTHNAME9,"ספטמבר") +LOCVAL(LOCALE_SMONTHNAME10,"אוקטובר") +LOCVAL(LOCALE_SMONTHNAME11,"נובמבר") +LOCVAL(LOCALE_SMONTHNAME12,"דצמבר") +LOCVAL(LOCALE_SMONTHNAME13,"") + +LOCVAL(LOCALE_SABBREVMONTHNAME1,"ינו") +LOCVAL(LOCALE_SABBREVMONTHNAME2,"פב") +LOCVAL(LOCALE_SABBREVMONTHNAME3,"מרץ") +LOCVAL(LOCALE_SABBREVMONTHNAME4,"אפר") +LOCVAL(LOCALE_SABBREVMONTHNAME5,"מאי") +LOCVAL(LOCALE_SABBREVMONTHNAME6,"יונ") +LOCVAL(LOCALE_SABBREVMONTHNAME7,"יול") +LOCVAL(LOCALE_SABBREVMONTHNAME8,"אוג") +LOCVAL(LOCALE_SABBREVMONTHNAME9,"ספ") +LOCVAL(LOCALE_SABBREVMONTHNAME10,"אוק") +LOCVAL(LOCALE_SABBREVMONTHNAME11,"נוב") +LOCVAL(LOCALE_SABBREVMONTHNAME12,"דצ") +LOCVAL(LOCALE_SABBREVMONTHNAME13,"") + +/* LOCVAL(LOCALE_SPOSITIVESIGN, "") */ +LOCVAL(LOCALE_SNEGATIVESIGN, "-") +/* LOCVAL(LOCALE_IPOSSIGNPOSN, "") */ +LOCVAL(LOCALE_INEGSIGNPOSN, "1") +LOCVAL(LOCALE_IPOSSYMPRECEDES, "1") +LOCVAL(LOCALE_IPOSSEPBYSPACE, "0") +LOCVAL(LOCALE_INEGSYMPRECEDES, "1") +LOCVAL(LOCALE_INEGSEPBYSPACE, "0") +/* LOCVAL(LOCALE_FONTSIGNATURE, "") */ + +LOCVAL(LOCALE_SISO639LANGNAME,"he") +LOCVAL(LOCALE_SISO3166CTRYNAME,"HE") + +/* gregoriansk kalender */ diff --git a/misc/options.c b/misc/options.c index 3966cd8c1a8..a7b135a5f6a 100644 --- a/misc/options.c +++ b/misc/options.c @@ -88,7 +88,7 @@ static const struct option option_table[] = "--help,-h Show this help message" }, { "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" - " Hr,Hu,It,Ja,Ko,Kw,Nl,No,Pl,Pt,Sk,Sv,Ru,Wa)" }, + " He,Hr,Hu,It,Ja,Ko,Kw,Nl,No,Pl,Pt,Sk,Sv,Ru,Wa)" }, { "managed", 0, 0, 0, do_managed, "--managed Allow the window manager to manage created windows" }, { "synchronous", 0, 0, 1, do_synchronous, diff --git a/tools/wrc/utils.c b/tools/wrc/utils.c index f6f2e564777..cccffea5403 100644 --- a/tools/wrc/utils.c +++ b/tools/wrc/utils.c @@ -349,6 +349,7 @@ static const struct lang2cp lang2cps[] = { LANG_GAELIC, SUBLANG_NEUTRAL, 1252 }, { LANG_GERMAN, SUBLANG_NEUTRAL, 1252 }, { LANG_GREEK, SUBLANG_NEUTRAL, 1253 }, + { LANG_HEBREW, SUBLANG_NEUTRAL, 1255 }, { LANG_HUNGARIAN, SUBLANG_NEUTRAL, 1250 }, { LANG_ICELANDIC, SUBLANG_NEUTRAL, 1252 }, { LANG_INDONESIAN, SUBLANG_NEUTRAL, 1252 },