feat: PrestigeNote localization
This commit is contained in:
parent
1fed799819
commit
d519e2e772
Binary file not shown.
@ -1,19 +1,27 @@
|
|||||||
Class UI_PrestigeNote extends UI_ResetWarning;
|
Class UI_PrestigeNote extends UI_ResetWarning;
|
||||||
|
|
||||||
|
var localized string WindowTitleText;
|
||||||
|
var localized string PrestigeButtonToolTip;
|
||||||
|
var localized string InfoLabelTextPart1;
|
||||||
|
var localized string InfoLabelTextPart2;
|
||||||
|
|
||||||
|
function InitMenu()
|
||||||
|
{
|
||||||
|
Super.InitMenu();
|
||||||
|
YesButton.ToolTip=PrestigeButtonToolTip;
|
||||||
|
}
|
||||||
|
|
||||||
function SetupTo( Ext_PerkBase P )
|
function SetupTo( Ext_PerkBase P )
|
||||||
{
|
{
|
||||||
PerkToReset = P.Class;
|
PerkToReset = P.Class;
|
||||||
// TODO: localize
|
WindowTitle = WindowTitleText$" "$P.PerkName;
|
||||||
WindowTitle = "NOTICE: Prestige "$P.PerkName;
|
InfoLabel.SetText(InfoLabelTextPart1$P.PrestigeSPIncrease$InfoLabelTextPart2);
|
||||||
InfoLabel.SetText("NOTICE: If you prestige your perk, you can not undo this operation!|All your gained XP and level will be reset to #{FF0000}0#{DEF}.|But this will also increase the amount of points by #{F7FE2E}+"$P.PrestigeSPIncrease$"#{DEF} you earn for every level up in the future.||Are you sure you want to do this?");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
bIsPrestige=true
|
bIsPrestige=true
|
||||||
|
|
||||||
// TODO: localize
|
|
||||||
Begin Object Name=YesButten
|
Begin Object Name=YesButten
|
||||||
Tooltip="Prestige the perk (you can not undo this action!)"
|
|
||||||
End Object
|
End Object
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user