From e0b94b51abcc08a472a6eb17bd7bfb0c9befc33a Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 20 Jan 2023 17:23:06 +0000 Subject: [PATCH 1/8] Translated using Weblate (Japanese) Currently translated at 72.3% (102 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/ja/ --- public/locales/ja/app.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/locales/ja/app.json b/public/locales/ja/app.json index fd876f1..b918bd1 100644 --- a/public/locales/ja/app.json +++ b/public/locales/ja/app.json @@ -90,6 +90,9 @@ "Video": "ビデオ", "Waiting for other participants…": "他の参加者を待機しています…", "Waiting for network": "ネットワークを待機しています", - "Walkie-talkie call name": "トランシーバー通話の名前", - "Walkie-talkie call": "トランシーバー通話" + "Walkie-talkie call name": "トランシーバー通話の名称", + "Walkie-talkie call": "トランシーバー通話", + "Camera {{n}}": "カメラ {{n}}", + "{{name}} is talking…": "{{name}}が話しています…", + "Yes, join call": "はい、通話に参加" } From 0f73527ccf208f3cbc0ef8da7b1b809d5cfaaaa1 Mon Sep 17 00:00:00 2001 From: Genbuchan Date: Fri, 20 Jan 2023 17:22:07 +0000 Subject: [PATCH 2/8] Translated using Weblate (Japanese) Currently translated at 72.3% (102 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/ja/ --- public/locales/ja/app.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/locales/ja/app.json b/public/locales/ja/app.json index b918bd1..5f28141 100644 --- a/public/locales/ja/app.json +++ b/public/locales/ja/app.json @@ -94,5 +94,11 @@ "Walkie-talkie call": "トランシーバー通話", "Camera {{n}}": "カメラ {{n}}", "{{name}} is talking…": "{{name}}が話しています…", - "Yes, join call": "はい、通話に参加" + "Yes, join call": "はい、通話に参加", + "Spatial audio": "空間オーディオ", + "Select an option": "オプションを選択", + "Debug log request": "デバッグログを要求", + "Your recent calls": "最近の通話", + "You can't talk at the same time": "同時に会話することはできません", + "WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。" } From 24fea189dcba5a8c73a5c8138e21d7e197906fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 21 Jan 2023 17:39:15 +0000 Subject: [PATCH 3/8] Translated using Weblate (Czech) Currently translated at 100.0% (141 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/cs/ --- public/locales/cs/app.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/locales/cs/app.json b/public/locales/cs/app.json index 8afdb2c..70226c4 100644 --- a/public/locales/cs/app.json +++ b/public/locales/cs/app.json @@ -136,5 +136,8 @@ "<0>Why not finish by setting up a password to keep your account?<1>You'll be able to keep your name and set an avatar for use on future calls": "<0>Proč neskončit nastavením hesla, abyste mohli účet použít znovu?<1>Budete si moci nechat své jméno a nastavit si avatar pro budoucí hovory ", "<0>Join call now<1>Or<2>Copy call link and join later": "<0>Připojit se<1>Or<2>Zkopírovat odkaz a připojit se později", "<0>Already have an account?<1><0>Log in Or <2>Access as a guest": "<0>Už máte účet?<1><0>Přihlásit se Or <2>Jako host", - "{{name}} (Waiting for video...)": "{{name}} (Čekání na video...)" + "{{name}} (Waiting for video...)": "{{name}} (Čekání na video...)", + "This feature is only supported on Firefox.": "Tato funkce je podporována jen ve Firefoxu.", + "<0>Submitting debug logs will help us track down the problem.": "<0>Odeslání ladících záznamů nám pomůže diagnostikovat problém.", + "<0>Oops, something's gone wrong.": "<0>Oops, něco se pokazilo." } From 14a5e53e650eccff2e762a409ad3df558036ea86 Mon Sep 17 00:00:00 2001 From: afr4283 Date: Tue, 24 Jan 2023 10:47:30 +0000 Subject: [PATCH 4/8] Translated using Weblate (Polish) Currently translated at 97.1% (137 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/pl/ --- public/locales/pl/app.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/public/locales/pl/app.json b/public/locales/pl/app.json index e496048..0fdee20 100644 --- a/public/locales/pl/app.json +++ b/public/locales/pl/app.json @@ -124,5 +124,16 @@ "{{name}} is talking…": "{{name}} mówi…", "{{name}} is presenting": "{{name}} prezentuje", "{{displayName}}, your call is now ended": "{{displayName}}, twoje połączenie zostało zakończone", - "{{count}} people connected|one": "{{count}} osoba połączona" + "{{count}} people connected|one": "{{count}} osoba połączona", + "Whether to enable single-key keyboard shortcuts, e.g. 'm' to mute/unmute the mic.": "Czy włączyć skróty klawiszowe pojedynczych klawiszy, np. 'm' aby wyciszyć/załączyć mikrofon.", + "This feature is only supported on Firefox.": "Ta funkcjonalność jest dostępna tylko w Firefox.", + "Single-key keyboard shortcuts": "Skróty klawiszowe (pojedyncze klawisze)", + "Copy": "Kopiuj", + "Allow analytics": "Zezwól na analitykę", + "Advanced": "Zaawansowane", + "<0>Submitting debug logs will help us track down the problem.": "<0>Wysłanie logów debuggowania pomoże nam ustalić przyczynę problemu.", + "<0>Oops, something's gone wrong.": "<0>Ojej, coś poszło nie tak.", + "<0>Join call now<1>Or<2>Copy call link and join later": "<0>Dołącz do rozmowy teraz<1>Or<2>Skopiuj link do rozmowy i dołącz później", + "{{name}} (Waiting for video...)": "{{name}} (Oczekiwanie na wideo...)", + "{{name}} (Connecting...)": "{{name}} (Łączenie...)" } From 32fb14107f2942757525d76b730a1d838fb7c245 Mon Sep 17 00:00:00 2001 From: DarkCoder15 Date: Thu, 26 Jan 2023 15:30:58 +0000 Subject: [PATCH 5/8] Translated using Weblate (Russian) Currently translated at 100.0% (141 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/ru/ --- public/locales/ru/app.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/public/locales/ru/app.json b/public/locales/ru/app.json index a73f562..b113bbf 100644 --- a/public/locales/ru/app.json +++ b/public/locales/ru/app.json @@ -132,6 +132,12 @@ "Copy": "Копировать", "Allow analytics": "Разрешить аналитику", "Advanced": "Расширенные", - "<0>Join call now<1>Or<2>Copy call link and join later": "<0>Присоединиться сейчас<1>или<1><2>Скопировать ссылку на звонок и присоединиться позже", - "{{name}} (Connecting...)": "{{name}} (Соединение...)" + "<0>Join call now<1>Or<2>Copy call link and join later": "<0>Присоединиться сейчас<1>или<1><2>cкопировать ссылку на звонок и присоединиться позже", + "{{name}} (Connecting...)": "{{name}} (Соединение...)", + "Whether to enable single-key keyboard shortcuts, e.g. 'm' to mute/unmute the mic.": "Включить горячие клавиши, например 'm' чтобы отключить/включить микрофон.", + "This feature is only supported on Firefox.": "Эта возможность доступна только в Firefox.", + "Single-key keyboard shortcuts": "Горячие клавиши", + "<0>Submitting debug logs will help us track down the problem.": "<0>Отправка журналов поможет нам найти и устранить проблему.", + "<0>Oops, something's gone wrong.": "<0>Упс, что-то пошло не так.", + "{{name}} (Waiting for video...)": "{{name}} (Ожидание видео...)" } From b4c6684ff5e10fa305b989928b5c3f25fc01f604 Mon Sep 17 00:00:00 2001 From: Genbuchan Date: Mon, 30 Jan 2023 18:24:57 +0000 Subject: [PATCH 6/8] Translated using Weblate (Japanese) Currently translated at 74.4% (105 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/ja/ --- public/locales/ja/app.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/locales/ja/app.json b/public/locales/ja/app.json index 5f28141..9b00f7a 100644 --- a/public/locales/ja/app.json +++ b/public/locales/ja/app.json @@ -100,5 +100,6 @@ "Debug log request": "デバッグログを要求", "Your recent calls": "最近の通話", "You can't talk at the same time": "同時に会話することはできません", - "WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。" + "WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。", + "Login to your account": "お持ちのアカウントでログイン" } From 82f2fd05b58a68ea6b542d9a6e0c5726acbf3bfc Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 30 Jan 2023 18:24:46 +0000 Subject: [PATCH 7/8] Translated using Weblate (Japanese) Currently translated at 74.4% (105 of 141 strings) Translation: Element Call/element-call Translate-URL: https://translate.element.io/projects/element-call/element-call/ja/ --- public/locales/ja/app.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/locales/ja/app.json b/public/locales/ja/app.json index 9b00f7a..7197416 100644 --- a/public/locales/ja/app.json +++ b/public/locales/ja/app.json @@ -101,5 +101,7 @@ "Your recent calls": "最近の通話", "You can't talk at the same time": "同時に会話することはできません", "WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。", - "Login to your account": "お持ちのアカウントでログイン" + "Login to your account": "お持ちのアカウントでログイン", + "Freedom": "自由", + "{{displayName}}, your call is now ended": "{{displayName}}、通話が終了しました" } From e1abbd52919952f4055694811aee3f7867ed1056 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 2 Feb 2023 12:49:54 +0000 Subject: [PATCH 8/8] Yarn upgrade Along with some type fixes to make typescript happy again. Hopefully they are sensible. --- src/Menu.tsx | 11 +- src/Modal.tsx | 4 +- src/room/PTTFeed.tsx | 2 +- yarn.lock | 5564 ++++++++++++++++++++---------------------- 4 files changed, 2624 insertions(+), 2957 deletions(-) diff --git a/src/Menu.tsx b/src/Menu.tsx index 0a995af..93b8822 100644 --- a/src/Menu.tsx +++ b/src/Menu.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { Key, useRef, useState } from "react"; +import React, { Key, ReactNode, useRef, useState } from "react"; import { AriaMenuOptions, useMenu, useMenuItem } from "@react-aria/menu"; import { TreeState, useTreeState } from "@react-stately/tree"; import { mergeProps } from "@react-aria/utils"; @@ -25,10 +25,11 @@ import { Node } from "@react-types/shared"; import styles from "./Menu.module.css"; interface MenuProps extends AriaMenuOptions { - className?: String; + className?: string; onClose?: () => void; onAction: (value: Key) => void; label?: string; + children: ReactNode; } export function Menu({ @@ -38,7 +39,11 @@ export function Menu({ label, ...rest }: MenuProps) { - const state = useTreeState({ ...rest, selectionMode: "none" }); + const state = useTreeState({ + ...rest, + selectionMode: "none", + children: undefined, + }); const menuRef = useRef(); const { menuProps } = useMenu(rest, state, menuRef); diff --git a/src/Modal.tsx b/src/Modal.tsx index 2665e11..7cb7e59 100644 --- a/src/Modal.tsx +++ b/src/Modal.tsx @@ -32,13 +32,13 @@ import { useDialog } from "@react-aria/dialog"; import { FocusScope } from "@react-aria/focus"; import { ButtonAria, useButton } from "@react-aria/button"; import classNames from "classnames"; -import { AriaDialogProps } from "@react-types/dialog"; +import { SpectrumDialogProps } from "@react-types/dialog"; import { useTranslation } from "react-i18next"; import { ReactComponent as CloseIcon } from "./icons/Close.svg"; import styles from "./Modal.module.css"; -export interface ModalProps extends OverlayProps, AriaDialogProps { +export interface ModalProps extends OverlayProps, SpectrumDialogProps { title: string; children: ReactNode; className?: string; diff --git a/src/room/PTTFeed.tsx b/src/room/PTTFeed.tsx index 49a40e0..389badb 100644 --- a/src/room/PTTFeed.tsx +++ b/src/room/PTTFeed.tsx @@ -30,5 +30,5 @@ export function PTTFeed({ }) { const { isLocal, stream } = useCallFeed(callFeed); const mediaRef = useMediaStream(stream, audioOutputDevice, isLocal); - return