Update missing translations of "Airboss[CN].lua"
This commit is contained in:
+51
-25
@@ -5422,13 +5422,20 @@ AIRBOSS={
|
||||
end
|
||||
G=G:gsub("%)%(","")
|
||||
G=G:gsub("__","")
|
||||
local text="LSO grade:\n"
|
||||
-- local text="LSO grade:\n"
|
||||
-- text=text..G.."\n"
|
||||
-- text=text.."Grade = "..grade.." points = "..points.."\n"
|
||||
-- text=text.."# of total deviations = "..N.."\n"
|
||||
-- text=text.."# of large deviations _ = "..nL.."\n"
|
||||
-- text=text.."# of normal deviations = "..nN.."\n"
|
||||
-- text=text.."# of small deviations ( = "..nS.."\n"
|
||||
local text="LSO 打分:\n"
|
||||
text=text..G.."\n"
|
||||
text=text.."Grade = "..grade.." points = "..points.."\n"
|
||||
text=text.."# of total deviations = "..N.."\n"
|
||||
text=text.."# of large deviations _ = "..nL.."\n"
|
||||
text=text.."# of normal deviations = "..nN.."\n"
|
||||
text=text.."# of small deviations ( = "..nS.."\n"
|
||||
text=text.."成绩 = "..grade.." 得分 = "..points.."\n"
|
||||
text=text.."# 的总偏移相对于 = "..N.."\n"
|
||||
text=text.."# 的较大偏移相对于 _ = "..nL.."\n"
|
||||
text=text.."# 的偏移相对于 = "..nN.."\n"
|
||||
text=text.."# 的较小偏移相对于 ( = "..nS.."\n"
|
||||
self:T2(self.lid..text)
|
||||
if playerData.wop then
|
||||
if playerData.lig then
|
||||
@@ -5922,16 +5929,19 @@ AIRBOSS={
|
||||
elseif _error<-lowscore then
|
||||
radiocall=self:_NewRadioCall(self.LSOCall.LOW,"Paddles","")
|
||||
else
|
||||
-- hint=string.format("Good altitude. ")
|
||||
hint=string.format("Good altitude. ")
|
||||
end
|
||||
if playerData.difficulty==AIRBOSS.Difficulty.EASY then
|
||||
hint=hint..string.format("Optimal altitude is %d ft.",UTILS.MetersToFeet(altopt))
|
||||
-- hint=hint..string.format("Optimal altitude is %d ft.",UTILS.MetersToFeet(altopt))
|
||||
hint=hint..string.format("最佳高度是 %d ft.",UTILS.MetersToFeet(altopt))
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.NORMAL then
|
||||
hint=""
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.HARD then
|
||||
hint=""
|
||||
end
|
||||
local debrief=string.format("Altitude %d ft = %d%% deviation from %d ft.",UTILS.MetersToFeet(altitude),_error,UTILS.MetersToFeet(altopt))
|
||||
-- local debrief=string.format("Altitude %d ft = %d%% deviation from %d ft.",UTILS.MetersToFeet(altitude),_error,UTILS.MetersToFeet(altopt))
|
||||
local debrief=string.format("高度 %d ft = %d%% 偏移量相对于 %d ft.",UTILS.MetersToFeet(altitude),_error,UTILS.MetersToFeet(altopt))
|
||||
return hint,debrief,radiocall
|
||||
end
|
||||
function AIRBOSS:_AoACheck(playerData,optaoa)
|
||||
@@ -5949,24 +5959,29 @@ AIRBOSS={
|
||||
elseif aoa>=aircraftaoa.Slow then
|
||||
radiocall=self:_NewRadioCall(self.LSOCall.SLOW,"Paddles","")
|
||||
elseif aoa>=aircraftaoa.OnSpeedMax then
|
||||
hint="Your're a little slow. "
|
||||
-- hint="Your're a little slow. "
|
||||
hint="你有点慢. "
|
||||
elseif aoa>=aircraftaoa.OnSpeedMin then
|
||||
hint="You're on speed. "
|
||||
-- hint="You're on speed. "
|
||||
hint="最佳速度. "
|
||||
elseif aoa>=aircraftaoa.Fast then
|
||||
hint="You're a little fast. "
|
||||
-- hint="You're a little fast. "
|
||||
hint="你有点快. "
|
||||
elseif aoa>=aircraftaoa.FAST then
|
||||
radiocall=self:_NewRadioCall(self.LSOCall.FAST,"Paddles","")
|
||||
else
|
||||
radiocall=self:_NewRadioCall(self.LSOCall.FAST,"Paddles","")
|
||||
end
|
||||
if playerData.difficulty==AIRBOSS.Difficulty.EASY then
|
||||
hint=hint..string.format("Optimal AoA is %.1f.",self:_AoADeg2Units(playerData,optaoa))
|
||||
-- hint=hint..string.format("Optimal AoA is %.1f.",self:_AoADeg2Units(playerData,optaoa))
|
||||
hint=hint..string.format("最佳 AoA is %.1f.",self:_AoADeg2Units(playerData,optaoa))
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.NORMAL then
|
||||
hint=""
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.HARD then
|
||||
hint=""
|
||||
end
|
||||
local debrief=string.format("AoA %.1f = %d%% deviation from %.1f.",self:_AoADeg2Units(playerData,aoa),_error,self:_AoADeg2Units(playerData,optaoa))
|
||||
-- local debrief=string.format("AoA %.1f = %d%% deviation from %.1f.",self:_AoADeg2Units(playerData,aoa),_error,self:_AoADeg2Units(playerData,optaoa))
|
||||
local debrief=string.format("AoA %.1f = %d%% 偏移量相对于 %.1f.",self:_AoADeg2Units(playerData,aoa),_error,self:_AoADeg2Units(playerData,optaoa))
|
||||
return hint,debrief,radiocall
|
||||
end
|
||||
function AIRBOSS:_SpeedCheck(playerData,speedopt)
|
||||
@@ -5987,16 +6002,19 @@ AIRBOSS={
|
||||
elseif _error<-lowscore then
|
||||
radiocall=self:_NewRadioCall(self.LSOCall.SLOW,"AIRBOSS","")
|
||||
else
|
||||
hint=string.format("Good speed. ")
|
||||
-- hint=string.format("Good speed. ")
|
||||
hint=string.format("速度好. ")
|
||||
end
|
||||
if playerData.difficulty==AIRBOSS.Difficulty.EASY then
|
||||
hint=hint..string.format("Optimal speed is %d knots.",UTILS.MpsToKnots(speedopt))
|
||||
-- hint=hint..string.format("Optimal speed is %d knots.",UTILS.MpsToKnots(speedopt))
|
||||
hint=hint..string.format("最佳速度是 %d knots.",UTILS.MpsToKnots(speedopt))
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.NORMAL then
|
||||
hint=""
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.HARD then
|
||||
hint=""
|
||||
end
|
||||
local debrief=string.format("Speed %d knots = %d%% deviation from %d knots.",UTILS.MpsToKnots(speed),_error,UTILS.MpsToKnots(speedopt))
|
||||
-- local debrief=string.format("Speed %d knots = %d%% deviation from %d knots.",UTILS.MpsToKnots(speed),_error,UTILS.MpsToKnots(speedopt))
|
||||
local debrief=string.format("Speed %d knots = %d%% 偏移量相对于 %d knots.",UTILS.MpsToKnots(speed),_error,UTILS.MpsToKnots(speedopt))
|
||||
return hint,debrief,radiocall
|
||||
end
|
||||
function AIRBOSS:_DistanceCheck(playerData,optdist)
|
||||
@@ -6008,24 +6026,31 @@ AIRBOSS={
|
||||
local _error=(distance-optdist)/optdist*100
|
||||
local hint
|
||||
if _error>badscore then
|
||||
hint=string.format("You're too far from the boat!")
|
||||
-- hint=string.format("You're too far from the boat!")
|
||||
hint=string.format("你离航母太远了!")
|
||||
elseif _error>lowscore then
|
||||
hint=string.format("You're slightly too far from the boat.")
|
||||
-- hint=string.format("You're slightly too far from the boat.")
|
||||
hint=string.format("你离航母有点远.")
|
||||
elseif _error<-badscore then
|
||||
hint=string.format("You're too close to the boat!")
|
||||
-- hint=string.format("You're too close to the boat!")
|
||||
hint=string.format("你离航母太近了!")
|
||||
elseif _error<-lowscore then
|
||||
hint=string.format("You're slightly too far from the boat.")
|
||||
-- hint=string.format("You're slightly too far from the boat.")
|
||||
hint=string.format("你离航母稍微有点远.")
|
||||
else
|
||||
hint=string.format("Good distance to the boat.")
|
||||
-- hint=string.format("Good distance to the boat.")
|
||||
hint=string.format("离航母距离刚好.")
|
||||
end
|
||||
if playerData.difficulty==AIRBOSS.Difficulty.EASY then
|
||||
hint=hint..string.format(" Optimal distance is %.1f NM.",UTILS.MetersToNM(optdist))
|
||||
-- hint=hint..string.format(" Optimal distance is %.1f NM.",UTILS.MetersToNM(optdist))
|
||||
hint=hint..string.format(" 最佳距离是 %.1f NM.",UTILS.MetersToNM(optdist))
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.NORMAL then
|
||||
hint=""
|
||||
elseif playerData.difficulty==AIRBOSS.Difficulty.HARD then
|
||||
hint=""
|
||||
end
|
||||
local debrief=string.format("Distance %.1f NM = %d%% deviation from %.1f NM.",UTILS.MetersToNM(distance),_error,UTILS.MetersToNM(optdist))
|
||||
-- local debrief=string.format("Distance %.1f NM = %d%% deviation from %.1f NM.",UTILS.MetersToNM(distance),_error,UTILS.MetersToNM(optdist))
|
||||
local debrief=string.format("距离 %.1f NM = %d%% 偏移量相对于 %.1f NM.",UTILS.MetersToNM(distance),_error,UTILS.MetersToNM(optdist))
|
||||
return hint,debrief,nil
|
||||
end
|
||||
function AIRBOSS:_AddToDebrief(playerData,hint,step)
|
||||
@@ -6033,7 +6058,8 @@ AIRBOSS={
|
||||
table.insert(playerData.debrief,{step=step,hint=hint})
|
||||
end
|
||||
function AIRBOSS:_Debrief(playerData)
|
||||
self:F(self.lid..string.format("Debriefing of player %s.",playerData.name))
|
||||
-- self:F(self.lid..string.format("Debriefing of player %s.",playerData.name))
|
||||
self:F(self.lid..string.format("玩家总结 %s.",playerData.name))
|
||||
playerData.debriefschedulerID=nil
|
||||
playerData.attitudemonitor=false
|
||||
local grade,points,analysis=self:_LSOgrade(playerData)
|
||||
@@ -8149,7 +8175,7 @@ AIRBOSS={
|
||||
end
|
||||
else
|
||||
-- text=text.." Nothing to show yet."
|
||||
text=text.." n暂无数据."
|
||||
text=text.." 暂无数据."
|
||||
end
|
||||
self:MessageToPlayer(playerData,text,nil,"",30,true)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user