Commit 1be06ea6 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Improve some accessible names of icon-only buttons

* Make accessible names of Up and Down buttons more verbose
* Use normal action button capitalization; even if it's irrelevant for
screen readers, it's probably less irritating for translators

GnuPG-bug-id: 6088
parent 7ec7eed4
Pipeline #207021 passed with stage
in 1 minute and 25 seconds
......@@ -115,42 +115,42 @@ Kleo::DNAttributeOrderConfigWidget::DNAttributeOrderConfigWidget(QWidget *parent
static const std::vector<NavButtonInfo> navButtons = {
{
"go-next",
kli18nc("@action:button accessible name for 'Add to list'", "add"),
kli18nc("@action:button", "Add"),
kli18n("Add to current attribute order"),
&DNAttributeOrderConfigWidget::slotRightButtonClicked,
false,
},
{
"go-previous",
kli18nc("@action:button accessible name for 'Remove from list'", "remove"),
kli18nc("@action:button", "Remove"),
kli18n("Remove from current attribute order"),
&DNAttributeOrderConfigWidget::slotLeftButtonClicked,
false,
},
{
"go-top",
kli18nc("@action:button accessible name for 'Move to top'", "top"),
kli18nc("@action:button", "Move to Top"),
kli18n("Move to top"),
&DNAttributeOrderConfigWidget::slotDoubleUpButtonClicked,
false,
},
{
"go-up",
kli18nc("@action:button accessible name for 'Move up'", "up"),
kli18nc("@action:button", "Move Up"),
kli18n("Move one up"),
&DNAttributeOrderConfigWidget::slotUpButtonClicked,
true,
},
{
"go-down",
kli18nc("@action:button accessible name for 'Move down'", "down"),
kli18nc("@action:button", "Move Down"),
kli18n("Move one down"),
&DNAttributeOrderConfigWidget::slotDownButtonClicked,
true,
},
{
"go-bottom",
kli18nc("@action:button accessible name for 'Move to bottom'", "bottom"),
kli18nc("@action:button", "Move to Bottom"),
kli18n("Move to bottom"),
&DNAttributeOrderConfigWidget::slotDoubleDownButtonClicked,
false,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment