French -> English, translation of all french logs

This commit is contained in:
Alexandre CABANNE 2019-01-14 09:44:14 +01:00
parent 09e131aebc
commit 49f733b224
4 changed files with 24 additions and 24 deletions

View File

@ -52,7 +52,7 @@ public class Move implements Commande {
List<Role> roleUserList = user.getRoles();
logger.info("Roles de " + user.getEffectiveName() + ":");
logger.info("Roles of " + user.getEffectiveName() + ":");
//On les save
saveRoleUser = roleUserList;
@ -65,7 +65,7 @@ public class Move implements Commande {
//on fait ensuite les modif
guildController.modifyMemberRoles(user,cible).complete();
logger.info("Role " + cible + " attribuer a " + user.getEffectiveName());
logger.info("Give " + cible + " role to " + user.getEffectiveName());
this.user=user;
this.serveur=serveur;
@ -90,7 +90,7 @@ public class Move implements Commande {
if(userL.size()<1 ||roleL.size()<1)
{
logger.warn("Mention Incorect.");
logger.warn("Wrong mention.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getMoveError("Error, please check if the user and/or the role are existing.")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -102,10 +102,10 @@ public class Move implements Commande {
{
user = serveur.getMember(userL.get(0));
serveur=event.getGuild();
logger.info("Tentative de déplacement de "+user.getEffectiveName()+" vers "+roleL+" par l'utilisateur "+event.getAuthor().getName());
logger.info("Attempting role assignement for "+user.getEffectiveName()+" to "+roleL+" by "+event.getAuthor().getName());
logger.info("Autorisation suffisante, deplacement autorisé");
logger.debug("Utilisateur trouvée");
logger.info("Permission granted, role assignement authorized");
logger.debug("User found");
try {
boolean erreur=this.exc(user,roleL,true,serveur,serveur.getManager());
if(erreur)
@ -159,7 +159,7 @@ public class Move implements Commande {
}
else
{
logger.warn("Arguments maquants.");
logger.warn("Missing argument.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getMoveError("Missing argument.")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);

View File

@ -40,7 +40,7 @@ public class Settings implements Commande {
EmbedBuilder builder = new EmbedBuilder()
.setTitle("Settings")
.setDescription("You can do all the configuration on this web in the \"Bot Settings\" menu.\nhttps://"+MainBot.url).setColor(Color.green);
.setDescription("You can do all the configuration on the web page in the \"Bot Settings\" menu.\nhttps://"+MainBot.url).setColor(Color.green);
event.getTextChannel().sendMessage(EmbedMessageUtils.buildStandar(builder)).queue();

View File

@ -105,7 +105,7 @@ public class Spam implements Commande {
****************************/
if(userL.size()<1)
{
logger.error("Utilisateur introuvable.");
logger.error("User unknown.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError(":arrow_right: User not found. ","pardon")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -115,7 +115,7 @@ public class Spam implements Commande {
}
else {
Member user = userL.get(0);
logger.info("Tentative de pardon de " + user.getEffectiveName() + " par l'utilisateur " + event.getMember().getEffectiveName());
logger.info("Attempt to forgive " + user.getEffectiveName() + " by " + event.getMember().getEffectiveName());
/****************************
* virif si en spammer *
****************************/
@ -123,7 +123,7 @@ public class Spam implements Commande {
if (MainBot.spamUtils.get(user).isOnSpam()) {
MainBot.spamUtils.get(user).setOnSpam(false);
} else {
logger.warn("Utilisateur pas en spam.");
logger.warn("User is not in spam.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError(":arrow_right: This user is not in spam.","pardon")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -134,7 +134,7 @@ public class Spam implements Commande {
} else {
logger.warn("Utilisateur pas en spam.");
logger.warn("User is not in spam.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError(":arrow_right: This user is not in spam.","pardon")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -146,7 +146,7 @@ public class Spam implements Commande {
}
else
{
logger.warn("Argument manquant.");
logger.warn("Missing argument.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("Missing argument!","pardon")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -175,8 +175,8 @@ public class Spam implements Commande {
****************************/
if(userL.size()<1)
{
logger.warn("Mentionnement Incorect (Spam).");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("Bad mention. ","extermine")).complete();
logger.warn("Wrong mention (Spam).");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("Wrong mention. ","extermine")).complete();
}
else{
@ -200,7 +200,7 @@ public class Spam implements Commande {
}
else
{
logger.warn("Utilisateur deja en spam.");
logger.warn("User already in spam.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("User already in spam.","extermine")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -222,7 +222,7 @@ public class Spam implements Commande {
}
else
{
logger.warn("Argument manquant.");
logger.warn("Missing argument.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("Missing argument!","extermine")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -250,7 +250,7 @@ public class Spam implements Commande {
****************************/
if(userL.size()<1)
{
logger.warn("Utilisateur introuvable.");
logger.warn("User not found.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("User not found.","reset")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -261,15 +261,15 @@ public class Spam implements Commande {
}
else {
Member user = userL.get(0);
logger.info("Tentative de reset de " + user.getEffectiveName() + " par l'utilisateur " + event.getMember().getEffectiveName());
logger.info("Attempt spam reset of " + user.getEffectiveName() + " by " + event.getMember().getEffectiveName());
/****************************
* verif utilisteur trouver *
****************************/
if (MainBot.spamUtils.containsKey(user)) {
logger.info("Reset du multiplicateur de " + user.getEffectiveName() + " réussi");
Message rest = event.getTextChannel().sendMessage(event.getAuthor().getAsMention() + "\n *The multiplicator of " + user.getEffectiveName() + " is now down to zero.*").complete();
logger.info("Multiplictor reset for " + user.getEffectiveName() + " done.");
Message rest = event.getTextChannel().sendMessage(event.getAuthor().getAsMention() + "\n *The spam multiplicator of " + user.getEffectiveName() + " is now down to zero.*").complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
add(event.getMessage());
@ -283,7 +283,7 @@ public class Spam implements Commande {
}
else
{
logger.warn("Argument manquant.");
logger.warn("Missing argument.");
Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getSpamError("Missing argument!","reset")).complete();
List<Message> messages = new ArrayList<Message>(){{
add(rest);
@ -296,7 +296,7 @@ public class Spam implements Commande {
{
if (args[0].equals("all"))
{
logger.info("Reset automatique des multiplicateur.");
logger.info("Multiplicator reseted automaticly.");
for (Member unUser: MainBot.spamUtils.keySet() ) //=for(int i=0; i<saveRoleUser.size(); i++)
{
MainBot.message_compteur.remove(unUser);

View File

@ -36,7 +36,7 @@ public class Init {
//Bot démarrer sans token
if (token == null) {
logger.fatal("Veuilliez indiquer le token du bot en argument...");
logger.fatal("Please enter bot token as an argument.");
}
else
{