Fix babele issue + new translation stuff
This commit is contained in:
@ -65,6 +65,10 @@ const _manage_inn_roll = async (content, msg) => {
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
const setup_wfrp4e_tables = () => {
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
/* Hook for specific command */
|
||||
Hooks.on("chatMessage", (html, content, msg) => {
|
||||
@ -80,6 +84,7 @@ Hooks.on("chatMessage", (html, content, msg) => {
|
||||
Hooks.once('ready', () => {
|
||||
|
||||
_patch_eis();
|
||||
setup_wfrp4e_tables();
|
||||
|
||||
const lang = game.settings.get('core', 'language');
|
||||
if ( lang == "fr" ) {
|
||||
@ -104,8 +109,8 @@ Hooks.once('ready', () => {
|
||||
"entries": [
|
||||
]
|
||||
};
|
||||
console.log("Actor compendium has been replaced !!!!");
|
||||
newpack = new TranslatedCompendium(pack, translations);
|
||||
console.log("Actor compendium has been replaced !!!!", newpack);
|
||||
}
|
||||
pack_array.push( [name, newpack ] );
|
||||
} );
|
||||
|
Reference in New Issue
Block a user