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

Heiko Tietze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyBeginner,
                   |                            |easyHack, skillCpp,
                   |                            |topicDesign
                 CC|                            |mentoring@documentfoundatio
                   |                            |n.org

--- Comment #7 from Heiko Tietze <[email protected]> ---
(In reply to sdc.blanco from comment #6)
> Maybe the other changes (radio buttons, the %s in Create, and moving "Show
> up to level") can be an EasyHack?

Yes, those are not too difficult. 

* Change "Create From" into "Create %s From" at
sw/uiconfig/swriter/ui/tocindexpage.ui (ideally with a comment for translators
that %s will be replaced by the type)
* add a string variable with the same name sw/inc/strings.hrc, eg.
SID_CREATEFROM
* add a weld::label to sw/source/uibase/inc/swuicnttab.hxx, eg. m_xCreateFromLB
* instantiate this label in sw/source/ui/index/cnttab.cxx SwTOXSelectTabPage()
(it is named label2 in the ui file)
* add to the TOXTypeHdl:
m_xCreateFromLB->set_label(SwResId(SID_CREATEFROM).replaceAll(%s,
m_xTypeLB->get_active_text())

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

Reply via email to