From 050460e2960ad1e103eff8a976d79f8800e29a7b Mon Sep 17 00:00:00 2001 From: Anselme Date: Tue, 18 Aug 2015 13:39:17 +0200 Subject: [PATCH] added some other cases --- app/poilaumodule.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/poilaumodule.cpp b/app/poilaumodule.cpp index ae91a93..3bd57e8 100644 --- a/app/poilaumodule.cpp +++ b/app/poilaumodule.cpp @@ -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))