summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-13 06:18:30 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-13 06:18:30 +0100
commit2974c541c54f934ac3f830fb262bb8d692558a40 (patch)
tree610fa4b17a8981042be49663194e01ddb6e3da0f
parentShow some avatar for image packs (diff)
downloadnheko-2974c541c54f934ac3f830fb262bb8d692558a40.tar.xz
Misc pack editor improvements
-rw-r--r--resources/langs/nheko_de.ts4
-rw-r--r--resources/qml/dialogs/ImagePackEditorDialog.qml5
-rw-r--r--resources/qml/dialogs/ImagePackSettingsDialog.qml4
3 files changed, 8 insertions, 5 deletions
diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts

index 0fa98ac3..940c7b36 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts
@@ -713,12 +713,12 @@ <message> <location line="+54"/> <source>Create account pack</source> - <translation>Neue Packung erstellen</translation> + <translation>Neue private Packung</translation> </message> <message> <location line="+12"/> <source>New room pack</source> - <translation>Neue Packung</translation> + <translation>Neue raumspezifische Packung</translation> </message> <message> <location line="+21"/> diff --git a/resources/qml/dialogs/ImagePackEditorDialog.qml b/resources/qml/dialogs/ImagePackEditorDialog.qml
index d5be9580..791657df 100644 --- a/resources/qml/dialogs/ImagePackEditorDialog.qml +++ b/resources/qml/dialogs/ImagePackEditorDialog.qml
@@ -91,7 +91,9 @@ ApplicationWindow { folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation) fileMode: FileDialog.OpenFiles - nameFilters: [qsTr("Stickers (*.png *.webp *.gif *.jpg *.jpeg)")] + nameFilters: [qsTr("Images (*.png *.webp *.gif *.jpg *.jpeg)")] + title: qsTr("Select images for pack") + acceptLabel: qsTr("Add to pack") onAccepted: imagePack.addStickers(files) } @@ -166,6 +168,7 @@ ApplicationWindow { folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation) fileMode: FileDialog.OpenFile nameFilters: [qsTr("Overview Image (*.png *.webp *.jpg *.jpeg)")] + title: qsTr("Select overview image for pack") onAccepted: imagePack.setAvatar(file) } } diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml
index e48040c1..2bad7ff9 100644 --- a/resources/qml/dialogs/ImagePackSettingsDialog.qml +++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml
@@ -71,7 +71,7 @@ ApplicationWindow { }); dialog.show(); } - width: packlist.width + width: packlistC.width visible: !packlist.containsAccountPack text: qsTr("Create account pack") } @@ -84,7 +84,7 @@ ApplicationWindow { }); dialog.show(); } - width: packlist.width + width: packlistC.width text: qsTr("New room pack") }