From 7eae30d0e1ea4325582bd3a6b0a7628674271258 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Fri, 7 Mar 2025 18:02:13 +0100 Subject: [PATCH] [mirotalksfu] - fix language --- app/src/Server.js | 2 +- package.json | 2 +- public/css/Translate.css | 18 ++++++++++++++++++ public/js/Brand.js | 2 +- public/js/Room.js | 4 ++-- public/js/RoomClient.js | 2 +- public/js/Translate.js | 3 +++ public/views/Room.html | 2 +- public/views/RtmpStreamer.html | 8 ++++---- public/views/login.html | 6 +++++- public/views/whoAreYou.html | 7 +++++-- 11 files changed, 42 insertions(+), 14 deletions(-) create mode 100644 public/css/Translate.css diff --git a/app/src/Server.js b/app/src/Server.js index cd227c57..333386e1 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -58,7 +58,7 @@ dev dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.7.70 + * @version 1.7.71 * */ diff --git a/package.json b/package.json index 0f6fe0c4..e90dc79d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.7.70", + "version": "1.7.71", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { diff --git a/public/css/Translate.css b/public/css/Translate.css new file mode 100644 index 00000000..cb3f8bcb --- /dev/null +++ b/public/css/Translate.css @@ -0,0 +1,18 @@ +/*-------------------------------------------------------------- +# Google Translate +--------------------------------------------------------------*/ + +.skiptranslate iframe, +.goog-te-banner-frame.skiptranslate, +.VIpgJd-ZVi9od-aZ2wEe-wOHMyf, +.VIpgJd-ZVi9od-aZ2wEe-OiiCO, +#goog-gt-tt, +#goog-gt-tt *, +#goog-gt-vt, +#goog-gt-vt * { + display: none !important; +} + +#google_translate_element { + display: none !important; +} diff --git a/public/js/Brand.js b/public/js/Brand.js index dc1a2208..c94615f2 100644 --- a/public/js/Brand.js +++ b/public/js/Brand.js @@ -64,7 +64,7 @@ let BRAND = { }, about: { imageUrl: '../images/mirotalk-logo.gif', - title: 'WebRTC SFU v1.7.70', + title: 'WebRTC SFU v1.7.71', html: ` +
diff --git a/public/views/login.html b/public/views/login.html index 8281f949..f3ff9cba 100644 --- a/public/views/login.html +++ b/public/views/login.html @@ -37,6 +37,7 @@ + @@ -58,8 +59,9 @@ - + + @@ -74,6 +76,8 @@ +
+