Skip to content

Commit

Permalink
Allow collapsible sidebar and smaller window size #307
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymphatus committed Oct 21, 2024
1 parent 4189ddb commit 43aa740
Show file tree
Hide file tree
Showing 26 changed files with 724 additions and 730 deletions.
12 changes: 6 additions & 6 deletions .idea/QtSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Please open an [issue](https://github.com/Lymphatus/caesium-image-compressor/iss

- [Rust](https://www.rust-lang.org/tools/install): required to
compile [libcaesium](https://github.com/Lymphatus/libcaesium). Make sure you have `cargo` executable on you `$PATH`
- [Qt6 SDK](https://www.qt.io/download/): binaries are built on 6.5.3 (open source)
- [Qt6 SDK](https://www.qt.io/download/): binaries are built on 6.8.0 (open source)
- [libssh](https://www.libssh.org/): macOS only
- [Sparkle](https://sparkle-project.org/): macOS only. Only version 1.27.1 is supported.

Expand Down
78 changes: 39 additions & 39 deletions resources/i18n/caesium_ar_EG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,17 +237,17 @@ All rights reserved.</translation>
<context>
<name>MainWindow</name>
<message>
<location filename="../../src/MainWindow.cpp" line="274"/>
<location filename="../../src/MainWindow.cpp" line="276"/>
<source>Import files...</source>
<translation>استيراد ملفات...</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="290"/>
<location filename="../../src/MainWindow.cpp" line="292"/>
<source>Import folder...</source>
<translation>استيراد المجلد...</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="515"/>
<location filename="../../src/MainWindow.cpp" line="517"/>
<source>Importing files...</source>
<translation>جاري استيراد ملفات...</translation>
</message>
Expand All @@ -256,8 +256,8 @@ All rights reserved.</translation>
<location filename="../../build/cmake-build-debug/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1438"/>
<location filename="../../build/cmake-build-release/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1430"/>
<location filename="../../build/cmake-build-release-portable/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1430"/>
<location filename="../../src/MainWindow.cpp" line="515"/>
<location filename="../../src/MainWindow.cpp" line="729"/>
<location filename="../../src/MainWindow.cpp" line="517"/>
<location filename="../../src/MainWindow.cpp" line="727"/>
<source>Cancel</source>
<translation>إلغاء</translation>
</message>
Expand All @@ -271,66 +271,66 @@ Do you really want to continue?</source>
هل تريد حقًا الاستمرار؟</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="607"/>
<location filename="../../src/MainWindow.cpp" line="605"/>
<source>No</source>
<translation>لا</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="1217"/>
<location filename="../../src/MainWindow.cpp" line="1222"/>
<location filename="../../src/MainWindow.cpp" line="1214"/>
<location filename="../../src/MainWindow.cpp" line="1219"/>
<source>File not found</source>
<translation>الملف غير موجود</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="1253"/>
<location filename="../../src/MainWindow.cpp" line="1250"/>
<source>Finishing...</source>
<translation>جاري الإنهاء...</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="639"/>
<location filename="../../src/MainWindow.cpp" line="1320"/>
<location filename="../../src/MainWindow.cpp" line="637"/>
<location filename="../../src/MainWindow.cpp" line="1317"/>
<source>Compressing...</source>
<translation>جاري الضغط...</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="725"/>
<location filename="../../src/MainWindow.cpp" line="723"/>
<source>Do you really want to quit?</source>
<translation>هل حقا تريد الخروج؟</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="606"/>
<location filename="../../src/MainWindow.cpp" line="728"/>
<location filename="../../src/MainWindow.cpp" line="604"/>
<location filename="../../src/MainWindow.cpp" line="726"/>
<source>Yes</source>
<translation>نعم</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="587"/>
<location filename="../../src/MainWindow.cpp" line="589"/>
<source>Please select an output folder first</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="590"/>
<location filename="../../src/MainWindow.cpp" line="842"/>
<location filename="../../src/MainWindow.cpp" line="839"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="750"/>
<location filename="../../src/MainWindow.cpp" line="748"/>
<source>Select output folder...</source>
<translation>حدد مجلد المخرجات...</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="816"/>
<location filename="../../src/MainWindow.cpp" line="814"/>
<source>Compression finished!</source>
<translation>انتهى الضغط!</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="831"/>
<location filename="../../src/MainWindow.cpp" line="829"/>
<source>You just saved %1!</source>
<translation>لقد وفرت لتو %1!</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="835"/>
<location filename="../../src/MainWindow.cpp" line="833"/>
<source>Total files: %1
Original size: %2
Compressed size: %3
Expand All @@ -341,7 +341,7 @@ Saved: %4 (%5%)</source>
تم توفير: %4 (%5%)</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="1503"/>
<location filename="../../src/MainWindow.cpp" line="1500"/>
<source>Recompress failed</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -550,12 +550,12 @@ Saved: %4 (%5%)</source>
<location filename="../../build/cmake-build-debug/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1415"/>
<location filename="../../build/cmake-build-release/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1407"/>
<location filename="../../build/cmake-build-release-portable/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1407"/>
<location filename="../../src/MainWindow.cpp" line="876"/>
<location filename="../../src/MainWindow.cpp" line="880"/>
<location filename="../../src/MainWindow.cpp" line="873"/>
<location filename="../../src/MainWindow.cpp" line="877"/>
<location filename="../../src/MainWindow.cpp" line="912"/>
<location filename="../../src/MainWindow.cpp" line="915"/>
<location filename="../../src/MainWindow.cpp" line="918"/>
<location filename="../../src/MainWindow.cpp" line="924"/>
<location filename="../../src/MainWindow.cpp" line="927"/>
<location filename="../../src/MainWindow.cpp" line="930"/>
<source>px</source>
<translation>px</translation>
</message>
Expand Down Expand Up @@ -700,7 +700,7 @@ Saved: %4 (%5%)</source>
<location filename="../../build/cmake-build-debug/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1365"/>
<location filename="../../build/cmake-build-release/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1358"/>
<location filename="../../build/cmake-build-release-portable/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1358"/>
<location filename="../../src/MainWindow.cpp" line="1238"/>
<location filename="../../src/MainWindow.cpp" line="1235"/>
<source>Preview</source>
<translation>لمحه</translation>
</message>
Expand Down Expand Up @@ -943,7 +943,7 @@ Saved: %4 (%5%)</source>
<location filename="../../build/cmake-build-debug/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1341"/>
<location filename="../../build/cmake-build-release/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1334"/>
<location filename="../../build/cmake-build-release-portable/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1334"/>
<location filename="../../src/MainWindow.cpp" line="215"/>
<location filename="../../src/MainWindow.cpp" line="217"/>
<source>Exit</source>
<translation>خروج</translation>
</message>
Expand Down Expand Up @@ -1080,13 +1080,13 @@ Saved: %4 (%5%)</source>
<location filename="../../build/cmake-build-debug/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1401"/>
<location filename="../../build/cmake-build-release/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1393"/>
<location filename="../../build/cmake-build-release-portable/caesium_image_compressor_autogen/include/ui_MainWindow.h" line="1393"/>
<location filename="../../src/MainWindow.cpp" line="890"/>
<location filename="../../src/MainWindow.cpp" line="894"/>
<location filename="../../src/MainWindow.cpp" line="887"/>
<location filename="../../src/MainWindow.cpp" line="891"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/MainWindow.cpp" line="1055"/>
<location filename="../../src/MainWindow.cpp" line="1052"/>
<source>images in list</source>
<translation>الصور في القائمة</translation>
</message>
Expand Down Expand Up @@ -1326,7 +1326,7 @@ Saved: %4 (%5%)</source>
<translation type="vanished">بيانات المستخدمة</translation>
</message>
<message>
<location filename="../../src/dialogs/PreferencesDialog.cpp" line="24"/>
<location filename="../../src/dialogs/PreferencesDialog.cpp" line="23"/>
<source>Show usage data</source>
<translation>إظهار البيانات المستخدمة</translation>
</message>
Expand All @@ -1347,7 +1347,7 @@ Saved: %4 (%5%)</source>
<name>QIODevice</name>
<message>
<location filename="../../src/dialogs/AdvancedImportDialog.cpp" line="131"/>
<location filename="../../src/MainWindow.cpp" line="276"/>
<location filename="../../src/MainWindow.cpp" line="278"/>
<source>Image Files</source>
<translation>ملفات الصور</translation>
</message>
Expand Down Expand Up @@ -1407,32 +1407,32 @@ Saved: %4 (%5%)</source>
<translation>الملف غير موجود</translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="123"/>
<location filename="../../src/utils/Utils.cpp" line="121"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="202"/>
<location filename="../../src/utils/Utils.cpp" line="200"/>
<source>Same as input</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="203"/>
<location filename="../../src/utils/Utils.cpp" line="201"/>
<source>JPG</source>
<translation>JPG</translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="204"/>
<location filename="../../src/utils/Utils.cpp" line="202"/>
<source>PNG</source>
<translation>PNG</translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="205"/>
<location filename="../../src/utils/Utils.cpp" line="203"/>
<source>WebP</source>
<translation>WebP</translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="206"/>
<location filename="../../src/utils/Utils.cpp" line="204"/>
<source>TIFF</source>
<translation>TIFF</translation>
</message>
Expand All @@ -1445,7 +1445,7 @@ Saved: %4 (%5%)</source>
<translation type="obsolete">%</translation>
</message>
<message>
<location filename="../../src/utils/Utils.cpp" line="235"/>
<location filename="../../src/utils/Utils.cpp" line="233"/>
<source>Auto</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 43aa740

Please sign in to comment.