https://bugs.documentfoundation.org/show_bug.cgi?id=167487

--- Comment #3 from Jim Raykowski <[email protected]> ---
Here are some hints on one way to go about making the redaction shape names
translatable:

Locations "ImageRedactionShape", "RectangleRedactionShape", and
"FreeformRedactionsShape" are referenced:

 officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
 sd/uiconfig/sdraw/menubar/menubar.xml
 sd/uiconfig/sdraw/toolbar/redactionbar.xml
 sfx2/source/doc/SfxRedactionHelper.cxx
 sfx2/source/doc/objserv.cxx

Places to add code to set the redaction shape name to a defined name:

 sd/source/ui/unoidl/unopage.cxx SdDrawPage::add
 sd/source/ui/func/fuconrec.cxx FuConstructRectangle::SetAttributes
 sd/source/ui/func/fuconbez.cxx FuConstructBezierPolygon::SetAttributes

Translation strings can be define in:

 include/sfx2/strings.hrc

Currently all redacted objects of a type receive the same type name, i.e.
ImageRedactionShape types are named "ImageRedactionShape",
RectangleRedactionShape types are named "RectangleRedactionShape" and
FreeformRedactionShape types are named "FreeformRedactionShape". This is a
problem for the Navigator which requires unique names to be able to correctly
navigate to objects. Possibly we want to include making redaction object names
unique in this patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to