mark unlocalized text
This commit is contained in:
parent
60ba914cef
commit
fc02d0d0b3
@ -41,7 +41,7 @@ function UpdatePendingPerkInfo(byte SelectedPerkIndex)
|
|||||||
if (KFPC != none)
|
if (KFPC != none)
|
||||||
{
|
{
|
||||||
PerkClass = KFPC.ActivePerkManager.UserPerks[SelectedPerkIndex];
|
PerkClass = KFPC.ActivePerkManager.UserPerks[SelectedPerkIndex];
|
||||||
SetPendingPerkChanges(PerkClass.PerkName, PerkClass.GetPerkIconPath(PerkClass.CurrentLevel), "Perk changes will be applied when you die.");
|
SetPendingPerkChanges(PerkClass.PerkName, PerkClass.GetPerkIconPath(PerkClass.CurrentLevel), "Perk changes will be applied when you die."); // TODO: Localization
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ reliable server function ServerItemDropGet(string Item)
|
|||||||
if (DropCount>5 || Len(Item)>100)
|
if (DropCount>5 || Len(Item)>100)
|
||||||
return;
|
return;
|
||||||
++DropCount;
|
++DropCount;
|
||||||
WorldInfo.Game.Broadcast(Self,PlayerReplicationInfo.GetHumanReadableName()$" got item: "$Item);
|
WorldInfo.Game.Broadcast(Self,PlayerReplicationInfo.GetHumanReadableName()$" got item: "$Item); // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
reliable client function ReceiveLevelUp(Ext_PerkBase Perk, int NewLevel)
|
reliable client function ReceiveLevelUp(Ext_PerkBase Perk, int NewLevel)
|
||||||
@ -497,7 +497,7 @@ simulated final function string ParseSuicideMsg(string Victim, class<DamageType>
|
|||||||
if (Left(S,15)~="KFDT_Ballistic_")
|
if (Left(S,15)~="KFDT_Ballistic_")
|
||||||
{
|
{
|
||||||
S = Mid(S,15); // Weapon name.
|
S = Mid(S,15); // Weapon name.
|
||||||
return Victim$Chr(6)$"M killed himself with "$S;
|
return Victim$Chr(6)$"M killed himself with "$S; // TODO: Localization
|
||||||
}
|
}
|
||||||
else if (class<KFDT_Fire>(DamType)!=None)
|
else if (class<KFDT_Fire>(DamType)!=None)
|
||||||
return Victim$Chr(6)$"M was burned to death";
|
return Victim$Chr(6)$"M was burned to death";
|
||||||
@ -515,7 +515,7 @@ simulated final function string ParseKillMsg(string Victim, string Killer, bool
|
|||||||
if (Left(S,15)~="KFDT_Ballistic_")
|
if (Left(S,15)~="KFDT_Ballistic_")
|
||||||
{
|
{
|
||||||
S = Mid(S,15); // Weapon name.
|
S = Mid(S,15); // Weapon name.
|
||||||
return Chr(6)$"O"$Victim$Chr(6)$"M was killed by "$Chr(6)$T$Killer$Chr(6)$"M's "$S;
|
return Chr(6)$"O"$Victim$Chr(6)$"M was killed by "$Chr(6)$T$Killer$Chr(6)$"M's "$S; // TODO: Localization
|
||||||
}
|
}
|
||||||
else if (class<KFDT_Fire>(DamType)!=None)
|
else if (class<KFDT_Fire>(DamType)!=None)
|
||||||
return Chr(6)$"O"$Victim$Chr(6)$"M was incinerated by "$Chr(6)$T$Killer;
|
return Chr(6)$"O"$Victim$Chr(6)$"M was incinerated by "$Chr(6)$T$Killer;
|
||||||
@ -607,7 +607,7 @@ simulated reliable client event bool ShowConnectionProgressPopup(EProgressMessag
|
|||||||
case PMT_ConnectionFailure :
|
case PMT_ConnectionFailure :
|
||||||
case PMT_PeerConnectionFailure :
|
case PMT_PeerConnectionFailure :
|
||||||
KFExtendedHUD(myHUD).NotifyLevelChange();
|
KFExtendedHUD(myHUD).NotifyLevelChange();
|
||||||
KFExtendedHUD(myHUD).ShowProgressMsg("Connection Error: "$ProgressTitle$"|"$ProgressDescription$"|Disconnecting...",true);
|
KFExtendedHUD(myHUD).ShowProgressMsg("Connection Error: "$ProgressTitle$"|"$ProgressDescription$"|Disconnecting...",true); // TODO: Localization
|
||||||
return true;
|
return true;
|
||||||
case PMT_DownloadProgress :
|
case PMT_DownloadProgress :
|
||||||
KFExtendedHUD(myHUD).NotifyLevelChange();
|
KFExtendedHUD(myHUD).NotifyLevelChange();
|
||||||
@ -719,7 +719,7 @@ function ViewAPlayer(int dir)
|
|||||||
if (PRI!=None)
|
if (PRI!=None)
|
||||||
{
|
{
|
||||||
SetViewTarget(PRI);
|
SetViewTarget(PRI);
|
||||||
ClientMessage("Now viewing from "$PRI.GetHumanReadableName());
|
ClientMessage("Now viewing from "$PRI.GetHumanReadableName()); // TODO: Localization
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -745,7 +745,7 @@ reliable server function ServerViewPlayerID(int ID)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
SetViewTarget(PRI);
|
SetViewTarget(PRI);
|
||||||
ClientMessage("Now viewing from "$PRI.GetHumanReadableName());
|
ClientMessage("Now viewing from "$PRI.GetHumanReadableName()); // TODO: Localization
|
||||||
if (CurrentSpectateMode==SMODE_Roaming)
|
if (CurrentSpectateMode==SMODE_Roaming)
|
||||||
SpectatePlayer(SMODE_PawnFreeCam);
|
SpectatePlayer(SMODE_PawnFreeCam);
|
||||||
}
|
}
|
||||||
@ -755,7 +755,7 @@ reliable server function SpectateRoaming()
|
|||||||
local Pawn P;
|
local Pawn P;
|
||||||
|
|
||||||
P = Pawn(ViewTarget);
|
P = Pawn(ViewTarget);
|
||||||
ClientMessage("Viewing from own camera.");
|
ClientMessage("Viewing from own camera."); // TODO: Localization
|
||||||
Super.SpectateRoaming();
|
Super.SpectateRoaming();
|
||||||
if (P!=None)
|
if (P!=None)
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@ static function string GetUIInfo(Ext_PerkBase Perk)
|
|||||||
|
|
||||||
static function string GetUIDesc()
|
static function string GetUIDesc()
|
||||||
{
|
{
|
||||||
return Default.GroupInfo$" trait group";
|
return Default.GroupInfo$" trait group"; // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if group is already using up limitation.
|
// See if group is already using up limitation.
|
||||||
|
@ -7,7 +7,7 @@ static function string GetUIInfo(Ext_PerkBase Perk)
|
|||||||
|
|
||||||
static function string GetUIDesc()
|
static function string GetUIDesc()
|
||||||
{
|
{
|
||||||
return Super.GetUIDesc()$"|To buy additional regen abilities:|-Prestige level 1 + Perk level 100 = MAX 2 traits|-Prestige level 5 + Perk level 150 = MAX 3 traits";
|
return Super.GetUIDesc()$"|To buy additional regen abilities:|-Prestige level 1 + Perk level 100 = MAX 2 traits|-Prestige level 5 + Perk level 150 = MAX 3 traits"; // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
static function bool GroupLimited(Ext_PerkBase Perk, class<Ext_TraitBase> Trait)
|
static function bool GroupLimited(Ext_PerkBase Perk, class<Ext_TraitBase> Trait)
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}1";
|
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,9 +57,9 @@ static function string GetPerkDescription()
|
|||||||
S = string(GetTraitCost(i));
|
S = string(GetTraitCost(i));
|
||||||
else S $= ", "$GetTraitCost(i);
|
else S $= ", "$GetTraitCost(i);
|
||||||
}
|
}
|
||||||
S = "Max level: #{9FF781}"$Default.NumLevels$"#{DEF}|Level costs: #{F3F781}"$S$"#{DEF}";
|
S = "Max level: #{9FF781}"$Default.NumLevels$"#{DEF}|Level costs: #{F3F781}"$S$"#{DEF}"; // TODO: Localization
|
||||||
if (Default.MinLevel>0)
|
if (Default.MinLevel>0)
|
||||||
S = "Min perk level: #{FF4000}"$Default.MinLevel$"#{DEF}|"$S;
|
S = "Min perk level: #{FF4000}"$Default.MinLevel$"#{DEF}|"$S; // TODO: Localization
|
||||||
return Default.Description$"||"$S;
|
return Default.Description$"||"$S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}3";
|
S $= "|Trait requires prestige level: #{FF4000}3"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}1";
|
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}2";
|
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}2";
|
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}1";
|
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ static final function bool HasMaxCarry(Ext_PerkBase Perk)
|
|||||||
|
|
||||||
static function string GetPerkDescription()
|
static function string GetPerkDescription()
|
||||||
{
|
{
|
||||||
return Super.GetPerkDescription()$"|- Level 4 requires perk level 50 and level 3 carry capacity trait!";
|
return Super.GetPerkDescription()$"|- Level 4 requires perk level 50 and level 3 carry capacity trait!"; // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||||||
|
@ -16,7 +16,7 @@ static function string GetPerkDescription()
|
|||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
if (Default.FinalLevelPrestige>0)
|
if (Default.FinalLevelPrestige>0)
|
||||||
S $= "|Level 6 requires prestige level: #{FF4000}"$Default.FinalLevelPrestige;
|
S $= "|Level 6 requires prestige level: #{FF4000}"$Default.FinalLevelPrestige; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ static function string GetPerkDescription()
|
|||||||
local string S;
|
local string S;
|
||||||
|
|
||||||
S = Super.GetPerkDescription();
|
S = Super.GetPerkDescription();
|
||||||
S $= "|Trait requires prestige level: #{FF4000}2";
|
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ event PostRender()
|
|||||||
bShowProgress = false;
|
bShowProgress = false;
|
||||||
if (PlayerOwner.Player==None)
|
if (PlayerOwner.Player==None)
|
||||||
{
|
{
|
||||||
ShowProgressMsg("Downloading contents for next map, please wait...|Press [Escape] key to cancel connection!");
|
ShowProgressMsg("Downloading contents for next map, please wait...|Press [Escape] key to cancel connection!"); // TODO: Localization
|
||||||
RenderProgress();
|
RenderProgress();
|
||||||
}
|
}
|
||||||
else if (bProgressDC)
|
else if (bProgressDC)
|
||||||
@ -312,7 +312,7 @@ simulated function CancelConnection()
|
|||||||
{
|
{
|
||||||
if (!bConfirmDisconnect)
|
if (!bConfirmDisconnect)
|
||||||
{
|
{
|
||||||
ShowProgressMsg("Are you sure you want to cancel connection?|Press [Escape] again to confirm...");
|
ShowProgressMsg("Are you sure you want to cancel connection?|Press [Escape] again to confirm..."); // TODO: Localization
|
||||||
bConfirmDisconnect = true;
|
bConfirmDisconnect = true;
|
||||||
}
|
}
|
||||||
else class'Engine'.Static.GetEngine().GameViewport.ConsoleCommand("Disconnect");
|
else class'Engine'.Static.GetEngine().GameViewport.ConsoleCommand("Disconnect");
|
||||||
|
@ -37,7 +37,7 @@ final function ShowProgressMsg(string S, optional bool bDis)
|
|||||||
ParseStringIntoArray(S,ProgressLines,"|",false);
|
ParseStringIntoArray(S,ProgressLines,"|",false);
|
||||||
bProgressDC = bDis;
|
bProgressDC = bDis;
|
||||||
if (!bDis)
|
if (!bDis)
|
||||||
ProgressLines.AddItem("Press [Esc] to cancel connection");
|
ProgressLines.AddItem("Press [Esc] to cancel connection"); // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
final function RenderProgress()
|
final function RenderProgress()
|
||||||
@ -60,7 +60,7 @@ final function RenderProgress()
|
|||||||
Y+=YL;
|
Y+=YL;
|
||||||
}
|
}
|
||||||
Canvas.SetPos(Canvas.ClipX*0.2,Canvas.ClipY*0.91);
|
Canvas.SetPos(Canvas.ClipX*0.2,Canvas.ClipY*0.91);
|
||||||
Canvas.DrawText("Use Mouse scroll to adjust sensitivity: "$(ActiveGame.Sensitivity*100.f)$"%",,Sc,Sc);
|
Canvas.DrawText("Use Mouse scroll to adjust sensitivity: "$(ActiveGame.Sensitivity*100.f)$"%",,Sc,Sc); // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
|
@ -18,7 +18,7 @@ event PlayerTick(float DeltaTime)
|
|||||||
{
|
{
|
||||||
if (TravelData.PendingURL!="")
|
if (TravelData.PendingURL!="")
|
||||||
{
|
{
|
||||||
MS_HUD(myHUD).ShowProgressMsg("Connecting to "$TravelData.PendingURL);
|
MS_HUD(myHUD).ShowProgressMsg("Connecting to "$TravelData.PendingURL); // TODO: Localization
|
||||||
ConsoleCommand("Open "$TravelData.PendingURL);
|
ConsoleCommand("Open "$TravelData.PendingURL);
|
||||||
}
|
}
|
||||||
if (TravelData.PendingSong!=None)
|
if (TravelData.PendingSong!=None)
|
||||||
@ -64,7 +64,7 @@ final function AbortConnection()
|
|||||||
HandleNetworkError(false);
|
HandleNetworkError(false);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ShowConnectionProgressPopup(PMT_ConnectionFailure,"Connection aborted","User aborted connection...",true);
|
ShowConnectionProgressPopup(PMT_ConnectionFailure,"Connection aborted","User aborted connection...",true); // TODO: Localization
|
||||||
ConsoleCommand("Cancel");
|
ConsoleCommand("Cancel");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ reliable client event bool ShowConnectionProgressPopup(EProgressMessageType Prog
|
|||||||
case PMT_ConnectionFailure:
|
case PMT_ConnectionFailure:
|
||||||
case PMT_PeerConnectionFailure:
|
case PMT_PeerConnectionFailure:
|
||||||
bConnectionFailed = true;
|
bConnectionFailed = true;
|
||||||
MS_HUD(myHUD).ShowProgressMsg("Connection Error: "$ProgressTitle$"|"$ProgressDescription$"|Disconnecting...",true);
|
MS_HUD(myHUD).ShowProgressMsg("Connection Error: "$ProgressTitle$"|"$ProgressDescription$"|Disconnecting...",true); // TODO: Localization
|
||||||
SetTimer(4,false,'HandleNetworkError');
|
SetTimer(4,false,'HandleNetworkError');
|
||||||
return true;
|
return true;
|
||||||
case PMT_DownloadProgress:
|
case PMT_DownloadProgress:
|
||||||
|
@ -90,15 +90,15 @@ function Render(float XPos, float YPos, float XSize, float YSize)
|
|||||||
{
|
{
|
||||||
Canvas.SetDrawColor(128,64,64,Abs(Sin(H))*96.f+128);
|
Canvas.SetDrawColor(128,64,64,Abs(Sin(H))*96.f+128);
|
||||||
Canvas.SetPos(XPos+XSize*0.4,YPos+YSize*0.2);
|
Canvas.SetPos(XPos+XSize*0.4,YPos+YSize*0.2);
|
||||||
Canvas.DrawText("Press Fire to start pong",,W,W);
|
Canvas.DrawText("Press Fire to start pong",,W,W); // TODO: Localization
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Canvas.SetDrawColor(255,255,128,Abs(Sin(H))*96.f);
|
Canvas.SetDrawColor(255,255,128,Abs(Sin(H))*96.f);
|
||||||
Canvas.SetPos(XPos+XSize*0.2,YPos+YSize*0.22);
|
Canvas.SetPos(XPos+XSize*0.2,YPos+YSize*0.22);
|
||||||
Canvas.DrawText("Score: "$string(Score),,W,W);
|
Canvas.DrawText("Score: "$string(Score),,W,W); // TODO: Localization
|
||||||
Canvas.SetPos(XPos+XSize*0.2,YPos+YSize*0.68);
|
Canvas.SetPos(XPos+XSize*0.2,YPos+YSize*0.68);
|
||||||
Canvas.DrawText("Plays: "$string(NumPlays),,W,W);
|
Canvas.DrawText("Plays: "$string(NumPlays),,W,W); // TODO: Localization
|
||||||
}
|
}
|
||||||
|
|
||||||
// Borders
|
// Borders
|
||||||
|
@ -63,7 +63,7 @@ function Timer()
|
|||||||
for (i=0; i<StatsList.ItemComponents.Length; ++i)
|
for (i=0; i<StatsList.ItemComponents.Length; ++i)
|
||||||
StatBuyers[i].CloseMenu();
|
StatBuyers[i].CloseMenu();
|
||||||
StatsList.ItemComponents.Length = 0;
|
StatsList.ItemComponents.Length = 0;
|
||||||
PerkLabel.SetText("<No perk selected>");
|
PerkLabel.SetText("<No perk selected>"); // TODO: Localization
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (PendingPerk!=None && OldPerkPoints!=PendingPerk.CurrentSP)
|
else if (PendingPerk!=None && OldPerkPoints!=PendingPerk.CurrentSP)
|
||||||
|
Loading…
Reference in New Issue
Block a user