1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

FRENCH: added "de" / "d'"

This commit is contained in:
Technochips
2022-07-05 23:16:56 +02:00
parent d69f4e868d
commit efa8567a2b
2 changed files with 5 additions and 3 deletions

View File

@@ -202,6 +202,7 @@ void genderrep(string& x, const string& w, const noun& N) {
}
else if(genus & GENF_ELISION)
{
rep(x, "%de"+w, s0+"d'"+N.nom);
rep(x, "%le"+w, s0+"l'"+N.nom);
rep(x, "%Le"+w, s0+"L'"+N.nom);
}
@@ -213,6 +214,7 @@ void genderrep(string& x, const string& w, const noun& N) {
rep(x, "%Le"+w, choose2(genus, "Le ", "La ")+N.nom);
rep(x, "%un"+w, choose2(genus, "un ", "une ")+N.nom);
rep(x, "%Un"+w, choose2(genus, "Un ", "Une ")+N.nom);
rep(x, "%de"+w, s0+"de "+N.nom);
rep(x, "%er"+w, choose2(genus, "er", "ère"));
rep(x, "%e"+w, choose2(genus, "", "e"));