From 2335c2083a8e8f7e62121c9a343fe6c6ec0c0478 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Oct 2017 15:25:44 +0300 Subject: unified version resource with explicitly stated language & code page --- plugins/Spamotron/res/Version.rc | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'plugins/Spamotron/res') diff --git a/plugins/Spamotron/res/Version.rc b/plugins/Spamotron/res/Version.rc index 5bfbab4754..fdeb14668c 100644 --- a/plugins/Spamotron/res/Version.rc +++ b/plugins/Spamotron/res/Version.rc @@ -4,9 +4,21 @@ #error this file is not editable by Microsoft Visual C++ #endif //APSTUDIO_INVOKED -#include "afxres.h" #include "..\src\version.h" +#define APSTUDIO_READONLY_SYMBOLS +#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 + VS_VERSION_INFO VERSIONINFO FILEVERSION __FILEVERSION_STRING PRODUCTVERSION __FILEVERSION_STRING @@ -17,14 +29,16 @@ VS_VERSION_INFO VERSIONINFO FILEFLAGS 0x0L #endif FILEOS 0x4L - FILETYPE 0x0L + FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "000004b0" BEGIN + VALUE "Author", __AUTHOR VALUE "FileDescription", __DESCRIPTION + VALUE "FileVersion", __VERSION_STRING VALUE "InternalName", __PLUGIN_NAME VALUE "LegalCopyright", __COPYRIGHT VALUE "OriginalFilename", __FILENAME @@ -36,3 +50,6 @@ BEGIN VALUE "Translation", 0x0, 1200 END END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3