added some other cases

This commit is contained in:
Anselme 2015-08-18 13:39:17 +02:00
parent 1935703d07
commit 050460e296

View File

@ -13,6 +13,8 @@ bool PoilAuModule::messageHandler(Message msg)
if(msg.args.endsWith("eu", Qt::CaseInsensitive))
voy = VOY_E;
if(msg.args.endsWith("eux", Qt::CaseInsensitive))
voy = VOY_E;
else if(msg.args.endsWith("au", Qt::CaseInsensitive))
voy = VOY_O;
else if(msg.args.endsWith("ou", Qt::CaseInsensitive))
@ -25,6 +27,14 @@ bool PoilAuModule::messageHandler(Message msg)
else if(msg.args.endsWith("o", Qt::CaseInsensitive))
voy = VOY_O;
if(msg.args.endsWith("ait", Qt::CaseInsensitive))
voy = VOY_AI;
else if(msg.args.endsWith("it", Qt::CaseInsensitive))
voy = VOY_I;
if(msg.args.endsWith("ais", Qt::CaseInsensitive))
voy = VOY_AI;
else if(msg.args.endsWith("is", Qt::CaseInsensitive))
voy = VOY_I;
if(msg.args.endsWith("ai", Qt::CaseInsensitive))
voy = VOY_AI;
else if(msg.args.endsWith("i", Qt::CaseInsensitive))
@ -42,6 +52,8 @@ bool PoilAuModule::messageHandler(Message msg)
voy = VOY_EN;
if(msg.args.endsWith("en", Qt::CaseInsensitive))
voy = VOY_EN;
if(msg.args.endsWith("ment", Qt::CaseInsensitive))
voy = VOY_EN;
if(msg.args.endsWith("in", Qt::CaseInsensitive))
voy = VOY_IN;
if(msg.args.endsWith("a", Qt::CaseInsensitive))