- Add Russian translation

- Move application title to resources

svn path=/trunk/; revision=32137
This commit is contained in:
Dmitry Chapyshev 2008-02-05 14:50:02 +00:00
parent 8a8e8285a9
commit fe7fff143c
8 changed files with 92 additions and 3 deletions

View file

@ -74,6 +74,7 @@ BEGIN
IDS_UNSUPPORTEDPSF, "Nicht unterstütztes PSF Font Format! Der Editor unterstützt nur Fonts im Format 8x8 ohne spezielle Modi."
IDS_DOCNAME, "Font %1!u!"
IDS_SAVEPROMPT, "Die Datei ""%1"" wurde geändert.\n\nMöchten Sie die Änderungen speichern?"
IDS_APPTITLE, "ReactOS VGA Font Editor"
IDS_TOOLTIP_NEW, "Neu"
IDS_TOOLTIP_OPEN, "Öffnen"

View file

@ -74,6 +74,7 @@ BEGIN
IDS_UNSUPPORTEDPSF, "Unsupported PSF font format! The editor only supports 8x8 fonts with no special modes."
IDS_DOCNAME, "Font %1!u!"
IDS_SAVEPROMPT, "The file ""%1"" was modified, but not saved.\n\nDo you want to save it?"
IDS_APPTITLE, "ReactOS VGA Font Editor"
IDS_TOOLTIP_NEW, "New"
IDS_TOOLTIP_OPEN, "Open"

View file

@ -0,0 +1,83 @@
/*
* PROJECT: ReactOS VGA Font Editor
* LICENSE: GNU General Public License Version 2.0 or any later version
* FILE: devutils/vgafontedit/lang/ru-RU.rc
* PURPOSE: Russian resource file
* COPYRIGHT: Copyright 2008 Colin Finck <mail@colinfinck.de>
* TRANSLATOR: Dmitry Chapyshev
*/
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDD_ABOUT DIALOGEX 10, 10, 130, 62
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Î ïðîãðàììå"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_MAIN, IDC_STATIC, 10, 10, 20, 20
LTEXT "Ðåäàêòîð VGA-øðèôòîâ ReactOS", IDC_STATIC, 37, 10, 93, 10
LTEXT "Àâòîðñêèå ïðàâà 2008 Êîëèí Ôèíê", IDC_STATIC, 37, 20, 93, 17
DEFPUSHBUTTON "OK", IDCANCEL, 40, 44, 55, 15
END
IDD_EDITGLYPH DIALOGEX 10, 10, 246, 197
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ðåäàêòèðîâàíèå ñèìâîëà"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_EDIT_GLYPH_TOOLBOX, TOOLBARCLASSNAMEA, CCS_NODIVIDER | CCS_NORESIZE, 5, 5, 24, 82
CONTROL "", IDC_EDIT_GLYPH_EDIT, EDIT_GLYPH_EDIT_CLASSW, 0, 39, 5, 160, 160
CONTROL "", IDC_EDIT_GLYPH_PREVIEW, EDIT_GLYPH_PREVIEW_CLASSW, 0, 209, 5, 32, 32
DEFPUSHBUTTON "OK", IDOK, 48, 177, 70, 14
PUSHBUTTON "Îòìåíà", IDCANCEL, 125, 177, 70, 14
END
IDM_MAINMENU MENU
BEGIN
POPUP "&Ôàéë"
BEGIN
MENUITEM "&Íîâûé\tCtrl+N", ID_FILE_NEW
MENUITEM "&Îòêðûòü...\tCtrl+O", ID_FILE_OPEN
MENUITEM "Çàêðûòü", ID_FILE_CLOSE
MENUITEM SEPARATOR
MENUITEM "Ñîõðàíèòü\tCtrl+S", ID_FILE_SAVE
MENUITEM "Ñîõðàíèòü êàê...", ID_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "Âûõîä\tAlt+F4", ID_FILE_EXIT
END
POPUP "&Îêíà"
BEGIN
MENUITEM "&Êàñêàäîì", ID_WINDOW_CASCADE
MENUITEM "&Ïî ãîðèçîíòàëè", ID_WINDOW_TILE_HORZ
MENUITEM "Ï&î âåðòèêàëè", ID_WINDOW_TILE_VERT
MENUITEM "&Óïîðÿäî÷èòü çíà÷êè", ID_WINDOW_ARRANGE
MENUITEM SEPARATOR
MENUITEM "&Ñëåäóþùåå\tCtrl+F6", ID_WINDOW_NEXT
END
POPUP "&Ñïðàâêà"
BEGIN
MENUITEM "&Î ïðîãðàììå...", ID_HELP_ABOUT
END
END
STRINGTABLE
BEGIN
IDS_OPENFILTER, "Âñå ïîääåðæèâàåìûå ôîðìàòû (*.bin,*.psf)|*.bin;*.psf|Äâîè÷íûå ôàéëû øðèôòîâ (*.bin)|*.bin|Ýêðàííûå øðèôòû PC âåðñèè 1 (*.psf)|*.psf|"
IDS_SAVEFILTER, "Äâîè÷íûå ôàéëû øðèôòîâ (*.bin)|*.bin|"
IDS_OPENERROR, "Îøèáêà îòêðûòèÿ ôàéëà! (Îøèáêà íîìåð %1!u!)"
IDS_READERROR, "Îøèáêà ÷òåíèÿ ôàéëà! (Îøèáêà íîìåð %1!u!)"
IDS_WRITEERROR, "Îøèáêà çàïèñè ôàéëà! (Îøèáêà íîìåð %1!u!)"
IDS_UNSUPPORTEDFORMAT, "Íåïîääåðæèâàåìûé ôîðìàò ôàéëà!"
IDS_UNSUPPORTEDPSF, "Íåïîääåðæèâàåìûé PSF-ôîðìàò øðèôòà! Ðåäàêòîð ïîääåðæèâàåò òîëüêî øðèôòû ðàçìåðîì 8x8 áåç ñïåöèàëüíûõ ðåæèìîâ."
IDS_DOCNAME, "Øðèôò %1!u!"
IDS_SAVEPROMPT, "Ôàéë ""%1"" áûë èçìåíåí è èçìåíåíèÿ íå áûëè ñîõðàíåíû.\n\nÑîõðàíèòü?"
IDS_APPTITLE, "Ðåäàêòîð VGA-øðèôòîâ ReactOS"
IDS_TOOLTIP_NEW, "Íîâûé"
IDS_TOOLTIP_OPEN, "Îòêðûòü"
IDS_TOOLTIP_SAVE, "Ñîõðàíèòü"
IDS_TOOLTIP_EDIT_GLYPH, "Ðåäàêòèðîâàòü ñèìâîë"
END

