1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-24 08:33:29 +02:00

Доработка функции для переключения языка (русский/английский)

This commit is contained in:
salexdv 2022-02-05 09:27:36 +03:00
parent c3849537f1
commit 656abd7184

View File

@ -212,8 +212,13 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
}
switchLang = function () {
engLang = !engLang;
switchLang = function (language) {
if (language == undefined)
engLang = !engLang;
else
engLang = (language == 'en');
}
addComment = function () {