From c9a49538d6fd57d10e7a696d0bd94b26ead9de6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 19 Apr 2014 20:11:35 +0200 Subject: [PATCH] translatable tooltips --- OpenRA.Game/Widgets/ButtonWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Widgets/ButtonWidget.cs b/OpenRA.Game/Widgets/ButtonWidget.cs index 1d20e82ce2..862d2257ee 100644 --- a/OpenRA.Game/Widgets/ButtonWidget.cs +++ b/OpenRA.Game/Widgets/ButtonWidget.cs @@ -46,7 +46,7 @@ namespace OpenRA.Widgets Lazy tooltipContainer; public readonly string TooltipContainer; public readonly string TooltipTemplate = "BUTTON_TOOLTIP"; - public string TooltipText; + [Translate] public string TooltipText; // Equivalent to OnMouseUp, but without an input arg public Action OnClick = () => {};