Hi all, Is there anyone can tell me what is the use of the .srs files? And what relations among the following files, .srs, .res, .sdf, .src, .sdi, .hrc and .xml? The attachment is the added codes. Thanks a lot.
Weizhao wrote: > I have added a new menu item, it can display correctly in English > version, but in Chinese version, it still display English but not Chinese. Pavel wrote: >You do build sfx2 with WITH_LANG="en-US zh-CN", right? No, I just build sfx2 with WITH_LANG="zh-CN". >Is the new string in some file in local output directory? E.g. in >unxlngi6.pro/srs/dialog.srs? There are not any new strings in the .srs files. :( Regards, Weizhao ---------------------------------------------------- Beijing Redflag CH2000 Software Co., Ltd. Address: 北京亦庄经济技术开发区地盛北街1号A区3号楼 Postalcode: 100176 Tel: 8610-58022828-626 Email: [EMAIL PROTECTED]
The files and added codes that I modified are as follows: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ svx\inc\globlmn_tmpl.hrc /*added begin*/ \ #define ITEM_FILE_WEBHTML \ Identifier = SID_WEBHTML ; \ Command = ".uno:WebHtml" ; \ HelpID = SID_WEBHTML ; \ Text [ de ] = "Web ~Html..." ; \ Text [ en-US ] = "Web ~Html..."; \ Text [ x-comment ] = "Preview Web ~Html..." ; \ /*added end*/ \ -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ sfx2\inc\sfxsids.hrc #define SID_MAIL_SEND (SID_SFX_START + 364) #define SID_WEBHTML (SID_SFX_START + 393)/*added*/ #define SID_MAIL_FILE (SID_SFX_START + 365) -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ sfx2\sdi\sfx.sdi /*add begin*/ SfxObjectItem WebHtml SID_WEBHTML () [ /* flags: */ AutoUpdate = FALSE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = TRUE, ReadOnlyDoc = TRUE, Toggle = FALSE, Container = TRUE, RecordAbsolute = FALSE, RecordPerSet; Asynchron; /* config: */ AccelConfig = TRUE, MenuConfig = TRUE, StatusBarConfig = FALSE, ToolBoxConfig = TRUE, GroupId = GID_FORMAT; ] /*added end*/ -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ sw\uiconfig\swriter\menubar\menubar.xml <menu:menuitem menu:id=".uno:Reload"/> <menu:menuitem menu:id=".uno:VersionDialog"/> <!-- added begin --> <menu:menuitem menu:id=".uno:WebHtml" /> <!--added end --> <menu:menuseparator/> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ sfx2/sdi/localize.sdf ## added begin sfx2 sdi\sfxslots.src 0 sfxslotinf SID_WEBHTML 0 en-US Web~Html... 2002-02-02 02:02:02 sfx2 sdi\sfxslots.src 0 sfxslotinf SID_WEBHTML 0 zh-CN Webä¯ÀÀÆ÷(~H)... 2002-02-02 02:02:02 ##added end -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ svx/inc/localize.sdf ## added begin svx inc\globlmn.hrc 0 #define ITEM_FILE_WEBHTML SID_WEBHTML !defined _GLOBLMN_HRC 0 en-US Web~Html... svx inc\globlmn.hrc 0 #define ITEM_FILE_WEBHTML SID_WEBHTML !defined _GLOBLMN_HRC 0 zh-CN Webä¯ÀÀÆ÷(~H)... ## added end -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]