Skip to content

Commit

Permalink
Optimize menu bar width calculation
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn>
  • Loading branch information
QQxiaoming committed Feb 3, 2024
1 parent f4814dd commit 0371b30
Show file tree
Hide file tree
Showing 9 changed files with 158 additions and 159 deletions.
2 changes: 1 addition & 1 deletion docs/ar_SA.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/cs_CZ.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/de_DE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/pt_BR.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 16 additions & 16 deletions lang/quardCRT_ar_SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1222,82 +1222,82 @@
<message>
<location filename="../src/mainwindow.cpp" line="2167"/>
<source>PrintScreen saved to %1</source>
<translation type="unfinished"></translation>
<translation>تم حفظ PrintScreen في %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2179"/>
<source>Save Screenshot</source>
<translation type="unfinished"></translation>
<translation>حفظ لقطة الشاشة</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2179"/>
<source>Image Files (*.jpg)</source>
<translation type="unfinished"></translation>
<translation>ملفات الصور (*.jpg)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2184"/>
<source>Screenshot saved to %1</source>
<translation type="unfinished"></translation>
<translation>تم حفظ لقطة الشاشة في %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2195"/>
<source>Save Session Export</source>
<translation type="unfinished"></translation>
<translation>حفظ تصدير الجلسة</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2195"/>
<source>Text Files (*.txt);;HTML Files (*.html)</source>
<translation type="unfinished"></translation>
<translation>ملفات النص (*.txt);;ملفات HTML (*.html)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2198"/>
<source>Text Files (*.txt)</source>
<translation type="unfinished"></translation>
<translation>ملفات النص (*.txt)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2201"/>
<source>HTML Files (*.html)</source>
<translation type="unfinished"></translation>
<translation>ملفات HTML (*.html)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2210"/>
<source>Session Export saved to %1</source>
<translation type="unfinished"></translation>
<translation>تم حفظ تصدير الجلسة في %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2212"/>
<source>Session Export failed to save to %1</source>
<translation type="unfinished"></translation>
<translation>فشل حفظ تصدير الجلسة في %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2356"/>
<source>Select a directory</source>
<translation type="unfinished"></translation>
<translation>حدد دليلًا</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2383"/>
<source>Select a bookmark</source>
<translation type="unfinished"></translation>
<translation>حدد إشارة مرجعية</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2410"/>
<source>Are you sure to clean all bookmark?</source>
<translation type="unfinished"></translation>
<translation>هل أنت متأكد من تنظيف كل الإشارات المرجعية؟</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2428"/>
<source>Port</source>
<translation type="unfinished"></translation>
<translation>منفذ</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2594"/>
<source>Video background is enabled, please enable animation in global options (more system resources) or change background image.</source>
<translation type="unfinished"></translation>
<translation>تم تمكين الخلفية المتحركة، يرجى تمكين الرسوم المتحركة في الخيارات العامة (مزيد من موارد النظام) أو تغيير صورة الخلفية.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2789"/>
<source>Session information get failed.</source>
<translation type="unfinished"></translation>
<translation>فشل الحصول على معلومات الجلسة.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2872"/>
Expand Down
28 changes: 14 additions & 14 deletions lang/quardCRT_cs_CZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1232,72 +1232,72 @@
<message>
<location filename="../src/mainwindow.cpp" line="2179"/>
<source>Image Files (*.jpg)</source>
<translation type="unfinished"></translation>
<translation>Obrázkové soubory (*.jpg)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2184"/>
<source>Screenshot saved to %1</source>
<translation type="unfinished"></translation>
<translation>Snímek obrazovky uložen do %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2195"/>
<source>Save Session Export</source>
<translation type="unfinished"></translation>
<translation>Uložit export relace</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2195"/>
<source>Text Files (*.txt);;HTML Files (*.html)</source>
<translation type="unfinished"></translation>
<translation>Textové soubory (*.txt);;HTML soubory (*.html)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2198"/>
<source>Text Files (*.txt)</source>
<translation type="unfinished"></translation>
<translation>Textové soubory (*.txt)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2201"/>
<source>HTML Files (*.html)</source>
<translation type="unfinished"></translation>
<translation>HTML soubory (*.html)</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2210"/>
<source>Session Export saved to %1</source>
<translation type="unfinished"></translation>
<translation>Export relace uložen do %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2212"/>
<source>Session Export failed to save to %1</source>
<translation type="unfinished"></translation>
<translation>Export relace se nepodařilo uložit do %1</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2356"/>
<source>Select a directory</source>
<translation type="unfinished"></translation>
<translation>Vybrat adresář</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2383"/>
<source>Select a bookmark</source>
<translation type="unfinished"></translation>
<translation>Vybrat záložku</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2410"/>
<source>Are you sure to clean all bookmark?</source>
<translation type="unfinished"></translation>
<translation>Opravdu chcete vymazat všechny záložky?</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2428"/>
<source>Port</source>
<translation type="unfinished"></translation>
<translation>Port</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2594"/>
<source>Video background is enabled, please enable animation in global options (more system resources) or change background image.</source>
<translation type="unfinished"></translation>
<translation>Video pozadí je povoleno, povolte animaci v globálních možnostech (více systémových prostředků) nebo změňte obrázek pozadí.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2789"/>
<source>Session information get failed.</source>
<translation type="unfinished"></translation>
<translation>Načtení informací o relaci se nezdařilo.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2872"/>
Expand Down
Loading

0 comments on commit 0371b30

Please sign in to comment.