Localize the faction dropdown.
This commit is contained in:
committed by
Gustas
parent
59f6a6a2c2
commit
5ddc7b1177
@@ -17,6 +17,7 @@ namespace OpenRA.Traits
|
||||
[TraitLocation(SystemActors.World | SystemActors.EditorWorld)]
|
||||
public class FactionInfo : TraitInfo<Faction>
|
||||
{
|
||||
[TranslationReference]
|
||||
[Desc("This is the name exposed to the players.")]
|
||||
public readonly string Name = null;
|
||||
|
||||
@@ -29,6 +30,8 @@ namespace OpenRA.Traits
|
||||
[Desc("The side that the faction belongs to. For example, England belongs to the 'Allies' side.")]
|
||||
public readonly string Side = null;
|
||||
|
||||
[TranslationReference(optional: true)]
|
||||
[Desc("This is shown in the lobby as a tooltip.")]
|
||||
public readonly string Description = null;
|
||||
|
||||
public readonly bool Selectable = true;
|
||||
|
||||
Reference in New Issue
Block a user