| Summary: | non-localizable string: Native Numbering | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Andras Timar <timar74> |
| Component: | Localization | Assignee: | Ádám Csaba Király <kiraly.adam.csaba> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | erack, pswo10680 |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | target:4.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Andras Timar
2013-02-11 09:25:07 UTC
Note: the hard coded strings in defaultnumberingprovider.cxx are programmatic identifiers that are also used to store/load document content and must not be changed.
Other places (i.e. cui/source/tabpages/page.cxx) that use these values and present localized strings use the LB_NUMBER_FORMAT resource from cui/source/tabpages/page.src that has an entry
< "Native Numbering" ; 12 /*NATIVE_NUMBERING
with 12 being the value of NumberingType::NATIVE_NUMBERING from offapi/com/sun/star/style/NumberingType.idl
Recently there was also the new cui/uiconfig/ui/numberingoptionspage.ui widget introduced that has the same list.
The Page Number Format list code should use one of these lists instead of the programmatic identifiers, probably the one in cui's page.src would be easier to access.
TODO: find out how SwFldMgr::GetFormatStr() works http://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/fldmgr.cxx#660 It reads almost all of the localizable strings from http://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/fldui.src#400 Adam Csaba Kiraly committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=04a54e7180c2cf9f4855211055ecbc6a41deff56 fdo#60641, localise strings The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |