| Summary: | "Contains" in Paragraph Style should identify List Style as "List Style", not as "Numbering" | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | sdc.blanco |
| Component: | Writer | Assignee: | sdc.blanco |
| Status: | VERIFIED FIXED | ||
| Severity: | enhancement | CC: | heiko.tietze, mentoring |
| Priority: | medium | Keywords: | difficultyBeginner, easyHack, skillDesign, topicDesign |
| Version: | 7.2.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=140846 | ||
| Whiteboard: | target:7.2.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108456 | ||
|
Description
sdc.blanco
2021-03-06 22:22:48 UTC
(In reply to sdc.blanco from comment #0) > https://opengrok.libreoffice.org/xref/core/sw/inc/strings.hrc?r=7838c4a9#277 That's not the correct code pointer. It's STR_NUMRULE_ON and STR_NUMRULE_OFF (when you set list style to none and parent has some list style applied). "List Style" for STR_NUMRULE_ON sounds good to me, and the counterpart "No List Style" in case of STR_NUMRULE_OFF is also okay since we cannot use "List Style (None)"- and it makes no sense actually since None is not a style. I would also appreciate when we get a space after the string. It is in sw/source/uibase/utlui/attrdesc.cxx bool SwNumRuleItem::GetPresentation the first '+ "("'. Seth Chaiklin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f92510321dc860f43e471473db67167c0fefcbea tdf#140845 labelling improvements for List Styles in Contains It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. The patch moves the hard-coding of the formatting of the label over to the translators.
The default en-US version is now: List Style: (liststylename)
where liststylename is the value of the List Style property in the Paragraph Style dialog (Outline & List tab). When the value is "None", then Contains shows:
List Style (None)
Closing as FIXED
verified as fixed in: Version: 7.2.4.1 / LibreOffice Community Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded |