#31 - Various translation fixes

This commit is contained in:
sladecraven 2021-04-29 09:01:22 +02:00
parent caba5fa787
commit 8bc9a11d9f
6 changed files with 20 additions and 7 deletions

View File

@ -213,6 +213,7 @@ Hooks.once('init', () => {
var len = skills_list.length; var len = skills_list.length;
var re = /(.*)\((.*)\)/i; var re = /(.*)\((.*)\)/i;
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
skills_list[i] = skills_list[i].trim();
var transl = compendium.i18nName( { name: skills_list[i] } ); var transl = compendium.i18nName( { name: skills_list[i] } );
//console.log("List ...", skills_list[i]); //console.log("List ...", skills_list[i]);
if ( transl == skills_list[i] ) { if ( transl == skills_list[i] ) {

View File

@ -526,7 +526,7 @@
{ {
"effects": [], "effects": [],
"id": "Flask of Spirits", "id": "Flask of Spirits",
"name": "Fasque de Liqueur" "name": "Flasque de Liqueur"
}, },
{ {
"description": "", "description": "",

View File

@ -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": "1.5.4", "version": "1.5.5",
"minimumCoreVersion" : "0.7.1", "minimumCoreVersion" : "0.7.1",
"compatibleCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9",
"author": "LeRatierBretonnien", "author": "LeRatierBretonnien",

View File

@ -70,7 +70,7 @@ export class WH4FRPatchConfig {
"Langue (Eltharin)", "Langue (Eltharin)",
"Commandement", "Commandement",
"Corps à corps (Base)", "Corps à corps (Base)",
"Navigation", "Orientation",
"Perception", "Perception",
"Musicien (Au choix)", "Musicien (Au choix)",
"Projectiles (Arc)", "Projectiles (Arc)",
@ -109,7 +109,7 @@ export class WH4FRPatchConfig {
"halfling": [ "halfling": [
"Sens Aiguisé (Gout)", "Sens Aiguisé (Gout)",
"Vision Nocturne", "Vision Nocturne",
"Resistant (Chaos)", "Résistant (Chaos)",
"Petit", "Petit",
2 2
], ],
@ -125,7 +125,7 @@ export class WH4FRPatchConfig {
"Sens Aiguisé (Sight)", "Sens Aiguisé (Sight)",
"Dur à cuire, Seconde Vue", "Dur à cuire, Seconde Vue",
"Vision Nocturne", "Vision Nocturne",
"Seconde Vue, Sixth Sense", "Seconde Vue, Sixième Sens",
"Lire/Ecrire", "Lire/Ecrire",
0 0
], ],

File diff suppressed because one or more lines are too long

View File

@ -65,7 +65,7 @@
"name": "Lire/Ecrire", "name": "Lire/Ecrire",
"range": [21, 21] "range": [21, 21]
}, { }, {
"name": "Resistant (au choix)", "name": "Résistant (au choix)",
"range": [22, 22] "range": [22, 22]
}, { }, {
"name": "Perspicace", "name": "Perspicace",