From ca18dcf2d9276935e8b7044aaaa0c58868faf9e1 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sat, 27 Aug 2005 17:18:29 +0000 Subject: [PATCH] Minor changes and IT resource file. svn path=/trunk/; revision=17570 --- reactos/subsys/system/reactos/It.rc | 13 +++++++++++++ reactos/subsys/system/reactos/reactos.c | 4 ++-- reactos/subsys/system/reactos/reactos.rc | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 reactos/subsys/system/reactos/It.rc diff --git a/reactos/subsys/system/reactos/It.rc b/reactos/subsys/system/reactos/It.rc new file mode 100644 index 00000000000..f8788f8b440 --- /dev/null +++ b/reactos/subsys/system/reactos/It.rc @@ -0,0 +1,13 @@ +/* $Id$ */ + +LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL + +/* String Tables */ +STRINGTABLE DISCARDABLE +BEGIN + IDS_CAPTION "Installazione di ReactOS" + IDS_TEXT "Non è possibile installare direttamente ReactOS da questo CD!\n\n"\ + "Per installare ReactOS, riavvia il computer da questo CD." +END + +/* EOF */ diff --git a/reactos/subsys/system/reactos/reactos.c b/reactos/subsys/system/reactos/reactos.c index becd0d1b1dd..0a24f10da34 100644 --- a/reactos/subsys/system/reactos/reactos.c +++ b/reactos/subsys/system/reactos/reactos.c @@ -51,13 +51,13 @@ WinMain(HINSTANCE hInst, if (!LoadString(hInstance, IDS_CAPTION, szCaption, - 256)) + (sizeof szCaption / sizeof szCaption[0]))) return 0; if (!LoadString(hInstance, IDS_TEXT, szText, - 256)) + (sizeof szText / sizeof szText[0]))) return 0; MessageBox(NULL, diff --git a/reactos/subsys/system/reactos/reactos.rc b/reactos/subsys/system/reactos/reactos.rc index fbe92a7faf9..6c2790eac9e 100644 --- a/reactos/subsys/system/reactos/reactos.rc +++ b/reactos/subsys/system/reactos/reactos.rc @@ -20,5 +20,6 @@ IDI_MAIN ICON "res/reactos.ico" #include "Cz.rc" #include "De.rc" #include "Sv.rc" +#include "It.rc" /* EOF */