forked from public/foundryvtt-wh4-lang-fr-fr
		
	Fix auto-translation stuff
This commit is contained in:
		| @@ -429,7 +429,9 @@ Hooks.once('init', () => { | |||||||
|             //console.log(">>>>> Skill ?", name_en, special, trait_fr.name, trait_fr); |             //console.log(">>>>> Skill ?", name_en, special, trait_fr.name, trait_fr); | ||||||
|             if (trait_fr.translated) { |             if (trait_fr.translated) { | ||||||
|               trait_en.name = trait_fr.name + special; |               trait_en.name = trait_fr.name + special; | ||||||
|               trait_en.data.description.value = trait_fr.data.description.value; |               if ( trait_fr.data. ) { | ||||||
|  |                 trait_en.data.description.value = trait_fr.data.description.value; | ||||||
|  |               } | ||||||
|             } |             } | ||||||
|           } else if ( trait_en.type == "prayer") { |           } else if ( trait_en.type == "prayer") { | ||||||
|             var trait_fr = fullprayers.translate( { name: name_en } ); |             var trait_fr = fullprayers.translate( { name: name_en } ); | ||||||
|   | |||||||
| @@ -1224,7 +1224,7 @@ | |||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			"id": "Merchant", | 			"id": "Merchant", | ||||||
| 			"name": "Marchant", | 			"name": "Marchand", | ||||||
| 			"description": "", | 			"description": "", | ||||||
| 			"trappings": [ | 			"trappings": [ | ||||||
| 				"Péniche fluviale ou 2 charriots", | 				"Péniche fluviale ou 2 charriots", | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
|   "name": "WH4-fr-translation", |   "name": "WH4-fr-translation", | ||||||
|   "title": "Traduction du module WH4 en Français.", |   "title": "Traduction du module WH4 en Français.", | ||||||
|   "description": "La traduction du module WH4.", |   "description": "La traduction du module WH4.", | ||||||
|   "version": "0.81", |   "version": "0.82", | ||||||
|   "minimumCoreVersion" : "0.6.0", |   "minimumCoreVersion" : "0.6.0", | ||||||
|   "compatibleCoreVersion": "0.6.1", |   "compatibleCoreVersion": "0.6.1", | ||||||
|   "author": "LeRatierBretonnien", |   "author": "LeRatierBretonnien", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user