韩冰 发表于 2005-1-26 19:26

Borland C++Builder .RES 中文化

<P>BC++Builder professional 以上版本的使用者可以依下述步骤自行将
部份重要的 .RES String 中文化. 下述修改部份可修正 MessageDlg,
TBitBtn 及 TDBGrid Component 之英文讯息.</P>
<P>1. 备份  \Program Files\Borland\CBuilder\Source\VCL 下的
   CONSTS.RC 及 DBCONSTS.RC.</P>
<P>2. 以 Text Editor 修正下述内容:
   CONSTS.RC 部份:</P>
<P>   SOKButton, "确认"
   SCancelButton, "取消"
   SYesButton, "是 (&amp;Y)"
   SNoButton, "否 (&amp;N)"
   SHelpButton, "求助 (&amp;H)"
   SCloseButton, "关闭 (&amp;C)"
   SIgnoreButton, "忽略 (&amp;I)"
   SRetryButton, "重试 (&amp;R)"
   SAbortButton, "放弃"
   SAllButton, "全部 (&amp;A)"
       .
       .
       .  
   SMsgDlgWarning, "警告"
   SMsgDlgError, "错误"
   SMsgDlgInformation, "资讯"
   SMsgDlgConfirm, "确认"
   SMsgDlgYes, "是 (&amp;Y)"
   SMsgDlgNo, "否 (&amp;N)"
   SMsgDlgOK, "确认"
   SMsgDlgCancel, "取消"
   SMsgDlgHelp, "求助 (&amp;H)"
   SMsgDlgHelpNone, "没有线上辅助说明"
   SMsgDlgHelpHelp, "求助"
   SMsgDlgAbort, "放弃 (&amp;A)"
   SMsgDlgRetry, "重试 (&amp;R)"
   SMsgDlgIgnore, "忽略 (&amp;I)"
   SMsgDlgAll, "全部 (&amp;A)"</P>
<P>   DBCONSTS.RC 部份:
       .
       .
   SDeleteRecordQuestion, "删除资料?"
   SDeleteMultipleRecordsQuestion, "删除全部选取之资料?"
       .
       .</P>
<P>3. 利用 \Program Files\Borland\CBuilder\Bin 下的 Resource Compiler
   编译这两个 Resource File :
   BRC32 -m  \Program Files\Borland\CBuilder\Source\VCL\CONSTS.RC
   BRC32 -m  \Program Files\Borland\CBuilder\Source\VCL\DBCONSTS.RC</P>
<P>4. 备份 \Program Files\Borland\CBuilder\Lib\OBJ\ 下的
   CONSTS.RES 及 DBCONSTS.RES</P>
<P>5. 复制 \Program Files\Borland\CBuilder\Source\VCL\
   下新的 CONSTS.RES 及 DBCONSTS.RES 至
   \Program Files\Borland\CBuilder\Lib\OBJ
6. 启动 Borland C++Builder 1.0, Click IDE Menu -&gt;Component-&gt;Rebuild Library
   即可.</P>
<P>
</P>

毛冲届 发表于 2012-1-7 10:05

发表于 1970-1-1 08:00

发表于 1970-1-1 08:00

页: [1]
查看完整版本: Borland C++Builder .RES 中文化