Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Modification of List Styles shows a wrong string the undo menu | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | eric.savary | ||||||
Component: | ui | Assignee: | eric.savary | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | chengxiuzhi, issues, liujiaxiang, liuyu | ||||||
Version: | 680m238 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | |||||||||
Issue Blocks: | 72764 | ||||||||
Attachments: |
|
Description
eric.savary
2007-12-13 15:42:58 UTC
Created attachment 51601 [details]
patchfile
liuy->ama: Please have a look at the patch, I don't know how to modify the localize.sdf file, so I have not added other languages source of the STR_CHGNUM. ama->liuyu: You do not need to change the localize.sdf. It sufficient to insert English text into resources. The localization process will be started automatically by inserting your text into a database which will be translated later on. But two other remarks: You can simply replace UNDO_REPLACE_DUMMY_6 with your new STR_CHGNUM and leave the other dummies (UNDO_REPLACE_DUMMY_7 .. _9 ) unchanged. You can insert a placeholder ($1) into the string to be able to display the name of the style in the undo string. Created attachment 51620 [details]
patch file
liuy->ama: Please have a look at the new patch file. ama->liuyu: There are some minor things like use of "22" instead of UNDO_INSNUM and a virtual method declared as inline. But nevertheless I will integrate your patch with a few changes in one of our next CWS. Thank you for your patch! Fixed in CWS sw30bf02 undo.hrc undo.src undobj.hxx swundo.hxx unnum.cxx docnum.cxx I've reworked the fix a little bit to avoid resource changes. Undo display: "Change style: <NameOfStyle>" Fixed in CWS sw30bf02. Ready for QA Verified in cws sw30bf02 Verified in DEV300_m40 .deb version - closing - Sophie |