Make tooltip names/descriptions translatable

This commit is contained in:
ScottNZ
2013-10-14 00:09:40 +13:00
parent 42a4d30162
commit 3769b845b6

View File

@@ -16,8 +16,8 @@ namespace OpenRA.Mods.RA
[Desc("Shown in the build palette widget.")] [Desc("Shown in the build palette widget.")]
public class TooltipInfo : ITraitInfo public class TooltipInfo : ITraitInfo
{ {
public readonly string Description = ""; [Translate] public readonly string Description = "";
public readonly string Name = ""; [Translate] public readonly string Name = "";
[Desc("Sequence of the actor that contains the cameo.")] [Desc("Sequence of the actor that contains the cameo.")]
public readonly string Icon = "icon"; public readonly string Icon = "icon";