From 3fdf4fd6120e459b36ba1252327654561d4b7936 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 5 Jun 2020 20:44:23 +0100 Subject: [PATCH] Fixed marks issues round 2 --- locale/en/data.cfg | 12 ++++++------ modules/control/warnings.lua | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/locale/en/data.cfg b/locale/en/data.cfg index e045d478..5c52ed15 100644 --- a/locale/en/data.cfg +++ b/locale/en/data.cfg @@ -7,8 +7,8 @@ saved=Your quickbar filters have been saved. [exp-required] Warnings=Warnings -Warnings-tooltip=The total number of warnings you have recieved from staff -Warnings-value-tooltip=The total number of warnings you have recieved from staff +Warnings-tooltip=The total number of warnings you have received from staff +Warnings-value-tooltip=The total number of warnings you have received from staff [exp-settings] Colour=Colour Colour-tooltip=Your player colour @@ -36,7 +36,7 @@ Bonus-value-tooltip=Change by using /bonus MapsPlayed=Maps Played MapsPlayed-tooltip=The number of unique maps you have played on JoinCount=Join Count -JoinCount-tooltip=The amount of times you have joined our servers +JoinCount-tooltip=The number of times you have joined our servers Playtime=Playtime Playtime-tooltip=The amount of time you have spent on our servers AfkTime=AFK Time @@ -68,8 +68,8 @@ ItemsPickedUp-tooltip=The number of items you have picked up Kills=Kills Kills-tooltip=The number of biters and biter bases you have squished Deaths=Deaths -Deaths-tooltip=The amount of times you have died -DamageDealt=Damage Delt +Deaths-tooltip=The number of times you have died +DamageDealt=Damage Dealt DamageDealt-tooltip=The amount of damage you have dealt to other forces DistanceTravelled=Distance Travelled DistanceTravelled-tooltip=The total distance in tiles that you have travelled @@ -78,6 +78,6 @@ CapsulesUsed-tooltip=The number of capsules you have used EntityRepaired=Machines Repaired EntityRepaired-tooltip=The number of machines which you have repaired DeconstructionPlannerUsed=Decon Planner Used -DeconstructionPlannerUsed-tooltip=The amount of times you have used the deconstruction Planner +DeconstructionPlannerUsed-tooltip=The number of times you have used the deconstruction planner MapTagsMade=Map Tags Created MapTagsMade-tooltip=The number of map tags you have created \ No newline at end of file diff --git a/modules/control/warnings.lua b/modules/control/warnings.lua index 95c77a15..71614c48 100644 --- a/modules/control/warnings.lua +++ b/modules/control/warnings.lua @@ -103,7 +103,7 @@ function Warnings.add_warning(player, by_player_name, reason) if not player then return end if not by_player_name then return end - reason = reason or 'Non given.' + reason = reason or 'None given.' local warning_count PlayerWarnings:update(player.name, function(_, warnings)