Allow getting locales

This commit is contained in:
Nikolay Kochulin 2018-12-31 22:55:09 +03:00
parent c8adaaa0d4
commit 23dbd6ca17
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -8,6 +8,6 @@
"jetkarmabot.award.statustext": "{0} is at {1}{2} now.",
"jetkarmabot.status.listalltext": "Your badges report:",
"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.status.listalltext": "У вас :",
"jetkarmabot.status.listspecifictext": "У вас сейчас {0}{1}.",
"jetkarmabot.changelocale.noparams": "Простите, но я не могу говорить на нуллевом языке.",
"jetkarmabot.changelocale.justchanged": "хорошо"
"jetkarmabot.changelocale.justchanged": "хорошо",
"jetkarmabot.changelocale.getlocale": "Я сейчас говорю на языке \"Русский (Россия)\"."
}