mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-24 08:33:29 +02:00
Доработка функции для переключения языка (русский/английский)
This commit is contained in:
parent
c3849537f1
commit
656abd7184
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user