Enhance auto-translate

This commit is contained in:
2020-03-31 09:03:19 +02:00
parent 2804e57914
commit 316069d64f
3 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,8 @@ Hooks.once('init', () => {
});
Babele.get().registerConverters({
"career_skills": (skills_list) => {
"career_skills": (skills_list) => {
console.log( game.i18n.localize( "Any" ) );
var compendium = game.packs.find(p => p.collection === 'wfrp4e.skills');
var i;
var len = skills_list.length;