Update traduction

This commit is contained in:
sladecraven 2020-09-04 08:53:00 +02:00
parent 401e507559
commit ffd187a832
4 changed files with 19 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import WFRP4E from "/systems/wfrp4e/modules/system/config-wfrp4e.js"
import WFRP_Tables from "/systems/wfrp4e/modules/system/tables-wfrp4e.js";
/************************************************************************************/
const _patch_eis = () => {
if ( WFRP4E && WFRP4E.symptoms && WFRP4E.symptoms["delirium"] == undefined ) {
@ -29,6 +30,7 @@ const _patch_eis = () => {
}
}
/************************************************************************************/
const _fix_post_module_loading = () => {
@ -406,7 +408,9 @@ Hooks.on("chatMessage", (html, content, msg) => {
/************************************************************************************/
/* Additionnal hooks ready */
Hooks.once('ready', () => {
_patch_initiative();
if (game.user.isGM)
ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont <strong>en cours de patch pour traduction</strong>... Merci <strong>d'attendre le message de fin</strong> (dans environ 20 secondes)", whisper: ChatMessage.getWhisperRecipients("GM") } );

View File

@ -156,6 +156,7 @@ class ActorWfrp4e_fr extends ActorSheetWfrp4e {
}
}
/************************************************************************************/
var compmod = "wfrp4e";
@ -166,7 +167,7 @@ Hooks.once('init', () => {
//CONFIG.Actor.entityClass = ActorWfrp4e_fr;
//Actors.unregisterSheet("core", ActorSheetWfrp4eCharacter);
Actors.registerSheet("wfrp4e", ActorWfrp4e_fr, { types: ["character"], makeDefault: true });
// Check various settings in the installation
game.modules.forEach((module, name) => {
if ( name == "wfrp4e-content" && module.active) {

View File

@ -1124,7 +1124,7 @@
"Home": "Revenir à la maison",
"TRAVEL.TravelMessageBase": "De <b>{from}</b> à <b>{to}</b> : ",
"TRAVEL.TravelMessageRoad": "<br><b>Route</b> : {road_distance} km<br>&nbsp;&nbsp;En diligence : {road_days} jours, dangerosité {road_danger_string}<br>&nbsp;&nbsp;A cheval : {road_horse_days} jours, dangerosité {road_danger_string}<br>&nbsp;&nbsp;A pieds : {road_feet_days} jours, dangerosité {road_danger_feet_string}",
"TRAVEL.TravelMessageRoad": "<br><b>Route</b> : {road_distance} km<br>&nbsp;&nbsp;En diligence : {road_days} jours, dangerosité {road_danger_string}<br>&nbsp;&nbsp;A cheval (lent) : {road_horse_heavy_days} jours, dangerosité {road_danger_string}<br>&nbsp;&nbsp;A cheval (rapide) : {road_horse_fast_days} jours, dangerosité {road_danger_string}<br>&nbsp;&nbsp;A pieds : {road_feet_days} jours, dangerosité {road_danger_feet_string}",
"TRAVEL.TravelMessageRiver": "<br><b>Rivière</b> : {river_distance} km<br>&nbsp;&nbsp;En bateau : {river_days} jours, dangerosité {river_danger_string}",
"TRAVEL.TravelMessageSea": "<br><b>Mer</b> : {sea_distance} km<br>&nbsp;&nbsp;En bateau : {sea_days} jours, dangerosité {sea_danger_string}",
"TRAVEL.TownPrompt": "Sélectionnez une ville de destination",

11
wkspace.code-workspace Normal file
View File

@ -0,0 +1,11 @@
{
"folders": [
{
"path": "../WFRP-4th-Edition-FoundryVTT_2_SLADECRAVEN"
},
{
"path": "."
}
],
"settings": {}
}