Skip to content

Commit

Permalink
Workaround for l10n and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Logonz committed Apr 15, 2024
1 parent 9b035d9 commit bbec7b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Database/Database.layer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ function Database.GetTemplateNames()
local templateName, filePath = line:match('<SimpleHTML name="([^"]+)" file="Interface\\AddOns\\QuestieDB\\([^"]+)"')
if templateName and filePath then
Database.TemplateToPath[templateName] = "./" .. filePath:gsub("\\", "/")
-- I was stupid once upon a time and saved the folder as lowercase... stupid me...
Database.TemplateToPath[templateName] = Database.TemplateToPath[templateName]:gsub("/L10n/", "/l10n/")
end
end
end
Expand Down

0 comments on commit bbec7b9

Please sign in to comment.