Moved item names into a separate translation file, in order to make translations easier
This commit is contained in:
1 parent
d3f24e321b
commit
d33a9b829c
23 files changed
+21994
-1
No files matched your search
@@ -102,6 +102,12 @@ function EID:LoadLanguagePacks(gameVersion)
|
||||
EID:WriteErrorMsg("Loading Languagepack '" .. languageCode .. "' (" .. gameVersion .. ") failed: " ..
|
||||
tostring(err))
|
||||
end
|
||||
-- load item name lists
|
||||
wasSuccessful, err = pcall(require, "descriptions.names." .. languageCode)
|
||||
if not wasSuccessful and not string.find(err, "not found") then
|
||||
EID:WriteErrorMsg("Loading Languagepack '" .. languageCode .. "' (Names) failed: " ..
|
||||
tostring(err))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user