Keep "About NUSGet" and "About Qt" under the application menu on macOS

Defined menu roles for those items so that Qt knows they belong under "NUSGet" when on macOS. This worked automatically somehow in English, but when loading a localization they'd be relocated to "Help" like they are on Windows and Linux. They'll now stay in the correct place for all languages.
This commit is contained in:
2025-05-09 12:56:26 -04:00
parent 4b0a03cc97
commit 0eb003d599
10 changed files with 60 additions and 44 deletions

View File

@@ -411,6 +411,11 @@ li.checked::marker { content: "\2612"; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="464"/>
<source>About NUSGet</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="157"/>
<source>Pack installable archive (WAD/TAD)</source>
@@ -481,12 +486,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="464"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="472"/>
<location filename="../../qt/ui/MainMenu.ui" line="475"/>
<source>About Qt</source>
<translation type="unfinished"></translation>
</message>