20,741
edits
Red Leader (talk | contribs) m (→Dialog: Fix indentation, button label change) |
m (→Translations) |
||
Line 52: | Line 52: | ||
}} | }} | ||
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. | ||
For this to work, we need to create a new file and add it $FG_ROOT/Translations/locale.xml: | |||
<syntaxhighlight lang="diff"> | |||
diff --git a/Translations/locale.xml b/Translations/locale.xml | |||
index 6fa8f66..68d9e62 100644 | |||
--- a/Translations/locale.xml | |||
+++ b/Translations/locale.xml | |||
@@ -15,6 +15,7 @@ | |||
<strings> | |||
<options>Translations/en/options.xml</options> | |||
<menu>Translations/en/menu.xml</menu> | |||
+ <dialogs include="Translations/en/dialogs.xml"/> | |||
<sys>Translations/en/sys.xml</sys> | |||
<atc>Translations/en/atc.xml</atc> | |||
</strings> | |||
</syntaxhighlight> | |||
$FG_ROOT/Translations/en/dialogs.xml | $FG_ROOT/Translations/en/dialogs.xml |