|
From: Andre R. <and...@us...> - 2006-02-08 19:13:56
|
Update of /cvsroot/frontierkernel/Frontier/Common/resources/Win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30611/Common/resources/Win32 Modified Files: WinLand.rc Log Message: Moved more strings from about.c, shell.r, winland.rc into versions.h, so it gets easier to keep these updated for different variants of the kernel. Also reorganized how the Xcode build extracts the version info from versions.h. Index: WinLand.rc =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/resources/Win32/WinLand.rc,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** WinLand.rc 5 Feb 2006 18:11:03 -0000 1.14 --- WinLand.rc 8 Feb 2006 19:13:44 -0000 1.15 *************** *** 839,854 **** VS_VERSION_INFO VERSIONINFO ! #ifdef PIKE ! #ifndef OPMLEDITOR ! FILEVERSION radio_major_version,radio_sub_version,radio_minor_version,radio_build_number ! PRODUCTVERSION radio_major_version,radio_sub_version,radio_minor_version,radio_build_number ! #else ! FILEVERSION opml_major_version,opml_sub_version,opml_minor_version,opml_build_number ! PRODUCTVERSION opml_major_version,opml_sub_version,opml_minor_version,opml_build_number ! #endif ! #else ! FILEVERSION frontier_major_version,frontier_sub_version,frontier_minor_version,frontier_build_number ! PRODUCTVERSION frontier_major_version,frontier_sub_version,frontier_minor_version,frontier_build_number ! #endif FILEFLAGSMASK 0x3fL #ifdef _DEBUG --- 839,844 ---- VS_VERSION_INFO VERSIONINFO ! FILEVERSION APP_MAJOR_VERSION,APP_SUB_VERSION,APP_MINOR_VERSION,APP_BUILD_NUMBER ! PRODUCTVERSION APP_MAJOR_VERSION,APP_SUB_VERSION,APP_MINOR_VERSION,APP_BUILD_NUMBER FILEFLAGSMASK 0x3fL #ifdef _DEBUG *************** *** 865,873 **** BLOCK "040904e4" BEGIN ! #ifndef OPMLEDITOR ! VALUE "CompanyName", "UserLand Software, Inc.\0" ! #else // OPMLEDITOR ! VALUE "CompanyName", "Scripting News, Inc.\0" ! #endif // OPMLEDITOR #ifdef PIKE #ifndef OPMLEDITOR --- 855,859 ---- BLOCK "040904e4" BEGIN ! VALUE "CompanyName", APP_COPYRIGHT_HOLDER "\0" #ifdef PIKE #ifndef OPMLEDITOR *************** *** 879,954 **** VALUE "FileDescription", "UserLand Frontier\0" #endif ! #ifdef fltrialsize ! #ifdef PIKE ! #ifndef OPMLEDITOR ! VALUE "FileVersion", "Trial " radio_version_string "\0" ! #else ! VALUE "FileVersion", "Trial " opml_version_string "\0" ! #endif ! #else ! VALUE "FileVersion", "Trial " frontier_version_string "\0" ! #endif ! #else ! #ifdef PIKE ! #ifndef OPMLEDITOR ! VALUE "FileVersion", radio_version_string "\0" ! #else ! VALUE "FileVersion", opml_version_string "\0" ! #endif ! #else ! VALUE "FileVersion", frontier_version_string "\0" ! #endif ! #endif ! #ifdef PIKE ! #ifndef OPMLEDITOR ! VALUE "InternalName", "Radio\0" /*7.0d8 PBS: name change*/ ! #else // OPMLEDITOR ! VALUE "InternalName", "OPML\0" /*2005-04-06 dluebbert: name change*/ ! #endif // OPMLEDITOR #else ! VALUE "InternalName", "Frontier\0" #endif // VALUE "Language", "English (United States)\0" #ifdef PIKE /*7.0d8 PBS: name change*/ #ifndef OPMLEDITOR - VALUE "LegalCopyright", "© 1992-2002 UserLand Software, Inc.\0" - VALUE "LegalTrademarks", "\042Userland\042 and \042Radio\042 is the trademarks of UserLand Software, Inc.\0" VALUE "OriginalFilename", "Radio.exe\0" VALUE "ProductName", "Radio UserLand\0" ! VALUE "Full Copyright", "© Copyright UserLand Software, Inc. All rights reserved. Permission and Use is Granted Subject to the UserLand End-User License Agreement.\0" #else // OPMLEDITOR - VALUE "LegalCopyright", "© 1992-2006 Scripting News, Inc.\0" - VALUE "LegalTrademarks", "\042OPML\042 is a trademarks of Scripting News, Inc.\0" VALUE "OriginalFilename", "opml.exe\0" VALUE "ProductName", "OPML\0" ! VALUE "Full Copyright", "© Copyright Scripting News, Inc. All rights reserved. Permission and Use is Granted Subject to the GNU General Public License.\0" #endif // OPMLEDITOR #else // !PIKE - VALUE "LegalCopyright", "© 1992-2002 UserLand Software, Inc.\0" - VALUE "LegalTrademarks", "\042UserLand\042 and \042Frontier\042 are the trademarks of UserLand Software, Inc.\0" VALUE "OriginalFilename", "Frontier.exe\0" VALUE "ProductName", "Frontier\0" ! VALUE "Full Copyright", "© Copyright UserLand Software, Inc. All rights reserved. Permission and Use is Granted Subject to the UserLand End-User License Agreement.\0" #endif // !PIKE #ifdef fltrialsize ! #ifdef PIKE ! #ifndef OPMLEDITOR ! VALUE "ProductVersion", "Trial " radio_version_string "\0" ! #else ! VALUE "ProductVersion", "Trial " opml_version_string "\0" ! #endif ! #else ! VALUE "ProductVersion", "Trial " frontier_version_string "\0" ! #endif #else ! #ifdef PIKE ! #ifndef OPMLEDITOR ! VALUE "ProductVersion", radio_version_string "\0" ! #else ! VALUE "ProductVersion", opml_version_string "\0" ! #endif ! #else ! VALUE "ProductVersion", frontier_version_string "\0" ! #endif #endif END --- 865,895 ---- VALUE "FileDescription", "UserLand Frontier\0" #endif ! #ifdef fltrialsize ! VALUE "FileVersion", "Trial " APP_VERSION_STRING "\0" #else ! VALUE "FileVersion", APP_VERSION_STRING "\0" #endif + VALUE "InternalName", APPNAME "\0" // VALUE "Language", "English (United States)\0" + VALUE "LegalCopyright", "© " APP_COPYRIGHT "\0" #ifdef PIKE /*7.0d8 PBS: name change*/ #ifndef OPMLEDITOR VALUE "OriginalFilename", "Radio.exe\0" VALUE "ProductName", "Radio UserLand\0" ! VALUE "Full Copyright", "© Copyright " APP_COPYRIGHT_HOLDER ". All rights reserved. Permission and Use is Granted Subject to the UserLand End-User License Agreement.\0" #else // OPMLEDITOR VALUE "OriginalFilename", "opml.exe\0" VALUE "ProductName", "OPML\0" ! VALUE "Full Copyright", "© Copyright " APP_COPYRIGHT_HOLDER ". Released under the GNU General Public License.\0" #endif // OPMLEDITOR #else // !PIKE VALUE "OriginalFilename", "Frontier.exe\0" VALUE "ProductName", "Frontier\0" ! VALUE "Full Copyright", "© Copyright " APP_COPYRIGHT_HOLDER ". Released under the GNU General Public License.\0" #endif // !PIKE #ifdef fltrialsize ! VALUE "ProductVersion", "Trial " APP_VERSION_STRING "\0" #else ! VALUE "ProductVersion", APP_VERSION_STRING "\0" #endif END *************** *** 1096,1108 **** 7 Defaults DISCARDABLE BEGIN "Open a file:\0" END ! #ifdef PIKE ! #ifndef OPMLEDITOR ! 8 Defaults DISCARDABLE BEGIN radio_version_string "\0" END ! #else ! 8 Defaults DISCARDABLE BEGIN opml_version_string "\0" END ! #endif ! #else ! 8 Defaults DISCARDABLE BEGIN frontier_version_string "\0" END ! #endif //PIKE 1 Interface DISCARDABLE BEGIN "Script\0" END --- 1037,1041 ---- 7 Defaults DISCARDABLE BEGIN "Open a file:\0" END ! 8 Defaults DISCARDABLE BEGIN APP_VERSION_STRING "\0" END 1 Interface DISCARDABLE BEGIN "Script\0" END |