From 58e12f3874bf2d04a6f2f0b6d1acbade660bd88b Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sun, 2 Dec 2007 14:39:07 +0000 Subject: [PATCH] Remove all that VS stuff from the butterflies screensaver resource files, create a "rsrc.rc" file and add common resources only one time. Also remove an unused string. This makes the screensaver much smaller and easier to translate. svn path=/trunk/; revision=30959 --- .../screensavers/butterflies/butterflies.rc | 12 +- .../screensavers/butterflies/lang/bg-BG.rc | 119 +----------------- .../screensavers/butterflies/lang/de-DE.rc | 72 +---------- .../screensavers/butterflies/lang/en-US.rc | 119 +----------------- .../screensavers/butterflies/lang/es-ES.rc | 119 +----------------- .../screensavers/butterflies/lang/fr-FR.rc | 119 +----------------- .../screensavers/butterflies/lang/uk-UA.rc | 119 +----------------- .../screensavers/butterflies/resource.h | 1 + .../screensavers/butterflies/rsrc.rc | 6 + 9 files changed, 24 insertions(+), 662 deletions(-) create mode 100644 rosapps/applications/screensavers/butterflies/rsrc.rc diff --git a/rosapps/applications/screensavers/butterflies/butterflies.rc b/rosapps/applications/screensavers/butterflies/butterflies.rc index 3b25b53e7ab..d9dff02afb2 100644 --- a/rosapps/applications/screensavers/butterflies/butterflies.rc +++ b/rosapps/applications/screensavers/butterflies/butterflies.rc @@ -7,12 +7,10 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL #define REACTOS_STR_FILE_DESCRIPTION "Butterflies ScreenSaver\0" #define REACTOS_STR_INTERNAL_NAME "butterflies\0" #define REACTOS_STR_ORIGINAL_FILENAME "butterflies.scr\0" - #include -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/uk-UA.rc" +IDB_BUTTERFLY1 BITMAP "res/butterfly1.bmp" +IDB_BUTTERFLY2 BITMAP "res/butterfly2.bmp" +IDB_BUTTERFLY3 BITMAP "res/butterfly3.bmp" + +#include "rsrc.rc" diff --git a/rosapps/applications/screensavers/butterflies/lang/bg-BG.rc b/rosapps/applications/screensavers/butterflies/lang/bg-BG.rc index 78444afaacd..4ee1f982c23 100644 --- a/rosapps/applications/screensavers/butterflies/lang/bg-BG.rc +++ b/rosapps/applications/screensavers/butterflies/lang/bg-BG.rc @@ -1,35 +1,9 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Bulgarian (BG) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Екранен предпазител с пеперуди" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "Добре",IDOK,7,35,50,14 PUSHBUTTON "Отказ",IDCANCEL,61,35,50,14 @@ -41,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "За" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "Добре",IDOK,48,58,56,14 CTEXT "Пеперуден екранен предпазител",IDC_STATIC,7,7,135,9 @@ -53,92 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Пеперуди" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/rosapps/applications/screensavers/butterflies/lang/de-DE.rc b/rosapps/applications/screensavers/butterflies/lang/de-DE.rc index 0f0e2f00fb8..50a7dfd0f04 100644 --- a/rosapps/applications/screensavers/butterflies/lang/de-DE.rc +++ b/rosapps/applications/screensavers/butterflies/lang/de-DE.rc @@ -1,18 +1,9 @@ -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -#include "afxres.h" -#undef APSTUDIO_READONLY_SYMBOLS -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL -#pragma code_page(1252) -#endif IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Schmetterlinge Einstellungen" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,7,35,50,14 PUSHBUTTON "Abbrechen",IDCANCEL,61,35,50,14 @@ -24,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Ьber" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,48,58,56,14 CTEXT "Schmetterlinge",IDC_STATIC,7,7,135,9 @@ -36,62 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif - - -#ifdef APSTUDIO_INVOKED - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Schmetterlinge" -END - -#endif - -#ifndef APSTUDIO_INVOKED - -#endif diff --git a/rosapps/applications/screensavers/butterflies/lang/en-US.rc b/rosapps/applications/screensavers/butterflies/lang/en-US.rc index 4576a165b6d..d022864a834 100644 --- a/rosapps/applications/screensavers/butterflies/lang/en-US.rc +++ b/rosapps/applications/screensavers/butterflies/lang/en-US.rc @@ -1,35 +1,9 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Butterflies ScreenSaver Settings" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,7,35,50,14 PUSHBUTTON "Cancel",IDCANCEL,61,35,50,14 @@ -41,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,48,58,56,14 CTEXT "Butterflies ScreenSaver",IDC_STATIC,7,7,135,9 @@ -53,92 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Butterflies" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/rosapps/applications/screensavers/butterflies/lang/es-ES.rc b/rosapps/applications/screensavers/butterflies/lang/es-ES.rc index 402074e88d5..c7fad609102 100644 --- a/rosapps/applications/screensavers/butterflies/lang/es-ES.rc +++ b/rosapps/applications/screensavers/butterflies/lang/es-ES.rc @@ -1,35 +1,9 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Configuraciуn del Salvapantallas de Mariposas" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "Aceptar",IDOK,7,35,50,14 PUSHBUTTON "Cancelar",IDCANCEL,61,35,50,14 @@ -41,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "Aceptar",IDOK,48,58,56,14 CTEXT "Salvapantallas de Mariposas",IDC_STATIC,7,7,135,9 @@ -53,92 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Mariposas" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/rosapps/applications/screensavers/butterflies/lang/fr-FR.rc b/rosapps/applications/screensavers/butterflies/lang/fr-FR.rc index ced5f67a4b5..827e61b1466 100644 --- a/rosapps/applications/screensavers/butterflies/lang/fr-FR.rc +++ b/rosapps/applications/screensavers/butterflies/lang/fr-FR.rc @@ -1,35 +1,9 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// French resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Configuration de l'йcran de veille de papillons" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,7,35,50,14 PUSHBUTTON "Annuler",IDCANCEL,61,35,50,14 @@ -41,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "А propos de" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,48,58,56,14 CTEXT "Йcran de veille de papillons",IDC_STATIC,7,7,135,9 @@ -53,92 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Papillons" -END - -#endif // French resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/rosapps/applications/screensavers/butterflies/lang/uk-UA.rc b/rosapps/applications/screensavers/butterflies/lang/uk-UA.rc index aedf76fb2c1..f0a10fbb426 100644 --- a/rosapps/applications/screensavers/butterflies/lang/uk-UA.rc +++ b/rosapps/applications/screensavers/butterflies/lang/uk-UA.rc @@ -1,35 +1,9 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Ukraianian resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// IDD_DLG_SCREEN DIALOG DISCARDABLE 0, 0, 172, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Butterflies ScreenSaver Settings" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,7,35,50,14 PUSHBUTTON "Скасувати",IDCANCEL,61,35,50,14 @@ -41,7 +15,7 @@ END IDD_DLG_ABOUT DIALOG DISCARDABLE 0, 0, 149, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About" -FONT 8, "MS Sans Serif" +FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,48,58,56,14 CTEXT "Заставка ""Butterflies""",IDC_STATIC,7,7,135,9 @@ -53,92 +27,3 @@ BEGIN CTEXT "http://www.thaputer.com",WEBPAGE2,7,47,135,8,SS_NOTIFY | NOT WS_GROUP END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DLG_SCREEN, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 50 - END - - IDD_DLG_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 142 - TOPMARGIN, 7 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BUTTERFLY1 BITMAP DISCARDABLE "res/butterfly1.bmp" -IDB_BUTTERFLY2 BITMAP DISCARDABLE "res/butterfly2.bmp" -IDB_BUTTERFLY3 BITMAP DISCARDABLE "res/butterfly3.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STR_DESCRIP "Butterflies" -END - -#endif // Ukraianian resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/rosapps/applications/screensavers/butterflies/resource.h b/rosapps/applications/screensavers/butterflies/resource.h index 0e51b99e7f1..d6688b029c9 100644 --- a/rosapps/applications/screensavers/butterflies/resource.h +++ b/rosapps/applications/screensavers/butterflies/resource.h @@ -1,3 +1,4 @@ +#define IDC_STATIC -1 #define IDS_STR_DESCRIP 1 #define IDABOUT 3 diff --git a/rosapps/applications/screensavers/butterflies/rsrc.rc b/rosapps/applications/screensavers/butterflies/rsrc.rc new file mode 100644 index 00000000000..134f5607744 --- /dev/null +++ b/rosapps/applications/screensavers/butterflies/rsrc.rc @@ -0,0 +1,6 @@ +#include "lang/bg-BG.rc" +#include "lang/de-DE.rc" +#include "lang/en-US.rc" +#include "lang/es-ES.rc" +#include "lang/fr-FR.rc" +#include "lang/uk-UA.rc"