mirror of
https://github.com/vector-im/element-call.git
synced 2026-11-04 00:42:28 +00:00
Compare commits
584
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5733e8274 | ||
|
|
9e190e9e57 | ||
|
|
f287fb3800 | ||
|
|
f9b601504b | ||
|
|
81233e5cfb | ||
|
|
fbce73ae55 | ||
|
|
ce79274ccc | ||
|
|
8db2e8ac41 | ||
|
|
12352b94f5 | ||
|
|
e393b6a984 | ||
|
|
3f63a6fc3c | ||
|
|
addc1b10a0 | ||
|
|
ee0d7dc0cb | ||
|
|
7b1f3f28ed | ||
|
|
8c44ecd61b | ||
|
|
7d92ddf0c9 | ||
|
|
5c497cc6a8 | ||
|
|
b7bd7d18b2 | ||
|
|
b4b72432b9 | ||
|
|
ac1f5e2c8c | ||
|
|
98d77cc816 | ||
|
|
d5812ddd34 | ||
|
|
cf7c275fb7 | ||
|
|
93b2661513 | ||
|
|
1f84cb9c5c | ||
|
|
4269aaa163 | ||
|
|
bc62bb9565 | ||
|
|
be56bbd05b | ||
|
|
eb44fd545d | ||
|
|
c9f911b7c9 | ||
|
|
3a189d155b | ||
|
|
0211d5c367 | ||
|
|
c88f884fc9 | ||
|
|
9f7c35cd8f | ||
|
|
ac81a7c0ab | ||
|
|
8ebb0b5a90 | ||
|
|
03f81bcd64 | ||
|
|
9f6c8bb434 | ||
|
|
f56c74adf9 | ||
|
|
3c88d217f2 | ||
|
|
967a06ba39 | ||
|
|
71593f1a24 | ||
|
|
5d38a13c46 | ||
|
|
fe91162869 | ||
|
|
74328d7e42 | ||
|
|
6046337877 | ||
|
|
16b2c31ebb | ||
|
|
a58a5f615f | ||
|
|
2cac2d7e8b | ||
|
|
1695d3f518 | ||
|
|
96a2e9b481 | ||
|
|
23ba8f3204 | ||
|
|
b284bb00c0 | ||
|
|
cb0ae89143 | ||
|
|
344aac21f9 | ||
|
|
21d7f24f61 | ||
|
|
029622f07b | ||
|
|
251535d371 | ||
|
|
5c6fa7c864 | ||
|
|
be4023dd66 | ||
|
|
be5f3390f7 | ||
|
|
59ef5f5400 | ||
|
|
dbd2423e7b | ||
|
|
2ac95df75f | ||
|
|
7821b465a5 | ||
|
|
b90ed5bdf7 | ||
|
|
1d7e2288f7 | ||
|
|
61eeb8171a | ||
|
|
426acd222e | ||
|
|
cff8766aa6 | ||
|
|
5cfe7ea4df | ||
|
|
d38daef567 | ||
|
|
09782a4d84 | ||
|
|
839e36abd4 | ||
|
|
3485ce47bc | ||
|
|
273ee3b632 | ||
|
|
486ecbfda0 | ||
|
|
b722cc277e | ||
|
|
f994586eeb | ||
|
|
b7285064fd | ||
|
|
f5a94ce702 | ||
|
|
3dc7cfe10b | ||
|
|
f70fba1dd6 | ||
|
|
8e8bc5ddde | ||
|
|
d18e82c546 | ||
|
|
779ee7a008 | ||
|
|
7cd21476f7 | ||
|
|
f0359259f9 | ||
|
|
7137e6ec14 | ||
|
|
6ae4f0539a | ||
|
|
bc58aed0d7 | ||
|
|
608f107f8d | ||
|
|
a010cc983f | ||
|
|
00d0adc3c4 | ||
|
|
ddc5a50529 | ||
|
|
27734a1a02 | ||
|
|
489c1af426 | ||
|
|
365204d04c | ||
|
|
14c61db43d | ||
|
|
65e1b845a7 | ||
|
|
6a9583a2ce | ||
|
|
eddd95ba41 | ||
|
|
a376280c91 | ||
|
|
1e9a5cfa20 | ||
|
|
d204b36b55 | ||
|
|
a03f23e720 | ||
|
|
210d94af18 | ||
|
|
218ee46b7d | ||
|
|
38c28a1c8f | ||
|
|
f5458bb03e | ||
|
|
70f6e785ce | ||
|
|
0ad31cfc4d | ||
|
|
bae8da3ddc | ||
|
|
b22eba7af9 | ||
|
|
cd7510e054 | ||
|
|
054913d17d | ||
|
|
dee4b05695 | ||
|
|
b1393998a7 | ||
|
|
2ab2197c01 | ||
|
|
ace78de749 | ||
|
|
0b95fd5a65 | ||
|
|
f8f5caaa09 | ||
|
|
3361ce2b60 | ||
|
|
c0a54dcaf9 | ||
|
|
9f5fa6049f | ||
|
|
db0f6837ce | ||
|
|
bf5482db8c | ||
|
|
2e5b5cb186 | ||
|
|
8060d10fcc | ||
|
|
979b521563 | ||
|
|
a166fbbd08 | ||
|
|
856e055d30 | ||
|
|
1bfb018d90 | ||
|
|
ebb7fe07b7 | ||
|
|
d765267c43 | ||
|
|
698a98a9c8 | ||
|
|
873dfdbfbd | ||
|
|
2db24e2868 | ||
|
|
e68d1d1b5f | ||
|
|
b7efa02adc | ||
|
|
c807b8ef7d | ||
|
|
6b5f396e1e | ||
|
|
182be8676d | ||
|
|
f6f47ede62 | ||
|
|
eb117249d1 | ||
|
|
f28d9e9b06 | ||
|
|
bc6c232ef0 | ||
|
|
8e78ac76bd | ||
|
|
d8d70812b8 | ||
|
|
6e44332fd1 | ||
|
|
bc6015eff2 | ||
|
|
0dca5835f6 | ||
|
|
0a8c24bca8 | ||
|
|
7485b3d71f | ||
|
|
efdee7dcdb | ||
|
|
d7d3dcde58 | ||
|
|
9330b907fc | ||
|
|
256ff7a0b6 | ||
|
|
6ddcc15206 | ||
|
|
a56e934841 | ||
|
|
efde51b8c1 | ||
|
|
2a7c6c3c06 | ||
|
|
5bab17b668 | ||
|
|
d7d28a1b55 | ||
|
|
790bd1e2bf | ||
|
|
17231e545c | ||
|
|
17d9d19c91 | ||
|
|
3d37abf490 | ||
|
|
92f504d886 | ||
|
|
b0d098e065 | ||
|
|
a526a8ae19 | ||
|
|
1146d3820a | ||
|
|
a4dda428f5 | ||
|
|
5982586f24 | ||
|
|
e6b4aae714 | ||
|
|
ede29bdf1b | ||
|
|
b5b2bd2193 | ||
|
|
21ca382306 | ||
|
|
25e379546e | ||
|
|
0443ef55d1 | ||
|
|
465c413691 | ||
|
|
06b9105cee | ||
|
|
2b5979162a | ||
|
|
5399f14012 | ||
|
|
f2ffb06f6c | ||
|
|
6cf0e1df51 | ||
|
|
bfa20ef747 | ||
|
|
5955d22c1b | ||
|
|
ce4426858b | ||
|
|
4ec75ecda4 | ||
|
|
b51a33c4e1 | ||
|
|
c3837464a3 | ||
|
|
e7372d4c03 | ||
|
|
69eddd7846 | ||
|
|
de3e4c6a78 | ||
|
|
3abc5a0435 | ||
|
|
8e20d48b1d | ||
|
|
ff57c217aa | ||
|
|
b60e7452b7 | ||
|
|
1c03ad335c | ||
|
|
87873b726f | ||
|
|
3448a3a2ef | ||
|
|
c625fb8845 | ||
|
|
cab9698fc7 | ||
|
|
7410bd8a82 | ||
|
|
f17670b731 | ||
|
|
33a0653ea5 | ||
|
|
b1c29e9a41 | ||
|
|
ad92892063 | ||
|
|
1a827e0930 | ||
|
|
a1b37bb3c9 | ||
|
|
061d25a54c | ||
|
|
b554fa63d1 | ||
|
|
b5bcb9aeed | ||
|
|
3d3e6dcdcc | ||
|
|
9999a755dd | ||
|
|
43ce68e80a | ||
|
|
6d5f698357 | ||
|
|
64a5b2ee5c | ||
|
|
9857ed53e3 | ||
|
|
0aa9d94826 | ||
|
|
f2622f0032 | ||
|
|
c0d5f2d470 | ||
|
|
4a5141406e | ||
|
|
b036d1c0c0 | ||
|
|
0cfe6cb03d | ||
|
|
8be8cf08bf | ||
|
|
9a772131b6 | ||
|
|
1cdd5d8db0 | ||
|
|
fc9e13c922 | ||
|
|
580897730a | ||
|
|
6f7dac31d6 | ||
|
|
78e4881c37 | ||
|
|
1bb342e9e1 | ||
|
|
7ca68fb5bd | ||
|
|
72e7e0f406 | ||
|
|
94a1d87813 | ||
|
|
fee54a09c3 | ||
|
|
72a327f12f | ||
|
|
7f8d8027dc | ||
|
|
cbc12b0365 | ||
|
|
414ae266ab | ||
|
|
ecca5e1e13 | ||
|
|
1d12e10628 | ||
|
|
89cabf9fa2 | ||
|
|
7ca8059b0f | ||
|
|
29ea90f800 | ||
|
|
426ea30fe1 | ||
|
|
7d6a0da6a9 | ||
|
|
ea31f073a7 | ||
|
|
b0d08cb0b5 | ||
|
|
88e5a5badb | ||
|
|
296c735500 | ||
|
|
341c508a42 | ||
|
|
78e585c5f4 | ||
|
|
81da4c9093 | ||
|
|
064a88b9c7 | ||
|
|
14fd8c179b | ||
|
|
4a146ebada | ||
|
|
a6a02778a1 | ||
|
|
662259154a | ||
|
|
978ffee183 | ||
|
|
3ace4ab5a3 | ||
|
|
2d64cf4b30 | ||
|
|
87aee1c02c | ||
|
|
f7cf674152 | ||
|
|
9d5ca297e3 | ||
|
|
c90d1d8dda | ||
|
|
dd59519a85 | ||
|
|
33fc8997f8 | ||
|
|
8aead74ab9 | ||
|
|
1e128c4da0 | ||
|
|
eb65a28a75 | ||
|
|
9d400323d0 | ||
|
|
6d7d3093b3 | ||
|
|
2b07e9e822 | ||
|
|
7ae1fc6cd8 | ||
|
|
e1df71817a | ||
|
|
608695fc95 | ||
|
|
a08a577e18 | ||
|
|
55b2d2b130 | ||
|
|
5b84b2c04d | ||
|
|
3af0744324 | ||
|
|
07567ed31d | ||
|
|
d6e097476e | ||
|
|
540eb306f4 | ||
|
|
f62428ba0d | ||
|
|
d579169d54 | ||
|
|
8daaa649eb | ||
|
|
2d5a4eefec | ||
|
|
d550430c8a | ||
|
|
78724acfcf | ||
|
|
20c7112812 | ||
|
|
a7c996f3ea | ||
|
|
4fbcbb4849 | ||
|
|
74102ac6c2 | ||
|
|
11a6fa9b45 | ||
|
|
507a6f29a5 | ||
|
|
e725bc5de3 | ||
|
|
c15d4c50a1 | ||
|
|
e1bc4a096b | ||
|
|
b524de9298 | ||
|
|
bfb5fb922f | ||
|
|
3f4d55343a | ||
|
|
73d8d2c2c3 | ||
|
|
fcfe73c50d | ||
|
|
ffb6b0a5f6 | ||
|
|
5564015a8b | ||
|
|
62eeb10d38 | ||
|
|
2de7fdde10 | ||
|
|
5a96d1769e | ||
|
|
a443a55bec | ||
|
|
9b2d9fdd1f | ||
|
|
05ad9b2475 | ||
|
|
7962d02be5 | ||
|
|
5c35288162 | ||
|
|
aa6732da19 | ||
|
|
65ac11e952 | ||
|
|
0b21cff020 | ||
|
|
062e0a00fb | ||
|
|
53ae78c609 | ||
|
|
b046c4b569 | ||
|
|
46cb89b232 | ||
|
|
e20abb19fb | ||
|
|
bf76f47357 | ||
|
|
9c2d3d067d | ||
|
|
ae7ede3201 | ||
|
|
e5ff431b7a | ||
|
|
66a676f2f5 | ||
|
|
d33dedd038 | ||
|
|
1f2837f86a | ||
|
|
927cf68110 | ||
|
|
cd72ad0008 | ||
|
|
2d2e85e340 | ||
|
|
4da1b9a02a | ||
|
|
73758f7f77 | ||
|
|
c433c36687 | ||
|
|
3e9d7b7cf7 | ||
|
|
2a56d2afb8 | ||
|
|
bff41ad66a | ||
|
|
1d088911e1 | ||
|
|
f23eb96555 | ||
|
|
0d4e7defb6 | ||
|
|
023aec22ca | ||
|
|
bf4cee9898 | ||
|
|
147ff131f4 | ||
|
|
3e5edd03a6 | ||
|
|
0afefa4889 | ||
|
|
49a762832b | ||
|
|
3cf5cab1d2 | ||
|
|
5968554e4c | ||
|
|
8d826b2f31 | ||
|
|
32e30dd4f5 | ||
|
|
bb06905aa2 | ||
|
|
2684fa1d62 | ||
|
|
de75a69cad | ||
|
|
f2c42c314c | ||
|
|
4b50a191ba | ||
|
|
11fadebb87 | ||
|
|
943ce5b853 | ||
|
|
137093350b | ||
|
|
000ee66cfe | ||
|
|
58a8b7316e | ||
|
|
1e6d3d3357 | ||
|
|
9f681b87a0 | ||
|
|
dc21233767 | ||
|
|
27315a7090 | ||
|
|
bebe79d109 | ||
|
|
4ca0270115 | ||
|
|
374f56651c | ||
|
|
eefa6f843d | ||
|
|
2b84c587f2 | ||
|
|
706cddafb0 | ||
|
|
a6921e2bfb | ||
|
|
3cc396f42c | ||
|
|
59999b9b37 | ||
|
|
e68321e16c | ||
|
|
ad76969ce2 | ||
|
|
c170aad364 | ||
|
|
9e8bebc3bf | ||
|
|
d5cdbfd4d1 | ||
|
|
1811b36205 | ||
|
|
7840f4bccb | ||
|
|
9199dcb583 | ||
|
|
cbc4b77a4f | ||
|
|
ffb881436a | ||
|
|
9cf87efc6b | ||
|
|
b71454d63a | ||
|
|
b0feb33ec4 | ||
|
|
900d0abd27 | ||
|
|
a3d3a1e951 | ||
|
|
8fa3f33f37 | ||
|
|
360a4ff026 | ||
|
|
8c6a16f3d7 | ||
|
|
9d21581259 | ||
|
|
3837576a5f | ||
|
|
eb5a097999 | ||
|
|
db2d20ac56 | ||
|
|
f276c51772 | ||
|
|
ac2214ed77 | ||
|
|
8fe7bb5329 | ||
|
|
8028a6aa24 | ||
|
|
5b4e8865e5 | ||
|
|
356d526116 | ||
|
|
cca69b8108 | ||
|
|
75235a7853 | ||
|
|
0421783ebe | ||
|
|
a1be4ff0f9 | ||
|
|
8ab7f89e36 | ||
|
|
ddcb0f9981 | ||
|
|
6ca5ddda73 | ||
|
|
41d0933d4d | ||
|
|
5ad62c7097 | ||
|
|
76714ac3ad | ||
|
|
15b40835b8 | ||
|
|
dc5b541b21 | ||
|
|
f376ffb96b | ||
|
|
d5ce3a955a | ||
|
|
d2cb7e334e | ||
|
|
9d61ca13cb | ||
|
|
51bd17d335 | ||
|
|
1cd2764eb2 | ||
|
|
3fb81032e0 | ||
|
|
da942ea900 | ||
|
|
d534c617d2 | ||
|
|
ded3d0ab81 | ||
|
|
a4b4a6b655 | ||
|
|
be5d8140c9 | ||
|
|
7d54487354 | ||
|
|
93fae5dd67 | ||
|
|
504888b359 | ||
|
|
99e95658df | ||
|
|
5a68010022 | ||
|
|
a456e47796 | ||
|
|
27abf816f5 | ||
|
|
c6188a8345 | ||
|
|
22ff0d34b7 | ||
|
|
96d1d1e1aa | ||
|
|
6f75e90fcd | ||
|
|
f78f507745 | ||
|
|
89c148a530 | ||
|
|
e11c04ac87 | ||
|
|
9b070052a0 | ||
|
|
bb3d2cd95c | ||
|
|
d417bd8b90 | ||
|
|
f72a593eb4 | ||
|
|
f6cd06fc01 | ||
|
|
e77d143ce1 | ||
|
|
256219c4bf | ||
|
|
6af72f4c90 | ||
|
|
3a598ffe43 | ||
|
|
05797097c6 | ||
|
|
8b0f5054dd | ||
|
|
1c760f3ec4 | ||
|
|
699f383b57 | ||
|
|
6009988d3c | ||
|
|
8cda9777a5 | ||
|
|
049c432fc3 | ||
|
|
3ea89e8275 | ||
|
|
19fd7f42b1 | ||
|
|
0410be33cd | ||
|
|
002f9b0cea | ||
|
|
669f4264c7 | ||
|
|
dc6511b99e | ||
|
|
032968ea2d | ||
|
|
b2f02b0ff6 | ||
|
|
b31825d05b | ||
|
|
c4fe0223ab | ||
|
|
6ce79d8a52 | ||
|
|
b68abb7df4 | ||
|
|
1281ed31df | ||
|
|
e7377fb104 | ||
|
|
edb4dfa9ed | ||
|
|
7db13e1fc0 | ||
|
|
b9d769364d | ||
|
|
164fb99ace | ||
|
|
db26db266d | ||
|
|
fc3461dd54 | ||
|
|
8c8c9eef24 | ||
|
|
df7451c2cf | ||
|
|
9537c7657c | ||
|
|
6c105e971e | ||
|
|
cbbe6a812e | ||
|
|
0a572a9528 | ||
|
|
3ef3ebe897 | ||
|
|
0c284ed75b | ||
|
|
838d2f3c5d | ||
|
|
2a24fbcee1 | ||
|
|
9ef3499418 | ||
|
|
08d9982981 | ||
|
|
be8a76868b | ||
|
|
d1ea63587b | ||
|
|
96a9115ee7 | ||
|
|
2ac6cdeb46 | ||
|
|
659da15cc2 | ||
|
|
9b2e1279bc | ||
|
|
3af160bb02 | ||
|
|
73ccc5f483 | ||
|
|
3a824dfff0 | ||
|
|
2b05c415c1 | ||
|
|
7ffa585f0d | ||
|
|
0690387b70 | ||
|
|
ba1957ef52 | ||
|
|
abf9022fd9 | ||
|
|
7fa3febf55 | ||
|
|
11b08c9a9f | ||
|
|
c1f528e120 | ||
|
|
65bd51fe92 | ||
|
|
2dc664b323 | ||
|
|
65737ef4a5 | ||
|
|
9a2fc883b6 | ||
|
|
753613dcdc | ||
|
|
a412d0c230 | ||
|
|
33e847c1a3 | ||
|
|
ac2f5fe7d6 | ||
|
|
4c2c068c3a | ||
|
|
102a7e2650 | ||
|
|
ba40490ca4 | ||
|
|
62a3ec8319 | ||
|
|
a430e87104 | ||
|
|
acc5a440c7 | ||
|
|
b99c8821d3 | ||
|
|
dc03d9b358 | ||
|
|
3a6579f78d | ||
|
|
55b2537129 | ||
|
|
b5b238ffd3 | ||
|
|
4606373e5b | ||
|
|
4353f09e54 | ||
|
|
fc3c4bf566 | ||
|
|
c05c523182 | ||
|
|
629c012f48 | ||
|
|
e7d37f87bb | ||
|
|
664a10c724 | ||
|
|
308a042076 | ||
|
|
b554ce4a87 | ||
|
|
5f257da4f6 | ||
|
|
1196ba5959 | ||
|
|
067a70d19f | ||
|
|
c021fc1548 | ||
|
|
2e95c2cc15 | ||
|
|
692a55c84c | ||
|
|
c5ffdea370 | ||
|
|
9117b40e7b | ||
|
|
25a6cefa34 | ||
|
|
399b7d83da | ||
|
|
e2128776b3 | ||
|
|
327a0ad9b0 | ||
|
|
47326c28d3 | ||
|
|
084fa20b3d | ||
|
|
e05af09c28 | ||
|
|
cec78a383d | ||
|
|
b86909af52 | ||
|
|
faa34aeaaa | ||
|
|
5fed562db2 | ||
|
|
164765cd27 | ||
|
|
489492d9b9 | ||
|
|
bec34ee360 | ||
|
|
79298a6620 | ||
|
|
af8a876adc | ||
|
|
f4d6517bbb | ||
|
|
576119663f | ||
|
|
d6635b7818 | ||
|
|
a6fc710d8c | ||
|
|
e67d2f2f2b | ||
|
|
ea4144ccc7 | ||
|
|
5dfd1648c5 | ||
|
|
1d5ac67324 | ||
|
|
121d87b1d0 | ||
|
|
d5b218283d | ||
|
|
d4a3c8bd80 | ||
|
|
79b9335192 | ||
|
|
dedf4e158e | ||
|
|
8642646fa7 | ||
|
|
98f63c7172 | ||
|
|
297470ac2e | ||
|
|
b043230680 | ||
|
|
bc38d15b6d | ||
|
|
342b61f633 | ||
|
|
390dc22c96 | ||
|
|
f919cfa4c8 | ||
|
|
d1b14d8bfb | ||
|
|
2faab3280a | ||
|
|
2a3271b8b3 | ||
|
|
f45aa85aef |
-116
@@ -1,116 +0,0 @@
|
|||||||
const COPYRIGHT_HEADER = `/*
|
|
||||||
Copyright %%CURRENT_YEAR%% New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
`;
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
plugins: ["matrix-org", "rxjs", "jsdoc"],
|
|
||||||
extends: [
|
|
||||||
"plugin:matrix-org/react",
|
|
||||||
"plugin:matrix-org/a11y",
|
|
||||||
"plugin:matrix-org/typescript",
|
|
||||||
"prettier",
|
|
||||||
"plugin:rxjs/recommended",
|
|
||||||
"plugin:storybook/recommended",
|
|
||||||
],
|
|
||||||
parserOptions: {
|
|
||||||
ecmaVersion: "latest",
|
|
||||||
sourceType: "module",
|
|
||||||
project: ["./tsconfig.json"],
|
|
||||||
},
|
|
||||||
env: {
|
|
||||||
browser: true,
|
|
||||||
node: true,
|
|
||||||
},
|
|
||||||
rules: {
|
|
||||||
"jsdoc/no-types": "error",
|
|
||||||
"jsdoc/empty-tags": "error",
|
|
||||||
"jsdoc/check-property-names": "error",
|
|
||||||
"jsdoc/check-values": "error",
|
|
||||||
"jsdoc/check-param-names": "warn",
|
|
||||||
// "jsdoc/require-param": "warn",
|
|
||||||
"jsdoc/require-param-description": "warn",
|
|
||||||
"matrix-org/require-copyright-header": ["error", COPYRIGHT_HEADER],
|
|
||||||
"jsx-a11y/media-has-caption": "off",
|
|
||||||
"react/display-name": "error",
|
|
||||||
// Encourage proper usage of Promises:
|
|
||||||
"@typescript-eslint/no-floating-promises": "error",
|
|
||||||
"@typescript-eslint/no-misused-promises": "error",
|
|
||||||
"@typescript-eslint/promise-function-async": "error",
|
|
||||||
"@typescript-eslint/require-await": "error",
|
|
||||||
"@typescript-eslint/await-thenable": "error",
|
|
||||||
// To help ensure that we get proper vite/rollup lazy loading (e.g. for matrix-js-sdk):
|
|
||||||
"@typescript-eslint/consistent-type-imports": [
|
|
||||||
"error",
|
|
||||||
{ fixStyle: "inline-type-imports" },
|
|
||||||
],
|
|
||||||
// To encourage good usage of RxJS:
|
|
||||||
"rxjs/no-exposed-subjects": "error",
|
|
||||||
"rxjs/finnish": ["error", { names: { "^this$": false } }],
|
|
||||||
"no-restricted-imports": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
paths: ["matrix-widget-api", "matrix-js-sdk"].flatMap((lib) =>
|
|
||||||
["src", "src/", "src/index", "lib", "lib/", "lib/index"]
|
|
||||||
.map((path) => `${lib}/${path}`)
|
|
||||||
.map((name) => ({ name, message: `Please use ${lib} instead` })),
|
|
||||||
),
|
|
||||||
patterns: [
|
|
||||||
...["matrix-widget-api"].map((lib) => ({
|
|
||||||
group: ["src", "src/", "src/**", "lib", "lib/", "lib/**"].map(
|
|
||||||
(path) => `${lib}/${path}`,
|
|
||||||
),
|
|
||||||
message: `Please use ${lib} instead`,
|
|
||||||
})),
|
|
||||||
// XXX: We use /lib in lots of places, so allow for now.
|
|
||||||
...["matrix-js-sdk"].map((lib) => ({
|
|
||||||
group: ["src", "src/", "src/**"].map((path) => `${lib}/${path}`),
|
|
||||||
message: `Please use ${lib} instead`,
|
|
||||||
})),
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
overrides: [
|
|
||||||
{
|
|
||||||
files: ["src/*/**"],
|
|
||||||
rules: {
|
|
||||||
// In application code we should use the js-sdk logger, never console directly.
|
|
||||||
"no-console": ["error"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: [
|
|
||||||
"**/*.test.ts",
|
|
||||||
"**/*.test.tsx",
|
|
||||||
"**/test.ts",
|
|
||||||
"**/test.tsx",
|
|
||||||
"**/test-**",
|
|
||||||
],
|
|
||||||
rules: {
|
|
||||||
"jsdoc/no-types": "off",
|
|
||||||
"jsdoc/empty-tags": "off",
|
|
||||||
"jsdoc/check-property-names": "off",
|
|
||||||
"jsdoc/check-values": "off",
|
|
||||||
"jsdoc/check-param-names": "off",
|
|
||||||
"jsdoc/require-param-description": "off",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ["playwright/**"],
|
|
||||||
rules: {
|
|
||||||
// Playwright as a `use` function that has nothing to do with React hooks.
|
|
||||||
"react-hooks/rules-of-hooks": "off",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
settings: {
|
|
||||||
react: {
|
|
||||||
version: "detect",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
@@ -1,4 +1,11 @@
|
|||||||
<!-- Thanks for submitting a PR! Please ensure the following requirements are met in order for us to review your PR -->
|
<!-- Thanks for submitting a PR! Please read CONTRIBUTING.md before you start. -->
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> **Features and UI changes require a pre-approved issue.**
|
||||||
|
> Every PR must have a linked issue
|
||||||
|
> that a maintainer has reviewed and approved **before you started writing code**.
|
||||||
|
> PRs that don't meet this requirement will not be reviewed.
|
||||||
|
> See [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/main/CONTRIBUTING.md) for ElementCall decided for this approach.
|
||||||
|
|
||||||
## Content
|
## Content
|
||||||
|
|
||||||
@@ -6,34 +13,34 @@
|
|||||||
|
|
||||||
## Motivation and context
|
## Motivation and context
|
||||||
|
|
||||||
<!-- Provide link to the corresponding issue if applicable or explain the context -->
|
<!-- Provide a link to the pre-approved issue, or explain the context for a bug fix -->
|
||||||
|
|
||||||
## Screenshots / GIFs
|
## Screenshots / GIFs
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
You can use a table like this to show screenshots comparison.
|
You can use a table like this to show a before/after comparison.
|
||||||
Uncomment this markdown table below and edit the last line `|||`:
|
Uncomment the markdown table below and fill in the last line:
|
||||||
|copy screenshot of before here|copy screenshot of after here|
|
|
||||||
|
|
||||||
|Before|After|
|
|Before|After|
|
||||||
|-|-|
|
|-|-|
|
||||||
|||
|
|||
|
||||||
-->
|
|
||||||
|
-->
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
<!-- Explain how you tested your development -->
|
<!-- Explain how you tested your changes -->
|
||||||
|
|
||||||
- Step 1
|
- Step 1
|
||||||
- Step 2
|
- Step 2
|
||||||
- Step ...
|
- Step ...
|
||||||
-
|
|
||||||
|
|
||||||
## Checklist
|
## Checklist
|
||||||
|
|
||||||
- [ ] I have read through [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/livekit/CONTRIBUTING.md).
|
- [ ] A linked, pre-approved issue exists for this feature or UI change.
|
||||||
- [ ] Pull request includes screenshots or videos if containing UI changes
|
- [ ] I have read [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/main/CONTRIBUTING.md) in full.
|
||||||
- [ ] Tests written for new code (and old code if feasible).
|
- [ ] Pull request includes screenshots or videos for any UI changes.
|
||||||
|
- [ ] Tests written for new code (and existing touched code where feasible).
|
||||||
- [ ] Linter and other CI checks pass.
|
- [ ] Linter and other CI checks pass.
|
||||||
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-call)
|
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-call)
|
||||||
|
|||||||
@@ -0,0 +1,253 @@
|
|||||||
|
- name: "A-1:1"
|
||||||
|
description: "Calls between two people"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Big-Grid"
|
||||||
|
description: "The freedom layout system used for >12 participants"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Developer-Experience"
|
||||||
|
description: "Workflow of developing: building, linting, debugging, profiling, etc."
|
||||||
|
color: "c5def5"
|
||||||
|
- name: "A-E2EE"
|
||||||
|
description: "End-to-end encryption"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Embedded"
|
||||||
|
description: "Using the app embedded within other Matrix clients (as a widget)"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Feedback-Reporting"
|
||||||
|
description: "Reporting process for bugs, debug logs (rageshakes), suggestions"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Freedom"
|
||||||
|
description: "Freedom layout, where participants can be rearranged and resized"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Handset"
|
||||||
|
description: "Audio playback through the earpiece of a phone. Also known as 'earpiece mode' or 'handset mode'."
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Huddle"
|
||||||
|
description: "Ad-hoc calls in a room notifying others"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Lobby"
|
||||||
|
description: "The page before joining a call"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Login"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Matrix2.0"
|
||||||
|
description: "Issues relating to the Matrix 2.0 / MSC4143 work, such as sticky events and multi-sfu"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Media-Devices"
|
||||||
|
color: "BFD4F2"
|
||||||
|
- name: "A-Media-Quality"
|
||||||
|
description: "Distortions or glitches in audio/video"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Meeting"
|
||||||
|
description: "Scheduled call on the calendar"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Mobile"
|
||||||
|
description: "Using the app on a mobile device"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Moderation"
|
||||||
|
description: "Access to calls and powers within calls"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Performance"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Reactions"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Registration"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Screen-Sharing"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-SDK"
|
||||||
|
description: "SDK for building MatrixRTC + LiveKit widgets"
|
||||||
|
color: "c5def5"
|
||||||
|
- name: "A-Settings"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-SFU"
|
||||||
|
description: "Routing calls through a selective forwarding unit"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Signaling"
|
||||||
|
description: "Call signaling"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Simulcast"
|
||||||
|
description: "Automatic selection of variable video resolutions"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-SPA"
|
||||||
|
description: "Standalone application accessed via call links"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Spatial-Audio"
|
||||||
|
description: "Directional audio based on where a speaker appears on screen"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Speech-Enhancement"
|
||||||
|
description: "Techniques to enhance the intelligibility of speech in calls"
|
||||||
|
color: "c5def5"
|
||||||
|
- name: "A-Split-Grid"
|
||||||
|
description: "The freedom layout system used for ≤12 participants"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Spotlight"
|
||||||
|
description: "Spotlight layout, where the active speaker is foregrounded"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Telemetry-Posthog"
|
||||||
|
description: "Share opt in usage data for optimizing the app via posthog"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Testing"
|
||||||
|
description: "Integration tests, unit tests, etc."
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Video-Rooms"
|
||||||
|
description: "Rooms reserved exclusively for calling"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A-Walkie-Talkie"
|
||||||
|
description: "Walkie-talkie / PTT (push-to-talk) mode"
|
||||||
|
color: "bfd4f2"
|
||||||
|
- name: "A11y"
|
||||||
|
description: "Accessibility"
|
||||||
|
color: "4ADEC0"
|
||||||
|
- name: "backport-candidate"
|
||||||
|
description: "Something that is a candidate for backport to a particular release branch"
|
||||||
|
color: "0B8D85"
|
||||||
|
- name: "customer-retainer"
|
||||||
|
color: "F44A5F"
|
||||||
|
- name: "dependencies"
|
||||||
|
description: "Pull requests that update a dependency file"
|
||||||
|
color: "0366d6"
|
||||||
|
- name: "development build"
|
||||||
|
description: "runs yarn build process in development mode"
|
||||||
|
color: "1d76db"
|
||||||
|
- name: "Discord"
|
||||||
|
description: "Use case familiar to Discord users"
|
||||||
|
color: "3670d2"
|
||||||
|
- name: "docker build"
|
||||||
|
description: "Creates a docker image for this PR"
|
||||||
|
color: "0e8a16"
|
||||||
|
- name: "EPIC"
|
||||||
|
color: "5319E7"
|
||||||
|
- name: "good first issue"
|
||||||
|
description: "Good for newcomers"
|
||||||
|
color: "7057ff"
|
||||||
|
- name: "Help Wanted"
|
||||||
|
description: "Community contributions are welcome!"
|
||||||
|
color: "159818"
|
||||||
|
- name: "I18n"
|
||||||
|
description: "Internationalisation"
|
||||||
|
color: "d4c5f9"
|
||||||
|
- name: "O-Frequent"
|
||||||
|
description: "Affects or can be seen by most users regularly or impacts most users' first experience"
|
||||||
|
color: "0052CC"
|
||||||
|
- name: "O-Occasional"
|
||||||
|
description: "Affects or can be seen by some users regularly or most users rarely"
|
||||||
|
color: "1D76DB"
|
||||||
|
- name: "O-Uncommon"
|
||||||
|
description: "Most users are unlikely to come across this or unexpected workflow"
|
||||||
|
color: "C5DEF5"
|
||||||
|
- name: "p1"
|
||||||
|
description: "Must fix/implement before this is usable as a product"
|
||||||
|
color: "D93F0B"
|
||||||
|
- name: "p2"
|
||||||
|
description: "Should fix/implement, but not at the expense of p1s"
|
||||||
|
color: "FBCA04"
|
||||||
|
- name: "p3"
|
||||||
|
description: "Could fix/implement when time allows"
|
||||||
|
color: "0E8A16"
|
||||||
|
- name: "PR-Breaking-Change"
|
||||||
|
description: "A Pull request that changes EC in a way that is incompatible to the previous version."
|
||||||
|
color: "D93F0B"
|
||||||
|
- name: "PR-Bug-Fix"
|
||||||
|
description: "Release note category. A PR that fixes a bug."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "PR-Developer-Experience"
|
||||||
|
description: "Release note category. A PR that does not change EC but improves working with the repository."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "PR-Documentation"
|
||||||
|
description: "Release note category. A PR that improves the documentation."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "PR-Feature"
|
||||||
|
description: "Release note category. A PR that introduces a new user facing feature."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "PR-Improvement"
|
||||||
|
description: "Release note category. A PR that improves EC's performance or stability."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "PR-Task"
|
||||||
|
description: "Release note category. A PR that is hidden from release note."
|
||||||
|
color: "C2E0C6"
|
||||||
|
- name: "Privacy"
|
||||||
|
color: "f41192"
|
||||||
|
- name: "Roadmap"
|
||||||
|
color: "57457E"
|
||||||
|
- name: "S-Critical"
|
||||||
|
description: "Prevents work, causes data loss and/or has no workaround"
|
||||||
|
color: "bd0026"
|
||||||
|
- name: "S-Major"
|
||||||
|
description: "Severely degrades major functionality or product features, with no satisfactory workaround"
|
||||||
|
color: "fc4e2a"
|
||||||
|
- name: "S-Minor"
|
||||||
|
description: "Impairs non-critical functionality or suitable workarounds exist"
|
||||||
|
color: "feb24c"
|
||||||
|
- name: "S-Tolerable"
|
||||||
|
description: "Low/no impact on users"
|
||||||
|
color: "ffeda0"
|
||||||
|
- name: "Security"
|
||||||
|
color: "b3e5fc"
|
||||||
|
- name: "storybook build"
|
||||||
|
description: "Build and deploy the storybook frontend to netlify."
|
||||||
|
color: "45cd61"
|
||||||
|
- name: "T-Defect"
|
||||||
|
description: "Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems"
|
||||||
|
color: "98e6ae"
|
||||||
|
- name: "T-Enhancement"
|
||||||
|
description: "New features, changes in functionality, performance boosts, user-facing improvements"
|
||||||
|
color: "98e6ae"
|
||||||
|
- name: "T-Other"
|
||||||
|
description: "Questions, user support, anything else"
|
||||||
|
color: "98e6ae"
|
||||||
|
- name: "T-Task"
|
||||||
|
description: "Refactoring, enabling or disabling functionality, other engineering tasks"
|
||||||
|
color: "98e6ae"
|
||||||
|
- name: "X-Blocked"
|
||||||
|
description: "Cannot be merged due to external dependencies"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Cannot-Reproduce"
|
||||||
|
description: "Needs reproduction steps"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Needs-Design"
|
||||||
|
description: "May require input from the design team"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Needs-Info"
|
||||||
|
description: "This issue is blocked awaiting information from the reporter"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Needs-Investigation"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Needs-Product"
|
||||||
|
description: "More input needed from the Product team"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Regression"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Release-Blocker"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Spec-Changes"
|
||||||
|
description: "May require spec changes"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "X-Won't-Fix"
|
||||||
|
description: "This will not be worked on"
|
||||||
|
color: "ff7979"
|
||||||
|
- name: "Z-Community-Testing"
|
||||||
|
description: "Issues found during the community testing sessions"
|
||||||
|
color: "efefef"
|
||||||
|
- name: "Z-Could"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Design"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Flaky-Test"
|
||||||
|
color: "aaaaaa"
|
||||||
|
- name: "Z-Media-Failure"
|
||||||
|
description: "Someone's audio or video isn't coming through"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Must"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Platform-Specific"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Power-Users"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-ProductPolish"
|
||||||
|
color: "aaaaaa"
|
||||||
|
- name: "Z-Should"
|
||||||
|
color: "ededed"
|
||||||
|
- name: "Z-Splitbrain"
|
||||||
|
description: "Someone who should be on the call isn't showing up"
|
||||||
|
color: "ededed"
|
||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- labeled
|
- labeled
|
||||||
push:
|
push:
|
||||||
branches: [livekit, full-mesh]
|
branches: [main]
|
||||||
jobs:
|
jobs:
|
||||||
build_full_element_call:
|
build_full_element_call:
|
||||||
# Use the full package vite build
|
# Use the full package vite build
|
||||||
@@ -22,8 +22,8 @@ jobs:
|
|||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
deploy_develop:
|
deploy_develop:
|
||||||
# Deploy livekit branch to call.element.dev after build completes
|
# Deploy main branch to call.element.dev after build completes
|
||||||
if: github.ref == 'refs/heads/livekit'
|
if: github.ref == 'refs/heads/main'
|
||||||
needs: build_full_element_call
|
needs: build_full_element_call
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
docker_for_develop:
|
docker_for_develop:
|
||||||
# Build docker and publish docker for livekit branch after build completes
|
# Build docker and publish docker for main branch after build completes
|
||||||
if: github.ref == 'refs/heads/livekit'
|
if: github.ref == 'refs/heads/main'
|
||||||
needs: build_full_element_call
|
needs: build_full_element_call
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: Lint, format & type check
|
|||||||
on:
|
on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
lint:
|
||||||
name: Lint, format & type check
|
name: Lint, format & type check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -20,12 +20,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
||||||
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
|
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
|
||||||
- name: Prettier
|
- name: Formatting
|
||||||
run: "pnpm run prettier:check"
|
run: "pnpm run format:check"
|
||||||
- name: i18n
|
- name: i18n
|
||||||
run: "pnpm run i18n:check"
|
run: "pnpm run i18n:check"
|
||||||
- name: ESLint
|
- name: Lint
|
||||||
run: "pnpm run lint:eslint"
|
run: "pnpm run lint:oxlint"
|
||||||
- name: Type check
|
- name: Type check
|
||||||
run: "pnpm run lint:types"
|
run: "pnpm run lint:types"
|
||||||
- name: Dead code analysis
|
- name: Dead code analysis
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- labeled
|
- labeled
|
||||||
push:
|
push:
|
||||||
branches: [livekit]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
versioning:
|
versioning:
|
||||||
@@ -237,7 +237,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: element-hq/element-call-swift
|
repository: element-hq/element-call-swift
|
||||||
path: element-call-swift
|
path: element-call-swift
|
||||||
token: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Copy files
|
- name: Copy files
|
||||||
@@ -268,9 +267,10 @@ jobs:
|
|||||||
GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }}
|
GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }}
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
|
if: ${{ needs.versioning.outputs.DRY_RUN == 'false' }}
|
||||||
working-directory: element-call-swift
|
working-directory: element-call-swift
|
||||||
run: |
|
run: |
|
||||||
git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags ${{ needs.versioning.outputs.DRY_RUN == 'true' && '--dry-run' || '' }}
|
git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags
|
||||||
env:
|
env:
|
||||||
SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
name: Sync labels
|
||||||
|
on:
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .github/labels.yml
|
||||||
|
- .github/workflows/sync-labels.yml
|
||||||
|
|
||||||
|
permissions: {} # We use LABEL_SYNC_GITHUB_TOKEN instead
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync-labels:
|
||||||
|
uses: element-hq/element-meta/.github/workflows/sync-labels.yml@7f2f93fb9b52ece7a0998f60e64862aa203c1746
|
||||||
|
with:
|
||||||
|
LABELS: |
|
||||||
|
.github/labels.yml
|
||||||
|
DELETE: true
|
||||||
|
WET: true
|
||||||
|
secrets:
|
||||||
|
ELEMENT_BOT_TOKEN: ${{ secrets.LABEL_SYNC_GITHUB_TOKEN }}
|
||||||
+28
-10
@@ -2,15 +2,11 @@ name: Test
|
|||||||
on:
|
on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push:
|
push:
|
||||||
branches: [livekit]
|
branches: [main]
|
||||||
jobs:
|
jobs:
|
||||||
vitest:
|
vitest:
|
||||||
name: Run unit tests
|
name: Run unit tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
# Make sure to grab the latest version of the Playwright image
|
|
||||||
# https://playwright.dev/docs/docker#pull-the-image
|
|
||||||
image: mcr.microsoft.com/playwright:v1.60.0-noble
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||||
@@ -26,10 +22,22 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
||||||
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
|
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
|
||||||
|
- name: Get Playwright version
|
||||||
|
run: echo "PLAYWRIGHT_VERSION=$(pnpm list @playwright/test --depth=0 --json | jq -r '.[0].devDependencies["@playwright/test"].version')" >> $GITHUB_ENV
|
||||||
|
- name: Cache Playwright binaries
|
||||||
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
|
||||||
|
id: playwright-cache
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/ms-playwright
|
||||||
|
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
|
||||||
|
- name: Install Playwright binaries
|
||||||
|
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||||
|
run: pnpm playwright install --with-deps
|
||||||
- name: Vitest
|
- name: Vitest
|
||||||
run: "pnpm run test:coverage"
|
run: "pnpm run test:coverage"
|
||||||
- name: Upload to codecov
|
- name: Upload to codecov
|
||||||
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5
|
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
with:
|
with:
|
||||||
@@ -52,12 +60,22 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
|
||||||
run: pnpm install --frozen-lockfile --ignore-pnpmfile
|
run: pnpm install --frozen-lockfile --ignore-pnpmfile
|
||||||
- name: Install Playwright Browsers
|
- name: Get Playwright version
|
||||||
run: pnpm exec playwright install --with-deps
|
run: echo "PLAYWRIGHT_VERSION=$(pnpm list @playwright/test --depth=0 --json | jq -r '.[0].devDependencies["@playwright/test"].version')" >> $GITHUB_ENV
|
||||||
|
- name: Cache Playwright binaries
|
||||||
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
|
||||||
|
id: playwright-cache
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/ms-playwright
|
||||||
|
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
|
||||||
|
- name: Install Playwright binaries
|
||||||
|
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||||
|
run: pnpm playwright install --with-deps
|
||||||
- name: Run backend components
|
- name: Run backend components
|
||||||
run: |
|
run: |
|
||||||
docker compose -f playwright-backend-docker-compose.yml -f playwright-backend-docker-compose.override.yml pull
|
docker compose -f docker-compose-dev.yml -f docker-compose-playwright.yml pull
|
||||||
docker compose -f playwright-backend-docker-compose.yml -f playwright-backend-docker-compose.override.yml up -d
|
docker compose -f docker-compose-dev.yml -f docker-compose-playwright.yml up -d
|
||||||
docker ps
|
docker ps
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -40,8 +40,13 @@ jobs:
|
|||||||
- name: Fix the owner of the downloaded files
|
- name: Fix the owner of the downloaded files
|
||||||
run: "sudo chown runner:docker -R locales"
|
run: "sudo chown runner:docker -R locales"
|
||||||
|
|
||||||
- name: Prettier
|
# Localazy doesn't write file contents in the same order that i18next-cli's
|
||||||
run: pnpm prettier:format
|
# extractor uses. We re-run the extractor after downloading to fix the order.
|
||||||
|
- name: i18n
|
||||||
|
run: pnpm i18n
|
||||||
|
|
||||||
|
- name: Formatting
|
||||||
|
run: pnpm format
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
@@ -53,7 +58,7 @@ jobs:
|
|||||||
title: Localazy Download
|
title: Localazy Download
|
||||||
commit-message: Translations updates
|
commit-message: Translations updates
|
||||||
labels: |
|
labels: |
|
||||||
T-Task
|
PR-Task
|
||||||
|
|
||||||
- name: Enable automerge
|
- name: Enable automerge
|
||||||
run: gh pr merge --merge --auto "$PR_NUMBER"
|
run: gh pr merge --merge --auto "$PR_NUMBER"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: Upload translation files to Localazy
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- livekit
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: GitHub Actions Security Analysis with zizmor 🌈
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["livekit", "full-mesh"]
|
branches: ["main", "full-mesh"]
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
@@ -15,9 +15,9 @@ jobs:
|
|||||||
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Run zizmor 🌈
|
- name: Run zizmor 🌈
|
||||||
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
|
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ public/config.json
|
|||||||
backend/synapse_tmp/*
|
backend/synapse_tmp/*
|
||||||
backend/synapse_tmp_othersite/*
|
backend/synapse_tmp_othersite/*
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
|
# Transient agent scratch files
|
||||||
|
/agent-workspace/
|
||||||
config.json
|
config.json
|
||||||
|
|
||||||
# Yarn
|
# Yarn
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||||
|
"printWidth": 80,
|
||||||
|
"sortPackageJson": false,
|
||||||
|
"ignorePatterns": ["pnpm-lock.yaml", "node_modules", "dist"]
|
||||||
|
}
|
||||||
+165
@@ -0,0 +1,165 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||||
|
"plugins": [
|
||||||
|
"eslint",
|
||||||
|
"import",
|
||||||
|
"jsdoc",
|
||||||
|
"jsx-a11y",
|
||||||
|
"promise",
|
||||||
|
"react",
|
||||||
|
"typescript",
|
||||||
|
"unicorn",
|
||||||
|
"vitest"
|
||||||
|
],
|
||||||
|
"jsPlugins": [
|
||||||
|
"eslint-plugin-storybook",
|
||||||
|
"eslint-plugin-element-call"
|
||||||
|
// TODO: Re-enable once oxlint supports lint rules that rely on TypeScript type-awareness.
|
||||||
|
// "eslint-plugin-rxjs"
|
||||||
|
],
|
||||||
|
"categories": {
|
||||||
|
"correctness": "error",
|
||||||
|
"perf": "error"
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"denyWarnings": true,
|
||||||
|
"typeAware": true
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"builtin": true
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"element-call/copyright-header": [
|
||||||
|
"error",
|
||||||
|
"/*\nCopyright %%CURRENT_YEAR%% Element Creations Ltd.\n\nSPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE in the repository root for full details.\n*/\n\n"
|
||||||
|
],
|
||||||
|
"element-call/no-observablescope-leak": "error",
|
||||||
|
"element-call/no-top-level-logger-get-child": "error",
|
||||||
|
"jsdoc/empty-tags": "error",
|
||||||
|
"jsdoc/check-property-names": "error",
|
||||||
|
"jsdoc/require-param-description": "warn",
|
||||||
|
"react/display-name": "error",
|
||||||
|
// TODO: These React Compiler-based rules joined oxlint's correctness
|
||||||
|
// category in v1.81 and flag many pre-existing patterns, including hooks
|
||||||
|
// like useLatest/useInitial/useReactiveState that intentionally access
|
||||||
|
// refs during render. Re-evaluate them when adopting the React Compiler.
|
||||||
|
"react/immutability": "off",
|
||||||
|
"react/no-deriving-state-in-effects": "off",
|
||||||
|
"react/preserve-manual-memoization": "off",
|
||||||
|
"react/refs": "off",
|
||||||
|
"react/set-state-in-effect": "off",
|
||||||
|
"react/static-components": "off",
|
||||||
|
"react/use-memo": "off",
|
||||||
|
// TODO: Re-enable once oxlint supports lint rules that rely on TypeScript type-awareness.
|
||||||
|
// "rxjs/no-exposed-subjects": "error",
|
||||||
|
// "rxjs/finnish": [
|
||||||
|
// "error",
|
||||||
|
// {
|
||||||
|
// "names": {
|
||||||
|
// "^this$": false
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// ],
|
||||||
|
"no-restricted-imports": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"group": [
|
||||||
|
"matrix-widget-api/src",
|
||||||
|
"matrix-widget-api/src/",
|
||||||
|
"matrix-widget-api/src/**",
|
||||||
|
"matrix-widget-api/lib",
|
||||||
|
"matrix-widget-api/lib/",
|
||||||
|
"matrix-widget-api/lib/**"
|
||||||
|
],
|
||||||
|
"message": "Please use matrix-widget-api instead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group": [
|
||||||
|
"matrix-js-sdk/src",
|
||||||
|
"matrix-js-sdk/src/",
|
||||||
|
"matrix-js-sdk/src/**",
|
||||||
|
"matrix-js-sdk/lib",
|
||||||
|
"matrix-js-sdk/lib/",
|
||||||
|
"matrix-js-sdk/lib/index"
|
||||||
|
],
|
||||||
|
"message": "Please use matrix-js-sdk instead"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"typescript/no-floating-promises": "error",
|
||||||
|
"typescript/no-misused-promises": "error",
|
||||||
|
"typescript/promise-function-async": "error",
|
||||||
|
"typescript/require-await": "error",
|
||||||
|
"typescript/await-thenable": "error",
|
||||||
|
// To help ensure that we get proper vite/rollup lazy loading (e.g. for matrix-js-sdk).
|
||||||
|
"typescript/consistent-type-imports": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"fixStyle": "inline-type-imports"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
// TODO: These had to be disabled in the eslint -> oxlint migration. Would be nice to
|
||||||
|
// enable them in future or at least document why we're disabling them.
|
||||||
|
"eslint/no-await-in-loop": "off",
|
||||||
|
"eslint/no-unused-vars": ["error", { "args": "none" }],
|
||||||
|
"import/default": "off",
|
||||||
|
"jsdoc/check-tag-names": "off",
|
||||||
|
"jsx-a11y/prefer-tag-over-role": "off",
|
||||||
|
"promise/no-callback-in-promise": "off",
|
||||||
|
"react/jsx-key": "off",
|
||||||
|
"react/jsx-no-constructed-context-values": "off",
|
||||||
|
"react/no-array-index-key": "off",
|
||||||
|
"react/no-children-prop": "off",
|
||||||
|
"react/no-object-type-as-default-prop": "off",
|
||||||
|
"typescript/no-misused-spread": "off",
|
||||||
|
"typescript/no-useless-default-assignment": "off",
|
||||||
|
"typescript/restrict-template-expressions": "off",
|
||||||
|
"typescript/unbound-method": "off",
|
||||||
|
"vitest/expect-expect": "off",
|
||||||
|
"vitest/no-conditional-expect": "off",
|
||||||
|
"vitest/no-disabled-tests": "off",
|
||||||
|
"vitest/require-mock-type-parameters": "off",
|
||||||
|
"vitest/require-to-throw-message": "off"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["src/*/**"],
|
||||||
|
"rules": {
|
||||||
|
// In application code we should use the js-sdk logger, never console directly.
|
||||||
|
"no-console": "error"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"**/*.test.ts",
|
||||||
|
"**/*.test.tsx",
|
||||||
|
"**/test.ts",
|
||||||
|
"**/test.tsx",
|
||||||
|
"**/test-**"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
// Tests often initialize an ObservableScope in an outer scope in
|
||||||
|
// beforeEach, which is not actually a problem
|
||||||
|
"element-call/no-observablescope-leak": "off",
|
||||||
|
"jsdoc/empty-tags": "off",
|
||||||
|
"jsdoc/check-property-names": "off",
|
||||||
|
"jsdoc/require-param-description": "off",
|
||||||
|
"jsx-a11y/media-has-caption": "off"
|
||||||
|
// TODO: Enable once oxlint supports them.
|
||||||
|
// "jsdoc/check-values": "off",
|
||||||
|
// "jsdoc/check-param-names": "off",
|
||||||
|
// "jsdoc/no-types": "off",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": ["playwright/**"],
|
||||||
|
"rules": {
|
||||||
|
// Playwright as a `use` function that has nothing to do with React hooks.
|
||||||
|
"react-hooks/rules-of-hooks": "off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
pnpm-lock.yaml
|
|
||||||
node_modules
|
|
||||||
dist
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -7,14 +7,16 @@ Please see LICENSE in the repository root for full details.
|
|||||||
|
|
||||||
import type { Preview } from "@storybook/react-vite";
|
import type { Preview } from "@storybook/react-vite";
|
||||||
import { TooltipProvider } from "@vector-im/compound-web";
|
import { TooltipProvider } from "@vector-im/compound-web";
|
||||||
import i18n from "i18next";
|
|
||||||
import { logger } from "matrix-js-sdk/lib/logger";
|
import { logger } from "matrix-js-sdk/lib/logger";
|
||||||
|
|
||||||
import EN from "../locales/en/app.json";
|
import EN from "../locales/en/app.json";
|
||||||
import { initReactI18next } from "react-i18next";
|
import { initReactI18next } from "react-i18next";
|
||||||
|
import { i18n } from "../src/utils/i18n";
|
||||||
import "../src/index.css";
|
import "../src/index.css";
|
||||||
|
|
||||||
// Bare-minimum i18n config
|
// Bare-minimum i18n config.
|
||||||
|
// Unlike the app, stories register the instance as react-i18next's default
|
||||||
|
// rather than wrapping every story in an <I18nextProvider>.
|
||||||
i18n
|
i18n
|
||||||
.use(initReactI18next)
|
.use(initReactI18next)
|
||||||
.init({
|
.init({
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
# AGENTS.md — Element Call
|
||||||
|
|
||||||
|
MatrixRTC (MSC4143) + LiveKit video calling, shipped standalone, as a widget in
|
||||||
|
Element Web and Element X, as embedded packages, and as a React component in a
|
||||||
|
host's page. It is the MatrixRTC reference implementation.
|
||||||
|
|
||||||
|
## Non-negotiables
|
||||||
|
|
||||||
|
- Features and UI changes need a pre-approved issue. No issue, no review.
|
||||||
|
- Exactly one `PR-*` label per PR. CI enforces it; it drives the changelog.
|
||||||
|
- New behaviour ships with unit tests, a story if it renders, and an e2e spec if it
|
||||||
|
is user-facing. All three.
|
||||||
|
- Reuse an existing component. If you genuinely cannot, say so in the PR body and
|
||||||
|
name what you rejected — never add a new one silently.
|
||||||
|
- Nothing reads the page. No `window.location`, `document.body`, `window.inner*`,
|
||||||
|
`@media`, global `i18next` or the `widget` global — take it from a provider.
|
||||||
|
- The change works standalone, as a widget and as a component. Say what you checked.
|
||||||
|
- Every gate below is green before you push.
|
||||||
|
- Hand off after the first implementation, before the quality pass. Then commit on
|
||||||
|
the user's word where the setup allows it, or hand them the message.
|
||||||
|
|
||||||
|
## Read before you
|
||||||
|
|
||||||
|
| … | … |
|
||||||
|
| -------------------------------- | ---------------------------------------------------------- |
|
||||||
|
| start a task of any size | [docs/agents/workflow.md](docs/agents/workflow.md) |
|
||||||
|
| touch call logic or a view model | [docs/agents/architecture.md](docs/agents/architecture.md) |
|
||||||
|
| write any code | [docs/agents/code-style.md](docs/agents/code-style.md) |
|
||||||
|
| write a test, story or e2e spec | [docs/agents/testing.md](docs/agents/testing.md) |
|
||||||
|
| open a PR | [CONTRIBUTING.md](CONTRIBUTING.md) |
|
||||||
|
| implement from a feature spec | [FEATURES_SPEC/AGENTS.md](FEATURES_SPEC/AGENTS.md) |
|
||||||
|
|
||||||
|
## Gates
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm lint # tsc, oxlint, knip, component externals
|
||||||
|
pnpm format # oxfmt
|
||||||
|
pnpm test # vitest: unit and storybook projects
|
||||||
|
pnpm i18n:check
|
||||||
|
```
|
||||||
|
|
||||||
|
`knip` fails on dead code; a file deliberately inert ahead of its consumer goes in
|
||||||
|
`knip.ts` `ignoreFiles` with a reason.
|
||||||
|
|
||||||
|
## A good PR
|
||||||
|
|
||||||
|
- One slice, under ~400 changed lines, green on its own, linked to its issue.
|
||||||
|
- View model + marble tests, thin view, a story per state, an e2e spec.
|
||||||
|
- Any new shared component called out explicitly, with why nothing existing fit.
|
||||||
|
- Template filled for real: what, why, before/after screenshots, repro steps.
|
||||||
|
- Comments only where the code can't give the reason — see
|
||||||
|
[code-style.md](docs/agents/code-style.md#comments).
|
||||||
|
- Anything that redraws continuously — an animation frame, a stream — says what it
|
||||||
|
costs, or better, counts the redraws in a test.
|
||||||
|
- Branch `<handle>/<topic>`. Plain imperative commit subjects, no prefixes.
|
||||||
|
- Once review starts, fix forward. Never force-push a regeneration over a review.
|
||||||
@@ -1,3 +1,71 @@
|
|||||||
# Contributing code to Element
|
# Contributing code to Element
|
||||||
|
|
||||||
Element follows the same pattern as the [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md).
|
Element follows the same pattern as the [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md).
|
||||||
|
|
||||||
|
# Contributing to Element Call
|
||||||
|
|
||||||
|
Element Call is a native Matrix video conferencing application built on
|
||||||
|
[MatrixRTC (MSC4143)](https://github.com/matrix-org/matrix-spec-proposals/pull/4143)
|
||||||
|
and [LiveKit](https://livekit.io/). It runs in multiple deployment contexts — as a
|
||||||
|
standalone web app and as a widget embedded in Element Web, Element X iOS, and
|
||||||
|
Element X Android. It is also the primary R&D foundation for MatrixRTC, which means
|
||||||
|
its architecture, maintainability, and flexibility are held to a high standard.
|
||||||
|
|
||||||
|
We welcome contributions from the community. This document explains how to
|
||||||
|
contribute effectively so that both you and the maintainers get the best outcome.
|
||||||
|
|
||||||
|
## Issue First Policy
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Before writing a single line of code for a new feature or UI change, you **must**
|
||||||
|
> open an issue and have the approach agreed with the maintainers.
|
||||||
|
>
|
||||||
|
> **We will not review or merge feature or UI pull requests that arrive without a
|
||||||
|
> corresponding, pre-approved issue.**
|
||||||
|
|
||||||
|
This is not gatekeeping — it's how we prevent wasted effort on both sides. Element
|
||||||
|
Call must work correctly across multiple deployment contexts and meet specific product
|
||||||
|
and design requirements. It is also a fast-moving codebase that underpins ongoing
|
||||||
|
MatrixRTC development. A PR that looks reasonable in isolation can easily conflict
|
||||||
|
with in-progress work, planned architecture changes, or design decisions that haven't
|
||||||
|
been publicly documented yet.
|
||||||
|
|
||||||
|
The issue is where we resolve all of that **before** anyone writes code.
|
||||||
|
|
||||||
|
**Bug fixes** are no exception — most confirmed bugs should already have an issue anyways, existing issues that are marked as bugs have an implicit maintainer approval. If the solution for the bug is controversial it is highly recommended to discuss the approach in the issue before opening a PR.
|
||||||
|
|
||||||
|
## Contribution Workflow
|
||||||
|
|
||||||
|
1. **Open an issue** using the [Enhancement request](https://github.com/element-hq/element-call/issues/new?template=enhancement.yml) template.
|
||||||
|
2. **Wait for feedback.** A maintainer will comment on the issue **within two weeks**. The use case and approach will get dicussed.
|
||||||
|
This may involve questions, suggestions, or a request to adjust scope.
|
||||||
|
This also allows to bring design and product into the loop before code gets created.
|
||||||
|
3. **Get a green light.** Wait for explicit approval from a maintainer before starting
|
||||||
|
implementation.
|
||||||
|
4. **Implement.** Write the code against the agreed approach.
|
||||||
|
5. **Open a PR.** Link to the issue in your PR description and satisfy the checklist
|
||||||
|
in the PR template.
|
||||||
|
|
||||||
|
## Code Quality
|
||||||
|
|
||||||
|
Element Call moves fast and the codebase must stay clean and maintainable.
|
||||||
|
|
||||||
|
- **Take responsibility for AI-generated code.** AI tools can be a useful aid, but we expect all the generated code to be understood and reasoned about by the contributor. Questions by the maintainers should be answered without just forwarding them to AI. The maintainers also have access to AI tools. If your contribution is just transporting messages between LLM <-> maintaines all our time is better used if the maintainers decide to interact with AI for this specific problem by themselves.
|
||||||
|
- **Think across deployment contexts.** Changes must work correctly in both standalone
|
||||||
|
and widget modes. Consider how your change interacts with Element Web, Element X
|
||||||
|
iOS, and Element X Android.
|
||||||
|
- **Write tests.** New functionality should be covered by tests. Where it is feasible,
|
||||||
|
existing uncovered code touched by your PR should also gain tests.
|
||||||
|
|
||||||
|
## Contributor License Agreement
|
||||||
|
|
||||||
|
All contributors must sign the
|
||||||
|
[Element Contributor License Agreement](https://cla-assistant.io/element-hq/element-call)
|
||||||
|
before their contribution can be merged. The CLA assistant bot will prompt you
|
||||||
|
automatically when you open a PR.
|
||||||
|
|
||||||
|
## Getting Help
|
||||||
|
|
||||||
|
The best place to ask questions about Element Call development is the MatrixRTC room:
|
||||||
|
|
||||||
|
**[#matrixRtc:matrix.org](https://matrix.to/#/#matrixrtc:matrix.org)**
|
||||||
|
|||||||
@@ -34,15 +34,16 @@ You can find the latest development version continuously deployed to
|
|||||||
## ✨ Key Features
|
## ✨ Key Features
|
||||||
|
|
||||||
✅ **Decentralized & Federated** – No central authority; works across Matrix
|
✅ **Decentralized & Federated** – No central authority; works across Matrix
|
||||||
homeservers.
|
homeservers.
|
||||||
✅ **End-to-End Encrypted** – Secure and private calls.
|
✅ **End-to-End Encrypted** – Secure and private calls.
|
||||||
✅ **Standalone & Widget Mode** – Use as an independent app or embed in Matrix
|
✅ **Standalone, Widget & Component Mode** – Use as an independent app, embed
|
||||||
clients.
|
in Matrix clients as a widget, or (experimentally) mount it as a React component
|
||||||
✅ **WebRTC-based** – No additional software required.
|
inside your own application.
|
||||||
|
✅ **WebRTC-based** – No additional software required.
|
||||||
✅ **Scalable with LiveKit** – Supports large meetings via SFU
|
✅ **Scalable with LiveKit** – Supports large meetings via SFU
|
||||||
([MSC4195: MatrixRTC using LiveKit backend](https://github.com/hughns/matrix-spec-proposals/blob/hughns/matrixrtc-livekit/proposals/4195-matrixrtc-livekit.md)).
|
([MSC4195: MatrixRTC using LiveKit backend](https://github.com/hughns/matrix-spec-proposals/blob/hughns/matrixrtc-livekit/proposals/4195-matrixrtc-livekit.md)).
|
||||||
✅ **Raise Hand** – Participants can signal when they want to speak, helping to
|
✅ **Raise Hand** – Participants can signal when they want to speak, helping to
|
||||||
organize the flow of the meeting.
|
organize the flow of the meeting.
|
||||||
✅ **Emoji Reactions** – Users can react with emojis 👍️ 🎉 👏 🤘, adding
|
✅ **Emoji Reactions** – Users can react with emojis 👍️ 🎉 👏 🤘, adding
|
||||||
engagement and interactivity to the conversation.
|
engagement and interactivity to the conversation.
|
||||||
|
|
||||||
@@ -90,7 +91,9 @@ and voice calls within Matrix rooms.
|
|||||||
|
|
||||||
Element Call offers two packaging options: one for standalone or widget
|
Element Call offers two packaging options: one for standalone or widget
|
||||||
deployment, and another for seamless widget-based integration into messenger
|
deployment, and another for seamless widget-based integration into messenger
|
||||||
apps. Below is an overview of each option.
|
apps. A third, experimental option builds it as a React component library for
|
||||||
|
applications that want to render a call inside their own page rather than in an
|
||||||
|
iframe. Below is an overview of each option.
|
||||||
|
|
||||||
**Full Package** – Supports both **Standalone** and **Widget** mode. It is
|
**Full Package** – Supports both **Standalone** and **Widget** mode. It is
|
||||||
hosted as a static web page and can be accessed via a URL when used as a widget.
|
hosted as a static web page and can be accessed via a URL when used as a widget.
|
||||||
@@ -107,6 +110,11 @@ recommended method for embedding Element Call.
|
|||||||
<img src="./docs/embedded_package.drawio.png" alt="Element Call Embedded Package">
|
<img src="./docs/embedded_package.drawio.png" alt="Element Call Embedded Package">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
**Component Package (experimental)** – A library build of Element Call as a
|
||||||
|
React component, consumed as a dependency by a host application that already
|
||||||
|
has a Matrix client. See
|
||||||
|
[Element Call as a component](#element-call-as-a-component-experimental) below.
|
||||||
|
|
||||||
For more details on the packages, see the
|
For more details on the packages, see the
|
||||||
[Embedded vs. Standalone Guide](./docs/embedded_standalone.md).
|
[Embedded vs. Standalone Guide](./docs/embedded_standalone.md).
|
||||||
|
|
||||||
@@ -115,30 +123,33 @@ For more details on the packages, see the
|
|||||||
For operating and deploying Element Call on your own server, refer to the
|
For operating and deploying Element Call on your own server, refer to the
|
||||||
[**Self-Hosting Guide**](./docs/self_hosting.md).
|
[**Self-Hosting Guide**](./docs/self_hosting.md).
|
||||||
|
|
||||||
## 🧭 MatrixRTC Backend Discovery and Selection
|
## MatrixRTC Transports
|
||||||
|
|
||||||
For proper Element Call operation each site deployment needs a MatrixRTC backend
|
For proper operation of Element Call, each deployment needs to set up a
|
||||||
setup as outlined in the [Self-Hosting Guide](./docs/self_hosting.md). A typical
|
MatrixRTC transport in the form of a LiveKit server as outlined in the
|
||||||
federated site deployment for three different sites A, B and C is depicted below.
|
[Self-Hosting Guide](./docs/self_hosting.md). A typical federated site
|
||||||
|
deployment for three different sites A, B and C is depicted below.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="./docs/Federated_Setup.drawio.png" alt="Element Call federated setup">
|
<img src="./docs/Federated_Setup.drawio.png" alt="Element Call federated setup">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Backend Discovery
|
### Transport Discovery
|
||||||
|
|
||||||
The MatrixRTC backend (according to
|
Element Call discovers the available MatrixRTC transports (as defined by
|
||||||
[MSC4143](https://github.com/matrix-org/matrix-spec-proposals/pull/4143)) is
|
[MSC4519](https://github.com/matrix-org/matrix-spec-proposals/pull/4519)) by
|
||||||
announced by the Matrix site's `.well-known/matrix/client` file and discovered
|
hitting the `GET /_matrix/client/unstable/org.matrix.msc4143/rtc/transports`
|
||||||
via the `org.matrix.msc4143.rtc_foci` key, e.g.:
|
endpoint of the Client-Server API. An example response:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"org.matrix.msc4143.rtc_foci": [
|
{
|
||||||
|
"rtc_transports": [
|
||||||
{
|
{
|
||||||
"type": "livekit",
|
"type": "livekit",
|
||||||
"livekit_service_url": "https://matrix-rtc.example.com/livekit/jwt"
|
"livekit_service_url": "https://matrix-rtc.example.com/livekit/jwt"
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
where the format for MatrixRTC using LiveKit backend is defined in
|
where the format for MatrixRTC using LiveKit backend is defined in
|
||||||
@@ -149,7 +160,7 @@ via `livekit_service_url`.
|
|||||||
|
|
||||||
### Backend Selection
|
### Backend Selection
|
||||||
|
|
||||||
- Each call participant proposes their discovered MatrixRTC backend from
|
- Each call participant proposes their discovered MatrixRTC transport from
|
||||||
`org.matrix.msc4143.rtc_foci` in their `org.matrix.msc3401.call.member` state event.
|
`org.matrix.msc4143.rtc_foci` in their `org.matrix.msc3401.call.member` state event.
|
||||||
- For the **LiveKit** MatrixRTC backend
|
- For the **LiveKit** MatrixRTC backend
|
||||||
([MSC4195](https://github.com/hughns/matrix-spec-proposals/blob/hughns/matrixrtc-livekit/proposals/4195-matrixrtc-livekit.md)),
|
([MSC4195](https://github.com/hughns/matrix-spec-proposals/blob/hughns/matrixrtc-livekit/proposals/4195-matrixrtc-livekit.md)),
|
||||||
@@ -210,9 +221,114 @@ See also:
|
|||||||
|
|
||||||
- [Developing with linked packages](./docs/linking.md)
|
- [Developing with linked packages](./docs/linking.md)
|
||||||
|
|
||||||
|
#### Element Call as a component (experimental)
|
||||||
|
|
||||||
|
Element Call can also be embedded directly into another React application
|
||||||
|
rather than being loaded in an iframe as a widget. `pnpm build:component`
|
||||||
|
builds it as a library into `component/dist` (the bundle, its stylesheet and
|
||||||
|
type declarations), and
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm dev:component
|
||||||
|
```
|
||||||
|
|
||||||
|
serves a harness on port 3001 that stands in for such an application: it signs
|
||||||
|
in twice against the development backend and shows two calls side by side, in
|
||||||
|
resizable boxes, with page furniture of its own around them. Use it to see how
|
||||||
|
Element Call behaves when it does not own the page — the size it is given,
|
||||||
|
whether it stays inside its container, and what it says to its host, which is
|
||||||
|
logged along the bottom. The harness is served with the same development
|
||||||
|
certificate as the app, so unless the development CA is trusted, the browser
|
||||||
|
needs a certificate exception for `https://localhost:3001` as well (see the
|
||||||
|
note under [Backend](#backend)). It reads the same `public/config.json` as
|
||||||
|
`pnpm dev` if one exists, and runs with Element Call's defaults otherwise.
|
||||||
|
|
||||||
|
The call lays itself out for the size of the element it is mounted in, not the
|
||||||
|
window: a host that shrinks the container to a corner of its page gets the
|
||||||
|
picture-in-picture layout, just as a host that shrank the whole iframe used to.
|
||||||
|
The breakpoints in the stylesheets the component uses are
|
||||||
|
`@container element-call` queries against its root element for the same reason;
|
||||||
|
for the standalone app the root is the page, so they mean what the media queries
|
||||||
|
they replaced did. (The standalone-only views, such as the home and login pages,
|
||||||
|
still use plain media queries, since the component never shows them.)
|
||||||
|
|
||||||
|
The component's stylesheet is confined to the element it is mounted in: the
|
||||||
|
build rewrites every selector so that it matches only Element Call's root or
|
||||||
|
what is inside it, with `html`, `body` and `:root` standing for that root (see
|
||||||
|
`component/build/scopeStylesToRoot.ts`). A host's own page keeps its styles,
|
||||||
|
and Element Call brings its own fonts and design tokens along.
|
||||||
|
|
||||||
|
The component speaks every language the app does. English is bundled in; the
|
||||||
|
other locales are split into chunks the host's bundler loads the first time
|
||||||
|
they are needed. It starts in the browser's language, and follows the host's
|
||||||
|
own language setting through the `language` prop (`supportedLanguages` lists
|
||||||
|
the tags it accepts, and anything else falls back to its base language or to
|
||||||
|
English). The `theme` prop works the same way and takes the same values as the
|
||||||
|
widget's `theme` URL parameter: `light`, `dark`, `light-high-contrast` or
|
||||||
|
`dark-high-contrast`. Both can change while a call is running without
|
||||||
|
disturbing it.
|
||||||
|
|
||||||
|
A host must call and await `initializeElementCall(config)` once before
|
||||||
|
rendering the component: it loads the `Intl` polyfills, applies the
|
||||||
|
deployment-wide `config.json`-style configuration and sets up translations.
|
||||||
|
The component itself takes the host's `client` and the `roomId` to call in, an
|
||||||
|
`intent` saying what the user asked for (which decides whether to show the
|
||||||
|
lobby, ring, and so on), an optional `config` overriding what the intent
|
||||||
|
implies, and an optional `hostBridge` through which Element Call tells the host
|
||||||
|
that the user has joined or hung up, that it wants to stay on screen, and so
|
||||||
|
on. The host makes its own requests (`join`, `hangUp`, `setDeviceMute`) through
|
||||||
|
the handle exposed on `ref`. The full API is documented in the type declarations
|
||||||
|
(`component/index.tsx` and `component/host.ts`).
|
||||||
|
|
||||||
|
A few things differ from the widget on purpose: the component draws a solid
|
||||||
|
background rather than a gradient unless told otherwise, never offers to edit
|
||||||
|
the user's profile (the account is the host's), scopes its keyboard shortcuts to
|
||||||
|
its own root element so that several instances can share a page, and only shows
|
||||||
|
its own post-call and error screens when the host has not supplied a `close()`
|
||||||
|
callback; with one, it asks the host to unmount it instead. The
|
||||||
|
[global JS controls](./docs/controls.md) on `window` are unchanged and remain
|
||||||
|
page-wide, so with several instances on one page they apply to all of them.
|
||||||
|
|
||||||
|
The package is not published yet. A host installs it as a git dependency on the
|
||||||
|
`component` directory of this repository,
|
||||||
|
|
||||||
|
```json
|
||||||
|
"@element-hq/element-call-component": "github:element-hq/element-call#main&path:/component"
|
||||||
|
```
|
||||||
|
|
||||||
|
whose `prepare` script runs the build on install. That build needs pnpm (via
|
||||||
|
Corepack) on the host's machine, runs a full `pnpm install` of this repository
|
||||||
|
and is memory-hungry, since it inherits the `--max-old-space-size` setting of
|
||||||
|
the app build; the host's pnpm also has to allow it to run at all
|
||||||
|
(`allowBuilds` in its `pnpm-workspace.yaml`). Note that `component/` is a pnpm
|
||||||
|
project of its own for this reason, so pnpm commands run from inside that
|
||||||
|
directory target it rather than the repository; run them from the repository
|
||||||
|
root. The host imports the component from
|
||||||
|
`@element-hq/element-call-component` and the stylesheet from
|
||||||
|
`@element-hq/element-call-component/style.css`, and has to provide `react`,
|
||||||
|
`react-dom`, `matrix-js-sdk` and `livekit-client` itself, since the bundle leaves
|
||||||
|
them external.
|
||||||
|
|
||||||
|
The component is large, and a host will usually load it lazily, only once a
|
||||||
|
call is shown. Everything a host needs in order to talk about a call before
|
||||||
|
then is also exported
|
||||||
|
from `@element-hq/element-call-component/api` (a small entry point that does not
|
||||||
|
load the component).
|
||||||
|
|
||||||
|
- props and the types they are made of
|
||||||
|
- the handle
|
||||||
|
- the host bridge
|
||||||
|
- `UserIntent`
|
||||||
|
- `HeaderStyle`
|
||||||
|
- `BackgroundStyle` enums
|
||||||
|
- `configurationForIntent`, the defaults each intent implies
|
||||||
|
Import from it wherever a value such as
|
||||||
|
`BackgroundStyle.Solid` is needed on a path that must stay light; the main
|
||||||
|
entry point re-exports all of it too.
|
||||||
|
|
||||||
### Backend
|
### Backend
|
||||||
|
|
||||||
A docker compose file `dev-backend-docker-compose.yml` is provided to start the
|
A docker compose file `docker-compose-dev.yml` is provided to start the
|
||||||
whole stack of components which is required for a local development environment
|
whole stack of components which is required for a local development environment
|
||||||
including federation:
|
including federation:
|
||||||
|
|
||||||
@@ -239,19 +355,26 @@ the backend components:
|
|||||||
```sh
|
```sh
|
||||||
pnpm backend
|
pnpm backend
|
||||||
# or for podman-compose:
|
# or for podman-compose:
|
||||||
# podman-compose -f dev-backend-docker-compose.yml up
|
# podman-compose -f docker-compose-dev.yml up
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> To ensure your local development frontend functions properly, you’ll need to
|
> To ensure your local development frontend functions properly, you’ll need to
|
||||||
> add certificate exceptions in your browser for `https://localhost:3000`,
|
> add certificate exceptions in your browser for `https://localhost:3000` and
|
||||||
> `https://matrix-rtc.m.localhost/livekit/jwt/healthz` and
|
> `https://matrix-rtc.m.localhost/livekit/jwt/healthz`. This can be done either
|
||||||
> `https://synapse.m.localhost/.well-known/matrix/client`. This can be either
|
> by adding the minimum localhost CA
|
||||||
> done by adding the minimum localhost CA
|
|
||||||
> ([./backend/dev_tls_local-ca.crt](./backend/dev_tls_local-ca.crt)) to your web
|
> ([./backend/dev_tls_local-ca.crt](./backend/dev_tls_local-ca.crt)) to your web
|
||||||
> browser's trusted certificates or by simply copying and pasting each URL into
|
> browser's trusted certificates or by simply copying and pasting each URL into
|
||||||
> your browser’s address bar and follow the prompts to add the exception.
|
> your browser’s address bar and follow the prompts to add the exception.
|
||||||
|
|
||||||
|
### Updating snapshots
|
||||||
|
|
||||||
|
To update snapshots used in tests, use Vitest's `-u` flag, e.g.:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm test DeveloperSettingsTab -u
|
||||||
|
```
|
||||||
|
|
||||||
### Playwright tests
|
### Playwright tests
|
||||||
|
|
||||||
Our Playwright tests run automatically as part of our CI along with our other
|
Our Playwright tests run automatically as part of our CI along with our other
|
||||||
@@ -264,7 +387,10 @@ running Playwright by following
|
|||||||
|
|
||||||
However the Playwright tests are run, an element-call instance must be running
|
However the Playwright tests are run, an element-call instance must be running
|
||||||
on https://localhost:3000 (this is configured in `playwright.config.ts`) - this
|
on https://localhost:3000 (this is configured in `playwright.config.ts`) - this
|
||||||
is what will be tested.
|
is what will be tested. The tests under `playwright/component` instead drive
|
||||||
|
the component harness (`pnpm dev:component`) on https://localhost:3001, which
|
||||||
|
Playwright starts as a second web server; it is always a Vite dev server, even
|
||||||
|
when the app itself is served from Docker with `USE_DOCKER`.
|
||||||
|
|
||||||
The local backend environment should be running for the test to work:
|
The local backend environment should be running for the test to work:
|
||||||
`pnpm backend`
|
`pnpm backend`
|
||||||
@@ -351,9 +477,19 @@ Usage and other technical details about the project can be found here:
|
|||||||
|
|
||||||
[**Docs**](./docs/README.md)
|
[**Docs**](./docs/README.md)
|
||||||
|
|
||||||
|
## GitHub Labels
|
||||||
|
|
||||||
|
GitHub labels in this repository are maintained in the [`labels.yml`](.github/labels.yml) file and
|
||||||
|
automatically synced to GitHub using the [`sync-labels` workflow](.github/workflows/sync-labels.yml).
|
||||||
|
We do this so that we can reuse the labels between repositories.
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Do not manually edit labels in the GitHub UI. Any manual changes will be overridden by the
|
||||||
|
> workflow on its next invocation.
|
||||||
|
|
||||||
## 📝 Copyright & License
|
## 📝 Copyright & License
|
||||||
|
|
||||||
Copyright 2021-2025 New Vector Ltd
|
Copyright 2021-2026 New Vector Ltd
|
||||||
|
|
||||||
This software is dual-licensed by New Vector Ltd (Element). It can be used
|
This software is dual-licensed by New Vector Ltd (Element). It can be used
|
||||||
either:
|
either:
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
presets: [
|
|
||||||
[
|
|
||||||
"@babel/preset-env",
|
|
||||||
{
|
|
||||||
targets: {
|
|
||||||
node: "current",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"@babel/preset-react",
|
|
||||||
{
|
|
||||||
runtime: "automatic",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"@babel/preset-typescript",
|
|
||||||
],
|
|
||||||
plugins: ["babel-plugin-transform-vite-meta-env"],
|
|
||||||
};
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
id: "lk-jwt-service-othersite"
|
||||||
|
as_token: "ec_dev_as_token_othersite_0123456789ab"
|
||||||
|
hs_token: "ec_dev_hs_token_othersite_0123456789ab"
|
||||||
|
sender_localpart: "_lk_jwt_service"
|
||||||
|
namespaces:
|
||||||
|
users:
|
||||||
|
- exclusive: false
|
||||||
|
regex: "@.*:homeserver-1" # Cover all local users
|
||||||
|
# Required for Synapse to call POST /_matrix/app/v1/ping on this service.
|
||||||
|
url: "http://auth-server-1:16080"
|
||||||
|
# Enable membership look-ups via /is_joined.
|
||||||
|
io.element.msc4502.scopes:
|
||||||
|
["urn:matrix:client:io.element.msc4502:rooms:is_joined"]
|
||||||
|
# Route /_matrix/client/(v*|unstable/*)/rtc/livekit/* C-S and S-S requests to this
|
||||||
|
# service.
|
||||||
|
io.element.msc4512.proxy_prefix: "rtc/livekit"
|
||||||
|
io.element.msc4512.proxy_url: "http://auth-server-1:16080"
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
id: "lk-jwt-service"
|
||||||
|
as_token: "ec_dev_as_token_main_0123456789ab"
|
||||||
|
hs_token: "ec_dev_hs_token_main_0123456789ab"
|
||||||
|
sender_localpart: "_lk_jwt_service"
|
||||||
|
namespaces:
|
||||||
|
users:
|
||||||
|
- exclusive: false
|
||||||
|
regex: "@.*:homeserver" # Cover all local users
|
||||||
|
# Required for Synapse to call POST /_matrix/app/v1/ping on this service.
|
||||||
|
url: "http://auth-server:6080"
|
||||||
|
# Enable membership look-ups via /is_joined.
|
||||||
|
io.element.msc4502.scopes:
|
||||||
|
["urn:matrix:client:io.element.msc4502:rooms:is_joined"]
|
||||||
|
# Route /_matrix/client/(v*|unstable/*)/rtc/livekit/* C-S and S-S requests to this
|
||||||
|
# service.
|
||||||
|
io.element.msc4512.proxy_prefix: "rtc/livekit"
|
||||||
|
io.element.msc4512.proxy_url: "http://auth-server:6080"
|
||||||
@@ -40,6 +40,15 @@ experimental_features:
|
|||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
# sticky events for MatrixRTC user state
|
# sticky events for MatrixRTC user state
|
||||||
msc4354_enabled: true
|
msc4354_enabled: true
|
||||||
|
# MatrixRTC
|
||||||
|
msc4143_enabled: true
|
||||||
|
# Enable membership look-up via /is_joined.
|
||||||
|
msc4502_enabled: true
|
||||||
|
# Enable C-S & S-S request proxying for application services.
|
||||||
|
msc4512_enabled: true
|
||||||
|
|
||||||
|
app_service_config_files:
|
||||||
|
- /data/cfg/app-service.yaml
|
||||||
|
|
||||||
# The maximum allowed duration by which sent events can be delayed, as
|
# The maximum allowed duration by which sent events can be delayed, as
|
||||||
# per MSC4140. Must be a positive value if set. Defaults to no
|
# per MSC4140. Must be a positive value if set. Defaults to no
|
||||||
@@ -54,7 +63,6 @@ enable_registration_without_verification: true
|
|||||||
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
||||||
|
|
||||||
report_stats: false
|
report_stats: false
|
||||||
serve_server_wellknown: true
|
|
||||||
|
|
||||||
# Ratelimiting settings for client actions (registration, login, messaging).
|
# Ratelimiting settings for client actions (registration, login, messaging).
|
||||||
#
|
#
|
||||||
@@ -67,3 +75,8 @@ rc_message:
|
|||||||
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
||||||
per_second: 0.5
|
per_second: 0.5
|
||||||
burst_count: 30
|
burst_count: 30
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
- type: livekit
|
||||||
|
livekit_service_url: https://matrix-rtc.othersite.m.localhost/livekit/jwt
|
||||||
|
|||||||
@@ -40,6 +40,15 @@ experimental_features:
|
|||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
# sticky events for MatrixRTC user state
|
# sticky events for MatrixRTC user state
|
||||||
msc4354_enabled: true
|
msc4354_enabled: true
|
||||||
|
# MatrixRTC
|
||||||
|
msc4143_enabled: true
|
||||||
|
# Enable membership look-up via /is_joined.
|
||||||
|
msc4502_enabled: true
|
||||||
|
# Enable C-S & S-S request proxying for application services.
|
||||||
|
msc4512_enabled: true
|
||||||
|
|
||||||
|
app_service_config_files:
|
||||||
|
- /data/cfg/app-service.yaml
|
||||||
|
|
||||||
# The maximum allowed duration by which sent events can be delayed, as
|
# The maximum allowed duration by which sent events can be delayed, as
|
||||||
# per MSC4140. Must be a positive value if set. Defaults to no
|
# per MSC4140. Must be a positive value if set. Defaults to no
|
||||||
@@ -54,7 +63,6 @@ enable_registration_without_verification: true
|
|||||||
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
||||||
|
|
||||||
report_stats: false
|
report_stats: false
|
||||||
serve_server_wellknown: true
|
|
||||||
|
|
||||||
# Ratelimiting settings for client actions (registration, login, messaging).
|
# Ratelimiting settings for client actions (registration, login, messaging).
|
||||||
#
|
#
|
||||||
@@ -67,3 +75,8 @@ rc_message:
|
|||||||
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
||||||
per_second: 0.5
|
per_second: 0.5
|
||||||
burst_count: 30
|
burst_count: 30
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
- type: livekit
|
||||||
|
livekit_service_url: https://matrix-rtc.m.localhost/livekit/jwt
|
||||||
|
|||||||
+2
-26
@@ -1,4 +1,4 @@
|
|||||||
# Synapse reverse proxy including .well-known/matrix/client
|
# Synapse reverse proxy
|
||||||
# domain synapse.m.localhost
|
# domain synapse.m.localhost
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
@@ -11,18 +11,6 @@ server {
|
|||||||
ssl_certificate /root/ssl/cert.pem;
|
ssl_certificate /root/ssl/cert.pem;
|
||||||
ssl_certificate_key /root/ssl/key.pem;
|
ssl_certificate_key /root/ssl/key.pem;
|
||||||
|
|
||||||
# well-known config adding rtc_foci backend
|
|
||||||
# Note well-known is currently not effective due to:
|
|
||||||
# https://spec.matrix.org/v1.12/client-server-api/#well-known-uri the spec
|
|
||||||
# says it must be at https://$server_name/... (implied port 443) Hence, we
|
|
||||||
# currently rely for local development environment on deprecated config.json
|
|
||||||
# setting for livekit_service_url
|
|
||||||
location /.well-known/matrix/client {
|
|
||||||
add_header Access-Control-Allow-Origin *;
|
|
||||||
return 200 '{"m.homeserver": {"base_url": "https://synapse.m.localhost"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "https://matrix-rtc.m.localhost/livekit/jwt"}]}';
|
|
||||||
default_type application/json;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Reverse proxy for Matrix Synapse Homeserver
|
# Reverse proxy for Matrix Synapse Homeserver
|
||||||
# This is also required for development environment.
|
# This is also required for development environment.
|
||||||
# Reason: the lk-jwt-service uses the federation API for the openid token
|
# Reason: the lk-jwt-service uses the federation API for the openid token
|
||||||
@@ -44,7 +32,7 @@ server {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Synapse reverse proxy including .well-known/matrix/client
|
# Synapse reverse proxy
|
||||||
# domain synapse.othersite.m.localhost
|
# domain synapse.othersite.m.localhost
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
@@ -57,18 +45,6 @@ server {
|
|||||||
ssl_certificate /root/ssl/cert.pem;
|
ssl_certificate /root/ssl/cert.pem;
|
||||||
ssl_certificate_key /root/ssl/key.pem;
|
ssl_certificate_key /root/ssl/key.pem;
|
||||||
|
|
||||||
# well-known config adding rtc_foci backend
|
|
||||||
# Note well-known is currently not effective due to:
|
|
||||||
# https://spec.matrix.org/v1.12/client-server-api/#well-known-uri the spec
|
|
||||||
# says it must be at https://$server_name/... (implied port 443) Hence, we
|
|
||||||
# currently rely for local development environment on deprecated config.json
|
|
||||||
# setting for livekit_service_url
|
|
||||||
location /.well-known/matrix/client {
|
|
||||||
add_header Access-Control-Allow-Origin *;
|
|
||||||
return 200 '{"m.homeserver": {"base_url": "https://synapse.othersite.m.localhost"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "https://matrix-rtc.othersite.m.localhost/livekit/jwt"}]}';
|
|
||||||
default_type application/json;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Reverse proxy for Matrix Synapse Homeserver
|
# Reverse proxy for Matrix Synapse Homeserver
|
||||||
# This is also required for development environment.
|
# This is also required for development environment.
|
||||||
# Reason: the lk-jwt-service uses the federation API for the openid token
|
# Reason: the lk-jwt-service uses the federation API for the openid token
|
||||||
|
|||||||
@@ -40,6 +40,15 @@ experimental_features:
|
|||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
# sticky events for MatrixRTC user state
|
# sticky events for MatrixRTC user state
|
||||||
msc4354_enabled: true
|
msc4354_enabled: true
|
||||||
|
# MatrixRTC
|
||||||
|
msc4143_enabled: true
|
||||||
|
# Enable membership look-up via /is_joined.
|
||||||
|
msc4502_enabled: true
|
||||||
|
# Enable C-S & S-S request proxying for application services.
|
||||||
|
msc4512_enabled: true
|
||||||
|
|
||||||
|
app_service_config_files:
|
||||||
|
- /data/cfg/app-service.yaml
|
||||||
|
|
||||||
# The maximum allowed duration by which sent events can be delayed, as
|
# The maximum allowed duration by which sent events can be delayed, as
|
||||||
# per MSC4140. Must be a positive value if set. Defaults to no
|
# per MSC4140. Must be a positive value if set. Defaults to no
|
||||||
@@ -54,7 +63,6 @@ enable_registration_without_verification: true
|
|||||||
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
||||||
|
|
||||||
report_stats: false
|
report_stats: false
|
||||||
serve_server_wellknown: true
|
|
||||||
|
|
||||||
# Ratelimiting settings for client actions (registration, login, messaging).
|
# Ratelimiting settings for client actions (registration, login, messaging).
|
||||||
#
|
#
|
||||||
@@ -84,3 +92,8 @@ rc_login:
|
|||||||
rc_registration:
|
rc_registration:
|
||||||
per_second: 10000
|
per_second: 10000
|
||||||
burst_count: 10000
|
burst_count: 10000
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
- type: livekit
|
||||||
|
livekit_service_url: https://matrix-rtc.othersite.m.localhost/livekit/jwt
|
||||||
|
|||||||
@@ -40,6 +40,15 @@ experimental_features:
|
|||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
# sticky events for MatrixRTC user state
|
# sticky events for MatrixRTC user state
|
||||||
msc4354_enabled: true
|
msc4354_enabled: true
|
||||||
|
# MatrixRTC
|
||||||
|
msc4143_enabled: true
|
||||||
|
# Enable membership look-up via /is_joined.
|
||||||
|
msc4502_enabled: true
|
||||||
|
# Enable C-S & S-S request proxying for application services.
|
||||||
|
msc4512_enabled: true
|
||||||
|
|
||||||
|
app_service_config_files:
|
||||||
|
- /data/cfg/app-service.yaml
|
||||||
|
|
||||||
# The maximum allowed duration by which sent events can be delayed, as
|
# The maximum allowed duration by which sent events can be delayed, as
|
||||||
# per MSC4140. Must be a positive value if set. Defaults to no
|
# per MSC4140. Must be a positive value if set. Defaults to no
|
||||||
@@ -54,7 +63,6 @@ enable_registration_without_verification: true
|
|||||||
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
registration_shared_secret: "test_shared_secret_for_local_dev_only"
|
||||||
|
|
||||||
report_stats: false
|
report_stats: false
|
||||||
serve_server_wellknown: true
|
|
||||||
|
|
||||||
# Ratelimiting settings for client actions (registration, login, messaging).
|
# Ratelimiting settings for client actions (registration, login, messaging).
|
||||||
#
|
#
|
||||||
@@ -84,3 +92,8 @@ rc_login:
|
|||||||
rc_registration:
|
rc_registration:
|
||||||
per_second: 10000
|
per_second: 10000
|
||||||
burst_count: 10000
|
burst_count: 10000
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
- type: livekit
|
||||||
|
livekit_service_url: https://matrix-rtc.m.localhost/livekit/jwt
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* The container a host mounts us into. It fills whatever space the host gives
|
||||||
|
it, and nothing we draw may leave it.
|
||||||
|
|
||||||
|
That takes two separate things, which are easy to mistake for one. `isolation`
|
||||||
|
gives us a stacking context, so nothing inside can be layered above the host's
|
||||||
|
own interface. Containment makes us the containing block for `position: fixed`
|
||||||
|
descendants, and clips what we paint to our own box: without it, the modal
|
||||||
|
scrim and dialog — which are positioned `fixed` and centred, since in the app
|
||||||
|
they are meant to cover the page — resolve against the viewport and appear in
|
||||||
|
the middle of the host's window rather than in the middle of the call.
|
||||||
|
|
||||||
|
The clipping cuts both ways: a menu near the edge of a small container is
|
||||||
|
trimmed rather than overflowing into the host. That is the trade being a
|
||||||
|
component rather than a page makes. */
|
||||||
|
.root {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
inline-size: 100%;
|
||||||
|
block-size: 100%;
|
||||||
|
isolation: isolate;
|
||||||
|
contain: layout paint;
|
||||||
|
position: relative;
|
||||||
|
background-color: var(--cpd-color-bg-canvas-default);
|
||||||
|
color: var(--cpd-color-text-primary);
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Compound's overlay container, which holds tooltips and popovers, has to fill
|
||||||
|
the container for the elements inside it to be positioned against it. The
|
||||||
|
standalone page does the same for the container under `#root`. */
|
||||||
|
.root > [data-overlay-container] {
|
||||||
|
position: relative;
|
||||||
|
block-size: 100%;
|
||||||
|
}
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* EXPERIMENTAL
|
||||||
|
*
|
||||||
|
* What a host needs in order to talk about Element Call, without Element Call:
|
||||||
|
* the component's props and the types they are made of, the handle and the
|
||||||
|
* host bridge, the intents a call can be started with and the configuration
|
||||||
|
* each implies.
|
||||||
|
*
|
||||||
|
* This is an entry point of its own, `@element-hq/element-call-component/api`,
|
||||||
|
* so that a host can import it on a path that must stay light — a call model
|
||||||
|
* that needs `BackgroundStyle.Solid` as a value, say — and load the component
|
||||||
|
* itself, and everything it brings, only when a call is shown. The main entry
|
||||||
|
* point re-exports all of it, so a host that does not care may import
|
||||||
|
* everything from there.
|
||||||
|
*
|
||||||
|
* Nothing in here may reach anything that is not a type or a constant: the
|
||||||
|
* point of this module is what it does not import.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import type { Ref } from "react";
|
||||||
|
import type { MatrixClient } from "matrix-js-sdk";
|
||||||
|
|
||||||
|
import type { UrlProperties } from "../src/UrlParams";
|
||||||
|
import type { ElementCallHandle, ElementCallHostBridge } from "./host";
|
||||||
|
import {
|
||||||
|
BackgroundStyle,
|
||||||
|
configurationForIntent,
|
||||||
|
HeaderStyle,
|
||||||
|
type UrlConfiguration,
|
||||||
|
UserIntent,
|
||||||
|
} from "../src/UrlConfiguration";
|
||||||
|
|
||||||
|
// How the host and Element Call talk to each other, and what they say
|
||||||
|
export type { ElementCallHandle, ElementCallHostBridge } from "./host";
|
||||||
|
export type { DeviceMuteRequest, DeviceMuteState } from "../src/HostBridge";
|
||||||
|
export type { JoinCallData } from "../src/widget";
|
||||||
|
// The deployment-wide configuration, as distinct from ElementCallConfiguration
|
||||||
|
// below, which is per call
|
||||||
|
export type { ConfigOptions } from "../src/config/ConfigOptions";
|
||||||
|
// The values that appear in ElementCallConfiguration and in the intent, and
|
||||||
|
// what each intent means by default
|
||||||
|
export {
|
||||||
|
BackgroundStyle,
|
||||||
|
configurationForIntent,
|
||||||
|
HeaderStyle,
|
||||||
|
type UrlConfiguration,
|
||||||
|
UserIntent,
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How Element Call should behave. Everything is optional; anything left out
|
||||||
|
* takes the default that {@link ElementCallProps.intent} implies.
|
||||||
|
*
|
||||||
|
* This is the behaviour a widget can be configured with through its URL, plus
|
||||||
|
* the one fact about the call a host has a say in here, the background. The
|
||||||
|
* rest of what a widget's URL carries — who the user is, how to reach the
|
||||||
|
* homeserver, where to report analytics, the shared secret of a room that is
|
||||||
|
* encrypted with one — a component host supplies by other routes, or not at
|
||||||
|
* all; and what can change while the call is running, the theme and the
|
||||||
|
* language, is a prop of its own.
|
||||||
|
*/
|
||||||
|
export type ElementCallConfiguration = Partial<UrlConfiguration> &
|
||||||
|
Partial<Pick<UrlProperties, "background">>;
|
||||||
|
|
||||||
|
export interface ElementCallProps {
|
||||||
|
/**
|
||||||
|
* The client to place the call with. Element Call does not authenticate
|
||||||
|
* anyone or manage a session of its own; this one is the host's.
|
||||||
|
*/
|
||||||
|
client: MatrixClient;
|
||||||
|
/** The room to call in. The host's client must already know about it. */
|
||||||
|
roomId: string;
|
||||||
|
/**
|
||||||
|
* What the user asked for — whether they started the call or joined one that
|
||||||
|
* was already running, and whether it is a call in a group or a DM. Element
|
||||||
|
* Call decides what each of those means: whether to show the lobby first,
|
||||||
|
* whether to ring, and so on.
|
||||||
|
*
|
||||||
|
* Defaults to joining an existing group call, which is the most conservative
|
||||||
|
* reading, but a host that knows which button the user pressed should say so.
|
||||||
|
*/
|
||||||
|
intent?: UserIntent;
|
||||||
|
/**
|
||||||
|
* How Element Call should behave, overriding whatever {@link intent} implies.
|
||||||
|
* A host that finds itself setting a lot of these probably wants a different
|
||||||
|
* intent instead.
|
||||||
|
*
|
||||||
|
* Compared by value, so it is fine to write this inline; only a change to
|
||||||
|
* what it says restarts anything.
|
||||||
|
*/
|
||||||
|
config?: ElementCallConfiguration;
|
||||||
|
/**
|
||||||
|
* What Element Call tells the host while the call is running: that the user
|
||||||
|
* has joined or hung up, that it would like to be kept on screen, and so on.
|
||||||
|
* Without one, Element Call assumes nobody is listening.
|
||||||
|
*/
|
||||||
|
hostBridge?: ElementCallHostBridge;
|
||||||
|
/**
|
||||||
|
* What the host tells Element Call: to hang up, to mute, to join. Available
|
||||||
|
* once the component has rendered.
|
||||||
|
*/
|
||||||
|
ref?: Ref<ElementCallHandle>;
|
||||||
|
/**
|
||||||
|
* The theme to show Element Call in, `light` or `dark`. Left out, Element
|
||||||
|
* Call picks. Changes take effect at once, and cost nothing else.
|
||||||
|
*/
|
||||||
|
theme?: string;
|
||||||
|
/**
|
||||||
|
* The language to show Element Call in, as a BCP 47 tag: one of the
|
||||||
|
* `supportedLanguages` the main entry point exports, or something that falls
|
||||||
|
* back to one (`de-AT` to `de`). Left out, the browser's language is used.
|
||||||
|
*
|
||||||
|
* Translations are one thing shared by every Element Call on the page, so
|
||||||
|
* the most recently set language wins for all of them.
|
||||||
|
*/
|
||||||
|
language?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,112 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import postcss from "postcss";
|
||||||
|
|
||||||
|
import { ROOT_SELECTOR, scopeStylesToRoot } from "./scopeStylesToRoot";
|
||||||
|
|
||||||
|
const inRoot = `:where(${ROOT_SELECTOR}, ${ROOT_SELECTOR} *)`;
|
||||||
|
const isRoot = `:where(${ROOT_SELECTOR})`;
|
||||||
|
|
||||||
|
async function scope(css: string, file = "base.css"): Promise<string> {
|
||||||
|
const result = await postcss([scopeStylesToRoot()]).process(css, {
|
||||||
|
from: file,
|
||||||
|
});
|
||||||
|
return result.css;
|
||||||
|
}
|
||||||
|
|
||||||
|
describe("scopeStylesToRoot", () => {
|
||||||
|
it("makes the root stand in for the document", async () => {
|
||||||
|
expect(await scope("html { line-height: 1.15 }")).toBe(
|
||||||
|
`${isRoot} { line-height: 1.15 }`,
|
||||||
|
);
|
||||||
|
expect(await scope("body { margin: 0 }")).toBe(`${isRoot} { margin: 0 }`);
|
||||||
|
expect(await scope(":root { --a: 1 }")).toBe(`${isRoot} { --a: 1 }`);
|
||||||
|
expect(await scope("body.no-scroll-body { position: fixed }")).toBe(
|
||||||
|
`${isRoot}.no-scroll-body { position: fixed }`,
|
||||||
|
);
|
||||||
|
expect(await scope("body .x { color: red }")).toBe(
|
||||||
|
`${isRoot} .x { color: red }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("collapses selectors that all became the root", async () => {
|
||||||
|
expect(await scope("html, body, input { font: inherit }")).toBe(
|
||||||
|
`${isRoot},input${inRoot} { font: inherit }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("confines everything else to the root and what is inside it", async () => {
|
||||||
|
expect(await scope("h1 { margin: 0 }")).toBe(`h1${inRoot} { margin: 0 }`);
|
||||||
|
expect(await scope(".cpd-theme-dark { --a: 1 }")).toBe(
|
||||||
|
`.cpd-theme-dark${inRoot} { --a: 1 }`,
|
||||||
|
);
|
||||||
|
expect(await scope("* { box-sizing: border-box }")).toBe(
|
||||||
|
`*${inRoot} { box-sizing: border-box }`,
|
||||||
|
);
|
||||||
|
expect(await scope(".a > .b + .c { color: red }")).toBe(
|
||||||
|
`.a>.b+.c${inRoot} { color: red }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("keeps pseudo-elements last", async () => {
|
||||||
|
expect(await scope("button::-moz-focus-inner { border: 0 }")).toBe(
|
||||||
|
`button${inRoot}::-moz-focus-inner { border: 0 }`,
|
||||||
|
);
|
||||||
|
expect(await scope(".a .b:hover::after { content: '' }")).toBe(
|
||||||
|
`.a .b:hover${inRoot}::after { content: '' }`,
|
||||||
|
);
|
||||||
|
expect(await scope("p:first-letter { color: red }")).toBe(
|
||||||
|
`p${inRoot}:first-letter { color: red }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("leaves alone what already names the root", async () => {
|
||||||
|
const css = `${ROOT_SELECTOR}[data-platform="ios"] { --a: 1 }`;
|
||||||
|
expect(await scope(css)).toBe(css);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("reaches into layers and media queries", async () => {
|
||||||
|
expect(
|
||||||
|
await scope(
|
||||||
|
"@layer normalize { h1 { margin: 0 } } @media (min-width: 1px) { p { margin: 0 } }",
|
||||||
|
),
|
||||||
|
).toBe(
|
||||||
|
`@layer normalize { h1${inRoot} { margin: 0 } } @media (min-width: 1px) { p${inRoot} { margin: 0 } }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("does not touch keyframes or nested rules", async () => {
|
||||||
|
expect(
|
||||||
|
await scope("@keyframes spin { from { opacity: 0 } to { opacity: 1 } }"),
|
||||||
|
).toBe("@keyframes spin { from { opacity: 0 } to { opacity: 1 } }");
|
||||||
|
expect(
|
||||||
|
await scope(
|
||||||
|
".a { color: red; &:hover { color: blue } .b { color: green } }",
|
||||||
|
),
|
||||||
|
).toBe(
|
||||||
|
`.a${inRoot} { color: red; &:hover { color: blue } .b { color: green } }`,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("only touches the bare selectors of a CSS module", async () => {
|
||||||
|
const file = "Settings.module.css";
|
||||||
|
expect(await scope("pre { font-size: 1px }", file)).toBe(
|
||||||
|
`pre${inRoot} { font-size: 1px }`,
|
||||||
|
);
|
||||||
|
expect(await scope(".modal pre { font-size: 1px }", file)).toBe(
|
||||||
|
`.modal pre${inRoot} { font-size: 1px }`,
|
||||||
|
);
|
||||||
|
expect(await scope(".box_abc12 { border: 0 }", file)).toBe(
|
||||||
|
".box_abc12 { border: 0 }",
|
||||||
|
);
|
||||||
|
expect(await scope(".a .b_abc12:hover { border: 0 }", file)).toBe(
|
||||||
|
".a .b_abc12:hover { border: 0 }",
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,161 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
type AtRule,
|
||||||
|
type Container,
|
||||||
|
type Document,
|
||||||
|
type Plugin,
|
||||||
|
type Rule,
|
||||||
|
} from "postcss";
|
||||||
|
import selectorParser, {
|
||||||
|
type Node,
|
||||||
|
type Pseudo,
|
||||||
|
type Selector,
|
||||||
|
} from "postcss-selector-parser";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How the stylesheets find Element Call's root element. The attribute is put
|
||||||
|
* there by `useTheme`, on the container the host gives the component.
|
||||||
|
*/
|
||||||
|
export const ROOT_SELECTOR = "[data-element-call-root]";
|
||||||
|
|
||||||
|
// Both are `:where()`, which has no specificity of its own, so the rules keep
|
||||||
|
// exactly the weight they had before being scoped and nothing in Element Call's
|
||||||
|
// cascade changes — only where it applies.
|
||||||
|
//
|
||||||
|
// The root, or anything inside it. Appended to the element a rule is about,
|
||||||
|
// rather than prepended to the whole selector, so that a rule about the root
|
||||||
|
// itself (its theme class, say) still matches.
|
||||||
|
const IN_ROOT = `:where(${ROOT_SELECTOR}, ${ROOT_SELECTOR} *)`;
|
||||||
|
// The root itself, standing in for the document.
|
||||||
|
const IS_ROOT = `:where(${ROOT_SELECTOR})`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Confines a stylesheet to Element Call's root element, for the build of
|
||||||
|
* Element Call as a component.
|
||||||
|
*
|
||||||
|
* As a page of its own, Element Call can style the document: normalize.css and
|
||||||
|
* Compound speak of `html`, `body` and bare elements, and the design tokens are
|
||||||
|
* declared on `:root`. As a component, all of that would land on the host's
|
||||||
|
* document too. This rewrites every selector so that it matches only the root
|
||||||
|
* or its descendants:
|
||||||
|
*
|
||||||
|
* - `html`, `body` and `:root` become the root element, which is what stands in
|
||||||
|
* for the document inside a host.
|
||||||
|
* - Everything else keeps its selector and gains `:where([data-element-call-root],
|
||||||
|
* [data-element-call-root] *)` on the element it styles.
|
||||||
|
* - Selectors that already name the root are left alone, as are keyframe
|
||||||
|
* selectors and rules nested inside another rule, which are relative to it.
|
||||||
|
*
|
||||||
|
* CSS modules are scoped by their class names already, so only their selectors
|
||||||
|
* that would match by element alone — `pre` rather than `.pre` — are touched.
|
||||||
|
*
|
||||||
|
* The root's fonts and design tokens are still inherited by everything inside
|
||||||
|
* it, the way they were from `body` and `:root`, and `@font-face` declarations
|
||||||
|
* stay global, which they are by nature.
|
||||||
|
*/
|
||||||
|
export function scopeStylesToRoot(): Plugin {
|
||||||
|
return {
|
||||||
|
postcssPlugin: "element-call-scope-styles-to-root",
|
||||||
|
Once(root) {
|
||||||
|
const isModule =
|
||||||
|
root.source?.input.file?.endsWith(".module.css") ?? false;
|
||||||
|
root.walkRules((rule) => {
|
||||||
|
if (isRelative(rule)) return;
|
||||||
|
rule.selector = (isModule ? scopeBare : scopeAll).processSync(
|
||||||
|
rule.selector,
|
||||||
|
{ lossless: false },
|
||||||
|
);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Whether a rule's selectors are relative to something other than the document. */
|
||||||
|
function isRelative(rule: Rule): boolean {
|
||||||
|
let parent: Container | Document | undefined = rule.parent;
|
||||||
|
while (parent !== undefined) {
|
||||||
|
if (parent.type === "rule") return true;
|
||||||
|
if (parent.type === "atrule") {
|
||||||
|
const { name } = parent as AtRule;
|
||||||
|
if (name.endsWith("keyframes") || name === "page") return true;
|
||||||
|
}
|
||||||
|
parent = parent.parent;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const processor = (isModule: boolean): ReturnType<typeof selectorParser> =>
|
||||||
|
selectorParser((selectors) => {
|
||||||
|
selectors.each((selector) => {
|
||||||
|
scopeSelector(selector, isModule);
|
||||||
|
});
|
||||||
|
// Mapping `html, body` onto the root leaves the same selector twice
|
||||||
|
const seen = new Set<string>();
|
||||||
|
selectors.each((selector) => {
|
||||||
|
const text = String(selector).trim();
|
||||||
|
if (seen.has(text)) selector.remove();
|
||||||
|
else seen.add(text);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Everything, for stylesheets that speak of the document; only what a class
|
||||||
|
// does not already confine, for CSS modules
|
||||||
|
const scopeAll = processor(false);
|
||||||
|
const scopeBare = processor(true);
|
||||||
|
|
||||||
|
function scopeSelector(selector: Selector, isModule: boolean): void {
|
||||||
|
if (String(selector).includes(ROOT_SELECTOR)) return;
|
||||||
|
|
||||||
|
const compounds = splitCompounds(selector);
|
||||||
|
if (compounds.length === 0) return;
|
||||||
|
|
||||||
|
// Something said of the document is said of the root instead
|
||||||
|
const document = compounds[0].find(isDocumentSelector);
|
||||||
|
if (document !== undefined) {
|
||||||
|
document.replaceWith(pseudo(IS_ROOT));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const subject = compounds.at(-1)!;
|
||||||
|
if (isModule && subject.some((node) => node.type === "class")) return;
|
||||||
|
|
||||||
|
// Pseudo-elements have to come last in a compound selector
|
||||||
|
const pseudoElement = subject.find(isPseudoElement);
|
||||||
|
if (pseudoElement === undefined) selector.append(pseudo(IN_ROOT));
|
||||||
|
else selector.insertBefore(pseudoElement, pseudo(IN_ROOT));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** The compound selectors making up a complex selector, in order. */
|
||||||
|
function splitCompounds(selector: Selector): Node[][] {
|
||||||
|
const compounds: Node[][] = [[]];
|
||||||
|
for (const node of selector.nodes) {
|
||||||
|
if (node.type === "combinator") compounds.push([]);
|
||||||
|
else if (node.type !== "comment") compounds.at(-1)!.push(node);
|
||||||
|
}
|
||||||
|
return compounds.filter((compound) => compound.length > 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
function isDocumentSelector(node: Node): boolean {
|
||||||
|
return (
|
||||||
|
(node.type === "tag" && (node.value === "html" || node.value === "body")) ||
|
||||||
|
(node.type === "pseudo" && node.value === ":root")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function isPseudoElement(node: Node): node is Pseudo {
|
||||||
|
if (node.type !== "pseudo") return false;
|
||||||
|
return (
|
||||||
|
node.value.startsWith("::") ||
|
||||||
|
[":before", ":after", ":first-line", ":first-letter"].includes(node.value)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function pseudo(text: string): Pseudo {
|
||||||
|
return selectorParser().astSync(text).nodes[0].nodes[0].clone() as Pseudo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { type ElementCallHostBridge } from "../index";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A host bridge that reports everything it is told, so that the harness can
|
||||||
|
* watch what Element Call says to its host. (What the host says to Element
|
||||||
|
* Call goes through the component's handle, and is logged by the pane.)
|
||||||
|
*/
|
||||||
|
export function createDevHostBridge(
|
||||||
|
log: (message: string) => void,
|
||||||
|
/** What the host does when Element Call asks to be closed. */
|
||||||
|
onClose: () => void,
|
||||||
|
): ElementCallHostBridge {
|
||||||
|
/**
|
||||||
|
* Records something Element Call told the host. Nothing is sent anywhere, so
|
||||||
|
* this is only asynchronous because a real host's answer would have to be.
|
||||||
|
*/
|
||||||
|
const told = async (message: string): Promise<void> => {
|
||||||
|
log(`→ ${message}`);
|
||||||
|
await Promise.resolve();
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
setAlwaysOnScreen: async (alwaysOnScreen): Promise<void> =>
|
||||||
|
await told(`setAlwaysOnScreen(${alwaysOnScreen})`),
|
||||||
|
contentLoaded: async (): Promise<void> => await told("contentLoaded"),
|
||||||
|
notifyJoined: async (): Promise<void> => await told("notifyJoined"),
|
||||||
|
notifyHungUp: async (): Promise<void> => await told("notifyHungUp"),
|
||||||
|
notifyDeviceMute: async (state): Promise<void> =>
|
||||||
|
await told(
|
||||||
|
`notifyDeviceMute(audio: ${state.audio_enabled}, video: ${state.video_enabled})`,
|
||||||
|
),
|
||||||
|
// Present because this host really can dismiss Element Call, which is what
|
||||||
|
// makes it offer a close affordance at all
|
||||||
|
close: async (): Promise<void> => {
|
||||||
|
await told("close");
|
||||||
|
onClose();
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,140 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.credentials {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
max-inline-size: 420px;
|
||||||
|
margin: 48px auto;
|
||||||
|
padding: 24px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 1px solid #d4d4d8;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error {
|
||||||
|
color: #b91c1c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.harness {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: auto 1fr auto;
|
||||||
|
block-size: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header,
|
||||||
|
.paneBar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
border-block-end: 1px solid #d4d4d8;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header h1 {
|
||||||
|
font-size: 16px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.middle {
|
||||||
|
display: flex;
|
||||||
|
min-block-size: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
flex: 0 0 220px;
|
||||||
|
padding: 12px;
|
||||||
|
border-inline-end: 1px solid #d4d4d8;
|
||||||
|
background-color: #ffffff;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panes {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
/* So that a pane is the size it was dragged to, rather than being stretched
|
||||||
|
to fill the row */
|
||||||
|
align-items: flex-start;
|
||||||
|
align-content: flex-start;
|
||||||
|
gap: 16px;
|
||||||
|
padding: 16px;
|
||||||
|
flex: 1;
|
||||||
|
min-inline-size: 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pane {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
border: 1px solid #d4d4d8;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paneBar {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 6px;
|
||||||
|
border-block-end: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The space the host gives Element Call. Resizable so that the sizes it has to
|
||||||
|
cope with can be found by dragging rather than by rebuilding, and `overflow:
|
||||||
|
hidden` both to enable the resize handle and to show up anything inside Element
|
||||||
|
Call that does not fit the box it was given. */
|
||||||
|
.paneCall {
|
||||||
|
inline-size: 560px;
|
||||||
|
block-size: 420px;
|
||||||
|
min-inline-size: 180px;
|
||||||
|
min-block-size: 180px;
|
||||||
|
resize: both;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.log {
|
||||||
|
max-block-size: 180px;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 8px 12px;
|
||||||
|
border-block-start: 1px solid #d4d4d8;
|
||||||
|
background-color: #ffffff;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.log h2 {
|
||||||
|
font-size: 13px;
|
||||||
|
margin: 0 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.log ol {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* A host overlay, which Element Call must not be able to draw over */
|
||||||
|
.dialogScrim {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
background-color: rgb(0 0 0 / 50%);
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialog {
|
||||||
|
padding: 24px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
@@ -0,0 +1,380 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
type FC,
|
||||||
|
type FormEvent,
|
||||||
|
type ReactNode,
|
||||||
|
useCallback,
|
||||||
|
useMemo,
|
||||||
|
useRef,
|
||||||
|
useState,
|
||||||
|
} from "react";
|
||||||
|
import { type MatrixClient } from "matrix-js-sdk";
|
||||||
|
import { logger } from "matrix-js-sdk/lib/logger";
|
||||||
|
|
||||||
|
import {
|
||||||
|
ElementCall,
|
||||||
|
type ElementCallHandle,
|
||||||
|
supportedLanguages,
|
||||||
|
} from "../index";
|
||||||
|
import { createDevHostBridge } from "./DevHostBridge";
|
||||||
|
import { createSession, joinRoom } from "./session";
|
||||||
|
import styles from "./Harness.module.css";
|
||||||
|
|
||||||
|
interface Credentials {
|
||||||
|
homeserver: string;
|
||||||
|
username: string;
|
||||||
|
password: string;
|
||||||
|
room: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const CREDENTIALS_KEY = "element-call-component-harness";
|
||||||
|
|
||||||
|
const DEFAULT_CREDENTIALS: Credentials = {
|
||||||
|
homeserver: "https://synapse.m.localhost",
|
||||||
|
username: "",
|
||||||
|
password: "",
|
||||||
|
room: "",
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The credentials to start with: the last ones used, so that a reload does not
|
||||||
|
* mean typing them again, overridden by anything in the query string.
|
||||||
|
*
|
||||||
|
* A host reading its own URL is entirely proper — it was Element Call doing so
|
||||||
|
* that was the mistake. It lets the end-to-end tests, or a shared link, say
|
||||||
|
* which account and room to use.
|
||||||
|
*/
|
||||||
|
function loadCredentials(): Credentials {
|
||||||
|
let stored: Partial<Credentials> = {};
|
||||||
|
try {
|
||||||
|
const json = localStorage.getItem(CREDENTIALS_KEY);
|
||||||
|
if (json !== null) stored = JSON.parse(json) as Credentials;
|
||||||
|
} catch (e) {
|
||||||
|
logger.warn("Could not read the stored harness credentials", e);
|
||||||
|
}
|
||||||
|
|
||||||
|
const query = new URLSearchParams(location.search);
|
||||||
|
const fromUrl = Object.fromEntries(
|
||||||
|
(["homeserver", "username", "password", "room"] as const)
|
||||||
|
.map((name) => [name, query.get(name)])
|
||||||
|
.filter(([, value]) => value !== null),
|
||||||
|
) as Partial<Credentials>;
|
||||||
|
|
||||||
|
return { ...DEFAULT_CREDENTIALS, ...stored, ...fromUrl };
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Session {
|
||||||
|
label: string;
|
||||||
|
client: MatrixClient;
|
||||||
|
}
|
||||||
|
|
||||||
|
type State =
|
||||||
|
| { phase: "credentials" }
|
||||||
|
| { phase: "starting"; progress: string }
|
||||||
|
| { phase: "started"; roomId: string; sessions: Session[] }
|
||||||
|
| { phase: "failed"; error: string };
|
||||||
|
|
||||||
|
interface LogEntry {
|
||||||
|
pane: string;
|
||||||
|
message: string;
|
||||||
|
at: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* One Element Call component, with the controls a host would have over it: the
|
||||||
|
* requests it can make of Element Call, and the ability to take it off screen
|
||||||
|
* altogether.
|
||||||
|
*/
|
||||||
|
const Pane: FC<{
|
||||||
|
session: Session;
|
||||||
|
roomId: string;
|
||||||
|
theme: string | undefined;
|
||||||
|
language: string | undefined;
|
||||||
|
log: (pane: string, message: string) => void;
|
||||||
|
}> = ({ session, roomId, theme, language, log }): ReactNode => {
|
||||||
|
const [mounted, setMounted] = useState(true);
|
||||||
|
|
||||||
|
const bridge = useMemo(
|
||||||
|
() =>
|
||||||
|
createDevHostBridge(
|
||||||
|
(message) => log(session.label, message),
|
||||||
|
() => setMounted(false),
|
||||||
|
),
|
||||||
|
[log, session.label],
|
||||||
|
);
|
||||||
|
|
||||||
|
// What the host asks of Element Call goes through the component's handle.
|
||||||
|
// Worth saying out loud when a request is refused — asking to hang up when
|
||||||
|
// there is no call, say — since that is the sort of thing the harness is for.
|
||||||
|
const handle = useRef<ElementCallHandle>(null);
|
||||||
|
const ask = (
|
||||||
|
name: string,
|
||||||
|
make: (handle: ElementCallHandle) => Promise<unknown>,
|
||||||
|
): void => {
|
||||||
|
if (handle.current === null) {
|
||||||
|
log(session.label, `← ${name}: not mounted`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
log(session.label, `← ${name}`);
|
||||||
|
make(handle.current).then(
|
||||||
|
(reply) =>
|
||||||
|
log(
|
||||||
|
session.label,
|
||||||
|
`→ ${name} acknowledged${reply === undefined ? "" : `: ${JSON.stringify(reply)}`}`,
|
||||||
|
),
|
||||||
|
(e: unknown) => log(session.label, `→ ${name} refused: ${e}`),
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section className={styles.pane} data-testid="call-pane">
|
||||||
|
<div className={styles.paneBar}>
|
||||||
|
<strong>{session.label}</strong>
|
||||||
|
<code>{session.client.getDeviceId()}</code>
|
||||||
|
<button onClick={(): void => setMounted((m) => !m)}>
|
||||||
|
{mounted ? "Unmount" : "Mount"}
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
onClick={(): void =>
|
||||||
|
ask(
|
||||||
|
"setDeviceMute(audio: false)",
|
||||||
|
async (h) => await h.setDeviceMute({ audio_enabled: false }),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
>
|
||||||
|
Mute
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
onClick={(): void => ask("hangUp", async (h) => await h.hangUp())}
|
||||||
|
>
|
||||||
|
Hang up
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{/* Resizable, because how Element Call copes with the size it is given is
|
||||||
|
one of the things we cannot find out from the standalone app */}
|
||||||
|
<div className={styles.paneCall} data-testid="call-container">
|
||||||
|
{mounted && (
|
||||||
|
<ElementCall
|
||||||
|
ref={handle}
|
||||||
|
client={session.client}
|
||||||
|
roomId={roomId}
|
||||||
|
hostBridge={bridge}
|
||||||
|
theme={theme}
|
||||||
|
language={language}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/** Host furniture, to make it visible if Element Call styles anything but itself. */
|
||||||
|
const HostChrome: FC = (): ReactNode => (
|
||||||
|
<nav className={styles.sidebar}>
|
||||||
|
<h2>Host chrome</h2>
|
||||||
|
<p>
|
||||||
|
This column belongs to the host. If Element Call's stylesheet reaches
|
||||||
|
outside its own container, it shows up here.
|
||||||
|
</p>
|
||||||
|
<hr />
|
||||||
|
<ul>
|
||||||
|
<li>Some room</li>
|
||||||
|
<li>Another room</li>
|
||||||
|
</ul>
|
||||||
|
<button>A host button</button>
|
||||||
|
</nav>
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A dialog of the host's own, over the top of the calls. Element Call as a
|
||||||
|
* component has to sit underneath this — being unable to is one of the reasons
|
||||||
|
* for a component rather than an iframe.
|
||||||
|
*/
|
||||||
|
const HostDialog: FC<{ onClose: () => void }> = ({ onClose }): ReactNode => (
|
||||||
|
<div className={styles.dialogScrim}>
|
||||||
|
<div className={styles.dialog}>
|
||||||
|
<h2>A dialog belonging to the host</h2>
|
||||||
|
<p>This should cover the calls completely.</p>
|
||||||
|
<button onClick={onClose}>Close</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stands in for a host application using the Element Call component: it owns the Matrix
|
||||||
|
* clients, the page and the space each call is given, and reaches Element Call
|
||||||
|
* only through the component's public interface.
|
||||||
|
*
|
||||||
|
* Two calls at once, from two devices of the same account, so that a real call
|
||||||
|
* happens between them and anything Element Call keeps once per process rather
|
||||||
|
* than once per call shows itself.
|
||||||
|
*/
|
||||||
|
export const Harness: FC = (): ReactNode => {
|
||||||
|
const [credentials, setCredentials] = useState(loadCredentials);
|
||||||
|
const [state, setState] = useState<State>({ phase: "credentials" });
|
||||||
|
const [entries, setEntries] = useState<LogEntry[]>([]);
|
||||||
|
const [dialogOpen, setDialogOpen] = useState(false);
|
||||||
|
// The host's language setting, which Element Call follows. Undefined means
|
||||||
|
// the host has none and Element Call uses the browser's.
|
||||||
|
const [language, setLanguage] = useState<string | undefined>(undefined);
|
||||||
|
const [theme, setTheme] = useState<string | undefined>(undefined);
|
||||||
|
|
||||||
|
const log = useCallback((pane: string, message: string): void => {
|
||||||
|
setEntries((entries) =>
|
||||||
|
[
|
||||||
|
...entries,
|
||||||
|
{ pane, message, at: new Date().toLocaleTimeString() },
|
||||||
|
].slice(-100),
|
||||||
|
);
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
const start = useCallback(
|
||||||
|
(event: FormEvent): void => {
|
||||||
|
event.preventDefault();
|
||||||
|
localStorage.setItem(CREDENTIALS_KEY, JSON.stringify(credentials));
|
||||||
|
const { homeserver, username, password, room } = credentials;
|
||||||
|
|
||||||
|
const progress = (message: string): void =>
|
||||||
|
setState({ phase: "starting", progress: message });
|
||||||
|
progress("Starting");
|
||||||
|
|
||||||
|
void (async (): Promise<void> => {
|
||||||
|
try {
|
||||||
|
// One at a time: two logins at once from the same account is the
|
||||||
|
// shape of request homeservers rate limit
|
||||||
|
const sessions: Session[] = [];
|
||||||
|
for (const label of ["Call A", "Call B"])
|
||||||
|
sessions.push({
|
||||||
|
label,
|
||||||
|
client: await createSession(
|
||||||
|
homeserver,
|
||||||
|
username,
|
||||||
|
password,
|
||||||
|
(message) => progress(`${label}: ${message}`),
|
||||||
|
),
|
||||||
|
});
|
||||||
|
|
||||||
|
progress("Joining the room");
|
||||||
|
let roomId = room;
|
||||||
|
for (const { client } of sessions)
|
||||||
|
roomId = await joinRoom(client, roomId);
|
||||||
|
|
||||||
|
setState({ phase: "started", roomId, sessions });
|
||||||
|
} catch (e) {
|
||||||
|
logger.error("The harness could not start", e);
|
||||||
|
setState({ phase: "failed", error: `${e}` });
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
},
|
||||||
|
[credentials],
|
||||||
|
);
|
||||||
|
|
||||||
|
const field = (
|
||||||
|
name: keyof Credentials,
|
||||||
|
label: string,
|
||||||
|
type = "text",
|
||||||
|
): ReactNode => (
|
||||||
|
<label className={styles.field}>
|
||||||
|
{label}
|
||||||
|
<input
|
||||||
|
type={type}
|
||||||
|
value={credentials[name]}
|
||||||
|
onChange={(e): void =>
|
||||||
|
setCredentials((c) => ({ ...c, [name]: e.target.value }))
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (state.phase !== "started")
|
||||||
|
return (
|
||||||
|
<form className={styles.credentials} onSubmit={start}>
|
||||||
|
<h1>Element Call component harness</h1>
|
||||||
|
<p>
|
||||||
|
Signs in twice and shows the Element Call component twice, in a page
|
||||||
|
that is not Element Call's own.
|
||||||
|
</p>
|
||||||
|
{field("homeserver", "Homeserver")}
|
||||||
|
{field("username", "Username")}
|
||||||
|
{field("password", "Password", "password")}
|
||||||
|
{field("room", "Room ID or alias")}
|
||||||
|
<button type="submit" disabled={state.phase === "starting"}>
|
||||||
|
Start
|
||||||
|
</button>
|
||||||
|
{state.phase === "starting" && <p>{state.progress}</p>}
|
||||||
|
{state.phase === "failed" && (
|
||||||
|
<p className={styles.error}>{state.error}</p>
|
||||||
|
)}
|
||||||
|
</form>
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className={styles.harness}>
|
||||||
|
<header className={styles.header}>
|
||||||
|
<h1>Element Call component harness</h1>
|
||||||
|
<code>{state.roomId}</code>
|
||||||
|
<button onClick={(): void => setDialogOpen(true)}>
|
||||||
|
Open a host dialog
|
||||||
|
</button>
|
||||||
|
<label>
|
||||||
|
Theme{" "}
|
||||||
|
<select
|
||||||
|
value={theme ?? ""}
|
||||||
|
onChange={(e): void => setTheme(e.target.value || undefined)}
|
||||||
|
>
|
||||||
|
<option value="">Element Call's choice</option>
|
||||||
|
<option value="light">light</option>
|
||||||
|
<option value="dark">dark</option>
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
Language{" "}
|
||||||
|
<select
|
||||||
|
value={language ?? ""}
|
||||||
|
onChange={(e): void => setLanguage(e.target.value || undefined)}
|
||||||
|
>
|
||||||
|
<option value="">Browser default</option>
|
||||||
|
{supportedLanguages.map((tag) => (
|
||||||
|
<option key={tag} value={tag}>
|
||||||
|
{tag}
|
||||||
|
</option>
|
||||||
|
))}
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
</header>
|
||||||
|
<div className={styles.middle}>
|
||||||
|
<HostChrome />
|
||||||
|
<main className={styles.panes}>
|
||||||
|
{state.sessions.map((session) => (
|
||||||
|
<Pane
|
||||||
|
key={session.label}
|
||||||
|
session={session}
|
||||||
|
roomId={state.roomId}
|
||||||
|
theme={theme}
|
||||||
|
language={language}
|
||||||
|
log={log}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
<section className={styles.log} data-testid="bridge-log">
|
||||||
|
<h2>Host bridge</h2>
|
||||||
|
<ol>
|
||||||
|
{entries.map((entry, i) => (
|
||||||
|
<li key={i}>
|
||||||
|
<code>{entry.at}</code> <strong>{entry.pane}</strong>{" "}
|
||||||
|
{entry.message}
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
{dialogOpen && <HostDialog onClose={(): void => setDialogOpen(false)} />}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* The host page's own styles. Deliberately plain, and deliberately not using
|
||||||
|
Element Call's design tokens: the harness should look like it does because of
|
||||||
|
this file, not because Element Call styled it. */
|
||||||
|
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
#root {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: system-ui, sans-serif;
|
||||||
|
background-color: #f4f4f5;
|
||||||
|
color: #18181b;
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<!--
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
-->
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Element Call component harness</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- Deliberately plain: this page stands in for a host application, so
|
||||||
|
anything it looks like must have come from the host's own styles or from
|
||||||
|
Element Call reaching outside its container. -->
|
||||||
|
<div id="root"></div>
|
||||||
|
<script type="module" src="./main.tsx"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { StrictMode } from "react";
|
||||||
|
import { createRoot } from "react-dom/client";
|
||||||
|
import { logger } from "matrix-js-sdk/lib/logger";
|
||||||
|
|
||||||
|
import { type ConfigOptions, initializeElementCall } from "../index";
|
||||||
|
import { Harness } from "./Harness";
|
||||||
|
// After Element Call's, so that the host has the last word on its own page
|
||||||
|
import "./host.css";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The development app's own `config.json`, so that the harness runs Element
|
||||||
|
* Call the way `pnpm dev` does. It is not in the repository — developers copy
|
||||||
|
* it from `config/config.devenv.json` — so its absence is expected rather than
|
||||||
|
* an error.
|
||||||
|
*/
|
||||||
|
async function loadConfig(): Promise<ConfigOptions> {
|
||||||
|
try {
|
||||||
|
const response = await fetch("/config.json");
|
||||||
|
if (response.ok) return (await response.json()) as ConfigOptions;
|
||||||
|
logger.warn(
|
||||||
|
`No config.json (${response.status}); running with Element Call's defaults`,
|
||||||
|
);
|
||||||
|
} catch (e) {
|
||||||
|
logger.warn("Could not read config.json", e);
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
await initializeElementCall(await loadConfig());
|
||||||
|
|
||||||
|
createRoot(document.getElementById("root")!).render(
|
||||||
|
<StrictMode>
|
||||||
|
<Harness />
|
||||||
|
</StrictMode>,
|
||||||
|
);
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
ClientEvent,
|
||||||
|
createClient,
|
||||||
|
type MatrixClient,
|
||||||
|
MemoryStore,
|
||||||
|
SyncState,
|
||||||
|
} from "matrix-js-sdk";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Logs in and brings up a client the way a host application would, so that the
|
||||||
|
* component is handed a real one rather than something Element Call built for
|
||||||
|
* itself.
|
||||||
|
*
|
||||||
|
* Everything is kept in memory and a fresh login happens on every reload. That
|
||||||
|
* costs a device on the development homeserver each time, which is harmless,
|
||||||
|
* and buys the harness two clients that cannot tread on each other's storage.
|
||||||
|
* Persisting the login to make reloads quicker would mean persisting the
|
||||||
|
* crypto store too: reusing a device ID with a fresh crypto store generates new
|
||||||
|
* device keys, and uploading them conflicts with the ones the server already
|
||||||
|
* holds.
|
||||||
|
*/
|
||||||
|
export async function createSession(
|
||||||
|
homeserver: string,
|
||||||
|
username: string,
|
||||||
|
password: string,
|
||||||
|
onProgress: (message: string) => void,
|
||||||
|
): Promise<MatrixClient> {
|
||||||
|
onProgress("Logging in");
|
||||||
|
const login = await createClient({ baseUrl: homeserver }).login(
|
||||||
|
"m.login.password",
|
||||||
|
{ identifier: { type: "m.id.user", user: username }, password },
|
||||||
|
);
|
||||||
|
|
||||||
|
const client = createClient({
|
||||||
|
baseUrl: homeserver,
|
||||||
|
accessToken: login.access_token,
|
||||||
|
userId: login.user_id,
|
||||||
|
deviceId: login.device_id,
|
||||||
|
store: new MemoryStore(),
|
||||||
|
useAuthorizationHeader: true,
|
||||||
|
fallbackICEServerAllowed: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
onProgress(`Setting up crypto for ${login.device_id}`);
|
||||||
|
await client.initRustCrypto({ useIndexedDB: false });
|
||||||
|
|
||||||
|
onProgress(`Syncing ${login.device_id}`);
|
||||||
|
await client.startClient();
|
||||||
|
await new Promise<void>((resolve) => {
|
||||||
|
const onSync = (state: SyncState): void => {
|
||||||
|
if (state !== SyncState.Prepared && state !== SyncState.Syncing) return;
|
||||||
|
client.off(ClientEvent.Sync, onSync);
|
||||||
|
resolve();
|
||||||
|
};
|
||||||
|
client.on(ClientEvent.Sync, onSync);
|
||||||
|
});
|
||||||
|
|
||||||
|
return client;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The room to call in, joining it if this session is not in it yet — a host
|
||||||
|
* hands Element Call a room it already knows about, so the harness has to get
|
||||||
|
* itself into that position first.
|
||||||
|
*/
|
||||||
|
export async function joinRoom(
|
||||||
|
client: MatrixClient,
|
||||||
|
roomIdOrAlias: string,
|
||||||
|
): Promise<string> {
|
||||||
|
const room = await client.joinRoom(roomIdOrAlias);
|
||||||
|
return room.roomId;
|
||||||
|
}
|
||||||
@@ -0,0 +1,161 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { renderHook } from "@testing-library/react";
|
||||||
|
import { createRef } from "react";
|
||||||
|
import { describe, expect, test, vi } from "vitest";
|
||||||
|
|
||||||
|
import {
|
||||||
|
type ElementCallHandle,
|
||||||
|
type ElementCallHostBridge,
|
||||||
|
useComponentHostBridge,
|
||||||
|
} from "./host";
|
||||||
|
|
||||||
|
describe("useComponentHostBridge", () => {
|
||||||
|
test("keeps one identity while the host supplies new objects", () => {
|
||||||
|
const { result, rerender } = renderHook(
|
||||||
|
({ supplied }: { supplied: ElementCallHostBridge }) =>
|
||||||
|
useComponentHostBridge(supplied, undefined, undefined),
|
||||||
|
{ initialProps: { supplied: {} } },
|
||||||
|
);
|
||||||
|
const first = result.current;
|
||||||
|
rerender({ supplied: { notifyJoined: async () => {} } });
|
||||||
|
expect(result.current).toBe(first);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("forwards to whatever the host most recently supplied", async () => {
|
||||||
|
const before = vi.fn().mockResolvedValue(undefined);
|
||||||
|
const after = vi.fn().mockResolvedValue(undefined);
|
||||||
|
const { result, rerender } = renderHook(
|
||||||
|
({ supplied }: { supplied: ElementCallHostBridge }) =>
|
||||||
|
useComponentHostBridge(supplied, undefined, undefined),
|
||||||
|
{ initialProps: { supplied: { notifyJoined: before } } },
|
||||||
|
);
|
||||||
|
rerender({ supplied: { notifyJoined: after } });
|
||||||
|
|
||||||
|
await result.current.notifyJoined();
|
||||||
|
expect(before).not.toHaveBeenCalled();
|
||||||
|
expect(after).toHaveBeenCalledOnce();
|
||||||
|
});
|
||||||
|
|
||||||
|
test("is quiet about what the host did not implement", async () => {
|
||||||
|
const { result } = renderHook(() =>
|
||||||
|
useComponentHostBridge(undefined, undefined, undefined),
|
||||||
|
);
|
||||||
|
await expect(result.current.contentLoaded()).resolves.toBeUndefined();
|
||||||
|
await expect(
|
||||||
|
result.current.notifyDeviceMute({
|
||||||
|
audio_enabled: true,
|
||||||
|
video_enabled: false,
|
||||||
|
}),
|
||||||
|
).resolves.toBeUndefined();
|
||||||
|
expect(result.current.supportsReactions).toBe(true);
|
||||||
|
// Starting the user unmuted unasked is something a host has to opt into
|
||||||
|
expect(result.current.allowJoinUnmutedViaIntent).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("lets the host allow joining unmuted on the intent", () => {
|
||||||
|
const { result, rerender } = renderHook(
|
||||||
|
({ supplied }: { supplied: ElementCallHostBridge }) =>
|
||||||
|
useComponentHostBridge(supplied, undefined, undefined),
|
||||||
|
{ initialProps: { supplied: {} } },
|
||||||
|
);
|
||||||
|
expect(result.current.allowJoinUnmutedViaIntent).toBe(false);
|
||||||
|
|
||||||
|
// Read through to whatever the host most recently said
|
||||||
|
rerender({ supplied: { allowJoinUnmutedViaIntent: true } });
|
||||||
|
expect(result.current.allowJoinUnmutedViaIntent).toBe(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("only has a close when the host has one, since that is a signal", () => {
|
||||||
|
const { result, rerender } = renderHook(
|
||||||
|
({ supplied }: { supplied: ElementCallHostBridge }) =>
|
||||||
|
useComponentHostBridge(supplied, undefined, undefined),
|
||||||
|
{ initialProps: { supplied: {} } },
|
||||||
|
);
|
||||||
|
expect(result.current.close).toBeUndefined();
|
||||||
|
|
||||||
|
const close = vi.fn().mockResolvedValue(undefined);
|
||||||
|
rerender({ supplied: { close } });
|
||||||
|
expect(result.current.close).toBeDefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
test("never offers profile changes, since the account is the host's", () => {
|
||||||
|
const { result } = renderHook(() =>
|
||||||
|
useComponentHostBridge(undefined, undefined, undefined),
|
||||||
|
);
|
||||||
|
expect(result.current.supportsProfileChanges).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("the handle", () => {
|
||||||
|
test("delivers a request to what is listening and resolves on its reply", async () => {
|
||||||
|
const ref = createRef<ElementCallHandle>();
|
||||||
|
const { result } = renderHook(() =>
|
||||||
|
useComponentHostBridge(undefined, ref, undefined),
|
||||||
|
);
|
||||||
|
|
||||||
|
const received = vi.fn();
|
||||||
|
result.current.deviceMute$.subscribe(({ data, reply }) => {
|
||||||
|
received(data);
|
||||||
|
reply({ audio_enabled: data.audio_enabled!, video_enabled: true });
|
||||||
|
});
|
||||||
|
|
||||||
|
await expect(
|
||||||
|
ref.current!.setDeviceMute({ audio_enabled: false }),
|
||||||
|
).resolves.toEqual({ audio_enabled: false, video_enabled: true });
|
||||||
|
expect(received).toHaveBeenCalledWith({ audio_enabled: false });
|
||||||
|
});
|
||||||
|
|
||||||
|
test("refuses a request nothing in Element Call is listening for", async () => {
|
||||||
|
const ref = createRef<ElementCallHandle>();
|
||||||
|
renderHook(() => useComponentHostBridge(undefined, ref, undefined));
|
||||||
|
|
||||||
|
await expect(ref.current!.hangUp()).rejects.toThrow(
|
||||||
|
"Nothing in Element Call can hang up right now",
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("the theme", () => {
|
||||||
|
test("reaches a subscriber that arrives after it was set", () => {
|
||||||
|
const { result } = renderHook(() =>
|
||||||
|
useComponentHostBridge(undefined, undefined, "light"),
|
||||||
|
);
|
||||||
|
const names: (string | undefined)[] = [];
|
||||||
|
result.current.themeChange$.subscribe(({ data }) =>
|
||||||
|
names.push(data.name),
|
||||||
|
);
|
||||||
|
expect(names).toEqual(["light"]);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("follows the prop", () => {
|
||||||
|
const { result, rerender } = renderHook(
|
||||||
|
({ theme }: { theme: string | undefined }) =>
|
||||||
|
useComponentHostBridge(undefined, undefined, theme),
|
||||||
|
{ initialProps: { theme: "light" } },
|
||||||
|
);
|
||||||
|
const names: (string | undefined)[] = [];
|
||||||
|
result.current.themeChange$.subscribe(({ data }) =>
|
||||||
|
names.push(data.name),
|
||||||
|
);
|
||||||
|
|
||||||
|
rerender({ theme: "dark" });
|
||||||
|
expect(names).toEqual(["light", "dark"]);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("says nothing when the host leaves the theme to Element Call", () => {
|
||||||
|
const { result } = renderHook(() =>
|
||||||
|
useComponentHostBridge(undefined, undefined, undefined),
|
||||||
|
);
|
||||||
|
const names: (string | undefined)[] = [];
|
||||||
|
result.current.themeChange$.subscribe(({ data }) =>
|
||||||
|
names.push(data.name),
|
||||||
|
);
|
||||||
|
expect(names).toEqual([]);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,201 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How a host application and the Element Call component talk to each other.
|
||||||
|
*
|
||||||
|
* Inside Element Call the host is a {@link HostBridge}, which carries the
|
||||||
|
* host's requests as rxjs observables because that is what the widget API and
|
||||||
|
* the view models work in. A host should not have to know about rxjs, or agree
|
||||||
|
* with us on a version of it, so a component host sees neither: it implements
|
||||||
|
* plain async callbacks for what Element Call tells it, and makes its own
|
||||||
|
* requests through an imperative handle on the component, the way it would
|
||||||
|
* call `play()` on a video element. This module adapts the one to the other.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { type Ref, useEffect, useImperativeHandle } from "react";
|
||||||
|
import { ReplaySubject, Subject } from "rxjs";
|
||||||
|
|
||||||
|
import {
|
||||||
|
type DeviceMuteRequest,
|
||||||
|
type DeviceMuteState,
|
||||||
|
type HostBridge,
|
||||||
|
type HostRequest,
|
||||||
|
} from "../src/HostBridge";
|
||||||
|
import { type JoinCallData } from "../src/widget";
|
||||||
|
import { useInitial } from "../src/useInitial";
|
||||||
|
import { useLatest } from "../src/useLatest";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* What Element Call tells the application hosting it as a component.
|
||||||
|
* Everything is optional: a host implements what it wants to hear about.
|
||||||
|
*
|
||||||
|
* Compared by nothing — Element Call always calls whichever one it was most
|
||||||
|
* recently given, so this may be written inline.
|
||||||
|
*/
|
||||||
|
export interface ElementCallHostBridge {
|
||||||
|
/**
|
||||||
|
* Asks the host to keep Element Call on screen (or stop doing so), so that a
|
||||||
|
* call in progress is not torn down when the user navigates elsewhere.
|
||||||
|
*/
|
||||||
|
setAlwaysOnScreen?(alwaysOnScreen: boolean): Promise<void>;
|
||||||
|
/** Tells the host that Element Call has finished loading. */
|
||||||
|
contentLoaded?(): Promise<void>;
|
||||||
|
/** Tells the host that the user has joined the call. */
|
||||||
|
notifyJoined?(): Promise<void>;
|
||||||
|
/** Tells the host that the user has hung up. */
|
||||||
|
notifyHungUp?(): Promise<void>;
|
||||||
|
/** Tells the host the user's current audio and video mute state. */
|
||||||
|
notifyDeviceMute?(state: DeviceMuteState): Promise<void>;
|
||||||
|
/**
|
||||||
|
* Asks the host to close Element Call: to unmount the component. Its
|
||||||
|
* presence is what makes Element Call offer a close button on its error
|
||||||
|
* screens, and leave the host to decide what is shown once a call has ended.
|
||||||
|
* Without it, Element Call shows its own post-call screen, if it has one for
|
||||||
|
* the situation, or nothing.
|
||||||
|
*/
|
||||||
|
close?(): Promise<void>;
|
||||||
|
/**
|
||||||
|
* Whether Element Call may send and receive reactions in this room.
|
||||||
|
* Defaults to true.
|
||||||
|
*/
|
||||||
|
readonly supportsReactions?: boolean;
|
||||||
|
/**
|
||||||
|
* Whether the user may start unmuted when the intent skips the lobby, so
|
||||||
|
* that they never see their devices before joining. Defaults to false: the
|
||||||
|
* user starts muted and unmutes themselves. A host that chose the intent on
|
||||||
|
* the user's behalf, and is sure they expect to be heard and seen at once,
|
||||||
|
* says so here — as a Matrix client hosting Element Call as a widget does.
|
||||||
|
*/
|
||||||
|
readonly allowJoinUnmutedViaIntent?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* What a host can ask of a mounted Element Call, reached through the
|
||||||
|
* component's `ref`. Each request resolves once Element Call has acted on it,
|
||||||
|
* and rejects if nothing in Element Call is in a position to act: hanging up
|
||||||
|
* when there is no call, say.
|
||||||
|
*/
|
||||||
|
export interface ElementCallHandle {
|
||||||
|
/**
|
||||||
|
* Joins the call, when Element Call was configured to `preload` and is
|
||||||
|
* waiting to be told to. Says which devices to join with.
|
||||||
|
*/
|
||||||
|
join(devices: JoinCallData): Promise<void>;
|
||||||
|
/** Leaves the call. */
|
||||||
|
hangUp(): Promise<void>;
|
||||||
|
/**
|
||||||
|
* Changes the mute state, for whichever of audio and video is given, and
|
||||||
|
* reports the state that results.
|
||||||
|
*/
|
||||||
|
setDeviceMute(request: DeviceMuteRequest): Promise<DeviceMuteState>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Hands a request to Element Call and waits for it to be acknowledged. */
|
||||||
|
async function request<Data, Reply>(
|
||||||
|
listeners: Subject<HostRequest<Data, Reply>>,
|
||||||
|
what: string,
|
||||||
|
data: Data,
|
||||||
|
): Promise<Reply> {
|
||||||
|
if (!listeners.observed)
|
||||||
|
throw new Error(`Nothing in Element Call can ${what} right now`);
|
||||||
|
return await new Promise((resolve) =>
|
||||||
|
listeners.next({ data, reply: resolve }),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The {@link HostBridge} the rest of Element Call sees, built from what a
|
||||||
|
* component host supplies and wired to the handle it is given.
|
||||||
|
*
|
||||||
|
* The bridge is created once and never changes identity — everything that
|
||||||
|
* depends on it would otherwise restart when the host re-rendered with a new
|
||||||
|
* object — and forwards each call to whatever the host most recently passed.
|
||||||
|
*/
|
||||||
|
export function useComponentHostBridge(
|
||||||
|
supplied: ElementCallHostBridge | undefined,
|
||||||
|
ref: Ref<ElementCallHandle> | undefined,
|
||||||
|
/** The theme the host wants, or undefined to leave it to Element Call. */
|
||||||
|
theme: string | undefined,
|
||||||
|
): HostBridge {
|
||||||
|
const latest = useLatest(supplied ?? {});
|
||||||
|
|
||||||
|
const requests = useInitial(() => ({
|
||||||
|
// The theme is state, not an event: a `theme` prop rather than a request
|
||||||
|
// on the handle. It travels this channel because that is how the rest of
|
||||||
|
// Element Call hears about a host's theme, and replays so that whatever
|
||||||
|
// subscribes after the host has set it — everything, on first render —
|
||||||
|
// still hears the current one.
|
||||||
|
themeChange$: new ReplaySubject<HostRequest<{ name?: string }>>(1),
|
||||||
|
join$: new Subject<HostRequest<JoinCallData>>(),
|
||||||
|
hangUp$: new Subject<HostRequest<Record<string, never>>>(),
|
||||||
|
deviceMute$: new Subject<HostRequest<DeviceMuteRequest, DeviceMuteState>>(),
|
||||||
|
}));
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (theme !== undefined)
|
||||||
|
requests.themeChange$.next({ data: { name: theme }, reply: () => {} });
|
||||||
|
}, [requests, theme]);
|
||||||
|
|
||||||
|
const bridge = useInitial((): HostBridge => ({
|
||||||
|
setAlwaysOnScreen: async (alwaysOnScreen) => {
|
||||||
|
await latest.current.setAlwaysOnScreen?.(alwaysOnScreen);
|
||||||
|
},
|
||||||
|
contentLoaded: async () => {
|
||||||
|
await latest.current.contentLoaded?.();
|
||||||
|
},
|
||||||
|
notifyJoined: async () => {
|
||||||
|
await latest.current.notifyJoined?.();
|
||||||
|
},
|
||||||
|
notifyHungUp: async () => {
|
||||||
|
await latest.current.notifyHungUp?.();
|
||||||
|
},
|
||||||
|
notifyDeviceMute: async (state) => {
|
||||||
|
await latest.current.notifyDeviceMute?.(state);
|
||||||
|
},
|
||||||
|
// Whether these exist is itself information, so they are read through
|
||||||
|
// rather than wrapped unconditionally
|
||||||
|
get close() {
|
||||||
|
const close = latest.current.close;
|
||||||
|
return close === undefined
|
||||||
|
? undefined
|
||||||
|
: async (): Promise<void> => await close();
|
||||||
|
},
|
||||||
|
// Not offered to a component host: the client it hands over holds the
|
||||||
|
// credentials to fetch media itself. A widget's client does not, which
|
||||||
|
// is what the internal bridge's `downloadMedia` is for.
|
||||||
|
get supportsReactions(): boolean {
|
||||||
|
return latest.current.supportsReactions ?? true;
|
||||||
|
},
|
||||||
|
get allowJoinUnmutedViaIntent(): boolean {
|
||||||
|
return latest.current.allowJoinUnmutedViaIntent ?? false;
|
||||||
|
},
|
||||||
|
// Whatever the host says or does not say, the account is its own: it
|
||||||
|
// signed the user in and handed us the client. So Element Call never
|
||||||
|
// offers to edit the profile from inside a component.
|
||||||
|
supportsProfileChanges: false,
|
||||||
|
...requests,
|
||||||
|
}));
|
||||||
|
|
||||||
|
useImperativeHandle(
|
||||||
|
ref,
|
||||||
|
(): ElementCallHandle => ({
|
||||||
|
join: async (devices) =>
|
||||||
|
await request(requests.join$, "join a call", devices),
|
||||||
|
hangUp: async () => await request(requests.hangUp$, "hang up", {}),
|
||||||
|
setDeviceMute: async (muteRequest) =>
|
||||||
|
await request(
|
||||||
|
requests.deviceMute$,
|
||||||
|
"change the mute state",
|
||||||
|
muteRequest,
|
||||||
|
),
|
||||||
|
}),
|
||||||
|
[requests],
|
||||||
|
);
|
||||||
|
|
||||||
|
return bridge;
|
||||||
|
}
|
||||||
@@ -0,0 +1,268 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* EXPERIMENTAL
|
||||||
|
*
|
||||||
|
* Element Call as a React component, for an application that wants to show a
|
||||||
|
* call inside itself rather than in an iframe.
|
||||||
|
*
|
||||||
|
* The host supplies the client and says which room to call in; Element Call
|
||||||
|
* supplies the call. Everything it would otherwise take from the page it is on
|
||||||
|
* — the URL, the document body, a Matrix session of its own — comes from the
|
||||||
|
* host instead, or is confined to the container it is mounted in.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// The design tokens, fonts and element defaults every Element Call stylesheet
|
||||||
|
// builds on. Written for a page, they speak of `html`, `body` and bare
|
||||||
|
// elements; the component build confines them, and every other stylesheet in
|
||||||
|
// this bundle, to the root element below (see build/scopeStylesToRoot.ts), so
|
||||||
|
// that the host's document is left as it was.
|
||||||
|
//
|
||||||
|
// Where these land relative to the component stylesheets is the bundler's
|
||||||
|
// choice — the standalone app puts them first, this build puts them in the
|
||||||
|
// middle — so nothing in base.css may depend on winning or losing against a
|
||||||
|
// component's own rules at equal specificity. It currently does not: what it
|
||||||
|
// declares unlayered is custom properties on Element Call's root, which
|
||||||
|
// components inherit rather than compete with, and everything from Compound
|
||||||
|
// sits in a `@layer`, which loses to unlayered rules either way.
|
||||||
|
import "../src/base.css";
|
||||||
|
|
||||||
|
import {
|
||||||
|
type FC,
|
||||||
|
type JSX,
|
||||||
|
type ReactNode,
|
||||||
|
useEffect,
|
||||||
|
useLayoutEffect,
|
||||||
|
useMemo,
|
||||||
|
useRef,
|
||||||
|
useState,
|
||||||
|
} from "react";
|
||||||
|
import { logger } from "matrix-js-sdk/lib/logger";
|
||||||
|
import { I18nextProvider } from "react-i18next";
|
||||||
|
import { TooltipProvider } from "@vector-im/compound-web";
|
||||||
|
import { ErrorBoundary } from "@sentry/react";
|
||||||
|
import { shouldPolyfill as shouldPolyfillSegmenter } from "@formatjs/intl-segmenter/should-polyfill";
|
||||||
|
import { shouldPolyfill as shouldPolyfillDurationFormat } from "@formatjs/intl-durationformat/should-polyfill.js";
|
||||||
|
|
||||||
|
import LanguageDetector from "i18next-browser-languagedetector";
|
||||||
|
|
||||||
|
import EN from "../locales/en/app.json";
|
||||||
|
import { CallView } from "../src/room/CallView";
|
||||||
|
import { ErrorPage } from "../src/FullScreenView";
|
||||||
|
import { ClientProvider } from "../src/ClientContext";
|
||||||
|
import { HostBridgeProvider } from "../src/HostBridge";
|
||||||
|
import { RootElementProvider, useRootElement } from "../src/RootElementContext";
|
||||||
|
import {
|
||||||
|
configurationForIntent,
|
||||||
|
componentProperties,
|
||||||
|
type UrlParams,
|
||||||
|
UrlParamsProvider,
|
||||||
|
UserIntent,
|
||||||
|
useUrlParams,
|
||||||
|
} from "../src/UrlParams";
|
||||||
|
import { MediaDevicesContext } from "../src/MediaDevicesContext";
|
||||||
|
import { MediaDevices } from "../src/state/MediaDevices";
|
||||||
|
import { ObservableScope } from "../src/state/ObservableScope";
|
||||||
|
import { ProcessorProvider } from "../src/livekit/TrackProcessorContext";
|
||||||
|
import { Config } from "../src/config/Config";
|
||||||
|
import { type ConfigOptions } from "../src/config/ConfigOptions";
|
||||||
|
import { i18n } from "../src/utils/i18n";
|
||||||
|
import { useTheme } from "../src/useTheme";
|
||||||
|
import { useStableValue } from "../src/useStableValue";
|
||||||
|
import styles from "./ElementCall.module.css";
|
||||||
|
import { useComponentHostBridge } from "./host";
|
||||||
|
import { type ElementCallProps } from "./api";
|
||||||
|
import { supportedLanguages, translationsBackend } from "./localization";
|
||||||
|
|
||||||
|
// The languages Element Call can be shown in
|
||||||
|
export { supportedLanguages } from "./localization";
|
||||||
|
// Everything a host needs to talk about Element Call — the props, the handle,
|
||||||
|
// the host bridge, the intents and what each means — also available without
|
||||||
|
// the component itself from `@element-hq/element-call-component/api`
|
||||||
|
export * from "./api";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepares the things Element Call needs before it can be shown: translations,
|
||||||
|
* `Intl` polyfills for older browsers, and its configuration.
|
||||||
|
*
|
||||||
|
* Await this once, before rendering {@link ElementCall}.
|
||||||
|
*/
|
||||||
|
export async function initializeElementCall(
|
||||||
|
config: ConfigOptions = {},
|
||||||
|
): Promise<void> {
|
||||||
|
const polyfills: Promise<unknown>[] = [];
|
||||||
|
if (shouldPolyfillSegmenter())
|
||||||
|
polyfills.push(import("@formatjs/intl-segmenter/polyfill-force"));
|
||||||
|
if (shouldPolyfillDurationFormat())
|
||||||
|
polyfills.push(import("@formatjs/intl-durationformat/polyfill-force.js"));
|
||||||
|
await Promise.all(polyfills);
|
||||||
|
|
||||||
|
Config.initWith(config);
|
||||||
|
await i18n
|
||||||
|
.use(translationsBackend)
|
||||||
|
.use(new LanguageDetector())
|
||||||
|
.init({
|
||||||
|
fallbackLng: "en",
|
||||||
|
defaultNS: "app",
|
||||||
|
keySeparator: ".",
|
||||||
|
nsSeparator: false,
|
||||||
|
pluralSeparator: "_",
|
||||||
|
contextSeparator: "|",
|
||||||
|
supportedLngs: [...supportedLanguages],
|
||||||
|
interpolation: { escapeValue: false },
|
||||||
|
// English is bundled in, so the fallback never has to be loaded; every
|
||||||
|
// other language arrives from the backend when first asked for.
|
||||||
|
partialBundledLanguages: true,
|
||||||
|
resources: { en: { app: EN } },
|
||||||
|
detection: {
|
||||||
|
// The browser's language, until the host says otherwise through the
|
||||||
|
// `language` prop. Nothing is remembered: the choice is the host's.
|
||||||
|
order: ["navigator"],
|
||||||
|
caches: [],
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Applies the theme and background to the container, before it is painted. */
|
||||||
|
const Decoration: FC<{ children: JSX.Element }> = ({ children }) => {
|
||||||
|
useTheme();
|
||||||
|
const { background } = useUrlParams();
|
||||||
|
const rootElement = useRootElement();
|
||||||
|
useLayoutEffect(() => {
|
||||||
|
rootElement.setAttribute("data-background", background);
|
||||||
|
}, [rootElement, background]);
|
||||||
|
return children;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const ElementCall: FC<ElementCallProps> = ({
|
||||||
|
client,
|
||||||
|
roomId,
|
||||||
|
intent = UserIntent.JoinExistingCall,
|
||||||
|
config,
|
||||||
|
hostBridge: suppliedHostBridge,
|
||||||
|
ref,
|
||||||
|
theme,
|
||||||
|
language,
|
||||||
|
}): ReactNode => {
|
||||||
|
const hostBridge = useComponentHostBridge(suppliedHostBridge, ref, theme);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (language !== undefined)
|
||||||
|
i18n
|
||||||
|
.changeLanguage(language)
|
||||||
|
.catch((e) => logger.error(`Could not switch to ${language}`, e));
|
||||||
|
}, [language]);
|
||||||
|
|
||||||
|
// The container is what Element Call decorates and portals into, so nothing
|
||||||
|
// inside can render until we have it.
|
||||||
|
const [container, setContainer] = useState<HTMLDivElement | null>(null);
|
||||||
|
|
||||||
|
// Element Call has no URL of its own to read any of this from, and the
|
||||||
|
// host's URL is not Element Call's business, so the defaults come from the
|
||||||
|
// intent with the host's wishes over the top.
|
||||||
|
//
|
||||||
|
// Everything downstream — the mute state, the call view model and with it
|
||||||
|
// the media connection — is keyed on the identity of this object, so it has
|
||||||
|
// to be stable for as long as its contents are. A host writing `config`
|
||||||
|
// inline would otherwise tear the call down on every render.
|
||||||
|
const stableConfig = useStableValue(config);
|
||||||
|
const params = useMemo(
|
||||||
|
(): UrlParams => ({
|
||||||
|
...componentProperties,
|
||||||
|
roomId,
|
||||||
|
...configurationForIntent(intent),
|
||||||
|
...stableConfig,
|
||||||
|
}),
|
||||||
|
[roomId, intent, stableConfig],
|
||||||
|
);
|
||||||
|
|
||||||
|
// Created in an effect so that the scope it lives in ends when the component
|
||||||
|
// is unmounted (or these options change), rather than keeping its device
|
||||||
|
// observers running for the rest of the page's life. Null until then, which
|
||||||
|
// is one render.
|
||||||
|
const { controlledAudioDevices, callIntent } = params;
|
||||||
|
const [mediaDevices, setMediaDevices] = useState<MediaDevices | null>(null);
|
||||||
|
useEffect(() => {
|
||||||
|
const scope = new ObservableScope();
|
||||||
|
setMediaDevices(
|
||||||
|
new MediaDevices(scope, { controlledAudioDevices, callIntent }),
|
||||||
|
);
|
||||||
|
return (): void => {
|
||||||
|
setMediaDevices(null);
|
||||||
|
scope.end();
|
||||||
|
};
|
||||||
|
}, [controlledAudioDevices, callIntent]);
|
||||||
|
|
||||||
|
const room = client.getRoom(roomId);
|
||||||
|
const rtcSession = useMemo(
|
||||||
|
() => (room === null ? null : client.matrixRTC.getRoomSession(room)),
|
||||||
|
[client, room],
|
||||||
|
);
|
||||||
|
|
||||||
|
if (rtcSession === null)
|
||||||
|
logger.error(
|
||||||
|
`Element Call was asked to call in ${roomId}, which its host's client does not know about`,
|
||||||
|
);
|
||||||
|
|
||||||
|
// Everything the call needs is in hand once these exist, and the first
|
||||||
|
// render with them is where the call itself appears: the moment the host
|
||||||
|
// is told that Element Call has loaded, as the widget tells its client once
|
||||||
|
// its own initialisation is over. Once per mount, however often the pieces
|
||||||
|
// are later swapped out.
|
||||||
|
const ready =
|
||||||
|
container !== null && rtcSession !== null && mediaDevices !== null;
|
||||||
|
const announcedLoaded = useRef(false);
|
||||||
|
useEffect(() => {
|
||||||
|
if (!ready || announcedLoaded.current) return;
|
||||||
|
announcedLoaded.current = true;
|
||||||
|
hostBridge
|
||||||
|
.contentLoaded()
|
||||||
|
.catch((e) => logger.error("Could not tell the host we had loaded", e));
|
||||||
|
}, [ready, hostBridge]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<I18nextProvider i18n={i18n}>
|
||||||
|
<HostBridgeProvider value={hostBridge}>
|
||||||
|
<UrlParamsProvider value={params}>
|
||||||
|
<div ref={setContainer} className={styles.root}>
|
||||||
|
{ready && (
|
||||||
|
<RootElementProvider value={container}>
|
||||||
|
{/* Whatever goes wrong in here is shown in here. Left to
|
||||||
|
propagate, an error would unmount the host's own tree. */}
|
||||||
|
<ErrorBoundary
|
||||||
|
fallback={(error) => <ErrorPage error={error} />}
|
||||||
|
// A broken call should not hold the host on screen
|
||||||
|
onError={() => void hostBridge.setAlwaysOnScreen(false)}
|
||||||
|
>
|
||||||
|
<Decoration>
|
||||||
|
<TooltipProvider>
|
||||||
|
<ClientProvider client={client}>
|
||||||
|
<MediaDevicesContext value={mediaDevices}>
|
||||||
|
<ProcessorProvider>
|
||||||
|
<CallView
|
||||||
|
client={client}
|
||||||
|
rtcSession={rtcSession}
|
||||||
|
isPasswordlessUser={false}
|
||||||
|
confineToRoom={params.confineToRoom}
|
||||||
|
preload={params.preload}
|
||||||
|
skipLobby={params.skipLobby}
|
||||||
|
/>
|
||||||
|
</ProcessorProvider>
|
||||||
|
</MediaDevicesContext>
|
||||||
|
</ClientProvider>
|
||||||
|
</TooltipProvider>
|
||||||
|
</Decoration>
|
||||||
|
</ErrorBoundary>
|
||||||
|
</RootElementProvider>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</UrlParamsProvider>
|
||||||
|
</HostBridgeProvider>
|
||||||
|
</I18nextProvider>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { describe, expect, test } from "vitest";
|
||||||
|
|
||||||
|
import { supportedLanguages, translationsBackend } from "./localization";
|
||||||
|
|
||||||
|
const read = async (
|
||||||
|
language: string,
|
||||||
|
namespace = "app",
|
||||||
|
): Promise<Record<string, unknown>> =>
|
||||||
|
await new Promise((resolve, reject) =>
|
||||||
|
translationsBackend.read(language, namespace, (error, data) => {
|
||||||
|
if (error) reject(error);
|
||||||
|
else resolve(data as Record<string, unknown>);
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
|
||||||
|
describe("component translations", () => {
|
||||||
|
test("offer every language in locales/, tagged as its directory is", () => {
|
||||||
|
expect(supportedLanguages).toContain("en");
|
||||||
|
expect(supportedLanguages).toContain("de");
|
||||||
|
expect(supportedLanguages).toContain("zh-Hans");
|
||||||
|
expect(new Set(supportedLanguages).size).toBe(supportedLanguages.length);
|
||||||
|
});
|
||||||
|
|
||||||
|
test("load a language's translations on demand", async () => {
|
||||||
|
const de = await read("de");
|
||||||
|
expect(de).toHaveProperty("action");
|
||||||
|
expect(de).not.toEqual(await read("en"));
|
||||||
|
});
|
||||||
|
|
||||||
|
test("refuse a language there are no translations for", async () => {
|
||||||
|
await expect(read("xx")).rejects.toThrow("No app translations for xx");
|
||||||
|
});
|
||||||
|
|
||||||
|
test("refuse a namespace there are no translations for", async () => {
|
||||||
|
await expect(read("en", "other")).rejects.toThrow(
|
||||||
|
"No other translations for en",
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Translations for Element Call as a component.
|
||||||
|
*
|
||||||
|
* The standalone app fetches its locale files at runtime from URLs its own
|
||||||
|
* build emits, which a host serving the library from somewhere else could not
|
||||||
|
* resolve. The component instead has the bundler split every locale into a
|
||||||
|
* chunk of its own, loaded the first time its language is asked for; English,
|
||||||
|
* the fallback, is bundled in so that the first paint never waits for it.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { type BackendModule, type ResourceKey } from "i18next";
|
||||||
|
|
||||||
|
import { languageOfLocalePath } from "../src/utils/i18n";
|
||||||
|
|
||||||
|
/** Every locale, as a lazily imported module. */
|
||||||
|
const translations = import.meta.glob<{ default: ResourceKey }>(
|
||||||
|
"../locales/*/app.json",
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The languages Element Call can be shown in, as BCP 47 tags — `en`, `de`,
|
||||||
|
* `zh-Hans` and so on. A language that is not one of these falls back to its
|
||||||
|
* base language where there is one (`de-AT` to `de`), and to English otherwise.
|
||||||
|
*/
|
||||||
|
export const supportedLanguages: readonly string[] = [
|
||||||
|
...new Set(Object.keys(translations).map(languageOfLocalePath)),
|
||||||
|
];
|
||||||
|
|
||||||
|
/** Loads translations on demand. */
|
||||||
|
export const translationsBackend: BackendModule = {
|
||||||
|
type: "backend",
|
||||||
|
init(): void {},
|
||||||
|
read(language: string, namespace: string, callback): void {
|
||||||
|
const load = translations[`../locales/${language}/${namespace}.json`];
|
||||||
|
if (load === undefined) {
|
||||||
|
callback(new Error(`No ${namespace} translations for ${language}`), null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
load().then(
|
||||||
|
(module) => callback(null, module.default),
|
||||||
|
(error: unknown) =>
|
||||||
|
callback(
|
||||||
|
error instanceof Error ? error : new Error(String(error)),
|
||||||
|
null,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"name": "@element-hq/element-call-component",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "Element Call as a React component. Consumed straight from the repository as a git dependency (github:element-hq/element-call#<ref>&path:/component): the host's package manager runs `prepare`, which builds `dist/`.",
|
||||||
|
"license": "SEE LICENSE IN ../README.md",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/element-hq/element-call",
|
||||||
|
"directory": "component"
|
||||||
|
},
|
||||||
|
"type": "module",
|
||||||
|
"devEngines": {
|
||||||
|
"packageManager": {
|
||||||
|
"name": "pnpm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"main": "./dist/element-call.js",
|
||||||
|
"module": "./dist/element-call.js",
|
||||||
|
"types": "./dist/types/component/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./dist/types/component/index.d.ts",
|
||||||
|
"default": "./dist/element-call.js"
|
||||||
|
},
|
||||||
|
"./api": {
|
||||||
|
"types": "./dist/types/component/api.d.ts",
|
||||||
|
"default": "./dist/api.js"
|
||||||
|
},
|
||||||
|
"./style.css": "./dist/element-call.css"
|
||||||
|
},
|
||||||
|
"sideEffects": [
|
||||||
|
"*.css"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"prepare": "cd .. && pnpm install --frozen-lockfile && pnpm build:component"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"livekit-client": "^2.18.1",
|
||||||
|
"matrix-js-sdk": "*",
|
||||||
|
"react": "^19",
|
||||||
|
"react-dom": "^19"
|
||||||
|
}
|
||||||
|
}
|
||||||
Generated
+9
@@ -0,0 +1,9 @@
|
|||||||
|
lockfileVersion: '9.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: false
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
importers:
|
||||||
|
|
||||||
|
.: {}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# Makes `component/` a pnpm project of its own rather than a directory inside
|
||||||
|
# the repository's workspace. That matters when a host installs the component
|
||||||
|
# straight from this repository (`github:element-hq/element-call#…&path:/component`):
|
||||||
|
# pnpm prepares such a dependency by running `pnpm install` in this directory,
|
||||||
|
# and only a project root gets its `prepare` script (see package.json) run, which
|
||||||
|
# is what builds `dist/`. Inside the repository's own workspace the install
|
||||||
|
# would silently target the repository instead and build nothing.
|
||||||
|
#
|
||||||
|
# Consequence for development: pnpm commands run from within this directory see
|
||||||
|
# this project, not the repository; run them from the repository root.
|
||||||
|
|
||||||
|
# Nothing to install here: the peers in package.json are the host's, and the
|
||||||
|
# build runs against the repository's own node_modules (see `prepare`).
|
||||||
|
autoInstallPeers: false
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
// Declaration output for the component package (`pnpm build:component:types`).
|
||||||
|
// The root tsconfig only type-checks; this one emits `.d.ts` files, and nothing
|
||||||
|
// else, for everything the component's entry point reaches. The layout under
|
||||||
|
// `dist/types` mirrors the repository (`component/index.d.ts`, `src/…`), which
|
||||||
|
// is what `package.json` points its `types` at.
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": false,
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": false,
|
||||||
|
"rootDir": "..",
|
||||||
|
"outDir": "./dist/types"
|
||||||
|
},
|
||||||
|
// The entry points, plus the ambient declarations (CSS modules, `?react` SVGs,
|
||||||
|
// `import.meta.env`, …) that the sources they reach rely on.
|
||||||
|
"include": ["./index.tsx", "./api.ts", "../src/@types/*.d.ts"],
|
||||||
|
"exclude": []
|
||||||
|
}
|
||||||
@@ -5,15 +5,10 @@
|
|||||||
"server_name": "synapse.m.localhost"
|
"server_name": "synapse.m.localhost"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"features": {
|
|
||||||
"feature_use_device_session_member_events": true
|
|
||||||
},
|
|
||||||
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
|
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
|
||||||
"matrix_rtc_session": {
|
"matrix_rtc_session": {
|
||||||
"wait_for_key_rotation_ms": 3000,
|
"wait_for_key_rotation_ms": 3000,
|
||||||
"membership_event_expiry_ms": 180000000,
|
"membership_event_expiry_ms": 180000000,
|
||||||
"delayed_leave_event_delay_ms": 18000,
|
|
||||||
"delayed_leave_event_restart_ms": 4000,
|
|
||||||
"network_error_retry_ms": 100
|
"network_error_retry_ms": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,11 @@
|
|||||||
"livekit": {
|
"livekit": {
|
||||||
"livekit_service_url": "https://livekit-jwt.mydomain.com"
|
"livekit_service_url": "https://livekit-jwt.mydomain.com"
|
||||||
},
|
},
|
||||||
"features": {
|
|
||||||
"feature_use_device_session_member_events": true
|
|
||||||
},
|
|
||||||
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
|
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
|
||||||
|
"matrix_rtc_mode": "compatibility",
|
||||||
"matrix_rtc_session": {
|
"matrix_rtc_session": {
|
||||||
"wait_for_key_rotation_ms": 3000,
|
"wait_for_key_rotation_ms": 3000,
|
||||||
"membership_event_expiry_ms": 180000000,
|
"membership_event_expiry_ms": 180000000,
|
||||||
"delayed_leave_event_delay_ms": 18000,
|
|
||||||
"delayed_leave_event_restart_ms": 4000,
|
|
||||||
"network_error_retry_ms": 100
|
"network_error_retry_ms": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
"matrix_rtc_session": {
|
"matrix_rtc_session": {
|
||||||
"wait_for_key_rotation_ms": 3000,
|
"wait_for_key_rotation_ms": 3000,
|
||||||
"membership_event_expiry_ms": 180000000,
|
"membership_event_expiry_ms": 180000000,
|
||||||
"delayed_leave_event_delay_ms": 18000,
|
|
||||||
"delayed_leave_event_restart_ms": 4000,
|
|
||||||
"network_error_retry_ms": 100
|
"network_error_retry_ms": 100
|
||||||
},
|
},
|
||||||
"posthog": {
|
"posthog": {
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
"matrix_rtc_session": {
|
"matrix_rtc_session": {
|
||||||
"wait_for_key_rotation_ms": 3000,
|
"wait_for_key_rotation_ms": 3000,
|
||||||
"membership_event_expiry_ms": 180000000,
|
"membership_event_expiry_ms": 180000000,
|
||||||
"delayed_leave_event_delay_ms": 18000,
|
|
||||||
"delayed_leave_event_restart_ms": 4000,
|
|
||||||
"network_error_retry_ms": 100
|
"network_error_retry_ms": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
auth-service:
|
auth-service:
|
||||||
image: ghcr.io/element-hq/lk-jwt-service:0.4.4
|
image: ghcr.io/element-hq/lk-jwt-service:0.7.0
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
hostname: auth-server
|
hostname: auth-server
|
||||||
environment:
|
environment:
|
||||||
@@ -15,6 +15,14 @@ services:
|
|||||||
# a self-signed certificate
|
# a self-signed certificate
|
||||||
- LIVEKIT_INSECURE_SKIP_VERIFY_TLS=YES_I_KNOW_WHAT_I_AM_DOING
|
- LIVEKIT_INSECURE_SKIP_VERIFY_TLS=YES_I_KNOW_WHAT_I_AM_DOING
|
||||||
- LIVEKIT_FULL_ACCESS_HOMESERVERS=*
|
- LIVEKIT_FULL_ACCESS_HOMESERVERS=*
|
||||||
|
# Registers this instance as an application service on the main homeserver
|
||||||
|
- LIVEKIT_AS_REGISTRATION_FILE=/etc/lk-jwt-service/app-service.yaml
|
||||||
|
- LIVEKIT_HS_SERVER_NAME=synapse.m.localhost
|
||||||
|
# Neither homeserver serves /.well-known/matrix/client, so the C-S API
|
||||||
|
# location has to be given explicitly.
|
||||||
|
- LIVEKIT_CS_API_URL_OVERRIDES=synapse.m.localhost=http://homeserver:8008,synapse.othersite.m.localhost=http://homeserver-1:18008
|
||||||
|
volumes:
|
||||||
|
- ./backend/app-service.yaml:/etc/lk-jwt-service/app-service.yaml:Z
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -25,7 +33,7 @@ services:
|
|||||||
- ecbackend
|
- ecbackend
|
||||||
|
|
||||||
auth-service-1:
|
auth-service-1:
|
||||||
image: ghcr.io/element-hq/lk-jwt-service:0.4.4
|
image: ghcr.io/element-hq/lk-jwt-service:0.7.0
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
hostname: auth-server-1
|
hostname: auth-server-1
|
||||||
environment:
|
environment:
|
||||||
@@ -37,6 +45,14 @@ services:
|
|||||||
# a self-signed certificate
|
# a self-signed certificate
|
||||||
- LIVEKIT_INSECURE_SKIP_VERIFY_TLS=YES_I_KNOW_WHAT_I_AM_DOING
|
- LIVEKIT_INSECURE_SKIP_VERIFY_TLS=YES_I_KNOW_WHAT_I_AM_DOING
|
||||||
- LIVEKIT_FULL_ACCESS_HOMESERVERS=*
|
- LIVEKIT_FULL_ACCESS_HOMESERVERS=*
|
||||||
|
# Registers this instance as an application service on the other homeserver.
|
||||||
|
- LIVEKIT_AS_REGISTRATION_FILE=/etc/lk-jwt-service/app-service.yaml
|
||||||
|
- LIVEKIT_HS_SERVER_NAME=synapse.othersite.m.localhost
|
||||||
|
# Neither homeserver serves /.well-known/matrix/client, so the C-S API
|
||||||
|
# location has to be given explicitly.
|
||||||
|
- LIVEKIT_CS_API_URL_OVERRIDES=synapse.m.localhost=http://homeserver:8008,synapse.othersite.m.localhost=http://homeserver-1:18008
|
||||||
|
volumes:
|
||||||
|
- ./backend/app-service-othersite.yaml:/etc/lk-jwt-service/app-service.yaml:Z
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -47,7 +63,7 @@ services:
|
|||||||
- ecbackend
|
- ecbackend
|
||||||
|
|
||||||
livekit:
|
livekit:
|
||||||
image: livekit/livekit-server:v1.10.1
|
image: livekit/livekit-server:v1.13.4
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
hostname: livekit-sfu
|
hostname: livekit-sfu
|
||||||
command: --dev --config /etc/livekit.yaml
|
command: --dev --config /etc/livekit.yaml
|
||||||
@@ -70,7 +86,7 @@ services:
|
|||||||
- ecbackend
|
- ecbackend
|
||||||
|
|
||||||
livekit-1:
|
livekit-1:
|
||||||
image: livekit/livekit-server:v1.10.1
|
image: livekit/livekit-server:v1.13.4
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
hostname: livekit-sfu-1
|
hostname: livekit-sfu-1
|
||||||
command: --dev --config /etc/livekit.yaml
|
command: --dev --config /etc/livekit.yaml
|
||||||
@@ -94,7 +110,10 @@ services:
|
|||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
hostname: homeserver
|
hostname: homeserver
|
||||||
image: ghcr.io/element-hq/synapse:latest
|
# develop (not latest) is required for application service C-S/S-S proxying
|
||||||
|
# (MSC4512) and membership look-ups (MSC4502), which are not in a stable
|
||||||
|
# release yet.
|
||||||
|
image: ghcr.io/element-hq/synapse:develop
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
||||||
@@ -107,12 +126,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./backend/synapse_tmp:/data:Z
|
- ./backend/synapse_tmp:/data:Z
|
||||||
- ./backend/dev_homeserver.yaml:/data/cfg/homeserver.yaml:Z
|
- ./backend/dev_homeserver.yaml:/data/cfg/homeserver.yaml:Z
|
||||||
|
- ./backend/app-service.yaml:/data/cfg/app-service.yaml:Z
|
||||||
networks:
|
networks:
|
||||||
- ecbackend
|
- ecbackend
|
||||||
|
|
||||||
synapse-1:
|
synapse-1:
|
||||||
hostname: homeserver-1
|
hostname: homeserver-1
|
||||||
image: ghcr.io/element-hq/synapse:latest
|
# develop (not latest) is required for application service C-S/S-S proxying
|
||||||
|
# (MSC4512) and membership look-ups (MSC4502), which are not in a stable
|
||||||
|
# release yet.
|
||||||
|
image: ghcr.io/element-hq/synapse:develop
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/cfg/homeserver.yaml
|
||||||
@@ -125,6 +148,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./backend/synapse_tmp_othersite:/data:Z
|
- ./backend/synapse_tmp_othersite:/data:Z
|
||||||
- ./backend/dev_homeserver-othersite.yaml:/data/cfg/homeserver.yaml:Z
|
- ./backend/dev_homeserver-othersite.yaml:/data/cfg/homeserver.yaml:Z
|
||||||
|
- ./backend/app-service-othersite.yaml:/data/cfg/app-service.yaml:Z
|
||||||
networks:
|
networks:
|
||||||
- ecbackend
|
- ecbackend
|
||||||
|
|
||||||
@@ -156,7 +180,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
# see backend/dev_tls_setup for how to generate the tls certs
|
# see backend/dev_tls_setup for how to generate the tls certs
|
||||||
hostname: synapse.m.localhost
|
hostname: synapse.m.localhost
|
||||||
image: nginx:latest
|
image: nginx:latest@sha256:4ae259ae64fbedb67918c07d167fdcb0e05855a1615480ca445bea485e7d65ff
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z
|
- ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# This file contains overrides to docker-compose-dev.yml and should
|
||||||
|
# only be used in combination with that file.
|
||||||
|
services:
|
||||||
|
synapse:
|
||||||
|
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
|
||||||
|
# develop (not latest) is required for application service C-S/S-S proxying
|
||||||
|
# (MSC4512) and membership look-ups (MSC4502), which are not in a stable
|
||||||
|
# release yet.
|
||||||
|
image: ghcr.io/element-hq/synapse:develop@sha256:337921fd22be310d453344b2265f6c9942315446595df3cf81866f71ca2055a7
|
||||||
|
volumes:
|
||||||
|
- ./backend/playwright_homeserver.yaml:/data/cfg/homeserver.yaml:Z
|
||||||
|
synapse-1:
|
||||||
|
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
|
||||||
|
# develop (not latest) is required for application service C-S/S-S proxying
|
||||||
|
# (MSC4512) and membership look-ups (MSC4502), which are not in a stable
|
||||||
|
# release yet.
|
||||||
|
image: ghcr.io/element-hq/synapse:develop@sha256:337921fd22be310d453344b2265f6c9942315446595df3cf81866f71ca2055a7
|
||||||
|
volumes:
|
||||||
|
- ./backend/playwright_homeserver-othersite.yaml:/data/cfg/homeserver.yaml:Z
|
||||||
|
element-web:
|
||||||
|
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
|
||||||
|
image: ghcr.io/element-hq/element-web:develop@sha256:cbb7be9a54352997748d02c36dc70ee877c705ee3518be31497717c9a2ff0395
|
||||||
|
element-web-1:
|
||||||
|
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
|
||||||
|
image: ghcr.io/element-hq/element-web:develop@sha256:cbb7be9a54352997748d02c36dc70ee877c705ee3518be31497717c9a2ff0395
|
||||||
@@ -3,7 +3,18 @@
|
|||||||
This folder contains documentation for setup, usage, and development of Element Call.
|
This folder contains documentation for setup, usage, and development of Element Call.
|
||||||
|
|
||||||
- [Embedded vs standalone mode](./embedded_standalone.md)
|
- [Embedded vs standalone mode](./embedded_standalone.md)
|
||||||
|
- [Element Call as a React component (experimental)](../README.md#element-call-as-a-component-experimental)
|
||||||
- [Url format and parameters](./url_params.md)
|
- [Url format and parameters](./url_params.md)
|
||||||
- [Global JS controls](./controls.md)
|
- [Global JS controls](./controls.md)
|
||||||
|
- [MatrixRTC modes](./matrix_rtc_modes.md)
|
||||||
- [Self-Hosting](./self_hosting.md)
|
- [Self-Hosting](./self_hosting.md)
|
||||||
- [Developing with linked packages](./linking.md)
|
- [Developing with linked packages](./linking.md)
|
||||||
|
|
||||||
|
### Writing code for Element Call (agent-readable conventions)
|
||||||
|
|
||||||
|
Entry point: [AGENTS.md](../AGENTS.md).
|
||||||
|
|
||||||
|
- [Agent workflow](./agents/workflow.md)
|
||||||
|
- [Architecture](./agents/architecture.md)
|
||||||
|
- [Code style](./agents/code-style.md)
|
||||||
|
- [Testing](./agents/testing.md)
|
||||||
|
|||||||
@@ -0,0 +1,82 @@
|
|||||||
|
# Architecture
|
||||||
|
|
||||||
|
## Logic lives in view models; components render
|
||||||
|
|
||||||
|
- Call logic lives in `src/state/`. A component that derives call state is
|
||||||
|
misplaced logic.
|
||||||
|
- Composing behaviors: a factory taking `(scope, ...deps$)`, returning named
|
||||||
|
behaviors plus callbacks. Copy `src/state/LayoutSwitchViewModel.ts`. Prefer this
|
||||||
|
for anything new.
|
||||||
|
- Owning a resource: a class taking the scope in its constructor — `MediaDevices`,
|
||||||
|
`MuteStates`, `TileStore`, `Publisher`, `Connection`. Both styles are current;
|
||||||
|
don't convert one to the other in passing.
|
||||||
|
- `foo$` is an observable. `Behavior<T>`, an observable with a current value, is
|
||||||
|
the default for anything a view reads.
|
||||||
|
|
||||||
|
## The view model / view contract
|
||||||
|
|
||||||
|
- Components take `vm: ViewModel<Snapshot>` and read state through `useBehavior`.
|
||||||
|
See `CallFooter`, `InCallView`, `LobbyView`, `SettingsModal`.
|
||||||
|
- A snapshot is `Actions & State`; every field becomes a `foo$` behavior, and none
|
||||||
|
is optional.
|
||||||
|
- An unavailable action is `undefined`, not a separate `canDoThing` flag — the
|
||||||
|
presence of the callback drives the rendering.
|
||||||
|
- Subscribe in an effect only to drive a side effect off an event stream, as
|
||||||
|
`ReactionAudioRenderer` does; never to read state a behavior already holds.
|
||||||
|
|
||||||
|
## Scopes own lifetimes
|
||||||
|
|
||||||
|
- `ObservableScope` bounds every subscription a view model creates.
|
||||||
|
- Reference only the scope defined in the same function; one captured from an
|
||||||
|
enclosing scope outlives its owner, and `no-observablescope-leak` rejects it.
|
||||||
|
|
||||||
|
## Nothing reads the page
|
||||||
|
|
||||||
|
Element Call can be mounted several times inside a host's React tree, so it owns
|
||||||
|
neither window, URL, document nor router. Each seam defaults to the old standalone
|
||||||
|
and widget behaviour.
|
||||||
|
|
||||||
|
| Never | Use |
|
||||||
|
| --------------------------------------------- | ------------------------------------------------------------- |
|
||||||
|
| the `widget` global | `useHostBridge()` — `src/HostBridge.ts` |
|
||||||
|
| `getUrlParams()`, `window.location` | `useUrlParams()` |
|
||||||
|
| `useNavigate("/")`, `<Link to="/">` | `useLeaveToHome()`, `LeaveToHomeLink` |
|
||||||
|
| `document.body` | `useRootElement()` |
|
||||||
|
| `window.innerWidth/Height`, `useMediaQuery` | `useRootSizeMatches()` in views, `windowSize$` in view models |
|
||||||
|
| global `i18next` | the instance in `src/utils/i18n.ts` |
|
||||||
|
| config or analytics reading their environment | `Config.initWith()`, `PosthogAnalytics.configure()` |
|
||||||
|
|
||||||
|
- View models take values as options, never `getUrlParams()`
|
||||||
|
(`callViewModelOptionsFromParams`, `CallViewModelOptions.hostBridge`).
|
||||||
|
- The host bridge is the only channel to the host: `createWidgetHostBridge(widget)`,
|
||||||
|
`nullHostBridge` standalone, `useComponentHostBridge`. State a capability
|
||||||
|
(`supportsReactions`, `supportsProfileChanges`); never infer it from being a
|
||||||
|
widget.
|
||||||
|
- Shortcuts and portals attach to the root element, so two instances don't fight.
|
||||||
|
- Known debt, not precedent: `Grid` measures `window.innerHeight`; `ErrorView`'s
|
||||||
|
reload and `getAbsoluteRoomUrl` use `window.location`; recaptcha appends to
|
||||||
|
`document.body` on the standalone login path.
|
||||||
|
|
||||||
|
## Context differences are options, not checks
|
||||||
|
|
||||||
|
- Named options with per-intent defaults (`configurationForIntent`), never a
|
||||||
|
runtime check for who is hosting.
|
||||||
|
- `controlledAudioDevices`, not the platform, is what makes `MediaDevices` pick
|
||||||
|
`AndroidControlledAudioOutput` / `IOSControlledAudioOutput` over the web
|
||||||
|
`AudioOutput`. Intent presets set it on non-desktop; standalone leaves it off.
|
||||||
|
- URL params are a published contract: change one, update `docs/url_params.md`.
|
||||||
|
|
||||||
|
## Build targets
|
||||||
|
|
||||||
|
Code that builds in only one is a bug.
|
||||||
|
|
||||||
|
- `build:full` — standalone app, also widget mode.
|
||||||
|
- `build:embedded` — `@element-hq/element-call-embedded`.
|
||||||
|
- `build:sdk` — SDK library, entry `sdk/main.ts`.
|
||||||
|
- `build:component` — `@element-hq/element-call-component`, sources in `component/`
|
||||||
|
(its own pnpm project; run pnpm from the repo root). Host API is in the README;
|
||||||
|
`pnpm lint:externals` rejects an import of a `react` / `react-dom` /
|
||||||
|
`matrix-js-sdk` / `livekit-client` subpath the externals list omits. Two entry
|
||||||
|
points: `index.tsx` (the component) and `api.ts` (types, enums and
|
||||||
|
`configurationForIntent`, for a host that must not load the component). `api.ts`
|
||||||
|
may only reach types and constants — `src/UrlConfiguration.ts`, not `UrlParams`.
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
# Code style
|
||||||
|
|
||||||
|
_Clean Code_ (Robert C. Martin): small functions, intention-revealing names, low
|
||||||
|
noise.
|
||||||
|
|
||||||
|
## Reuse before you build
|
||||||
|
|
||||||
|
Look before you write, in this order:
|
||||||
|
|
||||||
|
1. **Compound Web** — `@vector-im/compound-web` for buttons, tooltips, alerts,
|
||||||
|
dialogs, menus, form controls, avatars; icons in
|
||||||
|
`@vector-im/compound-design-tokens/assets/web/icons`.
|
||||||
|
2. **This repo** — `src/button/`, `src/components/`, `src/input/`, `src/form/`,
|
||||||
|
`src/tabs/`, and `Modal`, `Avatar`, `Toast`, `Slider`, `ErrorView`,
|
||||||
|
`FullScreenView` at the root of `src/`.
|
||||||
|
3. **The nearest existing feature** — grep for the same shape first. A hook is
|
||||||
|
often what you want to extract, not a component.
|
||||||
|
|
||||||
|
If nothing fits, name the new shared component in the PR body and say what you
|
||||||
|
rejected and why — never add one silently. Extend or parameterise before forking,
|
||||||
|
and extract shared logic into a hook both callers use before copying it; if you
|
||||||
|
copy, the PR says so.
|
||||||
|
|
||||||
|
## Ordering
|
||||||
|
|
||||||
|
- **Newspaper order.** Headline first, detail down. A file opens with what it
|
||||||
|
exists to provide.
|
||||||
|
- **Stepdown rule.** Caller above callee. A helper used by one function sits
|
||||||
|
beneath it, which needs a `function` declaration, not a `const` arrow. Existing
|
||||||
|
arrow components above their callers are not a pattern to extend — nor to churn.
|
||||||
|
- **Suites.** Test cases first, helpers below. Older suites invert this; follow the
|
||||||
|
rule in new ones, don't reorder old ones.
|
||||||
|
- **Names.** What a thing means, not what it is made of: `naturalLayout$`, not
|
||||||
|
`computedLayout$`.
|
||||||
|
|
||||||
|
## Comments
|
||||||
|
|
||||||
|
No comment is the default. One earns its place by giving a reason the code
|
||||||
|
cannot: a platform quirk, an outside constraint, a trap that looks like a
|
||||||
|
simplification.
|
||||||
|
|
||||||
|
- Say the reason, then stop. Test each sentence: does the reason still stand
|
||||||
|
without it? If so, cut it. Most reasons fit on a line, so a long comment is
|
||||||
|
worth a second look — it is usually carrying something that isn't one.
|
||||||
|
- Write about the line the comment sits on, in terms of what the code does
|
||||||
|
there — leave layout to the stylesheet and measurements to the design.
|
||||||
|
- Name the condition ("where the platform can't route audio"), not the browser
|
||||||
|
or the spec entry.
|
||||||
|
- Put history — what was tried, removed or rejected, the dev journal — in the
|
||||||
|
commit or the PR description.
|
||||||
|
- In tests, comment only structure that looks wrong but isn't: batching, timers,
|
||||||
|
why this scroll position.
|
||||||
|
|
||||||
|
Before keeping one: would it still be true after a CSS change or a refactor of
|
||||||
|
its caller? If not, cut it.
|
||||||
|
|
||||||
|
## TypeScript, React and RxJS idiom win on a clash
|
||||||
|
|
||||||
|
- Hooks stay unconditional at the top of a component.
|
||||||
|
- `useCallback` / `useMemo` dependency arrays sometimes force inlining.
|
||||||
|
- An RxJS pipeline stays one expression. Name the behavior, not each operator.
|
||||||
|
- A long factory is fine when it reads as a list of named behaviors.
|
||||||
|
`CallViewModel.ts` is long because the domain is.
|
||||||
|
- Marble test tables are dense on purpose.
|
||||||
|
|
||||||
|
## Enforced by lint
|
||||||
|
|
||||||
|
- Copyright header on every file: `Copyright <current year> Element Creations Ltd.`
|
||||||
|
plus the AGPL / commercial SPDX line.
|
||||||
|
- `logger` from `matrix-js-sdk/lib/logger`, never `console`, and no top-level
|
||||||
|
`logger.getChild()`. The `console` ban is only enforced under `src/*/**`.
|
||||||
|
- No floating or misused promises; async functions typed `Promise<T>`.
|
||||||
|
- Inline type imports (`import { type Foo }`), so matrix-js-sdk stays lazily
|
||||||
|
loadable.
|
||||||
|
- Deep-import `matrix-js-sdk/lib/<module>` as the codebase does. Banned is the bare
|
||||||
|
`matrix-js-sdk/lib`, `lib/index` and anything under `src/`.
|
||||||
|
|
||||||
|
## CSS
|
||||||
|
|
||||||
|
- Compound components and `--cpd-*` tokens in CSS modules. A hardcoded colour or px
|
||||||
|
spacing is a design question, not a licence to inline a hex.
|
||||||
|
- Size against the root, not the window: `@container element-call (…)` and
|
||||||
|
`cqw` / `cqh`, never `@media (width)` or `vw` / `vh`. Media queries stay correct
|
||||||
|
only in standalone-only views — home, login.
|
||||||
|
- Style `[data-element-call-root]`, never `body` or `:root`; the component build
|
||||||
|
makes those stand for the root (`component/build/scopeStylesToRoot.ts`).
|
||||||
|
|
||||||
|
## Strings and a11y
|
||||||
|
|
||||||
|
- Strings through `t()`: add the key, run `pnpm i18n`, fill `locales/en/app.json`.
|
||||||
|
Other locales come from Localazy; never hand-edit them.
|
||||||
|
- `t` from `useTranslation()`, or `src/utils/i18n.ts` outside React. Never the
|
||||||
|
`i18next` global — several instances share a page.
|
||||||
|
- Accessible names on controls, `aria-pressed` on toggles, keyboard reachability.
|
||||||
|
`jsx-a11y` rules are errors; `vitest-axe` is available.
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
# Testing
|
||||||
|
|
||||||
|
Three layers; a user-facing feature needs all three. Unit proves the logic,
|
||||||
|
Storybook proves the rendering, e2e proves the feature. Codecov gates 80% on the
|
||||||
|
lines a PR touches.
|
||||||
|
|
||||||
|
## Unit
|
||||||
|
|
||||||
|
- View model tests use `withTestScheduler` + `testScope()` from `src/utils/test.ts`
|
||||||
|
and read as ASCII timelines. Copy `LayoutSwitchViewModel.test.ts`.
|
||||||
|
- Component tests use Testing Library, queried by role and accessible name.
|
||||||
|
- Reuse the factories in `src/utils/test.ts` — `mockRemoteParticipant`,
|
||||||
|
`mockMatrixRoom`, `mockLivekitRoom`, `MockRTCSession`. Hand-rolled mocks drift.
|
||||||
|
- Snapshots live in `__snapshots__/`; update with `pnpm test <Name> -u`.
|
||||||
|
- How often something redraws is testable: drive the frames and count commits, not
|
||||||
|
render calls. An effect with no dependency array runs once per commit.
|
||||||
|
- `component/**/*.test.ts` runs in the same jsdom project as `src`.
|
||||||
|
|
||||||
|
## Storybook
|
||||||
|
|
||||||
|
A deliverable, not documentation: `pnpm test:storybook` runs every story as a real
|
||||||
|
browser test in the same CI job as the unit suite. **A UI change without a story is
|
||||||
|
incomplete.** Only three stories exist so far, so copy `CallFooter.stories.tsx`.
|
||||||
|
|
||||||
|
- Drive the component from a snapshot via `useStaticViewModel`, never internals.
|
||||||
|
- One named story per state that matters — loading, error, empty, denied, mobile.
|
||||||
|
- Assert in a `play` function with `userEvent` / `expect` from `storybook/test`.
|
||||||
|
- Mobile is `globals: { viewport: { value: "mobile2" } }`, not a second component.
|
||||||
|
- Expose interesting props through `argTypes`.
|
||||||
|
|
||||||
|
`.storybook/preview.tsx` supplies `TooltipProvider`, `src/index.css` and English
|
||||||
|
translations. The browser is Playwright's, so a fresh clone needs
|
||||||
|
`pnpm playwright install` once.
|
||||||
|
|
||||||
|
## End-to-end
|
||||||
|
|
||||||
|
- `playwright/*.spec.ts` — standalone, on Chromium and Firefox.
|
||||||
|
- `playwright/widget/` — widget mode, where cross-context bugs surface.
|
||||||
|
- `playwright/component/` — the component in a host page, via the harness on port
|
||||||
|
3001 that Playwright starts as a second web server. Catches container-relative
|
||||||
|
layout, styles escaping the root, two instances on a page, host-bridge reports.
|
||||||
|
- `playwright/mobile/` — Pixel 7, `mobile` project only.
|
||||||
|
|
||||||
|
Test what a user observes: the peer sees the change, it survives a reconnect, it is
|
||||||
|
right after a reload. Reuse `playwright/spa-helpers.ts`,
|
||||||
|
`playwright/widget/test-helpers.ts`, `playwright/fixtures/`.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm test # unit + storybook
|
||||||
|
pnpm backend # Synapse + LiveKit, required for e2e
|
||||||
|
pnpm test:playwright # or :open
|
||||||
|
pnpm dev:component # component harness, port 3001
|
||||||
|
```
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
# Agent workflow
|
||||||
|
|
||||||
|
## Scratch files live in `agent-workspace/`
|
||||||
|
|
||||||
|
Git-ignored. One kebab-case subfolder per task, matching the branch topic:
|
||||||
|
`agent-workspace/<slug>/`.
|
||||||
|
|
||||||
|
| File | Purpose |
|
||||||
|
| --------------------------- | -------------------------------------------------------------------------------- |
|
||||||
|
| `plan.md` | The concrete approach — files, symbols, edit order — once direction is confirmed |
|
||||||
|
| `commit-msg.txt` | `git commit -F agent-workspace/<slug>/commit-msg.txt` |
|
||||||
|
| `pr-body.md` | `gh pr create --body-file agent-workspace/<slug>/pr-body.md` |
|
||||||
|
| `implementation-summary.md` | What was built, decisions, trade-offs |
|
||||||
|
| `NN-prompt.md` | Raw prompt text, numbered, when worth keeping |
|
||||||
|
|
||||||
|
- Nothing here is durable. The folder is ignored, so anything worth keeping is
|
||||||
|
promoted into the PR body, a doc, or a feature spec before the task ends.
|
||||||
|
- Never write scratch files to the repo root. Stray `load_test_summary.md` and
|
||||||
|
`config.json_` files are what this folder prevents.
|
||||||
|
- Start `pr-body.md` from `.github/PULL_REQUEST_TEMPLATE.md` and fill every
|
||||||
|
section.
|
||||||
|
- Commit subjects are plain imperative English. No conventional-commits prefixes.
|
||||||
|
- A `plan.md` and a feature spec sit at different altitudes; neither replaces the
|
||||||
|
other. A spec in `FEATURES_SPEC/` is durable and deliberately abstract —
|
||||||
|
behaviour, decisions, acceptance criteria — so the feature can be rebuilt against
|
||||||
|
a `main` nobody has seen yet. A plan is one slice of it landing on today's
|
||||||
|
`main`: the paths, symbols and edit order the spec's decisions and criteria must
|
||||||
|
not name. `FEATURES_SPEC/AGENTS.md` wins wherever the two genuinely overlap.
|
||||||
|
|
||||||
|
## Hand off before the quality pass
|
||||||
|
|
||||||
|
- Implement the change, run the narrowest check that rules out an obviously broken
|
||||||
|
handoff, then stop and ask whether the direction is right.
|
||||||
|
- Full `pnpm lint`, the whole suite, coverage and benchmarks come after the
|
||||||
|
direction is confirmed.
|
||||||
|
- Wider refactors, extra tests and documentation polish are follow-up work, not
|
||||||
|
part of the first handoff.
|
||||||
|
- If a check is needed before feedback, keep it to the touched code and say why.
|
||||||
|
|
||||||
|
## Commit and PR readiness
|
||||||
|
|
||||||
|
- Commit once the user confirms direction, or asks for one. Not before. Where the
|
||||||
|
setup has no git identity, a sandbox included, write the message to
|
||||||
|
`commit-msg.txt` and hand it over instead.
|
||||||
|
- Ready means every gate in [AGENTS.md](../../AGENTS.md#gates) is green and the
|
||||||
|
change is covered at the layers [testing.md](./testing.md) asks for. Read the diff
|
||||||
|
against [code-style.md](./code-style.md) first.
|
||||||
|
- Re-run the whole checklist after any fix. Only on green, either way.
|
||||||
|
- Once a human has started reviewing, fix forward — never force-push a
|
||||||
|
regeneration over a review in progress.
|
||||||
@@ -7,6 +7,9 @@ A few aspects of Element Call's interface can be controlled through a global API
|
|||||||
- `controls.canEnterPip(): boolean` Determines whether it's possible to enter picture-in-picture mode.
|
- `controls.canEnterPip(): boolean` Determines whether it's possible to enter picture-in-picture mode.
|
||||||
- `controls.enablePip(): void` Puts the call interface into picture-in-picture mode. Throws if not in a call.
|
- `controls.enablePip(): void` Puts the call interface into picture-in-picture mode. Throws if not in a call.
|
||||||
- `controls.disablePip(): void` Takes the call interface out of picture-in-picture mode, restoring it to its natural display mode. Throws if not in a call.
|
- `controls.disablePip(): void` Takes the call interface out of picture-in-picture mode, restoring it to its natural display mode. Throws if not in a call.
|
||||||
|
- `controls.onPipMediaOrientationUpdate: ((orientation: "landscape"|"portrait") => void) | undefined` Callback called whenever the PiP media orientation changes.
|
||||||
|
The client should track this value to already initiate the pip in the right orientation.
|
||||||
|
It should update the orientation of the current Pip window when called.
|
||||||
|
|
||||||
## Audio devices
|
## Audio devices
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
Element Call is available as two different packages: Full Package and Embedded Package.
|
Element Call is available as two different packages: Full Package and Embedded Package.
|
||||||
|
|
||||||
The Full Package is designed for standalone use, while the Embedded Package is designed for widget mode only.
|
The Full Package is designed for standalone use, while the Embedded Package is designed for widget mode only.
|
||||||
|
There is also an experimental third option, a build of Element Call as a React component for applications
|
||||||
|
that want to render a call inside their own page rather than in an iframe; see
|
||||||
|
[Element Call as a component](../README.md#element-call-as-a-component-experimental) in the README.
|
||||||
|
|
||||||
The table below provides a comparison of the two packages:
|
The table below provides a comparison of the two packages:
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# MatrixRTC modes
|
||||||
|
|
||||||
|
Element Call is in the middle of a transition of how a call session is
|
||||||
|
represented: from room _state_ events (`org.matrix.msc3401.call.member`) to
|
||||||
|
_sticky_ events
|
||||||
|
([MSC4354](https://github.com/matrix-org/matrix-spec-proposals/pull/4354)),
|
||||||
|
which are a much better fit for the short lived, per-device nature of call
|
||||||
|
memberships.
|
||||||
|
|
||||||
|
Not every homeserver supports sticky events yet. The two MatrixRTC modes
|
||||||
|
controls whether Element Call uses them.
|
||||||
|
|
||||||
|
## The modes
|
||||||
|
|
||||||
|
| Mode | Membership events | SFU selection | JWT endpoint |
|
||||||
|
| --------------- | ----------------- | ------------- | ---------------------------- |
|
||||||
|
| `compatibility` | state events | multi SFU | legacy |
|
||||||
|
| `matrix_2_0` | sticky events | multi SFU | Matrix 2.0 (hashed identity) |
|
||||||
|
|
||||||
|
**`compatibility`** — multi SFU, but still state events. Use it when the
|
||||||
|
homeserver does not support sticky events. This is the default.
|
||||||
|
|
||||||
|
**`matrix_2_0`** — the target state. Requires a homeserver that advertises
|
||||||
|
MSC4354 and all clients on v0.17.0 or later. The local membership requests its
|
||||||
|
token from the Matrix 2.0 JWT endpoint of the
|
||||||
|
[MatrixRTC Authorization Service](https://github.com/element-hq/lk-jwt-service)
|
||||||
|
and identifies the room by a hashed identity instead of the Matrix `room_id`.
|
||||||
|
(Remote memberships always try the new endpoint first and fall back to the
|
||||||
|
legacy one, so remote participants can be on either.)
|
||||||
|
|
||||||
|
## Selecting a mode
|
||||||
|
|
||||||
|
Users can choose a mode under **Settings → Developer → MatrixRTC mode**. The
|
||||||
|
Matrix 2.0 option is disabled if the homeserver does not support sticky events.
|
||||||
|
|
||||||
|
A deployment can pin the mode for all its clients in `config.json`, which
|
||||||
|
disables the Developer Settings choice:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"matrix_rtc_mode": "compatibility"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Valid values are `compatibility` and `matrix_2_0`; an invalid value is
|
||||||
|
ignored (with a warning) and the user's choice applies. Pinning `matrix_2_0` on a
|
||||||
|
homeserver without sticky event support makes joining fail with a "sticky events
|
||||||
|
required" error.
|
||||||
+28
-49
@@ -16,7 +16,7 @@
|
|||||||
The following [MSCs](https://github.com/matrix-org/matrix-spec-proposals) are
|
The following [MSCs](https://github.com/matrix-org/matrix-spec-proposals) are
|
||||||
required for Element Call to work properly:
|
required for Element Call to work properly:
|
||||||
|
|
||||||
- **[MSC3266](https://github.com/deepbluev7/matrix-doc/blob/room-summaries/proposals/3266-room-summary.md):
|
- **[MSC3266](https://github.com/deepbluev7/matrix-doc/blob/room-summaries/proposals/3266-room-summary.md)
|
||||||
Room Summary API**: In Standalone mode Element Call is able to join rooms
|
Room Summary API**: In Standalone mode Element Call is able to join rooms
|
||||||
over federation using knocking. In this context MSC3266 is required as it
|
over federation using knocking. In this context MSC3266 is required as it
|
||||||
allows to request a room summary of rooms you are not joined. The summary
|
allows to request a room summary of rooms you are not joined. The summary
|
||||||
@@ -29,19 +29,26 @@ required for Element Call to work properly:
|
|||||||
signalling. If disabled it is very likely that you end up with stuck calls in
|
signalling. If disabled it is very likely that you end up with stuck calls in
|
||||||
Matrix rooms.
|
Matrix rooms.
|
||||||
|
|
||||||
|
- **[MSC4519](https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/voip-transports-registry/proposals/4519-rtc-transports-registry.md)
|
||||||
|
MatrixRTC Transports Registry**: Defines an endpoint that clients can use to
|
||||||
|
query the available MatrixRTC transports (i.e. find your LiveKit SFU).
|
||||||
|
|
||||||
- **[MSC4222](https://github.com/matrix-org/matrix-spec-proposals/blob/erikj/sync_v2_state_after/proposals/4222-sync-v2-state-after.md)
|
- **[MSC4222](https://github.com/matrix-org/matrix-spec-proposals/blob/erikj/sync_v2_state_after/proposals/4222-sync-v2-state-after.md)
|
||||||
Adding `state_after` to sync v2**: Allow clients to opt-in to a change of the
|
Adding `state_after` to sync v2**: Allow clients to opt-in to a change of the
|
||||||
sync v2 API that allows them to correctly track the state of the room. This is
|
sync v2 API that allows them to correctly track the state of the room. This is
|
||||||
required by Element Call to track room state reliably.
|
required by Element Call to track room state reliably.
|
||||||
|
|
||||||
If you're using [Synapse](https://github.com/element-hq/synapse/) as your
|
If you're using [Synapse](https://github.com/element-hq/synapse/) as your
|
||||||
homeserver, you'll need to additionally add the following config items to
|
homeserver, you can configure these features by adding the following entries to
|
||||||
`homeserver.yaml` to comply with Element Call:
|
`homeserver.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
experimental_features:
|
experimental_features:
|
||||||
# MSC3266: Room summary API. Used for knocking over federation
|
# MSC3266: Room summary API. Used for knocking over federation
|
||||||
msc3266_enabled: true
|
msc3266_enabled: true
|
||||||
|
# MSC4143: MatrixRTC. For historical reasons this flag enables the transports
|
||||||
|
# endpoint defined in MSC4519.
|
||||||
|
msc4143_enabled: true
|
||||||
# MSC4222 needed for syncv2 state_after. This allow clients to
|
# MSC4222 needed for syncv2 state_after. This allow clients to
|
||||||
# correctly track the state of the room.
|
# correctly track the state of the room.
|
||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
@@ -61,6 +68,15 @@ rc_delayed_event_mgmt:
|
|||||||
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2Hz
|
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2Hz
|
||||||
per_second: 1
|
per_second: 1
|
||||||
burst_count: 20
|
burst_count: 20
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
# The transport you specify will be made available to clients over the
|
||||||
|
# /_matrix/client/unstable/org.matrix.msc4143/rtc/transports endpoint as
|
||||||
|
# defined in MSC4519.
|
||||||
|
- type: livekit
|
||||||
|
# Replace this with the actual URL of your MatrixRTC Authorization Service
|
||||||
|
livekit_service_url: https://matrix-rtc.example.com/livekit/jwt
|
||||||
```
|
```
|
||||||
|
|
||||||
As a prerequisite for the
|
As a prerequisite for the
|
||||||
@@ -68,10 +84,10 @@ As a prerequisite for the
|
|||||||
make sure that your Synapse server has either a `federation` or `openid`
|
make sure that your Synapse server has either a `federation` or `openid`
|
||||||
[listener configured](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#listeners).
|
[listener configured](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#listeners).
|
||||||
|
|
||||||
### MatrixRTC Backend
|
### LiveKit backend
|
||||||
|
|
||||||
In order to **guarantee smooth operation** of Element Call, a MatrixRTC backend is
|
In order to **guarantee smooth operation** of Element Call, a dedicated LiveKit
|
||||||
required for each site deployment.
|
backend is required for each site deployment.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -86,10 +102,11 @@ to implement
|
|||||||
In the context of MatrixRTC, we suggest using a single hostname for backend
|
In the context of MatrixRTC, we suggest using a single hostname for backend
|
||||||
communication by implementing endpoint routing within a reverse proxy setup. For
|
communication by implementing endpoint routing within a reverse proxy setup. For
|
||||||
the example above, this results in:
|
the example above, this results in:
|
||||||
| Service | Endpoint | Example |
|
|
||||||
| -------- | ------- | ------- |
|
| Service | Endpoint | Example |
|
||||||
|
| --------------------------------------------------------------------------------- | -------------- | ------------------------------------ |
|
||||||
| [Livekit SFU](https://github.com/livekit/livekit) WebSocket signalling connection | `/livekit/sfu` | `matrix-rtc.example.com/livekit/sfu` |
|
| [Livekit SFU](https://github.com/livekit/livekit) WebSocket signalling connection | `/livekit/sfu` | `matrix-rtc.example.com/livekit/sfu` |
|
||||||
| [MatrixRTC Authorization Service](https://github.com/element-hq/lk-jwt-service) | `/livekit/jwt` | `matrix-rtc.example.com/livekit/jwt` |
|
| [MatrixRTC Authorization Service](https://github.com/element-hq/lk-jwt-service) | `/livekit/jwt` | `matrix-rtc.example.com/livekit/jwt` |
|
||||||
|
|
||||||
Using Nginx, you can achieve this by:
|
Using Nginx, you can achieve this by:
|
||||||
|
|
||||||
@@ -164,7 +181,7 @@ Using Haproxy, you can achieve this by:
|
|||||||
use_backend mxrtc_auth_backend if is_mxrtc_auth matrixrtc_domain
|
use_backend mxrtc_auth_backend if is_mxrtc_auth matrixrtc_domain
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
## MatrixRTC backend
|
## LiveKit backend
|
||||||
backend sfu_backend
|
backend sfu_backend
|
||||||
server livekit 127.0.0.1:7880
|
server livekit 127.0.0.1:7880
|
||||||
http-request set-path %[path,regsub(^/livekit/sfu/,/)]
|
http-request set-path %[path,regsub(^/livekit/sfu/,/)]
|
||||||
@@ -186,44 +203,6 @@ backend mxrtc_auth_backend
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### MatrixRTC backend announcement
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> As defined in
|
|
||||||
> [MSC4143](https://github.com/matrix-org/matrix-spec-proposals/pull/4143),
|
|
||||||
> the MatrixRTC backend(s) must be announced to the client via your **Matrix site's
|
|
||||||
> `.well-known/matrix/client`** file (e.g.
|
|
||||||
> `example.com/.well-known/matrix/client` matching the site deployment example
|
|
||||||
> from above). The configuration is a list of Foci configs:
|
|
||||||
|
|
||||||
```json
|
|
||||||
"org.matrix.msc4143.rtc_foci": [
|
|
||||||
{
|
|
||||||
"type": "livekit",
|
|
||||||
"livekit_service_url": "https://matrix-rtc.example.com/livekit/jwt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "livekit",
|
|
||||||
"livekit_service_url": "https://matrix-rtc-2.example.com/livekit/jwt"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
```
|
|
||||||
|
|
||||||
Make sure this file is served with the correct MIME type (`application/json`).
|
|
||||||
Additionally, ensure the appropriate CORS headers are set to allow web clients
|
|
||||||
to access it across origins. For more details, refer to the
|
|
||||||
[Matrix Client-Server API: 2. Web Browser Clients](https://spec.matrix.org/latest/client-server-api/#web-browser-clients).
|
|
||||||
|
|
||||||
```
|
|
||||||
Access-Control-Allow-Origin: *
|
|
||||||
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
|
|
||||||
Access-Control-Allow-Headers: X-Requested-With, Content-Type, Authorization
|
|
||||||
```
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> Most `org.matrix.msc4143.rtc_foci` configurations will only have one entry in
|
|
||||||
> the array.
|
|
||||||
|
|
||||||
## Building Element Call
|
## Building Element Call
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
@@ -277,7 +256,7 @@ runtime. Documentation and default values for `public/config.json` can be found
|
|||||||
in [ConfigOptions.ts](../src/config/ConfigOptions.ts).
|
in [ConfigOptions.ts](../src/config/ConfigOptions.ts).
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> Please note configuring MatrixRTC backend via `config.json` of
|
> Please note configuring LiveKit backend via `config.json` of
|
||||||
> Element Call is only available for developing and debug purposes. Relying on
|
> Element Call is only available for developing and debug purposes. Relying on
|
||||||
> it might break Element Call going forward!
|
> it might break Element Call going forward!
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -67,9 +67,10 @@ These parameters are relevant to both [widget](./embedded_standalone.md) and [st
|
|||||||
| `showControls` | `true` or `false` | No, defaults to `true` | No, defaults to `true` | Displays controls like mute, screen-share, invite, and hangup buttons during a call. |
|
| `showControls` | `true` or `false` | No, defaults to `true` | No, defaults to `true` | Displays controls like mute, screen-share, invite, and hangup buttons during a call. |
|
||||||
| `skipLobby` (deprecated: use `intent` instead) | `true` or `false` | No. If `intent` is explicitly `start_call` then defaults to `true`. Otherwise defaults to `false` | No, defaults to `false` | Skips the lobby to join a call directly, can be combined with preload in widget. When `true` the audio and video inputs will be muted by default. (This means there currently is no way to start without muted video if one wants to skip the lobby. Also not in widget mode.) |
|
| `skipLobby` (deprecated: use `intent` instead) | `true` or `false` | No. If `intent` is explicitly `start_call` then defaults to `true`. Otherwise defaults to `false` | No, defaults to `false` | Skips the lobby to join a call directly, can be combined with preload in widget. When `true` the audio and video inputs will be muted by default. (This means there currently is no way to start without muted video if one wants to skip the lobby. Also not in widget mode.) |
|
||||||
| `theme` | One of: `light`, `dark`, `light-high-contrast`, `dark-high-contrast` | No, defaults to `dark` | No, defaults to `dark` | UI theme to use. |
|
| `theme` | One of: `light`, `dark`, `light-high-contrast`, `dark-high-contrast` | No, defaults to `dark` | No, defaults to `dark` | UI theme to use. |
|
||||||
|
| `background` | One of: `solid`, `gradient` | No, defaults to `gradient` | No, defaults to `gradient` | Visual style of the page background. |
|
||||||
| `viaServers` | Comma separated list of [Matrix Server Names](https://spec.matrix.org/v1.12/appendices/#server-name) | Not applicable | No | Homeserver for joining a room, non-empty value required for rooms not on the user’s default homeserver. |
|
| `viaServers` | Comma separated list of [Matrix Server Names](https://spec.matrix.org/v1.12/appendices/#server-name) | Not applicable | No | Homeserver for joining a room, non-empty value required for rooms not on the user’s default homeserver. |
|
||||||
| `sendNotificationType` | `ring` or `notification` | No | No | Will send a "ring" or "notification" `m.rtc.notification` event if the user is the first one in the call. |
|
| `sendNotificationType` | `ring` or `notification` | No | No | Will send a "ring" or "notification" `m.rtc.notification` event if the user is the first one in the call. |
|
||||||
| `autoLeaveWhenOthersLeft` | `true` or `false` | No, defaults to `false` | No, defaults to `false` | Whether the app should automatically leave the call when there is no one left in the call. |
|
| `autoLeave` | `true` or `false` | No, defaults to `false` | No, defaults to `false` | Whether the app should automatically leave the call when there is no one left in the call. |
|
||||||
| `waitForCallPickup` | `true` or `false` | No, defaults to `false` | No, defaults to `false` | When sending a notification, show UI that the app is awaiting an answer, play a dial tone, and (in widget mode) auto-close the widget once the notification expires. |
|
| `waitForCallPickup` | `true` or `false` | No, defaults to `false` | No, defaults to `false` | When sending a notification, show UI that the app is awaiting an answer, play a dial tone, and (in widget mode) auto-close the widget once the notification expires. |
|
||||||
|
|
||||||
### Widget-only parameters
|
### Widget-only parameters
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref
|
|||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android_library = { id = "com.android.library", version.ref = "android_gradle_plugin" }
|
android_library = { id = "com.android.library", version.ref = "android_gradle_plugin" }
|
||||||
maven_publish = { id = "com.vanniktech.maven.publish", version = "0.36.0" }
|
maven_publish = { id = "com.vanniktech.maven.publish", version = "0.36.0" }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-all.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
||||||
|
|
||||||
|
const rule = ESLintUtils.RuleCreator(
|
||||||
|
() => "https://github.com/element-hq/element-call",
|
||||||
|
)({
|
||||||
|
name: "copyright-header",
|
||||||
|
meta: {
|
||||||
|
type: "problem",
|
||||||
|
fixable: "code",
|
||||||
|
docs: {
|
||||||
|
description: "Require a copyright header in files.",
|
||||||
|
},
|
||||||
|
messages: {
|
||||||
|
noHeader: "Copyright header is required.",
|
||||||
|
},
|
||||||
|
schema: [{ type: "string" }],
|
||||||
|
},
|
||||||
|
create(context) {
|
||||||
|
const code = context.getSourceCode();
|
||||||
|
|
||||||
|
return {
|
||||||
|
Program(node) {
|
||||||
|
const firstToken = code.getFirstToken(node, { includeComments: false });
|
||||||
|
|
||||||
|
if (!firstToken) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const headComments = code.getCommentsBefore(firstToken);
|
||||||
|
const hasSomeCopyrightHeader = headComments?.some((comment) =>
|
||||||
|
comment?.value?.includes("Copyright"),
|
||||||
|
);
|
||||||
|
if (hasSomeCopyrightHeader) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const headerTemplate = context.options[0];
|
||||||
|
const fix = headerTemplate
|
||||||
|
? function (fixer) {
|
||||||
|
return fixer.insertTextBefore(
|
||||||
|
firstToken,
|
||||||
|
headerTemplate.replace(
|
||||||
|
/%%CURRENT_YEAR%%/g,
|
||||||
|
new Date().getFullYear(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
: undefined;
|
||||||
|
|
||||||
|
context.report({
|
||||||
|
messageId: "noHeader",
|
||||||
|
node,
|
||||||
|
fix,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
export default rule;
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
||||||
|
|
||||||
|
// These ObservableScope methods will not generally cause resource leaks even if
|
||||||
|
// called from a callback
|
||||||
|
const safeScopeMethods = new Set(["bind", "end"]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determines whether the variable with the given name is local to
|
||||||
|
* the enclosing function or class scope.
|
||||||
|
*/
|
||||||
|
function isLocal(name, scope) {
|
||||||
|
// If it is nowhere to be found in the "through" scope, it is local.
|
||||||
|
if (!scope.through.some(({ identifier }) => identifier.name === name))
|
||||||
|
return true;
|
||||||
|
if (scope.type === "function" || scope.type === "class") return false;
|
||||||
|
// If this is something other than a function or class scope, check its outer
|
||||||
|
// scope.
|
||||||
|
return !scope.upper || isLocal(name, scope.upper);
|
||||||
|
}
|
||||||
|
|
||||||
|
const rule = ESLintUtils.RuleCreator(
|
||||||
|
() => "https://github.com/element-hq/element-call",
|
||||||
|
)({
|
||||||
|
name: "no-observablescope-leak",
|
||||||
|
meta: {
|
||||||
|
type: "problem",
|
||||||
|
docs: {
|
||||||
|
description:
|
||||||
|
"Require referenced ObservableScopes to be defined in the very same scope to avoid resource leaks.",
|
||||||
|
},
|
||||||
|
messages: {
|
||||||
|
scopeLeak:
|
||||||
|
"Do not reference ObservableScopes defined in an outer scope; this may create resource leaks.",
|
||||||
|
},
|
||||||
|
schema: [],
|
||||||
|
},
|
||||||
|
create(context) {
|
||||||
|
return {
|
||||||
|
Identifier(node) {
|
||||||
|
const scope = context.sourceCode.getScope(node);
|
||||||
|
if (
|
||||||
|
// Is this a reference to a variable defined in an outer scope?
|
||||||
|
!isLocal(node.name, scope) &&
|
||||||
|
// Exclude calls to "safe" ObservableScope methods
|
||||||
|
node.parent?.type === "MemberExpression" &&
|
||||||
|
node.parent.object === node &&
|
||||||
|
node.parent.property.type === "Identifier" &&
|
||||||
|
!safeScopeMethods.has(node.parent.property.name) &&
|
||||||
|
/(^s|S)cope$/.test(node.name)
|
||||||
|
) {
|
||||||
|
// TODO: Once oxlint supports lint rules that rely on TypeScript type-awareness,
|
||||||
|
// Verify that the variable is actually of type ObservableScope rather than just
|
||||||
|
// checking its name. This is expensive so we should do this last.
|
||||||
|
//
|
||||||
|
// const services = ESLintUtils.getParserServices(context);
|
||||||
|
// const type = services.getTypeAtLocation(node);
|
||||||
|
// if (type.symbol?.name === "ObservableScope") { ... }
|
||||||
|
|
||||||
|
// This ObservableScope method call may be causing resource leaks.
|
||||||
|
context.report({
|
||||||
|
messageId: "scopeLeak",
|
||||||
|
loc: node.loc,
|
||||||
|
node,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
export default rule;
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2026 Element Creations Ltd.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
Please see LICENSE in the repository root for full details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Node types that introduce a new non-module scope. A getChild() call nested
|
||||||
|
* inside any of these is considered "not at the top level".
|
||||||
|
*/
|
||||||
|
const FUNCTION_OR_CLASS_TYPES = new Set([
|
||||||
|
"FunctionDeclaration",
|
||||||
|
"FunctionExpression",
|
||||||
|
"ArrowFunctionExpression",
|
||||||
|
"ClassBody",
|
||||||
|
]);
|
||||||
|
|
||||||
|
const rule = ESLintUtils.RuleCreator(
|
||||||
|
() => "https://github.com/element-hq/element-call",
|
||||||
|
)({
|
||||||
|
name: "no-top-level-logger-get-child",
|
||||||
|
meta: {
|
||||||
|
type: "problem",
|
||||||
|
docs: {
|
||||||
|
description:
|
||||||
|
"Disallow calling logger.getChild() at the top level of a module." +
|
||||||
|
"`getChild` has to be called after the rageshake logger `init()`." +
|
||||||
|
"If it is called at the top level the child logger will never be setup for rageshakes.",
|
||||||
|
},
|
||||||
|
messages: {
|
||||||
|
noTopLevelGetChild:
|
||||||
|
"Do not call logger.getChild() at the top level of a module; move it inside a function or class instead that gets called after rageshake logger `init()` is called.",
|
||||||
|
},
|
||||||
|
schema: [],
|
||||||
|
},
|
||||||
|
create(context) {
|
||||||
|
// Tracks the local binding names that refer to the logger imported from
|
||||||
|
// 'matrix-js-sdk/lib/logger', e.g. both `logger` and `rootLogger` in:
|
||||||
|
// import { logger } from "matrix-js-sdk/lib/logger";
|
||||||
|
// import { logger as rootLogger } from "matrix-js-sdk/lib/logger";
|
||||||
|
const loggerNames = new Set();
|
||||||
|
|
||||||
|
return {
|
||||||
|
ImportDeclaration(node) {
|
||||||
|
if (node.source.value !== "matrix-js-sdk/lib/logger") return;
|
||||||
|
for (const specifier of node.specifiers) {
|
||||||
|
if (
|
||||||
|
specifier.type === "ImportSpecifier" &&
|
||||||
|
specifier.imported.name === "logger"
|
||||||
|
) {
|
||||||
|
loggerNames.add(specifier.local.name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
CallExpression(node) {
|
||||||
|
// Must be a non-computed member expression call: something.getChild(...)
|
||||||
|
if (
|
||||||
|
node.callee.type !== "MemberExpression" ||
|
||||||
|
node.callee.computed ||
|
||||||
|
node.callee.property.type !== "Identifier" ||
|
||||||
|
node.callee.property.name !== "getChild"
|
||||||
|
)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// The receiver must be one of the tracked logger names.
|
||||||
|
const object = node.callee.object;
|
||||||
|
if (object.type !== "Identifier" || !loggerNames.has(object.name))
|
||||||
|
return;
|
||||||
|
|
||||||
|
// Flag the call only when it is at module top level — i.e. there is no
|
||||||
|
// enclosing function or class body anywhere in the ancestor chain.
|
||||||
|
const ancestors = context.sourceCode.getAncestors(node);
|
||||||
|
const isTopLevel = !ancestors.some((a) =>
|
||||||
|
FUNCTION_OR_CLASS_TYPES.has(a.type),
|
||||||
|
);
|
||||||
|
|
||||||
|
if (isTopLevel) {
|
||||||
|
context.report({
|
||||||
|
messageId: "noTopLevelGetChild",
|
||||||
|
node,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
export default rule;
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
module.exports = {
|
||||||
|
rules: {
|
||||||
|
"copyright-header": require("./CopyrightHeader").default,
|
||||||
|
"no-observablescope-leak": require("./NoObservableScopeLeak").default,
|
||||||
|
"no-top-level-logger-get-child": require("./NoTopLevelLoggerGetChild")
|
||||||
|
.default,
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "eslint-plugin-element-call",
|
||||||
|
"version": "0.0.0"
|
||||||
|
}
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
import type { UserConfig } from "i18next-parser";
|
|
||||||
|
|
||||||
const config: UserConfig = {
|
|
||||||
keySeparator: ".",
|
|
||||||
namespaceSeparator: false,
|
|
||||||
contextSeparator: "|",
|
|
||||||
pluralSeparator: "_",
|
|
||||||
createOldCatalogs: false,
|
|
||||||
defaultNamespace: "app",
|
|
||||||
lexers: {
|
|
||||||
ts: [
|
|
||||||
{
|
|
||||||
lexer: "JavascriptLexer",
|
|
||||||
functions: ["t", "translatedError"],
|
|
||||||
namespaceFunctions: ["useTranslation", "withTranslation"],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
tsx: [
|
|
||||||
{
|
|
||||||
lexer: "JsxLexer",
|
|
||||||
functions: ["t", "translatedError"],
|
|
||||||
namespaceFunctions: ["useTranslation", "withTranslation"],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
locales: ["en"],
|
|
||||||
output: "locales/$LOCALE/$NAMESPACE.json",
|
|
||||||
input: ["src/**/*.{ts,tsx}"],
|
|
||||||
sort: true,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default config;
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import { defineConfig } from "i18next-cli";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
locales: ["en"],
|
||||||
|
extract: {
|
||||||
|
input: ["src/**/*.{ts,tsx}"],
|
||||||
|
output: "locales/{{language}}/{{namespace}}.json",
|
||||||
|
defaultNS: "app",
|
||||||
|
keySeparator: ".",
|
||||||
|
nsSeparator: false,
|
||||||
|
contextSeparator: "|",
|
||||||
|
extractFromComments: false,
|
||||||
|
functions: ["t", "*.t", "translatedError", "i18nKey"],
|
||||||
|
transComponents: ["Trans"],
|
||||||
|
},
|
||||||
|
types: {
|
||||||
|
input: ["locales/{{language}}/{{namespace}}.json"],
|
||||||
|
output: "src/types/i18next.d.ts",
|
||||||
|
},
|
||||||
|
});
|
||||||
+13
@@ -16,6 +16,19 @@
|
|||||||
<script>
|
<script>
|
||||||
window.global = window;
|
window.global = window;
|
||||||
</script>
|
</script>
|
||||||
|
<!-- Polyfill for Chrome < 119 (Huawei WebView, etc.) -->
|
||||||
|
<script>
|
||||||
|
if (!Promise.withResolvers) {
|
||||||
|
Promise.withResolvers = function () {
|
||||||
|
var resolve, reject;
|
||||||
|
var promise = new Promise(function (a, b) {
|
||||||
|
resolve = a;
|
||||||
|
reject = b;
|
||||||
|
});
|
||||||
|
return { promise: promise, resolve: resolve, reject: reject };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<% if (packageType === "full") { %>
|
<% if (packageType === "full") { %>
|
||||||
<!-- Open graph meta tags -->
|
<!-- Open graph meta tags -->
|
||||||
|
|||||||
@@ -9,33 +9,43 @@ import { type KnipConfig } from "knip";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
vite: {
|
vite: {
|
||||||
config: ["vite.config.ts", "vite-embedded.config.ts", "vite-sdk.config.ts"],
|
config: [
|
||||||
|
"vite.config.ts",
|
||||||
|
"vite-embedded.config.ts",
|
||||||
|
"vite-sdk.config.ts",
|
||||||
|
"vite-component.config.ts",
|
||||||
|
"vite-component-dev.config.ts",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
entry: ["src/main.tsx", "i18next-parser.config.ts"],
|
entry: ["src/main.tsx", "eslint/index.js", "i18next.config.ts"],
|
||||||
ignoreBinaries: [
|
ignoreBinaries: [
|
||||||
// This is deprecated, so Knip doesn't actually recognize it as a globally
|
// This is deprecated, so Knip doesn't actually recognize it as a globally
|
||||||
// installed binary. TODO We should switch to Compose v2:
|
// installed binary. TODO We should switch to Compose v2:
|
||||||
// https://docs.docker.com/compose/migrate/
|
// https://docs.docker.com/compose/migrate/
|
||||||
"docker-compose",
|
"docker-compose",
|
||||||
|
// This is a shell built-in.
|
||||||
|
"printf",
|
||||||
|
],
|
||||||
|
ignoreFiles: [
|
||||||
|
"scripts/.pnpmfile.cjs",
|
||||||
|
// Deliberately added prior to any component or business logic
|
||||||
|
// implementation
|
||||||
|
"src/state/ServiceInterruptionsViewModel.ts",
|
||||||
],
|
],
|
||||||
ignoreFiles: ["scripts/.pnpmfile.cjs"],
|
|
||||||
ignoreDependencies: [
|
ignoreDependencies: [
|
||||||
// Used in CSS
|
// Used in CSS
|
||||||
"normalize.css",
|
"normalize.css",
|
||||||
// Used for its global type declarations
|
// Used for its global type declarations
|
||||||
"@types/grecaptcha",
|
"@types/grecaptcha",
|
||||||
// Because we use matrix-js-sdk as a Git dependency rather than consuming
|
|
||||||
// the proper release artifacts, and also import directly from src/, we're
|
|
||||||
// forced to re-install some of the types that it depends on even though
|
|
||||||
// these look unused to Knip
|
|
||||||
"@types/content-type",
|
|
||||||
"@types/sdp-transform",
|
"@types/sdp-transform",
|
||||||
"@types/uuid",
|
|
||||||
// We obviously use this, but if the package has been linked with pnpm link,
|
// We obviously use this, but if the package has been linked with pnpm link,
|
||||||
// then Knip will flag it as a false positive
|
// then Knip will flag it as a false positive
|
||||||
// https://github.com/webpro-nl/knip/issues/766
|
// https://github.com/webpro-nl/knip/issues/766
|
||||||
"@vector-im/compound-web",
|
"@vector-im/compound-web",
|
||||||
"matrix-widget-api",
|
"matrix-widget-api",
|
||||||
|
// Used by oxlint
|
||||||
|
"eslint-plugin-element-call",
|
||||||
|
"eslint-plugin-storybook",
|
||||||
],
|
],
|
||||||
ignoreExportsUsedInFile: true,
|
ignoreExportsUsedInFile: true,
|
||||||
} satisfies KnipConfig;
|
} satisfies KnipConfig;
|
||||||
|
|||||||
+9
-2
@@ -11,22 +11,29 @@
|
|||||||
"register": "Регистрация",
|
"register": "Регистрация",
|
||||||
"remove": "Премахни",
|
"remove": "Премахни",
|
||||||
"sign_in": "Влез",
|
"sign_in": "Влез",
|
||||||
"sign_out": "Излез"
|
"sign_out": "Излез",
|
||||||
|
"submit": "Израти"
|
||||||
},
|
},
|
||||||
|
"analytics_notice": "Когато участвате в тази бета, вие съгласявате се с събирането на анонимни данни, които използваме, за да подобрим продукта. Повечето информация за данните, които следим, можете да намерите в нашата <2>Политика за поверителност</2> и нашата <6>Политика за бисквитки</6>.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
"create_account_button": "Създай акаунт",
|
"create_account_button": "Създай акаунт",
|
||||||
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
|
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
|
||||||
"not_now_button": "Не сега, върни се на началния екран"
|
"feedback_done": "<0>Благодаря за обратната връзка!</0>",
|
||||||
|
"headline": "{{displayName}}, разговорът Ви приключи.",
|
||||||
|
"not_now_button": "Не сега, върни се на началния екран",
|
||||||
|
"survey_prompt": "Как мина?"
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"audio": "Звук",
|
"audio": "Звук",
|
||||||
"avatar": "Аватар",
|
"avatar": "Аватар",
|
||||||
"display_name": "Име/псевдоним",
|
"display_name": "Име/псевдоним",
|
||||||
|
"encrypted": "Шифровано",
|
||||||
"home": "Начало",
|
"home": "Начало",
|
||||||
"loading": "Зареждане…",
|
"loading": "Зареждане…",
|
||||||
"password": "Парола",
|
"password": "Парола",
|
||||||
"profile": "Профил",
|
"profile": "Профил",
|
||||||
"settings": "Настройки",
|
"settings": "Настройки",
|
||||||
|
"unencrypted": "Нешифровано",
|
||||||
"username": "Потребителско име",
|
"username": "Потребителско име",
|
||||||
"video": "Видео"
|
"video": "Видео"
|
||||||
},
|
},
|
||||||
|
|||||||
+36
-6
@@ -49,6 +49,7 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reakce",
|
"reaction": "Reakce",
|
||||||
"reactions": "Reakce",
|
"reactions": "Reakce",
|
||||||
|
"reconnecting": "Opětovné spojení...",
|
||||||
"settings": "Nastavení",
|
"settings": "Nastavení",
|
||||||
"unencrypted": "Nešifrováno",
|
"unencrypted": "Nešifrováno",
|
||||||
"username": "Uživatelské jméno",
|
"username": "Uživatelské jméno",
|
||||||
@@ -57,6 +58,14 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "Zobrazit možnost sluchátek pro iPhone na všech platformách",
|
"always_show_iphone_earpiece": "Zobrazit možnost sluchátek pro iPhone na všech platformách",
|
||||||
"crypto_version": "Kryptografická verze: {{version}}",
|
"crypto_version": "Kryptografická verze: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Aktuálně nastaveno na: ",
|
||||||
|
"from_config": "Aktuálně není nastaveno žádné přepsání. Používá se URL z well-known nebo konfigurace.",
|
||||||
|
"label": "Vlastní Livekit-url",
|
||||||
|
"reset": "Resetovat přepsání",
|
||||||
|
"save": "Uložit",
|
||||||
|
"saving": "Ukládání..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Ladění rozložení dlaždic",
|
"debug_tile_layout_label": "Ladění rozložení dlaždic",
|
||||||
"device_id": "ID zařízení: {{id}}",
|
"device_id": "ID zařízení: {{id}}",
|
||||||
"duplicate_tiles_label": "Počet dalších kopií dlaždic na účastníka",
|
"duplicate_tiles_label": "Počet dalších kopií dlaždic na účastníka",
|
||||||
@@ -64,13 +73,25 @@
|
|||||||
"hostname": "Název hostitele: {{hostname}}",
|
"hostname": "Název hostitele: {{hostname}}",
|
||||||
"livekit_server_info": "Informace o serveru LiveKit",
|
"livekit_server_info": "Informace o serveru LiveKit",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Kompatibilní s domovskými servery, které nepodporují přilnavé události (ale všechny ostatní EC klienti jsou v0.17.0 nebo novější)",
|
||||||
|
"label": "Kompatibilita: stavové události a více SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Kompatibilní se starými verzemi EC, které nepodporují multi SFU",
|
||||||
|
"label": "Zastaralé: stavové události a nejstarší členské SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Kompatibilní pouze s domovskými servery podporujícími přilnavé události a všemi klienty EC v0.17.0 nebo novějšími.",
|
||||||
|
"label": "Matrix 2.0: přilnavé události a multi SFU"
|
||||||
|
},
|
||||||
|
"title": "Režim MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
"mute_all_audio": "Ztlumit všechny zvuky (účastníci, reakce, zvuky připojení)",
|
"mute_all_audio": "Ztlumit všechny zvuky (účastníci, reakce, zvuky připojení)",
|
||||||
"show_connection_stats": "Zobrazit statistiky připojení",
|
"show_connection_stats": "Zobrazit statistiky připojení",
|
||||||
"show_non_member_tiles": "Zobrazit dlaždice pro nečlenská média",
|
"url_params": "Parametry URL"
|
||||||
"url_params": "Parametry URL",
|
|
||||||
"use_new_membership_manager": "Použijte novou implementaci volání MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Použít přenos klíčů do zařízení. Tím se vrátíte k přenosu klíčů do místnosti, když jiný účastník hovoru pošle klíč místnosti"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Připojení k serveru bylo ztraceno.",
|
"disconnected_banner": "Připojení k serveru bylo ztraceno.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -81,13 +102,19 @@
|
|||||||
"connection_lost_description": "Hovor byl přerušen.",
|
"connection_lost_description": "Hovor byl přerušen.",
|
||||||
"e2ee_unsupported": "Nekompatibilní prohlížeč",
|
"e2ee_unsupported": "Nekompatibilní prohlížeč",
|
||||||
"e2ee_unsupported_description": "Váš webový prohlížeč nepodporuje šifrované hovory. Mezi podporované prohlížeče patří Chrome, Safari a Firefox 117+.",
|
"e2ee_unsupported_description": "Váš webový prohlížeč nepodporuje šifrované hovory. Mezi podporované prohlížeče patří Chrome, Safari a Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Nepodařilo se navázat připojení k Livekitu",
|
||||||
"generic": "Něco se pokazilo.",
|
"generic": "Něco se pokazilo.",
|
||||||
"generic_description": "Odeslání protokolů ladění nám pomůže vystopovat problém.",
|
"generic_description": "Odeslání protokolů ladění nám pomůže vystopovat problém.",
|
||||||
"insufficient_capacity": "Nedostatečná kapacita",
|
"insufficient_capacity": "Nedostatečná kapacita",
|
||||||
"insufficient_capacity_description": "Server dosáhl své maximální kapacity a v tuto chvíli se nemůžete připojit k hovoru. Zkuste to později nebo se obraťte na správce serveru, pokud problém přetrvává.",
|
"insufficient_capacity_description": "Server dosáhl své maximální kapacity a v tuto chvíli se nemůžete připojit k hovoru. Zkuste to později nebo se obraťte na správce serveru, pokud problém přetrvává.",
|
||||||
"matrix_rtc_focus_missing": "Server není nakonfigurován pro práci s {{brand}}. Obraťte se na správce serveru (Doména: {{domain}}, Kód chyby: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Server není nakonfigurován pro práci s {{brand}}. Obraťte se na správce serveru (Doména: {{domain}}, Kód chyby: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Chyba Správce členství",
|
||||||
|
"membership_manager_description": "Správce členství musel být ukončen. To je způsobeno mnoha po sobě jdoucími neúspěšnými síťovými požadavky.",
|
||||||
|
"no_matrix_2_authorization_service": "Autorizační služba vašeho mediálního serveru (SFU) je zastaralá.",
|
||||||
"open_elsewhere": "Otevřeno na jiné kartě",
|
"open_elsewhere": "Otevřeno na jiné kartě",
|
||||||
"open_elsewhere_description": "{{brand}} byl otevřen v jiné záložce. Pokud to nezní správně, zkuste stránku znovu načíst.",
|
"open_elsewhere_description": "{{brand}} byl otevřen v jiné záložce. Pokud to nezní správně, zkuste stránku znovu načíst.",
|
||||||
|
"room_creation_restricted": "Nepodařilo se vytvořit hovor",
|
||||||
|
"room_creation_restricted_description": "Vytváření hovorů může být omezeno pouze na oprávněné uživatele. Zkuste to znovu později nebo se obraťte na správce serveru, pokud problém přetrvává.",
|
||||||
"unexpected_ec_error": "Došlo k neočekávané chybě (<0>Error Code:</0> <1>{{ errorCode }}</1>). Obraťte se prosím na správce serveru."
|
"unexpected_ec_error": "Došlo k neočekávané chybě (<0>Error Code:</0> <1>{{ errorCode }}</1>). Obraťte se prosím na správce serveru."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -118,6 +145,7 @@
|
|||||||
},
|
},
|
||||||
"layout_grid_label": "Mřížka",
|
"layout_grid_label": "Mřížka",
|
||||||
"layout_spotlight_label": "Soustředěný mód",
|
"layout_spotlight_label": "Soustředěný mód",
|
||||||
|
"layout_switch_label": "Rozvržení",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
"ask_to_join": "Žádost o připojení k hovoru",
|
"ask_to_join": "Žádost o připojení k hovoru",
|
||||||
"join_as_guest": "Připojte se jako host",
|
"join_as_guest": "Připojte se jako host",
|
||||||
@@ -218,12 +246,14 @@
|
|||||||
"version": "{{productName}}verze: {{version}}",
|
"version": "{{productName}}verze: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Vždy zobrazit",
|
"always_show": "Vždy zobrazit",
|
||||||
|
"call_ended": "Hovor ukončen",
|
||||||
|
"calling": "Volání…",
|
||||||
"camera_starting": "Načítání videa...",
|
"camera_starting": "Načítání videa...",
|
||||||
"change_fit_contain": "Přizpůsobit rámu",
|
|
||||||
"collapse": "Sbalit",
|
"collapse": "Sbalit",
|
||||||
"expand": "Rozbalit",
|
"expand": "Rozbalit",
|
||||||
"mute_for_me": "Pro mě ztlumit",
|
"mute_for_me": "Pro mě ztlumit",
|
||||||
"muted_for_me": "Pro mě ztlumené",
|
"muted_for_me": "Pro mě ztlumené",
|
||||||
|
"screen_share_volume": "Hlasitost sdílení obrazovky",
|
||||||
"volume": "Hlasitost",
|
"volume": "Hlasitost",
|
||||||
"waiting_for_media": "Čekání na média..."
|
"waiting_for_media": "Čekání na média..."
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-6
@@ -49,6 +49,7 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reaktion",
|
"reaction": "Reaktion",
|
||||||
"reactions": "Reaktioner",
|
"reactions": "Reaktioner",
|
||||||
|
"reconnecting": "Genopretter forbindelse…",
|
||||||
"settings": "Indstillinger",
|
"settings": "Indstillinger",
|
||||||
"unencrypted": "Ikke krypteret",
|
"unencrypted": "Ikke krypteret",
|
||||||
"username": "Brugernavn",
|
"username": "Brugernavn",
|
||||||
@@ -67,10 +68,7 @@
|
|||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
"mute_all_audio": "Slå al lyd fra (deltagere, reaktioner, deltagelseslyde)",
|
"mute_all_audio": "Slå al lyd fra (deltagere, reaktioner, deltagelseslyde)",
|
||||||
"show_connection_stats": "Vis forbindelsesstatistik",
|
"show_connection_stats": "Vis forbindelsesstatistik",
|
||||||
"show_non_member_tiles": "Vis fliser for medier fra ikke-medlemmer",
|
"url_params": "URL-parametre"
|
||||||
"url_params": "URL-parametre",
|
|
||||||
"use_new_membership_manager": "Brug den nye implementering af opkaldet MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Bruges til at transportere enhedsnøgler. Dette vil falde tilbage til transport af værelsesnøgler, når et andet opkaldsmedlem sender en rumnøgle"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Forbindelsen til serveren er gået tabt.",
|
"disconnected_banner": "Forbindelsen til serveren er gået tabt.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -85,7 +83,6 @@
|
|||||||
"generic_description": "Indsendelse af fejlfindingslogfiler hjælper os med at spore problemet.",
|
"generic_description": "Indsendelse af fejlfindingslogfiler hjælper os med at spore problemet.",
|
||||||
"insufficient_capacity": "Utilstrækkelig kapacitet",
|
"insufficient_capacity": "Utilstrækkelig kapacitet",
|
||||||
"insufficient_capacity_description": "Serveren har nået sin maksimale kapacitet, og du kan ikke deltage i opkaldet på dette tidspunkt. Prøv igen senere, eller kontakt din serveradministrator, hvis problemet fortsætter.",
|
"insufficient_capacity_description": "Serveren har nået sin maksimale kapacitet, og du kan ikke deltage i opkaldet på dette tidspunkt. Prøv igen senere, eller kontakt din serveradministrator, hvis problemet fortsætter.",
|
||||||
"matrix_rtc_focus_missing": "Serveren er ikke konfigureret til at arbejde med {{brand}}{{domain}}. Kontakt venligst din serveradministrator (domæne:{{domain}}, fejlkode: {{ errorCode }}).",
|
|
||||||
"open_elsewhere": "Åbnet i en anden fane",
|
"open_elsewhere": "Åbnet i en anden fane",
|
||||||
"open_elsewhere_description": "{{brand}} er blevet åbnet i en anden fane. Hvis det ikke lyder rigtigt, kan du prøve at genindlæse siden.",
|
"open_elsewhere_description": "{{brand}} er blevet åbnet i en anden fane. Hvis det ikke lyder rigtigt, kan du prøve at genindlæse siden.",
|
||||||
"room_creation_restricted": "Kunne ikke oprette opkald",
|
"room_creation_restricted": "Kunne ikke oprette opkald",
|
||||||
@@ -219,7 +216,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Vis altid",
|
"always_show": "Vis altid",
|
||||||
"camera_starting": "Indlæser video",
|
"camera_starting": "Indlæser video",
|
||||||
"change_fit_contain": "Tilpas til rammen",
|
|
||||||
"collapse": "Fold sammen",
|
"collapse": "Fold sammen",
|
||||||
"expand": "Udvid",
|
"expand": "Udvid",
|
||||||
"mute_for_me": "Slå lyden fra for mig",
|
"mute_for_me": "Slå lyden fra for mig",
|
||||||
|
|||||||
+35
-9
@@ -58,6 +58,14 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "iPhone-Ohrhörer-Option auf allen Plattformen anzeigen",
|
"always_show_iphone_earpiece": "iPhone-Ohrhörer-Option auf allen Plattformen anzeigen",
|
||||||
"crypto_version": "Krypto-Version: {{version}}",
|
"crypto_version": "Krypto-Version: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Derzeit eingestellt auf: ",
|
||||||
|
"from_config": "Derzeit ist keine spezielle (benutzerdefinierte) URL eingestellt. Daher wird automatisch die URL verwendet, die entweder via „.well-known“ oder in der Webbrowser-Konfiguration („config“) hinterlegt ist.",
|
||||||
|
"label": "Benutzerdefinierte Livekit-URL",
|
||||||
|
"reset": "Zurücksetzen der benutzerdefinierten URL",
|
||||||
|
"save": "Speichern",
|
||||||
|
"saving": "Speichern..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Kachel-Layout debuggen",
|
"debug_tile_layout_label": "Kachel-Layout debuggen",
|
||||||
"device_id": "Geräte-ID: {{id}}",
|
"device_id": "Geräte-ID: {{id}}",
|
||||||
"duplicate_tiles_label": "Anzahl zusätzlicher Kachelkopien pro Teilnehmer",
|
"duplicate_tiles_label": "Anzahl zusätzlicher Kachelkopien pro Teilnehmer",
|
||||||
@@ -65,13 +73,25 @@
|
|||||||
"hostname": "Hostname: {{hostname}}",
|
"hostname": "Hostname: {{hostname}}",
|
||||||
"livekit_server_info": "LiveKit-Server Informationen",
|
"livekit_server_info": "LiveKit-Server Informationen",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Kompatibel mit Homeservern ohne Sticky Events Support, wobei alle beteiligten Element Call Clients v0.17.0 oder neuer sein müssen.",
|
||||||
|
"label": "Kompatibilität: State Events & Multi-SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Kompatibel mit älteren Versionen von Element Call, welche Multi-SFU nicht unterstützen",
|
||||||
|
"label": "Legacy: State Events und \"Oldest Membership\" SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Nur mit Homeservern kompatibel, die Sticky Events unterstützen, wobei alle beteiligten Element Call Clients Version v0.17.0 oder neuer sein müssen.",
|
||||||
|
"label": "Matrix 2.0: Sticky Events und Multi-SFU"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC Modus"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix-ID: {{id}}",
|
"matrix_id": "Matrix-ID: {{id}}",
|
||||||
"mute_all_audio": "Stummschalten aller Audiosignale (Teilnehmer, Reaktionen, Beitrittsgeräusche)",
|
"mute_all_audio": "Stummschalten aller Audiosignale (Teilnehmer, Reaktionen, Beitrittsgeräusche)",
|
||||||
"show_connection_stats": "Verbindungsstatistiken anzeigen",
|
"show_connection_stats": "Verbindungsstatistiken anzeigen",
|
||||||
"show_non_member_tiles": "Kacheln für Nicht-Mitgliedermedien anzeigen",
|
"url_params": "URL-Parameter"
|
||||||
"url_params": "URL-Parameter",
|
|
||||||
"use_new_membership_manager": "Neuen MembershipManager verwenden",
|
|
||||||
"use_to_device_key_transport": "To-Device media E2EE Schlüssel-Transport verwenden. Falls ein anderer Teilnehmer bereits den Raumschlüssel-Transport verwendet, wird automatisch auf Raumschlüssel-Transport zurückgegriffen."
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Die Verbindung zum Server wurde getrennt.",
|
"disconnected_banner": "Die Verbindung zum Server wurde getrennt.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -82,13 +102,17 @@
|
|||||||
"connection_lost_description": "Ihre Verbindung zum Anruf wurde unterbrochen.",
|
"connection_lost_description": "Ihre Verbindung zum Anruf wurde unterbrochen.",
|
||||||
"e2ee_unsupported": "Inkompatibler Browser",
|
"e2ee_unsupported": "Inkompatibler Browser",
|
||||||
"e2ee_unsupported_description": "Ihr Webbrowser unterstützt keine verschlüsselten Anrufe. Zu den unterstützten Browsern gehören Chrome, Safari und Firefox 117+.",
|
"e2ee_unsupported_description": "Ihr Webbrowser unterstützt keine verschlüsselten Anrufe. Zu den unterstützten Browsern gehören Chrome, Safari und Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "LiveKit-Verbindung konnte nicht hergestellt werden",
|
||||||
"generic": "Etwas ist schief gelaufen",
|
"generic": "Etwas ist schief gelaufen",
|
||||||
"generic_description": "Durch das Senden von Debugprotokollen können wir das Problem leichter eingrenzen.",
|
"generic_description": "Durch das Senden von Debugprotokollen können wir das Problem leichter eingrenzen.",
|
||||||
"insufficient_capacity": "Unzureichende Kapazität",
|
"insufficient_capacity": "Unzureichende Kapazität",
|
||||||
"insufficient_capacity_description": "Der Server hat seine maximale Kapazität erreicht, daher ist ein Beitritt zum Anruf derzeit nicht möglich. Bitte später erneut versuchen oder den Serveradministrator kontaktieren, falls das Problem weiterhin besteht.",
|
"insufficient_capacity_description": "Der Server hat seine maximale Kapazität erreicht, daher ist ein Beitritt zum Anruf derzeit nicht möglich. Bitte später erneut versuchen oder den Serveradministrator kontaktieren, falls das Problem weiterhin besteht.",
|
||||||
"matrix_rtc_focus_missing": "Der Server ist nicht für die Verwendung mit {{brand}} konfiguriert. Bitte den Serveradministrator kontaktieren (Domain: {{domain}}, Fehlercode: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Der Server ist nicht für die Verwendung mit {{brand}} konfiguriert. Bitte den Server Admin kontaktieren (Domain: {{domain}}, Fehlercode: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Fehler im MatrixRTC Mitgliedschaftsmanager",
|
||||||
|
"membership_manager_description": "Der MatrixRTC Mitgliedschaftsmanager wurde unerwartet aufgrund fehlgeschlagener Netzwerkanfragen beendet.",
|
||||||
|
"no_matrix_2_authorization_service": "Der Autorisierungsdienst des Medien Servers (SFU) ist veraltet.",
|
||||||
"open_elsewhere": "In einem anderen Tab geöffnet",
|
"open_elsewhere": "In einem anderen Tab geöffnet",
|
||||||
"open_elsewhere_description": "{{brand}} wurde in einem anderen Tab geöffnet. Wenn das nicht richtig klingt, versuchen Sie, die Seite neu zu laden.",
|
"open_elsewhere_description": "{{brand}} wurde in einem anderen Tab geöffnet. Wenn das nicht richtig klingt, versuche, die Seite neu zu laden.",
|
||||||
"room_creation_restricted": "Anruf konnte nicht erstellt werden",
|
"room_creation_restricted": "Anruf konnte nicht erstellt werden",
|
||||||
"room_creation_restricted_description": "Das Erstellen von Anrufen ist nur für autorisierte Nutzer möglich. Versuche es später erneut oder kontaktiere deinen Serveradministrator, falls das Problem weiterhin besteht.",
|
"room_creation_restricted_description": "Das Erstellen von Anrufen ist nur für autorisierte Nutzer möglich. Versuche es später erneut oder kontaktiere deinen Serveradministrator, falls das Problem weiterhin besteht.",
|
||||||
"unexpected_ec_error": "Ein unerwarteter Fehler ist aufgetreten (<0>Fehlercode: </0> <1>{{ errorCode }}</1>). Bitte den Serveradministrator kontaktieren."
|
"unexpected_ec_error": "Ein unerwarteter Fehler ist aufgetreten (<0>Fehlercode: </0> <1>{{ errorCode }}</1>). Bitte den Serveradministrator kontaktieren."
|
||||||
@@ -194,9 +218,9 @@
|
|||||||
"opt_in_description": "<0></0><1></1>Du kannst deine Zustimmung durch Abwählen dieses Kästchens zurückziehen. Falls du dich aktuell in einem Anruf befindest, wird diese Einstellung nach dem Ende des Anrufs wirksam.",
|
"opt_in_description": "<0></0><1></1>Du kannst deine Zustimmung durch Abwählen dieses Kästchens zurückziehen. Falls du dich aktuell in einem Anruf befindest, wird diese Einstellung nach dem Ende des Anrufs wirksam.",
|
||||||
"preferences_tab": {
|
"preferences_tab": {
|
||||||
"developer_mode_label": "Entwickler-Modus",
|
"developer_mode_label": "Entwickler-Modus",
|
||||||
"developer_mode_label_description": "Aktivieren Sie den Entwicklermodus und zeigen Sie die Registerkarte mit den Entwicklereinstellungen an.",
|
"developer_mode_label_description": "Aktiviere den Entwicklermodus und zeige Entwicklereinstellungen an.",
|
||||||
"introduction": "Hier können zusätzliche Optionen für individuelle Anforderungen eingestellt werden.",
|
"introduction": "Hier können zusätzliche Optionen für individuelle Anforderungen eingestellt werden.",
|
||||||
"reactions_play_sound_description": "Spielen Sie einen Soundeffekt ab, wenn jemand eine Reaktion auf einen Anruf sendet.",
|
"reactions_play_sound_description": "Spiele einen Soundeffekt ab, wenn jemand eine Reaktion auf einen Anruf sendet.",
|
||||||
"reactions_play_sound_label": "Reaktionstöne abspielen",
|
"reactions_play_sound_label": "Reaktionstöne abspielen",
|
||||||
"reactions_show_description": "Zeige eine Animation, wenn jemand eine Reaktion sendet.",
|
"reactions_show_description": "Zeige eine Animation, wenn jemand eine Reaktion sendet.",
|
||||||
"reactions_show_label": "Reaktionen anzeigen",
|
"reactions_show_label": "Reaktionen anzeigen",
|
||||||
@@ -219,12 +243,14 @@
|
|||||||
"version": "{{productName}} Version: {{version}}",
|
"version": "{{productName}} Version: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Immer anzeigen",
|
"always_show": "Immer anzeigen",
|
||||||
|
"call_ended": "Anruf beendet",
|
||||||
|
"calling": "Anruf…",
|
||||||
"camera_starting": "Video wird geladen...",
|
"camera_starting": "Video wird geladen...",
|
||||||
"change_fit_contain": "An Fenster anpassen",
|
|
||||||
"collapse": "Minimieren",
|
"collapse": "Minimieren",
|
||||||
"expand": "Erweitern",
|
"expand": "Erweitern",
|
||||||
"mute_for_me": "Für mich stumm schalten",
|
"mute_for_me": "Für mich stumm schalten",
|
||||||
"muted_for_me": "Für mich stumm geschaltet",
|
"muted_for_me": "Für mich stumm geschaltet",
|
||||||
|
"screen_share_volume": "Lautstärke der Bildschirmfreigabe",
|
||||||
"volume": "Lautstärke",
|
"volume": "Lautstärke",
|
||||||
"waiting_for_media": "Warten auf Medien..."
|
"waiting_for_media": "Warten auf Medien..."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,7 +65,6 @@
|
|||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
"matrix_id": "Αναγνωριστικό Matrix: {{id}}",
|
"matrix_id": "Αναγνωριστικό Matrix: {{id}}",
|
||||||
"show_connection_stats": "Εμφάνιση στατιστικών σύνδεσης",
|
"show_connection_stats": "Εμφάνιση στατιστικών σύνδεσης",
|
||||||
"show_non_member_tiles": "Εμφάνιση πλακιδίων για μέσα μη-μελών",
|
|
||||||
"url_params": "Παράμετροι URL"
|
"url_params": "Παράμετροι URL"
|
||||||
},
|
},
|
||||||
"header_label": "Element Κεντρική Οθόνη Κλήσεων",
|
"header_label": "Element Κεντρική Οθόνη Κλήσεων",
|
||||||
|
|||||||
+35
-7
@@ -61,7 +61,7 @@
|
|||||||
"crypto_version": "Crypto version: {{version}}",
|
"crypto_version": "Crypto version: {{version}}",
|
||||||
"custom_livekit_url": {
|
"custom_livekit_url": {
|
||||||
"current_url": "Currently set to: ",
|
"current_url": "Currently set to: ",
|
||||||
"from_config": "Currently, no overwrite is set. Url from well-known or config is used.",
|
"from_config": "Currently, no overwrite is set. Url from config is used.",
|
||||||
"label": "Custom Livekit-url",
|
"label": "Custom Livekit-url",
|
||||||
"reset": "Reset overwrite",
|
"reset": "Reset overwrite",
|
||||||
"save": "Save",
|
"save": "Save",
|
||||||
@@ -80,10 +80,6 @@
|
|||||||
"description": "Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)",
|
"description": "Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)",
|
||||||
"label": "Compatibility: state events & multi SFU"
|
"label": "Compatibility: state events & multi SFU"
|
||||||
},
|
},
|
||||||
"Legacy": {
|
|
||||||
"description": "Compatible with old versions of EC that do not support multi SFU",
|
|
||||||
"label": "Legacy: state events & oldest membership SFU"
|
|
||||||
},
|
|
||||||
"Matrix_2_0": {
|
"Matrix_2_0": {
|
||||||
"description": "Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later",
|
"description": "Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later",
|
||||||
"label": "Matrix 2.0: sticky events & multi SFU"
|
"label": "Matrix 2.0: sticky events & multi SFU"
|
||||||
@@ -108,14 +104,21 @@
|
|||||||
"generic_description": "Submitting debug logs will help us track down the problem.",
|
"generic_description": "Submitting debug logs will help us track down the problem.",
|
||||||
"insufficient_capacity": "Insufficient capacity",
|
"insufficient_capacity": "Insufficient capacity",
|
||||||
"insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
|
"insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
|
||||||
|
"livekit_connection_error": "Failed to connect to Livekit server",
|
||||||
|
"livekit_connection_error_description": "An error occurred while connecting to the Livekit server (<1>Reason:</1> <2>{{ reason }}</2>).",
|
||||||
"matrix_rtc_transport_missing": "The server is not configured to work with {{brand}}. Please contact your server admin (Domain: {{domain}}, Error Code: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "The server is not configured to work with {{brand}}. Please contact your server admin (Domain: {{domain}}, Error Code: {{ errorCode }}).",
|
||||||
"membership_manager": "Membership Manager Error",
|
"membership_manager": "Membership Manager Error",
|
||||||
"membership_manager_description": "The Membership Manager had to shut down. This is caused by many consequtive failed network requests.",
|
"membership_manager_description": "The Membership Manager had to shut down. This is caused by many consecutive failed network requests.",
|
||||||
"no_matrix_2_authorization_service": "The authorization service for your media server (SFU) is out of date.",
|
"no_matrix_2_authorization_service": "The authorization service for your media server (SFU) is out of date.",
|
||||||
"open_elsewhere": "Opened in another tab",
|
"open_elsewhere": "Opened in another tab",
|
||||||
"open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.",
|
"open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.",
|
||||||
|
"peer_connection_timeout": "Connection timeout",
|
||||||
|
"peer_connection_timeout_description": "Connection to the media server timed out. Try switching to a different network or disabling your VPN. If the problem persists, see our <0>troubleshooting guide</0> or contact your server administrator.",
|
||||||
"room_creation_restricted": "Failed to create call",
|
"room_creation_restricted": "Failed to create call",
|
||||||
"room_creation_restricted_description": "Call creation might be restricted to authorized users only. Try again later, or contact your server admin if the problem persists.",
|
"room_creation_restricted_description": "Call creation might be restricted to authorized users only. Try again later, or contact your server admin if the problem persists.",
|
||||||
|
"screen_share_failed": "Could not start screen sharing",
|
||||||
|
"sticky_events_required": "Homeserver does not support Matrix 2.0 calls",
|
||||||
|
"sticky_events_required_description": "This deployment is configured to use Matrix 2.0 call mode, but the homeserver does not advertise support for sticky events (MSC4354). Ask your server admin to upgrade, or switch the deployment to a compatible mode.",
|
||||||
"unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server admin."
|
"unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server admin."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -160,6 +163,12 @@
|
|||||||
"login_auth_links_prompt": "Not registered yet?",
|
"login_auth_links_prompt": "Not registered yet?",
|
||||||
"login_subheading": "To continue to Element",
|
"login_subheading": "To continue to Element",
|
||||||
"login_title": "Login",
|
"login_title": "Login",
|
||||||
|
"microphone_level": {
|
||||||
|
"label": "Microphone level",
|
||||||
|
"no_device": "No microphone found. Connect one, then try again.",
|
||||||
|
"permission_denied": "Microphone access is blocked. Allow it, then try again.",
|
||||||
|
"value": "{{level}} of {{max}}"
|
||||||
|
},
|
||||||
"microphone_off": "Microphone off",
|
"microphone_off": "Microphone off",
|
||||||
"microphone_on": "Microphone on",
|
"microphone_on": "Microphone on",
|
||||||
"mute_microphone_button_label": "Mute microphone",
|
"mute_microphone_button_label": "Mute microphone",
|
||||||
@@ -190,33 +199,50 @@
|
|||||||
"room_auth_view_ssla_caption": "By clicking \"Join call now\", you agree to our <2>Software and Services License Agreement (SSLA)</2>",
|
"room_auth_view_ssla_caption": "By clicking \"Join call now\", you agree to our <2>Software and Services License Agreement (SSLA)</2>",
|
||||||
"screenshare_button_label": "Share screen",
|
"screenshare_button_label": "Share screen",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"advanced_camera_description": "Configure resolution, framerate, bitrate, and codec for camera video. Changes apply on next call join.",
|
||||||
|
"advanced_camera_label": "Advanced camera settings",
|
||||||
|
"advanced_screen_share_description": "Configure resolution, framerate, bitrate, and codec for screen sharing",
|
||||||
|
"advanced_screen_share_label": "Advanced screen share settings",
|
||||||
|
"audio_processing_description": "Changes apply on next call join.",
|
||||||
|
"audio_processing_header": "Audio processing",
|
||||||
"audio_tab": {
|
"audio_tab": {
|
||||||
"effect_volume_description": "Adjust the volume at which reactions and hand raised effects play.",
|
"effect_volume_description": "Adjust the volume at which reactions and hand raised effects play.",
|
||||||
"effect_volume_label": "Sound effect volume"
|
"effect_volume_label": "Sound effect volume"
|
||||||
},
|
},
|
||||||
|
"auto_gain_control_label": "Automatic gain control",
|
||||||
"background_blur_header": "Background",
|
"background_blur_header": "Background",
|
||||||
"background_blur_label": "Blur the background of the video",
|
"background_blur_label": "Blur the background of the video",
|
||||||
|
"bitrate_label": "Bitrate",
|
||||||
"blur_not_supported_by_browser": "(Background blur is not supported by this device.)",
|
"blur_not_supported_by_browser": "(Background blur is not supported by this device.)",
|
||||||
|
"camera_header": "Camera quality",
|
||||||
|
"codec_label": "Codec",
|
||||||
"developer_tab_title": "Developer",
|
"developer_tab_title": "Developer",
|
||||||
"devices": {
|
"devices": {
|
||||||
|
"activating": "Activating…",
|
||||||
"camera": "Camera",
|
"camera": "Camera",
|
||||||
"camera_numbered": "Camera {{n}}",
|
"camera_numbered": "Camera {{n}}",
|
||||||
|
"camera_source": "Camera Source",
|
||||||
"change_device_button": "Change audio device",
|
"change_device_button": "Change audio device",
|
||||||
"default": "Default",
|
"default": "Default",
|
||||||
"default_named": "Default <2>({{name}})</2>",
|
"default_named": "Default <2>({{name}})</2>",
|
||||||
|
"default_named_plain": "Default ({{name}})",
|
||||||
"handset": "Handset",
|
"handset": "Handset",
|
||||||
"loudspeaker": "Loudspeaker",
|
"loudspeaker": "Loudspeaker",
|
||||||
|
"mic_source": "Mic Source",
|
||||||
"microphone": "Microphone",
|
"microphone": "Microphone",
|
||||||
"microphone_numbered": "Microphone {{n}}",
|
"microphone_numbered": "Microphone {{n}}",
|
||||||
"speaker": "Speaker",
|
"speaker": "Speaker",
|
||||||
"speaker_numbered": "Speaker {{n}}"
|
"speaker_numbered": "Speaker {{n}}"
|
||||||
},
|
},
|
||||||
|
"echo_cancellation_label": "Echo cancellation",
|
||||||
"feedback_tab_body": "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.",
|
"feedback_tab_body": "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.",
|
||||||
"feedback_tab_description_label": "Your feedback",
|
"feedback_tab_description_label": "Your feedback",
|
||||||
"feedback_tab_h4": "Submit feedback",
|
"feedback_tab_h4": "Submit feedback",
|
||||||
"feedback_tab_send_logs_label": "Include debug logs",
|
"feedback_tab_send_logs_label": "Include debug logs",
|
||||||
"feedback_tab_thank_you": "Thanks, we received your feedback!",
|
"feedback_tab_thank_you": "Thanks, we received your feedback!",
|
||||||
"feedback_tab_title": "Feedback",
|
"feedback_tab_title": "Feedback",
|
||||||
|
"framerate_label": "Framerate",
|
||||||
|
"noise_suppression_label": "Noise suppression",
|
||||||
"opt_in_description": "<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.",
|
"opt_in_description": "<0></0><1></1>You may withdraw consent by unchecking this box. If you are currently in a call, this setting will take effect at the end of the call.",
|
||||||
"preferences_tab": {
|
"preferences_tab": {
|
||||||
"developer_mode_label": "Developer mode",
|
"developer_mode_label": "Developer mode",
|
||||||
@@ -228,7 +254,9 @@
|
|||||||
"reactions_show_label": "Show reactions",
|
"reactions_show_label": "Show reactions",
|
||||||
"show_hand_raised_timer_description": "Show a timer when a participant raises their hand",
|
"show_hand_raised_timer_description": "Show a timer when a participant raises their hand",
|
||||||
"show_hand_raised_timer_label": "Show hand raise duration"
|
"show_hand_raised_timer_label": "Show hand raise duration"
|
||||||
}
|
},
|
||||||
|
"resolution_label": "Resolution",
|
||||||
|
"screen_share_header": "Screen sharing"
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} star",
|
"star_rating_input_label_one": "{{count}} star",
|
||||||
"star_rating_input_label_other": "{{count}} stars",
|
"star_rating_input_label_other": "{{count}} stars",
|
||||||
|
|||||||
+177
-5
@@ -5,14 +5,21 @@
|
|||||||
"action": {
|
"action": {
|
||||||
"close": "Cerrar",
|
"close": "Cerrar",
|
||||||
"copy_link": "Copiar vínculo",
|
"copy_link": "Copiar vínculo",
|
||||||
|
"edit": "Editar",
|
||||||
"go": "Comenzar",
|
"go": "Comenzar",
|
||||||
"invite": "Invitar",
|
"invite": "Invitar",
|
||||||
|
"lower_hand": "Bajar mano",
|
||||||
"no": "No",
|
"no": "No",
|
||||||
|
"pick_reaction": "Elige reacción",
|
||||||
|
"raise_hand": "Levantar la mano",
|
||||||
"register": "Registrarse",
|
"register": "Registrarse",
|
||||||
"remove": "Eliminar",
|
"remove": "Eliminar",
|
||||||
|
"show_less": "Mostrar menos",
|
||||||
|
"show_more": "Mostrar más",
|
||||||
"sign_in": "Iniciar sesión",
|
"sign_in": "Iniciar sesión",
|
||||||
"sign_out": "Cerrar sesión",
|
"sign_out": "Cerrar sesión",
|
||||||
"submit": "Enviar"
|
"submit": "Enviar",
|
||||||
|
"upload_file": "Cargar archivo"
|
||||||
},
|
},
|
||||||
"analytics_notice": "Al participar en esta beta, consientes a la recogida de datos anónimos, los cuales usaremos para mejorar el producto. Puedes encontrar más información sobre que datos recogemos en nuestra <2>Política de privacidad</2> y en nuestra <5>Política sobre Cookies</5>.",
|
"analytics_notice": "Al participar en esta beta, consientes a la recogida de datos anónimos, los cuales usaremos para mejorar el producto. Puedes encontrar más información sobre que datos recogemos en nuestra <2>Política de privacidad</2> y en nuestra <5>Política sobre Cookies</5>.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
@@ -22,30 +29,142 @@
|
|||||||
"feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
|
"feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
|
||||||
"headline": "{{displayName}}, tu llamada ha finalizado.",
|
"headline": "{{displayName}}, tu llamada ha finalizado.",
|
||||||
"not_now_button": "Ahora no, volver a la pantalla de inicio",
|
"not_now_button": "Ahora no, volver a la pantalla de inicio",
|
||||||
|
"reconnect_button": "Reconnectar",
|
||||||
"survey_prompt": "¿Cómo ha ido?"
|
"survey_prompt": "¿Cómo ha ido?"
|
||||||
},
|
},
|
||||||
|
"call_name": "Nombre de la llamada",
|
||||||
"common": {
|
"common": {
|
||||||
|
"analytics": "Analíticas",
|
||||||
|
"audio": "Audio",
|
||||||
|
"avatar": "Avatar",
|
||||||
|
"back": "Regresar",
|
||||||
"display_name": "Nombre a mostrar",
|
"display_name": "Nombre a mostrar",
|
||||||
|
"encrypted": "Cifrado",
|
||||||
"home": "Inicio",
|
"home": "Inicio",
|
||||||
"loading": "Cargando…",
|
"loading": "Cargando…",
|
||||||
|
"next": "Próximo",
|
||||||
|
"options": "Opciones",
|
||||||
"password": "Contraseña",
|
"password": "Contraseña",
|
||||||
|
"preferences": "Preferencias",
|
||||||
"profile": "Perfil",
|
"profile": "Perfil",
|
||||||
|
"reaction": "Reacción",
|
||||||
|
"reactions": "Reacciones",
|
||||||
|
"reconnecting": "Reconectando…",
|
||||||
"settings": "Ajustes",
|
"settings": "Ajustes",
|
||||||
"username": "Nombre de usuario"
|
"unencrypted": "Sin cifrar",
|
||||||
|
"username": "Nombre de usuario",
|
||||||
|
"video": "Vídeo"
|
||||||
},
|
},
|
||||||
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Mostrar la opción de auricular del iPhone en todas las plataformas",
|
||||||
|
"crypto_version": "Versión criptográfica: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Actualmente configurado: ",
|
||||||
|
"from_config": "Actualmente, no hay ninguna sobrescritura configurada. Se utiliza la URL de well-known o config.",
|
||||||
|
"label": "URL personalizada de Livekit",
|
||||||
|
"reset": "Restablecer sobrescritura",
|
||||||
|
"save": "Guardar",
|
||||||
|
"saving": "Guardando..."
|
||||||
|
},
|
||||||
|
"debug_tile_layout_label": "Depurar diseño de mosaicos",
|
||||||
|
"device_id": "ID del dispositivo: {{id}}",
|
||||||
|
"duplicate_tiles_label": "Número de copias adicionales de fichas por participante",
|
||||||
|
"environment_variables": "Variables de entorno",
|
||||||
|
"hostname": "Nombre del Host: {{hostname}}",
|
||||||
|
"livekit_server_info": "Información servidor LiveKit",
|
||||||
|
"livekit_sfu": "LiveKit SFU:{{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Compatible con servidores privados que no admiten eventos persistentes (pero todos los demás clientes de EC son v0.17.0 o posteriores)",
|
||||||
|
"label": "Compatibilidad: eventos de estado y SFU múltiple"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Compatible con versiones antiguas de EC que no admiten SFU múltiple.",
|
||||||
|
"label": "Legado: eventos estatales y membresía más antigua SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Compatible solo con servidores domésticos que admiten eventos persistentes y todos los clientes EC v0.17.0 o posterior",
|
||||||
|
"label": "Matrix 2.0: eventos persistentes y SFU múltiple"
|
||||||
|
},
|
||||||
|
"title": "Modo MatrixRTC"
|
||||||
|
},
|
||||||
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
|
"mute_all_audio": "Silenciar todo el audio (participantes, reacciones, sonidos de unirse)",
|
||||||
|
"show_connection_stats": "Mostrar estadísticas de conexión",
|
||||||
|
"url_params": "Parámetros URL"
|
||||||
|
},
|
||||||
|
"disconnected_banner": "Se perdió la conectividad con el servidor.",
|
||||||
|
"error": {
|
||||||
|
"call_is_not_supported": "La llamada no es compatible",
|
||||||
|
"call_not_found": "Llamada no encontrada",
|
||||||
|
"call_not_found_description": "<0>Ese enlace no parece pertenecer a ninguna llamada existente. Comprueba que tienes el enlace correcto o <2>crea uno nuevo</2>.</0>",
|
||||||
|
"connection_lost": "Conexión interrumpida",
|
||||||
|
"connection_lost_description": "Se cortadó la llamada.",
|
||||||
|
"e2ee_unsupported": "Navegador incompatible",
|
||||||
|
"e2ee_unsupported_description": "Tu navegador web no admite llamadas cifradas. Los navegadores compatibles son Chrome, Safari y Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "No se ha podido iniciar la conexión Livekit.",
|
||||||
|
"generic": "Algo salió mal",
|
||||||
|
"generic_description": "Enviar registros de depuración nos ayudará a localizar el problema.",
|
||||||
|
"insufficient_capacity": "Capacidad insuficiente",
|
||||||
|
"insufficient_capacity_description": "El servidor ha alcanzado su capacidad máxima y no puedes unirte a la llamada en el momento. Inténtalo más tarde o contacta el administrador del servidor si el problema persiste.",
|
||||||
|
"matrix_rtc_transport_missing": "El servidor no está configurado para trabajar con{{brand}} . Por favor, póngase en contacto con el administrador de su servidor (Dominio:{{domain}} Código de error:{{ errorCode }} ).",
|
||||||
|
"membership_manager": "Error del administrador de miembros",
|
||||||
|
"membership_manager_description": "El Administrador de Membresías tuvo que cerrarse debido a numerosas solicitudes de red fallidas consecutivas.",
|
||||||
|
"no_matrix_2_authorization_service": "El servicio de autorización de su servidor multimedia (SFU) está desactualizado.",
|
||||||
|
"open_elsewhere": "Abierto en otra pestaña",
|
||||||
|
"open_elsewhere_description": "{{brand}}Se ha abierto en otra pestaña. Si no suena bien, intenta recargar la página.",
|
||||||
|
"room_creation_restricted": "Falló crear llamada",
|
||||||
|
"room_creation_restricted_description": "La creación de llamadas podría estar restringida solo a usuarios autorizados. Inténtelo de nuevo más tarde o póngase en contacto con el administrador del servidor si el problema persiste.",
|
||||||
|
"unexpected_ec_error": "Se produjo un error inesperado (<0> Código de error:</0><1>{{ errorCode }}</1> ) Por favor, contacta el administrador de su servidor."
|
||||||
|
},
|
||||||
|
"group_call_loader": {
|
||||||
|
"banned_body": "Has sido expulsado de la sala.",
|
||||||
|
"banned_heading": "Bloqueado",
|
||||||
|
"call_ended_body": "Te han retirado de la llamada.",
|
||||||
|
"call_ended_heading": "Llamada finalizada",
|
||||||
|
"knock_reject_body": "Su solicitud para unirse fue rechazada.",
|
||||||
|
"knock_reject_heading": "Acceso denegado",
|
||||||
|
"reason": "Razón:{{reason}}"
|
||||||
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Volver al modo altavoz",
|
||||||
|
"overlay_description": "Solo funciona mientras se utiliza la aplicación.",
|
||||||
|
"overlay_title": "Modo teléfono"
|
||||||
|
},
|
||||||
|
"hangup_button_label": "Finalizar llamada",
|
||||||
"header_label": "Inicio de Element Call",
|
"header_label": "Inicio de Element Call",
|
||||||
|
"header_participants_label": "Participantes",
|
||||||
|
"invite_modal": {
|
||||||
|
"link_copied_toast": "Enlace copiado al portapapeles",
|
||||||
|
"title": "Invita a esta llamada"
|
||||||
|
},
|
||||||
"join_existing_call_modal": {
|
"join_existing_call_modal": {
|
||||||
"join_button": "Si, unirse a la llamada",
|
"join_button": "Si, unirse a la llamada",
|
||||||
"text": "Esta llamada ya existe, ¿te gustaría unirte?",
|
"text": "Esta llamada ya existe, ¿te gustaría unirte?",
|
||||||
"title": "¿Unirse a llamada existente?"
|
"title": "¿Unirse a llamada existente?"
|
||||||
},
|
},
|
||||||
|
"layout_grid_label": "Grilla",
|
||||||
"layout_spotlight_label": "Foco",
|
"layout_spotlight_label": "Foco",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
"join_button": "Unirse a la llamada"
|
"ask_to_join": "Solicitar unirse a la llamada",
|
||||||
|
"join_as_guest": "Unirse como invitado",
|
||||||
|
"join_button": "Unirse a la llamada",
|
||||||
|
"leave_button": "Volver a recientes",
|
||||||
|
"waiting_for_invite": "¡Solicitud enviada! Esperando permiso para unir..."
|
||||||
},
|
},
|
||||||
|
"log_in": "Iniciar sesión",
|
||||||
"logging_in": "Iniciando sesión…",
|
"logging_in": "Iniciando sesión…",
|
||||||
"login_auth_links": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
|
"login_auth_links": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
|
||||||
|
"login_auth_links_prompt": "¿Aún no se ha registrado?",
|
||||||
|
"login_subheading": "Continuar a Element",
|
||||||
"login_title": "Iniciar sesión",
|
"login_title": "Iniciar sesión",
|
||||||
|
"microphone_off": "Micrófono desactivado",
|
||||||
|
"microphone_on": "Micrófono activado",
|
||||||
|
"mute_microphone_button_label": "Silenciar micrófono",
|
||||||
|
"participant_count_one": "{{count, number}}",
|
||||||
|
"participant_count_other": "{{count, number}}",
|
||||||
|
"qr_code": "CÓDIGO QR",
|
||||||
|
"rageshake_button_error_caption": "Reintentar enviar registros",
|
||||||
"rageshake_request_modal": {
|
"rageshake_request_modal": {
|
||||||
"body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
|
"body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
|
||||||
"title": "Petición de registros de depuración"
|
"title": "Petición de registros de depuración"
|
||||||
@@ -53,30 +172,83 @@
|
|||||||
"rageshake_send_logs": "Enviar registros de depuración",
|
"rageshake_send_logs": "Enviar registros de depuración",
|
||||||
"rageshake_sending": "Enviando…",
|
"rageshake_sending": "Enviando…",
|
||||||
"rageshake_sending_logs": "Enviando registros de depuración…",
|
"rageshake_sending_logs": "Enviando registros de depuración…",
|
||||||
|
"rageshake_sent": "¡Gracias!",
|
||||||
"recaptcha_dismissed": "Recaptcha cancelado",
|
"recaptcha_dismissed": "Recaptcha cancelado",
|
||||||
"recaptcha_not_loaded": "No se ha cargado el Recaptcha",
|
"recaptcha_not_loaded": "No se ha cargado el Recaptcha",
|
||||||
|
"recaptcha_ssla_caption": "Este sitio está protegido por ReCAPTCHA y se aplican las <2> política de privacidad</2> y<6> Condiciones de servicio</6>de Google aplican.<9></9> Al hacer clic en \"Registrarse\", se acepta nuestros <12> Acuerdo de licencia de software y servicios (SSLA)</12>",
|
||||||
"register": {
|
"register": {
|
||||||
"passwords_must_match": "Las contraseñas deben coincidir",
|
"passwords_must_match": "Las contraseñas deben coincidir",
|
||||||
"registering": "Registrando…"
|
"registering": "Registrando…"
|
||||||
},
|
},
|
||||||
"register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
|
"register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
|
||||||
"register_confirm_password_label": "Confirmar contraseña",
|
"register_confirm_password_label": "Confirmar contraseña",
|
||||||
|
"register_heading": "Crear tu cuenta",
|
||||||
"return_home_button": "Volver a la pantalla de inicio",
|
"return_home_button": "Volver a la pantalla de inicio",
|
||||||
|
"room_auth_view_continue_button": "Continuar",
|
||||||
|
"room_auth_view_ssla_caption": "Al hacer clic en \"Unirse a la llamada ahora\", acepta nuestros<2> Acuerdo de licencia de software y servicios (SSLA)</2>",
|
||||||
"screenshare_button_label": "Compartir pantalla",
|
"screenshare_button_label": "Compartir pantalla",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"audio_tab": {
|
||||||
|
"effect_volume_description": "Ajusta el volumen al que se reproducen las reacciones y los efectos de subir la mano.",
|
||||||
|
"effect_volume_label": "Volumen de efectos de sonido"
|
||||||
|
},
|
||||||
|
"background_blur_header": "Fondo",
|
||||||
|
"background_blur_label": "Desenfocar el fondo del vídeo",
|
||||||
|
"blur_not_supported_by_browser": "(El desenfoque de fondo no esta sopportado de este dispositivo).",
|
||||||
"developer_tab_title": "Desarrollador",
|
"developer_tab_title": "Desarrollador",
|
||||||
|
"devices": {
|
||||||
|
"camera": "Cámara",
|
||||||
|
"camera_numbered": "Cámara {{n}}",
|
||||||
|
"change_device_button": "Cambiar dispositivo de audio",
|
||||||
|
"default": "Por defecto",
|
||||||
|
"default_named": "Por defecto<2> ({{name}})</2>",
|
||||||
|
"handset": "Dispositivo",
|
||||||
|
"loudspeaker": "Altavoz",
|
||||||
|
"microphone": "Micrófono",
|
||||||
|
"microphone_numbered": "Micrófono {{n}}",
|
||||||
|
"speaker": "Altavoz",
|
||||||
|
"speaker_numbered": "Altavoz {{n}}"
|
||||||
|
},
|
||||||
"feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.",
|
"feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.",
|
||||||
"feedback_tab_description_label": "Tus comentarios",
|
"feedback_tab_description_label": "Tus comentarios",
|
||||||
"feedback_tab_h4": "Enviar comentarios",
|
"feedback_tab_h4": "Enviar comentarios",
|
||||||
"feedback_tab_send_logs_label": "Incluir registros de depuración",
|
"feedback_tab_send_logs_label": "Incluir registros de depuración",
|
||||||
"feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!",
|
"feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!",
|
||||||
"feedback_tab_title": "Danos tu opinión",
|
"feedback_tab_title": "Danos tu opinión",
|
||||||
"opt_in_description": "<0></0><1></1>Puedes retirar tu consentimiento desmarcando esta casilla. Si estás en una llamada, este ajuste se aplicará al final de esta."
|
"opt_in_description": "<0></0><1></1>Puedes retirar tu consentimiento desmarcando esta casilla. Si estás en una llamada, este ajuste se aplicará al final de esta.",
|
||||||
|
"preferences_tab": {
|
||||||
|
"developer_mode_label": "Modo desarrollador",
|
||||||
|
"developer_mode_label_description": "Activa el modo de desarrollador y muestra la pestaña de configuración de desarrollador.",
|
||||||
|
"introduction": "Aquí puedes configurar opciones adicionales para una experiencia mejorada.",
|
||||||
|
"reactions_play_sound_description": "Reproduce un sonido cuando alguien envíe una reacción en una llamada.",
|
||||||
|
"reactions_play_sound_label": "Reproduce sonidos de reacción",
|
||||||
|
"reactions_show_description": "Muestra una animación cuando alguien envíe una reacción.",
|
||||||
|
"reactions_show_label": "Mostrar reacciones",
|
||||||
|
"show_hand_raised_timer_description": "Mostrar un temporizador cuando un participante levante la mano",
|
||||||
|
"show_hand_raised_timer_label": "Mostrar la duración de la subida de la mano"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} estrella",
|
"star_rating_input_label_one": "{{count}} estrella",
|
||||||
"star_rating_input_label_other": "{{count}} estrellas",
|
"star_rating_input_label_other": "{{count}} estrellas",
|
||||||
|
"start_new_call": "Iniciar nueva llamada",
|
||||||
|
"start_video_button_label": "Iniciar vídeo",
|
||||||
|
"stop_screenshare_button_label": "Compartiendo pantalla",
|
||||||
|
"stop_video_button_label": "Parar vídeo",
|
||||||
"submitting": "Enviando…",
|
"submitting": "Enviando…",
|
||||||
|
"switch_camera": "Cambiar cámara",
|
||||||
"unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
"unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
||||||
"unauthenticated_view_login_button": "Iniciar sesión en tu cuenta",
|
"unauthenticated_view_login_button": "Iniciar sesión en tu cuenta",
|
||||||
"version": "Versión: {{version}}"
|
"unauthenticated_view_ssla_caption": "Al hacer clic en «Continuar», aceptas nuestro Acuerdo de licencia de software y servicios (SSLA) de <2>.</2>",
|
||||||
|
"unmute_microphone_button_label": "Activar micrófono",
|
||||||
|
"version": "Versión: {{version}}",
|
||||||
|
"video_tile": {
|
||||||
|
"always_show": "Mostrar siempre",
|
||||||
|
"camera_starting": "Cargando video...",
|
||||||
|
"collapse": "Colapsar",
|
||||||
|
"expand": "Expandir",
|
||||||
|
"mute_for_me": "Silenciar para mí",
|
||||||
|
"muted_for_me": "Silenciado para mí",
|
||||||
|
"volume": "Volumen",
|
||||||
|
"waiting_for_media": "Esperando medios..."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+47
-8
@@ -3,6 +3,7 @@
|
|||||||
"user_menu": "Kasutajamenüü"
|
"user_menu": "Kasutajamenüü"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"blur_background": "Hägusta tausta",
|
||||||
"close": "Sulge",
|
"close": "Sulge",
|
||||||
"copy_link": "Kopeeri link",
|
"copy_link": "Kopeeri link",
|
||||||
"edit": "Muuda",
|
"edit": "Muuda",
|
||||||
@@ -49,6 +50,7 @@
|
|||||||
"profile": "Profiil",
|
"profile": "Profiil",
|
||||||
"reaction": "Reaktsioon",
|
"reaction": "Reaktsioon",
|
||||||
"reactions": "Reageerimised",
|
"reactions": "Reageerimised",
|
||||||
|
"reconnecting": "Ühendan uuesti…",
|
||||||
"settings": "Seadistused",
|
"settings": "Seadistused",
|
||||||
"unencrypted": "Krüptimata",
|
"unencrypted": "Krüptimata",
|
||||||
"username": "Kasutajanimi",
|
"username": "Kasutajanimi",
|
||||||
@@ -57,20 +59,40 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "Näita iPhone'i kuulari valikut kõikidel platvormidel",
|
"always_show_iphone_earpiece": "Näita iPhone'i kuulari valikut kõikidel platvormidel",
|
||||||
"crypto_version": "Krüptoteekide versioon: {{version}}",
|
"crypto_version": "Krüptoteekide versioon: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Hetkel määratud olekuks: ",
|
||||||
|
"from_config": "Hetkel on ülekirjutamine määratlemata. Kasutusel on võrguaadress „well-known“-failist või seadistustest.",
|
||||||
|
"label": "Sisu määratud Livekit-url",
|
||||||
|
"reset": "Lähtesta ülekirjutamine",
|
||||||
|
"save": "Salvesta",
|
||||||
|
"saving": "Salvestan..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Meediapaanide paigutus",
|
"debug_tile_layout_label": "Meediapaanide paigutus",
|
||||||
"device_id": "Seadme tunnus: {{id}}",
|
"device_id": "Seadme tunnus: {{id}}",
|
||||||
"duplicate_tiles_label": "Täiendavaid vaadete koopiaid osaleja kohta",
|
"duplicate_tiles_label": "Täiendavaid vaadete koopiaid osaleja kohta",
|
||||||
"environment_variables": "Keskkonnamuutujad",
|
"environment_variables": "Keskkonnamuutujad",
|
||||||
"hostname": "Hosti nimi: {{hostname}}",
|
"hostname": "Hosti nimi: {{hostname}}",
|
||||||
"livekit_server_info": "LiveKiti serveri teave",
|
"livekit_server_info": "LiveKiti serveri teave",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKiti meediaedastusserver (SFU): {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Ühildub koduserveritega, mis ei toeta määratud kestusega sündmuseid (kuid kõik teised EC kliendid on v0.17.0 või hilisemad)",
|
||||||
|
"label": "Ühilduvus: olekusündmused ja mitu meediaedastusserverit (SFU)"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Ühildub EC vanemate versioonidega, millel puudub mitme meediaedastusserveri (SFU) tugi",
|
||||||
|
"label": "Vana lahendus: oleku üritused ja vanim meediaedastusserver (SFU)"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Ühildub ainult määratud kestusega sündmuseid toetavate koduserveritega ja kõigi EC-klientidega alates versioonist 0.17.0",
|
||||||
|
"label": "Matrix 2.0: määratud kestusega sündmused ja mitu meediaedastusserverit (SFU)"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC režiim"
|
||||||
|
},
|
||||||
"matrix_id": "Matrixi kasutajatunnus: {{id}}",
|
"matrix_id": "Matrixi kasutajatunnus: {{id}}",
|
||||||
"mute_all_audio": "Summuta kõik helid (osalejad, regeerimised, liitumise helid)",
|
"mute_all_audio": "Summuta kõik helid (osalejad, regeerimised, liitumise helid)",
|
||||||
"show_connection_stats": "Näita ühenduse statistikat",
|
"show_connection_stats": "Näita ühenduse statistikat",
|
||||||
"show_non_member_tiles": "Näita ka mitteseotud meedia paane",
|
"url_params": "Võrguaadressi parameetrid"
|
||||||
"url_params": "Võrguaadressi parameetrid",
|
|
||||||
"use_new_membership_manager": "Kasuta kõne liikmelisuse halduri (MembershipManager) uut implementatsiooni",
|
|
||||||
"use_to_device_key_transport": "Kasuta seadmepõhist krüptovõtmete vahetust. Kui jututoa liige peaks saatma jututoakohase krüptovõtme, siis kasuta jututoakohast võtmevahetust"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Võrguühendus serveriga on katkenud.",
|
"disconnected_banner": "Võrguühendus serveriga on katkenud.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -81,15 +103,25 @@
|
|||||||
"connection_lost_description": "Sinu ühendus selle kõnega on katkenud.",
|
"connection_lost_description": "Sinu ühendus selle kõnega on katkenud.",
|
||||||
"e2ee_unsupported": "Mitteühilduv brauser",
|
"e2ee_unsupported": "Mitteühilduv brauser",
|
||||||
"e2ee_unsupported_description": "Sinu veebibrauser ei toeta krüptitud kõnesid. Toimivad veebibrauserid on Chrome, Safari, ja Firefox 117+.",
|
"e2ee_unsupported_description": "Sinu veebibrauser ei toeta krüptitud kõnesid. Toimivad veebibrauserid on Chrome, Safari, ja Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Ei õnnestunud käivitada Livekiti ühendust",
|
||||||
"generic": "Midagi läks valesti",
|
"generic": "Midagi läks valesti",
|
||||||
"generic_description": "Silumis- ja vealogide saatmine võib aidata meid vea põhjuseni jõuda.",
|
"generic_description": "Silumis- ja vealogide saatmine võib aidata meid vea põhjuseni jõuda.",
|
||||||
"insufficient_capacity": "Mittepiisav jõudlus",
|
"insufficient_capacity": "Mittepiisav jõudlus",
|
||||||
"insufficient_capacity_description": "Serveri jõudluse ülempiir on hetkel ületatud ja sa ei saa hetkel selle kõnega liituda. Proovi hiljem uuesti või kui probleem kestab kauem, siis võta ühendust serveri haldajaga.",
|
"insufficient_capacity_description": "Serveri jõudluse ülempiir on hetkel ületatud ja sa ei saa hetkel selle kõnega liituda. Proovi hiljem uuesti või kui probleem kestab kauem, siis võta ühendust serveri haldajaga.",
|
||||||
"matrix_rtc_focus_missing": "See server pole seadistatud töötama rakendusega {{brand}}. Palun võta ühendust serveri halduriga (domeen: {{domain}}, veakood: {{ errorCode }}).",
|
"livekit_connection_error": "Livekiti serveriga ühendamine ei õnnestunud",
|
||||||
|
"livekit_connection_error_description": "Livekiti serveriga ühendamisel tekkis viga (<1>Põhjus: </1> <2>{{ reason }}</2>).",
|
||||||
|
"matrix_rtc_transport_missing": "See server pole seadistatud töötama rakendusega {{brand}}. Palun võta ühendust serveri halduriga (domeen: {{domain}}, veakood: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Viga liikmelisuse haldamisel",
|
||||||
|
"membership_manager_description": "Liikmelisuse haldur pidi oma töö lõpetama. Selle põhjuseks olid paljud järjestikused ebaõnnestunud võrgupäringud.",
|
||||||
|
"no_matrix_2_authorization_service": "Sinu meediaedastusserveri (SFU) autoriseerimisteenus on aegunud.",
|
||||||
"open_elsewhere": "Avatud teisel vahekaardil",
|
"open_elsewhere": "Avatud teisel vahekaardil",
|
||||||
"open_elsewhere_description": "{{brand}} on avatud teisel vahekaardil. Kui see ei tundu olema õige, proovi selle lehe uuesti laadimist.",
|
"open_elsewhere_description": "{{brand}} on avatud teisel vahekaardil. Kui see ei tundu olema õige, proovi selle lehe uuesti laadimist.",
|
||||||
|
"peer_connection_timeout": "Ühendus aegus",
|
||||||
|
"peer_connection_timeout_description": "Meediaserveriga ühenduspäring aegus. Proovi kasutada muud võrku või keelata VPN-i kasutamine. Kui probleem püsib, vaata meie <0> veaotsingu juhendit</0> või võta ühendust oma serveri peakasutajaga.",
|
||||||
"room_creation_restricted": "Kõne loomine ei õnnestunud",
|
"room_creation_restricted": "Kõne loomine ei õnnestunud",
|
||||||
"room_creation_restricted_description": "Kõne loomine võib olla lubatud ainult volitatud kasutajatele. Proovi hiljem uuesti või probleemi püsimisel võta ühendust oma serveri haldajaga.",
|
"room_creation_restricted_description": "Kõne loomine võib olla lubatud ainult volitatud kasutajatele. Proovi hiljem uuesti või probleemi püsimisel võta ühendust oma serveri haldajaga.",
|
||||||
|
"sticky_events_required": "Koduserver ei toeta Matrix 2.0 kõnesid",
|
||||||
|
"sticky_events_required_description": "See server on seadistatud kasutama Matrix 2.0 kõnerežiimi, kuid koduserver ei teata, et tal selleks vajalike sündmuste (MSC4354) tugi. Palu serveri peakasutajal see uuendada või kasuta koduserveris ühilduvat režiimi.",
|
||||||
"unexpected_ec_error": "Tekkis ootamatu viga (<0>Veakood:</0> <1>{{ errorCode }}</1>). Palun võta ühendust serveri haldajaga."
|
"unexpected_ec_error": "Tekkis ootamatu viga (<0>Veakood:</0> <1>{{ errorCode }}</1>). Palun võta ühendust serveri haldajaga."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -103,7 +135,8 @@
|
|||||||
},
|
},
|
||||||
"handset": {
|
"handset": {
|
||||||
"overlay_back_button": "Tagasi esineja vaatesse",
|
"overlay_back_button": "Tagasi esineja vaatesse",
|
||||||
"overlay_description": "See toimib vaid rakenduse kasutamise ajal"
|
"overlay_description": "See toimib vaid rakenduse kasutamise ajal",
|
||||||
|
"overlay_title": "Telefonirežiim"
|
||||||
},
|
},
|
||||||
"hangup_button_label": "Lõpeta kõne",
|
"hangup_button_label": "Lõpeta kõne",
|
||||||
"header_label": "Avaleht: Element Call",
|
"header_label": "Avaleht: Element Call",
|
||||||
@@ -119,6 +152,7 @@
|
|||||||
},
|
},
|
||||||
"layout_grid_label": "Ruudustik",
|
"layout_grid_label": "Ruudustik",
|
||||||
"layout_spotlight_label": "Rambivalgus",
|
"layout_spotlight_label": "Rambivalgus",
|
||||||
|
"layout_switch_label": "Paigutus",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
"ask_to_join": "Küsi võimalust liituda kõnega",
|
"ask_to_join": "Küsi võimalust liituda kõnega",
|
||||||
"join_as_guest": "Liitu külalisena",
|
"join_as_guest": "Liitu külalisena",
|
||||||
@@ -171,11 +205,13 @@
|
|||||||
"blur_not_supported_by_browser": "(Tausta hägustamine pole selles seadmes toetatud.)",
|
"blur_not_supported_by_browser": "(Tausta hägustamine pole selles seadmes toetatud.)",
|
||||||
"developer_tab_title": "Arendaja",
|
"developer_tab_title": "Arendaja",
|
||||||
"devices": {
|
"devices": {
|
||||||
|
"activating": "Aktiveerin…",
|
||||||
"camera": "Kaamera",
|
"camera": "Kaamera",
|
||||||
"camera_numbered": "Kaamera {{n}}",
|
"camera_numbered": "Kaamera {{n}}",
|
||||||
"change_device_button": "Muuda heliseadet",
|
"change_device_button": "Muuda heliseadet",
|
||||||
"default": "Vaikimisi",
|
"default": "Vaikimisi",
|
||||||
"default_named": "Vaikimisi <2>({{name}})</2>",
|
"default_named": "Vaikimisi <2>({{name}})</2>",
|
||||||
|
"handset": "Telefon",
|
||||||
"loudspeaker": "Valjuhääldi",
|
"loudspeaker": "Valjuhääldi",
|
||||||
"microphone": "Mikrofon",
|
"microphone": "Mikrofon",
|
||||||
"microphone_numbered": "Mikrofon {{n}}",
|
"microphone_numbered": "Mikrofon {{n}}",
|
||||||
@@ -209,6 +245,7 @@
|
|||||||
"stop_video_button_label": "Peata videovoog",
|
"stop_video_button_label": "Peata videovoog",
|
||||||
"submitting": "Saadan…",
|
"submitting": "Saadan…",
|
||||||
"switch_camera": "Vaheta kaamerat",
|
"switch_camera": "Vaheta kaamerat",
|
||||||
|
"technical_details": "Tehnilised üksikasjad",
|
||||||
"unauthenticated_view_body": "Sa pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
"unauthenticated_view_body": "Sa pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
||||||
"unauthenticated_view_login_button": "Logi oma kontosse sisse",
|
"unauthenticated_view_login_button": "Logi oma kontosse sisse",
|
||||||
"unauthenticated_view_ssla_caption": "Klõpsides „Jätka“ nõustud sa meie <2>Tarkvara ja teenuste litsentseerimise lepinguga (Software and Services License Agreement - SSLA)</2>",
|
"unauthenticated_view_ssla_caption": "Klõpsides „Jätka“ nõustud sa meie <2>Tarkvara ja teenuste litsentseerimise lepinguga (Software and Services License Agreement - SSLA)</2>",
|
||||||
@@ -216,12 +253,14 @@
|
|||||||
"version": "{{productName}}, versioon: {{version}}",
|
"version": "{{productName}}, versioon: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Näita alati",
|
"always_show": "Näita alati",
|
||||||
|
"call_ended": "Kõne lõppes",
|
||||||
|
"calling": "Helistan…",
|
||||||
"camera_starting": "Video on laadimisel...",
|
"camera_starting": "Video on laadimisel...",
|
||||||
"change_fit_contain": "Mahuta aknasse",
|
|
||||||
"collapse": "Näita vähem",
|
"collapse": "Näita vähem",
|
||||||
"expand": "Näita rohkem",
|
"expand": "Näita rohkem",
|
||||||
"mute_for_me": "Summuta minu jaoks",
|
"mute_for_me": "Summuta minu jaoks",
|
||||||
"muted_for_me": "Minule summutatud",
|
"muted_for_me": "Minule summutatud",
|
||||||
|
"screen_share_volume": "Helivaljus ekraanijagaamisel",
|
||||||
"volume": "Helivaljus",
|
"volume": "Helivaljus",
|
||||||
"waiting_for_media": "Ootame kuni meedia on olemas..."
|
"waiting_for_media": "Ootame kuni meedia on olemas..."
|
||||||
}
|
}
|
||||||
|
|||||||
+56
-7
@@ -3,6 +3,7 @@
|
|||||||
"user_menu": "Käyttäjävalikko"
|
"user_menu": "Käyttäjävalikko"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"blur_background": "Sumenna tausta",
|
||||||
"close": "Sulje",
|
"close": "Sulje",
|
||||||
"copy_link": "Kopioi linkki",
|
"copy_link": "Kopioi linkki",
|
||||||
"edit": "Muokkaa",
|
"edit": "Muokkaa",
|
||||||
@@ -49,13 +50,23 @@
|
|||||||
"profile": "Profiili",
|
"profile": "Profiili",
|
||||||
"reaction": "Reaktio",
|
"reaction": "Reaktio",
|
||||||
"reactions": "Reaktiot",
|
"reactions": "Reaktiot",
|
||||||
|
"reconnecting": "Yhdistetään uudelleen...",
|
||||||
"settings": "Asetukset",
|
"settings": "Asetukset",
|
||||||
"unencrypted": "Ei salattu",
|
"unencrypted": "Ei salattu",
|
||||||
"username": "Käyttäjänimi",
|
"username": "Käyttäjänimi",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Näytä iPhone korvakaiutinvaihtoehto kaikilla alustoilla",
|
||||||
"crypto_version": "Kryptoversio: {{version}}",
|
"crypto_version": "Kryptoversio: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Tällä hetkellä asetettu: ",
|
||||||
|
"from_config": "Tällä hetkellä ei ole asetettu päällekirjoitusta. Käytetään URL-osoitetta well-known tiedostosta tai konfiguraatiosta.",
|
||||||
|
"label": "Mukautettu Livekit-url",
|
||||||
|
"reset": "Palauta päällekirjoitus",
|
||||||
|
"save": "Tallenna",
|
||||||
|
"saving": "Tallennetaan..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Laattojen asettelun vianmääritys",
|
"debug_tile_layout_label": "Laattojen asettelun vianmääritys",
|
||||||
"device_id": "Laitteen tunnus: {{id}}",
|
"device_id": "Laitteen tunnus: {{id}}",
|
||||||
"duplicate_tiles_label": "Lisälaattakopioiden määrä osallistujaa kohti",
|
"duplicate_tiles_label": "Lisälaattakopioiden määrä osallistujaa kohti",
|
||||||
@@ -63,29 +74,54 @@
|
|||||||
"hostname": "Isäntänimi: {{hostname}}",
|
"hostname": "Isäntänimi: {{hostname}}",
|
||||||
"livekit_server_info": "LiveKit-palvelimen tiedot",
|
"livekit_server_info": "LiveKit-palvelimen tiedot",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Yhteensopiva kotipalvelimien kanssa, jotka eivät tue tarttuvia tapahtumia (mutta kaikki muut EC-sovellukset ovat v0.17.0 tai uudempia)",
|
||||||
|
"label": "Yhteensopivuus: tilatapahtumat ja useat SFU:t"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Yhteensopiva vanhempien EC-versioiden kanssa, jotka eivät tue useita SFU:ita",
|
||||||
|
"label": "Vanha: tilatapahtumat ja vanhimman jäsenen SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Yhteensopiva vain tarttuvia tapahtumia tukevien kotipalvelimien ja kaikkien EC-sovelluksien v0.17.0 tai uudempien kanssa",
|
||||||
|
"label": "Matrix 2.0: tarttuvat tapahtumat ja useat SFU:t"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC-tila"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix tunnus: {{id}}",
|
"matrix_id": "Matrix tunnus: {{id}}",
|
||||||
|
"mute_all_audio": "Mykistä kaikki ääni (osallistujat, reaktiot, liittymisäänet)",
|
||||||
"show_connection_stats": "Näytä yhteystilastot",
|
"show_connection_stats": "Näytä yhteystilastot",
|
||||||
"show_non_member_tiles": "Näytä laatat ei-jäsenien medialle",
|
"url_params": "URL-parametrit"
|
||||||
"url_params": "URL-parametrit",
|
|
||||||
"use_new_membership_manager": "Käytä uutta puhelun MembershipManagerin toteutusta",
|
|
||||||
"use_to_device_key_transport": "Käytä laitteen avainten kuljetusta. Tämä palaa huoneen avainten siirtoon, kun toinen puhelun jäsen lähettää huoneavaimen"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Yhteys palvelimeen on katkennut.",
|
"disconnected_banner": "Yhteys palvelimeen on katkennut.",
|
||||||
"error": {
|
"error": {
|
||||||
"call_is_not_supported": "Puhelua ei tueta",
|
"call_is_not_supported": "Puhelua ei tueta",
|
||||||
"call_not_found": "Puhelua ei löydy",
|
"call_not_found": "Puhelua ei löydy",
|
||||||
"call_not_found_description": "<0>Kyseinen linkki ei näytä kuuluvan mihinkään olemassa olevaan puheluun. Tarkista, että sinulla on oikea linkki, tai <1>luo uusi linkki</1>.</0>",
|
"call_not_found_description": "<0>Kyseinen linkki ei näytä kuuluvan mihinkään olemassa olevaan puheluun. Tarkista, että sinulla on oikea linkki, tai <2>luo uusi linkki</2>.</0>",
|
||||||
"connection_lost": "Yhteys katkesi",
|
"connection_lost": "Yhteys katkesi",
|
||||||
"connection_lost_description": "Sinut katkaistiin puhelusta.",
|
"connection_lost_description": "Sinut katkaistiin puhelusta.",
|
||||||
"e2ee_unsupported": "Yhteensopimaton selain",
|
"e2ee_unsupported": "Yhteensopimaton selain",
|
||||||
"e2ee_unsupported_description": "Verkkoselaimesi ei tue salattuja puheluita. Tuettuja selaimia ovat Chrome, Safari ja Firefox 117+.",
|
"e2ee_unsupported_description": "Verkkoselaimesi ei tue salattuja puheluita. Tuettuja selaimia ovat Chrome, Safari ja Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Livekit-yhteyden muodostaminen epäonnistui.",
|
||||||
"generic": "Jokin meni pieleen",
|
"generic": "Jokin meni pieleen",
|
||||||
"generic_description": "Vianmäärityslokien lähettäminen auttaa meitä jäljittämään ongelman.",
|
"generic_description": "Vianmäärityslokien lähettäminen auttaa meitä jäljittämään ongelman.",
|
||||||
"insufficient_capacity": "Riittämätön kapasiteetti",
|
"insufficient_capacity": "Riittämätön kapasiteetti",
|
||||||
"insufficient_capacity_description": "Palvelin on saavuttanut maksimikapasiteettinsa, etkä voi liittyä puheluun tällä hetkellä. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.",
|
"insufficient_capacity_description": "Palvelin on saavuttanut maksimikapasiteettinsa, etkä voi liittyä puheluun tällä hetkellä. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.",
|
||||||
"matrix_rtc_focus_missing": "Palvelinta ei ole määritetty toimimaan {{brand}} -sovelluksen kanssa. Ota yhteyttä palvelimen ylläpitäjään (Verkkotunnus: {{domain}}, Virhekoodi: {{ errorCode }}).",
|
"livekit_connection_error": "Yhteyden muodostaminen Livekit-palvelimeen epäonnistui",
|
||||||
|
"livekit_connection_error_description": "Livekit-palvelimeen yhteyden muodostamisessa tapahtui virhe (<1>Syy: </1> <2>{{ reason }}</2>).",
|
||||||
|
"matrix_rtc_transport_missing": "Palvelinta ei ole määritetty toimimaan {{brand}} -sovelluksen kanssa. Ota yhteyttä palvelimen ylläpitäjään (Verkkotunnus: {{domain}}, Virhekoodi: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Jäsenyydenhallinnan virhe",
|
||||||
|
"membership_manager_description": "Jäsenyyshallinta jouduttiin sulkemaan. Tämä johtui useista peräkkäisistä epäonnistuneista verkkopyynnöistä.",
|
||||||
|
"no_matrix_2_authorization_service": "Mediapalvelimesi (SFU) valtuutuspalvelu on vanhentunut.",
|
||||||
"open_elsewhere": "Avattu toisessa välilehdessä",
|
"open_elsewhere": "Avattu toisessa välilehdessä",
|
||||||
"open_elsewhere_description": "{{brand}} on avattu toisessa välilehdessä. Jos tämä ei kuulosta oikealta, yritä ladata sivu uudelleen.",
|
"open_elsewhere_description": "{{brand}} on avattu toisessa välilehdessä. Jos tämä ei kuulosta oikealta, yritä ladata sivu uudelleen.",
|
||||||
|
"peer_connection_timeout": "Yhteyden aikakatkaisu",
|
||||||
|
"peer_connection_timeout_description": "Yhteys mediapalvelimeen aikakatkaistiin. Kokeile vaihtaa verkkoa tai poistaa VPN käytöstä. Jos ongelma jatkuu, katso <0>vianetsintäoppaamme</0> tai ota yhteyttä palvelimesi ylläpitäjään.",
|
||||||
|
"room_creation_restricted": "Puhelun luominen epäonnistui",
|
||||||
|
"room_creation_restricted_description": "Puheluiden luominen saattaa olla rajoitettu vain valtuutetuille käyttäjille. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.",
|
||||||
|
"sticky_events_required": "Kotipalvelin ei tue Matrix 2.0 -puheluita",
|
||||||
|
"sticky_events_required_description": "Tämä asennus on määritetty käyttämään Matrix 2.0 -puhelutilaa, mutta kotipalvelin ei mainosta tukea tarttuville tapahtumille (MSC4354). Pyydä palvelimen järjestelmänvalvojaa päivittämään tai vaihtamaan asennus yhteensopivaan tilaan.",
|
||||||
"unexpected_ec_error": "Tapahtui odottamaton virhe (<0>Virhekoodi:</0> <1>{{ errorCode }}</1>). Ota yhteyttä palvelimen ylläpitäjään."
|
"unexpected_ec_error": "Tapahtui odottamaton virhe (<0>Virhekoodi:</0> <1>{{ errorCode }}</1>). Ota yhteyttä palvelimen ylläpitäjään."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -97,6 +133,11 @@
|
|||||||
"knock_reject_heading": "Pääsy kielletty",
|
"knock_reject_heading": "Pääsy kielletty",
|
||||||
"reason": "Syy: {{reason}}"
|
"reason": "Syy: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Takaisin kaiutintilaan",
|
||||||
|
"overlay_description": "Toimii vain sovellusta käytettäessä",
|
||||||
|
"overlay_title": "Luuritila"
|
||||||
|
},
|
||||||
"hangup_button_label": "Lopeta puhelu",
|
"hangup_button_label": "Lopeta puhelu",
|
||||||
"header_label": "Element Call Etusivu",
|
"header_label": "Element Call Etusivu",
|
||||||
"header_participants_label": "Osallistujat",
|
"header_participants_label": "Osallistujat",
|
||||||
@@ -111,6 +152,7 @@
|
|||||||
},
|
},
|
||||||
"layout_grid_label": "Ruudukko",
|
"layout_grid_label": "Ruudukko",
|
||||||
"layout_spotlight_label": "Valokeila",
|
"layout_spotlight_label": "Valokeila",
|
||||||
|
"layout_switch_label": "Asettelu",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
"ask_to_join": "Pyydä liittymistä puheluun",
|
"ask_to_join": "Pyydä liittymistä puheluun",
|
||||||
"join_as_guest": "Liity vieraana",
|
"join_as_guest": "Liity vieraana",
|
||||||
@@ -163,10 +205,14 @@
|
|||||||
"blur_not_supported_by_browser": "(Tämä laite ei tue taustan sumennusta.)",
|
"blur_not_supported_by_browser": "(Tämä laite ei tue taustan sumennusta.)",
|
||||||
"developer_tab_title": "Kehittäjä",
|
"developer_tab_title": "Kehittäjä",
|
||||||
"devices": {
|
"devices": {
|
||||||
|
"activating": "Aktivoidaan…",
|
||||||
"camera": "Kamera",
|
"camera": "Kamera",
|
||||||
"camera_numbered": "Kamera {{n}}",
|
"camera_numbered": "Kamera {{n}}",
|
||||||
|
"change_device_button": "Vaihda äänilaite",
|
||||||
"default": "Oletus",
|
"default": "Oletus",
|
||||||
"default_named": "Oletus <2>({{name}})</2>",
|
"default_named": "Oletus <2>({{name}})</2>",
|
||||||
|
"handset": "Luuri",
|
||||||
|
"loudspeaker": "Kaiutin",
|
||||||
"microphone": "Mikrofoni",
|
"microphone": "Mikrofoni",
|
||||||
"microphone_numbered": "Mikrofoni {{n}}",
|
"microphone_numbered": "Mikrofoni {{n}}",
|
||||||
"speaker": "Kaiutin",
|
"speaker": "Kaiutin",
|
||||||
@@ -199,6 +245,7 @@
|
|||||||
"stop_video_button_label": "Lopeta video",
|
"stop_video_button_label": "Lopeta video",
|
||||||
"submitting": "Lähetetään…",
|
"submitting": "Lähetetään…",
|
||||||
"switch_camera": "Vaihda kameraa",
|
"switch_camera": "Vaihda kameraa",
|
||||||
|
"technical_details": "Tekniset tiedot",
|
||||||
"unauthenticated_view_body": "Etkö ole vielä rekisteröitynyt? <2>Luo tili</2>",
|
"unauthenticated_view_body": "Etkö ole vielä rekisteröitynyt? <2>Luo tili</2>",
|
||||||
"unauthenticated_view_login_button": "Kirjaudu tilillesi",
|
"unauthenticated_view_login_button": "Kirjaudu tilillesi",
|
||||||
"unauthenticated_view_ssla_caption": "Klikkaamalla \"Siirry\" hyväksyt <2>ohjelmisto- ja palvelulisenssisopimuksen (SSLA)</2>",
|
"unauthenticated_view_ssla_caption": "Klikkaamalla \"Siirry\" hyväksyt <2>ohjelmisto- ja palvelulisenssisopimuksen (SSLA)</2>",
|
||||||
@@ -206,12 +253,14 @@
|
|||||||
"version": "{{productName}} versio: {{version}}",
|
"version": "{{productName}} versio: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Näytä aina",
|
"always_show": "Näytä aina",
|
||||||
|
"call_ended": "Puhelu päättyi",
|
||||||
|
"calling": "Soitetaan…",
|
||||||
"camera_starting": "Videota ladataan...",
|
"camera_starting": "Videota ladataan...",
|
||||||
"change_fit_contain": "Sovita kehykseen",
|
|
||||||
"collapse": "Supista",
|
"collapse": "Supista",
|
||||||
"expand": "Laajenna",
|
"expand": "Laajenna",
|
||||||
"mute_for_me": "Mykistä minulle",
|
"mute_for_me": "Mykistä minulle",
|
||||||
"muted_for_me": "Mykistetty minulle",
|
"muted_for_me": "Mykistetty minulle",
|
||||||
|
"screen_share_volume": "Näytönjaon äänenvoimakkuus",
|
||||||
"volume": "Äänenvoimakkuus",
|
"volume": "Äänenvoimakkuus",
|
||||||
"waiting_for_media": "Odotetaan mediaa..."
|
"waiting_for_media": "Odotetaan mediaa..."
|
||||||
}
|
}
|
||||||
|
|||||||
+90
-4
@@ -5,14 +5,21 @@
|
|||||||
"action": {
|
"action": {
|
||||||
"close": "Fermer",
|
"close": "Fermer",
|
||||||
"copy_link": "Copier le lien",
|
"copy_link": "Copier le lien",
|
||||||
|
"edit": "Modifier",
|
||||||
"go": "Commencer",
|
"go": "Commencer",
|
||||||
"invite": "Inviter",
|
"invite": "Inviter",
|
||||||
|
"lower_hand": "Baisser la main",
|
||||||
"no": "Non",
|
"no": "Non",
|
||||||
|
"pick_reaction": "Choisir une réaction",
|
||||||
|
"raise_hand": "Lever la main",
|
||||||
"register": "S’enregistrer",
|
"register": "S’enregistrer",
|
||||||
"remove": "Supprimer",
|
"remove": "Supprimer",
|
||||||
|
"show_less": "Afficher moins",
|
||||||
|
"show_more": "Afficher plus",
|
||||||
"sign_in": "Connexion",
|
"sign_in": "Connexion",
|
||||||
"sign_out": "Déconnexion",
|
"sign_out": "Déconnexion",
|
||||||
"submit": "Envoyer"
|
"submit": "Envoyer",
|
||||||
|
"upload_file": "Téléverser un fichier"
|
||||||
},
|
},
|
||||||
"analytics_notice": "En participant à cette beta, vous consentez à la collecte de données anonymes, qui seront utilisées pour améliorer le produit. Vous trouverez plus d’informations sur les données collectées dans notre <2>Politique de vie privée</2> et notre <5>Politique de cookies</5>.",
|
"analytics_notice": "En participant à cette beta, vous consentez à la collecte de données anonymes, qui seront utilisées pour améliorer le produit. Vous trouverez plus d’informations sur les données collectées dans notre <2>Politique de vie privée</2> et notre <5>Politique de cookies</5>.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
@@ -27,20 +34,67 @@
|
|||||||
},
|
},
|
||||||
"call_name": "Nom de l’appel",
|
"call_name": "Nom de l’appel",
|
||||||
"common": {
|
"common": {
|
||||||
|
"analytics": "Statistiques d'utilisation",
|
||||||
|
"audio": "Audio",
|
||||||
|
"avatar": "Avatar",
|
||||||
|
"back": "Retour",
|
||||||
"display_name": "Nom d’affichage",
|
"display_name": "Nom d’affichage",
|
||||||
"encrypted": "Chiffré",
|
"encrypted": "Chiffré",
|
||||||
"home": "Accueil",
|
"home": "Accueil",
|
||||||
"loading": "Chargement…",
|
"loading": "Chargement…",
|
||||||
|
"next": "Suivant",
|
||||||
|
"options": "Options",
|
||||||
"password": "Mot de passe",
|
"password": "Mot de passe",
|
||||||
|
"preferences": "Préférences",
|
||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
|
"reaction": "Réaction",
|
||||||
|
"reactions": "Réactions",
|
||||||
|
"reconnecting": "Reconnexion",
|
||||||
"settings": "Paramètres",
|
"settings": "Paramètres",
|
||||||
"unencrypted": "Non chiffré",
|
"unencrypted": "Non chiffré",
|
||||||
"username": "Nom d’utilisateur",
|
"username": "Nom d’utilisateur",
|
||||||
"video": "Vidéo"
|
"video": "Vidéo"
|
||||||
},
|
},
|
||||||
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Afficher l'option écouteur iPhone sur toutes les plateformes",
|
||||||
|
"crypto_version": "Version crypto: {{version}}",
|
||||||
|
"debug_tile_layout_label": "Disposition des tuiles de débogage",
|
||||||
|
"device_id": "Id. de l'appareil",
|
||||||
|
"duplicate_tiles_label": "Nombre de copies de tuiles supplémentaires par participant",
|
||||||
|
"environment_variables": "Variables d'environnement",
|
||||||
|
"hostname": "Nom d'hôte: {{hostname}}",
|
||||||
|
"livekit_server_info": "Info du serveur LiveKit",
|
||||||
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrix_id": "ID Matrix: {{id}}",
|
||||||
|
"mute_all_audio": "Couper tous les sons (participants, réactions, sons de participation)",
|
||||||
|
"show_connection_stats": "Afficher les statistiques de connexion",
|
||||||
|
"url_params": "Paramètres d'URL"
|
||||||
|
},
|
||||||
"disconnected_banner": "La connexion avec le serveur a été perdue.",
|
"disconnected_banner": "La connexion avec le serveur a été perdue.",
|
||||||
|
"error": {
|
||||||
|
"call_is_not_supported": "L'appel n'est pas pris en charge",
|
||||||
|
"call_not_found": "Appel non trouvé",
|
||||||
|
"call_not_found_description": "<0>Ce ne correspond à aucun appel existant. Vérifier que vous avez le bon lien, ou <1>créer un nouveau</1>.</0>",
|
||||||
|
"connection_lost": "Connexion perdue",
|
||||||
|
"connection_lost_description": "Vous avez été déconnecté de l’appel",
|
||||||
|
"e2ee_unsupported": "Moteur de recherche incompatible",
|
||||||
|
"generic": "Un problème est survenu",
|
||||||
|
"insufficient_capacity": "Capacité insuffisante",
|
||||||
|
"insufficient_capacity_description": "Le serveur a atteint sa capacité maximale et vous ne pouvez pas rejoindre l'appel pour le moment. Veuillez réessayer plus tard ou contacter l'administrateur du serveur si le problème persiste.",
|
||||||
|
"unexpected_ec_error": "Une erreur inattendue s'est produite (<0>Code d'erreur :</0> <1>{{ errorCode }}</1>). Veuillez contacter l'administrateur de votre serveur."
|
||||||
|
},
|
||||||
|
"group_call_loader": {
|
||||||
|
"banned_body": "Vous avez été banni du salon.",
|
||||||
|
"banned_heading": "Banni",
|
||||||
|
"call_ended_body": "Vous avez été retiré de l’appel.",
|
||||||
|
"call_ended_heading": "Appel terminé",
|
||||||
|
"knock_reject_body": "Les membres du salon ont refusé votre demande de participation.",
|
||||||
|
"knock_reject_heading": "Non autorisé à rejoindre",
|
||||||
|
"reason": "Motif"
|
||||||
|
},
|
||||||
"hangup_button_label": "Terminer l’appel",
|
"hangup_button_label": "Terminer l’appel",
|
||||||
"header_label": "Accueil Element Call",
|
"header_label": "Accueil Element Call",
|
||||||
|
"header_participants_label": "Participants",
|
||||||
"invite_modal": {
|
"invite_modal": {
|
||||||
"link_copied_toast": "Lien copié dans le presse-papier",
|
"link_copied_toast": "Lien copié dans le presse-papier",
|
||||||
"title": "Inviter dans cet appel"
|
"title": "Inviter dans cet appel"
|
||||||
@@ -53,15 +107,24 @@
|
|||||||
"layout_grid_label": "Grille",
|
"layout_grid_label": "Grille",
|
||||||
"layout_spotlight_label": "Premier plan",
|
"layout_spotlight_label": "Premier plan",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
|
"ask_to_join": "Demandez à rejoindre l'appel",
|
||||||
|
"join_as_guest": "Rejoindre en tant qu'invité",
|
||||||
"join_button": "Rejoindre l’appel",
|
"join_button": "Rejoindre l’appel",
|
||||||
"leave_button": "Revenir à l’historique des appels"
|
"leave_button": "Revenir à l’historique des appels",
|
||||||
|
"waiting_for_invite": "Demande envoyée"
|
||||||
},
|
},
|
||||||
|
"log_in": "Se connecter",
|
||||||
"logging_in": "Connexion…",
|
"logging_in": "Connexion…",
|
||||||
"login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>",
|
"login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>",
|
||||||
|
"login_auth_links_prompt": "Pas encore inscrit?",
|
||||||
|
"login_subheading": "Pour continuer vers Element",
|
||||||
"login_title": "Connexion",
|
"login_title": "Connexion",
|
||||||
"microphone_off": "Microphone éteint",
|
"microphone_off": "Microphone éteint",
|
||||||
"microphone_on": "Microphone allumé",
|
"microphone_on": "Microphone allumé",
|
||||||
"mute_microphone_button_label": "Couper le microphone",
|
"mute_microphone_button_label": "Couper le microphone",
|
||||||
|
"participant_count_one": "{{count, number}}",
|
||||||
|
"participant_count_other": "{{count, number}}",
|
||||||
|
"qr_code": "Code QR",
|
||||||
"rageshake_button_error_caption": "Réessayer d’envoyer les journaux",
|
"rageshake_button_error_caption": "Réessayer d’envoyer les journaux",
|
||||||
"rageshake_request_modal": {
|
"rageshake_request_modal": {
|
||||||
"body": "Un autre utilisateur dans cet appel a un problème. Pour nous permettre de résoudre le problème, nous aimerions récupérer un journal de débogage.",
|
"body": "Un autre utilisateur dans cet appel a un problème. Pour nous permettre de résoudre le problème, nous aimerions récupérer un journal de débogage.",
|
||||||
@@ -79,17 +142,33 @@
|
|||||||
},
|
},
|
||||||
"register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
|
"register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
|
||||||
"register_confirm_password_label": "Confirmer le mot de passe",
|
"register_confirm_password_label": "Confirmer le mot de passe",
|
||||||
|
"register_heading": "Créer votre compte",
|
||||||
"return_home_button": "Retour à l’accueil",
|
"return_home_button": "Retour à l’accueil",
|
||||||
|
"room_auth_view_continue_button": "Continuer",
|
||||||
"screenshare_button_label": "Partage d’écran",
|
"screenshare_button_label": "Partage d’écran",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"audio_tab": {
|
||||||
|
"effect_volume_description": "Régler le volume des effets de réactions et de mains levées.",
|
||||||
|
"effect_volume_label": "Volume des effets sonores"
|
||||||
|
},
|
||||||
|
"background_blur_label": "Flouter l'arrière-plan de la vidéo",
|
||||||
|
"blur_not_supported_by_browser": "(Le flou d'arrière-plan n'est pas pris en charge par cet appareil.)",
|
||||||
"developer_tab_title": "Développeur",
|
"developer_tab_title": "Développeur",
|
||||||
|
"devices": {
|
||||||
|
"speaker_numbered": "Haut-parleur {{n}}"
|
||||||
|
},
|
||||||
"feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
|
"feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
|
||||||
"feedback_tab_description_label": "Votre commentaire",
|
"feedback_tab_description_label": "Votre commentaire",
|
||||||
"feedback_tab_h4": "Envoyer un commentaire",
|
"feedback_tab_h4": "Envoyer un commentaire",
|
||||||
"feedback_tab_send_logs_label": "Inclure les journaux de débogage",
|
"feedback_tab_send_logs_label": "Inclure les journaux de débogage",
|
||||||
"feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !",
|
"feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !",
|
||||||
"feedback_tab_title": "Commentaires",
|
"feedback_tab_title": "Commentaires",
|
||||||
"opt_in_description": "<0></0><1></1>Vous pouvez retirer votre consentement en décochant cette case. Si vous êtes actuellement en communication, ce paramètre prendra effet à la fin de l’appel."
|
"opt_in_description": "<0></0><1></1>Vous pouvez retirer votre consentement en décochant cette case. Si vous êtes actuellement en communication, ce paramètre prendra effet à la fin de l’appel.",
|
||||||
|
"preferences_tab": {
|
||||||
|
"reactions_play_sound_label": "Jouer le son des réactions",
|
||||||
|
"reactions_show_label": "Afficher les réactions",
|
||||||
|
"show_hand_raised_timer_label": "Afficher la durée de la main levée"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} favori",
|
"star_rating_input_label_one": "{{count}} favori",
|
||||||
"star_rating_input_label_other": "{{count}} favoris",
|
"star_rating_input_label_other": "{{count}} favoris",
|
||||||
@@ -101,5 +180,12 @@
|
|||||||
"unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>",
|
"unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>",
|
||||||
"unauthenticated_view_login_button": "Connectez vous à votre compte",
|
"unauthenticated_view_login_button": "Connectez vous à votre compte",
|
||||||
"unmute_microphone_button_label": "Allumer le microphone",
|
"unmute_microphone_button_label": "Allumer le microphone",
|
||||||
"version": "Version : {{version}}"
|
"version": "Version : {{version}}",
|
||||||
|
"video_tile": {
|
||||||
|
"always_show": "Toujours afficher",
|
||||||
|
"collapse": "Réduire",
|
||||||
|
"expand": "Développer",
|
||||||
|
"mute_for_me": "Muet pour moi",
|
||||||
|
"volume": "Volume"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+17
-10
@@ -21,7 +21,7 @@
|
|||||||
"submit": "Kirim",
|
"submit": "Kirim",
|
||||||
"upload_file": "Unggah berkas"
|
"upload_file": "Unggah berkas"
|
||||||
},
|
},
|
||||||
"analytics_notice": "Dengan bergabung dalam beta ini, Anda mengizinkan kami untuk mengumpulkan data anonim, yang kami gunakan untuk meningkatkan produk ini. Anda dapat mempelajari lebih lanjut tentang data apa yang kami lacak dalam <2>Kebijakan Privasi</2> dan <5>Kebijakan Kuki</5> kami.",
|
"analytics_notice": "Dengan bergabung dalam beta ini, Anda mengizinkan kami untuk mengumpulkan data anonim, yang kami gunakan untuk meningkatkan produk ini. Anda dapat mempelajari lebih lanjut tentang data apa yang kami lacak dalam <2>Kebijakan Privasi</2> dan <6>Kebijakan Kuki</6> kami.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
"create_account_button": "Buat akun",
|
"create_account_button": "Buat akun",
|
||||||
"create_account_prompt": "<0>Kenapa tidak selesaikan dengan mengatur sebuah kata sandi untuk menjaga akun Anda?</0><1>Anda akan dapat tetap menggunakan nama Anda dan atur sebuah avatar untuk digunakan dalam panggilan di masa mendatang</1>",
|
"create_account_prompt": "<0>Kenapa tidak selesaikan dengan mengatur sebuah kata sandi untuk menjaga akun Anda?</0><1>Anda akan dapat tetap menggunakan nama Anda dan atur sebuah avatar untuk digunakan dalam panggilan di masa mendatang</1>",
|
||||||
@@ -49,12 +49,14 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reaksi",
|
"reaction": "Reaksi",
|
||||||
"reactions": "Reaksi",
|
"reactions": "Reaksi",
|
||||||
|
"reconnecting": "Menghubungkan kembali…",
|
||||||
"settings": "Pengaturan",
|
"settings": "Pengaturan",
|
||||||
"unencrypted": "Tidak terenkripsi",
|
"unencrypted": "Tidak terenkripsi",
|
||||||
"username": "Nama pengguna",
|
"username": "Nama pengguna",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Tampilkan opsi lubang suara iPhone di semua platform",
|
||||||
"crypto_version": "Versi kripto: {{version}}",
|
"crypto_version": "Versi kripto: {{version}}",
|
||||||
"debug_tile_layout_label": "Awakutu tata letak ubin",
|
"debug_tile_layout_label": "Awakutu tata letak ubin",
|
||||||
"device_id": "ID perangkat: {{id}}",
|
"device_id": "ID perangkat: {{id}}",
|
||||||
@@ -64,17 +66,15 @@
|
|||||||
"livekit_server_info": "Info Server LiveKit",
|
"livekit_server_info": "Info Server LiveKit",
|
||||||
"livekit_sfu": "SFU LiveKit: {{url}}",
|
"livekit_sfu": "SFU LiveKit: {{url}}",
|
||||||
"matrix_id": "ID Matrix: {{id}}",
|
"matrix_id": "ID Matrix: {{id}}",
|
||||||
|
"mute_all_audio": "Bisukan semua audio (suara peserta, reaksi, bergabung)",
|
||||||
"show_connection_stats": "Tampilkan statistik koneksi",
|
"show_connection_stats": "Tampilkan statistik koneksi",
|
||||||
"show_non_member_tiles": "Tampilkan ubin untuk media non-anggota",
|
"url_params": "Parameter URL"
|
||||||
"url_params": "Parameter URL",
|
|
||||||
"use_new_membership_manager": "Gunakan implementasi baru dari panggilan MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Gunakan untuk transportasi kunci perangkat. Ini akan kembali ke transportasi kunci ruangan ketika anggota panggilan lain mengirim kunci ruangan"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Koneksi ke server telah hilang.",
|
"disconnected_banner": "Koneksi ke server telah hilang.",
|
||||||
"error": {
|
"error": {
|
||||||
"call_is_not_supported": "Panggilan tidak didukung",
|
"call_is_not_supported": "Panggilan tidak didukung",
|
||||||
"call_not_found": "Panggilan tidak ditemukan",
|
"call_not_found": "Panggilan tidak ditemukan",
|
||||||
"call_not_found_description": "<0>Tautan itu tampaknya bukan milik panggilan yang ada. Periksa apakah Anda memiliki tautan yang tepat, atau <1> buat yang baru</1>.</0>",
|
"call_not_found_description": "<0>Tautan itu tampaknya bukan milik panggilan yang ada. Periksa apakah Anda memiliki tautan yang tepat, atau <2> buat yang baru</2>. </0>",
|
||||||
"connection_lost": "Koneksi terputus",
|
"connection_lost": "Koneksi terputus",
|
||||||
"connection_lost_description": "Anda terputus dari panggilan.",
|
"connection_lost_description": "Anda terputus dari panggilan.",
|
||||||
"e2ee_unsupported": "Peramban tidak kompatibel",
|
"e2ee_unsupported": "Peramban tidak kompatibel",
|
||||||
@@ -83,9 +83,10 @@
|
|||||||
"generic_description": "Mengirimkan log awakutu akan membantu kami melacak masalah.",
|
"generic_description": "Mengirimkan log awakutu akan membantu kami melacak masalah.",
|
||||||
"insufficient_capacity": "Kapasitas tidak mencukupi",
|
"insufficient_capacity": "Kapasitas tidak mencukupi",
|
||||||
"insufficient_capacity_description": "Server telah mencapai kapasitas maksimum dan Anda tidak dapat bergabung dalam panggilan saat ini. Coba lagi nanti, atau hubungi admin server Anda jika masalah masih berlanjut.",
|
"insufficient_capacity_description": "Server telah mencapai kapasitas maksimum dan Anda tidak dapat bergabung dalam panggilan saat ini. Coba lagi nanti, atau hubungi admin server Anda jika masalah masih berlanjut.",
|
||||||
"matrix_rtc_focus_missing": "Server tidak dikonfigurasi untuk bekerja dengan {{brand}}. Silakan hubungi admin server Anda (Domain: {{domain}}, Kode Kesalahan: {{ errorCode }}).",
|
|
||||||
"open_elsewhere": "Dibuka di tab lain",
|
"open_elsewhere": "Dibuka di tab lain",
|
||||||
"open_elsewhere_description": "{{brand}} telah dibuka di tab lain. Jika sepertinya tidak benar, coba muat ulang halaman.",
|
"open_elsewhere_description": "{{brand}} telah dibuka di tab lain. Jika sepertinya tidak benar, coba muat ulang halaman.",
|
||||||
|
"room_creation_restricted": "Gagal membuat panggilan",
|
||||||
|
"room_creation_restricted_description": "Pembuatan panggilan mungkin hanya terbatas untuk pengguna yang diizinkan. Coba lagi nanti, atau hubungi admin server Anda jika masalah berlanjut.",
|
||||||
"unexpected_ec_error": "Terjadi kesalahan tak terduga (<0> Kode Kesalahan:</0><1>{{ errorCode }}</1>). Silakan hubungi admin server Anda."
|
"unexpected_ec_error": "Terjadi kesalahan tak terduga (<0> Kode Kesalahan:</0><1>{{ errorCode }}</1>). Silakan hubungi admin server Anda."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -97,6 +98,11 @@
|
|||||||
"knock_reject_heading": "Akses ditolak",
|
"knock_reject_heading": "Akses ditolak",
|
||||||
"reason": "Alasan: {{reason}}"
|
"reason": "Alasan: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Kembali ke Mode Pembicara",
|
||||||
|
"overlay_description": "Hanya berfungsi saat menggunakan aplikasi",
|
||||||
|
"overlay_title": "Mode Ponsel"
|
||||||
|
},
|
||||||
"hangup_button_label": "Akhiri panggilan",
|
"hangup_button_label": "Akhiri panggilan",
|
||||||
"header_label": "Beranda Element Call",
|
"header_label": "Beranda Element Call",
|
||||||
"header_participants_label": "Peserta",
|
"header_participants_label": "Peserta",
|
||||||
@@ -164,8 +170,11 @@
|
|||||||
"devices": {
|
"devices": {
|
||||||
"camera": "Kamera",
|
"camera": "Kamera",
|
||||||
"camera_numbered": "Kamera {{n}}",
|
"camera_numbered": "Kamera {{n}}",
|
||||||
|
"change_device_button": "Ubah perangkat audio",
|
||||||
"default": "Bawaan",
|
"default": "Bawaan",
|
||||||
"default_named": "Bawaan <2>({{name}})</2>",
|
"default_named": "Bawaan <2>({{name}})</2>",
|
||||||
|
"handset": "Ponsel",
|
||||||
|
"loudspeaker": "Pengeras suara",
|
||||||
"microphone": "Mikrofon",
|
"microphone": "Mikrofon",
|
||||||
"microphone_numbered": "Mikrofon {{n}}",
|
"microphone_numbered": "Mikrofon {{n}}",
|
||||||
"speaker": "Speaker",
|
"speaker": "Speaker",
|
||||||
@@ -190,7 +199,6 @@
|
|||||||
"show_hand_raised_timer_label": "Tampilkan durasi angkat tangan"
|
"show_hand_raised_timer_label": "Tampilkan durasi angkat tangan"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} bintang",
|
|
||||||
"star_rating_input_label_other": "{{count}} bintang",
|
"star_rating_input_label_other": "{{count}} bintang",
|
||||||
"start_new_call": "Mulai panggilan baru",
|
"start_new_call": "Mulai panggilan baru",
|
||||||
"start_video_button_label": "Nyalakan video",
|
"start_video_button_label": "Nyalakan video",
|
||||||
@@ -202,11 +210,10 @@
|
|||||||
"unauthenticated_view_login_button": "Masuk ke akun Anda",
|
"unauthenticated_view_login_button": "Masuk ke akun Anda",
|
||||||
"unauthenticated_view_ssla_caption": "Dengan mengeklik \"Go\", Anda menyetujui <2>Perjanjian Lisensi Perangkat Lunak dan Layanan (SSLA) kami</2>",
|
"unauthenticated_view_ssla_caption": "Dengan mengeklik \"Go\", Anda menyetujui <2>Perjanjian Lisensi Perangkat Lunak dan Layanan (SSLA) kami</2>",
|
||||||
"unmute_microphone_button_label": "Nyalakan mikrofon",
|
"unmute_microphone_button_label": "Nyalakan mikrofon",
|
||||||
"version": "Versi: {{version}}",
|
"version": "Versi {{productName}}: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Selalu tampilkan",
|
"always_show": "Selalu tampilkan",
|
||||||
"camera_starting": "Memuat video...",
|
"camera_starting": "Memuat video...",
|
||||||
"change_fit_contain": "Sesuai dengan bingkai",
|
|
||||||
"collapse": "Tutup",
|
"collapse": "Tutup",
|
||||||
"expand": "Buka",
|
"expand": "Buka",
|
||||||
"mute_for_me": "Bisukan untuk saya",
|
"mute_for_me": "Bisukan untuk saya",
|
||||||
|
|||||||
+50
-6
@@ -21,7 +21,7 @@
|
|||||||
"submit": "Invia",
|
"submit": "Invia",
|
||||||
"upload_file": "Carica file"
|
"upload_file": "Carica file"
|
||||||
},
|
},
|
||||||
"analytics_notice": "Partecipando a questa beta, acconsenti alla raccolta di dati anonimi che usiamo per migliorare il prodotto. Puoi trovare più informazioni su quali dati monitoriamo nella nostra <2>informativa sulla privacy</2> e nell'<5>informativa sui cookie</5>.",
|
"analytics_notice": "Partecipando a questa beta, acconsenti alla raccolta di dati anonimi che usiamo per migliorare il prodotto. Puoi trovare più informazioni su quali dati monitoriamo nella nostra <2>informativa sulla privacy</2> e nell'<6>informativa sui cookie</6>.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
"create_account_button": "Crea profilo",
|
"create_account_button": "Crea profilo",
|
||||||
"create_account_prompt": "<0>Ti va di terminare impostando una password per mantenere il profilo?</0><1>Potrai mantenere il tuo nome e impostare un avatar da usare in chiamate future</1>",
|
"create_account_prompt": "<0>Ti va di terminare impostando una password per mantenere il profilo?</0><1>Potrai mantenere il tuo nome e impostare un avatar da usare in chiamate future</1>",
|
||||||
@@ -49,23 +49,49 @@
|
|||||||
"profile": "Profilo",
|
"profile": "Profilo",
|
||||||
"reaction": "Reazione",
|
"reaction": "Reazione",
|
||||||
"reactions": "Reazioni",
|
"reactions": "Reazioni",
|
||||||
|
"reconnecting": "Riconnessione…",
|
||||||
"settings": "Impostazioni",
|
"settings": "Impostazioni",
|
||||||
"unencrypted": "Non cifrata",
|
"unencrypted": "Non cifrata",
|
||||||
"username": "Nome utente",
|
"username": "Nome utente",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Mostra l'opzione auricolare iPhone su tutte le piattaforme",
|
||||||
"crypto_version": "Versione crittografica: {{version}}",
|
"crypto_version": "Versione crittografica: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Attualmente impostato a: ",
|
||||||
|
"from_config": "Al momento non è impostata alcuna sovrascrittura. Viene usato l'URL da well-known o config.",
|
||||||
|
"label": "URL Livekit personalizzato",
|
||||||
|
"reset": "Reimposta sovrascrittura",
|
||||||
|
"save": "Salva",
|
||||||
|
"saving": "Salvataggio..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Debug della disposizione dei riquadri",
|
"debug_tile_layout_label": "Debug della disposizione dei riquadri",
|
||||||
"device_id": "ID dispositivo: {{id}}",
|
"device_id": "ID dispositivo: {{id}}",
|
||||||
"duplicate_tiles_label": "Numero di copie di riquadri aggiuntivi per partecipante",
|
"duplicate_tiles_label": "Numero di copie di riquadri aggiuntivi per partecipante",
|
||||||
|
"environment_variables": "Variabili di ambiente",
|
||||||
"hostname": "Nome host: {{hostname}}",
|
"hostname": "Nome host: {{hostname}}",
|
||||||
"livekit_server_info": "Informazioni sul server LiveKit",
|
"livekit_server_info": "Informazioni sul server LiveKit",
|
||||||
"livekit_sfu": "SFU LiveKit: {{url}}",
|
"livekit_sfu": "SFU LiveKit: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Compatibile con homeserver che non supportano eventi sticky (ma tutte le altre applicazioni EC sono alla v0.17.0 o successive)",
|
||||||
|
"label": "Compatibilità: eventi di stato e multi SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Compatibile con le vecchie versioni di EC che non supportano multi SFU",
|
||||||
|
"label": "Classico: event di stato e appartenenza più antica alla SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Compatibile solo con homeserver che supportano eventi sticky e tutte le applicazioni EC alla v0.17.0 o successive",
|
||||||
|
"label": "Matrix 2.0: eventi sticky e multi SFU"
|
||||||
|
},
|
||||||
|
"title": "Modalità MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "ID Matrix: {{id}}",
|
"matrix_id": "ID Matrix: {{id}}",
|
||||||
|
"mute_all_audio": "Disattiva tutti gli audio (partecipanti, reazioni, suoni di partecipazione)",
|
||||||
"show_connection_stats": "Mostra le statistiche di connessione",
|
"show_connection_stats": "Mostra le statistiche di connessione",
|
||||||
"show_non_member_tiles": "Mostra i riquadri per i file multimediali non-membri",
|
"url_params": "Parametri URL"
|
||||||
"use_new_membership_manager": "Usa la nuova implementazione della chiamata MembershipManager"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "La connessione al server è stata persa.",
|
"disconnected_banner": "La connessione al server è stata persa.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -76,13 +102,18 @@
|
|||||||
"connection_lost_description": "Sei stato disconnesso dalla chiamata.",
|
"connection_lost_description": "Sei stato disconnesso dalla chiamata.",
|
||||||
"e2ee_unsupported": "Browser incompatibile",
|
"e2ee_unsupported": "Browser incompatibile",
|
||||||
"e2ee_unsupported_description": "Il tuo browser non supporta le chiamate crittografate. I browser supportati sono Chrome, Safari e Firefox 117+.",
|
"e2ee_unsupported_description": "Il tuo browser non supporta le chiamate crittografate. I browser supportati sono Chrome, Safari e Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Impossibile avviare la connessione Livekit",
|
||||||
"generic": "Qualcosa è andato storto",
|
"generic": "Qualcosa è andato storto",
|
||||||
"generic_description": "L'invio dei registri di debug ci aiuterà a rintracciare il problema.",
|
"generic_description": "L'invio dei registri di debug ci aiuterà a rintracciare il problema.",
|
||||||
"insufficient_capacity": "Capacità insufficiente",
|
"insufficient_capacity": "Capacità insufficiente",
|
||||||
"insufficient_capacity_description": "Il server ha raggiunto la capacità massima e non è possibile partecipare alla chiamata in questo momento. Riprova più tardi o contatta l'amministratore del server se il problema persiste.",
|
"insufficient_capacity_description": "Il server ha raggiunto la capacità massima e non è possibile partecipare alla chiamata in questo momento. Riprova più tardi o contatta l'amministratore del server se il problema persiste.",
|
||||||
"matrix_rtc_focus_missing": "Il server non è configurato per funzionare con {{brand}}. Contatta l'amministratore del tuo server (Dominio: {{domain}}, codice di errore: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Il server non è configurato per funzionare con {{brand}}. Contatta l'amministratore del tuo server (Dominio: {{domain}}, codice di errore: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Errore del gestore dei membri",
|
||||||
|
"membership_manager_description": "Il gestore dei membri ha dovuto chiudersi. Ciò è stato causato da numerose richieste di rete consecutive non riuscite.",
|
||||||
"open_elsewhere": "Aperto in un'altra scheda",
|
"open_elsewhere": "Aperto in un'altra scheda",
|
||||||
"open_elsewhere_description": "{{brand}} è stato aperto in un'altra scheda. Se non ti sembra corretto, prova a ricaricare la pagina.",
|
"open_elsewhere_description": "{{brand}} è stato aperto in un'altra scheda. Se non ti sembra corretto, prova a ricaricare la pagina.",
|
||||||
|
"room_creation_restricted": "Impossibile creare la chiamata",
|
||||||
|
"room_creation_restricted_description": "La creazione di chiamate potrebbe essere limitata solo agli utenti autorizzati. Riprova più tardi o contatta l'amministratore del server se il problema persiste.",
|
||||||
"unexpected_ec_error": "Si è verificato un errore imprevisto (<0>Codice errore:</0> <1>{{ errorCode }}</1>). Contatta l'amministratore del tuo server."
|
"unexpected_ec_error": "Si è verificato un errore imprevisto (<0>Codice errore:</0> <1>{{ errorCode }}</1>). Contatta l'amministratore del tuo server."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -94,6 +125,11 @@
|
|||||||
"knock_reject_heading": "Partecipazione non consentita",
|
"knock_reject_heading": "Partecipazione non consentita",
|
||||||
"reason": "Motivo"
|
"reason": "Motivo"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Torna alla modalità altoparlante",
|
||||||
|
"overlay_description": "Funziona solo mentre si usa l'app",
|
||||||
|
"overlay_title": "Modalità cornetta"
|
||||||
|
},
|
||||||
"hangup_button_label": "Termina chiamata",
|
"hangup_button_label": "Termina chiamata",
|
||||||
"header_label": "Inizio di Element Call",
|
"header_label": "Inizio di Element Call",
|
||||||
"header_participants_label": "Partecipanti",
|
"header_participants_label": "Partecipanti",
|
||||||
@@ -138,6 +174,7 @@
|
|||||||
"rageshake_sent": "Grazie!",
|
"rageshake_sent": "Grazie!",
|
||||||
"recaptcha_dismissed": "Recaptcha annullato",
|
"recaptcha_dismissed": "Recaptcha annullato",
|
||||||
"recaptcha_not_loaded": "Recaptcha non caricato",
|
"recaptcha_not_loaded": "Recaptcha non caricato",
|
||||||
|
"recaptcha_ssla_caption": "Questo sito è protetto da ReCAPTCHA e si applicano l'<2>informativa sulla privacy</2> e i <6>termini di servizio</6> di Google.<9></9>Cliccando \"Registra\", accetti il nostro <12>Software and Services License Agreement (SSLA)</12>",
|
||||||
"register": {
|
"register": {
|
||||||
"passwords_must_match": "Le password devono coincidere",
|
"passwords_must_match": "Le password devono coincidere",
|
||||||
"registering": "Registrazione…"
|
"registering": "Registrazione…"
|
||||||
@@ -147,18 +184,25 @@
|
|||||||
"register_heading": "Crea il tuo account",
|
"register_heading": "Crea il tuo account",
|
||||||
"return_home_button": "Torna alla schermata di iniziale",
|
"return_home_button": "Torna alla schermata di iniziale",
|
||||||
"room_auth_view_continue_button": "Continua",
|
"room_auth_view_continue_button": "Continua",
|
||||||
|
"room_auth_view_ssla_caption": "Cliccando \"Partecipa ora alla chiamata\", accetti il nostro <2>Software and Services License Agreement (SSLA)</2>",
|
||||||
"screenshare_button_label": "Condividi schermo",
|
"screenshare_button_label": "Condividi schermo",
|
||||||
"settings": {
|
"settings": {
|
||||||
"audio_tab": {
|
"audio_tab": {
|
||||||
"effect_volume_description": "Regola il volume delle reazioni e degli effetti di alzata di mani.",
|
"effect_volume_description": "Regola il volume delle reazioni e degli effetti di alzata di mani.",
|
||||||
"effect_volume_label": "Volume degli effetti sonori"
|
"effect_volume_label": "Volume degli effetti sonori"
|
||||||
},
|
},
|
||||||
|
"background_blur_header": "Sfondo",
|
||||||
|
"background_blur_label": "Sfoca lo sfondo del video",
|
||||||
|
"blur_not_supported_by_browser": "(La sfocatura dello sfondo non è supportata da questo dispositivo.)",
|
||||||
"developer_tab_title": "Sviluppatore",
|
"developer_tab_title": "Sviluppatore",
|
||||||
"devices": {
|
"devices": {
|
||||||
"camera": "Fotocamera",
|
"camera": "Fotocamera",
|
||||||
"camera_numbered": "Fotocamera {{n}}",
|
"camera_numbered": "Fotocamera {{n}}",
|
||||||
|
"change_device_button": "Cambia dispositivo audio",
|
||||||
"default": "Predefinito",
|
"default": "Predefinito",
|
||||||
"default_named": "Predefinito <2>({{name}})</2>",
|
"default_named": "Predefinito <2>({{name}})</2>",
|
||||||
|
"handset": "Cornetta",
|
||||||
|
"loudspeaker": "Altoparlante",
|
||||||
"microphone": "Microfono",
|
"microphone": "Microfono",
|
||||||
"microphone_numbered": "Microfono {{n}}",
|
"microphone_numbered": "Microfono {{n}}",
|
||||||
"speaker": "Altoparlante",
|
"speaker": "Altoparlante",
|
||||||
@@ -193,12 +237,12 @@
|
|||||||
"switch_camera": "Cambia fotocamera",
|
"switch_camera": "Cambia fotocamera",
|
||||||
"unauthenticated_view_body": "Non hai ancora un profilo? <2>Creane uno</2>",
|
"unauthenticated_view_body": "Non hai ancora un profilo? <2>Creane uno</2>",
|
||||||
"unauthenticated_view_login_button": "Accedi al tuo profilo",
|
"unauthenticated_view_login_button": "Accedi al tuo profilo",
|
||||||
|
"unauthenticated_view_ssla_caption": "Cliccando \"Vai\", accetti il nostro <2>Software and Services License Agreement (SSLA)</2>",
|
||||||
"unmute_microphone_button_label": "Riaccendi il microfono",
|
"unmute_microphone_button_label": "Riaccendi il microfono",
|
||||||
"version": "Versione: {{version}}",
|
"version": "Versione di {{productName}}: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Mostra sempre",
|
"always_show": "Mostra sempre",
|
||||||
"camera_starting": "Caricamento del video...",
|
"camera_starting": "Caricamento del video...",
|
||||||
"change_fit_contain": "Adatta al frame",
|
|
||||||
"collapse": "Riduci",
|
"collapse": "Riduci",
|
||||||
"expand": "Espandi",
|
"expand": "Espandi",
|
||||||
"mute_for_me": "Disattiva l'audio per me",
|
"mute_for_me": "Disattiva l'audio per me",
|
||||||
|
|||||||
@@ -110,7 +110,6 @@
|
|||||||
"unmute_microphone_button_label": "マイクのミュート解除",
|
"unmute_microphone_button_label": "マイクのミュート解除",
|
||||||
"version": "バージョン:{{version}}",
|
"version": "バージョン:{{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"change_fit_contain": "フレームに合わせる",
|
|
||||||
"mute_for_me": "ミュートする",
|
"mute_for_me": "ミュートする",
|
||||||
"volume": "ボリューム"
|
"volume": "ボリューム"
|
||||||
}
|
}
|
||||||
|
|||||||
+45
-5
@@ -49,13 +49,23 @@
|
|||||||
"profile": "Profils",
|
"profile": "Profils",
|
||||||
"reaction": "Reakcija",
|
"reaction": "Reakcija",
|
||||||
"reactions": "Reakcijas",
|
"reactions": "Reakcijas",
|
||||||
|
"reconnecting": "Notiek savienojuma atjaunošana...",
|
||||||
"settings": "Iestatījumi",
|
"settings": "Iestatījumi",
|
||||||
"unencrypted": "Nav šifrēts",
|
"unencrypted": "Nav šifrēts",
|
||||||
"username": "Lietotājvārds",
|
"username": "Lietotājvārds",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Rādīt iPhone austiņu opciju visās platformās",
|
||||||
"crypto_version": "Crypto versija: {{version}}",
|
"crypto_version": "Crypto versija: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Iestatīts uz: ",
|
||||||
|
"from_config": "Šobrīd nav pārrakstīts. Tiek izmantots URL no well-known vai konfigurācijas.",
|
||||||
|
"label": "Pielāgots Livekit URL",
|
||||||
|
"reset": "Atiestatīt pārrakstīto",
|
||||||
|
"save": "Saglabāt",
|
||||||
|
"saving": "Saglabāju..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Vietu izkārtojuma atkļūdošana",
|
"debug_tile_layout_label": "Vietu izkārtojuma atkļūdošana",
|
||||||
"device_id": "Ierīces ID: {{id}}",
|
"device_id": "Ierīces ID: {{id}}",
|
||||||
"duplicate_tiles_label": "Papildu vietu kopiju skaits vienam dalībniekam",
|
"duplicate_tiles_label": "Papildu vietu kopiju skaits vienam dalībniekam",
|
||||||
@@ -63,11 +73,25 @@
|
|||||||
"hostname": "Saimniekdatora nosaukums: {{hostname}}",
|
"hostname": "Saimniekdatora nosaukums: {{hostname}}",
|
||||||
"livekit_server_info": "LiveKit Server informācija",
|
"livekit_server_info": "LiveKit Server informācija",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Savietojams ar mājas serveriem, kas neatbalsta fiksētos notikumus (bet visi pārējie EC klienti ir v0.17.0 vai jaunāki)",
|
||||||
|
"label": "Savietojamība: state notikumi & ulti SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Savietojams ar vecākām EC versijām, kas neatbalsta multi SFU",
|
||||||
|
"label": "Mantojums: state events & vecākā SFU dalība"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Savietojams tikai ar mājas serveriem, kas atbalsta fiksētos notikumus, un visiem EC klientiem v0.17.0 vai jaunāku versiju.",
|
||||||
|
"label": "Matrix 2.0: fiksētie notikumi un multi SFU"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC režīms"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
|
"mute_all_audio": "Izslēgt visu audio (dalībnieku, reakciju, pievienošanās skaņu)",
|
||||||
"show_connection_stats": "Rādīt savienojuma statistiku",
|
"show_connection_stats": "Rādīt savienojuma statistiku",
|
||||||
"show_non_member_tiles": "Rādīt vietu medijiem no ne-dalībniekiem",
|
"url_params": "URL parametri"
|
||||||
"url_params": "URL parametri",
|
|
||||||
"use_new_membership_manager": "Izmantojiet jauno zvana MembershipManager versiju"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Ir zaudēts savienojums ar serveri.",
|
"disconnected_banner": "Ir zaudēts savienojums ar serveri.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -78,13 +102,19 @@
|
|||||||
"connection_lost_description": "Jūs tikāt atvienots no zvana.",
|
"connection_lost_description": "Jūs tikāt atvienots no zvana.",
|
||||||
"e2ee_unsupported": "Nesaderīgs pārlūks",
|
"e2ee_unsupported": "Nesaderīgs pārlūks",
|
||||||
"e2ee_unsupported_description": "Jūsu tīmekļa pārlūkprogramma neatbalsta encrypted zvanus. Atbalstītās pārlūkprogrammas ir Chrome, Safari un Firefox 117+.",
|
"e2ee_unsupported_description": "Jūsu tīmekļa pārlūkprogramma neatbalsta encrypted zvanus. Atbalstītās pārlūkprogrammas ir Chrome, Safari un Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Neizdevās uzsākt Livekit savienojumu",
|
||||||
"generic": "Kaut kas nogāja greizi",
|
"generic": "Kaut kas nogāja greizi",
|
||||||
"generic_description": "Atkļūdošanas žurnālu iesniegšana palīdzēs mums izsekot problēmu.",
|
"generic_description": "Atkļūdošanas žurnālu iesniegšana palīdzēs mums izsekot problēmu.",
|
||||||
"insufficient_capacity": "Nepietiekama jauda",
|
"insufficient_capacity": "Nepietiekama jauda",
|
||||||
"insufficient_capacity_description": "Serveris ir sasniedzis maksimālo ietilpību, un jūs šobrīd nevarat pievienoties zvanam. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.",
|
"insufficient_capacity_description": "Serveris ir sasniedzis maksimālo ietilpību, un jūs šobrīd nevarat pievienoties zvanam. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.",
|
||||||
"matrix_rtc_focus_missing": "Serveris nav konfigurēts darbam ar{{brand}}. Lūdzu, sazinieties ar sava servera administratoru (Domēns: {{domain}}, Kļūdas kods: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Serveris nav konfigurēts darbam ar{{brand}}. Lūdzu, sazinieties ar sava servera administratoru (Domēns: {{domain}}, Kļūdas kods: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Dalības pārvaldnieka kļūda",
|
||||||
|
"membership_manager_description": "Dalības pārvaldnieks bija jāslēdz. To izraisīja daudzi secīgi, neveiksmīgi tīkla pieprasījumi.",
|
||||||
|
"no_matrix_2_authorization_service": "Jūsu multivides servera (SFU) autorizācijas pakalpojums ir novecojis.",
|
||||||
"open_elsewhere": "Atvērts citā cilnē",
|
"open_elsewhere": "Atvērts citā cilnē",
|
||||||
"open_elsewhere_description": "{{brand}} ir atvērts citā cilnē. Ja tas neizklausās pareizi, mēģiniet atkārtoti ielādēt lapu.",
|
"open_elsewhere_description": "{{brand}} ir atvērts citā cilnē. Ja tas neizklausās pareizi, mēģiniet atkārtoti ielādēt lapu.",
|
||||||
|
"room_creation_restricted": "Neizdevās izveidot zvanu",
|
||||||
|
"room_creation_restricted_description": "Zvanu izveide, iespējams, ir atļauta tikai pilnvarotiem lietotājiem. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.",
|
||||||
"unexpected_ec_error": "Negaidīta kļūda (<0>kļūdas kods: </0> <1> {{ errorCode }}</1>). Lūdzu, sazinieties ar servera administratoru."
|
"unexpected_ec_error": "Negaidīta kļūda (<0>kļūdas kods: </0> <1> {{ errorCode }}</1>). Lūdzu, sazinieties ar servera administratoru."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -96,6 +126,11 @@
|
|||||||
"knock_reject_heading": "Piekļuve liegta",
|
"knock_reject_heading": "Piekļuve liegta",
|
||||||
"reason": "Iemesls: {{reason}}"
|
"reason": "Iemesls: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Atpakaļ uz skaļruņa režīmu",
|
||||||
|
"overlay_description": "Darbojas tikai lietotnes lietošanas laikā",
|
||||||
|
"overlay_title": "Klausules režīms"
|
||||||
|
},
|
||||||
"hangup_button_label": "Beigt zvanu",
|
"hangup_button_label": "Beigt zvanu",
|
||||||
"header_label": "Element Call sākums",
|
"header_label": "Element Call sākums",
|
||||||
"header_participants_label": "Dalībnieki",
|
"header_participants_label": "Dalībnieki",
|
||||||
@@ -158,12 +193,18 @@
|
|||||||
"effect_volume_description": "Pielāgojiet skaļumu, kurā tiek atskaņotas reakcijas un paceltas rokas skaņas.",
|
"effect_volume_description": "Pielāgojiet skaļumu, kurā tiek atskaņotas reakcijas un paceltas rokas skaņas.",
|
||||||
"effect_volume_label": "Skaņas efektu skaļums"
|
"effect_volume_label": "Skaņas efektu skaļums"
|
||||||
},
|
},
|
||||||
|
"background_blur_header": "Fons",
|
||||||
|
"background_blur_label": "Izplūdināt video fonu",
|
||||||
|
"blur_not_supported_by_browser": "(Šī ierīce neatbalsta fona izplūšanu.)",
|
||||||
"developer_tab_title": "Izstrādātājs",
|
"developer_tab_title": "Izstrādātājs",
|
||||||
"devices": {
|
"devices": {
|
||||||
"camera": "Kamera",
|
"camera": "Kamera",
|
||||||
"camera_numbered": "Kamera {{n}}",
|
"camera_numbered": "Kamera {{n}}",
|
||||||
|
"change_device_button": "Mainīt audio ierīci",
|
||||||
"default": "Noklusējums",
|
"default": "Noklusējums",
|
||||||
"default_named": "Noklusējums <2> ({{name}} )</2>",
|
"default_named": "Noklusējums <2> ({{name}} )</2>",
|
||||||
|
"handset": "Klausule",
|
||||||
|
"loudspeaker": "Skaļrunis",
|
||||||
"microphone": "Mikrofons",
|
"microphone": "Mikrofons",
|
||||||
"microphone_numbered": "Mikrofons {{n}}",
|
"microphone_numbered": "Mikrofons {{n}}",
|
||||||
"speaker": "Skaļrunis",
|
"speaker": "Skaļrunis",
|
||||||
@@ -205,7 +246,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Vienmēr rādīt",
|
"always_show": "Vienmēr rādīt",
|
||||||
"camera_starting": "Video ielāde...",
|
"camera_starting": "Video ielāde...",
|
||||||
"change_fit_contain": "Pielāgot rāmim",
|
|
||||||
"collapse": "Sakļaut",
|
"collapse": "Sakļaut",
|
||||||
"expand": "Izvērst",
|
"expand": "Izvērst",
|
||||||
"mute_for_me": "Klusums man",
|
"mute_for_me": "Klusums man",
|
||||||
|
|||||||
@@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"a11y": {
|
||||||
|
"user_menu": "Gebruikersmenu"
|
||||||
|
},
|
||||||
|
"action": {
|
||||||
|
"close": "Sluiten",
|
||||||
|
"copy_link": "Link kopiëren",
|
||||||
|
"edit": "Bewerken",
|
||||||
|
"go": "Ga",
|
||||||
|
"invite": "Uitnodigen",
|
||||||
|
"lower_hand": "Hand laten zakken",
|
||||||
|
"no": "Nee",
|
||||||
|
"pick_reaction": "Reactie kiezen",
|
||||||
|
"raise_hand": "Hand opsteken",
|
||||||
|
"register": "Registreren",
|
||||||
|
"remove": "Verwijderen",
|
||||||
|
"show_less": "Minder weergeven",
|
||||||
|
"show_more": "Meer weergeven",
|
||||||
|
"sign_in": "Aanmelden",
|
||||||
|
"sign_out": "Afmelden",
|
||||||
|
"submit": "Indienen",
|
||||||
|
"upload_file": "Bestand uploaden"
|
||||||
|
},
|
||||||
|
"analytics_notice": "Door deel te nemen aan deze bètaversie stemt u in met het verzamelen van anonieme gegevens, die we gebruiken om het product te verbeteren. Meer informatie over welke gegevens we bijhouden, vindt u in ons privacybeleid <2>Privacybeleid</2> en ons cookiebeleid <6>Cookiebeleid</6>.",
|
||||||
|
"call_ended_view": {
|
||||||
|
"create_account_button": "Account aanmaken",
|
||||||
|
"create_account_prompt": "<0>Waarom sluit u niet af met het instellen van een wachtwoord om uw account te bewaren?</0><1>U kunt uw naam behouden en een avatar instellen voor gebruik bij toekomstige gesprekken.</1>",
|
||||||
|
"feedback_done": "<0>Bedankt voor je feedback!</0>",
|
||||||
|
"feedback_prompt": "<0>We horen graag uw feedback, zodat we uw ervaring kunnen verbeteren.</0>",
|
||||||
|
"headline": "{{displayName}}, uw gesprek is beëindigd.",
|
||||||
|
"not_now_button": "Niet nu, ga terug naar het startscherm.",
|
||||||
|
"reconnect_button": "Opnieuw verbinden",
|
||||||
|
"survey_prompt": "Hoe is het gegaan?"
|
||||||
|
},
|
||||||
|
"call_name": "Naam van de oproep",
|
||||||
|
"common": {
|
||||||
|
"analytics": "Statistieken",
|
||||||
|
"audio": "Audio",
|
||||||
|
"avatar": "Avatar",
|
||||||
|
"back": "Terug",
|
||||||
|
"display_name": "Weergavenaam",
|
||||||
|
"encrypted": "Versleuteld",
|
||||||
|
"home": "Startpagina",
|
||||||
|
"loading": "Bezig met laden...",
|
||||||
|
"next": "Volgende",
|
||||||
|
"options": "Opties",
|
||||||
|
"password": "Wachtwoord",
|
||||||
|
"preferences": "Voorkeuren",
|
||||||
|
"profile": "Profiel",
|
||||||
|
"reaction": "Reactie",
|
||||||
|
"reactions": "Reacties",
|
||||||
|
"reconnecting": "Opnieuw verbinden...",
|
||||||
|
"settings": "Instellingen",
|
||||||
|
"unencrypted": "Niet versleuteld",
|
||||||
|
"username": "Gebruikersnaam",
|
||||||
|
"video": "Video"
|
||||||
|
},
|
||||||
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "iPhone-oortelefoonoptie op alle platformen weergeven",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"save": "Opslaan",
|
||||||
|
"saving": "Bezig met opslaan..."
|
||||||
|
},
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"title": "MatrixRTC modus"
|
||||||
|
},
|
||||||
|
"matrix_id": "Matrix ID:{{id}}",
|
||||||
|
"mute_all_audio": "Alle audio dempen (deelnemers, reacties, geluiden bij deelname)",
|
||||||
|
"show_connection_stats": "Verbindingsstatistieken weergeven"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"matrix_rtc_transport_missing": "De server is niet geconfigureerd om te werken met {{brand}}. Neem contact op met uw serverbeheerder (Domein: {{domain}}, Foutcode: {{ errorCode }}).",
|
||||||
|
"no_matrix_2_authorization_service": "De autorisatieservice voor uw mediaserver (SFU) is verouderd."
|
||||||
|
},
|
||||||
|
"mute_microphone_button_label": "Microfoon dempen",
|
||||||
|
"settings": {
|
||||||
|
"preferences_tab": {
|
||||||
|
"developer_mode_label_description": "Schakel de ontwikkelaarsmodus is en geef het tabblad met ontwikkelaarsinstellingen weer.",
|
||||||
|
"reactions_show_description": "Geef een animatie weer wanneer iemand een reactie verstuurt.",
|
||||||
|
"reactions_show_label": "Reacties weergeven",
|
||||||
|
"show_hand_raised_timer_description": "Geef een timer weer wanneer een deelnemer zijn hand opsteekt",
|
||||||
|
"show_hand_raised_timer_label": "Duur van het opsteken van de hand weergeven"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"unmute_microphone_button_label": "Microfoon dempen opheffen",
|
||||||
|
"video_tile": {
|
||||||
|
"always_show": "Altijd weergeven",
|
||||||
|
"camera_starting": "Video wordt geladen...",
|
||||||
|
"collapse": "Samenvouwen",
|
||||||
|
"expand": "Uitbreiden",
|
||||||
|
"mute_for_me": "Dempen voor mij",
|
||||||
|
"muted_for_me": "Gedempt voor mij",
|
||||||
|
"volume": "Volume",
|
||||||
|
"waiting_for_media": "Wachten op media..."
|
||||||
|
}
|
||||||
|
}
|
||||||
+74
-20
@@ -3,6 +3,7 @@
|
|||||||
"user_menu": "Menu użytkownika"
|
"user_menu": "Menu użytkownika"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"blur_background": "Rozmycie tła",
|
||||||
"close": "Zamknij",
|
"close": "Zamknij",
|
||||||
"copy_link": "Kopiuj link",
|
"copy_link": "Kopiuj link",
|
||||||
"edit": "Edytuj",
|
"edit": "Edytuj",
|
||||||
@@ -21,7 +22,7 @@
|
|||||||
"submit": "Wyślij",
|
"submit": "Wyślij",
|
||||||
"upload_file": "Prześlij plik"
|
"upload_file": "Prześlij plik"
|
||||||
},
|
},
|
||||||
"analytics_notice": "Uczestnicząc w tej becie, upoważniasz nas do zbierania anonimowych danych, które wykorzystamy do ulepszenia produktu. Dowiedz się więcej na temat danych, które zbieramy w naszej <2>Polityce prywatności</2> i <5>Polityce ciasteczek</5>.",
|
"analytics_notice": "Biorąc udział w wersji beta, wyrażasz zgodę na gromadzenie anonimowych danych, które wykorzystujemy w celu ulepszenia naszego produktu. Więcej informacji na temat danych, które śledzimy, znajdziesz w naszej <2>Polityce prywatności</2> dla i <6>Polityce ciasteczek</6>.",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
"create_account_button": "Utwórz konto",
|
"create_account_button": "Utwórz konto",
|
||||||
"create_account_prompt": "<0>Może zechcesz ustawić hasło, aby zachować swoje konto?</0><1>Będziesz w stanie utrzymać swoją nazwę i ustawić awatar do wyświetlania podczas połączeń w przyszłości</1>",
|
"create_account_prompt": "<0>Może zechcesz ustawić hasło, aby zachować swoje konto?</0><1>Będziesz w stanie utrzymać swoją nazwę i ustawić awatar do wyświetlania podczas połączeń w przyszłości</1>",
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
"display_name": "Nazwa wyświetlana",
|
"display_name": "Nazwa wyświetlana",
|
||||||
"encrypted": "Szyfrowane",
|
"encrypted": "Szyfrowane",
|
||||||
"home": "Strona domowa",
|
"home": "Strona domowa",
|
||||||
"loading": "Ładowanie…",
|
"loading": "Wczytywanie…",
|
||||||
"next": "Dalej",
|
"next": "Dalej",
|
||||||
"options": "Opcje",
|
"options": "Opcje",
|
||||||
"password": "Hasło",
|
"password": "Hasło",
|
||||||
@@ -49,13 +50,23 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reakcja",
|
"reaction": "Reakcja",
|
||||||
"reactions": "Reakcje",
|
"reactions": "Reakcje",
|
||||||
|
"reconnecting": "Próba ponownego połączenia...",
|
||||||
"settings": "Ustawienia",
|
"settings": "Ustawienia",
|
||||||
"unencrypted": "Nie szyfrowane",
|
"unencrypted": "Nie szyfrowane",
|
||||||
"username": "Nazwa użytkownika",
|
"username": "Nazwa użytkownika",
|
||||||
"video": "Wideo"
|
"video": "Wideo"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Pokaż opcję słuchawki iPhone na wszystkich platformach",
|
||||||
"crypto_version": "Wersja krypto: {{version}}",
|
"crypto_version": "Wersja krypto: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Aktualnie ustawione na: ",
|
||||||
|
"from_config": "Aktualnie nie nadpisano ustawienia. Używany jest adres URL z dobrego źródła lub konfiguracji.",
|
||||||
|
"label": "Własny Livekit-url",
|
||||||
|
"reset": "Zresetuj nadpisanie",
|
||||||
|
"save": "Zapisz",
|
||||||
|
"saving": "Zapisuję..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Układ kafelków Debug",
|
"debug_tile_layout_label": "Układ kafelków Debug",
|
||||||
"device_id": "ID urządzenia: {{id}}",
|
"device_id": "ID urządzenia: {{id}}",
|
||||||
"duplicate_tiles_label": "Liczba dodatkowych kopii kafelków na uczestnika",
|
"duplicate_tiles_label": "Liczba dodatkowych kopii kafelków na uczestnika",
|
||||||
@@ -63,39 +74,70 @@
|
|||||||
"hostname": "Nazwa hosta: {{hostname}}",
|
"hostname": "Nazwa hosta: {{hostname}}",
|
||||||
"livekit_server_info": "Informacje serwera LiveKit",
|
"livekit_server_info": "Informacje serwera LiveKit",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Kompatybilny z serwerami domowymi, które nie obsługują sticky events (ale wszyscy inni klienci EC mają wersję v0.17.0 lub nowszą)",
|
||||||
|
"label": "Kompatybilność: state events & multi SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Kompatybilny ze starszymi wersjami EC, które nie wspierają multi SFU",
|
||||||
|
"label": "Przestarzałe: state events & oldest membership SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Kompatybilny tylko z serwerami domowymi obsługującymi sticky events i wszystkimi klientami EC w wersji v0.17.0 lub nowszej",
|
||||||
|
"label": "Matrix 2.0: sticky events & multi SFU"
|
||||||
|
},
|
||||||
|
"title": "Tryb MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "ID Matrix: {{id}}",
|
"matrix_id": "ID Matrix: {{id}}",
|
||||||
|
"mute_all_audio": "Wycisz cały dźwięk (uczestnicy, reakcje, dźwięki dołączenia)",
|
||||||
"show_connection_stats": "Pokaż statystyki połączenia",
|
"show_connection_stats": "Pokaż statystyki połączenia",
|
||||||
"show_non_member_tiles": "Pokaż kafelki dla mediów, które nie są od członków",
|
"url_params": "Parametry URL"
|
||||||
"url_params": "Parametry URL",
|
|
||||||
"use_new_membership_manager": "Użyj nowej implementacji połączenia MembershipManager"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Utracono połączenie z serwerem.",
|
"disconnected_banner": "Utracono połączenie z serwerem.",
|
||||||
"error": {
|
"error": {
|
||||||
"call_is_not_supported": "Połączenie nie jest obsługiwane",
|
"call_is_not_supported": "Połączenie nie jest obsługiwane",
|
||||||
"call_not_found": "Nie znaleziono połączenia",
|
"call_not_found": "Nie znaleziono połączenia",
|
||||||
"call_not_found_description": "<0>Wygląda na to, że ten link nie należy do żadnego istniejącego połączenia. Sprawdź, czy posiadasz prawidłowy link lub <1>utwórz nowy</1>.</0>",
|
"call_not_found_description": "<0>Wygląda na to, że ten link nie należy do żadnego istniejącego połączenia. Sprawdź, czy masz prawidłowy link lub <2> utwórz nowy</2>.</0>",
|
||||||
"connection_lost": "Utracono połączenie",
|
"connection_lost": "Utracono połączenie",
|
||||||
"connection_lost_description": "Zostałeś rozłączony z rozmowy.",
|
"connection_lost_description": "Zostałeś rozłączony z rozmowy.",
|
||||||
"e2ee_unsupported": "Niekompatybilna przeglądarka",
|
"e2ee_unsupported": "Niekompatybilna przeglądarka",
|
||||||
"e2ee_unsupported_description": "Twoja przeglądarka nie wspiera szyfrowanych połączeń. Obsługiwane przeglądarki obejmują Chrome, Safari i Firefox 117+.",
|
"e2ee_unsupported_description": "Twoja przeglądarka nie wspiera szyfrowanych połączeń. Obsługiwane przeglądarki obejmują Chrome, Safari i Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Nie udało się uruchomić połączenia Livekit",
|
||||||
"generic": "Coś poszło nie tak",
|
"generic": "Coś poszło nie tak",
|
||||||
"generic_description": "Wysłanie dziennika debug, pozwoli nam namierzyć problem.",
|
"generic_description": "Wysłanie dziennika debug, pozwoli nam namierzyć problem.",
|
||||||
"insufficient_capacity": "Za mało miejsca",
|
"insufficient_capacity": "Za mało miejsca",
|
||||||
"insufficient_capacity_description": "Serwer osiągnął maksymalną pojemność, przez co nie możesz dołączyć do połączenia. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie zniknie.",
|
"insufficient_capacity_description": "Serwer osiągnął maksymalną pojemność, przez co nie możesz dołączyć do połączenia. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie zniknie.",
|
||||||
"matrix_rtc_focus_missing": "Serwer nie jest skonfigurowany do pracy z {{brand}}. Prosimy o kontakt z administratorem serwera (Domena: {{domain}}, Kod błędu: {{ errorCode }}).",
|
"livekit_connection_error": "Nie udało się połączyć z serwerem Livekit",
|
||||||
|
"livekit_connection_error_description": "Wystąpił błąd podczas łączenia się z serwerem Livekit (<1>Przyczyna:</1> <2>{{ reason }}</2>).",
|
||||||
|
"matrix_rtc_transport_missing": "Serwer nie jest skonfigurowany do pracy z {{brand}}. Prosimy o kontakt z administratorem serwera (Domena: {{domain}}, Kod błędu: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Błąd menedżera członkostwa",
|
||||||
|
"membership_manager_description": "Menedżer członkostwa został zamknięty przez zbyt wiele powtarzających się błędów połączenia.",
|
||||||
|
"no_matrix_2_authorization_service": "Usługa autoryzacji dla serwera multimediów (SFU) jest nieaktualna.",
|
||||||
"open_elsewhere": "Otwarto w innej karcie",
|
"open_elsewhere": "Otwarto w innej karcie",
|
||||||
"open_elsewhere_description": "{{brand}} został otwarty w innej karcie. Jeśli tak nie jest, spróbuj odświeżyć stronę.",
|
"open_elsewhere_description": "{{brand}} został otwarty w innej karcie. Jeśli tak nie jest, spróbuj odświeżyć stronę.",
|
||||||
|
"peer_connection_timeout": "Upłynął limit czasu połączenia",
|
||||||
|
"peer_connection_timeout_description": "Upłynął czas oczekiwania na połączenie z serwerem multimediów. Spróbuj połączyć się z inną siecią lub wyłączyć VPN. Jeśli problem nadal występuje, zapoznaj się z naszym <0>poradnikiem rozwiązywania problemów</0> lub skontaktuj się z administratorem serwera.",
|
||||||
|
"room_creation_restricted": "Nie udało się utworzyć połączenia",
|
||||||
|
"room_creation_restricted_description": "Tworzenie połączeń mogło zostać ograniczone tylko do autoryzowanych użytkowników. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie minie.",
|
||||||
|
"sticky_events_required": "Serwer domowy nie wspiera połączeń Matrix 2.0",
|
||||||
|
"sticky_events_required_description": "Wybrana konfiguracja została ustawiona na korzystanie z połączeń Matrix 2.0, lecz serwer domowy nie wspiera ogłaszania sticky events (MSC4354). Poproś administratora serwera o aktualizację lub zmień konfigurację.",
|
||||||
"unexpected_ec_error": "Wystąpił nieoczekiwany błąd (<0>Kod błędu:</0> <1>{{ errorCode }}</1>). Skontaktuj się z administratorem serwera."
|
"unexpected_ec_error": "Wystąpił nieoczekiwany błąd (<0>Kod błędu:</0> <1>{{ errorCode }}</1>). Skontaktuj się z administratorem serwera."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
"banned_body": "Zostałeś zbanowany z pokoju.",
|
"banned_body": "Zostałeś zbanowany z pokoju.",
|
||||||
"banned_heading": "Zbanowany",
|
"banned_heading": "Zbanowany",
|
||||||
"call_ended_body": "Zostałeś usunięty z rozmowy.",
|
"call_ended_body": "Zostałeś usunięty z połączenia.",
|
||||||
"call_ended_heading": "Połączenie zakończone",
|
"call_ended_heading": "Połączenie zakończone",
|
||||||
"knock_reject_body": "Członkowie pokoju odrzucili Twoją prośbę o dołączenie.",
|
"knock_reject_body": "Członkowie pokoju odrzucili Twoją prośbę o dołączenie.",
|
||||||
"knock_reject_heading": "Nie możesz dołączyć",
|
"knock_reject_heading": "Nie możesz dołączyć",
|
||||||
"reason": "Powód: {{reason}}"
|
"reason": "Powód: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Powrót do trybu głośnika",
|
||||||
|
"overlay_description": "Działa tylko podczas korzystania z aplikacji",
|
||||||
|
"overlay_title": "Tryb słuchawkowy"
|
||||||
|
},
|
||||||
"hangup_button_label": "Zakończ połączenie",
|
"hangup_button_label": "Zakończ połączenie",
|
||||||
"header_label": "Strona główna Element Call",
|
"header_label": "Strona główna Element Call",
|
||||||
"header_participants_label": "Uczestnicy",
|
"header_participants_label": "Uczestnicy",
|
||||||
@@ -105,17 +147,18 @@
|
|||||||
},
|
},
|
||||||
"join_existing_call_modal": {
|
"join_existing_call_modal": {
|
||||||
"join_button": "Tak, dołącz do połączenia",
|
"join_button": "Tak, dołącz do połączenia",
|
||||||
"text": "Te połączenie już istnieje, czy chcesz do niego dołączyć?",
|
"text": "Połączenie już istnieje, czy chcesz do niej dołączyć?",
|
||||||
"title": "Dołączyć do istniejącego połączenia?"
|
"title": "Dołączyć do istniejącego połączenia?"
|
||||||
},
|
},
|
||||||
"layout_grid_label": "Siatka",
|
"layout_grid_label": "Siatka",
|
||||||
"layout_spotlight_label": "Centrum uwagi",
|
"layout_spotlight_label": "Centrum uwagi",
|
||||||
|
"layout_switch_label": "Układ",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
"ask_to_join": "Poproś o dołączenie do rozmowy",
|
"ask_to_join": "Poproś o dołączenie do połączenia",
|
||||||
"join_as_guest": "Dołącz jako gość",
|
"join_as_guest": "Dołącz jako gość",
|
||||||
"join_button": "Dołącz do połączenia",
|
"join_button": "Dołącz do połączenia",
|
||||||
"leave_button": "Wróć do ostatnie",
|
"leave_button": "Wróć do ostatnie",
|
||||||
"waiting_for_invite": "Żądanie wysłane"
|
"waiting_for_invite": "Prośba wysłana! Oczekiwanie na zatwierdzenie…"
|
||||||
},
|
},
|
||||||
"log_in": "Zaloguj",
|
"log_in": "Zaloguj",
|
||||||
"logging_in": "Logowanie…",
|
"logging_in": "Logowanie…",
|
||||||
@@ -155,15 +198,22 @@
|
|||||||
"screenshare_button_label": "Udostępnij ekran",
|
"screenshare_button_label": "Udostępnij ekran",
|
||||||
"settings": {
|
"settings": {
|
||||||
"audio_tab": {
|
"audio_tab": {
|
||||||
"effect_volume_description": "Dostosuj głośność, z jaką odtwarzane są efekty reakcji i podniesionej ręki",
|
"effect_volume_description": "Dostosuj głośność efektów reakcji i podniesienia ręki.",
|
||||||
"effect_volume_label": "Głośność efektu dźwiękowego"
|
"effect_volume_label": "Głośność efektów dźwiękowych"
|
||||||
},
|
},
|
||||||
|
"background_blur_header": "Tło",
|
||||||
|
"background_blur_label": "Rozmycie tła wideo",
|
||||||
|
"blur_not_supported_by_browser": "(Rozmycie tła nie jest wspierane przez to urządzenie.)",
|
||||||
"developer_tab_title": "Programista",
|
"developer_tab_title": "Programista",
|
||||||
"devices": {
|
"devices": {
|
||||||
|
"activating": "Aktywuję…",
|
||||||
"camera": "Kamera",
|
"camera": "Kamera",
|
||||||
"camera_numbered": "Kamera {{n}}",
|
"camera_numbered": "Kamera {{n}}",
|
||||||
|
"change_device_button": "Zmień urządzenie audio",
|
||||||
"default": "Domyślne",
|
"default": "Domyślne",
|
||||||
"default_named": "Domyślne <2>({{name}})</2>",
|
"default_named": "Domyślne <2>({{name}})</2>",
|
||||||
|
"handset": "Słuchawka",
|
||||||
|
"loudspeaker": "Głośnomówiący",
|
||||||
"microphone": "Mikrofon",
|
"microphone": "Mikrofon",
|
||||||
"microphone_numbered": "Mikrofon {{n}}",
|
"microphone_numbered": "Mikrofon {{n}}",
|
||||||
"speaker": "Głośnik",
|
"speaker": "Głośnik",
|
||||||
@@ -179,7 +229,7 @@
|
|||||||
"preferences_tab": {
|
"preferences_tab": {
|
||||||
"developer_mode_label": "Tryb programisty",
|
"developer_mode_label": "Tryb programisty",
|
||||||
"developer_mode_label_description": "Włącz tryb programisty i wyświetl kartę ustawień programisty.",
|
"developer_mode_label_description": "Włącz tryb programisty i wyświetl kartę ustawień programisty.",
|
||||||
"introduction": "Tutaj możesz skonfigurować dodatkowe opcje dla lepszych doświadczeń.",
|
"introduction": "Tutaj możesz skonfigurować dodatkowe opcje dla lepszego komfortu użytkowania.",
|
||||||
"reactions_play_sound_description": "Odtwórz efekt dźwiękowy, gdy ktoś wyślę reakcję w trakcie połączenia.",
|
"reactions_play_sound_description": "Odtwórz efekt dźwiękowy, gdy ktoś wyślę reakcję w trakcie połączenia.",
|
||||||
"reactions_play_sound_label": "Odtwórz dźwięki reakcji",
|
"reactions_play_sound_label": "Odtwórz dźwięki reakcji",
|
||||||
"reactions_show_description": "Odtwórz animację, gdy ktoś wyślę reakcję.",
|
"reactions_show_description": "Odtwórz animację, gdy ktoś wyślę reakcję.",
|
||||||
@@ -188,27 +238,31 @@
|
|||||||
"show_hand_raised_timer_label": "Pokaż czas po podniesieniu ręki"
|
"show_hand_raised_timer_label": "Pokaż czas po podniesieniu ręki"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} gwiazdki",
|
"star_rating_input_label_one": "{{count}} gwiazdka",
|
||||||
"star_rating_input_label_other": "{{count}} gwiazdki",
|
"star_rating_input_label_few": "{{count}} gwiazdki",
|
||||||
|
"star_rating_input_label_many": "{{count}} gwiazdek",
|
||||||
"start_new_call": "Rozpocznij nowe połączenie",
|
"start_new_call": "Rozpocznij nowe połączenie",
|
||||||
"start_video_button_label": "Rozpocznij wideo",
|
"start_video_button_label": "Rozpocznij wideo",
|
||||||
"stop_screenshare_button_label": "Udostępnianie ekranu",
|
"stop_screenshare_button_label": "Udostępnianie ekranu",
|
||||||
"stop_video_button_label": "Zakończ wideo",
|
"stop_video_button_label": "Zakończ wideo",
|
||||||
"submitting": "Wysyłanie…",
|
"submitting": "Wysyłanie…",
|
||||||
"switch_camera": "Przełącz kamerę",
|
"switch_camera": "Przełącz kamerę",
|
||||||
|
"technical_details": "Szczegóły techniczne",
|
||||||
"unauthenticated_view_body": "Nie masz konta? <2>Utwórz je</2>",
|
"unauthenticated_view_body": "Nie masz konta? <2>Utwórz je</2>",
|
||||||
"unauthenticated_view_login_button": "Zaloguj się do swojego konta",
|
"unauthenticated_view_login_button": "Zaloguj się na swoje konto",
|
||||||
"unauthenticated_view_ssla_caption": "Klikając \"Przejdź\", wyrażasz zgodę na naszą <2>Umowę licencyjną oprogramowania i usług (SSLA)</2>",
|
"unauthenticated_view_ssla_caption": "Klikając \"Przejdź\", wyrażasz zgodę na naszą <2>Umowę licencyjną oprogramowania i usług (SSLA)</2>",
|
||||||
"unmute_microphone_button_label": "Odcisz mikrofon",
|
"unmute_microphone_button_label": "Wyłącz wyciszenie mikrofonu",
|
||||||
"version": "Wersja: {{version}}",
|
"version": "{{productName}} wersja: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Zawsze pokazuj",
|
"always_show": "Zawsze pokazuj",
|
||||||
|
"call_ended": "Połączenie zakończone",
|
||||||
|
"calling": "Łączenie...",
|
||||||
"camera_starting": "Wczytywanie wideo...",
|
"camera_starting": "Wczytywanie wideo...",
|
||||||
"change_fit_contain": "Dopasuj do obramowania",
|
|
||||||
"collapse": "Zwiń",
|
"collapse": "Zwiń",
|
||||||
"expand": "Rozwiń",
|
"expand": "Rozwiń",
|
||||||
"mute_for_me": "Wycisz dla mnie",
|
"mute_for_me": "Wycisz dla mnie",
|
||||||
"muted_for_me": "Wyciszone dla mnie",
|
"muted_for_me": "Wyciszone dla mnie",
|
||||||
|
"screen_share_volume": "Głośność udostępniania ekranu",
|
||||||
"volume": "Głośność",
|
"volume": "Głośność",
|
||||||
"waiting_for_media": "Oczekiwanie na media..."
|
"waiting_for_media": "Oczekiwanie na media..."
|
||||||
}
|
}
|
||||||
|
|||||||
+35
-7
@@ -49,24 +49,26 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reacție",
|
"reaction": "Reacție",
|
||||||
"reactions": "Reacții",
|
"reactions": "Reacții",
|
||||||
|
"reconnecting": "Se restabilește conexiunea…",
|
||||||
"settings": "Setări",
|
"settings": "Setări",
|
||||||
"unencrypted": "Nu este criptat",
|
"unencrypted": "Nu este criptat",
|
||||||
"username": "Numele utilizatorului",
|
"username": "Numele utilizatorului",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Afișează opțiunea pentru căștile iPhone pe toate platformele",
|
||||||
"crypto_version": "Versiunea Crypto: {{version}}",
|
"crypto_version": "Versiunea Crypto: {{version}}",
|
||||||
"debug_tile_layout_label": "Depanaţi aranjamentul cartonaşelor",
|
"debug_tile_layout_label": "Depanaţi aranjamentul cartonaşelor",
|
||||||
"device_id": "ID-ul dispozitivului: {{id}}",
|
"device_id": "ID-ul dispozitivului: {{id}}",
|
||||||
"duplicate_tiles_label": "Numărul de exemplare suplimentare de cartonașe per participant",
|
"duplicate_tiles_label": "Numărul de exemplare suplimentare de cartonașe per participant",
|
||||||
"environment_variables": "Variabile de mediu",
|
"environment_variables": "Variabile de mediu",
|
||||||
"hostname": "Numele gazdei: {{hostname}}",
|
"hostname": "Numele gazdei: {{hostname}}",
|
||||||
|
"livekit_server_info": "Informaţii despre serverul livekit",
|
||||||
|
"livekit_sfu": "Unitate de expediere selectivă LiveKit: {{url}}",
|
||||||
"matrix_id": "ID-ul matricei: {{id}}",
|
"matrix_id": "ID-ul matricei: {{id}}",
|
||||||
|
"mute_all_audio": "Dezactivează toate sunetele (participanți, reacții, sunete de conectare)",
|
||||||
"show_connection_stats": "Afişaţi informaţii cu privire la starea conexiunii",
|
"show_connection_stats": "Afişaţi informaţii cu privire la starea conexiunii",
|
||||||
"show_non_member_tiles": "Afişaţi pictograme pentru fluxul media care nu aparţine participanţilor apelului",
|
"url_params": "Parametrii linkului"
|
||||||
"url_params": "Parametrii linkului",
|
|
||||||
"use_new_membership_manager": "Folosiţi noua versiune de administrator pentru participanţi ai apelului",
|
|
||||||
"use_to_device_key_transport": "Folosiţi metoda de transport direct către dispozitiv. Aceasta va reveni la transportul prin intermediul evenimentelor din cameră doar dacă un alt participant la apel recurge la acel mod de transport mai întâi."
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Conexiunea către server s-a încheiat abrupt",
|
"disconnected_banner": "Conexiunea către server s-a încheiat abrupt",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -81,9 +83,10 @@
|
|||||||
"generic_description": "Dacă ne trimiteţi jurnalele de depanare generate de aplicaţie, ne puteţi ajuta să rezolvăm problema.",
|
"generic_description": "Dacă ne trimiteţi jurnalele de depanare generate de aplicaţie, ne puteţi ajuta să rezolvăm problema.",
|
||||||
"insufficient_capacity": "Capacitate insuficientă",
|
"insufficient_capacity": "Capacitate insuficientă",
|
||||||
"insufficient_capacity_description": "Serverul a ajuns la capacitatea maximă și nu vă puteți alătura apelului în acest moment. Încercați din nou in câteva minute, sau contactați administratorul serverului dumneavoastră dacă problema persistă.",
|
"insufficient_capacity_description": "Serverul a ajuns la capacitatea maximă și nu vă puteți alătura apelului în acest moment. Încercați din nou in câteva minute, sau contactați administratorul serverului dumneavoastră dacă problema persistă.",
|
||||||
"matrix_rtc_focus_missing": "Serverul nu este configurat să funcționeze cu{{brand}}. Vă rugăm să contactați administratorul serverului dumneavoastră pentru a raporta o eroare în configurare. Detalii: Domeniu: {{domain}}. Cod de eroare: {{ errorCode }}.",
|
|
||||||
"open_elsewhere": "Aplicaţia este deschisă intr-o altă pagină",
|
"open_elsewhere": "Aplicaţia este deschisă intr-o altă pagină",
|
||||||
"open_elsewhere_description": "{{brand}} a fost deschis într-o altă pagină. Dacă credeți că acest mesaj a fost emis in eroare, încercați să reîncărcați pagina.",
|
"open_elsewhere_description": "{{brand}} a fost deschis într-o altă pagină. Dacă credeți că acest mesaj a fost emis in eroare, încercați să reîncărcați pagina.",
|
||||||
|
"room_creation_restricted": "Apelul nu a putut fi creat",
|
||||||
|
"room_creation_restricted_description": "Crearea apelurilor ar putea fi restricționată doar utilizatorilor autorizați. Încercați din nou mai târziu sau contactați administratorul serverului dacă problema persistă.",
|
||||||
"unexpected_ec_error": "A apărut o eroare neașteptată (Cod de <0> eroare: </0> <1> {{ errorCode }}</1>). Vă rugăm să contactați administratorul serverului dumneavoastră."
|
"unexpected_ec_error": "A apărut o eroare neașteptată (Cod de <0> eroare: </0> <1> {{ errorCode }}</1>). Vă rugăm să contactați administratorul serverului dumneavoastră."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -95,6 +98,11 @@
|
|||||||
"knock_reject_heading": "Acces refuzat",
|
"knock_reject_heading": "Acces refuzat",
|
||||||
"reason": "Motivul"
|
"reason": "Motivul"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Înapoi la modul Difuzor",
|
||||||
|
"overlay_description": "Funcționează doar în timp ce se utilizează aplicația",
|
||||||
|
"overlay_title": "Mod telefon"
|
||||||
|
},
|
||||||
"hangup_button_label": "Încheiați apelul",
|
"hangup_button_label": "Încheiați apelul",
|
||||||
"header_label": "Element Call Home",
|
"header_label": "Element Call Home",
|
||||||
"header_participants_label": "Participanți",
|
"header_participants_label": "Participanți",
|
||||||
@@ -125,6 +133,9 @@
|
|||||||
"microphone_off": "Microfon oprit",
|
"microphone_off": "Microfon oprit",
|
||||||
"microphone_on": "Microfon pornit",
|
"microphone_on": "Microfon pornit",
|
||||||
"mute_microphone_button_label": "Dezactivați microfonul",
|
"mute_microphone_button_label": "Dezactivați microfonul",
|
||||||
|
"participant_count_one": "{{count, number}}",
|
||||||
|
"participant_count_few": "{{count, number}}",
|
||||||
|
"participant_count_other": "{{count, number}}",
|
||||||
"qr_code": "COD QR",
|
"qr_code": "COD QR",
|
||||||
"rageshake_button_error_caption": "Încearcă din nou trimiterea jurnalelor",
|
"rageshake_button_error_caption": "Încearcă din nou trimiterea jurnalelor",
|
||||||
"rageshake_request_modal": {
|
"rageshake_request_modal": {
|
||||||
@@ -137,6 +148,7 @@
|
|||||||
"rageshake_sent": "Multumesc!",
|
"rageshake_sent": "Multumesc!",
|
||||||
"recaptcha_dismissed": "Recaptcha a fost respins",
|
"recaptcha_dismissed": "Recaptcha a fost respins",
|
||||||
"recaptcha_not_loaded": "Recaptcha nu a fost încărcat",
|
"recaptcha_not_loaded": "Recaptcha nu a fost încărcat",
|
||||||
|
"recaptcha_ssla_caption": "Acest site este protejat de reCAPTCHA. Se aplică atât Politica de <2> confidențialitate Google </2> cât și <6> Termenii și condițiile. </6> <9></9>Făcând clic pe \"Înregistrare\", sunteți de acord cu Acordul <12> nostru de licență pentru software și servicii (SSLA) </12>",
|
||||||
"register": {
|
"register": {
|
||||||
"passwords_must_match": "Parolele trebuie să se potrivească",
|
"passwords_must_match": "Parolele trebuie să se potrivească",
|
||||||
"registering": "Înregistrare..."
|
"registering": "Înregistrare..."
|
||||||
@@ -146,16 +158,29 @@
|
|||||||
"register_heading": "Creează-ți contul",
|
"register_heading": "Creează-ți contul",
|
||||||
"return_home_button": "Reveniți la ecranul de pornire",
|
"return_home_button": "Reveniți la ecranul de pornire",
|
||||||
"room_auth_view_continue_button": "Continuă",
|
"room_auth_view_continue_button": "Continuă",
|
||||||
|
"room_auth_view_ssla_caption": "Făcând clic pe „Alăturați-vă apelului acum”, sunteți de acord cu Acordul <2> nostru de licență pentru software și servicii (SSLA) </2>",
|
||||||
"screenshare_button_label": "Partajare ecran",
|
"screenshare_button_label": "Partajare ecran",
|
||||||
"settings": {
|
"settings": {
|
||||||
"audio_tab": {
|
"audio_tab": {
|
||||||
"effect_volume_description": "Reglați volumul la care reacționează reacțiile și efectele ridicate de mână",
|
"effect_volume_description": "Reglați volumul la care reacționează reacțiile și efectele ridicate de mână",
|
||||||
"effect_volume_label": "Volumul efectului sonor"
|
"effect_volume_label": "Volumul efectului sonor"
|
||||||
},
|
},
|
||||||
|
"background_blur_header": "Fundal",
|
||||||
|
"background_blur_label": "Estompează fundalul videoclipului",
|
||||||
|
"blur_not_supported_by_browser": "(Funcția de estompare a fundalului nu este acceptată de acest device.)",
|
||||||
"developer_tab_title": "dezvoltator",
|
"developer_tab_title": "dezvoltator",
|
||||||
"devices": {
|
"devices": {
|
||||||
|
"camera": "Cameră",
|
||||||
|
"camera_numbered": "Camera {{n}}",
|
||||||
|
"change_device_button": "Schimbați dispozitivul audio",
|
||||||
|
"default": "Implicit",
|
||||||
|
"default_named": "Dispozitiv implicit <2>({{name}})</2>",
|
||||||
|
"handset": "Telefon",
|
||||||
|
"loudspeaker": "Difuzor",
|
||||||
"microphone": "Microfon",
|
"microphone": "Microfon",
|
||||||
"speaker": "Difuzor"
|
"microphone_numbered": "Microfon {{n}}",
|
||||||
|
"speaker": "Difuzor",
|
||||||
|
"speaker_numbered": "Difuzor {{n}}"
|
||||||
},
|
},
|
||||||
"feedback_tab_body": "Dacă întâmpinați probleme sau pur și simplu doriți să oferiți feedback, vă rugăm să ne trimiteți o scurtă descriere mai jos.",
|
"feedback_tab_body": "Dacă întâmpinați probleme sau pur și simplu doriți să oferiți feedback, vă rugăm să ne trimiteți o scurtă descriere mai jos.",
|
||||||
"feedback_tab_description_label": "Feedback-ul tău",
|
"feedback_tab_description_label": "Feedback-ul tău",
|
||||||
@@ -176,6 +201,9 @@
|
|||||||
"show_hand_raised_timer_label": "Afișați durata ridicării mâinii"
|
"show_hand_raised_timer_label": "Afișați durata ridicării mâinii"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"star_rating_input_label_one": "{{count}} stea",
|
||||||
|
"star_rating_input_label_few": "{{count}} stele",
|
||||||
|
"star_rating_input_label_other": "{{count}} stele",
|
||||||
"start_new_call": "Începe un nou apel",
|
"start_new_call": "Începe un nou apel",
|
||||||
"start_video_button_label": "Începeți videoclipul",
|
"start_video_button_label": "Începeți videoclipul",
|
||||||
"stop_screenshare_button_label": "Partajarea ecranului",
|
"stop_screenshare_button_label": "Partajarea ecranului",
|
||||||
@@ -184,12 +212,12 @@
|
|||||||
"switch_camera": "Comutați camera",
|
"switch_camera": "Comutați camera",
|
||||||
"unauthenticated_view_body": "Nu sunteți încă înregistrat? <2>Creați un cont </2>",
|
"unauthenticated_view_body": "Nu sunteți încă înregistrat? <2>Creați un cont </2>",
|
||||||
"unauthenticated_view_login_button": "Conectați-vă la contul dvs.",
|
"unauthenticated_view_login_button": "Conectați-vă la contul dvs.",
|
||||||
|
"unauthenticated_view_ssla_caption": "Făcând clic pe \"Înainte\", sunteți de acord cu Acordul nostru de licență pentru <2> software și servicii (SSLA) </2>",
|
||||||
"unmute_microphone_button_label": "Anulează microfonul",
|
"unmute_microphone_button_label": "Anulează microfonul",
|
||||||
"version": "{{productName}}Versiune: {{version}}",
|
"version": "{{productName}}Versiune: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Arată întotdeauna",
|
"always_show": "Arată întotdeauna",
|
||||||
"camera_starting": "Se încarcă fluxul video...",
|
"camera_starting": "Se încarcă fluxul video...",
|
||||||
"change_fit_contain": "Se potrivește cadrului",
|
|
||||||
"collapse": "colaps",
|
"collapse": "colaps",
|
||||||
"expand": "Extindeți",
|
"expand": "Extindeți",
|
||||||
"mute_for_me": "Mute pentru mine",
|
"mute_for_me": "Mute pentru mine",
|
||||||
|
|||||||
+43
-7
@@ -49,6 +49,7 @@
|
|||||||
"profile": "Профиль",
|
"profile": "Профиль",
|
||||||
"reaction": "Реакция",
|
"reaction": "Реакция",
|
||||||
"reactions": "Реакции",
|
"reactions": "Реакции",
|
||||||
|
"reconnecting": "Восстановление связи…",
|
||||||
"settings": "Настройки",
|
"settings": "Настройки",
|
||||||
"unencrypted": "Не зашифровано",
|
"unencrypted": "Не зашифровано",
|
||||||
"username": "Имя пользователя",
|
"username": "Имя пользователя",
|
||||||
@@ -57,6 +58,14 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "Показать опцию наушников для iPhone на всех платформах",
|
"always_show_iphone_earpiece": "Показать опцию наушников для iPhone на всех платформах",
|
||||||
"crypto_version": "Версия криптографии: {{version}}",
|
"crypto_version": "Версия криптографии: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "В настоящее время установлено: ",
|
||||||
|
"from_config": "В настоящее время перезапись не установлена. Используется URL из известного источника или конфигурации.",
|
||||||
|
"label": "Пользовательский Livekit-url",
|
||||||
|
"reset": "Сбросить перезапись",
|
||||||
|
"save": "Сохранить",
|
||||||
|
"saving": "Сохранение..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Отладка расположения плиток",
|
"debug_tile_layout_label": "Отладка расположения плиток",
|
||||||
"device_id": "Идентификатор устройства: {{id}}",
|
"device_id": "Идентификатор устройства: {{id}}",
|
||||||
"duplicate_tiles_label": "Количество дополнительных копий плиток на участника",
|
"duplicate_tiles_label": "Количество дополнительных копий плиток на участника",
|
||||||
@@ -64,30 +73,48 @@
|
|||||||
"hostname": "Имя хоста: {{hostname}}",
|
"hostname": "Имя хоста: {{hostname}}",
|
||||||
"livekit_server_info": "Информация о сервере LiveKit",
|
"livekit_server_info": "Информация о сервере LiveKit",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Совместимо с домашними серверами, которые не поддерживают закреплённые события (но все остальные клиенты EC имеют версию v0.17.0 или более позднюю)",
|
||||||
|
"label": "Совместимость: события состояния и множество SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Совместимо со старыми версиями EC, не поддерживающими несколько SFU",
|
||||||
|
"label": "Legacy: события состояния и старые SFU членство"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Совместимо только с домашними серверами, поддерживающими «закреплённые события», и со всеми клиентами EC версии v0.17.0 или более поздней",
|
||||||
|
"label": "matrix 2.0: липкие события и multi SFU"
|
||||||
|
},
|
||||||
|
"title": "Режим MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
"mute_all_audio": "Отключить все звуки (участников, реакции, звуки присоединения)",
|
"mute_all_audio": "Отключить все звуки (участников, реакции, звуки присоединения)",
|
||||||
"show_connection_stats": "Показать статистику подключений",
|
"show_connection_stats": "Показать статистику подключений",
|
||||||
"show_non_member_tiles": "Показать плитки для медиафайлов, не являющихся участниками",
|
"url_params": "Параметры URL-адреса"
|
||||||
"url_params": "Параметры URL-адреса",
|
|
||||||
"use_new_membership_manager": "Используйте новую реализацию вызова MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Используйте для передачи ключей устройства. Это позволит вернуться к передаче ключей комнаты, когда другой участник вызова отправит ключ комнаты"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Связь с сервером была потеряна.",
|
"disconnected_banner": "Связь с сервером была потеряна.",
|
||||||
"error": {
|
"error": {
|
||||||
"call_is_not_supported": "Вызов не поддерживается",
|
"call_is_not_supported": "Вызов не поддерживается",
|
||||||
"call_not_found": "Звонок не найден",
|
"call_not_found": "Звонок не найден",
|
||||||
"call_not_found_description": "<0>Эта ссылка, похоже, не принадлежит ни к одному существующему звонку. Убедитесь, что у вас есть нужная ссылка, или <1>создайте новую</1>.</0>",
|
"call_not_found_description": "<0>Похоже, эта ссылка не принадлежит ни одному существующему вызову. Убедитесь, что у вас правильная ссылка, или <2>создайте новую</2>.</0>",
|
||||||
"connection_lost": "Соединение потеряно",
|
"connection_lost": "Соединение потеряно",
|
||||||
"connection_lost_description": "Вы были отключены от звонка.",
|
"connection_lost_description": "Вы были отключены от звонка.",
|
||||||
"e2ee_unsupported": "Несовместимый браузер",
|
"e2ee_unsupported": "Несовместимый браузер",
|
||||||
"e2ee_unsupported_description": "Ваш веб-браузер не поддерживает зашифрованные звонки. Поддерживаются следующие браузеры: Chrome, Safari и Firefox 117+.",
|
"e2ee_unsupported_description": "Ваш веб-браузер не поддерживает зашифрованные звонки. Поддерживаются следующие браузеры: Chrome, Safari и Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Не удалось установить соединение с Livekit",
|
||||||
"generic": "Произошла ошибка",
|
"generic": "Произошла ошибка",
|
||||||
"generic_description": "Отправка журналов отладки поможет нам отследить проблему.",
|
"generic_description": "Отправка журналов отладки поможет нам отследить проблему.",
|
||||||
"insufficient_capacity": "Недостаточная пропускная способность",
|
"insufficient_capacity": "Недостаточная пропускная способность",
|
||||||
"insufficient_capacity_description": "Сервер достиг максимальной пропускной способности, и вы не можете присоединиться к звонку в данный момент. Повторите попытку позже или обратитесь к администратору сервера, если проблема сохраняется.",
|
"insufficient_capacity_description": "Сервер достиг максимальной пропускной способности, и вы не можете присоединиться к звонку в данный момент. Повторите попытку позже или обратитесь к администратору сервера, если проблема сохраняется.",
|
||||||
"matrix_rtc_focus_missing": "Сервер не настроен для работы с {{brand}}. Пожалуйста, свяжитесь с администратором вашего сервера (Домен: {{domain}}, Код ошибки: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Сервер не настроен для работы с {{brand}}. Пожалуйста, свяжитесь с администратором вашего сервера (Домен: {{domain}}, Код ошибки: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Ошибка менеджера участников",
|
||||||
|
"membership_manager_description": "Модуль «Memebership Manager» был вынужден завершить работу. Причиной этого стало большое количество последовательных неудачных сетевых запросов.",
|
||||||
|
"no_matrix_2_authorization_service": "Ваша служба авторизации для медиасервера (SFU) не обновлена до последней версии.",
|
||||||
"open_elsewhere": "Открыто в другой вкладке",
|
"open_elsewhere": "Открыто в другой вкладке",
|
||||||
"open_elsewhere_description": "{{brand}} был открыт в другой вкладке. Если это неверно, попробуйте перезагрузить страницу.",
|
"open_elsewhere_description": "{{brand}} был открыт в другой вкладке. Если это неверно, попробуйте перезагрузить страницу.",
|
||||||
|
"room_creation_restricted": "Не удалось создать вызов",
|
||||||
|
"room_creation_restricted_description": "Создание вызовов может быть доступно только авторизованным пользователям. Повторите попытку позже или обратитесь к администратору сервера, если проблема не исчезнет.",
|
||||||
"unexpected_ec_error": "Произошла непредвиденная ошибка (<0> Код ошибки:</0><1>{{ errorCode }}</1> ). Обратитесь к администратору вашего сервера."
|
"unexpected_ec_error": "Произошла непредвиденная ошибка (<0> Код ошибки:</0><1>{{ errorCode }}</1> ). Обратитесь к администратору вашего сервера."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -99,6 +126,11 @@
|
|||||||
"knock_reject_heading": "Не разрешено присоединиться",
|
"knock_reject_heading": "Не разрешено присоединиться",
|
||||||
"reason": "Причина: {{reason}}"
|
"reason": "Причина: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Вернуться в режим динамика",
|
||||||
|
"overlay_description": "Работает только при использовании приложения",
|
||||||
|
"overlay_title": "Режим трубки"
|
||||||
|
},
|
||||||
"hangup_button_label": "Завершить звонок",
|
"hangup_button_label": "Завершить звонок",
|
||||||
"header_label": "Главная Element Call",
|
"header_label": "Главная Element Call",
|
||||||
"header_participants_label": "Участники",
|
"header_participants_label": "Участники",
|
||||||
@@ -171,6 +203,8 @@
|
|||||||
"change_device_button": "Изменить аудиоустройство",
|
"change_device_button": "Изменить аудиоустройство",
|
||||||
"default": "По умолчанию",
|
"default": "По умолчанию",
|
||||||
"default_named": "По умолчанию <2>({{name}})</2>",
|
"default_named": "По умолчанию <2>({{name}})</2>",
|
||||||
|
"handset": "Динамик телефона",
|
||||||
|
"loudspeaker": "Громкоговоритель",
|
||||||
"microphone": "Микрофон",
|
"microphone": "Микрофон",
|
||||||
"microphone_numbered": "Микрофон {{n}}",
|
"microphone_numbered": "Микрофон {{n}}",
|
||||||
"speaker": "Динамик",
|
"speaker": "Динамик",
|
||||||
@@ -211,12 +245,14 @@
|
|||||||
"version": "{{productName}} версия: {{version}}",
|
"version": "{{productName}} версия: {{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Показывать всегда",
|
"always_show": "Показывать всегда",
|
||||||
|
"call_ended": "Вызов завершен",
|
||||||
|
"calling": "Вызов…",
|
||||||
"camera_starting": "Загрузка видео...",
|
"camera_starting": "Загрузка видео...",
|
||||||
"change_fit_contain": "По размеру окна",
|
|
||||||
"collapse": "Свернуть",
|
"collapse": "Свернуть",
|
||||||
"expand": "Развернуть",
|
"expand": "Развернуть",
|
||||||
"mute_for_me": "Заглушить звук для меня",
|
"mute_for_me": "Заглушить звук для меня",
|
||||||
"muted_for_me": "Приглушить для меня",
|
"muted_for_me": "Приглушить для меня",
|
||||||
|
"screen_share_volume": "Громкость демонстрации экрана",
|
||||||
"volume": "Громкость",
|
"volume": "Громкость",
|
||||||
"waiting_for_media": "В ожидании медиа..."
|
"waiting_for_media": "В ожидании медиа..."
|
||||||
}
|
}
|
||||||
|
|||||||
+38
-6
@@ -49,6 +49,7 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reakcia",
|
"reaction": "Reakcia",
|
||||||
"reactions": "Reakcie",
|
"reactions": "Reakcie",
|
||||||
|
"reconnecting": "Opätovné pripájanie...",
|
||||||
"settings": "Nastavenia",
|
"settings": "Nastavenia",
|
||||||
"unencrypted": "Nie je zašifrované",
|
"unencrypted": "Nie je zašifrované",
|
||||||
"username": "Meno používateľa",
|
"username": "Meno používateľa",
|
||||||
@@ -57,6 +58,14 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "Zobraziť možnosť slúchadla iPhone na všetkých platformách",
|
"always_show_iphone_earpiece": "Zobraziť možnosť slúchadla iPhone na všetkých platformách",
|
||||||
"crypto_version": "Krypto verzia: {{version}}",
|
"crypto_version": "Krypto verzia: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Aktuálne nastavené na: ",
|
||||||
|
"from_config": "Momentálne nie je nastavené žiadne prepísanie. Používa sa URL adresa zo známeho zdroja alebo konfigurácie.",
|
||||||
|
"label": "Vlastná Livekit URL adresa",
|
||||||
|
"reset": "Obnoviť prepísanie",
|
||||||
|
"save": "Uložiť",
|
||||||
|
"saving": "Ukladá sa…"
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Ladenie rozloženia dlaždíc",
|
"debug_tile_layout_label": "Ladenie rozloženia dlaždíc",
|
||||||
"device_id": "ID zariadenia: {{id}}",
|
"device_id": "ID zariadenia: {{id}}",
|
||||||
"duplicate_tiles_label": "Počet ďalších kópií dlaždíc na účastníka",
|
"duplicate_tiles_label": "Počet ďalších kópií dlaždíc na účastníka",
|
||||||
@@ -64,13 +73,25 @@
|
|||||||
"hostname": "Názov hostiteľa: {{hostname}}",
|
"hostname": "Názov hostiteľa: {{hostname}}",
|
||||||
"livekit_server_info": "Informácie o serveri LiveKit",
|
"livekit_server_info": "Informácie o serveri LiveKit",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Kompatibilné s domovskými servermi, ktoré nepodporujú sticky udalosti (ale všetci ostatní EC klienti sú v0.17.0 alebo novší)",
|
||||||
|
"label": "Kompatibilita: stavové udalosti a multi SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Kompatibilné so staršími verziami EC, ktoré nepodporujú viacero SFU",
|
||||||
|
"label": "Staršie: stavové udalosti a najstaršie členstvo SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Kompatibilné iba s domovskými servermi podporujúcimi prilepené udalosti a všetkými EC klientmi v0.17.0 alebo novšími.",
|
||||||
|
"label": "Matrix 2.0: prilepené udalosti a viacero SFU"
|
||||||
|
},
|
||||||
|
"title": "Režim MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
"mute_all_audio": "Stlmiť všetky zvuky (účastníkov, reakcií, zvuky pripojenia)",
|
"mute_all_audio": "Stlmiť všetky zvuky (účastníkov, reakcií, zvuky pripojenia)",
|
||||||
"show_connection_stats": "Zobraziť štatistiky pripojenia",
|
"show_connection_stats": "Zobraziť štatistiky pripojenia",
|
||||||
"show_non_member_tiles": "Zobraziť dlaždice pre nečlenské médiá",
|
"url_params": "Parametre URL adresy"
|
||||||
"url_params": "Parametre URL adresy",
|
|
||||||
"use_new_membership_manager": "Použiť novú implementáciu hovoru MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Používa sa na prenos kľúča zariadenia. Toto sa vráti k prenosu kľúča miestnosti, keď iný účastník hovoru poslal kľúč od miestnosti"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Spojenie so serverom sa stratilo.",
|
"disconnected_banner": "Spojenie so serverom sa stratilo.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -81,13 +102,19 @@
|
|||||||
"connection_lost_description": "Boli ste odpojení od hovoru.",
|
"connection_lost_description": "Boli ste odpojení od hovoru.",
|
||||||
"e2ee_unsupported": "Nekompatibilný prehliadač",
|
"e2ee_unsupported": "Nekompatibilný prehliadač",
|
||||||
"e2ee_unsupported_description": "Váš webový prehliadač nepodporuje šifrované hovory. Medzi podporované prehliadače patria Chrome, Safari a Firefox 117+.",
|
"e2ee_unsupported_description": "Váš webový prehliadač nepodporuje šifrované hovory. Medzi podporované prehliadače patria Chrome, Safari a Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Nepodarilo sa spustiť pripojenie Livekit",
|
||||||
"generic": "Niečo sa pokazilo",
|
"generic": "Niečo sa pokazilo",
|
||||||
"generic_description": "Odoslanie záznamov ladenia nám pomôže nájsť problém.",
|
"generic_description": "Odoslanie záznamov ladenia nám pomôže nájsť problém.",
|
||||||
"insufficient_capacity": "Nedostatočná kapacita",
|
"insufficient_capacity": "Nedostatočná kapacita",
|
||||||
"insufficient_capacity_description": "Server dosiahol svoju maximálnu kapacitu a momentálne sa nemôžete pripojiť k hovoru. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.",
|
"insufficient_capacity_description": "Server dosiahol svoju maximálnu kapacitu a momentálne sa nemôžete pripojiť k hovoru. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.",
|
||||||
"matrix_rtc_focus_missing": "Server nie je nakonfigurovaný na prácu s aplikáciou {{brand}}. Kontaktujte správcu svojho servera (Doména:{{domain}}, Kód chyby:{{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Server nie je nastavený na prácu s aplikáciou {{brand}}. Kontaktujte prosím správcu svojho servera (Doména: {{domain}}, Kód chyby: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Chyba správcu členstva",
|
||||||
|
"membership_manager_description": "Správca členstva musel byť vypnutý. Príčinou je mnoho po sebe idúcich neúspešných sieťových požiadaviek.",
|
||||||
|
"no_matrix_2_authorization_service": "Autorizačná služba pre váš mediálny server (SFU) je zastaraná.",
|
||||||
"open_elsewhere": "Otvorené na inej karte",
|
"open_elsewhere": "Otvorené na inej karte",
|
||||||
"open_elsewhere_description": "Aplikácia {{brand}} bola otvorená na inej karte. Ak sa vám to nezdá, skúste znovu načítať stránku.",
|
"open_elsewhere_description": "Aplikácia {{brand}} bola otvorená na inej karte. Ak sa vám to nezdá, skúste znovu načítať stránku.",
|
||||||
|
"room_creation_restricted": "Nepodarilo sa vytvoriť hovor",
|
||||||
|
"room_creation_restricted_description": "Uskutočňovanie hovorov môže byť obmedzené iba na autorizovaných používateľov. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.",
|
||||||
"unexpected_ec_error": "Vyskytla sa neočakávaná chyba (<0>Kód chyby:</0> <1>{{ errorCode }}</1>). Kontaktujte prosím správcu vášho servera."
|
"unexpected_ec_error": "Vyskytla sa neočakávaná chyba (<0>Kód chyby:</0> <1>{{ errorCode }}</1>). Kontaktujte prosím správcu vášho servera."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -99,6 +126,11 @@
|
|||||||
"knock_reject_heading": "Nie je povolené pripojiť sa",
|
"knock_reject_heading": "Nie je povolené pripojiť sa",
|
||||||
"reason": "Dôvod"
|
"reason": "Dôvod"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Späť do režimu reproduktora",
|
||||||
|
"overlay_description": "Funguje iba pri používaní aplikácie",
|
||||||
|
"overlay_title": "Režim slúchadla"
|
||||||
|
},
|
||||||
"hangup_button_label": "Ukončiť hovor",
|
"hangup_button_label": "Ukončiť hovor",
|
||||||
"header_label": "Domov Element Call",
|
"header_label": "Domov Element Call",
|
||||||
"header_participants_label": "Účastníci",
|
"header_participants_label": "Účastníci",
|
||||||
@@ -171,6 +203,7 @@
|
|||||||
"change_device_button": "Zmeniť zvukové zariadenie",
|
"change_device_button": "Zmeniť zvukové zariadenie",
|
||||||
"default": "Predvolené",
|
"default": "Predvolené",
|
||||||
"default_named": "Predvolené <2>({{name}})</2>",
|
"default_named": "Predvolené <2>({{name}})</2>",
|
||||||
|
"handset": "Slúchadlo",
|
||||||
"loudspeaker": "Reproduktor",
|
"loudspeaker": "Reproduktor",
|
||||||
"microphone": "Mikrofón",
|
"microphone": "Mikrofón",
|
||||||
"microphone_numbered": "Mikrofón {{n}}",
|
"microphone_numbered": "Mikrofón {{n}}",
|
||||||
@@ -213,7 +246,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Vždy zobraziť",
|
"always_show": "Vždy zobraziť",
|
||||||
"camera_starting": "Načítavanie videa...",
|
"camera_starting": "Načítavanie videa...",
|
||||||
"change_fit_contain": "Orezať na mieru",
|
|
||||||
"collapse": "Zbaliť",
|
"collapse": "Zbaliť",
|
||||||
"expand": "Rozbaliť",
|
"expand": "Rozbaliť",
|
||||||
"mute_for_me": "Pre mňa stlmiť",
|
"mute_for_me": "Pre mňa stlmiť",
|
||||||
|
|||||||
+30
-6
@@ -49,6 +49,7 @@
|
|||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"reaction": "Reaktion",
|
"reaction": "Reaktion",
|
||||||
"reactions": "Reaktioner",
|
"reactions": "Reaktioner",
|
||||||
|
"reconnecting": "Återansluter …",
|
||||||
"settings": "Inställningar",
|
"settings": "Inställningar",
|
||||||
"unencrypted": "Inte krypterad",
|
"unencrypted": "Inte krypterad",
|
||||||
"username": "Användarnamn",
|
"username": "Användarnamn",
|
||||||
@@ -57,6 +58,14 @@
|
|||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
"always_show_iphone_earpiece": "Visa iPhone-hörsnäckealternativ på alla plattformar",
|
"always_show_iphone_earpiece": "Visa iPhone-hörsnäckealternativ på alla plattformar",
|
||||||
"crypto_version": "Kryptoversion: {{version}}",
|
"crypto_version": "Kryptoversion: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "För närvarande inställd på: ",
|
||||||
|
"from_config": "För närvarande är ingen överskrivning inställd. URL från well-known eller konfig används.",
|
||||||
|
"label": "Anpassad Livekit-url",
|
||||||
|
"reset": "Återställ överskrivning",
|
||||||
|
"save": "Spara",
|
||||||
|
"saving": "Sparar…"
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Felsök panelarrangemang",
|
"debug_tile_layout_label": "Felsök panelarrangemang",
|
||||||
"device_id": "Enhets-ID: {{id}}",
|
"device_id": "Enhets-ID: {{id}}",
|
||||||
"duplicate_tiles_label": "Antal ytterligare panelkopior per deltagare",
|
"duplicate_tiles_label": "Antal ytterligare panelkopior per deltagare",
|
||||||
@@ -64,13 +73,25 @@
|
|||||||
"hostname": "Värdnamn: {{hostname}}",
|
"hostname": "Värdnamn: {{hostname}}",
|
||||||
"livekit_server_info": "LiveKit-serverinfo",
|
"livekit_server_info": "LiveKit-serverinfo",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Kompatibel med hemservrar som inte stöder sticky events (men alla andra EC-klienter är v0.17.0 eller senare)",
|
||||||
|
"label": "Kompatibilitet: tillståndshändelser och multi-SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Kompatibel med äldre versioner av EC som inte stöder multi SFU",
|
||||||
|
"label": "Legacy: state events och oldest membership SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Endast kompatibel med hemservrar som stöder sticky events och alla EC-klienter v0.17.0 eller senare",
|
||||||
|
"label": "Matrix 2.0: sticky events & multi SFU"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC-läge"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix-ID: {{id}}",
|
"matrix_id": "Matrix-ID: {{id}}",
|
||||||
"mute_all_audio": "Tysta allt ljud (deltagare, reaktioner, anslutningsljud)",
|
"mute_all_audio": "Tysta allt ljud (deltagare, reaktioner, anslutningsljud)",
|
||||||
"show_connection_stats": "Visa anslutningsstatistik",
|
"show_connection_stats": "Visa anslutningsstatistik",
|
||||||
"show_non_member_tiles": "Visa paneler för media som inte är medlemmar",
|
"url_params": "URL-parametrar"
|
||||||
"url_params": "URL-parametrar",
|
|
||||||
"use_new_membership_manager": "Använd den nya implementeringen av samtals-MembershipManager",
|
|
||||||
"use_to_device_key_transport": "Använd \"till enhet\"-nyckeltransport. Detta kommer att falla tillbaka till rumsnyckeltransport om en annan samtalsmedlem skickar en rumsnyckel."
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Anslutningen till servern har brutits.",
|
"disconnected_banner": "Anslutningen till servern har brutits.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -81,11 +102,15 @@
|
|||||||
"connection_lost_description": "Du kopplades bort från samtalet.",
|
"connection_lost_description": "Du kopplades bort från samtalet.",
|
||||||
"e2ee_unsupported": "Inkompatibel webbläsare",
|
"e2ee_unsupported": "Inkompatibel webbläsare",
|
||||||
"e2ee_unsupported_description": "Din webbläsare stöder inte krypterade samtal. Webbläsare som stöds inkluderar Chrome, Safari och Firefox 117+.",
|
"e2ee_unsupported_description": "Din webbläsare stöder inte krypterade samtal. Webbläsare som stöds inkluderar Chrome, Safari och Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Misslyckades att starta Livekit-anslutning",
|
||||||
"generic": "Något gick fel",
|
"generic": "Något gick fel",
|
||||||
"generic_description": "Att skicka felsökningsloggar hjälper oss att spåra problemet.",
|
"generic_description": "Att skicka felsökningsloggar hjälper oss att spåra problemet.",
|
||||||
"insufficient_capacity": "Otillräcklig kapacitet",
|
"insufficient_capacity": "Otillräcklig kapacitet",
|
||||||
"insufficient_capacity_description": "Servern har nått sin maximala kapacitet och du kan inte gå med i samtalet just nu. Försök igen senare, eller kontakta serveradministratören om problemet kvarstår.",
|
"insufficient_capacity_description": "Servern har nått sin maximala kapacitet och du kan inte gå med i samtalet just nu. Försök igen senare, eller kontakta serveradministratören om problemet kvarstår.",
|
||||||
"matrix_rtc_focus_missing": "Servern är inte konfigurerad för att fungera med {{brand}}. Vänligen kontakta serveradministratören (Domän: {{domain}}, Felkod: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Servern är inte konfigurerad för att fungera med {{brand}}. Vänligen kontakta din serveradministratör (Domän: {{domain}}, Felkod: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Fel i medlemskapshanteraren",
|
||||||
|
"membership_manager_description": "Medlemskapshanteraren var tvungen att stängas av. Detta orsakas av många misslyckade nätverksförfrågningar i rad.",
|
||||||
|
"no_matrix_2_authorization_service": "Auktoriseringstjänsten för din medieserver (SFU) är föråldrad.",
|
||||||
"open_elsewhere": "Öppnades i en annan flik",
|
"open_elsewhere": "Öppnades i en annan flik",
|
||||||
"open_elsewhere_description": "{{brand}} har öppnats i en annan flik. Om det inte låter rätt, pröva att ladda om sidan.",
|
"open_elsewhere_description": "{{brand}} har öppnats i en annan flik. Om det inte låter rätt, pröva att ladda om sidan.",
|
||||||
"room_creation_restricted": "Misslyckades att skapa samtal",
|
"room_creation_restricted": "Misslyckades att skapa samtal",
|
||||||
@@ -219,7 +244,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Visa alltid",
|
"always_show": "Visa alltid",
|
||||||
"camera_starting": "Video laddar …",
|
"camera_starting": "Video laddar …",
|
||||||
"change_fit_contain": "Anpassa till ram",
|
|
||||||
"collapse": "Kollapsa",
|
"collapse": "Kollapsa",
|
||||||
"expand": "Expandera",
|
"expand": "Expandera",
|
||||||
"mute_for_me": "Tysta för mig",
|
"mute_for_me": "Tysta för mig",
|
||||||
|
|||||||
+1
-3
@@ -63,8 +63,7 @@
|
|||||||
"livekit_server_info": "LiveKit Sunucu Bilgisi",
|
"livekit_server_info": "LiveKit Sunucu Bilgisi",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
"matrix_id": "Matrix Kimliği: {{id}}",
|
"matrix_id": "Matrix Kimliği: {{id}}",
|
||||||
"show_connection_stats": "Bağlantı istatistiklerini göster",
|
"show_connection_stats": "Bağlantı istatistiklerini göster"
|
||||||
"show_non_member_tiles": "Üye olmayan kullanıcılar için ortam döşemelerini göster"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Sunucuyla bağlantı kesildi.",
|
"disconnected_banner": "Sunucuyla bağlantı kesildi.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -192,7 +191,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Her zaman göster",
|
"always_show": "Her zaman göster",
|
||||||
"camera_starting": "Video paylaşımı başlatılıyor...",
|
"camera_starting": "Video paylaşımı başlatılıyor...",
|
||||||
"change_fit_contain": "Çerçeveye sığdır",
|
|
||||||
"collapse": "Daralt",
|
"collapse": "Daralt",
|
||||||
"expand": "Genişlet",
|
"expand": "Genişlet",
|
||||||
"mute_for_me": "Benim için sessize al",
|
"mute_for_me": "Benim için sessize al",
|
||||||
|
|||||||
+45
-5
@@ -49,13 +49,23 @@
|
|||||||
"profile": "Профіль",
|
"profile": "Профіль",
|
||||||
"reaction": "Реакція",
|
"reaction": "Реакція",
|
||||||
"reactions": "Реакції",
|
"reactions": "Реакції",
|
||||||
|
"reconnecting": "Повторне з'єднання…",
|
||||||
"settings": "Налаштування",
|
"settings": "Налаштування",
|
||||||
"unencrypted": "Не зашифровано",
|
"unencrypted": "Не зашифровано",
|
||||||
"username": "Ім'я користувача",
|
"username": "Ім'я користувача",
|
||||||
"video": "Відео"
|
"video": "Відео"
|
||||||
},
|
},
|
||||||
"developer_mode": {
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "Показувати опцію виводу звуку в динамік iPhone на всіх платформах",
|
||||||
"crypto_version": "Крипто-версія: {{version}}",
|
"crypto_version": "Крипто-версія: {{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "Наразі налаштовано: ",
|
||||||
|
"from_config": "Наразі перезапис не налаштовано. Використовується URL-адреса з відомого ресурсу або конфігурації.",
|
||||||
|
"label": "Власний Livekit-url",
|
||||||
|
"reset": "Скинути перезапис",
|
||||||
|
"save": "Зберегти",
|
||||||
|
"saving": "Збереження..."
|
||||||
|
},
|
||||||
"debug_tile_layout_label": "Налагоджування макету плиток",
|
"debug_tile_layout_label": "Налагоджування макету плиток",
|
||||||
"device_id": "ID пристрою: {{id}}",
|
"device_id": "ID пристрою: {{id}}",
|
||||||
"duplicate_tiles_label": "Кількість додаткових копій плиток на одного учасника",
|
"duplicate_tiles_label": "Кількість додаткових копій плиток на одного учасника",
|
||||||
@@ -63,11 +73,25 @@
|
|||||||
"hostname": "Ім'я хоста: {{hostname}}",
|
"hostname": "Ім'я хоста: {{hostname}}",
|
||||||
"livekit_server_info": "Інформація про сервер LiveKit",
|
"livekit_server_info": "Інформація про сервер LiveKit",
|
||||||
"livekit_sfu": "LiveKit SFU: {{url}}",
|
"livekit_sfu": "LiveKit SFU: {{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "Сумісно з домашніми серверами, які не підтримують закріплені події (але всі інші клієнти EC мають версію 0.17.0 або новішу)",
|
||||||
|
"label": "Сумісність: події стану та кілька SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "Сумісно з давнішими версіями EC, які не підтримують кілька SFU",
|
||||||
|
"label": "Застаріле: події стану та найдавніше членство SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "Сумісно лише з домашніми серверами, що підтримують закріплені події, та всіма клієнтами EC версії 0.17.0 або новіших.",
|
||||||
|
"label": "Matrix 2.0: закріплені події та мульти-SFU"
|
||||||
|
},
|
||||||
|
"title": "Режим MatrixRTC"
|
||||||
|
},
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"matrix_id": "Matrix ID: {{id}}",
|
||||||
|
"mute_all_audio": "Вимкнути всі звуки (учасників, реакцій, звуків приєднання)",
|
||||||
"show_connection_stats": "Показувати статистику підключення",
|
"show_connection_stats": "Показувати статистику підключення",
|
||||||
"show_non_member_tiles": "Показувати плитки для медіа, які не є учасниками",
|
"url_params": "Параметри URL"
|
||||||
"url_params": "Параметри URL",
|
|
||||||
"use_new_membership_manager": "Використовуйте нову реалізацію виклику MembershipManager"
|
|
||||||
},
|
},
|
||||||
"disconnected_banner": "Втрачено зв'язок з сервером.",
|
"disconnected_banner": "Втрачено зв'язок з сервером.",
|
||||||
"error": {
|
"error": {
|
||||||
@@ -78,13 +102,19 @@
|
|||||||
"connection_lost_description": "Вас було відключено від дзвінка.",
|
"connection_lost_description": "Вас було відключено від дзвінка.",
|
||||||
"e2ee_unsupported": "Несумісний браузер",
|
"e2ee_unsupported": "Несумісний браузер",
|
||||||
"e2ee_unsupported_description": "Ваш веб-браузер не підтримує зашифровані дзвінки. Підтримувані браузери включають Chrome, Safari та Firefox 117+.",
|
"e2ee_unsupported_description": "Ваш веб-браузер не підтримує зашифровані дзвінки. Підтримувані браузери включають Chrome, Safari та Firefox 117+.",
|
||||||
|
"failed_to_start_livekit": "Не вдалося розпочати з’єднання Livekit",
|
||||||
"generic": "Щось пішло не так",
|
"generic": "Щось пішло не так",
|
||||||
"generic_description": "Надсилання журналів налагодження допоможе нам відстежити проблему.",
|
"generic_description": "Надсилання журналів налагодження допоможе нам відстежити проблему.",
|
||||||
"insufficient_capacity": "Недостатньо обсягу",
|
"insufficient_capacity": "Недостатньо обсягу",
|
||||||
"insufficient_capacity_description": "Сервер досяг максимального обсягу, і ви на разі не можете приєднатися до виклику. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.",
|
"insufficient_capacity_description": "Сервер досяг максимального обсягу, і ви на разі не можете приєднатися до виклику. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.",
|
||||||
"matrix_rtc_focus_missing": "Сервер не налаштований щоб працювати з {{brand}}. Будь ласка, зв'яжіться з адміністратором сервера (Домен: {{domain}}, Код помилки: {{ errorCode }}).",
|
"matrix_rtc_transport_missing": "Сервер не налаштовано для роботи з{{brand}}. Зверніться до адміністратора вашого сервера (домен: {{domain}} , Код помилки: {{ errorCode }}).",
|
||||||
|
"membership_manager": "Помилка менеджера членства",
|
||||||
|
"membership_manager_description": "Менеджер членства був змушений припинити роботу. Це сталося через численні послідовні невдалі мережеві запити.",
|
||||||
|
"no_matrix_2_authorization_service": "Служба авторизації для вашого медіасервера (SFU) застаріла.",
|
||||||
"open_elsewhere": "Відкрито в іншій вкладці",
|
"open_elsewhere": "Відкрито в іншій вкладці",
|
||||||
"open_elsewhere_description": "{{brand}} було відкрито в іншій вкладці. Якщо це звучить неправильно, спробуйте перезавантажити сторінку.",
|
"open_elsewhere_description": "{{brand}} було відкрито в іншій вкладці. Якщо це звучить неправильно, спробуйте перезавантажити сторінку.",
|
||||||
|
"room_creation_restricted": "Не вдалося створити виклик",
|
||||||
|
"room_creation_restricted_description": "Створення викликів може бути обмежено лише для авторизованих користувачів. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.",
|
||||||
"unexpected_ec_error": "Сталася несподівана помилка (<0>Код помилки: </0> <1> {{ errorCode }}</1>). Будь ласка, зв'яжіться з адміністратором сервера."
|
"unexpected_ec_error": "Сталася несподівана помилка (<0>Код помилки: </0> <1> {{ errorCode }}</1>). Будь ласка, зв'яжіться з адміністратором сервера."
|
||||||
},
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
@@ -96,6 +126,11 @@
|
|||||||
"knock_reject_heading": "Доступ заборонено",
|
"knock_reject_heading": "Доступ заборонено",
|
||||||
"reason": "Причина: {{reason}}"
|
"reason": "Причина: {{reason}}"
|
||||||
},
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "Повернутися до режиму динаміка",
|
||||||
|
"overlay_description": "Працює лише під час використання застосунку",
|
||||||
|
"overlay_title": "Режим гарнітури"
|
||||||
|
},
|
||||||
"hangup_button_label": "Завершити виклик",
|
"hangup_button_label": "Завершити виклик",
|
||||||
"header_label": "Домівка Element Call",
|
"header_label": "Домівка Element Call",
|
||||||
"header_participants_label": "Учасники",
|
"header_participants_label": "Учасники",
|
||||||
@@ -158,12 +193,18 @@
|
|||||||
"effect_volume_description": "Змінити гучність реакцій і ефекту підіймання руки.",
|
"effect_volume_description": "Змінити гучність реакцій і ефекту підіймання руки.",
|
||||||
"effect_volume_label": "Гучність звукових ефектів"
|
"effect_volume_label": "Гучність звукових ефектів"
|
||||||
},
|
},
|
||||||
|
"background_blur_header": "Фон",
|
||||||
|
"background_blur_label": "Розмиття фону відео",
|
||||||
|
"blur_not_supported_by_browser": "(Розмиття фону не підтримується цим пристроєм.)",
|
||||||
"developer_tab_title": "Розробнику",
|
"developer_tab_title": "Розробнику",
|
||||||
"devices": {
|
"devices": {
|
||||||
"camera": "Камера",
|
"camera": "Камера",
|
||||||
"camera_numbered": "Камера {{n}}",
|
"camera_numbered": "Камера {{n}}",
|
||||||
|
"change_device_button": "Змінити аудіопристрій",
|
||||||
"default": "За замовчуванням",
|
"default": "За замовчуванням",
|
||||||
"default_named": "За замовчуванням <2> ({{name}}) </2>",
|
"default_named": "За замовчуванням <2> ({{name}}) </2>",
|
||||||
|
"handset": "Гарнітура",
|
||||||
|
"loudspeaker": "Гучномовець",
|
||||||
"microphone": "Мікрофон",
|
"microphone": "Мікрофон",
|
||||||
"microphone_numbered": "Мікрофон {{n}}",
|
"microphone_numbered": "Мікрофон {{n}}",
|
||||||
"speaker": "Динамік",
|
"speaker": "Динамік",
|
||||||
@@ -205,7 +246,6 @@
|
|||||||
"video_tile": {
|
"video_tile": {
|
||||||
"always_show": "Показувати завжди",
|
"always_show": "Показувати завжди",
|
||||||
"camera_starting": "Завантаження відео...",
|
"camera_starting": "Завантаження відео...",
|
||||||
"change_fit_contain": "Допасувати до рамки",
|
|
||||||
"collapse": "Згорнути",
|
"collapse": "Згорнути",
|
||||||
"expand": "Розгорнути",
|
"expand": "Розгорнути",
|
||||||
"mute_for_me": "Вимкнути звук для мене",
|
"mute_for_me": "Вимкнути звук для мене",
|
||||||
|
|||||||
+137
-9
@@ -5,16 +5,23 @@
|
|||||||
"action": {
|
"action": {
|
||||||
"close": "关闭",
|
"close": "关闭",
|
||||||
"copy_link": "复制链接",
|
"copy_link": "复制链接",
|
||||||
|
"edit": "编辑",
|
||||||
"go": "开始",
|
"go": "开始",
|
||||||
"invite": "邀请",
|
"invite": "邀请",
|
||||||
|
"lower_hand": "放手",
|
||||||
"no": "否",
|
"no": "否",
|
||||||
|
"pick_reaction": "选择反应",
|
||||||
|
"raise_hand": "举手",
|
||||||
"register": "注册",
|
"register": "注册",
|
||||||
"remove": "移除",
|
"remove": "移除",
|
||||||
|
"show_less": "显示更少",
|
||||||
|
"show_more": "显示更多",
|
||||||
"sign_in": "登录",
|
"sign_in": "登录",
|
||||||
"sign_out": "登出",
|
"sign_out": "登出",
|
||||||
"submit": "提交"
|
"submit": "提交",
|
||||||
|
"upload_file": "上传文件"
|
||||||
},
|
},
|
||||||
"analytics_notice": "参与测试即表示您同意我们收集匿名数据,用于改进产品。您可以在我们的<2>隐私政策</2>和<5>Cookie政策</5>中找到有关我们跟踪哪些数据以及更多信息。",
|
"analytics_notice": "参与本次测试即表示您同意我们收集匿名数据,这些数据将用于改进产品。有关我们收集的数据的更多信息,请参阅我们的<2>隐私政策</2> 以及我们的<6>Cookie 政策</6> 。",
|
||||||
"call_ended_view": {
|
"call_ended_view": {
|
||||||
"create_account_button": "创建账户",
|
"create_account_button": "创建账户",
|
||||||
"create_account_prompt": "<0>为何不设置密码来保留你的账户?</0><1>保留昵称并设置头像,以便在未来的通话中使用。</1>",
|
"create_account_prompt": "<0>为何不设置密码来保留你的账户?</0><1>保留昵称并设置头像,以便在未来的通话中使用。</1>",
|
||||||
@@ -30,25 +37,99 @@
|
|||||||
"analytics": "分析",
|
"analytics": "分析",
|
||||||
"audio": "音频",
|
"audio": "音频",
|
||||||
"avatar": "头像",
|
"avatar": "头像",
|
||||||
|
"back": "返回",
|
||||||
"display_name": "显示名称",
|
"display_name": "显示名称",
|
||||||
"encrypted": "已加密",
|
"encrypted": "已加密",
|
||||||
"home": "主页",
|
"home": "主页",
|
||||||
"loading": "加载中……",
|
"loading": "加载中……",
|
||||||
|
"next": "下一步",
|
||||||
"options": "选项",
|
"options": "选项",
|
||||||
"password": "密码",
|
"password": "密码",
|
||||||
|
"preferences": "偏好",
|
||||||
"profile": "个人信息",
|
"profile": "个人信息",
|
||||||
|
"reaction": "反应",
|
||||||
|
"reactions": "反应",
|
||||||
|
"reconnecting": "正在重新连接…",
|
||||||
"settings": "设置",
|
"settings": "设置",
|
||||||
"unencrypted": "未加密",
|
"unencrypted": "未加密",
|
||||||
"username": "用户名",
|
"username": "用户名",
|
||||||
"video": "视频"
|
"video": "视频"
|
||||||
},
|
},
|
||||||
|
"developer_mode": {
|
||||||
|
"always_show_iphone_earpiece": "在所有平台上显示 iPhone 听筒选项",
|
||||||
|
"crypto_version": "加密组件版本:{{version}}",
|
||||||
|
"custom_livekit_url": {
|
||||||
|
"current_url": "当前设置为: ",
|
||||||
|
"from_config": "当前未设置任何覆盖值。使用来自 well-known 或配置文件中的 URL。",
|
||||||
|
"label": "自定义 LiveKit URL",
|
||||||
|
"reset": "重置覆盖值",
|
||||||
|
"save": "保存",
|
||||||
|
"saving": "正在保存…"
|
||||||
|
},
|
||||||
|
"debug_tile_layout_label": "调试图块布局",
|
||||||
|
"device_id": "设备 ID:{{id}}",
|
||||||
|
"duplicate_tiles_label": "每个参与者的图块副本数量",
|
||||||
|
"environment_variables": "环境变量",
|
||||||
|
"hostname": "主机名:{{hostname}}",
|
||||||
|
"livekit_server_info": "LiveKit 服务器信息",
|
||||||
|
"livekit_sfu": "LiveKit SFU:{{url}}",
|
||||||
|
"matrixRTCMode": {
|
||||||
|
"Comptibility": {
|
||||||
|
"description": "兼容不支持黏着事件的主服务器(但要求所有其它 EC 客户端均为 v0.17.0 或更高版本)",
|
||||||
|
"label": "兼容性:状态事件 & 多重 SFU"
|
||||||
|
},
|
||||||
|
"Legacy": {
|
||||||
|
"description": "兼容不支持多重 SFU 的旧版本 EC",
|
||||||
|
"label": "旧版: 状态事件 & 传统人际 SFU"
|
||||||
|
},
|
||||||
|
"Matrix_2_0": {
|
||||||
|
"description": "仅兼容支持黏着事件的主服务器及所有 EC v0.17.0 或更高版本的参与者客户端",
|
||||||
|
"label": "Matrix 2.0:黏着事件 & 多重 SFU"
|
||||||
|
},
|
||||||
|
"title": "MatrixRTC 模式"
|
||||||
|
},
|
||||||
|
"matrix_id": "Matrix ID:{{id}}",
|
||||||
|
"mute_all_audio": "静默所有声音(参与者、反应与加入音效)",
|
||||||
|
"show_connection_stats": "显示连接统计信息",
|
||||||
|
"url_params": "URL 参数"
|
||||||
|
},
|
||||||
"disconnected_banner": "与服务器的连接中断。",
|
"disconnected_banner": "与服务器的连接中断。",
|
||||||
|
"error": {
|
||||||
|
"call_is_not_supported": "不支持的通话",
|
||||||
|
"call_not_found": "未找到通话",
|
||||||
|
"call_not_found_description": "<0>该链接似乎不属于任何现有通话. 请检查链接是否正确,或<1>创建新链接</1>。</0>",
|
||||||
|
"connection_lost": "连接已丢失",
|
||||||
|
"connection_lost_description": "你已断开通话。",
|
||||||
|
"e2ee_unsupported": "不兼容的浏览器",
|
||||||
|
"e2ee_unsupported_description": "你的浏览器不支持加密通话。支持的浏览器包括 Chrome、Safari 与 Firefox 117+。",
|
||||||
|
"failed_to_start_livekit": "LiveKit 连接启动失败",
|
||||||
|
"generic": "出现问题",
|
||||||
|
"generic_description": "提交调试日志将有助于我们调查问题。",
|
||||||
|
"insufficient_capacity": "容量不足",
|
||||||
|
"insufficient_capacity_description": "服务器已达到其最大容量,你目前无法加入通话。请稍后再试,或问题仍然存在时请联系服务器管理员。",
|
||||||
|
"matrix_rtc_transport_missing": "服务器未配置为用于 {{brand}}。请联系服务器管理员(域名:{{domain}},错误代码:{{ errorCode }} )。",
|
||||||
|
"membership_manager": "人际管理器错误",
|
||||||
|
"membership_manager_description": "人际管理器已关闭。这是由于连续多次网络请求失败造成的。",
|
||||||
|
"no_matrix_2_authorization_service": "媒体服务器(SFU)的授权服务已过期。",
|
||||||
|
"open_elsewhere": "在另一标签页打开",
|
||||||
|
"open_elsewhere_description": "{{brand}} 已在另一标签页中打开。如果这并非预期,请重载页面。",
|
||||||
|
"room_creation_restricted": "通话创建失败",
|
||||||
|
"room_creation_restricted_description": "可能仅限被授权的用户创建通话。请于稍候重试,或问题仍然存在的情况下联系服务器管理员。",
|
||||||
|
"unexpected_ec_error": "出现未知错误(<0>错误代码:</0><1>{{ errorCode }}</1>)。请联系服务器管理员。"
|
||||||
|
},
|
||||||
"group_call_loader": {
|
"group_call_loader": {
|
||||||
"banned_body": "你已被房间封禁",
|
"banned_body": "你已被房间封禁",
|
||||||
"banned_heading": "已被封禁",
|
"banned_heading": "已被封禁",
|
||||||
"call_ended_body": "你已被移出通话",
|
"call_ended_body": "你已被移出通话",
|
||||||
"call_ended_heading": "通话结束",
|
"call_ended_heading": "通话结束",
|
||||||
"knock_reject_body": "房间成员拒绝了你的加入请求"
|
"knock_reject_body": "房间成员拒绝了你的加入请求",
|
||||||
|
"knock_reject_heading": "拒绝访问",
|
||||||
|
"reason": "原因:{{reason}}"
|
||||||
|
},
|
||||||
|
"handset": {
|
||||||
|
"overlay_back_button": "返回扬声器模式",
|
||||||
|
"overlay_description": "仅在使用 app 时有效",
|
||||||
|
"overlay_title": "听筒模式"
|
||||||
},
|
},
|
||||||
"hangup_button_label": "通话结束",
|
"hangup_button_label": "通话结束",
|
||||||
"header_label": "Element Call主页",
|
"header_label": "Element Call主页",
|
||||||
@@ -65,8 +146,11 @@
|
|||||||
"layout_grid_label": "网格",
|
"layout_grid_label": "网格",
|
||||||
"layout_spotlight_label": "聚焦模式",
|
"layout_spotlight_label": "聚焦模式",
|
||||||
"lobby": {
|
"lobby": {
|
||||||
|
"ask_to_join": "请求加入通话",
|
||||||
|
"join_as_guest": "以访客身份加入",
|
||||||
"join_button": "加入通话",
|
"join_button": "加入通话",
|
||||||
"leave_button": "返回最近通话"
|
"leave_button": "返回最近通话",
|
||||||
|
"waiting_for_invite": "请求已发送!正在等待加入许可……"
|
||||||
},
|
},
|
||||||
"log_in": "登录",
|
"log_in": "登录",
|
||||||
"logging_in": "登录中……",
|
"logging_in": "登录中……",
|
||||||
@@ -78,6 +162,7 @@
|
|||||||
"microphone_on": "麦克风开启",
|
"microphone_on": "麦克风开启",
|
||||||
"mute_microphone_button_label": "静音麦克风",
|
"mute_microphone_button_label": "静音麦克风",
|
||||||
"participant_count_other": "{{count, number}}",
|
"participant_count_other": "{{count, number}}",
|
||||||
|
"qr_code": "二维码",
|
||||||
"rageshake_button_error_caption": "重传日志",
|
"rageshake_button_error_caption": "重传日志",
|
||||||
"rageshake_request_modal": {
|
"rageshake_request_modal": {
|
||||||
"body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
"body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
||||||
@@ -89,6 +174,7 @@
|
|||||||
"rageshake_sent": "谢谢!",
|
"rageshake_sent": "谢谢!",
|
||||||
"recaptcha_dismissed": "人机验证失败",
|
"recaptcha_dismissed": "人机验证失败",
|
||||||
"recaptcha_not_loaded": "recaptcha未加载",
|
"recaptcha_not_loaded": "recaptcha未加载",
|
||||||
|
"recaptcha_ssla_caption": "此站点受 ReCAPTCHA 保护,并且适用于 Google <2>隐私政策</2>与<6>服务条款</6> 。<9></9>点击“注册”即表示你同意<12>软件与服务许可条款(SSLA)</12>",
|
||||||
"register": {
|
"register": {
|
||||||
"passwords_must_match": "密码必须匹配",
|
"passwords_must_match": "密码必须匹配",
|
||||||
"registering": "正在注册……"
|
"registering": "正在注册……"
|
||||||
@@ -97,31 +183,73 @@
|
|||||||
"register_confirm_password_label": "确认密码",
|
"register_confirm_password_label": "确认密码",
|
||||||
"register_heading": "创建您的账户",
|
"register_heading": "创建您的账户",
|
||||||
"return_home_button": "返回主页",
|
"return_home_button": "返回主页",
|
||||||
|
"room_auth_view_continue_button": "继续",
|
||||||
|
"room_auth_view_ssla_caption": "点击“立即加入通话”即表示你同意我们的<2>软件与服务许可条款(SSLA)</2>",
|
||||||
"screenshare_button_label": "屏幕共享",
|
"screenshare_button_label": "屏幕共享",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"audio_tab": {
|
||||||
|
"effect_volume_description": "调整反应与举手时播放的音效的音量。",
|
||||||
|
"effect_volume_label": "音效音量"
|
||||||
|
},
|
||||||
|
"background_blur_header": "背景",
|
||||||
|
"background_blur_label": "模糊视频背景",
|
||||||
|
"blur_not_supported_by_browser": "(此设备不支持背景模糊)",
|
||||||
"developer_tab_title": "开发者",
|
"developer_tab_title": "开发者",
|
||||||
|
"devices": {
|
||||||
|
"camera": "摄像头",
|
||||||
|
"camera_numbered": "摄像头 {{n}}",
|
||||||
|
"change_device_button": "更改音频设备",
|
||||||
|
"default": "默认",
|
||||||
|
"default_named": "默认 <2>({{name}})</2>",
|
||||||
|
"handset": "听筒",
|
||||||
|
"loudspeaker": "扬声器",
|
||||||
|
"microphone": "麦克风",
|
||||||
|
"microphone_numbered": "麦克风 {{n}}",
|
||||||
|
"speaker": "扬声器",
|
||||||
|
"speaker_numbered": "扬声器 {{n}}"
|
||||||
|
},
|
||||||
"feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。",
|
"feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。",
|
||||||
"feedback_tab_description_label": "您的反馈",
|
"feedback_tab_description_label": "您的反馈",
|
||||||
"feedback_tab_h4": "提交反馈",
|
"feedback_tab_h4": "提交反馈",
|
||||||
"feedback_tab_send_logs_label": "包含调试日志",
|
"feedback_tab_send_logs_label": "包含调试日志",
|
||||||
"feedback_tab_thank_you": "谢谢,我们收到了反馈!",
|
"feedback_tab_thank_you": "谢谢,我们收到了反馈!",
|
||||||
"feedback_tab_title": "反馈",
|
"feedback_tab_title": "反馈",
|
||||||
"opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。"
|
"opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。",
|
||||||
|
"preferences_tab": {
|
||||||
|
"developer_mode_label": "开发者模式",
|
||||||
|
"developer_mode_label_description": "启用开发者模式并显示开发者设置标签",
|
||||||
|
"introduction": "你可以配置此处的额外选项以改善体验。",
|
||||||
|
"reactions_play_sound_description": "当任何人在通话中发送反应时播放音效",
|
||||||
|
"reactions_play_sound_label": "播放反应音效",
|
||||||
|
"reactions_show_description": "当任何人发送反应时显示动画效果。",
|
||||||
|
"reactions_show_label": "显示反应",
|
||||||
|
"show_hand_raised_timer_description": "当有参与者举手时显示计时器",
|
||||||
|
"show_hand_raised_timer_label": "显示举手持续时间"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"star_rating_input_label_one": "{{count}} 个星",
|
|
||||||
"star_rating_input_label_other": "{{count}} 个星",
|
"star_rating_input_label_other": "{{count}} 个星",
|
||||||
"start_new_call": "开始新通话",
|
"start_new_call": "开始新通话",
|
||||||
"start_video_button_label": "开始视频",
|
"start_video_button_label": "开始视频",
|
||||||
"stop_screenshare_button_label": "屏幕共享",
|
"stop_screenshare_button_label": "屏幕共享",
|
||||||
"stop_video_button_label": "停止视频",
|
"stop_video_button_label": "停止视频",
|
||||||
"submitting": "提交中…",
|
"submitting": "提交中…",
|
||||||
|
"switch_camera": "切换摄像头",
|
||||||
"unauthenticated_view_body": "还没有注册? <2>创建账户<2>",
|
"unauthenticated_view_body": "还没有注册? <2>创建账户<2>",
|
||||||
"unauthenticated_view_login_button": "登录你的账户",
|
"unauthenticated_view_login_button": "登录你的账户",
|
||||||
|
"unauthenticated_view_ssla_caption": "点击“开始”即表示你同意我们的 <2>软件与服务许可条款(SSLA)</2>",
|
||||||
"unmute_microphone_button_label": "取消麦克风静音",
|
"unmute_microphone_button_label": "取消麦克风静音",
|
||||||
"version": "版本:{{version}}",
|
"version": "{{productName}} 版本:{{version}}",
|
||||||
"video_tile": {
|
"video_tile": {
|
||||||
"change_fit_contain": "贴合框架",
|
"always_show": "始终显示",
|
||||||
|
"call_ended": "通话结束",
|
||||||
|
"calling": "呼叫中……",
|
||||||
|
"camera_starting": "视频加载中……",
|
||||||
|
"collapse": "折叠",
|
||||||
|
"expand": "展开",
|
||||||
"mute_for_me": "为我静音",
|
"mute_for_me": "为我静音",
|
||||||
"volume": "音量"
|
"muted_for_me": "为我静音",
|
||||||
|
"screen_share_volume": "屏幕共享音量",
|
||||||
|
"volume": "音量",
|
||||||
|
"waiting_for_media": "正在等待媒体…"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+37
-60
@@ -6,8 +6,9 @@
|
|||||||
"dev": "pnpm dev:full",
|
"dev": "pnpm dev:full",
|
||||||
"dev:full": "vite",
|
"dev:full": "vite",
|
||||||
"dev:embedded": "vite --config vite-embedded.config.js",
|
"dev:embedded": "vite --config vite-embedded.config.js",
|
||||||
|
"dev:component": "vite --config vite-component-dev.config.ts",
|
||||||
"build": "pnpm build:full",
|
"build": "pnpm build:full",
|
||||||
"build:full": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
|
"build:full": "node --max-old-space-size=16384 node_modules/vite/bin/vite.js build",
|
||||||
"build:full:production": "pnpm build:full",
|
"build:full:production": "pnpm build:full",
|
||||||
"build:full:development": "pnpm build:full --mode development",
|
"build:full:development": "pnpm build:full --mode development",
|
||||||
"build:embedded": "pnpm build:full --config vite-embedded.config.js",
|
"build:embedded": "pnpm build:full --config vite-embedded.config.js",
|
||||||
@@ -16,22 +17,28 @@
|
|||||||
"build:sdk:development": "pnpm build:sdk --mode development",
|
"build:sdk:development": "pnpm build:sdk --mode development",
|
||||||
"build:sdk": "pnpm build:full --config vite-sdk.config.js",
|
"build:sdk": "pnpm build:full --config vite-sdk.config.js",
|
||||||
"build:sdk:production": "pnpm build:sdk",
|
"build:sdk:production": "pnpm build:sdk",
|
||||||
|
"build:component": "pnpm build:component:js && pnpm build:component:types",
|
||||||
|
"build:component:js": "pnpm build:full --config vite-component.config.js",
|
||||||
|
"build:component:types": "tsc -p component/tsconfig.build.json",
|
||||||
|
"build:component:production": "pnpm build:component",
|
||||||
|
"build:component:development": "pnpm build:component:js --mode development && pnpm build:component:types",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"prettier:check": "prettier -c .",
|
"format": "oxfmt",
|
||||||
"prettier:format": "prettier -w .",
|
"format:check": "oxfmt --check; rc=$?; [[ $rc -ne 0 ]] && printf '\\033[46;30m INFO \\033[0m To fix, run: pnpm format\\n' >&2; exit $rc",
|
||||||
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:knip",
|
"lint": "pnpm lint:types && pnpm lint:oxlint && pnpm lint:knip && pnpm lint:externals",
|
||||||
"lint:eslint": "eslint --max-warnings 0 src playwright",
|
"lint:oxlint": "oxlint src component playwright",
|
||||||
"lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix",
|
"lint:oxlint-fix": "oxlint --fix src component playwright",
|
||||||
"lint:knip": "knip",
|
"lint:knip": "knip",
|
||||||
|
"lint:externals": "node scripts/check-component-externals.mjs",
|
||||||
"lint:types": "tsc",
|
"lint:types": "tsc",
|
||||||
"i18n": "i18next",
|
"i18n": "npx i18next-cli extract",
|
||||||
"i18n:check": "i18next --fail-on-warnings --fail-on-update",
|
"i18n:check": "npx i18next-cli extract --ci",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"test:storybook": "vitest --project=storybook",
|
"test:storybook": "vitest --project=storybook",
|
||||||
"test:unit": "vitest --project=unit",
|
"test:unit": "vitest --project=unit",
|
||||||
"test:coverage": "vitest --coverage",
|
"test:coverage": "vitest --coverage",
|
||||||
"backend": "docker-compose -f dev-backend-docker-compose.yml up",
|
"backend": "docker-compose -f docker-compose-dev.yml up",
|
||||||
"backend-playwright": "docker-compose -f playwright-backend-docker-compose.yml -f playwright-backend-docker-compose.override.yml up",
|
"backend-playwright": "docker-compose -f docker-compose-dev.yml -f docker-compose-playwright.yml up",
|
||||||
"test:playwright": "playwright test",
|
"test:playwright": "playwright test",
|
||||||
"test:playwright:open": "pnpm test:playwright --ui",
|
"test:playwright:open": "pnpm test:playwright --ui",
|
||||||
"links:on": "cp scripts/.pnpmfile.cjs .pnpmfile.cjs & pnpm install",
|
"links:on": "cp scripts/.pnpmfile.cjs .pnpmfile.cjs & pnpm install",
|
||||||
@@ -40,10 +47,6 @@
|
|||||||
"build-storybook": "storybook build"
|
"build-storybook": "storybook build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.5",
|
|
||||||
"@babel/preset-env": "^7.29.5",
|
|
||||||
"@babel/preset-react": "^7.22.15",
|
|
||||||
"@babel/preset-typescript": "^7.23.0",
|
|
||||||
"@codecov/vite-plugin": "^1.3.0",
|
"@codecov/vite-plugin": "^1.3.0",
|
||||||
"@fontsource/inconsolata": "^5.1.0",
|
"@fontsource/inconsolata": "^5.1.0",
|
||||||
"@fontsource/inter": "^5.1.0",
|
"@fontsource/inter": "^5.1.0",
|
||||||
@@ -51,7 +54,6 @@
|
|||||||
"@formatjs/intl-segmenter": "^11.7.3",
|
"@formatjs/intl-segmenter": "^11.7.3",
|
||||||
"@livekit/components-core": "^0.12.0",
|
"@livekit/components-core": "^0.12.0",
|
||||||
"@livekit/components-react": "^2.0.0",
|
"@livekit/components-react": "^2.0.0",
|
||||||
"@livekit/protocol": "^1.42.2",
|
|
||||||
"@livekit/track-processors": "^0.7.1",
|
"@livekit/track-processors": "^0.7.1",
|
||||||
"@mediapipe/tasks-vision": "^0.10.18",
|
"@mediapipe/tasks-vision": "^0.10.18",
|
||||||
"@playwright/test": "^1.60.0",
|
"@playwright/test": "^1.60.0",
|
||||||
@@ -59,17 +61,17 @@
|
|||||||
"@radix-ui/react-slider": "^1.1.2",
|
"@radix-ui/react-slider": "^1.1.2",
|
||||||
"@radix-ui/react-visually-hidden": "^1.0.3",
|
"@radix-ui/react-visually-hidden": "^1.0.3",
|
||||||
"@react-spring/web": "^10.0.0",
|
"@react-spring/web": "^10.0.0",
|
||||||
|
"@rolldown/plugin-babel": "^0.2.3",
|
||||||
"@sentry/react": "^8.0.0",
|
"@sentry/react": "^8.0.0",
|
||||||
"@sentry/vite-plugin": "^3.0.0",
|
"@sentry/vite-plugin": "^3.0.0",
|
||||||
"@storybook/addon-docs": "^10.3.6",
|
"@storybook/addon-docs": "^10.3.6",
|
||||||
"@storybook/addon-vitest": "^10.3.6",
|
"@storybook/addon-vitest": "^10.3.6",
|
||||||
"@storybook/react-vite": "^10.3.6",
|
"@storybook/react-vite": "^10.3.6",
|
||||||
"@stylistic/eslint-plugin": "^3.0.0",
|
|
||||||
"@testing-library/dom": "^10.1.0",
|
"@testing-library/dom": "^10.1.0",
|
||||||
"@testing-library/jest-dom": "^6.6.3",
|
"@testing-library/jest-dom": "^6.6.3",
|
||||||
"@testing-library/react": "^16.0.0",
|
"@testing-library/react": "^16.0.0",
|
||||||
"@testing-library/user-event": "^14.5.1",
|
"@testing-library/user-event": "^14.5.1",
|
||||||
"@types/content-type": "^1.1.5",
|
"@types/eslint": "^9.6.1",
|
||||||
"@types/grecaptcha": "^3.0.9",
|
"@types/grecaptcha": "^3.0.9",
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
@@ -79,52 +81,40 @@
|
|||||||
"@types/react": "^19.0.0",
|
"@types/react": "^19.0.0",
|
||||||
"@types/react-dom": "^19.0.0",
|
"@types/react-dom": "^19.0.0",
|
||||||
"@types/sdp-transform": "^2.4.5",
|
"@types/sdp-transform": "^2.4.5",
|
||||||
"@types/uuid": "10",
|
"@typescript-eslint/utils": "^8.61.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
|
||||||
"@typescript-eslint/parser": "^8.31.0",
|
|
||||||
"@use-gesture/react": "^10.2.11",
|
"@use-gesture/react": "^10.2.11",
|
||||||
"@vector-im/compound-design-tokens": "^10.0.0",
|
"@vector-im/compound-design-tokens": "^11.0.0",
|
||||||
"@vector-im/compound-web": "^9.3.0",
|
"@vector-im/compound-web": "^10.0.0",
|
||||||
"@vitejs/plugin-react": "^4.0.1",
|
"@vitejs/plugin-react": "^6.0.2",
|
||||||
"@vitest/browser-playwright": "^4.1.5",
|
"@vitest/browser-playwright": "^4.1.5",
|
||||||
"@vitest/coverage-v8": "^4.0.18",
|
"@vitest/coverage-v8": "^4.0.18",
|
||||||
"@vitest/ui": "4.1.5",
|
"@vitest/ui": "4.1.11",
|
||||||
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
"babel-plugin-react-compiler": "^1.0.0",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
"eslint": "^8.14.0",
|
"eslint-plugin-element-call": "link:eslint",
|
||||||
"eslint-config-google": "^0.14.0",
|
|
||||||
"eslint-config-prettier": "^10.0.0",
|
|
||||||
"eslint-plugin-deprecate": "^0.9.0",
|
|
||||||
"eslint-plugin-import": "^2.26.0",
|
|
||||||
"eslint-plugin-jsdoc": "^61.5.0",
|
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
||||||
"eslint-plugin-matrix-org": "2.1.0",
|
|
||||||
"eslint-plugin-react": "^7.29.4",
|
|
||||||
"eslint-plugin-react-hooks": "^5.0.0",
|
|
||||||
"eslint-plugin-rxjs": "^5.0.3",
|
|
||||||
"eslint-plugin-storybook": "^10.3.6",
|
"eslint-plugin-storybook": "^10.3.6",
|
||||||
"eslint-plugin-unicorn": "^56.0.0",
|
|
||||||
"fetch-mock": "11.1.5",
|
"fetch-mock": "11.1.5",
|
||||||
"global-jsdom": "^26.0.0",
|
"i18next": "^26.0.0",
|
||||||
"i18next": "^25.0.0",
|
|
||||||
"i18next-browser-languagedetector": "^8.0.0",
|
"i18next-browser-languagedetector": "^8.0.0",
|
||||||
"i18next-parser": "^9.1.0",
|
"i18next-cli": "^1.61.0",
|
||||||
"jsdom": "^26.0.0",
|
"jsdom": "^26.0.0",
|
||||||
"knip": "^5.86.0",
|
"knip": "^5.86.0",
|
||||||
"livekit-client": "^2.18.1",
|
"livekit-client": "^2.18.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"loglevel": "^1.9.1",
|
"loglevel": "^1.9.1",
|
||||||
"matrix-js-sdk": "matrix-org/matrix-js-sdk#develop",
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
|
||||||
"matrix-widget-api": "^1.16.1",
|
"matrix-widget-api": "^1.18.0",
|
||||||
"node-stdlib-browser": "^1.3.1",
|
"node-stdlib-browser": "^1.3.1",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"observable-hooks": "^4.2.3",
|
"oxfmt": "^0.66.0",
|
||||||
|
"oxlint": "^1.70.0",
|
||||||
|
"oxlint-tsgolint": "^0.25.0",
|
||||||
"pako": "^2.0.4",
|
"pako": "^2.0.4",
|
||||||
"postcss": "^8.4.41",
|
"postcss": "^8.4.41",
|
||||||
"postcss-preset-env": "^10.0.0",
|
"postcss-preset-env": "^10.0.0",
|
||||||
"posthog-js": "1.374.0",
|
"postcss-selector-parser": "^7.1.1",
|
||||||
"prettier": "^3.0.0",
|
"posthog-js": "1.408.2",
|
||||||
"qrcode": "^1.5.4",
|
"qrcode": "^1.5.4",
|
||||||
"react": "19",
|
"react": "19",
|
||||||
"react-dom": "19",
|
"react-dom": "19",
|
||||||
@@ -135,31 +125,18 @@
|
|||||||
"sass": "^1.42.1",
|
"sass": "^1.42.1",
|
||||||
"storybook": "^10.3.6",
|
"storybook": "^10.3.6",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"typescript-eslint-language-service": "^5.0.5",
|
|
||||||
"unique-names-generator": "^4.6.0",
|
"unique-names-generator": "^4.6.0",
|
||||||
"uuid": "^14.0.0",
|
"uuid": "^14.0.0",
|
||||||
"vaul": "^1.0.0",
|
"vaul": "^1.0.0",
|
||||||
"vite": "^8.0.0",
|
"vite": "^8.0.0",
|
||||||
"vite-plugin-generate-file": "^0.3.0",
|
"vite-plugin-generate-file": "^0.3.0",
|
||||||
"vite-plugin-html": "^3.2.2",
|
"vite-plugin-html": "^3.2.2",
|
||||||
"vite-plugin-node-polyfills": "^0.26.0",
|
"vite-plugin-node-polyfills": "^0.28.0",
|
||||||
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
||||||
"vite-plugin-svgr": "^4.0.0",
|
"vite-plugin-svgr": "^4.0.0",
|
||||||
"vite-plugin-wasm": "^3.6.0",
|
"vite-plugin-wasm": "^3.6.0",
|
||||||
"vitest": "^4.1.5",
|
"vitest": "^4.1.5",
|
||||||
"vitest-axe": "^1.0.0-pre.3"
|
"vitest-axe": "^1.0.0-pre.3"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"packageManager": "pnpm@11.21.0+sha512.521705bce689924eac72f5a3587122f362689ef6571e55ba80076fd637c11132ecffada26fad4ea79c485bfddbfd3d5a2a5b05805a77e893de71ec8a6cca3bb1"
|
||||||
"overrides": {
|
|
||||||
"@livekit/components-core>rxjs": "^7.8.1",
|
|
||||||
"@livekit/track-processors>@mediapipe/tasks-vision": "^0.10.18",
|
|
||||||
"minimatch": "^10.2.3",
|
|
||||||
"tar": "^7.5.11",
|
|
||||||
"glob": "^10.5.0",
|
|
||||||
"qs": "^6.14.1",
|
|
||||||
"js-yaml": "^4.1.1",
|
|
||||||
"esbuild": "^0.28.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"packageManager": "pnpm@10.33.0"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
services:
|
|
||||||
synapse:
|
|
||||||
volumes:
|
|
||||||
- ./backend/playwright_homeserver.yaml:/data/cfg/homeserver.yaml:Z
|
|
||||||
synapse-1:
|
|
||||||
volumes:
|
|
||||||
- ./backend/playwright_homeserver-othersite.yaml:/data/cfg/homeserver.yaml:Z
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user