mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Updated to noVNC 1.3.0, #2603
This commit is contained in:
parent
a2ce9b8573
commit
112ebde4f2
75 changed files with 3712 additions and 60022 deletions
|
|
@ -20,11 +20,9 @@ export class Localizer {
|
|||
}
|
||||
|
||||
// Configure suitable language based on user preferences
|
||||
setup(supportedLanguages, language) {
|
||||
setup(supportedLanguages) {
|
||||
this.language = 'en'; // Default: US English
|
||||
|
||||
if (language != null) { this.language = language; return; }
|
||||
|
||||
/*
|
||||
* Navigator.languages only available in Chrome (32+) and FireFox (32+)
|
||||
* Fall back to navigator.language for other browsers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue