Skip to content

Commit

Permalink
Fix Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
RedAlex authored Jan 20, 2019
1 parent 8780e77 commit 3abd907
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ AddEventHandler('playerConnecting', function (playerName,setKickReason)
local txtday = math.floor(day)
local txthrs = math.floor(hrs)
local txtminutes = math.ceil(minutes)
setKickReason("Vous etes banni pour : " .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day ..txthrs .. Text.hour ..txtminutes .. Text.minute)
setKickReason(Text.yourban .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day ..txthrs .. Text.hour ..txtminutes .. Text.minute)
CancelEvent()
elseif tempsrestant >= 60 and tempsrestant < 1440 then
local day = (tempsrestant / 60) / 24
Expand All @@ -424,13 +424,13 @@ AddEventHandler('playerConnecting', function (playerName,setKickReason)
local txtday = math.floor(day)
local txthrs = math.floor(hrs)
local txtminutes = math.ceil(minutes)
setKickReason("Vous etes banni pour : " .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day .. txthrs .. Text.hour .. txtminutes .. Text.minute)
setKickReason(Text.yourban .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day .. txthrs .. Text.hour .. txtminutes .. Text.minute)
CancelEvent()
elseif tempsrestant < 60 then
local txtday = 0
local txthrs = 0
local txtminutes = math.ceil(tempsrestant)
setKickReason("Vous etes banni pour : " .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day .. txthrs .. Text.hour .. txtminutes .. Text.minute)
setKickReason(Text.yourban .. BanList[i].reason .. Text.timeleft .. txtday .. Text.day .. txthrs .. Text.hour .. txtminutes .. Text.minute)
CancelEvent()
end
end
Expand Down

0 comments on commit 3abd907

Please sign in to comment.