forked from public/foundryvtt-reve-de-dragon
Fix heure naissance et attaque sur véhicules
This commit is contained in:
@ -24,6 +24,11 @@ export class Grammar {
|
||||
return words?.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "") ?? words;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static toLowerCaseNoAccentNoSpace(words) {
|
||||
return words?.toLowerCase().normalize("NFD").replace(/[ \u0300-\u036f]/g, "") ?? words;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static articleDetermine(genre) {
|
||||
switch (Grammar.toLowerCaseNoAccent(genre)) {
|
||||
|
Reference in New Issue
Block a user