Difference between revisions of "Strings"
From BotF2-Wiki
(→en.txt) |
(→Enum) |
||
(2 intermediate revisions by one user not shown) | |||
Line 51: | Line 51: | ||
<LocalizedString Name="TOGGLE_CONSTRUCTION_BAY_BUTTON_TOOLTIP_OFFLINE"> | <LocalizedString Name="TOGGLE_CONSTRUCTION_BAY_BUTTON_TOOLTIP_OFFLINE"> | ||
<LocalizedStringValue Language="en" Text="Construction Bay Offline

{0} Energy Required" /> | <LocalizedStringValue Language="en" Text="Construction Bay Offline

{0} Energy Required" /> | ||
− | <LocalizedStringValue Language="de" Text="Werft offline

{0} Energie benötigt" /> | + | <LocalizedStringValue Language="de" Text="Werft offline

{0} Energie wird benötigt" /> |
<LocalizedStringValue Language="fr" Text="Baie de construction: HORS SERVICE

Energie requise: {0}" /> | <LocalizedStringValue Language="fr" Text="Baie de construction: HORS SERVICE

Energie requise: {0}" /> | ||
</LocalizedString> | </LocalizedString> | ||
</LocalizedTextGroup> | </LocalizedTextGroup> | ||
+ | |||
+ | === Enum === | ||
+ | |||
+ | Enums.xaml is located in \Resources\Text\Enums.xaml. It is containing some strings. An overview is >> [http://botf2.square7.ch/wiki-files/Text/Enums.xlsx here] | ||
=== missing strings === | === missing strings === |
Latest revision as of 11:43, 12 November 2017
Most strings are out of the file located in \Resources\Strings\
- for English: file name is en.txt (it's also possible to replace en.txt-content by another language to translate the game - for this Notepad++ is a well done program showing CR and LF)
Some Strings:
- Galaxy size: Tiny, Small, Medium, Large & Huge
- Galaxy Shape: Irregular, Spiral, Ring, Cluster, Elliptical
- Star Density: Dense, Medium, Sparse
- Planet Density: Dense, Medium, Sparse
- Tech Level: Early, Developed, Sophisticated, Adanvced, Supreme
- Minor Races: None, Few, Some, Many
en.txt
\Strings\en.txt
- Game_Name: name of the window (e.g. in task bar)
ColonyScreen.xaml
<LocalizedTextGroup xmlns="http://schemas.startreksupremacy.com/xaml/core" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Key="{x:Static LocalizedTextGroups.ColonyScreen}"> <LocalizedString Name="SHIP_CONSTRUCTION_TIME_TOOLTIP"> <LocalizedStringValue Language="en" Text="Estimated Time to Completion" /> <LocalizedStringValue Language="de" Text="voraussichtliche Zeit zur Fertigstellung" /> <LocalizedStringValue Language="fr" Text="Temps estimé jusqu'à l'achèvement" /> </LocalizedString> <LocalizedString Name="TURNS_UNTIL_COMPLETION_FORMAT"> <LocalizedStringValue Language="en" Text="{}{0} Turns" /> <LocalizedStringValue Language="de" Text="{}{0} Runden" /> <LocalizedStringValue Language="fr" Text="{}{0} Tours" /> </LocalizedString> <LocalizedString Name="BUILT_NEW_SHIP_TOOLTIP"> <LocalizedStringValue Language="en" Text="Build a Ship" /> <LocalizedStringValue Language="de" Text="ein Schiff bauen" /> <LocalizedStringValue Language="fr" Text="Construire un vaisseau" /> </LocalizedString> <LocalizedString Name="SHIP_CONSTRUCTION_PROJECT_TOOLTIP"> <LocalizedStringValue Language="en" Text="{}{0} {1} Class {2} Complete" /> <LocalizedStringValue Language="de" Text="{}{0} Class {1} {2} fertig" /> <LocalizedStringValue Language="fr" Text="{}{0} Classe {1} Achevé à {2}" /> </LocalizedString> <LocalizedString Name="TOGGLE_CONSTRUCTION_BAY_BUTTON_TOOLTIP_ONLINE"> <LocalizedStringValue Language="en" Text="Construction Bay Online {0} Energy Consumed" /> <LocalizedStringValue Language="de" Text="Werft online {0} Energieverbrauch" /> <LocalizedStringValue Language="fr" Text="Baie de construction: EN SERVICE Energie consommée: {0}" /> </LocalizedString> <LocalizedString Name="TOGGLE_CONSTRUCTION_BAY_BUTTON_TOOLTIP_OFFLINE"> <LocalizedStringValue Language="en" Text="Construction Bay Offline {0} Energy Required" /> <LocalizedStringValue Language="de" Text="Werft offline {0} Energie wird benötigt" /> <LocalizedStringValue Language="fr" Text="Baie de construction: HORS SERVICE Energie requise: {0}" /> </LocalizedString> </LocalizedTextGroup>
Enum
Enums.xaml is located in \Resources\Text\Enums.xaml. It is containing some strings. An overview is >> here
missing strings
no place found yet to localize them (e.g. not included in en.txt...maybe hardcoded)
- loading
- Empire Info (Galaxy Screen)
- Requisition (Galaxy Screen)
- Task Forces (Galaxy Screen)
- Labor pool
- Colony>Structures: Energy cost hardcoded ? or maybe taken from techobjects-files