Allow getting locales

This commit is contained in:
Basique Evangelist 2018-12-31 22:55:09 +03:00
parent fa2ad31963
commit 320cbdba5e
3 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ namespace JetKarmaBot.Commands
{ {
Client.SendTextMessageAsync( Client.SendTextMessageAsync(
args.Message.Chat.Id, args.Message.Chat.Id,
currentLocale["jetkarmabot.changelocale.noparams"], currentLocale["jetkarmabot.changelocale.getlocale"],
replyToMessageId: args.Message.MessageId); replyToMessageId: args.Message.MessageId);
return true; return true;
} }

View File

@ -8,6 +8,6 @@
"jetkarmabot.award.statustext": "{0} is at {1}{2} now.", "jetkarmabot.award.statustext": "{0} is at {1}{2} now.",
"jetkarmabot.status.listalltext": "Your badges report:", "jetkarmabot.status.listalltext": "Your badges report:",
"jetkarmabot.status.listspecifictext": "You are at {0}{1} now.", "jetkarmabot.status.listspecifictext": "You are at {0}{1} now.",
"jetkarmabot.changelocale.noparams": "Sorry, but I don't speak the null language.", "jetkarmabot.changelocale.justchanged": "good",
"jetkarmabot.changelocale.justchanged": "good" "jetkarmabot.changelocale.getlocale": "I'm currently speaking in English (Simplified)."
} }

View File

@ -8,6 +8,6 @@
"jetkarmabot.award.statustext": "У {0} теперь {1}{2}.", "jetkarmabot.award.statustext": "У {0} теперь {1}{2}.",
"jetkarmabot.status.listalltext": "У вас :", "jetkarmabot.status.listalltext": "У вас :",
"jetkarmabot.status.listspecifictext": "У вас сейчас {0}{1}.", "jetkarmabot.status.listspecifictext": "У вас сейчас {0}{1}.",
"jetkarmabot.changelocale.noparams": "Простите, но я не могу говорить на нуллевом языке.", "jetkarmabot.changelocale.justchanged": "хорошо",
"jetkarmabot.changelocale.justchanged": "хорошо" "jetkarmabot.changelocale.getlocale": "Я сейчас говорю на языке \"Русский (Россия)\"."
} }