1
0
Fork 0

Error reporting UI tweaks

This commit is contained in:
James Turner 2021-04-22 12:22:06 +01:00
parent 4db5d00c16
commit 313ba5b72d
4 changed files with 25 additions and 1 deletions

View file

@ -18,6 +18,7 @@
<terrasync>Scenery Download</terrasync>
<aircraft-center>Aircraft Center (Experimental)</aircraft-center>
<exit>Quit</exit>
<error-reports>View Errors</error-reports>
<!-- View menu -->
<view>View</view>

View file

@ -57,7 +57,8 @@
<error-category-traffic>Problems occured loading simulated aircaft traffic: some traffic may not appear.</error-category-traffic>
<error-category-out-of-memory>Allocating memory failed. Some resources will not be loaded. Adjust your settings to reduce view distance or number of objects loaded.</error-category-out-of-memory>
<error-category-multiplayer>Loading a model for another pilot (via multi-player) failed. The other pilot will appear as a default model. (You can disable these errors from the multiplayer settings dialog)</error-category-multiplayer>
<error-category-shaders>Problems occurred loading visual effects (shaders). This can cause objects to be invisible or appear incorrect. It can sometimes be fixed by changing rendering settings inside FlightGear, or occasionally, by updating the drivers for your graphics card.</error-category-shaders>
<error-type-unknown>Unknown error</error-type-unknown>
<error-type-not-found>The file or resource was not found</error-type-not-found>
<error-type-out-of-memory>Unable to allocate sufficient memory</error-type-out-of-memory>

View file

@ -86,6 +86,21 @@
<empty><stretch>1</stretch></empty>
<button>
<legend>Next error</legend>
<binding>
<command>show-error-report</command>
<next type="bool">true</next>
</binding>
<binding>
<command>dialog-update</command>
</binding>
<visible>
<property>/sim/error-report/display/have-next</property>
</visible>
</button>
<button>
<legend>Close</legend>
<binding>

View file

@ -80,6 +80,13 @@
</binding>
</item>
<item>
<name>error-reports</name>
<binding>
<command>show-error-report</command>
</binding>
</item>
<item>
<name>exit</name>
<key>Esc</key>