View file

@ -8,8 +8,6 @@
#include "precomp.h"
const WCHAR szAppName[] = L"ReactOS VGA Font Editor";
HINSTANCE hInstance;
HANDLE hProcessHeap;

View file

@ -31,3 +31,4 @@ IDI_DOC ICON "res/doc.ico"
// Languages
#include "lang/en-US.rc"
#include "lang/de-DE.rc"
#include "lang/ru-RU.rc"

View file

@ -433,6 +433,8 @@ CreateMainWindow(IN INT nCmdShow, OUT PMAIN_WND_INFO* Info)
{
(*Info)->nCmdShow = nCmdShow;
LoadString(hInstance, IDS_APPTITLE, szAppName, MAX_STRING);
hMainWnd = CreateWindowExW(0,
szMainWndClass,
szAppName,

View file

@ -15,6 +15,8 @@
#include "resource.h"
#include "customwndclasses.h"
#define MAX_STRING 128
// Forward declarations
typedef struct _FONT_WND_INFO FONT_WND_INFO, *PFONT_WND_INFO;
@ -137,7 +139,7 @@ BOOL InitFontWndClass(VOID);
VOID UnInitFontWndClass(VOID);
// main.c
extern const WCHAR szAppName[];
WCHAR szAppName[MAX_STRING];
extern HINSTANCE hInstance;
extern HANDLE hProcessHeap;

View file

@ -64,6 +64,7 @@
#define IDS_UNSUPPORTEDPSF 10007
#define IDS_DOCNAME 10008
#define IDS_SAVEPROMPT 10009
#define IDS_APPTITLE 10010
#define IDS_TOOLTIP_NEW 11001
#define IDS_TOOLTIP_OPEN 11002