Error-reporting: add strings, GUI dialog
This commit is contained in:
parent
7f3dc7b9b0
commit
6f77bd914f
2 changed files with 120 additions and 0 deletions
|
@ -32,4 +32,33 @@
|
||||||
|
|
||||||
<settings-migration-title>Settings migrated</settings-migration-title>
|
<settings-migration-title>Settings migrated</settings-migration-title>
|
||||||
<settings-migration-text>Saved settings were migrated from a previous version of FlightGear. If you encounter any problems when using the system, try restoring the default settings, before reporting a problem. Saved settings can affect the appearance, performance and features of the simulator.</settings-migration-text>
|
<settings-migration-text>Saved settings were migrated from a previous version of FlightGear. If you encounter any problems when using the system, try restoring the default settings, before reporting a problem. Saved settings can affect the appearance, performance and features of the simulator.</settings-migration-text>
|
||||||
|
|
||||||
|
<!-- error groupings : top-level messages shown to the user-->
|
||||||
|
<error-category-aircraft>The selected aircraft contains errors. This may cause visual issues, or the aircraft might not fly at all. Check for an updated version of the aircraft from its developers, or use the information below to investigate further.</error-category-aircraft>
|
||||||
|
<error-category-aircraft-from-hangar>The selected aircraft (%VALUE%) contains errors. This may cause visual issues, or the aircraft might not fly at all. Please report the information below to the aircraft hangar's maintainers.</error-category-aircraft-from-hangar>
|
||||||
|
<error-category-custom-scenery>The custom scenery at '%VALUE%' contains errors. Parts may be missing, or the scenery may not load at all. Check for an updated version of the scenery, or use the information below to investigate further.</error-category-custom-scenery>
|
||||||
|
<error-category-terrasync>Scenery downloaded via TerraSync is not loading correctly. The usually indicates a problem with your network connection or local disk. The information below may help investigating further.</error-category-terrasync>
|
||||||
|
<error-category-addon>The add-on '%VALUE%' contains errors. Please report this to the add-on developers, or use the information below to investigate further.</error-category-addon>
|
||||||
|
<error-category-scenario>The scenario '%VALUE%' contains errors, and may not work correctly. Check the information below to help investigate fruther.</error-category-scenario>
|
||||||
|
<error-category-input-device>The joystick (input device) '%VALUE%' couldn't be loaded correctly. This usually means its configuration file is incorrect: see the information below for more information.</error-category-input-device>
|
||||||
|
<error-category-fgdata>Errors were found loading the core simulator files (FGData). This usually indicates a problem with the installation, or your local disk.</error-category-fgdata>
|
||||||
|
<error-category-unknown>Errors occurred in an unknown part of FlightGear. Please report this bug to the FlightGear development team, providing the information below.</error-category-unknown>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
<error-type-bad-header>File or resource header is incorrect</error-type-bad-header>
|
||||||
|
<error-type-bad-data>File or resource is invalid or corrupted</error-type-bad-data>
|
||||||
|
<error-type-misconfigured>The resource contains a configuration problem</error-type-misconfigured>
|
||||||
|
|
||||||
|
<error-missing-shader>Shader file not found</error-missing-shader>
|
||||||
|
<error-loading-texture>Texture failed to load</error-loading-texture>
|
||||||
|
<error-xml-model-load>Errors loading model XML</error-xml-model-load>
|
||||||
|
<error-btg-load>Errors loading terrain (BTG)</error-btg-load>
|
||||||
|
<error-scenery-load>Errors loading scenery</error-scenery-load>
|
||||||
|
<error-dialog-load>Errors loading user-interface</error-dialog-load>
|
||||||
|
<error-audio-fx-load>Audio FX description contains errors</error-audio-fx-load>
|
||||||
|
<error-xml-load-command>Scripted loading of XML failed</error-xml-load-command>
|
||||||
|
<error-aircraft-systems>Errors occured loading ircraft systems (fuel, electrical, hydrualics)</error-aircraft-systems>
|
||||||
|
<error-input-device-config>Errors loading input device configuration</error-input-device-config>
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
91
gui/dialogs/error-report.xml
Normal file
91
gui/dialogs/error-report.xml
Normal file
|
@ -0,0 +1,91 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
|
||||||
|
<name>error-report</name>
|
||||||
|
<dialog-name>error-report</dialog-name>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
<resizable>true</resizable>
|
||||||
|
|
||||||
|
<pref-width>700</pref-width>
|
||||||
|
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Error Report</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<empty><stretch>1</stretch></empty>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<textbox>
|
||||||
|
<halign>fill</halign>
|
||||||
|
<valign>fill</valign>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
<!-- <pref-width>450</pref-width> -->
|
||||||
|
<pref-height>100</pref-height>
|
||||||
|
<padding>6</padding>
|
||||||
|
<wrap>true</wrap>
|
||||||
|
<editable>false</editable>
|
||||||
|
|
||||||
|
<property>/sim/error-report/display/category</property>
|
||||||
|
</textbox>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<textbox>
|
||||||
|
<pref-width>500</pref-width>
|
||||||
|
|
||||||
|
<halign>fill</halign>
|
||||||
|
<valign>fill</valign>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
|
||||||
|
<pref-height>200</pref-height>
|
||||||
|
<padding>6</padding>
|
||||||
|
<slider>20</slider>
|
||||||
|
<editable>false</editable>
|
||||||
|
<wrap>true</wrap>
|
||||||
|
|
||||||
|
<property>/sim/error-report/display/details-text</property>
|
||||||
|
</textbox>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Save report to desktop</legend>
|
||||||
|
<binding>
|
||||||
|
<command>save-error-report-data</command>
|
||||||
|
<where>!desktop</where>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Copy report to clipboard</legend>
|
||||||
|
<binding>
|
||||||
|
<command>save-error-report-data</command>
|
||||||
|
<where>!clipboard</where>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Close</legend>
|
||||||
|
<binding>
|
||||||
|
<command>dismiss-error-report</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
</group>
|
||||||
|
</PropertyList>
|
Loading…
Reference in a new issue