Migrate to v10
This commit is contained in:
parent
067418e4c4
commit
5746fd1bc3
@ -82,7 +82,7 @@ Hooks.once('init', () => {
|
|||||||
let transl = skill
|
let transl = skill
|
||||||
if (skill) {
|
if (skill) {
|
||||||
let translated = game.babele.translate( "swade-core-rules.swade-skills", {name: skill.trim()}, true )
|
let translated = game.babele.translate( "swade-core-rules.swade-skills", {name: skill.trim()}, true )
|
||||||
transl = translated.name
|
transl = translated.name || skill.trim()
|
||||||
}
|
}
|
||||||
return transl
|
return transl
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user