Add L lookups for Icon names.
Ludovicus [07-14-20 - 17:40]
Add L lookups for Icon names.
diff --git a/TomTom_Config.lua b/TomTom_Config.lua
index ee5bf6a..e7e1883 100755
--- a/TomTom_Config.lua
+++ b/TomTom_Config.lua
@@ -473,12 +473,12 @@ local function createconfig()
name = L["Minimap Icon"],
desc = L["This setting allows you to select the default icon for the minimap"],
values = {
- ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDot"] = "Old Gold Green Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldBlueDotNew"] = "New Gold Blue Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDotNew"] = "New Gold Green Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldPurpleDotNew"] = "New Gold Purple Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldRedDotNew"] = "New Gold Red Dot",
- ["Interface\\AddOns\\TomTom\\Images\\PurpleRing"] = "New Purple Ring",
+ ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDot"] = L["Old Gold Green Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldBlueDotNew"] = L["New Gold Blue Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDotNew"] = L["New Gold Green Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldPurpleDotNew"] = L["New Gold Purple Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldRedDotNew"] = L["New Gold Red Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\PurpleRing"] = L["New Purple Ring"],
},
arg = "minimap.default_icon",
},
@@ -633,12 +633,12 @@ local function createconfig()
name = L["World Map Icon"],
desc = L["This setting allows you to select the default icon for the world map"],
values = {
- ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDot"] = "Old Gold Green Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldBlueDotNew"] = "New Gold Blue Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDotNew"] = "New Gold Green Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldPurpleDotNew"] = "New Gold Purple Dot",
- ["Interface\\AddOns\\TomTom\\Images\\GoldRedDotNew"] = "New Gold Red Dot",
- ["Interface\\AddOns\\TomTom\\Images\\PurpleRing"] = "New Purple Ring",
+ ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDot"] = L["Old Gold Green Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldBlueDotNew"] = L["New Gold Blue Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldGreenDotNew"] = L["New Gold Green Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldPurpleDotNew"] = L["New Gold Purple Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\GoldRedDotNew"] = L["New Gold Red Dot"],
+ ["Interface\\AddOns\\TomTom\\Images\\PurpleRing"] = L["New Purple Ring"],
},
arg = "worldmap.default_icon",
},