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
-
- Kopiert
+ Kopiert
+
+
+
+
+ %1 kopiert
@@ -49,31 +53,44 @@
%1 wirklich löschen?
-
-
+
+
+ %1 gelöscht
+
+
+
+
Kategorie
-
-
+
+
Konto
-
+
+
+ Name für %1
+
+
+
+
+ %1 umbenennen
+
+
verb flection maybe incorrect
- Name für neues
+ Name für neues
-
resulting word order incorrect
- Umbenennen
+ Umbenennen
-
+
neuen Namen hier eingeben
@@ -90,20 +107,25 @@
Passwort kopieren
-
-
+
+
Ausschneiden
-
-
+
+
+ %1 ausgeschnitten
+
+
+
+
Löschen
-
-
+
+
Umbenennen
@@ -111,10 +133,14 @@
FieldsPage
-
order of words not so nice
- Bearbeite Feld von
+ Bearbeite Feld von
+
+
+
+
+ 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 @@
-
-
+
+
@@ -42,47 +42,57 @@
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
+
+
+
+
+
-
-
+
+
@@ -91,7 +101,7 @@
FieldsPage
-
+