Merging pull request 'Add support for transliteration' by Vardex.
This commit adds the code changes in Details! that is required to make the new library work.
This commit is contained in:
+3
-3
@@ -6,13 +6,13 @@ local _
|
||||
--> install skin function:
|
||||
function _detalhes:InstallSkin (skin_name, skin_table)
|
||||
if (not skin_name) then
|
||||
return false -- sem nome
|
||||
return false -- skin without a name
|
||||
elseif (_detalhes.skins [skin_name]) then
|
||||
return false -- ja existe
|
||||
return false -- skin with this name already exists
|
||||
end
|
||||
|
||||
if (not skin_table.file) then
|
||||
return false -- sem arquivo
|
||||
return false -- no skin file
|
||||
end
|
||||
|
||||
skin_table.author = skin_table.author or ""
|
||||
|
||||
Reference in New Issue
Block a user