mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Allow JPEG in image picker for stickers and emotes.
The file ending list is translated, so all the translations are updated too.
This commit is contained in:
parent
37f661caed
commit
0516892759
24 changed files with 35 additions and 35 deletions
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Sticker (*.png *.webp *.gif)</translation>
|
<translation>Sticker (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Stickers (*.png *.webp *.gif)</translation>
|
<translation>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -619,8 +619,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Glumarkoj (*.png *.webp *.gif)</translation>
|
<translation>Glumarkoj (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Kleepsud (*.png *.webp *.gif)</translation>
|
<translation>Kleepsud (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Tarrat (*.png *.webp *.gif)</translation>
|
<translation>Tarrat (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Autocollants (*.png *.webp *.gif)</translation>
|
<translation>Autocollants (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Stiker (*.png *.webp *.gif)</translation>
|
<translation>Stiker (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>സ്റ്റിക്കറുകൾ(*.png *.webp *.gif)</translation>
|
<translation>സ്റ്റിക്കറുകൾ(*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Stickers (*.png *.webp *.gif)</translation>
|
<translation>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Naklejki (*.png *.webp *.gif)</translation>
|
<translation>Naklejki (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,8 +618,8 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation>Autocolantes (*.png *.webp *.gif)</translation>
|
<translation>Autocolantes (*.png *.webp *.gif *.jpg *.jpeg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+60"/>
|
<location line="+60"/>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -618,7 +618,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location line="+7"/>
|
<location line="+7"/>
|
||||||
<source>Stickers (*.png *.webp *.gif)</source>
|
<source>Stickers (*.png *.webp *.gif *.jpg *.jpeg)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -91,7 +91,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
|
||||||
fileMode: FileDialog.OpenFiles
|
fileMode: FileDialog.OpenFiles
|
||||||
nameFilters: [qsTr("Stickers (*.png *.webp *.gif)")]
|
nameFilters: [qsTr("Stickers (*.png *.webp *.gif *.jpg *.jpeg)")]
|
||||||
onAccepted: imagePack.addStickers(files)
|
onAccepted: imagePack.addStickers(files)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue