Commit 91d72b99 authored by Alexander Kanavin's avatar Alexander Kanavin Committed by Alexandre Julliard

Added support for Russian language.

parent a54084a0
...@@ -4,7 +4,7 @@ This file documents the necessary procedure for adding a new language ...@@ -4,7 +4,7 @@ This file documents the necessary procedure for adding a new language
to the list of languages that Wine can display system menus and forms to the list of languages that Wine can display system menus and forms
in. Currently at least the following languages are still missing: in. Currently at least the following languages are still missing:
Bulgarian, Chinese, Greek, Icelandic, Japanese, Romanian, Bulgarian, Chinese, Greek, Icelandic, Japanese, Romanian,
Russian, Croatian, Slovak, Turkish, and Slovanian. Croatian, Slovak, Turkish, and Slovanian.
To add a new language you need to be able to translate the relatively To add a new language you need to be able to translate the relatively
few texts, of course. You will need very little knowledge of few texts, of course. You will need very little knowledge of
......
...@@ -189,7 +189,7 @@ Start as an icon ...@@ -189,7 +189,7 @@ Start as an icon
.I -language xx .I -language xx
Set the language to Set the language to
.I xx .I xx
(one of En, Es, De, No, Fr, Fi, Da, Cz, Eo, It, Ko, Hu, Pl, Po, Sw, Ca) (one of En, Es, De, No, Fr, Fi, Da, Cz, Eo, It, Ko, Hu, Pl, Po, Sw, Ca, Ru)
.TP .TP
.I -managed .I -managed
Create each top-level window as a properly managed X window Create each top-level window as a properly managed X window
......
...@@ -32,7 +32,9 @@ typedef enum ...@@ -32,7 +32,9 @@ typedef enum
LANG_Pt, /* Portuguese */ LANG_Pt, /* Portuguese */
LANG_Sv, /* Swedish */ LANG_Sv, /* Swedish */
LANG_Ca, /* Catalan */ LANG_Ca, /* Catalan */
LANG_Nl /* Dutch */ LANG_Nl, /* Dutch */
LANG_Ru /* Russian */
} WINE_LANGUAGE; } WINE_LANGUAGE;
typedef struct typedef struct
......
...@@ -61,6 +61,7 @@ const WINE_LANGUAGE_DEF Languages[] = ...@@ -61,6 +61,7 @@ const WINE_LANGUAGE_DEF Languages[] =
{"Sv",0x041d}, /* LANG_Sv */ {"Sv",0x041d}, /* LANG_Sv */
{"Ca",0x0403}, /* LANG_Ca */ {"Ca",0x0403}, /* LANG_Ca */
{"Nl",0x0413}, /* LANG_Nl */ {"Nl",0x0413}, /* LANG_Nl */
{"Ru",0x0419}, /* LANG_Ru */
{NULL,0} {NULL,0}
}; };
...@@ -114,7 +115,7 @@ static char szUsage[] = ...@@ -114,7 +115,7 @@ static char szUsage[] =
" -help Show this help message\n" " -help Show this help message\n"
" -iconic Start as an icon\n" " -iconic Start as an icon\n"
" -language xx Set the language (one of Ca,Cs,Da,De,En,Eo,Es,Fi,Fr,Hu,It,\n" " -language xx Set the language (one of Ca,Cs,Da,De,En,Eo,Es,Fi,Fr,Hu,It,\n"
" Ko,Nl,No,Pl,Pt,Sv)\n" " Ko,Nl,No,Pl,Pt,Sv,Ru)\n"
" -managed Allow the window manager to manage created windows\n" " -managed Allow the window manager to manage created windows\n"
" -mode mode Start Wine in a particular mode (standard or enhanced)\n" " -mode mode Start Wine in a particular mode (standard or enhanced)\n"
" -name name Set the application name\n" " -name name Set the application name\n"
......
...@@ -236,6 +236,10 @@ LANG_BEGIN (LANG_THAI, SUBLANG_DEFAULT) /*0x41e*/ ...@@ -236,6 +236,10 @@ LANG_BEGIN (LANG_THAI, SUBLANG_DEFAULT) /*0x41e*/
#include "nls/tha.nls" #include "nls/tha.nls"
LANG_END LANG_END
LANG_BEGIN (LANG_RUSSIAN, SUBLANG_DEFAULT) /*0x419*/
#include "nls/rus.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
......
...@@ -24,6 +24,7 @@ RC_SRCS = \ ...@@ -24,6 +24,7 @@ RC_SRCS = \
sysres_No.rc \ sysres_No.rc \
sysres_Pl.rc \ sysres_Pl.rc \
sysres_Po.rc \ sysres_Po.rc \
sysres_Ru.rc \
sysres_Sw.rc sysres_Sw.rc
C_SRCS = sysres.c C_SRCS = sysres.c
......
...@@ -28,6 +28,7 @@ extern const wrc_resource32_t * const sysres_Po_ResTable[]; ...@@ -28,6 +28,7 @@ extern const wrc_resource32_t * const sysres_Po_ResTable[];
extern const wrc_resource32_t * const sysres_Sw_ResTable[]; extern const wrc_resource32_t * const sysres_Sw_ResTable[];
extern const wrc_resource32_t * const sysres_Ca_ResTable[]; extern const wrc_resource32_t * const sysres_Ca_ResTable[];
extern const wrc_resource32_t * const sysres_Nl_ResTable[]; extern const wrc_resource32_t * const sysres_Nl_ResTable[];
extern const wrc_resource32_t * const sysres_Ru_ResTable[];
static const wrc_resource32_t * const * SYSRES_Resources[] = static const wrc_resource32_t * const * SYSRES_Resources[] =
{ {
...@@ -47,7 +48,8 @@ static const wrc_resource32_t * const * SYSRES_Resources[] = ...@@ -47,7 +48,8 @@ static const wrc_resource32_t * const * SYSRES_Resources[] =
sysres_Po_ResTable, /* LANG_Po */ sysres_Po_ResTable, /* LANG_Po */
sysres_Sw_ResTable, /* LANG_Sw */ sysres_Sw_ResTable, /* LANG_Sw */
sysres_Ca_ResTable, /* LANG_Ca */ sysres_Ca_ResTable, /* LANG_Ca */
sysres_Nl_ResTable /* LANG_Nl */ sysres_Nl_ResTable, /* LANG_Nl */
sysres_Ru_ResTable /* LANG_Ru */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment