Problem in german resource files |
Post Reply |
Author | |
Alex G.
Groupie Joined: 22 December 2004 Location: Germany Status: Offline Points: 74 |
Post Options
Thanks(0)
Posted: 24 February 2016 at 4:04pm |
Hello,
Our Ankhor GUI can be set to german or english. Therefore we're using the english and german .rc files to build a seperate (german) resource.dll. Do build a german dll, I'm using preprocessor defines like: _XTP_RESOURCE_LANGUAGE=de AFX_TARG_DEU to get the desired result. A real pain are the Resource_de.rc files from the various controls. For every new release, I have to modify these 11 files manually. ..\Xtreme ToolkitPro\Source\ShortcutBar\res\Resource_de.rc The problem: #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) needs to be changed into #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) I would really like to get this fixed !! BTW: XTP_IDS_SHORTCUT_NAVIGATIONPANE "?a?????? pe?????s??" must be fixed: XTP_IDS_SHORTCUT_NAVIGATIONPANE "Navigationsbereich" Thanks in advance, Alex // ShortcutBar resource file // // (c)1998-2016 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT OF CODEJOCK SOFTWARE. // // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A // SINGLE COMPUTER. // // CONTACT INFORMATION: // support@codejock.com // http://www.codejock.com // ///////////////////////////////////////////////////////////////////////////// #include "ShortcutBar/Resource.h" #include "ShortcutBar/res/Resource-Neutral.rc" #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) #ifdef _WIN32 LANGUAGE LANG_GERMAN, SUBLANG_GERMAN #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // String Table // STRINGTABLE DISCARDABLE BEGIN XTP_ID_SHORTCUT_SHOW_MORE "Weitere Schaltflächen anzeigen" XTP_ID_SHORTCUT_SHOW_FEWER "Weniger Schaltflächen anzeigen" XTP_IDS_SHORTCUT_CONFIGURE "Schaltflächen konfigurieren" XTP_IDS_SHORTCUT_NAVIGATIONPANE "?a?????? pe?????s??" END #endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |