Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 【多语言组件】变量$(Platform)和$(Config)并没有被替换成正确的值
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 【多语言组件】变量$(Platform)和$(Config)并没有被替换成正确的值
visual
新警察
UID 67698
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2012-10-15
Status Offline
#1
Post at 2012-10-15 18:51
Profile
|
Blog
|
P.M.
【多语言组件】变量$(Platform)和$(Config)并没有被替换成正确的值
双击TCnLangTranslator打开翻译管理器,生成,保存,语言条目保存在了$(Platform)\$(Config)\目录下,而不是目录Win32\Debug\下,变量$(Platform)和$(Config)并没有被替换成正确的值。
版本:cnvcl_20111105
Delphi XE2 Version 16.0.4504.48759 (XE2 Update 4 Hotfix 1)
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2012-10-16 13:59
Profile
|
Blog
|
P.M.
应该是bug。我查查。
visual
新警察
UID 67698
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2012-10-15
Status Offline
#3
Post at 2012-10-16 20:58
Profile
|
Blog
|
P.M.
谢刘老师,本来想自己查查,但不会调试CnTransEditor这个文件,这种设计期的单元该如何调试? 请给个思路。
另:
1. 双击TCnLangTranslator打开翻译管理器,选择一个语言条目,这时相对应的多语存储文件如果已经存在,是否应该默认载入会比较好?目前的情况是无论对应的文件是否存在,选择一个语言条目后都是空白内容。这个也是关于路径的bug?
2. TCnHashLangFileStorage控件,StorageMode设置为smByFile, 设置LanguagePath为lang\(或者.\lang\),然后 双击TCnLangTranslator打开翻译管理器,生成,保存,弹出错误“Unable to create directory"。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2012-10-18 10:43
Profile
|
Blog
|
P.M.
调试设计期包确实比较麻烦。如果要单步调试,那就得用IDE来调试另外一个IDE,和我们之前专家包的调试类似。我们网站上有一份专家调试说明书,可以类比参考一下。
当然除了单步调试外也有逐行打印调试信息的手段,这点可以用CnDebug.pas单元,配合CnDebugViewer来接收信息。
专家调试说明书:
http://cnpack.org/showdetail.php?id=243&lang=zh-cn
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2012-11-6 15:51
Profile
|
Blog
|
P.M.
此问题应已修正,烦请从SVN上获取最新代码试一试?
SVN使用说明见:
http://cnpack.org/showdetail.php?id=639
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 07:14
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009870 second(s), 9 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats