diff --git a/qml/EntriesPage.qml b/qml/EntriesPage.qml index e6f2907..cad8725 100644 --- a/qml/EntriesPage.qml +++ b/qml/EntriesPage.qml @@ -36,8 +36,8 @@ Kirigami.ScrollablePage { qsTr("Unable to paste the entries here")) return } - showPassiveNotification( - qsTr("Pasted ") + pastedEntries.join(", ")) + showPassiveNotification(qsTr("Pasted %1").arg( + pastedEntries.join(", "))) } shortcut: StandardKey.Paste } @@ -75,6 +75,7 @@ Kirigami.ScrollablePage { // skip if undo is supported if (nativeInterface.undoStack) { entryModel.removeRows(entryIndex, 1, rootIndex) + showPassiveNotification(qsTr("Deleted %1").arg(entryDesc)) return } @@ -98,7 +99,8 @@ Kirigami.ScrollablePage { standardButtons: newEntryName.length > 0 ? Controls.Dialog.Ok | Controls.Dialog.Cancel : Controls.Dialog.Cancel - title: (entryNew ? qsTr("Name for new ") : qsTr("Rename ")) + entryDesc + title: entryNew ? qsTr("Name for new %1").arg(entryDesc) : qsTr( + "Rename %1").arg(entryDesc) onAccepted: { entryModel.setData(entryModel.index(this.entryIndex, 0, rootIndex), newEntryName) @@ -194,7 +196,8 @@ Kirigami.ScrollablePage { nativeInterface.cutEntry( entryModel.index(index, 0, rootIndex)) - showPassiveNotification(text + " " + model.name) + showPassiveNotification(qsTr("Cut %1").arg( + model.name)) } } Controls.MenuItem { diff --git a/qml/FieldsPage.qml b/qml/FieldsPage.qml index 3273774..a1a9c82 100644 --- a/qml/FieldsPage.qml +++ b/qml/FieldsPage.qml @@ -21,7 +21,7 @@ Kirigami.ScrollablePage { property alias fieldName: fieldNameEdit.text property alias fieldValue: fieldValueEdit.text property alias isPassword: fieldIsPasswordCheckBox.checked - title: qsTr("Edit field of ") + nativeInterface.currentAccountName + title: qsTr("Edit field of %1").arg(nativeInterface.currentAccountName) standardButtons: Controls.Dialog.Ok | Controls.Dialog.Cancel onAccepted: { var column0 = fieldsListView.model.index(entryIndex, 0) @@ -29,7 +29,7 @@ Kirigami.ScrollablePage { fieldsListView.model.setData(column0, fieldName) fieldsListView.model.setData(column1, fieldValue) fieldsListView.model.setData(column0, isPassword ? 1 : 0, - 0x0100 + 1) + 0x0100 + 1) } ColumnLayout { diff --git a/translations/passwordmanager_de_DE.ts b/translations/passwordmanager_de_DE.ts index 2e4e4b8..bda3164 100644 --- a/translations/passwordmanager_de_DE.ts +++ b/translations/passwordmanager_de_DE.ts @@ -34,9 +34,13 @@ Einträge können hier nicht eingefügt werden - Pasted - Kopiert + Kopiert + + + + Pasted %1 + %1 kopiert @@ -49,31 +53,44 @@ %1 wirklich löschen? - - + + Deleted %1 + %1 gelöscht + + + + category Kategorie - - + + account Konto - + + Name for new %1 + Name für %1 + + + + Rename %1 + %1 umbenennen + + Name for new verb flection maybe incorrect - Name für neues + Name für neues - Rename resulting word order incorrect - Umbenennen + Umbenennen - + enter new name here neuen Namen hier eingeben @@ -90,20 +107,25 @@ Passwort kopieren - - + + Cut Ausschneiden - - + + Cut %1 + %1 ausgeschnitten + + + + Delete Löschen - - + + Rename Umbenennen @@ -111,10 +133,14 @@ FieldsPage - Edit field of order of words not so nice - Bearbeite Feld von + Bearbeite Feld von + + + + Edit field of %1 + Feld von %1 editieren diff --git a/translations/passwordmanager_en_US.ts b/translations/passwordmanager_en_US.ts index 6759d6e..12b5175 100644 --- a/translations/passwordmanager_en_US.ts +++ b/translations/passwordmanager_en_US.ts @@ -27,8 +27,8 @@ - - Pasted + + Pasted %1 @@ -42,47 +42,57 @@ - - + + Deleted %1 + + + + + category - - + + account - - Name for new + + Name for new %1 - - Rename + + Rename %1 - + enter new name here - - + + Cut - - + + Cut %1 + + + + + Delete - - + + Rename @@ -91,7 +101,7 @@ FieldsPage - Edit field of + Edit field of %1