Author: dchapyshev
Date: Tue Feb 5 17:50:02 2008
New Revision: 32137
URL:
http://svn.reactos.org/svn/reactos?rev=32137&view=rev
Log:
- Add Russian translation
- Move application title to resources
Added:
trunk/rosapps/devutils/vgafontedit/lang/ru-RU.rc (with props)
Modified:
trunk/rosapps/devutils/vgafontedit/lang/de-DE.rc
trunk/rosapps/devutils/vgafontedit/lang/en-US.rc
trunk/rosapps/devutils/vgafontedit/main.c
trunk/rosapps/devutils/vgafontedit/main.rc
trunk/rosapps/devutils/vgafontedit/mainwnd.c
trunk/rosapps/devutils/vgafontedit/precomp.h
trunk/rosapps/devutils/vgafontedit/resource.h
Modified: trunk/rosapps/devutils/vgafontedit/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/lang/…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/lang/de-DE.rc (original)
+++ trunk/rosapps/devutils/vgafontedit/lang/de-DE.rc Tue Feb 5 17:50:02 2008
@@ -74,6 +74,7 @@
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"
Modified: trunk/rosapps/devutils/vgafontedit/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/lang/…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/lang/en-US.rc (original)
+++ trunk/rosapps/devutils/vgafontedit/lang/en-US.rc Tue Feb 5 17:50:02 2008
@@ -74,6 +74,7 @@
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"
Added: trunk/rosapps/devutils/vgafontedit/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/lang/…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/lang/ru-RU.rc (added)
+++ trunk/rosapps/devutils/vgafontedit/lang/ru-RU.rc Tue Feb 5 17:50:02 2008
@@ -1,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(a)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
Propchange: trunk/rosapps/devutils/vgafontedit/lang/ru-RU.rc
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rosapps/devutils/vgafontedit/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/main.…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/main.c (original)
+++ trunk/rosapps/devutils/vgafontedit/main.c Tue Feb 5 17:50:02 2008
@@ -7,8 +7,6 @@
*/
#include "precomp.h"
-
-const WCHAR szAppName[] = L"ReactOS VGA Font Editor";
HINSTANCE hInstance;
HANDLE hProcessHeap;
Modified: trunk/rosapps/devutils/vgafontedit/main.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/main.…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/main.rc (original)
+++ trunk/rosapps/devutils/vgafontedit/main.rc Tue Feb 5 17:50:02 2008
@@ -31,3 +31,4 @@
// Languages
#include "lang/en-US.rc"
#include "lang/de-DE.rc"
+#include "lang/ru-RU.rc"
Modified: trunk/rosapps/devutils/vgafontedit/mainwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/mainw…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/mainwnd.c (original)
+++ trunk/rosapps/devutils/vgafontedit/mainwnd.c Tue Feb 5 17:50:02 2008
@@ -433,6 +433,8 @@
{
(*Info)->nCmdShow = nCmdShow;
+ LoadString(hInstance, IDS_APPTITLE, szAppName, MAX_STRING);
+
hMainWnd = CreateWindowExW(0,
szMainWndClass,
szAppName,
Modified: trunk/rosapps/devutils/vgafontedit/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/preco…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/precomp.h (original)
+++ trunk/rosapps/devutils/vgafontedit/precomp.h Tue Feb 5 17:50:02 2008
@@ -14,6 +14,8 @@
#include <commctrl.h>
#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 @@
VOID UnInitFontWndClass(VOID);
// main.c
-extern const WCHAR szAppName[];
+WCHAR szAppName[MAX_STRING];
extern HINSTANCE hInstance;
extern HANDLE hProcessHeap;
Modified: trunk/rosapps/devutils/vgafontedit/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/vgafontedit/resou…
==============================================================================
--- trunk/rosapps/devutils/vgafontedit/resource.h (original)
+++ trunk/rosapps/devutils/vgafontedit/resource.h Tue Feb 5 17:50:02 2008
@@ -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