Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(lang) add upper sorbian to transcription languages
zobadanield49a41928403
diff --git a/lang/translation-languages.json b/lang/translation-languages.jsonindex f4a4a9f485..e8e505e473 100644--- a/lang/translation-languages.json+++ b/lang/translation-languages.json@@ -34,6 +34,7 @@"hi": "Hindi","hmn": "Hmong","hr": "Croatian",+ "hsb": "Upper Sorbian","ht": "Haitian Creole","hu": "Hungarian","hy": "Armenian",diff --git a/react/features/subtitles/middleware.ts b/react/features/subtitles/middleware.tsindex 4971a47bc6..07a29e8a6d 100644--- a/react/features/subtitles/middleware.ts+++ b/react/features/subtitles/middleware.ts@@ -172,8 +172,11 @@ function _endpointMessageReceived(store: IStore, next: Function, action: AnyActi}}- // If the suer is not requesting transcriptions just bail.- if (json.language.slice(0, 2) !== language) {+ // If the user is not requesting transcriptions just bail.+ // Regex to filter out all possible country codes after language code:+ // this should catch all notations like 'en-GB' 'en_GB' and 'enGB'+ // and be independent of the country code length+ if (json.language.replace(/[-_A-Z].*/, '') !== language) {return next(action);}diff --git a/react/features/transcribing/jitsi-bcp47-map.json b/react/features/transcribing/jitsi-bcp47-map.jsonindex 80e025b820..e3265c692b 100644--- a/react/features/transcribing/jitsi-bcp47-map.json+++ b/react/features/transcribing/jitsi-bcp47-map.json@@ -20,6 +20,7 @@"hi": "hi-IN","mr": "mr-IN","hr": "hr-HR",+ "hsb": "hsb-DE","hu": "hu-HU","hy": "hy-AM","id": "id-ID",diff --git a/react/features/transcribing/transcriber-langs.json b/react/features/transcribing/transcriber-langs.jsonindex f277b53ebd..406fc51d95 100644--- a/react/features/transcribing/transcriber-langs.json+++ b/react/features/transcribing/transcriber-langs.json@@ -45,6 +45,7 @@"is-IS": "Icelandic (Iceland)","it-IT": "Italian (Italy)","lt-LT": "Lithuanian (Lithuania)",+ "hsb-DE": "Upper Sorbian (Germany)","hu-HU": "Hungarian (Hungary)","nl-NL": "Dutch (Netherlands)","no-NO": "Norwegian Bokmål (Norway)",