From 51a3908488788bcc6f9a3b3259ad03fbae66c68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Mon, 15 Jul 2024 14:31:24 +0200 Subject: [PATCH] Fixed categories string table reference as well as arlington category not setup correctly (#247) --- addons/textures/CfgEditorSubcategories.hpp | 12 ++++++------ addons/textures/data/arlington/CfgVehicles.inc.hpp | 2 +- addons/textures/stringtable.xml | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/addons/textures/CfgEditorSubcategories.hpp b/addons/textures/CfgEditorSubcategories.hpp index e672c9e5..7ef00a15 100644 --- a/addons/textures/CfgEditorSubcategories.hpp +++ b/addons/textures/CfgEditorSubcategories.hpp @@ -1,20 +1,20 @@ class CfgEditorSubcategories { class Cav_EdSubcat_Callsigns_Black { - displayname = CSTRING(Cat_Callsigns_Black); + displayname = CSTRING(Cav_EdSubcat_Callsigns_Black); }; class Cav_EdSubcat_Callsigns_White { - displayname = CSTRING(Cat_Callsigns_White); + displayname = CSTRING(Cav_EdSubcat_Callsigns_White); }; class Cav_EdSubcat_Terrain_Black { - displayname = CSTRING(Cat_Terrain_Black); + displayname = CSTRING(Cav_EdSubcat_Terrain_Black); }; class Cav_EdSubcat_Terrain_White { - displayname = CSTRING(Cat_Terrain_White); + displayname = CSTRING(Cav_EdSubcat_Terrain_White); }; class Cav_EdSubcat_Arlington { - displayname = CSTRING(Cat_Arlington); + displayname = CSTRING(Cav_EdSubcat_Arlington); }; class Cav_EdSubcat_Vehicle_Labels { - displayname = CSTRING(Cat_Vehicle_Labels); + displayname = CSTRING(Cav_EdSubcat_Vehicle_Labels); }; }; \ No newline at end of file diff --git a/addons/textures/data/arlington/CfgVehicles.inc.hpp b/addons/textures/data/arlington/CfgVehicles.inc.hpp index 1d18011e..413c4c97 100644 --- a/addons/textures/data/arlington/CfgVehicles.inc.hpp +++ b/addons/textures/data/arlington/CfgVehicles.inc.hpp @@ -6,7 +6,7 @@ class var1: UserTexture1m_F { \ displayName = CSTRING(var1); \ author = ECSTRING(main,modteam); \ editorPreview = QPATHTOF(data\arlington\var2); \ - \ + editorSubcategory = "Cav_EdSubcat_Arlington"; \ hiddenSelectionsTextures[] = { \ QPATHTOF(data\arlington\var2) \ };\ diff --git a/addons/textures/stringtable.xml b/addons/textures/stringtable.xml index 8709cd82..e39b6cad 100644 --- a/addons/textures/stringtable.xml +++ b/addons/textures/stringtable.xml @@ -1,21 +1,21 @@ - + 7th Cavalry Callsigns Black - + 7th Cavalry Callsigns White - + 7th Cavalry Terrain Black - + 7th Cavalry Terrain White - + 7th Cavalry Arlington - + 7th Cavalry Vehicle Labels