fix: improve i18n for add account buttons

Previously the existing main action (toolbar) button lacked comments,
and the placeholder message button lacked i18n entirely.
master
Johan Ouwerkerk 2021-03-06 14:57:00 +01:00 committed by Bhushan Shah
parent 8ddfdaba42
commit 183651ed7e
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ Kirigami.ScrollablePage {
helpfulAction: Kirigami.Action {
iconName: "list-add"
text: "Add account"
text: i18nc("@action:button add new account, shown instead of overview list when no accounts have been added yet", "Add account")
onTriggered: {
// FIXME : should be managed via vm
vm.accounts.error = false;
@ -168,7 +168,7 @@ Kirigami.ScrollablePage {
actions.main: Kirigami.Action {
id: addAction
text: i18n("Add")
text: i18nc("@action:button add new account, shown in toolbar", "Add")
iconName: "list-add"
enabled: vm.actionsEnabled
visible: vm.actionsEnabled