Skip to content

Commit

Permalink
Start localization file for general menu strings
Browse files Browse the repository at this point in the history
  • Loading branch information
thecraftianman committed Jan 11, 2025
1 parent b17a151 commit db71a5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 1 addition & 5 deletions lua/weapons/gmod_tool/stools/acf_menu.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
ACF.LoadToolFunctions(TOOL)

TOOL.Name = "ACF Menu"
TOOL.Name = "#tool.acf_menu.menu_name"

if CLIENT then
-- "Hitbox" colors
local Sensitive = Color(255, 0, 0, 50)
local NotSoSensitive = Color(255, 255, 0, 50)

-- Name and descriptions if need to be changed
language.Add("Tool.acf_menu.name", "Armored Combat Framework")
language.Add("Tool.acf_menu.desc", "Main menu tool for the ACF addon")

local Queued = {}

local function RequestVehicleInfo(Vehicle)
Expand Down
6 changes: 6 additions & 0 deletions resource/localization/en/acf_menu.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
acf.menu.entities=Entities

# Strings for the ACF Tool
tool.acf_menu.menu_name=ACF Menu
tool.acf_menu.name=Armored Combat Framework
tool.acf_menu.desc=Main menu tool for the ACF addon

0 comments on commit db71a5b

Please sign in to comment.