mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Misc pack editor improvements
This commit is contained in:
parent
bb600dd3d1
commit
2974c541c5
3 changed files with 8 additions and 5 deletions
|
@ -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"/>
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue