Author: mkupfer
Date: Sat Apr 9 12:01:36 2011
New Revision: 51293
URL:
http://svn.reactos.org/svn/reactos?rev=51293&view=rev
Log:
Command Prompt with translated window title
- German translation added
- other languages need to be translated (.rc files prepared)
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/console.c
trunk/reactos/subsystems/win32/csrss/win32csr/lang/bg-BG.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/de-DE.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/el-GR.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/en-US.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/es-ES.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/fr-FR.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/id-ID.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/it-IT.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/ja-JP.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/no-NO.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/pl-PL.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/ru-RU.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/sk-SK.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/uk-UA.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-CN.rc
trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-TW.rc
trunk/reactos/subsystems/win32/csrss/win32csr/resource.h
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/console.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/console.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/console.c [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -73,12 +73,21 @@
SECURITY_ATTRIBUTES SecurityAttributes;
PCSRSS_SCREEN_BUFFER NewBuffer;
BOOL GuiMode;
+ WCHAR Title[255];
+ HINSTANCE hInst;
Console->Title.MaximumLength = Console->Title.Length = 0;
Console->Title.Buffer = NULL;
- //FIXME
- RtlCreateUnicodeString(&Console->Title, L"Command Prompt");
+ hInst = GetModuleHandleW(L"win32csr");
+ if (LoadStringW(hInst,IDS_COMMAND_PROMPT,Title,sizeof(Title)/sizeof(Title[0])))
+ {
+ RtlCreateUnicodeString(&Console->Title, Title);
+ }
+ else
+ {
+ RtlCreateUnicodeString(&Console->Title, L"Command Prompt");
+ }
Console->ReferenceCount = 0;
Console->LineBuffer = NULL;
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/bg-BG.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -59,4 +59,6 @@
IDS_SCROLLPAGE_DOWN "Äîëíà ñòðàíèöà"
IDS_SCROLLUP "Ïðåëèñòâàíå íàãîðå"
IDS_SCROLLDOWN "Ïðåëèñòâàíå íàäîëó"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/de-DE.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Seite nach unten"
IDS_SCROLLUP "Nach oben scrollen"
IDS_SCROLLDOWN "Nach unten scrollen"
+
+ IDS_COMMAND_PROMPT "Eingabeaufforderung"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/el-GR.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Åðüìåíç óåëßäá"
IDS_SCROLLUP "Êýëéóç ðÜíù"
IDS_SCROLLDOWN "Êýëéóç êÜôù"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/en-US.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Page down"
IDS_SCROLLUP "Scroll up"
IDS_SCROLLDOWN "Scroll down"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/es-ES.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -58,4 +58,6 @@
IDS_SCROLLPAGE_DOWN "Bajar página"
IDS_SCROLLUP "Desplazar arriba"
IDS_SCROLLDOWN "Desplazar abajo"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/fr-FR.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -55,4 +55,6 @@
IDS_SCROLLPAGE_DOWN "Page suivante"
IDS_SCROLLUP "Défiler en haut"
IDS_SCROLLDOWN "Défiler en bas"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/id-ID.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Halaman Turun"
IDS_SCROLLUP "Gulung Naik"
IDS_SCROLLDOWN "Gulung Turun"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/it-IT.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -62,4 +62,6 @@
IDS_SCROLLPAGE_DOWN "Pagina giù"
IDS_SCROLLUP "Scorri sù"
IDS_SCROLLDOWN "Scorri giù"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/ja-JP.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Page down"
IDS_SCROLLUP "ãÉXN["
IDS_SCROLLDOWN "ºÉXN["
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/no-NO.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -44,4 +44,6 @@
IDS_SCROLLPAGE_DOWN "Side ned"
IDS_SCROLLUP "Rull opp"
IDS_SCROLLDOWN "Rull ned"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/pl-PL.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -58,4 +58,6 @@
IDS_SCROLLPAGE_DOWN "Nastêpna strona"
IDS_SCROLLUP "Przewiñ do góry"
IDS_SCROLLDOWN "Przewiñ na dó³"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/ru-RU.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "Âíèç ñòðàíèöû"
IDS_SCROLLUP "Ïðîêðóòèòü ââåðõ"
IDS_SCROLLDOWN "Scroll Down"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/sk-SK.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -57,4 +57,6 @@
IDS_SCROLLPAGE_DOWN "O stránku niie"
IDS_SCROLLUP "Rolova nahor"
IDS_SCROLLDOWN "Rolova nadol"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/uk-UA.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -61,4 +61,6 @@
IDS_SCROLLPAGE_DOWN "Íàñòóïíà ñòîð³íêà"
IDS_SCROLLUP "Ïðîêðóòèòè äîãîðè"
IDS_SCROLLDOWN "Ïðîêðóòèòè äîíèçó"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-CN.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "ÏÂÒ»Ò³"
IDS_SCROLLUP "ÏòÉϹö¶¯"
IDS_SCROLLDOWN "ÏòϹö¶¯"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-TW.rc [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/lang/zh-TW.rc [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -53,4 +53,6 @@
IDS_SCROLLPAGE_DOWN "¤U¤@¶"
IDS_SCROLLUP "¦V¤Wºu°Ê"
IDS_SCROLLDOWN "¦V¤Uºu°Ê"
+
+ IDS_COMMAND_PROMPT "Command Prompt"
END
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/resource.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/resource.h [iso-8859-1] Sat Apr 9
12:01:36 2011
@@ -48,4 +48,6 @@
#define IDS_SCROLLUP 309
#define IDS_SCROLLDOWN 310
+#define IDS_COMMAND_PROMPT 500
+
/* EOF */