Add Chinese locale, fix audio device duplicates, remove display lock restriction

- Add Simplified Chinese (中文) locale with all 906 translation keys
- Fix duplicate audio devices: WASAPI two-pass enumerate avoids double-listing
  loopback endpoints; cross-engine dedup by (name, is_loopback) prefers
  higher-priority engine
- Remove redundant display lock check from capture template, picture source,
  and postprocessing template test endpoints — screen capture is read-only
  and concurrent access is safe

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 14:34:24 +03:00
parent 147ef3b4eb
commit a0c9cb0039
9 changed files with 977 additions and 86 deletions

View File

@@ -8,7 +8,8 @@ let _initialized = false;
const supportedLocales = {
'en': 'English',
'ru': 'Русский'
'ru': 'Русский',
'zh': '中文'
};
const fallbackTranslations = {