mark unlocalized text

This commit is contained in:
GenZmeY 2021-01-15 12:02:32 +03:00
parent 60ba914cef
commit fc02d0d0b3
19 changed files with 32 additions and 32 deletions

View File

@ -41,7 +41,7 @@ function UpdatePendingPerkInfo(byte SelectedPerkIndex)
if (KFPC != none)
{
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
}
}

View File

@ -280,7 +280,7 @@ reliable server function ServerItemDropGet(string Item)
if (DropCount>5 || Len(Item)>100)
return;
++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)
@ -497,7 +497,7 @@ simulated final function string ParseSuicideMsg(string Victim, class<DamageType>
if (Left(S,15)~="KFDT_Ballistic_")
{
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)
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_")
{
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)
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_PeerConnectionFailure :
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;
case PMT_DownloadProgress :
KFExtendedHUD(myHUD).NotifyLevelChange();
@ -719,7 +719,7 @@ function ViewAPlayer(int dir)
if (PRI!=None)
{
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;
SetViewTarget(PRI);
ClientMessage("Now viewing from "$PRI.GetHumanReadableName());
ClientMessage("Now viewing from "$PRI.GetHumanReadableName()); // TODO: Localization
if (CurrentSpectateMode==SMODE_Roaming)
SpectatePlayer(SMODE_PawnFreeCam);
}
@ -755,7 +755,7 @@ reliable server function SpectateRoaming()
local Pawn P;
P = Pawn(ViewTarget);
ClientMessage("Viewing from own camera.");
ClientMessage("Viewing from own camera."); // TODO: Localization
Super.SpectateRoaming();
if (P!=None)
{

View File

@ -12,7 +12,7 @@ static function string GetUIInfo(Ext_PerkBase Perk)
static function string GetUIDesc()
{
return Default.GroupInfo$" trait group";
return Default.GroupInfo$" trait group"; // TODO: Localization
}
// See if group is already using up limitation.

View File

@ -7,7 +7,7 @@ static function string GetUIInfo(Ext_PerkBase Perk)
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)

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}1";
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
return S;
}

View File

@ -57,9 +57,9 @@ static function string GetPerkDescription()
S = string(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)
S = "Min perk level: #{FF4000}"$Default.MinLevel$"#{DEF}|"$S;
S = "Min perk level: #{FF4000}"$Default.MinLevel$"#{DEF}|"$S; // TODO: Localization
return Default.Description$"||"$S;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}3";
S $= "|Trait requires prestige level: #{FF4000}3"; // TODO: Localization
return S;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}1";
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
return S;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}2";
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
return S;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}2";
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
return S;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}1";
S $= "|Trait requires prestige level: #{FF4000}1"; // TODO: Localization
return S;
}

View File

@ -24,7 +24,7 @@ static final function bool HasMaxCarry(Ext_PerkBase Perk)
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)

View File

@ -16,7 +16,7 @@ static function string GetPerkDescription()
S = Super.GetPerkDescription();
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;
}

View File

@ -5,7 +5,7 @@ static function string GetPerkDescription()
local string S;
S = Super.GetPerkDescription();
S $= "|Trait requires prestige level: #{FF4000}2";
S $= "|Trait requires prestige level: #{FF4000}2"; // TODO: Localization
return S;
}

View File

@ -296,7 +296,7 @@ event PostRender()
bShowProgress = false;
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();
}
else if (bProgressDC)
@ -312,7 +312,7 @@ simulated function CancelConnection()
{
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;
}
else class'Engine'.Static.GetEngine().GameViewport.ConsoleCommand("Disconnect");

View File

@ -37,7 +37,7 @@ final function ShowProgressMsg(string S, optional bool bDis)
ParseStringIntoArray(S,ProgressLines,"|",false);
bProgressDC = bDis;
if (!bDis)
ProgressLines.AddItem("Press [Esc] to cancel connection");
ProgressLines.AddItem("Press [Esc] to cancel connection"); // TODO: Localization
}
final function RenderProgress()
@ -60,7 +60,7 @@ final function RenderProgress()
Y+=YL;
}
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

View File

@ -18,7 +18,7 @@ event PlayerTick(float DeltaTime)
{
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);
}
if (TravelData.PendingSong!=None)
@ -64,7 +64,7 @@ final function AbortConnection()
HandleNetworkError(false);
else
{
ShowConnectionProgressPopup(PMT_ConnectionFailure,"Connection aborted","User aborted connection...",true);
ShowConnectionProgressPopup(PMT_ConnectionFailure,"Connection aborted","User aborted connection...",true); // TODO: Localization
ConsoleCommand("Cancel");
}
}
@ -80,7 +80,7 @@ reliable client event bool ShowConnectionProgressPopup(EProgressMessageType Prog
case PMT_ConnectionFailure:
case PMT_PeerConnectionFailure:
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');
return true;
case PMT_DownloadProgress:

View File

@ -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.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
{
Canvas.SetDrawColor(255,255,128,Abs(Sin(H))*96.f);
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.DrawText("Plays: "$string(NumPlays),,W,W);
Canvas.DrawText("Plays: "$string(NumPlays),,W,W); // TODO: Localization
}
// Borders

View File

@ -63,7 +63,7 @@ function Timer()
for (i=0; i<StatsList.ItemComponents.Length; ++i)
StatBuyers[i].CloseMenu();
StatsList.ItemComponents.Length = 0;
PerkLabel.SetText("<No perk selected>");
PerkLabel.SetText("<No perk selected>"); // TODO: Localization
}
}
else if (PendingPerk!=None && OldPerkPoints!=PendingPerk.CurrentSP)