Merge branch 'fix-portées' into 'master'

Fix des portées et durées des pouvoirs

See merge request sasmira/swade-fr!14
This commit is contained in:
Sasmira 2021-04-12 14:55:02 +00:00
commit 11c9bc0f87

View File

@ -13,29 +13,29 @@ Hooks.once('init', () => {
Babele.get().registerConverters({ Babele.get().registerConverters({
"powers_duration": (duration) => { "powers_duration": (duration) => {
if ( duration == 'One hour') return 'Une heure'; if ( duration == 'One hour') return '1 heure';
if ( duration == 'Instant (slot); 5 (speed)') return 'Instantané (apathie); 5 (vitesse)'; if ( duration == 'Instant (slot); 5 (speed)') return 'Instantanée (apathie), 5 (vitesse)';
if ( duration == '(boost); Instant (lower)') return '5 (augmentation); Instantané (diminution)'; if ( duration == '(boost); Instant (lower)') return '5 (augmentation), Instantanée (diminution)';
if ( duration == 'Instant') return 'Instantanné'; if ( duration == 'Instant') return 'Instantannée';
if ( duration == 'Until the end of the victim\'s next turn') return 'Jusqu`à la fin du prochain tour de la cible'; if ( duration == 'Until the end of the victim\'s next turn') return 'Jusqu’à la fin du prochain tour de la victime';
if ( duration == 'A brief conversation of about five minutes') return 'Une brève conversation d\'environ 5 minutes'; if ( duration == 'A brief conversation of about five minutes') return 'Une brève conversation d\'environ 5 minutes';
if ( duration == '5 (detect), one hour (conceal)') return '5 (détection); une heure (dissimulation)'; if ( duration == '5 (detect), one hour (conceal)') return '5 (détection), 1 heure (dissimulation)';
if ( duration == 'Instant (Sound); 5 (Silence)') return 'Instantané (Son); 5 (Silence)'; if ( duration == 'Instant (Sound); 5 (Silence)') return 'Instantanée (son), 5 (silence)';
return duration; return duration;
}, },
"powers_range": (range) => { "powers_range": (range) => {
if ( range == 'Smarts x5 (Sound); Smarts (Silence)') if ( range == 'Smarts x5 (Sound); Smarts (Silence)')
return 'Intellect x5 (Son); Intellect (Silence)'; return 'Intellect ×5 (son), Intellect (silence)';
if ( range == "Cone Template") if ( range == "Cone Template")
return "Cône" return "Gabarit de cône"
if ( range == "Touch") if ( range == "Touch")
return "Toucher" return "Toucher"
if ( range == "Sm") if ( range == "Sm")
return "Ame mètres" return "Intellect"
if ( range == "Sm x 2" || range == "Sm x2") if ( range == "Sm x 2" || range == "Sm x2")
return "Ame mètres x 2" return "Intellect x2"
if ( range == "Self") if ( range == "Self")
return "Soi-même" return "Personnel"
return range; return range;
}, },
"powers_rank": (rank) => { "powers_rank": (rank) => {