mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +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>
|
<message>
|
||||||
<location line="+54"/>
|
<location line="+54"/>
|
||||||
<source>Create account pack</source>
|
<source>Create account pack</source>
|
||||||
<translation>Neue Packung erstellen</translation>
|
<translation>Neue private Packung</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+12"/>
|
<location line="+12"/>
|
||||||
<source>New room pack</source>
|
<source>New room pack</source>
|
||||||
<translation>Neue Packung</translation>
|
<translation>Neue raumspezifische Packung</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+21"/>
|
<location line="+21"/>
|
||||||
|
|
|
@ -91,7 +91,9 @@ ApplicationWindow {
|
||||||
|
|
||||||
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
||||||
fileMode: FileDialog.OpenFiles
|
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)
|
onAccepted: imagePack.addStickers(files)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,6 +168,7 @@ ApplicationWindow {
|
||||||
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
||||||
fileMode: FileDialog.OpenFile
|
fileMode: FileDialog.OpenFile
|
||||||
nameFilters: [qsTr("Overview Image (*.png *.webp *.jpg *.jpeg)")]
|
nameFilters: [qsTr("Overview Image (*.png *.webp *.jpg *.jpeg)")]
|
||||||
|
title: qsTr("Select overview image for pack")
|
||||||
onAccepted: imagePack.setAvatar(file)
|
onAccepted: imagePack.setAvatar(file)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,7 @@ ApplicationWindow {
|
||||||
});
|
});
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
width: packlist.width
|
width: packlistC.width
|
||||||
visible: !packlist.containsAccountPack
|
visible: !packlist.containsAccountPack
|
||||||
text: qsTr("Create account pack")
|
text: qsTr("Create account pack")
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ ApplicationWindow {
|
||||||
});
|
});
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
width: packlist.width
|
width: packlistC.width
|
||||||
text: qsTr("New room pack")
|
text: qsTr("New room pack")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue