diff --git a/Localization/INT/ServerExt.int b/Localization/INT/ServerExt.int index 7614f7d..8044df1 100644 Binary files a/Localization/INT/ServerExt.int and b/Localization/INT/ServerExt.int differ diff --git a/ServerExt/Classes/UIR_PerkTraitList.uc b/ServerExt/Classes/UIR_PerkTraitList.uc index a26723c..f8a6065 100644 --- a/ServerExt/Classes/UIR_PerkTraitList.uc +++ b/ServerExt/Classes/UIR_PerkTraitList.uc @@ -4,6 +4,30 @@ Class UIR_PerkTraitList extends KFGUI_ColumnList; var array ToolTip; var KFGUI_Tooltip ToolTipItem; +var localized string TraitNameText; +var localized string TraitLevelText; +var localized string TraitCostText; + +function InitMenu() +{ + local FColumnItem NameItem; + local FColumnItem LevelItem; + local FColumnItem CostItem; + + Super.InitMenu(); + + NameItem.Text=TraitNameText; + NameItem.Width=0.6; + LevelItem.Text=TraitLevelText; + LevelItem.Width=0.2; + CostItem.Text=TraitCostText; + CostItem.Width=0.2; + + Columns.AddItem(NameItem); + Columns.AddItem(LevelItem); + Columns.AddItem(CostItem); +} + function DrawMenu() { local int i,n,j; @@ -110,9 +134,5 @@ function NotifyMousePaused() defaultproperties { - // TODO: localize - Columns.Add((Text="Trait name",Width=0.6)) - Columns.Add((Text="Level",Width=0.2)) - Columns.Add((Text="Cost",Width=0.2)) bCanSortColumn=false } \ No newline at end of file