From db71a5b148ce51af5cd5bbfbd526caa3ca7ee758 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Fri, 10 Jan 2025 21:03:53 -0500 Subject: [PATCH] Start localization file for general menu strings --- lua/weapons/gmod_tool/stools/acf_menu.lua | 6 +----- resource/localization/en/acf_menu.properties | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 resource/localization/en/acf_menu.properties diff --git a/lua/weapons/gmod_tool/stools/acf_menu.lua b/lua/weapons/gmod_tool/stools/acf_menu.lua index 5b74ae06..62076cf4 100644 --- a/lua/weapons/gmod_tool/stools/acf_menu.lua +++ b/lua/weapons/gmod_tool/stools/acf_menu.lua @@ -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) diff --git a/resource/localization/en/acf_menu.properties b/resource/localization/en/acf_menu.properties new file mode 100644 index 00000000..a0068e61 --- /dev/null +++ b/resource/localization/en/acf_menu.properties @@ -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 \ No newline at end of file