D8767: Fix translation of toolbar name when it has i18n context
Alexander Potashev
noreply at phabricator.kde.org
Sun Nov 12 02:32:26 UTC 2017
aspotashev created this revision.
aspotashev added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
The Configure Toolbars dialog did not take into account the "context" attribute of toolbar text which should be used as i18n context string.
KDE Partition Manager was affected:
<ToolBar name="editToolBar">
<text context="@title:menu turn on and off edit toolbar">Edit Toolbar</text>
[...]
TEST PLAN
Run partitionmanager and check translated toolbar names in: 1. Configure Toolbars dialog; 2. In the menu under "Tools -> Toolbars Shown".
REPOSITORY
R263 KXmlGui
BRANCH
toolbar-i18n-with-ctxt
REVISION DETAIL
https://phabricator.kde.org/D8767
AFFECTED FILES
src/CMakeLists.txt
src/kedittoolbar.cpp
src/ktoolbar.cpp
src/ktoolbarhelper.cpp
src/ktoolbarhelper_p.h
To: aspotashev, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171112/ad2e3f36/attachment.html>
More information about the Kde-frameworks-devel
mailing list