FlightGear version check: Difference between revisions

Jump to navigation Jump to search
m
Line 53: Line 53:


The easiest way to accomplish this is using the existing format tag to display properties that can be resolved from $FG_ROOT/Translations
The easiest way to accomplish this is using the existing format tag to display properties that can be resolved from $FG_ROOT/Translations
$FG_ROOT/Translations/en/dialogs.xml
<syntaxhighlight lang="xml">
<?xml version="1.0"?>
<!-- FlightGear dialog texts: English (=default) language resource -->
<PropertyList>
                <version-mismatch>
                        <error-version-conflict>Error: Version Conflict !</error-version-conflict>
                        <flightgear-version>FlightGear Version</flightgear-version>
                        <aircraft>Aircraft</aircraft>
                        <aircraft-version>Aircraft Version</aircraft-version>
                        <required-flightgear-version>Required FlightGear Version</required-flightgear-version>
                        <incompatibility-reason>Reason for incompatibility</incompatibility-reason>
                        <solution>Solution</solution>
                </version-mismatch>
</PropertyList>
</syntaxhighlight>


=== dialog ===
=== dialog ===

Navigation menu