Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d65d5b261 | ||
|
|
3d885597ae | ||
|
|
04781ab3a4 | ||
|
|
89d42cde7b | ||
|
|
02f6416741 | ||
|
|
73e1ce547d | ||
|
|
587973fb9b | ||
|
|
bb68e63f54 | ||
|
|
4fe6ac6b2d | ||
|
|
c11259d2aa |
23
.env.example
23
.env.example
@@ -10,10 +10,19 @@ LIVEKIT_SECRET="secret"
|
|||||||
# Used for determining the homeserver to use for short urls etc.
|
# Used for determining the homeserver to use for short urls etc.
|
||||||
# VITE_FALLBACK_STUN_ALLOWED=false
|
# VITE_FALLBACK_STUN_ALLOWED=false
|
||||||
|
|
||||||
# CSS to be injected into the page for the purpose of custom theming.
|
# VITE_CUSTOM_THEME=true
|
||||||
# Generally, writing a custom theme involves overriding Compound design tokens,
|
# VITE_THEME_ACCENT=#0dbd8b
|
||||||
# which are documented here:
|
# VITE_THEME_ACCENT_20=#0dbd8b33
|
||||||
# https://compound.element.io/?path=/docs/foundations-design-tokens--docs
|
# VITE_THEME_ALERT=#ff5b55
|
||||||
# https://compound.element.io/?path=/docs/tokens-color-palettes--docs
|
# VITE_THEME_ALERT_20=#ff5b5533
|
||||||
# https://compound.element.io/?path=/docs/tokens-semantic-colors--docs
|
# VITE_THEME_LINKS=#0086e6
|
||||||
# VITE_CUSTOM_CSS=".cpd-theme-dark.cpd-theme-dark { --cpd-color-theme-bg: #101317; }"
|
# VITE_THEME_PRIMARY_CONTENT=#ffffff
|
||||||
|
# VITE_THEME_SECONDARY_CONTENT=#a9b2bc
|
||||||
|
# VITE_THEME_TERTIARY_CONTENT=#8e99a4
|
||||||
|
# VITE_THEME_TERTIARY_CONTENT_20=#8e99a433
|
||||||
|
# VITE_THEME_QUATERNARY_CONTENT=#6f7882
|
||||||
|
# VITE_THEME_QUINARY_CONTENT=#394049
|
||||||
|
# VITE_THEME_SYSTEM=#21262c
|
||||||
|
# VITE_THEME_BACKGROUND=#15191e
|
||||||
|
# VITE_THEME_BACKGROUND_85=#15191ed9
|
||||||
|
# VITE_THEME_SUBTLE_PRIMARY=#26282D
|
||||||
|
|||||||
@@ -1,54 +1,31 @@
|
|||||||
const COPYRIGHT_HEADER = `/*
|
|
||||||
Copyright %%CURRENT_YEAR%% New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
`;
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: ["matrix-org"],
|
plugins: ["matrix-org"],
|
||||||
extends: [
|
extends: ["plugin:matrix-org/react", "plugin:matrix-org/a11y", "prettier"],
|
||||||
"plugin:matrix-org/react",
|
|
||||||
"plugin:matrix-org/a11y",
|
|
||||||
"plugin:matrix-org/typescript",
|
|
||||||
"prettier",
|
|
||||||
],
|
|
||||||
parserOptions: {
|
|
||||||
ecmaVersion: "latest",
|
|
||||||
sourceType: "module",
|
|
||||||
project: ["./tsconfig.json"],
|
|
||||||
},
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
rules: {
|
parserOptions: {
|
||||||
"matrix-org/require-copyright-header": ["error", COPYRIGHT_HEADER],
|
ecmaVersion: "latest",
|
||||||
"jsx-a11y/media-has-caption": "off",
|
sourceType: "module",
|
||||||
// We should use the js-sdk logger, never console directly.
|
|
||||||
"no-console": ["error"],
|
|
||||||
"no-restricted-imports": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
name: "@react-rxjs/core",
|
|
||||||
importNames: ["Subscribe", "RemoveSubscribe"],
|
|
||||||
message:
|
|
||||||
"These components are easy to misuse, please use the 'subscribe' component wrapper instead",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"react/display-name": "error",
|
|
||||||
},
|
},
|
||||||
|
rules: {
|
||||||
|
"jsx-a11y/media-has-caption": ["off"],
|
||||||
|
},
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
files: ["src/**/*.{ts,tsx}"],
|
||||||
|
extends: [
|
||||||
|
"plugin:matrix-org/typescript",
|
||||||
|
"plugin:matrix-org/react",
|
||||||
|
"prettier",
|
||||||
|
],
|
||||||
|
rules: {
|
||||||
|
// We're aiming to convert this code to strict mode
|
||||||
|
"@typescript-eslint/no-non-null-assertion": "off",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
settings: {
|
settings: {
|
||||||
react: {
|
react: {
|
||||||
version: "detect",
|
version: "detect",
|
||||||
|
|||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -1 +1 @@
|
|||||||
* @element-hq/element-call-reviewers
|
* @vector-im/element-call-reviewers
|
||||||
|
|||||||
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@@ -9,9 +9,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v2
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -23,10 +23,9 @@ jobs:
|
|||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
VITE_APP_VERSION: ${{ github.sha }}
|
|
||||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@@ -12,9 +12,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out test private repo
|
- name: Check out test private repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: element-hq/static-call-participant
|
repository: vector-im/static-call-participant
|
||||||
ref: refs/heads/main
|
ref: refs/heads/main
|
||||||
path: static-call-participant
|
path: static-call-participant
|
||||||
token: ${{ secrets.GH_E2E_TEST_TOKEN }}
|
token: ${{ secrets.GH_E2E_TEST_TOKEN }}
|
||||||
|
|||||||
6
.github/workflows/lint.yaml
vendored
6
.github/workflows/lint.yaml
vendored
@@ -7,9 +7,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v2
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -19,6 +19,6 @@ jobs:
|
|||||||
- name: i18n
|
- name: i18n
|
||||||
run: "yarn run i18n:check"
|
run: "yarn run i18n:check"
|
||||||
- name: ESLint
|
- name: ESLint
|
||||||
run: "yarn run lint:eslint"
|
run: "yarn run lint:js"
|
||||||
- name: Type check
|
- name: Type check
|
||||||
run: "yarn run lint:types"
|
run: "yarn run lint:types"
|
||||||
|
|||||||
88
.github/workflows/netlify-fullmesh.yaml
vendored
Normal file
88
.github/workflows/netlify-fullmesh.yaml
vendored
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
name: Netlify Main
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
branches:
|
||||||
|
- "full-mesh"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
deployments: write
|
||||||
|
# Important: the 'branches' filter above will match the 'main' branch on forks,
|
||||||
|
# so we need to check the head repo too in order to not run on PRs from forks
|
||||||
|
# We check the branch name again too just for completeness
|
||||||
|
# (Is there a nicer way to see if a PR is from a fork?)
|
||||||
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_repository.full_name == 'vector-im/element-call' && github.event.workflow_run.head_branch == 'full-mesh'
|
||||||
|
steps:
|
||||||
|
- name: Create Deployment
|
||||||
|
uses: bobheadxi/deployments@v1
|
||||||
|
id: deployment
|
||||||
|
with:
|
||||||
|
step: start
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
env: main-branch-cd
|
||||||
|
ref: ${{ github.event.workflow_run.head_sha }}
|
||||||
|
|
||||||
|
- name: "Download artifact"
|
||||||
|
uses: actions/github-script@v3.1.0
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const artifacts = await github.actions.listWorkflowRunArtifacts({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: ${{ github.event.workflow_run.id }},
|
||||||
|
});
|
||||||
|
const matchArtifact = artifacts.data.artifacts.filter((artifact) => {
|
||||||
|
return artifact.name == "build"
|
||||||
|
})[0];
|
||||||
|
const download = await github.actions.downloadArtifact({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
artifact_id: matchArtifact.id,
|
||||||
|
archive_format: 'zip',
|
||||||
|
});
|
||||||
|
const fs = require('fs');
|
||||||
|
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
|
||||||
|
|
||||||
|
- name: Extract Artifacts
|
||||||
|
run: unzip -d dist build.zip && rm build.zip
|
||||||
|
|
||||||
|
- name: Add redirects file
|
||||||
|
# We fetch from github directly as we don't bother checking out the repo
|
||||||
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/netlify_redirects > dist/_redirects
|
||||||
|
|
||||||
|
- name: Add config file
|
||||||
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/element_io_develop.json > dist/config.json
|
||||||
|
|
||||||
|
- name: Deploy to Netlify
|
||||||
|
id: netlify
|
||||||
|
uses: nwtgck/actions-netlify@v1.2.3
|
||||||
|
with:
|
||||||
|
publish-dir: dist
|
||||||
|
deploy-message: "Deploy from GitHub Actions"
|
||||||
|
production-branch: main
|
||||||
|
production-deploy: true
|
||||||
|
# These don't work because we're in workflow_run
|
||||||
|
enable-pull-request-comment: false
|
||||||
|
enable-commit-comment: false
|
||||||
|
github-deployment-environment: main
|
||||||
|
env:
|
||||||
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
timeout-minutes: 1
|
||||||
|
|
||||||
|
- name: Update deployment status
|
||||||
|
uses: bobheadxi/deployments@v1
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
step: finish
|
||||||
|
override: false
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
status: ${{ job.status }}
|
||||||
|
env: ${{ steps.deployment.outputs.env }}
|
||||||
|
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
|
env_url: ${{ steps.netlify.outputs.deploy-url }}
|
||||||
87
.github/workflows/netlify-livekit.yaml
vendored
Normal file
87
.github/workflows/netlify-livekit.yaml
vendored
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
name: Netlify LiveKit
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
branches:
|
||||||
|
- "livekit"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
deployments: write
|
||||||
|
# Important: the 'branches' filter above will match the 'livekit' branch on forks,
|
||||||
|
# so we need to check the head repo too in order to not run on PRs from forks
|
||||||
|
# We check the branch name again too just for completeness
|
||||||
|
# (Is there a nicer way to see if a PR is from a fork?)
|
||||||
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_repository.full_name == 'vector-im/element-call' && github.event.workflow_run.head_branch == 'livekit'
|
||||||
|
steps:
|
||||||
|
- name: Create Deployment
|
||||||
|
uses: bobheadxi/deployments@v1
|
||||||
|
id: deployment
|
||||||
|
with:
|
||||||
|
step: start
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
env: livekit-experiment-branch-cd
|
||||||
|
ref: ${{ github.event.workflow_run.head_sha }}
|
||||||
|
|
||||||
|
- name: "Download artifact"
|
||||||
|
uses: actions/github-script@v3.1.0
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const artifacts = await github.actions.listWorkflowRunArtifacts({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
run_id: ${{ github.event.workflow_run.id }},
|
||||||
|
});
|
||||||
|
const matchArtifact = artifacts.data.artifacts.filter((artifact) => {
|
||||||
|
return artifact.name == "build"
|
||||||
|
})[0];
|
||||||
|
const download = await github.actions.downloadArtifact({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
artifact_id: matchArtifact.id,
|
||||||
|
archive_format: 'zip',
|
||||||
|
});
|
||||||
|
const fs = require('fs');
|
||||||
|
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
|
||||||
|
|
||||||
|
- name: Extract Artifacts
|
||||||
|
run: unzip -d dist build.zip && rm build.zip
|
||||||
|
|
||||||
|
- name: Add redirects file
|
||||||
|
# We fetch from github directly as we don't bother checking out the repo
|
||||||
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit/config/netlify_redirects > dist/_redirects
|
||||||
|
|
||||||
|
- name: Add config file
|
||||||
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit/config/element_io_preview.json > dist/config.json
|
||||||
|
|
||||||
|
- name: Deploy to Netlify
|
||||||
|
id: netlify
|
||||||
|
uses: nwtgck/actions-netlify@v1.2.3
|
||||||
|
with:
|
||||||
|
publish-dir: dist
|
||||||
|
deploy-message: "Deploy from GitHub Actions"
|
||||||
|
production-branch: livekit
|
||||||
|
production-deploy: true
|
||||||
|
# These don't work because we're in workflow_run
|
||||||
|
enable-pull-request-comment: false
|
||||||
|
enable-commit-comment: false
|
||||||
|
env:
|
||||||
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
NETLIFY_SITE_ID: e3b9fa82-c040-4db6-b4bf-42b524d57423
|
||||||
|
timeout-minutes: 1
|
||||||
|
|
||||||
|
- name: Update deployment status
|
||||||
|
uses: bobheadxi/deployments@v1
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
step: finish
|
||||||
|
override: false
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
status: ${{ job.status }}
|
||||||
|
env: ${{ steps.deployment.outputs.env }}
|
||||||
|
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
|
env_url: ${{ steps.netlify.outputs.deploy-url }}
|
||||||
11
.github/workflows/netlify-pr.yaml
vendored
11
.github/workflows/netlify-pr.yaml
vendored
@@ -6,7 +6,6 @@ on:
|
|||||||
- completed
|
- completed
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- "main"
|
- "main"
|
||||||
- "livekit"
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
||||||
@@ -28,7 +27,7 @@ jobs:
|
|||||||
Exercise caution. Use test accounts.
|
Exercise caution. Use test accounts.
|
||||||
|
|
||||||
- id: prdetails
|
- id: prdetails
|
||||||
uses: matrix-org/pr-details-action@v1.3
|
uses: matrix-org/pr-details-action@v1.2
|
||||||
with:
|
with:
|
||||||
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
|
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
|
||||||
branch: ${{ github.event.workflow_run.head_branch }}
|
branch: ${{ github.event.workflow_run.head_branch }}
|
||||||
@@ -36,7 +35,7 @@ jobs:
|
|||||||
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
|
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
|
||||||
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
|
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
|
||||||
- name: 📥 Download artifact
|
- name: 📥 Download artifact
|
||||||
uses: dawidd6/action-download-artifact@v3
|
uses: dawidd6/action-download-artifact@v2
|
||||||
with:
|
with:
|
||||||
run_id: ${{ github.event.workflow_run.id }}
|
run_id: ${{ github.event.workflow_run.id }}
|
||||||
name: build
|
name: build
|
||||||
@@ -44,16 +43,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Add redirects file
|
- name: Add redirects file
|
||||||
# We fetch from github directly as we don't bother checking out the repo
|
# We fetch from github directly as we don't bother checking out the repo
|
||||||
run: curl -s https://raw.githubusercontent.com/element-hq/element-call/main/config/netlify_redirects > webapp/_redirects
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/netlify_redirects > webapp/_redirects
|
||||||
|
|
||||||
- name: Add config file
|
- name: Add config file
|
||||||
env:
|
env:
|
||||||
HEADBRACH: ${{ github.event.workflow_run.head_branch }}
|
HEADBRACH: ${{ github.event.workflow_run.head_branch }}
|
||||||
run: curl -s "https://raw.githubusercontent.com/element-hq/element-call/${HEADBRACH}/config/element_io_preview.json" > webapp/config.json
|
run: curl -s "https://raw.githubusercontent.com/vector-im/element-call/${HEADBRACH}/config/element_io_preview.json" > webapp/config.json
|
||||||
|
|
||||||
- name: ☁️ Deploy to Netlify
|
- name: ☁️ Deploy to Netlify
|
||||||
id: netlify
|
id: netlify
|
||||||
uses: nwtgck/actions-netlify@v2.1
|
uses: nwtgck/actions-netlify@v1.2
|
||||||
with:
|
with:
|
||||||
publish-dir: webapp
|
publish-dir: webapp
|
||||||
deploy-message: "Deploy from GitHub Actions"
|
deploy-message: "Deploy from GitHub Actions"
|
||||||
|
|||||||
34
.github/workflows/publish.yaml
vendored
34
.github/workflows/publish.yaml
vendored
@@ -3,8 +3,6 @@ name: Build & publish images to the package registry for tags
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
push:
|
|
||||||
branches: [livekit]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -18,22 +16,18 @@ jobs:
|
|||||||
contents: write # required to upload release asset
|
contents: write # required to upload release asset
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Get current time
|
|
||||||
id: current-time
|
|
||||||
run: echo "unix_time=$(date +'%s')" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Check it out
|
- name: Check it out
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Log in to container registry
|
- name: Log in to container registry
|
||||||
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -45,37 +39,31 @@ jobs:
|
|||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
VITE_APP_VERSION: ${{ github.event.release.tag_name || github.sha }}
|
VITE_APP_VERSION: ${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
- name: Create Tarball
|
- name: Create Tarball
|
||||||
env:
|
env:
|
||||||
TARBALL_VERSION: ${{ github.event.release.tag_name || github.sha }}
|
GITHUB_TAG_NAME: ${{ github.event.release.tag_name }}
|
||||||
run: |
|
run: |
|
||||||
tar --numeric-owner --transform "s/dist/element-call-${TARBALL_VERSION}/" -cvzf element-call-${TARBALL_VERSION}.tar.gz dist
|
tar --numeric-owner --transform "s/dist/element-call-${GITHUB_TAG_NAME}/" -cvzf element-call-${GITHUB_TAG_NAME}.tar.gz dist
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595
|
uses: alexellis/upload-assets@0.4.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
with:
|
||||||
path: "./element-call-*.tar.gz"
|
asset_paths: '["element-call-${{ github.event.release.tag_name }}.tar.gz"]'
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
|
||||||
type=sha,format=short,event=branch
|
|
||||||
type=semver,pattern=v{{version}}
|
|
||||||
type=raw,value=latest-ci,enable={{is_default_branch}}
|
|
||||||
type=raw,value=latest-ci_${{steps.current-time.outputs.unix_time}},enable={{is_default_branch}}
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345
|
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
@@ -9,9 +9,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v2
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
56
.github/workflows/translations-download.yaml
vendored
56
.github/workflows/translations-download.yaml
vendored
@@ -1,56 +0,0 @@
|
|||||||
name: Download translation files from Localazy
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
secrets:
|
|
||||||
ELEMENT_BOT_TOKEN:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
download:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout the code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install Deps
|
|
||||||
run: "yarn install --frozen-lockfile"
|
|
||||||
|
|
||||||
- name: Prune i18n
|
|
||||||
run: "rm -R public/locales"
|
|
||||||
|
|
||||||
- name: Download translation files
|
|
||||||
uses: localazy/download@v1.1.0
|
|
||||||
with:
|
|
||||||
groups: "-p includeSourceLang:true"
|
|
||||||
|
|
||||||
- name: Fix the owner of the downloaded files
|
|
||||||
run: "sudo chown runner:docker -R public/locales"
|
|
||||||
|
|
||||||
- name: Prettier
|
|
||||||
run: yarn prettier:format
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
id: cpr
|
|
||||||
uses: peter-evans/create-pull-request@v5.0.2
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
||||||
branch: actions/localazy-download
|
|
||||||
delete-branch: true
|
|
||||||
title: Localazy Download
|
|
||||||
commit-message: Translations updates
|
|
||||||
labels: |
|
|
||||||
T-Task
|
|
||||||
|
|
||||||
- name: Enable automerge
|
|
||||||
run: gh pr merge --merge --auto "$PR_NUMBER"
|
|
||||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
||||||
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
|
|
||||||
20
.github/workflows/translations-upload.yaml
vendored
20
.github/workflows/translations-upload.yaml
vendored
@@ -1,20 +0,0 @@
|
|||||||
name: Upload translation files to Localazy
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- livekit
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
upload:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout the code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Upload
|
|
||||||
uses: localazy/upload@v1
|
|
||||||
with:
|
|
||||||
write_key: ${{ secrets.LOCALAZY_WRITE_KEY }}
|
|
||||||
27
.github/workflows/triage-incoming.yaml
vendored
Normal file
27
.github/workflows/triage-incoming.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Move new issues into triage board
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
add-to-project:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: octokit/graphql-action@v2.x
|
||||||
|
id: add_to_project
|
||||||
|
with:
|
||||||
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
|
query: |
|
||||||
|
mutation add_to_project($projectid:ID!,$contentid:ID!) {
|
||||||
|
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
|
||||||
|
item {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
projectid: ${{ env.PROJECT_ID }}
|
||||||
|
contentid: ${{ github.event.issue.node_id }}
|
||||||
|
env:
|
||||||
|
PROJECT_ID: "PVT_kwDOAM0swc4AH1sa"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
@@ -14,7 +14,7 @@ module.exports = {
|
|||||||
Array.isArray(item) &&
|
Array.isArray(item) &&
|
||||||
item.length > 0 &&
|
item.length > 0 &&
|
||||||
item[0].name === "vite-plugin-mdx"
|
item[0].name === "vite-plugin-mdx"
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
config.plugins.push(svgrPlugin());
|
config.plugins.push(svgrPlugin());
|
||||||
config.resolve = config.resolve || {};
|
config.resolve = config.resolve || {};
|
||||||
|
|||||||
38
README.md
38
README.md
@@ -1,22 +1,22 @@
|
|||||||
# Element Call
|
# Element Call
|
||||||
|
|
||||||
[](https://matrix.to/#/#webrtc:matrix.org)
|
[](https://matrix.to/#/#webrtc:matrix.org)
|
||||||
[](https://localazy.com/p/element-call)
|
[](https://translate.element.io/engage/element-call/)
|
||||||
|
|
||||||
Group calls with WebRTC that leverage [Matrix](https://matrix.org) and an open-source WebRTC toolkit from [LiveKit](https://livekit.io/).
|
Group calls with WebRTC that leverage [Matrix](https://matrix.org) and an open-source WebRTC toolkit from [LiveKit](https://livekit.io/).
|
||||||
|
|
||||||
For prior version of the Element Call that relied solely on full-mesh logic, check [`full-mesh`](https://github.com/element-hq/element-call/tree/full-mesh) branch.
|
For prior version of the Element Call that relied solely on full-mesh logic, check [`full-mesh`](https://github.com/vector-im/element-call/tree/full-mesh) branch.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
To try it out, visit our hosted version at [call.element.io](https://call.element.io). You can also find the latest development version continuously deployed to [call.element.dev](https://call.element.dev/).
|
To try it out, visit our hosted version at [call.element.io](https://call.element.io). You can also find the latest development version continuously deployed to [element-call.netlify.app](https://element-call.netlify.app).
|
||||||
|
|
||||||
## Host it yourself
|
## Host it yourself
|
||||||
|
|
||||||
Until prebuilt tarballs are available, you'll need to build Element Call from source. First, clone and install the package:
|
Until prebuilt tarballs are available, you'll need to build Element Call from source. First, clone and install the package:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/element-hq/element-call.git
|
git clone https://github.com/vector-im/element-call.git
|
||||||
cd element-call
|
cd element-call
|
||||||
yarn
|
yarn
|
||||||
yarn build
|
yarn build
|
||||||
@@ -56,7 +56,7 @@ There are currently two different config files. `.env` holds variables that are
|
|||||||
|
|
||||||
## Translation
|
## Translation
|
||||||
|
|
||||||
If you'd like to help translate Element Call, head over to [Localazy](https://localazy.com/p/element-call). You're also encouraged to join the [Element Translators](https://matrix.to/#/#translators:element.io) space to discuss and coordinate translation efforts.
|
If you'd like to help translate Element Call, head over to [translate.element.io](https://translate.element.io/engage/element-call/). You're also encouraged to join the [Element Translators](https://matrix.to/#/#translators:element.io) space to discuss and coordinate translation efforts.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ yarn link
|
|||||||
Next, we can set up this project:
|
Next, we can set up this project:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/element-hq/element-call.git
|
git clone https://github.com/vector-im/element-call.git
|
||||||
cd element-call
|
cd element-call
|
||||||
yarn
|
yarn
|
||||||
yarn link matrix-js-sdk
|
yarn link matrix-js-sdk
|
||||||
@@ -88,17 +88,21 @@ yarn dev
|
|||||||
|
|
||||||
### Backend
|
### Backend
|
||||||
|
|
||||||
A docker compose file is provided to start a LiveKit server and auth
|
Add in you `.env` in root dir with:
|
||||||
service for development. These use a test 'secret' published in this
|
|
||||||
repository, so this must be used only for local development and
|
|
||||||
**_never be exposed to the public Internet._**
|
|
||||||
|
|
||||||
To use it, add SFU parameter in your local config `./public/config.json`:
|
```yaml
|
||||||
|
# Develop backend settings:
|
||||||
|
LIVEKIT_KEY="devkey"
|
||||||
|
LIVEKIT_SECRET="secret"
|
||||||
|
```
|
||||||
|
|
||||||
```json
|
Add SFU parameter in your local config `./public/config.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
"livekit": {
|
"livekit": {
|
||||||
"livekit_service_url": "http://localhost:8881"
|
"server_url": "ws://localhost:7880",
|
||||||
},
|
"jwt_service_url": "http:/localhost:8881"
|
||||||
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
Run backend components:
|
Run backend components:
|
||||||
@@ -106,9 +110,3 @@ Run backend components:
|
|||||||
```
|
```
|
||||||
yarn backend
|
yarn backend
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
Usage and other technical details about the project can be found here:
|
|
||||||
|
|
||||||
[**Docs**](./docs/README.md)
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# LiveKit requires host networking, which is only available on Linux
|
||||||
|
# This compose will not function correctly on Mac or Windows
|
||||||
version: "3.9"
|
version: "3.9"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
@@ -5,14 +7,15 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
auth-service:
|
auth-service:
|
||||||
image: ghcr.io/element-hq/lk-jwt-service:latest-ci
|
build:
|
||||||
|
context: ./backend/auth
|
||||||
|
container_name: auth-server
|
||||||
hostname: auth-server
|
hostname: auth-server
|
||||||
ports:
|
ports:
|
||||||
- 8881:8080
|
- 8881:8080
|
||||||
environment:
|
environment:
|
||||||
- LIVEKIT_URL=ws://localhost:7880
|
- LIVEKIT_KEY=${LIVEKIT_KEY}
|
||||||
- LIVEKIT_KEY=devkey
|
- LIVEKIT_SECRET=${LIVEKIT_SECRET}
|
||||||
- LIVEKIT_SECRET=secret
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|||||||
15
backend/auth/Dockerfile
Normal file
15
backend/auth/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
FROM golang:1.20-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY go.mod ./
|
||||||
|
COPY go.sum ./
|
||||||
|
RUN go mod download
|
||||||
|
|
||||||
|
COPY *.go ./
|
||||||
|
|
||||||
|
RUN go build -o /auth-server
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
CMD [ "/auth-server" ]
|
||||||
20
backend/auth/go.mod
Normal file
20
backend/auth/go.mod
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
module vector-auth-server
|
||||||
|
|
||||||
|
go 1.20
|
||||||
|
|
||||||
|
require github.com/livekit/protocol v1.5.7
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
|
||||||
|
github.com/golang/protobuf v1.5.3 // indirect
|
||||||
|
github.com/twitchtv/twirp v8.1.3+incompatible // indirect
|
||||||
|
golang.org/x/crypto v0.9.0 // indirect
|
||||||
|
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
|
||||||
|
golang.org/x/net v0.10.0 // indirect
|
||||||
|
golang.org/x/sys v0.8.0 // indirect
|
||||||
|
golang.org/x/text v0.9.0 // indirect
|
||||||
|
google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd // indirect
|
||||||
|
google.golang.org/grpc v1.55.0 // indirect
|
||||||
|
google.golang.org/protobuf v1.30.0 // indirect
|
||||||
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
|
)
|
||||||
94
backend/auth/go.sum
Normal file
94
backend/auth/go.sum
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
||||||
|
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
|
||||||
|
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
|
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||||
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
|
||||||
|
github.com/eapache/channels v1.1.0 h1:F1taHcn7/F0i8DYqKXJnyhJcVpp2kgFcNePxXtnyu4k=
|
||||||
|
github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=
|
||||||
|
github.com/frostbyte73/core v0.0.9 h1:AmE9GjgGpPsWk9ZkmY3HsYUs2hf2tZt+/W6r49URBQI=
|
||||||
|
github.com/gammazero/deque v0.2.1 h1:qSdsbG6pgp6nL7A0+K/B7s12mcCY/5l5SIUpMOl+dC0=
|
||||||
|
github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo=
|
||||||
|
github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8=
|
||||||
|
github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ=
|
||||||
|
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||||
|
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
|
||||||
|
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
||||||
|
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||||
|
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||||
|
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
|
||||||
|
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
|
||||||
|
github.com/jxskiss/base62 v1.1.0 h1:A5zbF8v8WXx2xixnAKD2w+abC+sIzYJX+nxmhA6HWFw=
|
||||||
|
github.com/lithammer/shortuuid/v4 v4.0.0 h1:QRbbVkfgNippHOS8PXDkti4NaWeyYfcBTHtw7k08o4c=
|
||||||
|
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1 h1:jm09419p0lqTkDaKb5iXdynYrzB84ErPPO4LbRASk58=
|
||||||
|
github.com/livekit/protocol v1.5.7 h1:jZeFQEmLuIhFblXDGPRCBbfjVJHb+YU7AsO+SMoXF70=
|
||||||
|
github.com/livekit/protocol v1.5.7/go.mod h1:ZaOnsvP+JS4s7vI1UO+JVdBagvvLp/lBXDAl2hkDS0I=
|
||||||
|
github.com/livekit/psrpc v0.3.0 h1:giBZsfM3CWA0oIYXofsMITbVQtyW7u/ES9sQmVspHPM=
|
||||||
|
github.com/mackerelio/go-osstat v0.2.4 h1:qxGbdPkFo65PXOb/F/nhDKpF2nGmGaCFDLXoZjJTtUs=
|
||||||
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
|
||||||
|
github.com/nats-io/nats.go v1.25.0 h1:t5/wCPGciR7X3Mu8QOi4jiJaXaWM8qtkLu4lzGZvYHE=
|
||||||
|
github.com/nats-io/nkeys v0.4.4 h1:xvBJ8d69TznjcQl9t6//Q5xXuVhyYiSos6RPtvQNTwA=
|
||||||
|
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
|
||||||
|
github.com/pion/datachannel v1.5.5 h1:10ef4kwdjije+M9d7Xm9im2Y3O6A6ccQb0zcqZcJew8=
|
||||||
|
github.com/pion/dtls/v2 v2.2.6 h1:yXMxKr0Skd+Ub6A8UqXTRLSywskx93ooMRHsQUtd+Z4=
|
||||||
|
github.com/pion/ice/v2 v2.3.4 h1:tjYjTLpWyZzUjpDnzk6T1y3oQyhyY2DiM2t095iDhyQ=
|
||||||
|
github.com/pion/interceptor v0.1.16 h1:0GDZrfNO+BmVNWymS31fMlVtPO2IJVBzy2Qq5XCYMIg=
|
||||||
|
github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY=
|
||||||
|
github.com/pion/mdns v0.0.7 h1:P0UB4Sr6xDWEox0kTVxF0LmQihtCbSAdW0H2nEgkA3U=
|
||||||
|
github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA=
|
||||||
|
github.com/pion/rtcp v1.2.10 h1:nkr3uj+8Sp97zyItdN60tE/S6vk4al5CPRR6Gejsdjc=
|
||||||
|
github.com/pion/rtp v1.7.13 h1:qcHwlmtiI50t1XivvoawdCGTP4Uiypzfrsap+bijcoA=
|
||||||
|
github.com/pion/sctp v1.8.7 h1:JnABvFakZueGAn4KU/4PSKg+GWbF6QWbKTWZOSGJjXw=
|
||||||
|
github.com/pion/sdp/v3 v3.0.6 h1:WuDLhtuFUUVpTfus9ILC4HRyHsW6TdugjEX/QY9OiUw=
|
||||||
|
github.com/pion/srtp/v2 v2.0.14 h1:Glt0MqEvINrDxL+aanmK4DiFjvs+uN2iYc6XD/iKpoY=
|
||||||
|
github.com/pion/stun v0.5.2 h1:J/8glQnDV91dfk2+ZnGN0o9bUJgABhTNljwfQWByoXE=
|
||||||
|
github.com/pion/transport/v2 v2.2.0 h1:u5lFqFHkXLMXMzai8tixZDfVjb8eOjH35yCunhPeb1c=
|
||||||
|
github.com/pion/turn/v2 v2.1.0 h1:5wGHSgGhJhP/RpabkUb/T9PdsAjkGLS6toYz5HNzoSI=
|
||||||
|
github.com/pion/udp/v2 v2.0.1 h1:xP0z6WNux1zWEjhC7onRA3EwwSliXqu1ElUZAQhUP54=
|
||||||
|
github.com/pion/webrtc/v3 v3.2.4 h1:gWSx4dqQb77051qBT9ipDrOyP6/sGYcAQP3UPjM8pU8=
|
||||||
|
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
||||||
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
|
github.com/prometheus/client_golang v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI=
|
||||||
|
github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4=
|
||||||
|
github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM=
|
||||||
|
github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI=
|
||||||
|
github.com/redis/go-redis/v9 v9.0.4 h1:FC82T+CHJ/Q/PdyLW++GeCO+Ol59Y4T7R4jbgjvktgc=
|
||||||
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
|
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
|
github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
|
||||||
|
github.com/twitchtv/twirp v8.1.3+incompatible h1:+F4TdErPgSUbMZMwp13Q/KgDVuI7HJXP61mNV3/7iuU=
|
||||||
|
github.com/twitchtv/twirp v8.1.3+incompatible/go.mod h1:RRJoFSAmTEh2weEqWtpPE3vFK5YBhA6bqp2l1kfCC5A=
|
||||||
|
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
|
||||||
|
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
|
||||||
|
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
|
||||||
|
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||||
|
golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
|
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
|
||||||
|
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
||||||
|
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU=
|
||||||
|
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
|
||||||
|
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||||
|
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
|
||||||
|
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
||||||
|
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
|
||||||
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
|
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
|
||||||
|
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
|
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
|
||||||
|
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||||
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
|
google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd h1:sLpv7bNL1AsX3fdnWh9WVh7ejIzXdOc1RRHGeAmeStU=
|
||||||
|
google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak=
|
||||||
|
google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag=
|
||||||
|
google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8=
|
||||||
|
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||||
|
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
||||||
|
google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
|
||||||
|
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||||
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
||||||
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
98
backend/auth/server.go
Normal file
98
backend/auth/server.go
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"encoding/json"
|
||||||
|
"log"
|
||||||
|
"net/http"
|
||||||
|
"os"
|
||||||
|
|
||||||
|
"time"
|
||||||
|
|
||||||
|
"github.com/livekit/protocol/auth"
|
||||||
|
)
|
||||||
|
|
||||||
|
type Handler struct {
|
||||||
|
key, secret string
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *Handler) handle(w http.ResponseWriter, r *http.Request) {
|
||||||
|
log.Printf("Request from %s", r.RemoteAddr)
|
||||||
|
|
||||||
|
// Set the CORS headers
|
||||||
|
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||||
|
w.Header().Set("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE")
|
||||||
|
w.Header().Set("Access-Control-Allow-Headers", "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization")
|
||||||
|
|
||||||
|
// Handle preflight request (CORS)
|
||||||
|
if r.Method == "OPTIONS" {
|
||||||
|
w.WriteHeader(http.StatusOK)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
roomName := r.URL.Query().Get("roomName")
|
||||||
|
name := r.URL.Query().Get("name")
|
||||||
|
identity := r.URL.Query().Get("identity")
|
||||||
|
|
||||||
|
log.Printf("roomName: %s, name: %s, identity: %s", roomName, name, identity)
|
||||||
|
|
||||||
|
if roomName == "" || name == "" || identity == "" {
|
||||||
|
w.WriteHeader(http.StatusBadRequest)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
token, err := getJoinToken(h.key, h.secret, roomName, identity, name)
|
||||||
|
if err != nil {
|
||||||
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
res := Response{token}
|
||||||
|
|
||||||
|
w.Header().Set("Content-Type", "application/json")
|
||||||
|
json.NewEncoder(w).Encode(res)
|
||||||
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
key := os.Getenv("LIVEKIT_KEY")
|
||||||
|
secret := os.Getenv("LIVEKIT_SECRET")
|
||||||
|
|
||||||
|
// Check if the key and secret are empty.
|
||||||
|
if key == "" || secret == "" {
|
||||||
|
log.Fatal("LIVEKIT_KEY and LIVEKIT_SECRET environment variables must be set")
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Printf("LIVEKIT_KEY: %s and LIVEKIT_SECRET %s", key, secret)
|
||||||
|
|
||||||
|
handler := &Handler{
|
||||||
|
key: key,
|
||||||
|
secret: secret,
|
||||||
|
}
|
||||||
|
|
||||||
|
http.HandleFunc("/token", handler.handle)
|
||||||
|
log.Fatal(http.ListenAndServe(":8080", nil))
|
||||||
|
}
|
||||||
|
|
||||||
|
type Response struct {
|
||||||
|
Token string `json:"accessToken"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func getJoinToken(apiKey, apiSecret, room, identity, name string) (string, error) {
|
||||||
|
at := auth.NewAccessToken(apiKey, apiSecret)
|
||||||
|
|
||||||
|
canPublish := true
|
||||||
|
canSubscribe := true
|
||||||
|
grant := &auth.VideoGrant{
|
||||||
|
RoomJoin: true,
|
||||||
|
RoomCreate: true,
|
||||||
|
CanPublish: &canPublish,
|
||||||
|
CanSubscribe: &canSubscribe,
|
||||||
|
Room: room,
|
||||||
|
}
|
||||||
|
|
||||||
|
at.AddGrant(grant).
|
||||||
|
SetIdentity(identity).
|
||||||
|
SetValidFor(time.Hour).
|
||||||
|
SetName(name)
|
||||||
|
|
||||||
|
return at.ToJWT()
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"default_server_config": {
|
"default_server_config": {
|
||||||
"m.homeserver": {
|
"m.homeserver": {
|
||||||
"base_url": "https://call-unstable.ems.host",
|
"base_url": "https://call.ems.host",
|
||||||
"server_name": "call-unstable.ems.host"
|
"server_name": "call.ems.host"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"livekit": {
|
"livekit": {
|
||||||
|
|||||||
@@ -21,9 +21,5 @@ server {
|
|||||||
expires 1w;
|
expires 1w;
|
||||||
add_header Cache-Control "public, no-transform";
|
add_header Cache-Control "public, no-transform";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /apple-app-site-association {
|
|
||||||
default_type application/json;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
## Element Call Docs
|
|
||||||
|
|
||||||
This folder contains documentation for Element Call setup and usage.
|
|
||||||
|
|
||||||
- [Url format and parameters](./url-params.md)
|
|
||||||
- [Embedded vs standalone mode](./embedded-standalone.md)
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
## Embedded vs standalone mode
|
|
||||||
|
|
||||||
Element call is developed using the js-sdk with matroska mode. This means the app can run either as a standalone app directly connected to a homeserver providing login interfaces or it can be used as a widget.
|
|
||||||
|
|
||||||
As a widget the app only uses the core calling (matrixRTC) parts. The rest (authentication, sending events, getting room state updates about calls) is done by the hosting client.
|
|
||||||
Element Call and the hosting client are connected via the widget api.
|
|
||||||
|
|
||||||
Element call detects that it is run as a widget if a widgetId is defined in the url parameters. If `widgetId` is present element call will try to connect to the client via the widget postMessage api using the parameters provided in [Url Format and parameters
|
|
||||||
](./url-params.md).
|
|
||||||
@@ -1,191 +0,0 @@
|
|||||||
## Url Format and parameters
|
|
||||||
|
|
||||||
There are two formats for Element Call urls.
|
|
||||||
|
|
||||||
- **Current Format**
|
|
||||||
```
|
|
||||||
https://element_call.domain/room/#
|
|
||||||
/<room_name_alias>?roomId=!id:domain&password=1234&<other params see below>
|
|
||||||
```
|
|
||||||
The url is split into two sections. The `https://element_call.domain/room/#` contains the app and the intend that the link brings you into a specific room (`https://call.element.io/#` would be the homepage). The fragment is used for query parameters to make sure they never get sent to the element_call.domain server. Here we have the actual matrix roomId and the password which are used to connect all participants with e2ee. This allows that `<room_name_alias>` does not need to be unique. Multiple meetings with the label weekly-sync can be created without collisions.
|
|
||||||
- **deprecated**
|
|
||||||
```
|
|
||||||
https://element_call.domain/<room_name>
|
|
||||||
```
|
|
||||||
With this format the livekit alias that will be used is the `<room_name>`. All ppl connecting to this url will end up in the same unencrypted room. This does not scale, is super unsecure (ppl could end up in the same room by accident) and it also is not really possible to support encryption.
|
|
||||||
The url parameters are spit into two categories: **general** and **widget related**.
|
|
||||||
|
|
||||||
### Widget related params
|
|
||||||
|
|
||||||
**widgetId**
|
|
||||||
The id used by the widget. The presence of this parameter inplis that elemetn call will not connect to a homeserver directly and instead tries to establish postMessage communication via the `parentUrl`
|
|
||||||
|
|
||||||
```
|
|
||||||
widgetId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**parentUrl**
|
|
||||||
The url used to send widget action postMessages. This should be the domain of the client
|
|
||||||
or the webview the widget is hosted in. (in case the widget is not in an Iframe but in a
|
|
||||||
dedicated webview we send the postMessages same webview the widget lives in. Filtering is
|
|
||||||
done in the widget so it ignores the messages it receives from itself)
|
|
||||||
|
|
||||||
```
|
|
||||||
parentUrl: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**userId**
|
|
||||||
The user's ID (only used in matryoshka mode).
|
|
||||||
|
|
||||||
```
|
|
||||||
userId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**deviceId**
|
|
||||||
The device's ID (only used in matryoshka mode).
|
|
||||||
|
|
||||||
```
|
|
||||||
deviceId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**baseUrl**
|
|
||||||
The base URL of the homeserver to use for media lookups in matryoshka mode.
|
|
||||||
|
|
||||||
```
|
|
||||||
baseUrl: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
### General url parameters
|
|
||||||
|
|
||||||
**roomId**
|
|
||||||
Anything about what room we're pointed to should be from useRoomIdentifier which
|
|
||||||
parses the path and resolves alias with respect to the default server name, however
|
|
||||||
roomId is an exception as we need the room ID in embedded (matroyska) mode, and not
|
|
||||||
the room alias (or even the via params because we are not trying to join it). This
|
|
||||||
is also not validated, where it is in useRoomIdentifier().
|
|
||||||
|
|
||||||
```
|
|
||||||
roomId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**confineToRoom**
|
|
||||||
Whether the app should keep the user confined to the current call/room.
|
|
||||||
|
|
||||||
```
|
|
||||||
confineToRoom: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**appPrompt**
|
|
||||||
Whether upon entering a room, the user should be prompted to launch the
|
|
||||||
native mobile app. (Affects only Android and iOS.)
|
|
||||||
|
|
||||||
```
|
|
||||||
appPrompt: boolean; (default: true)
|
|
||||||
```
|
|
||||||
|
|
||||||
**preload**
|
|
||||||
Whether the app should pause before joining the call until it sees an
|
|
||||||
io.element.join widget action, allowing it to be preloaded.
|
|
||||||
|
|
||||||
```
|
|
||||||
preload: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**hideHeader**
|
|
||||||
Whether to hide the room header when in a call.
|
|
||||||
|
|
||||||
```
|
|
||||||
hideHeader: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**showControls**
|
|
||||||
Whether to show the buttons to mute, screen-share, invite, hangup are shown when in a call.
|
|
||||||
|
|
||||||
```
|
|
||||||
showControls: boolean; (default: true)
|
|
||||||
```
|
|
||||||
|
|
||||||
**hideScreensharing**
|
|
||||||
Whether to hide the screen-sharing button.
|
|
||||||
|
|
||||||
```
|
|
||||||
hideScreensharing: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**enableE2EE** (Deprecated)
|
|
||||||
Whether to use end-to-end encryption. This is a legacy flag for the full mesh branch.
|
|
||||||
It is not used on the livekit branch and has no impact there!
|
|
||||||
|
|
||||||
```
|
|
||||||
enableE2EE: boolean; (default: true)
|
|
||||||
```
|
|
||||||
|
|
||||||
**perParticipantE2EE**
|
|
||||||
Whether to use per participant encryption.
|
|
||||||
Keys will be exchanged over encrypted matrix room messages.
|
|
||||||
|
|
||||||
```
|
|
||||||
perParticipantE2EE: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**password**
|
|
||||||
E2EE password when using a shared secret. (For individual sender keys in embedded mode this is not required.)
|
|
||||||
|
|
||||||
```
|
|
||||||
password: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**displayName**
|
|
||||||
The display name to use for auto-registration.
|
|
||||||
|
|
||||||
```
|
|
||||||
displayName: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**lang**
|
|
||||||
The BCP 47 code of the language the app should use.
|
|
||||||
|
|
||||||
```
|
|
||||||
lang: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**fonts**
|
|
||||||
The font/fonts which the interface should use.
|
|
||||||
There can be multiple font url parameters: `?font=font-one&font=font-two...`
|
|
||||||
|
|
||||||
```
|
|
||||||
font: string;
|
|
||||||
font: string;
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
**fontScale**
|
|
||||||
The factor by which to scale the interface's font size.
|
|
||||||
|
|
||||||
```
|
|
||||||
fontScale: number | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**analyticsID**
|
|
||||||
The Posthog analytics ID. It is only available if the user has given consent for sharing telemetry in element web.
|
|
||||||
|
|
||||||
```
|
|
||||||
analyticsID: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**allowIceFallback**
|
|
||||||
Whether the app is allowed to use fallback STUN servers for ICE in case the
|
|
||||||
user's homeserver doesn't provide any.
|
|
||||||
|
|
||||||
```
|
|
||||||
allowIceFallback: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**skipLobby**
|
|
||||||
Setting this flag skips the lobby and brings you in the call directly.
|
|
||||||
In the widget this can be combined with preload to pass the device settings
|
|
||||||
with the join widget action.
|
|
||||||
|
|
||||||
```
|
|
||||||
skipLobby: boolean; (default: false)
|
|
||||||
```
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
keySeparator: ".",
|
keySeparator: false,
|
||||||
namespaceSeparator: false,
|
namespaceSeparator: false,
|
||||||
contextSeparator: "|",
|
contextSeparator: "|",
|
||||||
pluralSeparator: "_",
|
pluralSeparator: "|",
|
||||||
createOldCatalogs: false,
|
createOldCatalogs: false,
|
||||||
defaultNamespace: "app",
|
defaultNamespace: "app",
|
||||||
lexers: {
|
lexers: {
|
||||||
@@ -10,14 +10,7 @@ export default {
|
|||||||
{
|
{
|
||||||
lexer: "JavascriptLexer",
|
lexer: "JavascriptLexer",
|
||||||
functions: ["t", "translatedError"],
|
functions: ["t", "translatedError"],
|
||||||
namespaceFunctions: ["useTranslation", "withTranslation"],
|
functionsNamespace: ["useTranslation", "withTranslation"],
|
||||||
},
|
|
||||||
],
|
|
||||||
tsx: [
|
|
||||||
{
|
|
||||||
lexer: "JsxLexer",
|
|
||||||
functions: ["t", "translatedError"],
|
|
||||||
namespaceFunctions: ["useTranslation", "withTranslation"],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -25,4 +18,5 @@ export default {
|
|||||||
output: "public/locales/$LOCALE/$NAMESPACE.json",
|
output: "public/locales/$LOCALE/$NAMESPACE.json",
|
||||||
input: ["src/**/*.{ts,tsx}"],
|
input: ["src/**/*.{ts,tsx}"],
|
||||||
sort: true,
|
sort: true,
|
||||||
|
useKeysAsDefaultValue: true,
|
||||||
};
|
};
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"readKey": "a7580769542256117579-70975387172511848f4c6533943d776547bad4853931ba352ee684b738f4494e",
|
|
||||||
|
|
||||||
"upload": {
|
|
||||||
"type": "json",
|
|
||||||
"deprecate": "file",
|
|
||||||
"features": ["plural_postfix_us", "filter_untranslated"],
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"pattern": "public/locales/en-GB/*.json",
|
|
||||||
"lang": "inherited"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"group": "existing",
|
|
||||||
"pattern": "public/locales/*/*.json",
|
|
||||||
"excludes": ["public/locales/en-GB/*.json"],
|
|
||||||
"lang": "${autodetectLang}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
"download": {
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"output": "public/locales/${langLsrDash}/${file}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"includeSourceLang": "${includeSourceLang|false}",
|
|
||||||
"langAliases": {
|
|
||||||
"en": "en_GB"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
110
package.json
110
package.json
@@ -5,11 +5,12 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
|
"build": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
|
"storybook": "start-storybook -p 6006",
|
||||||
|
"build-storybook": "build-storybook",
|
||||||
"prettier:check": "prettier -c .",
|
"prettier:check": "prettier -c .",
|
||||||
"prettier:format": "prettier -w .",
|
"prettier:format": "prettier -w .",
|
||||||
"lint": "yarn lint:types && yarn lint:eslint",
|
"lint": "yarn lint:types && yarn lint:js",
|
||||||
"lint:eslint": "eslint --max-warnings 0 src",
|
"lint:js": "eslint --max-warnings 0 src",
|
||||||
"lint:eslint-fix": "eslint --max-warnings 0 src --fix",
|
|
||||||
"lint:types": "tsc",
|
"lint:types": "tsc",
|
||||||
"i18n": "node_modules/i18next-parser/bin/cli.js",
|
"i18n": "node_modules/i18next-parser/bin/cli.js",
|
||||||
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
|
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
|
||||||
@@ -18,20 +19,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@juggle/resize-observer": "^3.3.1",
|
"@juggle/resize-observer": "^3.3.1",
|
||||||
"@livekit/components-core": "^0.8.0",
|
"@livekit/components-react": "^1.0.7",
|
||||||
"@livekit/components-react": "^1.1.0",
|
|
||||||
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
|
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
|
||||||
"@opentelemetry/api": "^1.4.0",
|
"@opentelemetry/api": "^1.4.0",
|
||||||
"@opentelemetry/context-zone": "^1.9.1",
|
"@opentelemetry/context-zone": "^1.9.1",
|
||||||
"@opentelemetry/exporter-jaeger": "^1.9.1",
|
"@opentelemetry/exporter-jaeger": "^1.9.1",
|
||||||
"@opentelemetry/exporter-trace-otlp-http": "^0.47.0",
|
"@opentelemetry/exporter-trace-otlp-http": "^0.35.1",
|
||||||
"@opentelemetry/instrumentation-document-load": "^0.34.0",
|
"@opentelemetry/instrumentation-document-load": "^0.31.1",
|
||||||
"@opentelemetry/instrumentation-user-interaction": "^0.34.0",
|
"@opentelemetry/instrumentation-user-interaction": "^0.32.1",
|
||||||
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
||||||
"@radix-ui/react-dialog": "^1.0.4",
|
|
||||||
"@radix-ui/react-slider": "^1.1.2",
|
|
||||||
"@radix-ui/react-visually-hidden": "^1.0.3",
|
|
||||||
"@react-aria/button": "^3.3.4",
|
"@react-aria/button": "^3.3.4",
|
||||||
|
"@react-aria/dialog": "^3.1.4",
|
||||||
"@react-aria/focus": "^3.5.0",
|
"@react-aria/focus": "^3.5.0",
|
||||||
"@react-aria/menu": "^3.3.0",
|
"@react-aria/menu": "^3.3.0",
|
||||||
"@react-aria/overlays": "^3.7.3",
|
"@react-aria/overlays": "^3.7.3",
|
||||||
@@ -39,97 +37,81 @@
|
|||||||
"@react-aria/tabs": "^3.1.0",
|
"@react-aria/tabs": "^3.1.0",
|
||||||
"@react-aria/tooltip": "^3.1.3",
|
"@react-aria/tooltip": "^3.1.3",
|
||||||
"@react-aria/utils": "^3.10.0",
|
"@react-aria/utils": "^3.10.0",
|
||||||
"@react-rxjs/core": "^0.10.7",
|
|
||||||
"@react-spring/web": "^9.4.4",
|
"@react-spring/web": "^9.4.4",
|
||||||
"@react-stately/collections": "^3.3.4",
|
"@react-stately/collections": "^3.3.4",
|
||||||
|
"@react-stately/overlays": "^3.1.3",
|
||||||
"@react-stately/select": "^3.1.3",
|
"@react-stately/select": "^3.1.3",
|
||||||
"@react-stately/tooltip": "^3.0.5",
|
"@react-stately/tooltip": "^3.0.5",
|
||||||
"@react-stately/tree": "^3.2.0",
|
"@react-stately/tree": "^3.2.0",
|
||||||
"@sentry/react": "^7.0.0",
|
"@sentry/react": "^6.13.3",
|
||||||
"@sentry/tracing": "^7.0.0",
|
"@sentry/tracing": "^6.13.3",
|
||||||
"@types/lodash": "^4.14.199",
|
"@types/grecaptcha": "^3.0.4",
|
||||||
|
"@types/sdp-transform": "^2.4.5",
|
||||||
"@use-gesture/react": "^10.2.11",
|
"@use-gesture/react": "^10.2.11",
|
||||||
"@vector-im/compound-design-tokens": "^0.1.0",
|
|
||||||
"@vector-im/compound-web": "^2.0.0",
|
|
||||||
"@vitejs/plugin-basic-ssl": "^1.0.1",
|
|
||||||
"@vitejs/plugin-react": "^4.0.1",
|
"@vitejs/plugin-react": "^4.0.1",
|
||||||
"buffer": "^6.0.3",
|
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
|
"color-hash": "^2.0.1",
|
||||||
"events": "^3.3.0",
|
"events": "^3.3.0",
|
||||||
"i18next": "^23.0.0",
|
"i18next": "^21.10.0",
|
||||||
"i18next-browser-languagedetector": "^7.0.0",
|
"i18next-browser-languagedetector": "^6.1.8",
|
||||||
"i18next-http-backend": "^2.0.0",
|
"i18next-http-backend": "^1.4.4",
|
||||||
"livekit-client": "^1.12.3",
|
"livekit-client": "1.12.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#2cd63ca4b90eb2e4d22b45ae281a81c4514e757a",
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#b698217445318f453e0b1086364a33113eaa85d9",
|
||||||
"matrix-widget-api": "^1.3.1",
|
"matrix-widget-api": "^1.3.1",
|
||||||
|
"mermaid": "^8.13.8",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"pako": "^2.0.4",
|
"pako": "^2.0.4",
|
||||||
"postcss-preset-env": "^9.0.0",
|
"postcss-preset-env": "^7",
|
||||||
"posthog-js": "^1.29.0",
|
"posthog-js": "^1.29.0",
|
||||||
|
"re-resizable": "^6.9.0",
|
||||||
"react": "18",
|
"react": "18",
|
||||||
"react-dom": "18",
|
"react-dom": "18",
|
||||||
"react-i18next": "^14.0.0",
|
"react-i18next": "^11.18.6",
|
||||||
|
"react-json-view": "^1.21.3",
|
||||||
|
"react-router": "6",
|
||||||
"react-router-dom": "^5.2.0",
|
"react-router-dom": "^5.2.0",
|
||||||
"react-use-clipboard": "^1.0.7",
|
"react-use-clipboard": "^1.0.7",
|
||||||
"react-use-measure": "^2.1.1",
|
"react-use-measure": "^2.1.1",
|
||||||
"rxjs": "^7.8.1",
|
|
||||||
"sdp-transform": "^2.14.1",
|
"sdp-transform": "^2.14.1",
|
||||||
"tinyqueue": "^2.0.3",
|
"tinyqueue": "^2.0.3",
|
||||||
"unique-names-generator": "^4.6.0",
|
"unique-names-generator": "^4.6.0"
|
||||||
"uuid": "9",
|
|
||||||
"vaul": "^0.8.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.5",
|
"@babel/core": "^7.16.5",
|
||||||
"@babel/preset-env": "^7.22.20",
|
"@sentry/vite-plugin": "^0.3.0",
|
||||||
"@babel/preset-react": "^7.22.15",
|
"@storybook/react": "^6.5.0-alpha.5",
|
||||||
"@babel/preset-typescript": "^7.23.0",
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
"@react-spring/rafz": "^9.7.3",
|
"@testing-library/react": "^13.4.0",
|
||||||
"@react-types/dialog": "^3.5.5",
|
"@types/node": "^18.13.0",
|
||||||
"@sentry/vite-plugin": "^2.0.0",
|
|
||||||
"@testing-library/jest-dom": "^6.0.0",
|
|
||||||
"@testing-library/react": "^14.0.0",
|
|
||||||
"@testing-library/user-event": "^14.5.1",
|
|
||||||
"@types/content-type": "^1.1.5",
|
|
||||||
"@types/dom-screen-wake-lock": "^1.0.1",
|
|
||||||
"@types/dompurify": "^3.0.2",
|
|
||||||
"@types/grecaptcha": "^3.0.4",
|
|
||||||
"@types/jest": "^29.5.5",
|
|
||||||
"@types/node": "^20.0.0",
|
|
||||||
"@types/react-router-dom": "^5.3.3",
|
|
||||||
"@types/request": "^2.48.8",
|
"@types/request": "^2.48.8",
|
||||||
"@types/sdp-transform": "^2.4.5",
|
"@typescript-eslint/eslint-plugin": "^5.52.0",
|
||||||
"@types/uuid": "9",
|
"@typescript-eslint/parser": "^5.52.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
"babel-loader": "^8.2.3",
|
||||||
"@typescript-eslint/parser": "^6.1.0",
|
|
||||||
"babel-loader": "^9.0.0",
|
|
||||||
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.14.0",
|
||||||
"eslint-config-google": "^0.14.0",
|
"eslint-config-google": "^0.14.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-deprecate": "^0.8.2",
|
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.26.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||||
"eslint-plugin-matrix-org": "^1.2.1",
|
"eslint-plugin-matrix-org": "^0.4.0",
|
||||||
"eslint-plugin-react": "^7.29.4",
|
"eslint-plugin-react": "^7.29.4",
|
||||||
"eslint-plugin-react-hooks": "^4.5.0",
|
"eslint-plugin-react-hooks": "^4.5.0",
|
||||||
"eslint-plugin-unicorn": "^50.0.0",
|
"i18next-parser": "^6.6.0",
|
||||||
"i18next-parser": "^8.0.0",
|
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jest": "^29.2.2",
|
"jest": "^29.2.2",
|
||||||
"jest-environment-jsdom": "^29.3.1",
|
"jest-environment-jsdom": "^29.3.1",
|
||||||
"jest-mock": "^29.5.0",
|
"prettier": "^2.6.2",
|
||||||
"prettier": "^3.0.0",
|
|
||||||
"sass": "^1.42.1",
|
"sass": "^1.42.1",
|
||||||
"typescript": "^5.1.6",
|
"storybook-builder-vite": "^0.1.12",
|
||||||
"typescript-eslint-language-service": "^5.0.5",
|
"typescript": "^4.9.5",
|
||||||
"vite": "^5.0.0",
|
"typescript-strict-plugin": "^2.0.1",
|
||||||
|
"vite": "^4.2.0",
|
||||||
"vite-plugin-html-template": "^1.1.0",
|
"vite-plugin-html-template": "^1.1.0",
|
||||||
"vite-plugin-svgr": "^4.0.0"
|
"vite-plugin-svgr": "^3.2.0"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"testEnvironment": "./test/environment.ts",
|
"testEnvironment": "jsdom",
|
||||||
"testMatch": [
|
"testMatch": [
|
||||||
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
||||||
],
|
],
|
||||||
@@ -139,7 +121,7 @@
|
|||||||
],
|
],
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"\\.css$": "identity-obj-proxy",
|
"\\.css$": "identity-obj-proxy",
|
||||||
"\\.svg\\?react$": "<rootDir>/test/mocks/svgr.ts",
|
"\\.svg$": "<rootDir>/test/mocks/svgr.ts",
|
||||||
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
||||||
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"applinks": {
|
|
||||||
"details": [
|
|
||||||
{
|
|
||||||
"appIDs": [
|
|
||||||
"7J4U792NQT.io.element.elementx",
|
|
||||||
"7J4U792NQT.io.element.elementx.nightly",
|
|
||||||
"7J4U792NQT.io.element.elementx.pr"
|
|
||||||
],
|
|
||||||
"components": [
|
|
||||||
{
|
|
||||||
"?": {
|
|
||||||
"no_universal_links": "?*"
|
|
||||||
},
|
|
||||||
"exclude": true,
|
|
||||||
"comment": "Opt out of universal links"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"/": "/*",
|
|
||||||
"comment": "Matches any URL"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
||||||
"target": {
|
|
||||||
"namespace": "android_app",
|
|
||||||
"package_name": "io.element.android.x.debug",
|
|
||||||
"sha256_cert_fingerprints": [
|
|
||||||
"B0:B0:51:DC:56:5C:81:2F:E1:7F:6F:3E:94:5B:4D:79:04:71:23:AB:0D:A6:12:86:76:9E:B2:94:91:97:13:0E"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
||||||
"target": {
|
|
||||||
"namespace": "android_app",
|
|
||||||
"package_name": "io.element.android.x.nightly",
|
|
||||||
"sha256_cert_fingerprints": [
|
|
||||||
"CA:D3:85:16:84:3A:05:CC:EB:00:AB:7B:D3:80:0F:01:BA:8F:E0:4B:38:86:F3:97:D8:F7:9A:1B:C4:54:E4:0F"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
||||||
"target": {
|
|
||||||
"namespace": "android_app",
|
|
||||||
"package_name": "io.element.android.x",
|
|
||||||
"sha256_cert_fingerprints": [
|
|
||||||
"C6:DB:9B:9C:8C:BD:D6:5D:16:E8:EC:8C:8B:91:C8:31:B9:EF:C9:5C:BF:98:AE:41:F6:A9:D8:35:15:1A:7E:16"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="cpd-theme-dark">
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,78 +1,92 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Вече имате акаунт?</0><1><0>Влезте с него</0> или <2>Влезте като гост</2></1>",
|
||||||
"user_menu": "Потребителско меню"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Създайте акаунт</0> или <2>Влезте като гост</2>",
|
||||||
},
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
|
||||||
"action": {
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Друг потребител в този разговор има проблем. За да диагностицираме този проблем по-добре ни се иска да съберем debug логове.",
|
||||||
"close": "Затвори",
|
"Audio": "Звук",
|
||||||
"go": "Напред",
|
"Avatar": "Аватар",
|
||||||
"no": "Не",
|
"Call link copied": "Връзка към разговора бе копирана",
|
||||||
"register": "Регистрация",
|
"Call type menu": "Меню \"тип на разговора\"",
|
||||||
"remove": "Премахни",
|
"Camera": "Камера",
|
||||||
"sign_in": "Влез",
|
"Change layout": "Промени изгледа",
|
||||||
"sign_out": "Излез"
|
"Close": "Затвори",
|
||||||
},
|
"Confirm password": "Потвърди паролата",
|
||||||
"call_ended_view": {
|
"Copied!": "Копирано!",
|
||||||
"create_account_button": "Създай акаунт",
|
"Copy and share this call link": "Копирай и сподели връзка към разговора",
|
||||||
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
|
"Create account": "Създай акаунт",
|
||||||
"not_now_button": "Не сега, върни се на началния екран"
|
"Debug log": "Debug логове",
|
||||||
},
|
"Debug log request": "Заявка за debug логове",
|
||||||
"common": {
|
"Details": "Детайли",
|
||||||
"audio": "Звук",
|
"Developer": "Разработчик",
|
||||||
"avatar": "Аватар",
|
"Display name": "Име/псевдоним",
|
||||||
"camera": "Камера",
|
"Download debug logs": "Изтеглете debug логове",
|
||||||
"copied": "Копирано!",
|
"Exit full screen": "Излез от цял екран",
|
||||||
"display_name": "Име/псевдоним",
|
"Fetching group call timed out.": "Изтече времето за взимане на груповия разговор.",
|
||||||
"home": "Начало",
|
"Freedom": "Свобода",
|
||||||
"loading": "Зареждане…",
|
"Full screen": "Цял екран",
|
||||||
"microphone": "Микрофон",
|
"Go": "Напред",
|
||||||
"password": "Парола",
|
"Grid layout menu": "Меню \"решетков изглед\"",
|
||||||
"profile": "Профил",
|
"Home": "Начало",
|
||||||
"settings": "Настройки",
|
"Include debug logs": "Включи debug логове",
|
||||||
"username": "Потребителско име",
|
"Incompatible versions": "Несъвместими версии",
|
||||||
"video": "Видео"
|
"Incompatible versions!": "Несъвместими версии!",
|
||||||
},
|
"Inspector": "Инспектор",
|
||||||
"exit_fullscreen_button_label": "Излез от цял екран",
|
"Invite": "Покани",
|
||||||
"fullscreen_button_label": "Цял екран",
|
"Invite people": "Покани хора",
|
||||||
"join_existing_call_modal": {
|
"Join call": "Влез в разговора",
|
||||||
"join_button": "Да, присъедини се",
|
"Join call now": "Влез в разговора сега",
|
||||||
"text": "Този разговор вече съществува, искате ли да се присъедините?",
|
"Join existing call?": "Присъединяване към съществуващ разговор?",
|
||||||
"title": "Присъединяване към съществуващ разговор?"
|
"Leave": "Напусни",
|
||||||
},
|
"Loading…": "Зареждане…",
|
||||||
"layout_spotlight_label": "Прожектор",
|
"Local volume": "Локална сила на звука",
|
||||||
"lobby": {
|
"Logging in…": "Влизане…",
|
||||||
"join_button": "Влез в разговора"
|
"Login": "Влез",
|
||||||
},
|
"Login to your account": "Влезте в акаунта си",
|
||||||
"local_volume_label": "Локална сила на звука",
|
"Microphone": "Микрофон",
|
||||||
"logging_in": "Влизане…",
|
"More": "Още",
|
||||||
"login_auth_links": "<0>Създайте акаунт</0> или <2>Влезте като гост</2>",
|
"Mute microphone": "Заглуши микрофона",
|
||||||
"login_title": "Влез",
|
"No": "Не",
|
||||||
"rageshake_request_modal": {
|
"Not now, return to home screen": "Не сега, върни се на началния екран",
|
||||||
"body": "Друг потребител в този разговор има проблем. За да диагностицираме този проблем по-добре ни се иска да съберем debug логове.",
|
"Not registered yet? <2>Create an account</2>": "Все още не сте регистрирани? <2>Създайте акаунт</2>",
|
||||||
"title": "Заявка за debug логове"
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Други потребители се опитват да се присъединят в разговора от несъвместими версии. Следните потребители трябва да проверят дали са презаредили браузърите си<1>{userLis}</1>",
|
||||||
},
|
"Password": "Парола",
|
||||||
"rageshake_send_logs": "Изпратете debug логове",
|
"Passwords must match": "Паролите не съвпадат",
|
||||||
"rageshake_sending": "Изпращане…",
|
"Profile": "Профил",
|
||||||
"recaptcha_dismissed": "Recaptcha отхвърлена",
|
"Recaptcha dismissed": "Recaptcha отхвърлена",
|
||||||
"recaptcha_not_loaded": "Recaptcha не е заредена",
|
"Recaptcha not loaded": "Recaptcha не е заредена",
|
||||||
"register": {
|
"Register": "Регистрация",
|
||||||
"passwords_must_match": "Паролите не съвпадат",
|
"Registering…": "Регистриране…",
|
||||||
"registering": "Регистриране…"
|
"Remove": "Премахни",
|
||||||
},
|
"Return to home screen": "Връщане на началния екран",
|
||||||
"register_auth_links": "<0>Вече имате акаунт?</0><1><0>Влезте с него</0> или <2>Влезте като гост</2></1>",
|
"Select an option": "Изберете опция",
|
||||||
"register_confirm_password_label": "Потвърди паролата",
|
"Send debug logs": "Изпратете debug логове",
|
||||||
"return_home_button": "Връщане на началния екран",
|
"Sending…": "Изпращане…",
|
||||||
"room_auth_view_join_button": "Влез в разговора сега",
|
"Settings": "Настройки",
|
||||||
"screenshare_button_label": "Сподели екрана",
|
"Share screen": "Сподели екрана",
|
||||||
"select_input_unset_button": "Изберете опция",
|
"Show call inspector": "Покажи инспектора на разговора",
|
||||||
"settings": {
|
"Sign in": "Влез",
|
||||||
"developer_tab_title": "Разработчик",
|
"Sign out": "Излез",
|
||||||
"feedback_tab_h4": "Изпрати обратна връзка",
|
"Speaker": "Говорител",
|
||||||
"feedback_tab_send_logs_label": "Включи debug логове",
|
"Spotlight": "Прожектор",
|
||||||
"more_tab_title": "Още",
|
"Stop sharing screen": "Спри споделянето на екрана",
|
||||||
"speaker_device_selection_label": "Говорител"
|
"Submit feedback": "Изпрати обратна връзка",
|
||||||
},
|
"Take me Home": "Отиди в Начало",
|
||||||
"unauthenticated_view_body": "Все още не сте регистрирани? <2>Създайте акаунт</2>",
|
"Thanks! We'll get right on it.": "Благодарим! Веднага ще се заемем.",
|
||||||
"unauthenticated_view_login_button": "Влезте в акаунта си",
|
"This call already exists, would you like to join?": "Този разговор вече съществува, искате ли да се присъедините?",
|
||||||
"version": "Версия: {{version}}",
|
"Turn off camera": "Изключи камерата",
|
||||||
"waiting_for_participants": "Изчакване на други участници…"
|
"Turn on camera": "Включи камерата",
|
||||||
|
"Unmute microphone": "Включи микрофона",
|
||||||
|
"User menu": "Потребителско меню",
|
||||||
|
"Username": "Потребителско име",
|
||||||
|
"Version: {{version}}": "Версия: {{version}}",
|
||||||
|
"Video": "Видео",
|
||||||
|
"Video call": "Видео разговор",
|
||||||
|
"Video call name": "Име на видео разговора",
|
||||||
|
"Waiting for other participants…": "Изчакване на други участници…",
|
||||||
|
"Walkie-talkie call": "Уоки-токи разговор",
|
||||||
|
"Walkie-talkie call name": "Име на уоки-токи разговора",
|
||||||
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC не се поддържа или се блокира от браузъра.",
|
||||||
|
"Yes, join call": "Да, присъедини се",
|
||||||
|
"Your recent calls": "Скорошните ви разговори",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,82 +1,100 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Copy and share this call link": "Zkopírujte a sdílejte odkaz na hovor",
|
||||||
"user_menu": "Uživatelské menu"
|
"Copied!": "Zkopírováno!",
|
||||||
},
|
"Confirm password": "Potvrdit heslo",
|
||||||
"action": {
|
"Close": "Zavřít",
|
||||||
"close": "Zavřít",
|
"Change layout": "Změnit rozložení",
|
||||||
"copy": "Kopírovat",
|
"Camera": "Kamera",
|
||||||
"go": "Pokračovat",
|
"Call link copied": "Odkaz na hovor zkopírován",
|
||||||
"no": "Ne",
|
"Avatar": "Avatar",
|
||||||
"register": "Registrace",
|
"Audio": "Audio",
|
||||||
"remove": "Odstranit",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Vytvořit účet</0> Or <2>Jako host</2>",
|
||||||
"sign_in": "Přihlásit se",
|
"Your recent calls": "Vaše nedávné hovory",
|
||||||
"sign_out": "Odhlásit se"
|
"Yes, join call": "Ano, připojit se",
|
||||||
},
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC není podporováno nebo je zakázáno tímto prohlížečem.",
|
||||||
"call_ended_view": {
|
"Waiting for other participants…": "Čekání na další účastníky…",
|
||||||
"create_account_button": "Vytvořit účet",
|
"Video call name": "Jméno videohovoru",
|
||||||
"create_account_prompt": "<0>Proč neskončit nastavením hesla, abyste mohli účet použít znovu?</0><1>Budete si moci nechat své jméno a nastavit si avatar pro budoucí hovory </1>",
|
"Video call": "Videohovor",
|
||||||
"not_now_button": "Teď ne, vrátit se na domovskou obrazovku"
|
"Video": "Video",
|
||||||
},
|
"Version: {{version}}": "Verze: {{version}}",
|
||||||
"common": {
|
"Username": "Uživatelské jméno",
|
||||||
"camera": "Kamera",
|
"User menu": "Uživatelské menu",
|
||||||
"copied": "Zkopírováno!",
|
"Unmute microphone": "Zapnout mikrofon",
|
||||||
"display_name": "Zobrazované jméno",
|
"Turn on camera": "Zapnout kameru",
|
||||||
"home": "Domov",
|
"Turn off camera": "Vypnout kameru",
|
||||||
"loading": "Načítání…",
|
"This call already exists, would you like to join?": "Tento hovor již existuje, chcete se připojit?",
|
||||||
"microphone": "Mikrofon",
|
"Thanks! We'll get right on it.": "Děkujeme! Hned se na to vrhneme.",
|
||||||
"password": "Heslo",
|
"Take me Home": "Domovská obrazovka",
|
||||||
"profile": "Profil",
|
"Submit feedback": "Dát feedback",
|
||||||
"settings": "Nastavení",
|
"Stop sharing screen": "Zastavit sdílení obrazovek",
|
||||||
"username": "Uživatelské jméno"
|
"Speaker": "Reproduktor",
|
||||||
},
|
"Sign out": "Odhlásit se",
|
||||||
"exit_fullscreen_button_label": "Ukončit režim celé obrazovky",
|
"Sign in": "Přihlásit se",
|
||||||
"full_screen_view_description": "<0>Odeslání ladících záznamů nám pomůže diagnostikovat problém.</0>",
|
"Show call inspector": "Zobrazit inspektor hovoru",
|
||||||
"full_screen_view_h1": "<0>Oops, něco se pokazilo.</0>",
|
"Share screen": "Sdílet obrazovku",
|
||||||
"fullscreen_button_label": "Zvětšit na celou obrazovku",
|
"Settings": "Nastavení",
|
||||||
"header_label": "Domov Element Call",
|
"Sending…": "Posílání…",
|
||||||
"join_existing_call_modal": {
|
"Sending debug logs…": "Posílání ladícího záznamu…",
|
||||||
"join_button": "Ano, připojit se",
|
"Send debug logs": "Poslat ladící záznam",
|
||||||
"text": "Tento hovor již existuje, chcete se připojit?",
|
"Select an option": "Vyberte možnost",
|
||||||
"title": "Připojit se k existujícimu hovoru?"
|
"Return to home screen": "Vrátit se na domácí obrazovku",
|
||||||
},
|
"Remove": "Odstranit",
|
||||||
"layout_spotlight_label": "Soustředěný mód",
|
"Registering…": "Registrování…",
|
||||||
"lobby": {
|
"Register": "Registrace",
|
||||||
"join_button": "Připojit se k hovoru"
|
"Profile": "Profil",
|
||||||
},
|
"Passwords must match": "Hesla se musí shodovat",
|
||||||
"local_volume_label": "Lokální hlasitost",
|
"Password": "Heslo",
|
||||||
"logging_in": "Přihlašování se…",
|
"Not now, return to home screen": "Teď ne, vrátit se na domovskou obrazovku",
|
||||||
"login_auth_links": "<0>Vytvořit účet</0> Or <2>Jako host</2>",
|
"No": "Ne",
|
||||||
"login_title": "Přihlášení",
|
"Mute microphone": "Ztlumit mikrofon",
|
||||||
"rageshake_request_modal": {
|
"More": "Více",
|
||||||
"body": "Jiný uživatel v tomto hovoru má problémy. Abychom mohli diagnostikovat problém, rádi bychom shromáždili protokoly ladění.",
|
"Microphone": "Mikrofon",
|
||||||
"title": "Žádost o protokoly ladění"
|
"Login to your account": "Přihlásit se ke svému účtu",
|
||||||
},
|
"Login": "Přihlášení",
|
||||||
"rageshake_send_logs": "Poslat ladící záznam",
|
"Logging in…": "Přihlašování se…",
|
||||||
"rageshake_sending": "Posílání…",
|
"Local volume": "Lokální hlasitost",
|
||||||
"rageshake_sending_logs": "Posílání ladícího záznamu…",
|
"Loading…": "Načítání…",
|
||||||
"recaptcha_dismissed": "Recaptcha byla zamítnuta",
|
"Leave": "Opustit hovor",
|
||||||
"recaptcha_not_loaded": "Recaptcha se nenačetla",
|
"Join call now": "Připojit se k hovoru",
|
||||||
"register": {
|
"Join call": "Připojit se k hovoru",
|
||||||
"passwords_must_match": "Hesla se musí shodovat",
|
"Invite people": "Pozvat lidi",
|
||||||
"registering": "Registrování…"
|
"Invite": "Pozvat",
|
||||||
},
|
"Inspector": "Insepktor",
|
||||||
"register_auth_links": "<0>Už máte účet?</0><1><0>Přihlásit se</0> Or <2>Jako host</2></1>",
|
"Incompatible versions!": "Nekompatibilní verze!",
|
||||||
"register_confirm_password_label": "Potvrdit heslo",
|
"Incompatible versions": "Nekompatibilní verze",
|
||||||
"return_home_button": "Vrátit se na domácí obrazovku",
|
"Walkie-talkie call name": "Jméno vysílačkového hovoru",
|
||||||
"room_auth_view_join_button": "Připojit se k hovoru",
|
"Walkie-talkie call": "Vysílačkový hovor",
|
||||||
"screenshare_button_label": "Sdílet obrazovku",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"select_input_unset_button": "Vyberte možnost",
|
"Spotlight": "Soustředěný mód",
|
||||||
"settings": {
|
"Recaptcha not loaded": "Recaptcha se nenačetla",
|
||||||
"developer_settings_label": "Vývojářské nastavení",
|
"Recaptcha dismissed": "Recaptcha byla zamítnuta",
|
||||||
"developer_settings_label_description": "Zobrazit vývojářské nastavení.",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Ostatní uživatelé se pokoušejí připojit k tomuto hovoru s nekompatibilních verzí. Tito uživatelé by se měli ujistit, že stránku načetli znovu:<1>{userLis}</1>",
|
||||||
"developer_tab_title": "Vývojář",
|
"Not registered yet? <2>Create an account</2>": "Nejste registrovaní? <2>Vytvořit účet</2>",
|
||||||
"feedback_tab_h4": "Dát feedback",
|
"Join existing call?": "Připojit se k existujícimu hovoru?",
|
||||||
"feedback_tab_send_logs_label": "Zahrnout ladící záznamy",
|
"Include debug logs": "Zahrnout ladící záznamy",
|
||||||
"more_tab_title": "Více",
|
"Home": "Domov",
|
||||||
"speaker_device_selection_label": "Reproduktor"
|
"Grid layout menu": "Menu rozložení",
|
||||||
},
|
"Go": "Pokračovat",
|
||||||
"unauthenticated_view_body": "Nejste registrovaní? <2>Vytvořit účet</2>",
|
"Full screen": "Zvětšit na celou obrazovku",
|
||||||
"unauthenticated_view_login_button": "Přihlásit se ke svému účtu",
|
"Freedom": "Volný",
|
||||||
"version": "Verze: {{version}}",
|
"Fetching group call timed out.": "Vypršel časový limit načítání skupinového hovoru.",
|
||||||
"waiting_for_participants": "Čekání na další účastníky…"
|
"Exit full screen": "Ukončit režim celé obrazovky",
|
||||||
|
"Element Call Home": "Domov Element Call",
|
||||||
|
"Download debug logs": "Stáhnout ladící záznamy",
|
||||||
|
"Display name": "Zobrazované jméno",
|
||||||
|
"Developer": "Vývojář",
|
||||||
|
"Details": "Detaily",
|
||||||
|
"Debug log request": "Žádost o protokoly ladění",
|
||||||
|
"Debug log": "Protokoly ladění",
|
||||||
|
"Create account": "Vytvořit účet",
|
||||||
|
"Copy": "Kopírovat",
|
||||||
|
"Call type menu": "Menu typu hovoru",
|
||||||
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Jiný uživatel v tomto hovoru má problémy. Abychom mohli diagnostikovat problém, rádi bychom shromáždili protokoly ladění.",
|
||||||
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Proč neskončit nastavením hesla, abyste mohli účet použít znovu?</0><1>Budete si moci nechat své jméno a nastavit si avatar pro budoucí hovory </1>",
|
||||||
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Připojit se</0><1>Or</1><2>Zkopírovat odkaz a připojit se později</2>",
|
||||||
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Už máte účet?</0><1><0>Přihlásit se</0> Or <2>Jako host</2></1>",
|
||||||
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Odeslání ladících záznamů nám pomůže diagnostikovat problém.</0>",
|
||||||
|
"<0>Oops, something's gone wrong.</0>": "<0>Oops, něco se pokazilo.</0>",
|
||||||
|
"Expose developer settings in the settings window.": "Zobrazit vývojářské nastavení.",
|
||||||
|
"Developer Settings": "Vývojářské nastavení"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,148 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Du hast bereits ein Konto?</0><1><0>Anmelden</0> Oder <2>Als Gast betreten</2></1>",
|
||||||
"user_menu": "Benutzermenü"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Konto erstellen</0> Oder <2>Als Gast betreten</2>",
|
||||||
},
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Warum vergibst du nicht abschließend ein Passwort, um dein Konto zu erhalten?</0><1>Du kannst deinen Namen behalten und ein Profilbild für zukünftige Anrufe festlegen.</1>",
|
||||||
"action": {
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Ein anderer Benutzer dieses Anrufs hat ein Problem. Um es besser diagnostizieren zu können, würden wir gerne ein Debug-Protokoll erstellen.",
|
||||||
"close": "Schließen",
|
"Audio": "Audio",
|
||||||
"copy": "Kopieren",
|
"Avatar": "Avatar",
|
||||||
"copy_link": "Link kopieren",
|
"Call link copied": "Anruflink kopiert",
|
||||||
"go": "Los geht’s",
|
"Call type menu": "Anruftyp Menü",
|
||||||
"invite": "Einladen",
|
"Camera": "Kamera",
|
||||||
"no": "Nein",
|
"Change layout": "Layout ändern",
|
||||||
"register": "Registrieren",
|
"Close": "Schließen",
|
||||||
"remove": "Entfernen",
|
"Confirm password": "Passwort bestätigen",
|
||||||
"sign_in": "Anmelden",
|
"Copied!": "Kopiert!",
|
||||||
"sign_out": "Abmelden",
|
"Copy and share this call link": "Kopiere und teile diesen Anruflink",
|
||||||
"submit": "Absenden"
|
"Create account": "Konto erstellen",
|
||||||
},
|
"Debug log": "Debug-Protokoll",
|
||||||
"analytics_notice": "Mit der Teilnahme an der Beta akzeptierst du die Sammlung von anonymen Daten, die wir zur Verbesserung des Produkts verwenden. Weitere Informationen zu den von uns erhobenen Daten findest du in unserer <2>Datenschutzerklärung</2> und unseren <5>Cookie-Richtlinien</5>.",
|
"Debug log request": "Debug-Log Anfrage",
|
||||||
"app_selection_modal": {
|
"Details": "Details",
|
||||||
"continue_in_browser": "Weiter im Browser",
|
"Developer": "Entwickler",
|
||||||
"open_in_app": "In der App öffnen",
|
"Display name": "Anzeigename",
|
||||||
"text": "Bereit, beizutreten?",
|
"Download debug logs": "Debug-Protokolle herunterladen",
|
||||||
"title": "App auswählen"
|
"Exit full screen": "Vollbildmodus verlassen",
|
||||||
},
|
"Freedom": "Freiraum",
|
||||||
"application_opened_another_tab": "Diese Anwendung wurde in einem anderen Tab geöffnet.",
|
"Full screen": "Vollbild",
|
||||||
"browser_media_e2ee_unsupported": "Dein Webbrowser unterstützt keine Medien-Ende-zu-Ende-Verschlüsselung. Unterstützte Browser sind Chrome, Safari, Firefox >=117",
|
"Go": "Los geht’s",
|
||||||
"browser_media_e2ee_unsupported_heading": "Inkompatibler Browser",
|
"Grid layout menu": "Grid-Layout-Menü",
|
||||||
"call_ended_view": {
|
"Home": "Startseite",
|
||||||
"body": "Deine Verbindung wurde getrennt",
|
"Include debug logs": "Debug-Protokolle einschließen",
|
||||||
"create_account_button": "Konto erstellen",
|
"Incompatible versions": "Inkompatible Versionen",
|
||||||
"create_account_prompt": "<0>Warum vergibst du nicht abschließend ein Passwort, um dein Konto zu erhalten?</0><1>Du kannst deinen Namen behalten und ein Profilbild für zukünftige Anrufe festlegen.</1>",
|
"Incompatible versions!": "Inkompatible Versionen!",
|
||||||
"feedback_done": "<0>Danke für deine Rückmeldung!</0>",
|
"Inspector": "Inspektor",
|
||||||
"feedback_prompt": "<0>Wir würden uns freuen, deine Rückmeldung zu hören, um deine Erfahrung verbessern zu können.</0>",
|
"Invite": "Einladen",
|
||||||
"headline": "{{displayName}}, dein Anruf wurde beendet.",
|
"Invite people": "Personen einladen",
|
||||||
"not_now_button": "Nicht jetzt, zurück zur Startseite",
|
"Join call": "Anruf beitreten",
|
||||||
"reconnect_button": "Erneut verbinden",
|
"Join call now": "Anruf beitreten",
|
||||||
"survey_prompt": "Wie ist es gelaufen?"
|
"Join existing call?": "An bestehendem Anruf teilnehmen?",
|
||||||
},
|
"Leave": "Verlassen",
|
||||||
"call_name": "Name des Anrufs",
|
"Loading…": "Lade …",
|
||||||
"common": {
|
"Local volume": "Lokale Lautstärke",
|
||||||
"audio": "Audio",
|
"Logging in…": "Anmelden …",
|
||||||
"avatar": "Profilbild",
|
"Login": "Anmelden",
|
||||||
"camera": "Kamera",
|
"Login to your account": "Melde dich mit deinem Konto an",
|
||||||
"copied": "Kopiert!",
|
"Microphone": "Mikrofon",
|
||||||
"display_name": "Anzeigename",
|
"More": "Mehr",
|
||||||
"encrypted": "Verschlüsselt",
|
"Mute microphone": "Mikrofon stummschalten",
|
||||||
"error": "Fehler",
|
"No": "Nein",
|
||||||
"home": "Startseite",
|
"Not now, return to home screen": "Nicht jetzt, zurück zum Startbildschirm",
|
||||||
"loading": "Lade …",
|
"Not registered yet? <2>Create an account</2>": "Noch nicht registriert? <2>Konto erstellen</2>",
|
||||||
"microphone": "Mikrofon",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Andere Benutzer versuchen, diesem Aufruf von einer inkompatiblen Softwareversion aus beizutreten. Diese Benutzer sollten ihre Web-Browser Seite neu laden:<1>{userLis}</1>",
|
||||||
"password": "Passwort",
|
"Password": "Passwort",
|
||||||
"profile": "Profil",
|
"Passwords must match": "Passwörter müssen übereinstimmen",
|
||||||
"settings": "Einstellungen",
|
"Profile": "Profil",
|
||||||
"unencrypted": "Nicht verschlüsselt",
|
"Recaptcha dismissed": "Recaptcha abgelehnt",
|
||||||
"username": "Benutzername",
|
"Recaptcha not loaded": "Recaptcha nicht geladen",
|
||||||
"video": "Video"
|
"Register": "Registrieren",
|
||||||
},
|
"Registering…": "Registrierung …",
|
||||||
"disconnected_banner": "Die Verbindung zum Server wurde getrennt.",
|
"Remove": "Entfernen",
|
||||||
"exit_fullscreen_button_label": "Vollbildmodus verlassen",
|
"Return to home screen": "Zurück zum Startbildschirm",
|
||||||
"full_screen_view_description": "<0>Übermittelte Problemberichte helfen uns, Fehler zu beheben.</0>",
|
"Select an option": "Wähle eine Option",
|
||||||
"full_screen_view_h1": "<0>Hoppla, etwas ist schiefgelaufen.</0>",
|
"Send debug logs": "Debug-Logs senden",
|
||||||
"fullscreen_button_label": "Vollbild",
|
"Sending…": "Senden …",
|
||||||
"group_call_loader_failed_heading": "Anruf nicht gefunden",
|
"Settings": "Einstellungen",
|
||||||
"group_call_loader_failed_text": "Anrufe sind nun Ende-zu-Ende-verschlüsselt und müssen auf der Startseite erstellt werden. Damit stellen wir sicher, dass alle denselben Schlüssel verwenden.",
|
"Share screen": "Bildschirm teilen",
|
||||||
"hangup_button_label": "Anruf beenden",
|
"Show call inspector": "Anrufinspektor anzeigen",
|
||||||
"header_label": "Element Call-Startseite",
|
"Sign in": "Anmelden",
|
||||||
"header_participants_label": "Teilnehmende",
|
"Sign out": "Abmelden",
|
||||||
"invite_modal": {
|
"Speaker": "Wiedergabegerät",
|
||||||
"link_copied_toast": "Link in Zwischenablage kopiert",
|
"Spotlight": "Rampenlicht",
|
||||||
"title": "Zu diesem Anruf einladen"
|
"Stop sharing screen": "Beenden der Bildschirmfreigabe",
|
||||||
},
|
"Submit feedback": "Rückmeldung geben",
|
||||||
"join_existing_call_modal": {
|
"Take me Home": "Zurück zur Startseite",
|
||||||
"join_button": "Ja, Anruf beitreten",
|
"Thanks! We'll get right on it.": "Vielen Dank! Wir werden uns sofort darum kümmern.",
|
||||||
"text": "Dieser Aufruf existiert bereits, möchtest Du teilnehmen?",
|
"This call already exists, would you like to join?": "Dieser Aufruf existiert bereits, möchtest Du teilnehmen?",
|
||||||
"title": "An bestehendem Anruf teilnehmen?"
|
"Turn off camera": "Kamera ausschalten",
|
||||||
},
|
"Turn on camera": "Kamera einschalten",
|
||||||
"layout_grid_label": "Raster",
|
"Unmute microphone": "Mikrofon aktivieren",
|
||||||
"layout_spotlight_label": "Rampenlicht",
|
"User menu": "Benutzermenü",
|
||||||
"lobby": {
|
"Username": "Benutzername",
|
||||||
"join_button": "Anruf beitreten",
|
"Version: {{version}}": "Version: {{version}}",
|
||||||
"leave_button": "Zurück zu kürzlichen Anrufen"
|
"Video": "Video",
|
||||||
},
|
"Video call": "Videoanruf",
|
||||||
"local_volume_label": "Lokale Lautstärke",
|
"Video call name": "Name des Videoanrufs",
|
||||||
"log_in": "Anmelden",
|
"Waiting for other participants…": "Warte auf weitere Teilnehmer …",
|
||||||
"logging_in": "Anmelden …",
|
"Walkie-talkie call": "Walkie-Talkie-Anruf",
|
||||||
"login_auth_links": "<0>Konto erstellen</0> Oder <2>Als Gast betreten</2>",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC wird in diesem Browser nicht unterstützt oder ist blockiert.",
|
||||||
"login_auth_links_prompt": "Noch nicht registriert?",
|
"Yes, join call": "Ja, Anruf beitreten",
|
||||||
"login_subheading": "Weiter zu Element",
|
"Your recent calls": "Deine letzten Anrufe",
|
||||||
"login_title": "Anmelden",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"microphone_off": "Mikrofon aus",
|
"Fetching group call timed out.": "Zeitüberschreitung beim Abrufen des Gruppenanrufs.",
|
||||||
"microphone_on": "Mikrofon an",
|
"Walkie-talkie call name": "Name des Walkie-Talkie-Anrufs",
|
||||||
"mute_microphone_button_label": "Mikrofon deaktivieren",
|
"Sending debug logs…": "Sende Debug-Protokolle …",
|
||||||
"rageshake_button_error_caption": "Protokolle erneut senden",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Anruf beitreten</0><1>Oder</1><2>Anruflink kopieren und später beitreten</2>",
|
||||||
"rageshake_request_modal": {
|
"Copy": "Kopieren",
|
||||||
"body": "Ein anderer Benutzer dieses Anrufs hat ein Problem. Um es besser diagnostizieren zu können, würden wir gerne ein Debug-Protokoll erstellen.",
|
"Element Call Home": "Element Call-Startseite",
|
||||||
"title": "Debug-Log Anfrage"
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Übermittelte Problemberichte helfen uns, Fehler zu beheben.</0>",
|
||||||
},
|
"<0>Oops, something's gone wrong.</0>": "<0>Hoppla, etwas ist schiefgelaufen.</0>",
|
||||||
"rageshake_send_logs": "Debug-Logs senden",
|
"Expose developer settings in the settings window.": "Zeige die Entwicklereinstellungen im Einstellungsfenster.",
|
||||||
"rageshake_sending": "Senden …",
|
"Developer Settings": "Entwicklereinstellungen",
|
||||||
"rageshake_sending_logs": "Sende Debug-Protokolle …",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Mit der Teilnahme an der Beta akzeptierst du die Sammlung von anonymen Daten, die wir zur Verbesserung des Produkts verwenden. Weitere Informationen zu den von uns erhobenen Daten findest du in unserer <2>Datenschutzerklärung</2> und unseren <5>Cookie-Richtlinien</5>.",
|
||||||
"rageshake_sent": "Danke!",
|
"<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.": "<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.",
|
||||||
"recaptcha_caption": "Diese Seite wird durch reCAPTCHA geschützt und es gelten Googles <2>Datenschutzerklärung</2> und <6>Nutzungsbedingungen</6>. <9></9>Mit einem Klick auf „Registrieren“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
"Feedback": "Rückmeldung",
|
||||||
"recaptcha_dismissed": "Recaptcha abgelehnt",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Falls du auf Probleme stößt oder einfach nur eine Rückmeldung geben möchtest, sende uns bitte eine kurze Beschreibung.",
|
||||||
"recaptcha_not_loaded": "Recaptcha nicht geladen",
|
"Your feedback": "Deine Rückmeldung",
|
||||||
"register": {
|
"Thanks, we received your feedback!": "Danke, wir haben deine Rückmeldung erhalten!",
|
||||||
"passwords_must_match": "Passwörter müssen übereinstimmen",
|
"Submitting…": "Sende …",
|
||||||
"registering": "Registrierung …"
|
"Submit": "Absenden",
|
||||||
},
|
"{{count}} stars|other": "{{count}} Sterne",
|
||||||
"register_auth_links": "<0>Du hast bereits ein Konto?</0><1><0>Anmelden</0> Oder <2>Als Gast betreten</2></1>",
|
"{{displayName}}, your call has ended.": "{{displayName}}, dein Anruf wurde beendet.",
|
||||||
"register_confirm_password_label": "Passwort bestätigen",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Wir würden uns freuen, deine Rückmeldung zu hören, um deine Erfahrung verbessern zu können.</0>",
|
||||||
"return_home_button": "Zurück zur Startseite",
|
"How did it go?": "Wie ist es gelaufen?",
|
||||||
"room_auth_view_eula_caption": "Mit einem Klick auf „Anruf beitreten“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
"{{count}} stars|one": "{{count}} Stern",
|
||||||
"room_auth_view_join_button": "Anruf beitreten",
|
"<0>Thanks for your feedback!</0>": "<0>Danke für deine Rückmeldung!</0>",
|
||||||
"screenshare_button_label": "Bildschirm teilen",
|
"{{displayName}} is presenting": "{{displayName}} präsentiert",
|
||||||
"select_input_unset_button": "Wähle eine Option",
|
"Show connection stats": "Verbindungsstatistiken zeigen",
|
||||||
"settings": {
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Mit einem Klick auf „Anruf beitreten“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
||||||
"developer_settings_label": "Entwicklereinstellungen",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Mit einem Klick auf „Los geht’s“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
||||||
"developer_settings_label_description": "Zeige die Entwicklereinstellungen im Einstellungsfenster.",
|
"Element Call is temporarily not encrypted while we test scalability.": "Element Call ist temporär nicht verschlüsselt, während wir die Skalierbarkeit testen.",
|
||||||
"developer_tab_title": "Entwickler",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Diese Seite wird durch reCAPTCHA geschützt und es gelten Googles <2>Datenschutzerklärung</2> und <6>Nutzungsbedingungen</6>. <9></9>Mit einem Klick auf „Registrieren“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>"
|
||||||
"feedback_tab_body": "Falls du auf Probleme stößt oder einfach nur eine Rückmeldung geben möchtest, sende uns bitte eine kurze Beschreibung.",
|
|
||||||
"feedback_tab_description_label": "Deine Rückmeldung",
|
|
||||||
"feedback_tab_h4": "Rückmeldung geben",
|
|
||||||
"feedback_tab_send_logs_label": "Debug-Protokolle einschließen",
|
|
||||||
"feedback_tab_thank_you": "Danke, wir haben deine Rückmeldung erhalten!",
|
|
||||||
"feedback_tab_title": "Rückmeldung",
|
|
||||||
"more_tab_title": "Mehr",
|
|
||||||
"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.",
|
|
||||||
"show_connection_stats_label": "Verbindungsstatistiken zeigen",
|
|
||||||
"speaker_device_selection_label": "Wiedergabegerät"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} Stern",
|
|
||||||
"star_rating_input_label_other": "{{count}} Sterne",
|
|
||||||
"start_new_call": "Neuen Anruf beginnen",
|
|
||||||
"start_video_button_label": "Video aktivieren",
|
|
||||||
"stop_screenshare_button_label": "Bildschirm wird geteilt",
|
|
||||||
"stop_video_button_label": "Video deaktivieren",
|
|
||||||
"submitting": "Sende …",
|
|
||||||
"unauthenticated_view_body": "Noch nicht registriert? <2>Konto erstellen</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Mit einem Klick auf „Los geht’s“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Melde dich mit deinem Konto an",
|
|
||||||
"unmute_microphone_button_label": "Mikrofon aktivieren",
|
|
||||||
"version": "Version: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} präsentiert",
|
|
||||||
"sfu_participant_local": "Du"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Warte auf weitere Teilnehmer …"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,101 +1,116 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Version: {{version}}": "Έκδοση: {{version}}",
|
||||||
"user_menu": "Μενού χρήστη"
|
"User menu": "Μενού χρήστη",
|
||||||
},
|
"Submit feedback": "Υποβάλετε σχόλια",
|
||||||
"action": {
|
"Stop sharing screen": "Διακοπή κοινής χρήσης οθόνης",
|
||||||
"close": "Κλείσιμο",
|
"Sign in": "Σύνδεση",
|
||||||
"copy": "Αντιγραφή",
|
"Show call inspector": "Εμφάνιση του επιθεωρητή κλήσης",
|
||||||
"go": "Μετάβαση",
|
"Share screen": "Κοινή χρήση οθόνης",
|
||||||
"no": "Όχι",
|
"Sending…": "Αποστολή…",
|
||||||
"register": "Εγγραφή",
|
"Select an option": "Επιλέξτε μια επιλογή",
|
||||||
"remove": "Αφαίρεση",
|
"Remove": "Αφαίρεση",
|
||||||
"sign_in": "Σύνδεση",
|
"Registering…": "Εγγραφή…",
|
||||||
"sign_out": "Αποσύνδεση",
|
"Not registered yet? <2>Create an account</2>": "Δεν έχετε εγγραφεί ακόμα; <2>Δημιουργήστε λογαριασμό</2>",
|
||||||
"submit": "Υποβολή"
|
"Login to your account": "Συνδεθείτε στον λογαριασμό σας",
|
||||||
},
|
"Logging in…": "Σύνδεση…",
|
||||||
"analytics_notice": "Συμμετέχοντας σε αυτή τη δοκιμαστική έκδοση, συναινείτε στη συλλογή ανώνυμων δεδομένων, τα οποία χρησιμοποιούμε για τη βελτίωση του προϊόντος. Μπορείτε να βρείτε περισσότερες πληροφορίες σχετικά με το ποια δεδομένα καταγράφουμε στην <2>Πολιτική απορρήτου</2> και στην <5>Πολιτική cookies</5>.",
|
"Invite people": "Προσκαλέστε άτομα",
|
||||||
"call_ended_view": {
|
"Invite": "Πρόσκληση",
|
||||||
"create_account_button": "Δημιουργία λογαριασμού",
|
"Inspector": "Επιθεωρητής",
|
||||||
"create_account_prompt": "<0>Γιατί να μην ολοκληρώσετε με τη δημιουργία ενός κωδικού πρόσβασης για τη διατήρηση του λογαριασμού σας;</0><1>Θα μπορείτε να διατηρήσετε το όνομά σας και να ορίσετε ένα avatar για χρήση σε μελλοντικές κλήσεις.</1>",
|
"Incompatible versions!": "Μη συμβατές εκδόσεις!",
|
||||||
"feedback_done": "<0>Ευχαριστώ για τα σχόλιά σας!</0>",
|
"Incompatible versions": "Μη συμβατές εκδόσεις",
|
||||||
"feedback_prompt": "<0>Θα θέλαμε να ακούσουμε τα σχόλιά σας ώστε να βελτιώσουμε την εμπειρία σας.</0>",
|
"Display name": "Εμφανιζόμενο όνομα",
|
||||||
"headline": "{{displayName}}, η κλήση σας τερματίστηκε.",
|
"Developer Settings": "Ρυθμίσεις προγραμματιστή",
|
||||||
"not_now_button": "Όχι τώρα, επιστροφή στην αρχική οθόνη",
|
"Debug log request": "Αίτημα αρχείου καταγραφής",
|
||||||
"survey_prompt": "Πώς σας φάνηκε;"
|
"Call link copied": "Ο σύνδεσμος κλήσης αντιγράφηκε",
|
||||||
},
|
"Avatar": "Avatar",
|
||||||
"common": {
|
"<0>Oops, something's gone wrong.</0>": "<0>Ωχ, κάτι πήγε στραβά.</0>",
|
||||||
"audio": "Ήχος",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Δημιουργήστε λογαριασμό</0> Ή <2>Συμμετέχετε ως επισκέπτης</2>",
|
||||||
"camera": "Κάμερα",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Έχετε ήδη λογαριασμό;</0><1><0>Συνδεθείτε</0> Ή <2>Συμμετέχετε ως επισκέπτης</2></1>",
|
||||||
"copied": "Αντιγράφηκε!",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"display_name": "Εμφανιζόμενο όνομα",
|
"Your recent calls": "Οι πρόσφατες κλήσεις σας",
|
||||||
"home": "Αρχική",
|
"Yes, join call": "Ναι, συμμετοχή στην κλήση",
|
||||||
"loading": "Φόρτωση…",
|
"WebRTC is not supported or is being blocked in this browser.": "Το WebRTC δεν υποστηρίζεται ή έχει αποκλειστεί σε αυτό το πρόγραμμα περιήγησης.",
|
||||||
"microphone": "Μικρόφωνο",
|
"Walkie-talkie call name": "Όνομα κλήσης walkie-talkie",
|
||||||
"password": "Κωδικός",
|
"Walkie-talkie call": "Κλήση walkie-talkie",
|
||||||
"profile": "Προφίλ",
|
"Waiting for other participants…": "Αναμονή για άλλους συμμετέχοντες…",
|
||||||
"settings": "Ρυθμίσεις",
|
"Video call name": "Όνομα βίντεο κλήσης",
|
||||||
"username": "Όνομα χρήστη",
|
"Video call": "Βίντεο κλήση",
|
||||||
"video": "Βίντεο"
|
"Video": "Βίντεο",
|
||||||
},
|
"Username": "Όνομα χρήστη",
|
||||||
"exit_fullscreen_button_label": "Έξοδος από πλήρη οθόνη",
|
"Turn on camera": "Ενεργοποιήστε την κάμερα",
|
||||||
"full_screen_view_description": "<0>Η υποβολή αρχείων καταγραφής σφαλμάτων θα μας βοηθήσει να εντοπίσουμε το πρόβλημα.</0>",
|
"Turn off camera": "Απενεργοποιήστε την κάμερα",
|
||||||
"full_screen_view_h1": "<0>Ωχ, κάτι πήγε στραβά.</0>",
|
"This call already exists, would you like to join?": "Αυτή η κλήση υπάρχει ήδη, θα θέλατε να συμμετάσχετε;",
|
||||||
"fullscreen_button_label": "Πλήρη οθόνη",
|
"Speaker": "Ηχείο",
|
||||||
"header_label": "Element Κεντρική Οθόνη Κλήσεων",
|
"Sign out": "Αποσύνδεση",
|
||||||
"join_existing_call_modal": {
|
"Settings": "Ρυθμίσεις",
|
||||||
"join_button": "Ναι, συμμετοχή στην κλήση",
|
"Return to home screen": "Επιστροφή στην αρχική οθόνη",
|
||||||
"text": "Αυτή η κλήση υπάρχει ήδη, θα θέλατε να συμμετάσχετε;",
|
"Register": "Εγγραφή",
|
||||||
"title": "Συμμετοχή στην υπάρχουσα κλήση;"
|
"Profile": "Προφίλ",
|
||||||
},
|
"Passwords must match": "Οι κωδικοί πρέπει να ταιριάζουν",
|
||||||
"lobby": {
|
"Password": "Κωδικός",
|
||||||
"join_button": "Συμμετοχή στην κλήση"
|
"Not now, return to home screen": "Όχι τώρα, επιστροφή στην αρχική οθόνη",
|
||||||
},
|
"No": "Όχι",
|
||||||
"local_volume_label": "Τοπική ένταση",
|
"Mute microphone": "Σίγαση μικροφώνου",
|
||||||
"logging_in": "Σύνδεση…",
|
"More": "Περισσότερα",
|
||||||
"login_auth_links": "<0>Δημιουργήστε λογαριασμό</0> Ή <2>Συμμετέχετε ως επισκέπτης</2>",
|
"Microphone": "Μικρόφωνο",
|
||||||
"login_title": "Σύνδεση",
|
"Login": "Σύνδεση",
|
||||||
"rageshake_request_modal": {
|
"Loading…": "Φόρτωση…",
|
||||||
"body": "Ένας άλλος χρήστης σε αυτή την κλήση έχει ένα πρόβλημα. Για την καλύτερη διάγνωση αυτών των προβλημάτων θα θέλαμε να συλλέξουμε ένα αρχείο καταγραφής σφαλμάτων.",
|
"Leave": "Αποχώρηση",
|
||||||
"title": "Αίτημα αρχείου καταγραφής"
|
"Join existing call?": "Συμμετοχή στην υπάρχουσα κλήση;",
|
||||||
},
|
"Join call now": "Συμμετοχή στην κλήση τώρα",
|
||||||
"rageshake_send_logs": "Αποστολή αρχείων καταγραφής",
|
"Join call": "Συμμετοχή στην κλήση",
|
||||||
"rageshake_sending": "Αποστολή…",
|
"Go": "Μετάβαση",
|
||||||
"rageshake_sending_logs": "Αποστολή αρχείων καταγραφής…",
|
"Full screen": "Πλήρη οθόνη",
|
||||||
"recaptcha_dismissed": "Το recaptcha απορρίφθηκε",
|
"Exit full screen": "Έξοδος από πλήρη οθόνη",
|
||||||
"recaptcha_not_loaded": "Το Recaptcha δεν φορτώθηκε",
|
"Details": "Λεπτομέρειες",
|
||||||
"register": {
|
"Create account": "Δημιουργία λογαριασμού",
|
||||||
"passwords_must_match": "Οι κωδικοί πρέπει να ταιριάζουν",
|
"Copy and share this call link": "Αντιγράψτε και μοιραστείτε αυτόν τον σύνδεσμο κλήσης",
|
||||||
"registering": "Εγγραφή…"
|
"Copy": "Αντιγραφή",
|
||||||
},
|
"Copied!": "Αντιγράφηκε!",
|
||||||
"register_auth_links": "<0>Έχετε ήδη λογαριασμό;</0><1><0>Συνδεθείτε</0> Ή <2>Συμμετέχετε ως επισκέπτης</2></1>",
|
"Confirm password": "Επιβεβαίωση κωδικού",
|
||||||
"register_confirm_password_label": "Επιβεβαίωση κωδικού",
|
"Close": "Κλείσιμο",
|
||||||
"return_home_button": "Επιστροφή στην αρχική οθόνη",
|
"Change layout": "Αλλαγή διάταξης",
|
||||||
"room_auth_view_join_button": "Συμμετοχή στην κλήση τώρα",
|
"Camera": "Κάμερα",
|
||||||
"screenshare_button_label": "Κοινή χρήση οθόνης",
|
"Audio": "Ήχος",
|
||||||
"select_input_unset_button": "Επιλέξτε μια επιλογή",
|
"Send debug logs": "Αποστολή αρχείων καταγραφής",
|
||||||
"settings": {
|
"Recaptcha dismissed": "Το recaptcha απορρίφθηκε",
|
||||||
"developer_settings_label": "Ρυθμίσεις προγραμματιστή",
|
"<0>Thanks for your feedback!</0>": "<0>Ευχαριστώ για τα σχόλιά σας!</0>",
|
||||||
"developer_settings_label_description": "Εμφάνιση ρυθμίσεων προγραμματιστή στο παράθυρο ρυθμίσεων.",
|
"Call type menu": "Μενού είδους κλήσης",
|
||||||
"developer_tab_title": "Προγραμματιστής",
|
"Local volume": "Τοπική ένταση",
|
||||||
"feedback_tab_body": "Εάν αντιμετωπίζετε προβλήματα ή απλά θέλετε να μας δώσετε κάποια σχόλια, παρακαλούμε στείλτε μας μια σύντομη περιγραφή παρακάτω.",
|
"Home": "Αρχική",
|
||||||
"feedback_tab_description_label": "Τα σχόλιά σας",
|
"Show connection stats": "Εμφάνιση στατιστικών σύνδεσης",
|
||||||
"feedback_tab_h4": "Υποβάλετε σχόλια",
|
"Unmute microphone": "Κατάργηση σίγασης μικροφώνου",
|
||||||
"feedback_tab_send_logs_label": "Να συμπεριληφθούν αρχεία καταγραφής",
|
"Take me Home": "Μετάβαση στην Αρχική",
|
||||||
"feedback_tab_thank_you": "Ευχαριστούμε, λάβαμε τα σχόλιά σας!",
|
"{{displayName}} is presenting": "{{displayName}} παρουσιάζει",
|
||||||
"feedback_tab_title": "Ανατροφοδότηση",
|
"<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.": "<0></0><1></1>Μπορείτε να ανακαλέσετε τη συγκατάθεσή σας αποεπιλέγοντας αυτό το πλαίσιο. Εάν βρίσκεστε σε κλήση, η ρύθμιση αυτή θα τεθεί σε ισχύ στο τέλος της.",
|
||||||
"more_tab_title": "Περισσότερα",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Συμμετοχή στην κλήση τώρα</0><1>Or</1><2>Αντιγραφή συνδέσμου κλήσης και συμμετοχή αργότερα</2>",
|
||||||
"opt_in_description": "<0></0><1></1>Μπορείτε να ανακαλέσετε τη συγκατάθεσή σας αποεπιλέγοντας αυτό το πλαίσιο. Εάν βρίσκεστε σε κλήση, η ρύθμιση αυτή θα τεθεί σε ισχύ στο τέλος της.",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Θα θέλαμε να ακούσουμε τα σχόλιά σας ώστε να βελτιώσουμε την εμπειρία σας.</0>",
|
||||||
"show_connection_stats_label": "Εμφάνιση στατιστικών σύνδεσης",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Γιατί να μην ολοκληρώσετε με τη δημιουργία ενός κωδικού πρόσβασης για τη διατήρηση του λογαριασμού σας;</0><1>Θα μπορείτε να διατηρήσετε το όνομά σας και να ορίσετε ένα avatar για χρήση σε μελλοντικές κλήσεις.</1>",
|
||||||
"speaker_device_selection_label": "Ηχείο"
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Ένας άλλος χρήστης σε αυτή την κλήση έχει ένα πρόβλημα. Για την καλύτερη διάγνωση αυτών των προβλημάτων θα θέλαμε να συλλέξουμε ένα αρχείο καταγραφής σφαλμάτων.",
|
||||||
},
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Συμμετέχοντας σε αυτή τη δοκιμαστική έκδοση, συναινείτε στη συλλογή ανώνυμων δεδομένων, τα οποία χρησιμοποιούμε για τη βελτίωση του προϊόντος. Μπορείτε να βρείτε περισσότερες πληροφορίες σχετικά με το ποια δεδομένα καταγράφουμε στην <2>Πολιτική απορρήτου</2> και στην <5>Πολιτική cookies</5>.",
|
||||||
"star_rating_input_label_one": "{{count}} αστέρι",
|
"Grid layout menu": "Μενού διάταξης πλέγματος",
|
||||||
"star_rating_input_label_other": "{{count}} αστέρια",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Εάν αντιμετωπίζετε προβλήματα ή απλά θέλετε να μας δώσετε κάποια σχόλια, παρακαλούμε στείλτε μας μια σύντομη περιγραφή παρακάτω.",
|
||||||
"submitting": "Υποβολή…",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Κάποιοι άλλοι χρήστες προσπαθούν να συμμετάσχουν σε αυτή την κλήση από ασύμβατες εκδόσεις. Αυτοί οι χρήστες θα πρέπει να βεβαιωθούν ότι έχουν κάνει ανανέωση (refresh) την καρτέλα του περιηγητή τους:<1>{userLis}</1>",
|
||||||
"unauthenticated_view_body": "Δεν έχετε εγγραφεί ακόμα; <2>Δημιουργήστε λογαριασμό</2>",
|
"Thanks! We'll get right on it.": "Ευχαριστούμε! Θα το ερευνήσουμε αμέσως.",
|
||||||
"unauthenticated_view_login_button": "Συνδεθείτε στον λογαριασμό σας",
|
"Expose developer settings in the settings window.": "Εμφάνιση ρυθμίσεων προγραμματιστή στο παράθυρο ρυθμίσεων.",
|
||||||
"version": "Έκδοση: {{version}}",
|
"Feedback": "Ανατροφοδότηση",
|
||||||
"video_tile": {
|
"Submitting…": "Υποβολή…",
|
||||||
"presenter_label": "{{displayName}} παρουσιάζει"
|
"Thanks, we received your feedback!": "Ευχαριστούμε, λάβαμε τα σχόλιά σας!",
|
||||||
},
|
"{{count}} stars|other": "{{count}} αστέρια",
|
||||||
"waiting_for_participants": "Αναμονή για άλλους συμμετέχοντες…"
|
"{{count}} stars|one": "{{count}} αστέρι",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, η κλήση σας τερματίστηκε.",
|
||||||
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Η υποβολή αρχείων καταγραφής σφαλμάτων θα μας βοηθήσει να εντοπίσουμε το πρόβλημα.</0>",
|
||||||
|
"How did it go?": "Πώς σας φάνηκε;",
|
||||||
|
"Include debug logs": "Να συμπεριληφθούν αρχεία καταγραφής",
|
||||||
|
"Recaptcha not loaded": "Το Recaptcha δεν φορτώθηκε",
|
||||||
|
"Debug log": "Αρχείο καταγραφής",
|
||||||
|
"Developer": "Προγραμματιστής",
|
||||||
|
"Download debug logs": "Λήψη αρχείων καταγραφής",
|
||||||
|
"Sending debug logs…": "Αποστολή αρχείων καταγραφής…",
|
||||||
|
"Submit": "Υποβολή",
|
||||||
|
"Your feedback": "Τα σχόλιά σας",
|
||||||
|
"Fetching group call timed out.": "Η ομαδική κλήση έληξε από τέλος χρόνου.",
|
||||||
|
"Freedom": "Ελευθερία",
|
||||||
|
"Spotlight": "Spotlight",
|
||||||
|
"Element Call Home": "Element Κεντρική Οθόνη Κλήσεων"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,153 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"{{count}} stars|one": "{{count}} star",
|
||||||
"user_menu": "User menu"
|
"{{count}} stars|other": "{{count}} stars",
|
||||||
},
|
"{{displayName}} is presenting": "{{displayName}} is presenting",
|
||||||
"action": {
|
"{{displayName}}, your call has ended.": "{{displayName}}, your call has ended.",
|
||||||
"close": "Close",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"copy": "Copy",
|
"<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.": "<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.",
|
||||||
"copy_link": "Copy link",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>",
|
||||||
"go": "Go",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Create an account</0> Or <2>Access as a guest</2>",
|
||||||
"invite": "Invite",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>",
|
||||||
"no": "No",
|
"<0>Oops, something's gone wrong.</0>": "<0>Oops, something's gone wrong.</0>",
|
||||||
"register": "Register",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Submitting debug logs will help us track down the problem.</0>",
|
||||||
"remove": "Remove",
|
"<0>Thanks for your feedback!</0>": "<0>Thanks for your feedback!</0>",
|
||||||
"sign_in": "Sign in",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>We'd love to hear your feedback so we can improve your experience.</0>",
|
||||||
"sign_out": "Sign out",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>",
|
||||||
"submit": "Submit"
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.",
|
||||||
},
|
"Audio": "Audio",
|
||||||
"analytics_notice": "By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.",
|
"Avatar": "Avatar",
|
||||||
"app_selection_modal": {
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
|
||||||
"continue_in_browser": "Continue in browser",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
|
||||||
"open_in_app": "Open in the app",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.",
|
||||||
"text": "Ready to join?",
|
"Call link copied": "Call link copied",
|
||||||
"title": "Select app"
|
"Call type menu": "Call type menu",
|
||||||
},
|
"Camera": "Camera",
|
||||||
"application_opened_another_tab": "This application has been opened in another tab.",
|
"Change layout": "Change layout",
|
||||||
"browser_media_e2ee_unsupported": "Your web browser does not support media end-to-end encryption. Supported Browsers are Chrome, Safari, Firefox >=117",
|
"Close": "Close",
|
||||||
"browser_media_e2ee_unsupported_heading": "Incompatible Browser",
|
"Confirm password": "Confirm password",
|
||||||
"call_ended_view": {
|
"Copied!": "Copied!",
|
||||||
"body": "You were disconnected from the call",
|
"Copy": "Copy",
|
||||||
"create_account_button": "Create account",
|
"Copy and share this call link": "Copy and share this call link",
|
||||||
"create_account_prompt": "<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>",
|
"Create account": "Create account",
|
||||||
"feedback_done": "<0>Thanks for your feedback!</0>",
|
"Debug log": "Debug log",
|
||||||
"feedback_prompt": "<0>We'd love to hear your feedback so we can improve your experience.</0>",
|
"Debug log request": "Debug log request",
|
||||||
"headline": "{{displayName}}, your call has ended.",
|
"Details": "Details",
|
||||||
"not_now_button": "Not now, return to home screen",
|
"Developer": "Developer",
|
||||||
"reconnect_button": "Reconnect",
|
"Developer Settings": "Developer Settings",
|
||||||
"survey_prompt": "How did it go?"
|
"Display name": "Display name",
|
||||||
},
|
"Download debug logs": "Download debug logs",
|
||||||
"call_name": "Name of call",
|
"Element Call Home": "Element Call Home",
|
||||||
"common": {
|
"Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call is temporarily not end-to-end encrypted while we test scalability.",
|
||||||
"analytics": "Analytics",
|
"Exit full screen": "Exit full screen",
|
||||||
"audio": "Audio",
|
"Expose developer settings in the settings window.": "Expose developer settings in the settings window.",
|
||||||
"avatar": "Avatar",
|
"Feedback": "Feedback",
|
||||||
"camera": "Camera",
|
"Fetching group call timed out.": "Fetching group call timed out.",
|
||||||
"copied": "Copied!",
|
"Freedom": "Freedom",
|
||||||
"display_name": "Display name",
|
"Full screen": "Full screen",
|
||||||
"encrypted": "Encrypted",
|
"Go": "Go",
|
||||||
"error": "Error",
|
"Grid layout menu": "Grid layout menu",
|
||||||
"home": "Home",
|
"Home": "Home",
|
||||||
"loading": "Loading…",
|
"How did it go?": "How did it go?",
|
||||||
"microphone": "Microphone",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.",
|
||||||
"options": "Options",
|
"Include debug logs": "Include debug logs",
|
||||||
"password": "Password",
|
"Incompatible versions": "Incompatible versions",
|
||||||
"profile": "Profile",
|
"Incompatible versions!": "Incompatible versions!",
|
||||||
"settings": "Settings",
|
"Inspector": "Inspector",
|
||||||
"unencrypted": "Not encrypted",
|
"Invite": "Invite",
|
||||||
"username": "Username",
|
"Invite people": "Invite people",
|
||||||
"video": "Video"
|
"Join call": "Join call",
|
||||||
},
|
"Join call now": "Join call now",
|
||||||
"disconnected_banner": "Connectivity to the server has been lost.",
|
"Join existing call?": "Join existing call?",
|
||||||
"full_screen_view_description": "<0>Submitting debug logs will help us track down the problem.</0>",
|
"Leave": "Leave",
|
||||||
"full_screen_view_h1": "<0>Oops, something's gone wrong.</0>",
|
"Loading…": "Loading…",
|
||||||
"group_call_loader_failed_heading": "Call not found",
|
"Local volume": "Local volume",
|
||||||
"group_call_loader_failed_text": "Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.",
|
"Logging in…": "Logging in…",
|
||||||
"hangup_button_label": "End call",
|
"Login": "Login",
|
||||||
"header_label": "Element Call Home",
|
"Login to your account": "Login to your account",
|
||||||
"header_participants_label": "Participants",
|
"Microphone": "Microphone",
|
||||||
"invite_modal": {
|
"More": "More",
|
||||||
"link_copied_toast": "Link copied to clipboard",
|
"Mute microphone": "Mute microphone",
|
||||||
"title": "Invite to this call"
|
"No": "No",
|
||||||
},
|
"Not now, return to home screen": "Not now, return to home screen",
|
||||||
"join_existing_call_modal": {
|
"Not registered yet? <2>Create an account</2>": "Not registered yet? <2>Create an account</2>",
|
||||||
"join_button": "Yes, join call",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>",
|
||||||
"text": "This call already exists, would you like to join?",
|
"Password": "Password",
|
||||||
"title": "Join existing call?"
|
"Passwords must match": "Passwords must match",
|
||||||
},
|
"Profile": "Profile",
|
||||||
"layout_grid_label": "Grid",
|
"Recaptcha dismissed": "Recaptcha dismissed",
|
||||||
"layout_spotlight_label": "Spotlight",
|
"Recaptcha not loaded": "Recaptcha not loaded",
|
||||||
"lobby": {
|
"Register": "Register",
|
||||||
"join_button": "Join call",
|
"Registering…": "Registering…",
|
||||||
"leave_button": "Back to recents"
|
"Remove": "Remove",
|
||||||
},
|
"Return to home screen": "Return to home screen",
|
||||||
"log_in": "Log In",
|
"Select an option": "Select an option",
|
||||||
"logging_in": "Logging in…",
|
"Send debug logs": "Send debug logs",
|
||||||
"login_auth_links": "<0>Create an account</0> Or <2>Access as a guest</2>",
|
"Sending debug logs…": "Sending debug logs…",
|
||||||
"login_auth_links_prompt": "Not registered yet?",
|
"Sending…": "Sending…",
|
||||||
"login_subheading": "To continue to Element",
|
"Settings": "Settings",
|
||||||
"login_title": "Login",
|
"Share screen": "Share screen",
|
||||||
"microphone_off": "Microphone off",
|
"Show call inspector": "Show call inspector",
|
||||||
"microphone_on": "Microphone on",
|
"Show connection stats": "Show connection stats",
|
||||||
"mute_microphone_button_label": "Mute microphone",
|
"Sign in": "Sign in",
|
||||||
"participant_count_one": "{{count, number}}",
|
"Sign out": "Sign out",
|
||||||
"participant_count_other": "{{count, number}}",
|
"Speaker": "Speaker",
|
||||||
"rageshake_button_error_caption": "Retry sending logs",
|
"Spotlight": "Spotlight",
|
||||||
"rageshake_request_modal": {
|
"Stop sharing screen": "Stop sharing screen",
|
||||||
"body": "Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.",
|
"Submit": "Submit",
|
||||||
"title": "Debug log request"
|
"Submit feedback": "Submit feedback",
|
||||||
},
|
"Submitting…": "Submitting…",
|
||||||
"rageshake_send_logs": "Send debug logs",
|
"Take me Home": "Take me Home",
|
||||||
"rageshake_sending": "Sending…",
|
"Thanks, we received your feedback!": "Thanks, we received your feedback!",
|
||||||
"rageshake_sending_logs": "Sending debug logs…",
|
"Thanks! We'll get right on it.": "Thanks! We'll get right on it.",
|
||||||
"rageshake_sent": "Thanks!",
|
"This call already exists, would you like to join?": "This call already exists, would you like to join?",
|
||||||
"recaptcha_caption": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>",
|
||||||
"recaptcha_dismissed": "Recaptcha dismissed",
|
"Turn off camera": "Turn off camera",
|
||||||
"recaptcha_not_loaded": "Recaptcha not loaded",
|
"Turn on camera": "Turn on camera",
|
||||||
"register": {
|
"Unmute microphone": "Unmute microphone",
|
||||||
"passwords_must_match": "Passwords must match",
|
"User menu": "User menu",
|
||||||
"registering": "Registering…"
|
"Username": "Username",
|
||||||
},
|
"Version: {{version}}": "Version: {{version}}",
|
||||||
"register_auth_links": "<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>",
|
"Video": "Video",
|
||||||
"register_confirm_password_label": "Confirm password",
|
"Video call": "Video call",
|
||||||
"register_heading": "Create your account",
|
"Video call name": "Video call name",
|
||||||
"return_home_button": "Return to home screen",
|
"Waiting for other participants…": "Waiting for other participants…",
|
||||||
"room_auth_view_eula_caption": "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
|
"Walkie-talkie call": "Walkie-talkie call",
|
||||||
"room_auth_view_join_button": "Join call now",
|
"Walkie-talkie call name": "Walkie-talkie call name",
|
||||||
"screenshare_button_label": "Share screen",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC is not supported or is being blocked in this browser.",
|
||||||
"select_input_unset_button": "Select an option",
|
"Yes, join call": "Yes, join call",
|
||||||
"settings": {
|
"Your feedback": "Your feedback",
|
||||||
"developer_settings_label": "Developer Settings",
|
"Your recent calls": "Your recent calls"
|
||||||
"developer_settings_label_description": "Expose developer settings in the settings window.",
|
|
||||||
"developer_tab_title": "Developer",
|
|
||||||
"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_h4": "Submit feedback",
|
|
||||||
"feedback_tab_send_logs_label": "Include debug logs",
|
|
||||||
"feedback_tab_thank_you": "Thanks, we received your feedback!",
|
|
||||||
"feedback_tab_title": "Feedback",
|
|
||||||
"more_tab_title": "More",
|
|
||||||
"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.",
|
|
||||||
"show_connection_stats_label": "Show connection stats",
|
|
||||||
"speaker_device_selection_label": "Speaker"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} stars",
|
|
||||||
"star_rating_input_label_other": "{{count}} stars",
|
|
||||||
"start_new_call": "Start new call",
|
|
||||||
"start_video_button_label": "Start video",
|
|
||||||
"stop_screenshare_button_label": "Sharing screen",
|
|
||||||
"stop_video_button_label": "Stop video",
|
|
||||||
"submitting": "Submitting…",
|
|
||||||
"unauthenticated_view_body": "Not registered yet? <2>Create an account</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Login to your account",
|
|
||||||
"unmute_microphone_button_label": "Unmute microphone",
|
|
||||||
"version": "Version: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"exit_full_screen": "Exit full screen",
|
|
||||||
"full_screen": "Full screen",
|
|
||||||
"mute_for_me": "Mute for me",
|
|
||||||
"sfu_participant_local": "You",
|
|
||||||
"volume": "Volume"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Waiting for other participants…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,102 +1,102 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>¿Por qué no mantienes tu cuenta estableciendo una contraseña?</0><1>Podrás mantener tu nombre y establecer un avatar para usarlo en futuras llamadas</1>",
|
||||||
"user_menu": "Menú de usuario"
|
"Your recent calls": "Tus llamadas recientes",
|
||||||
},
|
"WebRTC is not supported or is being blocked in this browser.": "Tu navegador no soporta o está bloqueando WebRTC.",
|
||||||
"action": {
|
"This call already exists, would you like to join?": "Esta llamada ya existe, ¿te gustaría unirte?",
|
||||||
"close": "Cerrar",
|
"Register": "Registrarse",
|
||||||
"copy": "Copiar",
|
"Not registered yet? <2>Create an account</2>": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
||||||
"go": "Comenzar",
|
"Login to your account": "Iniciar sesión en tu cuenta",
|
||||||
"register": "Registrarse",
|
"Yes, join call": "Si, unirse a la llamada",
|
||||||
"remove": "Eliminar",
|
"Walkie-talkie call name": "Nombre de la llamada Walkie-talkie",
|
||||||
"sign_in": "Iniciar sesión",
|
"Walkie-talkie call": "Llamada Walkie-talkie",
|
||||||
"sign_out": "Cerrar sesión",
|
"Waiting for other participants…": "Esperando a los otros participantes…",
|
||||||
"submit": "Enviar"
|
"Video call name": "Nombre de la videollamada",
|
||||||
},
|
"Video call": "Videollamada",
|
||||||
"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>.",
|
"Video": "Video",
|
||||||
"call_ended_view": {
|
"Version: {{version}}": "Versión: {{version}}",
|
||||||
"create_account_button": "Crear cuenta",
|
"Username": "Nombre de usuario",
|
||||||
"create_account_prompt": "<0>¿Por qué no mantienes tu cuenta estableciendo una contraseña?</0><1>Podrás mantener tu nombre y establecer un avatar para usarlo en futuras llamadas</1>",
|
"User menu": "Menú de usuario",
|
||||||
"feedback_done": "<0>¡Gracias por tus comentarios!</0>",
|
"Unmute microphone": "Desilenciar el micrófono",
|
||||||
"feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
|
"Turn on camera": "Encender la cámara",
|
||||||
"headline": "{{displayName}}, tu llamada ha finalizado.",
|
"Turn off camera": "Apagar la cámara",
|
||||||
"not_now_button": "Ahora no, volver a la pantalla de inicio",
|
"Thanks! We'll get right on it.": "¡Gracias! Nos encargaremos de ello.",
|
||||||
"survey_prompt": "¿Cómo ha ido?"
|
"Take me Home": "Volver al inicio",
|
||||||
},
|
"Submit feedback": "Enviar comentarios",
|
||||||
"common": {
|
"Stop sharing screen": "Dejar de compartir pantalla",
|
||||||
"camera": "Cámara",
|
"Spotlight": "Foco",
|
||||||
"copied": "¡Copiado!",
|
"Speaker": "Altavoz",
|
||||||
"display_name": "Nombre a mostrar",
|
"Sign out": "Cerrar sesión",
|
||||||
"home": "Inicio",
|
"Sign in": "Iniciar sesión",
|
||||||
"loading": "Cargando…",
|
"Show call inspector": "Mostrar inspector de llamada",
|
||||||
"microphone": "Micrófono",
|
"Share screen": "Compartir pantalla",
|
||||||
"password": "Contraseña",
|
"Settings": "Ajustes",
|
||||||
"profile": "Perfil",
|
"Sending…": "Enviando…",
|
||||||
"settings": "Ajustes",
|
"Sending debug logs…": "Enviando registros de depuración…",
|
||||||
"username": "Nombre de usuario"
|
"Send debug logs": "Enviar registros de depuración",
|
||||||
},
|
"Select an option": "Selecciona una opción",
|
||||||
"exit_fullscreen_button_label": "Salir de pantalla completa",
|
"Return to home screen": "Volver a la pantalla de inicio",
|
||||||
"full_screen_view_description": "<0>Subir los registros de depuración nos ayudará a encontrar el problema.</0>",
|
"Remove": "Eliminar",
|
||||||
"full_screen_view_h1": "<0>Ups, algo ha salido mal.</0>",
|
"Registering…": "Registrando…",
|
||||||
"fullscreen_button_label": "Pantalla completa",
|
"Recaptcha not loaded": "No se ha cargado el Recaptcha",
|
||||||
"header_label": "Inicio de Element Call",
|
"Recaptcha dismissed": "Recaptcha cancelado",
|
||||||
"join_existing_call_modal": {
|
"Profile": "Perfil",
|
||||||
"join_button": "Si, unirse a la llamada",
|
"Passwords must match": "Las contraseñas deben coincidir",
|
||||||
"text": "Esta llamada ya existe, ¿te gustaría unirte?",
|
"Password": "Contraseña",
|
||||||
"title": "¿Unirse a llamada existente?"
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Otros usuarios están intentando unirse a la llamada con versiones incompatibles. Estos usuarios deberán asegurarse de que han refrescado sus navegadores:<1>{userLis}</1>",
|
||||||
},
|
"Not now, return to home screen": "Ahora no, volver a la pantalla de inicio",
|
||||||
"layout_spotlight_label": "Foco",
|
"No": "No",
|
||||||
"lobby": {
|
"Mute microphone": "Silenciar micrófono",
|
||||||
"join_button": "Unirse a la llamada"
|
"More": "Más",
|
||||||
},
|
"Microphone": "Micrófono",
|
||||||
"local_volume_label": "Volumen local",
|
"Login": "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>",
|
"Local volume": "Volumen local",
|
||||||
"login_title": "Iniciar sesión",
|
"Loading…": "Cargando…",
|
||||||
"rageshake_request_modal": {
|
"Leave": "Abandonar",
|
||||||
"body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
|
"Join existing call?": "¿Unirse a llamada existente?",
|
||||||
"title": "Petición de registros de depuración"
|
"Join call now": "Unirse a la llamada ahora",
|
||||||
},
|
"Join call": "Unirse a la llamada",
|
||||||
"rageshake_send_logs": "Enviar registros de depuración",
|
"Invite people": "Invitar a gente",
|
||||||
"rageshake_sending": "Enviando…",
|
"Invite": "Invitar",
|
||||||
"rageshake_sending_logs": "Enviando registros de depuración…",
|
"Inspector": "Inspector",
|
||||||
"recaptcha_caption": "Este sitio está protegido por ReCAPTCHA y se aplican la <2>Política de Privacidad</2> y los <6>Términos de Servicio de Google.<9></9>Al hacer clic en \"Registrar\", aceptas nuestro <12>Contrato de Licencia de Usuario Final (CLUF)</12>",
|
"Incompatible versions!": "¡Versiones incompatibles!",
|
||||||
"recaptcha_dismissed": "Recaptcha cancelado",
|
"Incompatible versions": "Versiones incompatibles",
|
||||||
"recaptcha_not_loaded": "No se ha cargado el Recaptcha",
|
"Include debug logs": "Incluir registros de depuración",
|
||||||
"register": {
|
"Home": "Inicio",
|
||||||
"passwords_must_match": "Las contraseñas deben coincidir",
|
"Grid layout menu": "Menú de distribución de cuadrícula",
|
||||||
"registering": "Registrando…"
|
"Go": "Comenzar",
|
||||||
},
|
"Full screen": "Pantalla completa",
|
||||||
"register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
|
"Freedom": "Libre",
|
||||||
"register_confirm_password_label": "Confirmar contraseña",
|
"Fetching group call timed out.": "Se ha agotado el tiempo de espera para obtener la llamada grupal.",
|
||||||
"return_home_button": "Volver a la pantalla de inicio",
|
"Exit full screen": "Salir de pantalla completa",
|
||||||
"room_auth_view_eula_caption": "Al hacer clic en \"Unirse a la llamada ahora\", aceptas nuestro <2>Contrato de Licencia de Usuario Final (CLUF)</2>",
|
"Download debug logs": "Descargar registros de depuración",
|
||||||
"room_auth_view_join_button": "Unirse a la llamada ahora",
|
"Display name": "Nombre a mostrar",
|
||||||
"screenshare_button_label": "Compartir pantalla",
|
"Developer": "Desarrollador",
|
||||||
"select_input_unset_button": "Selecciona una opción",
|
"Details": "Detalles",
|
||||||
"settings": {
|
"Debug log request": "Petición de registros de depuración",
|
||||||
"developer_settings_label": "Ajustes de desarrollador",
|
"Debug log": "Registro de depuración",
|
||||||
"developer_settings_label_description": "Muestra los ajustes de desarrollador en la ventana de ajustes.",
|
"Create account": "Crear cuenta",
|
||||||
"developer_tab_title": "Desarrollador",
|
"Copy and share this call link": "Copiar y compartir el enlace de la llamada",
|
||||||
"feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.",
|
"Copied!": "¡Copiado!",
|
||||||
"feedback_tab_description_label": "Tus comentarios",
|
"Confirm password": "Confirmar contraseña",
|
||||||
"feedback_tab_h4": "Enviar comentarios",
|
"Close": "Cerrar",
|
||||||
"feedback_tab_send_logs_label": "Incluir registros de depuración",
|
"Change layout": "Cambiar distribución",
|
||||||
"feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!",
|
"Camera": "Cámara",
|
||||||
"feedback_tab_title": "Danos tu opinión",
|
"Call type menu": "Menú de tipo de llamada",
|
||||||
"more_tab_title": "Más",
|
"Call link copied": "Enlace de la llamada copiado",
|
||||||
"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.",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
|
||||||
"show_connection_stats_label": "Mostrar estadísticas de conexión",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"speaker_device_selection_label": "Altavoz"
|
"Audio": "Audio",
|
||||||
},
|
"Avatar": "Avatar",
|
||||||
"star_rating_input_label_one": "{{count}} estrella",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
|
||||||
"star_rating_input_label_other": "{{count}} estrellas",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Unirse ahora</0><1>Or</1><2>Copiar el enlace y unirse más tarde</2>",
|
||||||
"submitting": "Enviando…",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
|
||||||
"unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
"Element Call Home": "Inicio de Element Call",
|
||||||
"unauthenticated_view_eula_caption": "Al hacer clic en \"Comenzar\", aceptas nuestro <2>Contrato de Licencia de Usuario Final (CLUF)</2>",
|
"Copy": "Copiar",
|
||||||
"unauthenticated_view_login_button": "Iniciar sesión en tu cuenta",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Subir los registros de depuración nos ayudará a encontrar el problema.</0>",
|
||||||
"version": "Versión: {{version}}",
|
"<0>Oops, something's gone wrong.</0>": "<0>Ups, algo ha salido mal.</0>",
|
||||||
"video_tile": {
|
"Expose developer settings in the settings window.": "Muestra los ajustes de desarrollador en la ventana de ajustes.",
|
||||||
"presenter_label": "{{displayName}} está presentando"
|
"Developer Settings": "Ajustes de desarrollador",
|
||||||
},
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "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>.",
|
||||||
"waiting_for_participants": "Esperando a los otros participantes…"
|
"<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.": "<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."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,140 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Kas soovid salasõna seadistada ja sellega oma kasutajakonto alles jätta?</0><1>Nii saad säilitada oma nime ja määrata profiilipildi, mida saad kasutada tulevastes kõnedes</1>",
|
||||||
"user_menu": "Kasutajamenüü"
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Liitu kõnega kohe</0><1> Või</1><2>Kopeeri kõne link ja liitu hiljem</2>",
|
||||||
},
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Loo konto</0> Või <2>Sisene külalisena</2>",
|
||||||
"action": {
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>On sul juba konto?</0><1><0>Logi sisse</0> Või <2>Logi sisse külalisena</2></1>",
|
||||||
"close": "Sulge",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"copy": "Kopeeri",
|
"Invite people": "Kutsu inimesi",
|
||||||
"copy_link": "Kopeeri link",
|
"Invite": "Kutsu",
|
||||||
"go": "Jätka",
|
"Inspector": "Inspektor",
|
||||||
"invite": "Kutsu",
|
"Incompatible versions!": "Ühildumatud versioonid!",
|
||||||
"no": "Ei",
|
"Incompatible versions": "Ühildumatud versioonid",
|
||||||
"register": "Registreeru",
|
"Include debug logs": "Lisa veatuvastuslogid",
|
||||||
"remove": "Eemalda",
|
"Home": "Avavaatesse",
|
||||||
"sign_in": "Logi sisse",
|
"Grid layout menu": "Ruudustikvaate menüü",
|
||||||
"sign_out": "Logi välja",
|
"Go": "Jätka",
|
||||||
"submit": "Saada"
|
"Full screen": "Täisekraan",
|
||||||
},
|
"Freedom": "Vaba",
|
||||||
"analytics_notice": "Nõustudes selle beetaversiooni kasutamisega sa nõustud ka toote arendamiseks kasutatavate anonüümsete andmete kogumisega. Täpsemat teavet kogutavate andmete kohta leiad meie <2>Privaatsuspoliitikast</2> ja meie <5>Küpsiste kasutamise reeglitest</5>.",
|
"Fetching group call timed out.": "Grupikõne kättesaamine aegus.",
|
||||||
"app_selection_modal": {
|
"Exit full screen": "Välju täisekraanivaatest",
|
||||||
"continue_in_browser": "Jätka veebibrauseris",
|
"Download debug logs": "Lae alla veatuvastuslogid",
|
||||||
"open_in_app": "Ava rakenduses",
|
"Display name": "Kuvatav nimi",
|
||||||
"text": "Oled valmis liituma?",
|
"Developer": "Arendaja",
|
||||||
"title": "Vali rakendus"
|
"Details": "Täpsemalt",
|
||||||
},
|
"Debug log request": "Veaotsingulogi päring",
|
||||||
"browser_media_e2ee_unsupported": "Sinu veebibrauser ei toeta meedia läbivat krüptimist. Toetatud brauserid on Chrome, Chromium, Safari ja Firefox >=117",
|
"Debug log": "Veaotsingulogi",
|
||||||
"call_ended_view": {
|
"Create account": "Loo konto",
|
||||||
"body": "Sinu ühendus kõnega katkes",
|
"Copy and share this call link": "Kopeeri ja jaga selle kõne linki",
|
||||||
"create_account_button": "Loo konto",
|
"Copied!": "Kopeeritud!",
|
||||||
"create_account_prompt": "<0>Kas soovid salasõna seadistada ja sellega oma kasutajakonto alles jätta?</0><1>Nii saad säilitada oma nime ja määrata profiilipildi, mida saad kasutada tulevastes kõnedes</1>",
|
"Confirm password": "Kinnita salasõna",
|
||||||
"feedback_done": "<0>Täname Sind tagasiside eest!</0>",
|
"Close": "Sulge",
|
||||||
"feedback_prompt": "<0>Meie rakenduse paremaks muutmiseks me hea meelega ootame Sinu arvamusi.</0>",
|
"Change layout": "Muuda paigutust",
|
||||||
"headline": "{{displayName}}, sinu kõne on lõppenud.",
|
"Camera": "Kaamera",
|
||||||
"not_now_button": "Mitte praegu, mine tagasi avalehele",
|
"Call type menu": "Kõnetüübi valik",
|
||||||
"reconnect_button": "Ühenda uuesti",
|
"Call link copied": "Kõne link on kopeeritud",
|
||||||
"survey_prompt": "Kuidas sujus?"
|
"Avatar": "Tunnuspilt",
|
||||||
},
|
"Audio": "Heli",
|
||||||
"call_name": "Kõne nimi",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Ühel teisel selles kõnes osalejal on lahenduse kasutamisel tekkinud probleem ning selle põhjuse leidmiseks me sooviksime koguda silumislogisid.",
|
||||||
"common": {
|
"Passwords must match": "Salasõnad ei klapi",
|
||||||
"audio": "Heli",
|
"Password": "Salasõna",
|
||||||
"avatar": "Tunnuspilt",
|
"Not registered yet? <2>Create an account</2>": "Sa pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
||||||
"camera": "Kaamera",
|
"Not now, return to home screen": "Mitte praegu, mine tagasi avalehele",
|
||||||
"copied": "Kopeeritud!",
|
"No": "Ei",
|
||||||
"display_name": "Kuvatav nimi",
|
"Mute microphone": "Summuta mikrofon",
|
||||||
"encrypted": "Krüptitud",
|
"Your recent calls": "Hiljutised kõned",
|
||||||
"home": "Avavaatesse",
|
"More": "Rohkem",
|
||||||
"loading": "Laadimine …",
|
"Microphone": "Mikrofon",
|
||||||
"microphone": "Mikrofon",
|
"Login to your account": "Logi oma kontosse sisse",
|
||||||
"password": "Salasõna",
|
"Login": "Sisselogimine",
|
||||||
"profile": "Profiil",
|
"Logging in…": "Sisselogimine …",
|
||||||
"settings": "Seadistused",
|
"Local volume": "Kohalik helitugevus",
|
||||||
"unencrypted": "Krüptimata",
|
"Loading…": "Laadimine …",
|
||||||
"username": "Kasutajanimi"
|
"Leave": "Lahku",
|
||||||
},
|
"Join existing call?": "Liitu juba käimasoleva kõnega?",
|
||||||
"disconnected_banner": "Võrguühendus serveriga on katkenud.",
|
"Join call now": "Liitu kõnega kohe",
|
||||||
"exit_fullscreen_button_label": "Välju täisekraanivaatest",
|
"Join call": "Kõnega liitumine",
|
||||||
"full_screen_view_description": "<0>Kui saadad meile vealogid, siis on lihtsam vea põhjust otsida.</0>",
|
"Turn on camera": "Lülita kaamera sisse",
|
||||||
"full_screen_view_h1": "<0>Ohoo, midagi on nüüd katki.</0>",
|
"Turn off camera": "Lülita kaamera välja",
|
||||||
"fullscreen_button_label": "Täisekraan",
|
"Take me Home": "Mine avalehele",
|
||||||
"group_call_loader_failed_heading": "Kõnet ei leidu",
|
"Submit feedback": "Jaga tagasisidet",
|
||||||
"group_call_loader_failed_text": "Kõned on nüüd läbivalt krüptitud ning need pead looma kodulehelt. Sellega tagad, et kõik kasutavad samu krüptovõtmeid.",
|
"Stop sharing screen": "Lõpeta ekraani jagamine",
|
||||||
"hangup_button_label": "Lõpeta kõne",
|
"Spotlight": "Rambivalgus",
|
||||||
"header_participants_label": "Osalejad",
|
"Speaker": "Kõlar",
|
||||||
"invite_modal": {
|
"Sign out": "Logi välja",
|
||||||
"link_copied_toast": "Link on kopeeritud lõikelauale",
|
"Sign in": "Logi sisse",
|
||||||
"title": "Kutsu liituma selle kõnaga"
|
"Show call inspector": "Näita kõneteavet",
|
||||||
},
|
"Share screen": "Jaga ekraani",
|
||||||
"join_existing_call_modal": {
|
"Settings": "Seadistused",
|
||||||
"join_button": "Jah, liitu kõnega",
|
"Sending…": "Saatmine…",
|
||||||
"text": "See kõne on juba olemas, kas soovid liituda?",
|
"Sending debug logs…": "Veaotsingulogide saatmine…",
|
||||||
"title": "Liitu juba käimasoleva kõnega?"
|
"Send debug logs": "Saada veaotsingulogid",
|
||||||
},
|
"Select an option": "Vali oma eelistus",
|
||||||
"layout_grid_label": "Ruudustik",
|
"Return to home screen": "Tagasi avalehele",
|
||||||
"layout_spotlight_label": "Rambivalgus",
|
"Remove": "Eemalda",
|
||||||
"lobby": {
|
"Registering…": "Registreerimine…",
|
||||||
"join_button": "Kõnega liitumine",
|
"Register": "Registreeru",
|
||||||
"leave_button": "Tagasi hiljutiste kõnede juurde"
|
"Recaptcha not loaded": "Robotilõks pole laetud",
|
||||||
},
|
"Recaptcha dismissed": "Robotilõks on vahele jäetud",
|
||||||
"local_volume_label": "Kohalik helitugevus",
|
"Profile": "Profiil",
|
||||||
"logging_in": "Sisselogimine …",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Teised kasutajad üritavad selle kõnega liituda ühildumatuid versioone kasutades. Need kasutajad peaksid oma brauseris lehe uuestilaadimise tegema:<1>{userLis}</1>",
|
||||||
"login_auth_links": "<0>Loo konto</0> Või <2>Sisene külalisena</2>",
|
"Waiting for other participants…": "Ootame teiste osalejate lisandumist…",
|
||||||
"login_title": "Sisselogimine",
|
"Video call name": "Videokõne nimi",
|
||||||
"microphone_off": "Mikrofon ei tööta",
|
"Video call": "Videokõne",
|
||||||
"microphone_on": "Mikrofon töötab",
|
"Video": "Video",
|
||||||
"mute_microphone_button_label": "Summuta mikrofon",
|
"Version: {{version}}": "Versioon: {{version}}",
|
||||||
"rageshake_button_error_caption": "Proovi uuesti logisid saata",
|
"Username": "Kasutajanimi",
|
||||||
"rageshake_request_modal": {
|
"This call already exists, would you like to join?": "See kõne on juba olemas, kas soovid liituda?",
|
||||||
"body": "Ühel teisel selles kõnes osalejal on lahenduse kasutamisel tekkinud probleem ning selle põhjuse leidmiseks me sooviksime koguda silumislogisid.",
|
"Thanks! We'll get right on it.": "Tänud! Tegeleme sellega esimesel võimalusel.",
|
||||||
"title": "Veaotsingulogi päring"
|
"Unmute microphone": "Aktiveeri mikrofon",
|
||||||
},
|
"User menu": "Kasutajamenüü",
|
||||||
"rageshake_send_logs": "Saada veaotsingulogid",
|
"Yes, join call": "Jah, liitu kõnega",
|
||||||
"rageshake_sending": "Saatmine…",
|
"Walkie-talkie call": "Walkie-talkie stiilis kõne",
|
||||||
"rageshake_sending_logs": "Veaotsingulogide saatmine…",
|
"Walkie-talkie call name": "Walkie-talkie stiilis kõne nimi",
|
||||||
"rageshake_sent": "Tänud!",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC pole kas selles brauseris toetatud või on keelatud.",
|
||||||
"recaptcha_caption": "Selles saidis on kasutusel ReCAPTCHA ja kehtivad Google'i <2>Privaatsuspoliitika</2> ning <6>Teenusetingimused</6>.<9></9>Klõpsides „Registreeru“, sa nõustud meie <12>Lõppkasutaja litsentsilepingu (EULA) tingimustega</12>",
|
"Element Call Home": "Element Call Home",
|
||||||
"recaptcha_dismissed": "Robotilõks on vahele jäetud",
|
"Copy": "Kopeeri",
|
||||||
"recaptcha_not_loaded": "Robotilõks pole laetud",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Kui saadad meile vealogid, siis on lihtsam vea põhjust otsida.</0>",
|
||||||
"register": {
|
"<0>Oops, something's gone wrong.</0>": "<0>Ohoo, midagi on nüüd katki.</0>",
|
||||||
"passwords_must_match": "Salasõnad ei klapi",
|
"Expose developer settings in the settings window.": "Näita seadistuste aknas arendajale vajalikke seadeid.",
|
||||||
"registering": "Registreerimine…"
|
"Developer Settings": "Arendaja seadistused",
|
||||||
},
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Nõustudes selle beetaversiooni kasutamisega sa nõustud ka toote arendamiseks kasutatavate anonüümsete andmete kogumisega. Täpsemat teavet kogutavate andmete kohta leiad meie <2>Privaatsuspoliitikast</2> ja meie <5>Küpsiste kasutamise reeglitest</5>.",
|
||||||
"register_auth_links": "<0>On sul juba konto?</0><1><0>Logi sisse</0> Või <2>Logi sisse külalisena</2></1>",
|
"<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.": "<0></0><1></1>Sa võid selle valiku eelmaldamisega alati oma nõusoleku tagasi võtta. Kui sul parasjagu on kõne pooleli, siis seadistuste muudatus jõustub pärast kõne lõppu.",
|
||||||
"register_confirm_password_label": "Kinnita salasõna",
|
"Your feedback": "Sinu tagasiside",
|
||||||
"return_home_button": "Tagasi avalehele",
|
"Thanks, we received your feedback!": "Tänud, me oleme sinu tagasiside kätte saanud!",
|
||||||
"room_auth_view_eula_caption": "Klõpsides „Liitu kõnega kohe“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
"Submitting…": "Saadan…",
|
||||||
"room_auth_view_join_button": "Liitu kõnega kohe",
|
"Submit": "Saada",
|
||||||
"screenshare_button_label": "Jaga ekraani",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Kui selle rakenduse kasutamisel tekib sul probleeme või lihtsalt soovid oma arvamust avaldada, siis palun täida alljärgnev lühike kirjeldus.",
|
||||||
"select_input_unset_button": "Vali oma eelistus",
|
"Feedback": "Tagasiside",
|
||||||
"settings": {
|
"{{count}} stars|one": "{{count}} tärn",
|
||||||
"developer_settings_label": "Arendaja seadistused",
|
"{{count}} stars|other": "{{count}} tärni",
|
||||||
"developer_settings_label_description": "Näita seadistuste aknas arendajale vajalikke seadeid.",
|
"How did it go?": "Kuidas sujus?",
|
||||||
"developer_tab_title": "Arendaja",
|
"{{displayName}}, your call has ended.": "{{displayName}}, sinu kõne on lõppenud.",
|
||||||
"feedback_tab_body": "Kui selle rakenduse kasutamisel tekib sul probleeme või lihtsalt soovid oma arvamust avaldada, siis palun täida alljärgnev lühike kirjeldus.",
|
"<0>Thanks for your feedback!</0>": "<0>Täname Sind tagasiside eest!</0>",
|
||||||
"feedback_tab_description_label": "Sinu tagasiside",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Meie rakenduse paremaks muutmiseks me hea meelega ootame Sinu arvamusi.</0>",
|
||||||
"feedback_tab_h4": "Jaga tagasisidet",
|
"Show connection stats": "Näita ühenduse statistikat",
|
||||||
"feedback_tab_send_logs_label": "Lisa veatuvastuslogid",
|
"{{displayName}} is presenting": "{{displayName}} on esitlemas",
|
||||||
"feedback_tab_thank_you": "Tänud, me oleme sinu tagasiside kätte saanud!",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Klõpsides „Jätka“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
||||||
"feedback_tab_title": "Tagasiside",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Klõpsides „Liitu kõnega kohe“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
||||||
"more_tab_title": "Rohkem",
|
"Element Call is temporarily not encrypted while we test scalability.": "Seni kuni me testime skaleeritavust, siis Element Call ajutiselt pole krüptitud.",
|
||||||
"opt_in_description": "<0></0><1></1>Sa võid selle valiku eelmaldamisega alati oma nõusoleku tagasi võtta. Kui sul parasjagu on kõne pooleli, siis seadistuste muudatus jõustub pärast kõne lõppu.",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Selles saidis on kasutusel ReCAPTCHA ja kehtivad Google'i <2>Privaatsuspoliitika</2> ning <6>Teenusetingimused</6>.<9></9>Klõpsides „Registreeru“, sa nõustud meie <12>Lõppkasutaja litsentsilepingu (EULA) tingimustega</12>"
|
||||||
"show_connection_stats_label": "Näita ühenduse statistikat",
|
|
||||||
"speaker_device_selection_label": "Kõlar"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} tärni",
|
|
||||||
"star_rating_input_label_other": "{{count}} tärni",
|
|
||||||
"start_new_call": "Algata uus kõne",
|
|
||||||
"start_video_button_label": "Lülita videovoog sisse",
|
|
||||||
"stop_screenshare_button_label": "Ekraanivaade on jagamisel",
|
|
||||||
"stop_video_button_label": "Peata videovoog",
|
|
||||||
"submitting": "Saadan…",
|
|
||||||
"unauthenticated_view_body": "Sa pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Klõpsides „Jätka“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Logi oma kontosse sisse",
|
|
||||||
"unmute_microphone_button_label": "Lülita mikrofon sisse",
|
|
||||||
"version": "Versioon: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} on esitlemas",
|
|
||||||
"sfu_participant_local": "Sina"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Ootame teiste osalejate lisandumist…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,81 +1,96 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Your recent calls": "تماسهای اخیر شما",
|
||||||
"user_menu": "فهرست کاربر"
|
"Video call": "تماس تصویری",
|
||||||
},
|
"Video": "ویدیو",
|
||||||
"action": {
|
"Username": "نام کاربری",
|
||||||
"close": "بستن",
|
"Turn on camera": "روشن کردن دوربین",
|
||||||
"copy": "رونوشت",
|
"Turn off camera": "خاموش کردن دوربین",
|
||||||
"go": "رفتن",
|
"Take me Home": "مرا به خانه ببر",
|
||||||
"no": "خیر",
|
"Speaker": "بلندگو",
|
||||||
"register": "ثبتنام",
|
"Sign out": "خروج",
|
||||||
"remove": "حذف",
|
"Sign in": "ورود",
|
||||||
"sign_in": "ورود",
|
"Settings": "تنظیمات",
|
||||||
"sign_out": "خروج"
|
"Profile": "پروفایل",
|
||||||
},
|
"Password": "رمز عبور",
|
||||||
"call_ended_view": {
|
"No": "خیر",
|
||||||
"create_account_button": "ساخت حساب کاربری",
|
"Mute microphone": "بیصدا کردن میکروفون",
|
||||||
"create_account_prompt": "<0>چرا یک رمز عبور برای حساب کاربری خود تنظیم نمیکنید؟</0><1>شما میتوانید نام خود را حفظ کنید و یک آواتار برای تماسهای آینده بسازید</1>",
|
"More": "بیشتر",
|
||||||
"not_now_button": "الان نه، به صفحه اصلی برگردید"
|
"Microphone": "میکروفون",
|
||||||
},
|
"Login to your account": "به حساب کاربری خود وارد شوید",
|
||||||
"common": {
|
"Login": "ورود",
|
||||||
"audio": "صدا",
|
"Loading…": "بارگزاری…",
|
||||||
"avatar": "آواتار",
|
"Leave": "خروج",
|
||||||
"camera": "دوربین",
|
"Join existing call?": "پیوست به تماس؟",
|
||||||
"copied": "کپی شد!",
|
"Join call now": "الان به تماس بپیوند",
|
||||||
"display_name": "نام نمایشی",
|
"Join call": "پیوستن به تماس",
|
||||||
"home": "خانه",
|
"Invite people": "دعوت از افراد",
|
||||||
"loading": "بارگزاری…",
|
"Invite": "دعوت",
|
||||||
"microphone": "میکروفون",
|
"Home": "خانه",
|
||||||
"password": "رمز عبور",
|
"Go": "رفتن",
|
||||||
"profile": "پروفایل",
|
"Full screen": "تمام صحفه",
|
||||||
"settings": "تنظیمات",
|
"Freedom": "آزادی",
|
||||||
"username": "نام کاربری",
|
"Exit full screen": "خروج از حالت تمام صفحه",
|
||||||
"video": "ویدیو"
|
"Download debug logs": "دانلود لاگ عیبیابی",
|
||||||
},
|
"Display name": "نام نمایشی",
|
||||||
"exit_fullscreen_button_label": "خروج از حالت تمام صفحه",
|
"Developer": "توسعه دهنده",
|
||||||
"fullscreen_button_label": "تمام صحفه",
|
"Details": "جزئیات",
|
||||||
"header_label": "خانهٔ تماس المنت",
|
"Debug log request": "درخواست لاگ عیبیابی",
|
||||||
"join_existing_call_modal": {
|
"Debug log": "لاگ عیبیابی",
|
||||||
"join_button": "بله، به تماس بپیوندید",
|
"Create account": "ساخت حساب کاربری",
|
||||||
"text": "این تماس از قبل وجود دارد، میخواهید بپیوندید؟",
|
"Copy and share this call link": "لینک تماس را کپی کنید و به اشتراک بگذارید",
|
||||||
"title": "پیوست به تماس؟"
|
"Copied!": "کپی شد!",
|
||||||
},
|
"Confirm password": "تایید رمزعبور",
|
||||||
"layout_spotlight_label": "نور افکن",
|
"Close": "بستن",
|
||||||
"lobby": {
|
"Change layout": "تغییر طرح",
|
||||||
"join_button": "پیوستن به تماس"
|
"Camera": "دوربین",
|
||||||
},
|
"Call type menu": "منوی نوع تماس",
|
||||||
"local_volume_label": "حجم داخلی",
|
"Call link copied": "لینک تماس کپی شد",
|
||||||
"logging_in": "ورود…",
|
"Avatar": "آواتار",
|
||||||
"login_auth_links": "<0>ساخت حساب کاربری</0> Or <2>دسترسی به عنوان میهمان</2>",
|
"Audio": "صدا",
|
||||||
"login_title": "ورود",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "کاربر دیگری در این تماس مشکلی دارد. برای تشخیص بهتر مشکل، بهتر است ما لاگ عیبیابی را جمعآوری کنیم.",
|
||||||
"rageshake_request_modal": {
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"body": "کاربر دیگری در این تماس مشکلی دارد. برای تشخیص بهتر مشکل، بهتر است ما لاگ عیبیابی را جمعآوری کنیم.",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>چرا یک رمز عبور برای حساب کاربری خود تنظیم نمیکنید؟</0><1>شما میتوانید نام خود را حفظ کنید و یک آواتار برای تماسهای آینده بسازید</1>",
|
||||||
"title": "درخواست لاگ عیبیابی"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>ساخت حساب کاربری</0> Or <2>دسترسی به عنوان میهمان</2>",
|
||||||
},
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>از قبل حساب کاربری دارید؟</0><1><0>ورود</0> Or <2>به عنوان یک میهمان وارد شوید</2></1>",
|
||||||
"rageshake_send_logs": "ارسال لاگهای عیبیابی",
|
"Local volume": "حجم داخلی",
|
||||||
"rageshake_sending": "در حال ارسال…",
|
"Inspector": "بازرس",
|
||||||
"rageshake_sending_logs": "در حال ارسال باگهای عیبیابی…",
|
"Incompatible versions!": "نسخههای ناسازگار!",
|
||||||
"recaptcha_dismissed": "ریکپچا رد شد",
|
"Incompatible versions": "نسخههای ناسازگار",
|
||||||
"recaptcha_not_loaded": "کپچا بارگیری نشد",
|
"Spotlight": "نور افکن",
|
||||||
"register": {
|
"Show call inspector": "نمایش بازرس تماس",
|
||||||
"passwords_must_match": "رمز عبور باید همخوانی داشته باشد",
|
"Share screen": "اشتراک گذاری صفحه نمایش",
|
||||||
"registering": "ثبتنام…"
|
"Sending…": "در حال ارسال…",
|
||||||
},
|
"Sending debug logs…": "در حال ارسال باگهای عیبیابی…",
|
||||||
"register_auth_links": "<0>از قبل حساب کاربری دارید؟</0><1><0>ورود</0> Or <2>به عنوان یک میهمان وارد شوید</2></1>",
|
"Send debug logs": "ارسال لاگهای عیبیابی",
|
||||||
"register_confirm_password_label": "تایید رمزعبور",
|
"Select an option": "یک گزینه را انتخاب کنید",
|
||||||
"return_home_button": "برگشت به صفحه اصلی",
|
"Return to home screen": "برگشت به صفحه اصلی",
|
||||||
"room_auth_view_join_button": "الان به تماس بپیوند",
|
"Remove": "حذف",
|
||||||
"screenshare_button_label": "اشتراک گذاری صفحه نمایش",
|
"Registering…": "ثبتنام…",
|
||||||
"select_input_unset_button": "یک گزینه را انتخاب کنید",
|
"Register": "ثبتنام",
|
||||||
"settings": {
|
"Recaptcha not loaded": "کپچا بارگیری نشد",
|
||||||
"developer_tab_title": "توسعه دهنده",
|
"Recaptcha dismissed": "ریکپچا رد شد",
|
||||||
"feedback_tab_h4": "بازخورد ارائه دهید",
|
"Passwords must match": "رمز عبور باید همخوانی داشته باشد",
|
||||||
"feedback_tab_send_logs_label": "شامل لاگهای عیبیابی",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "کاربران دیگر تلاش میکنند با ورژنهای ناسازگار به مکالمه بپیوندند. این کاربران باید از بروزرسانی مرورگرشان اطمینان داشته باشند:<1>{userLis}</1>",
|
||||||
"more_tab_title": "بیشتر",
|
"Not registered yet? <2>Create an account</2>": "هنوز ثبتنام نکردهاید؟ <2>ساخت حساب کاربری</2>",
|
||||||
"speaker_device_selection_label": "بلندگو"
|
"Not now, return to home screen": "الان نه، به صفحه اصلی برگردید",
|
||||||
},
|
"Logging in…": "ورود…",
|
||||||
"unauthenticated_view_body": "هنوز ثبتنام نکردهاید؟ <2>ساخت حساب کاربری</2>",
|
"Include debug logs": "شامل لاگهای عیبیابی",
|
||||||
"unauthenticated_view_login_button": "به حساب کاربری خود وارد شوید",
|
"Grid layout menu": "منوی طرحبندی شبکهای",
|
||||||
"version": "نسخه: {{نسخه}}",
|
"Fetching group call timed out.": "زمان اتصال به مکالمه گروهی تمام شد.",
|
||||||
"waiting_for_participants": "در انتظار برای دیگر شرکتکنندگان…"
|
"Yes, join call": "بله، به تماس بپیوندید",
|
||||||
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC (ارتباطات رسانهای بلادرنگ مانند انتقال صدا، ویدئو و داده) در این مرورگر پشتیبانی نمیشود یا در حال مسدود شدن است.",
|
||||||
|
"Walkie-talkie call name": "نامِ تماسِ واکی-تاکی",
|
||||||
|
"Walkie-talkie call": "تماسِ واکی-تاکی",
|
||||||
|
"Waiting for other participants…": "در انتظار برای دیگر شرکتکنندگان…",
|
||||||
|
"Video call name": "نامِ تماسِ تصویری",
|
||||||
|
"Version: {{version}}": "نسخه: {{نسخه}}",
|
||||||
|
"User menu": "فهرست کاربر",
|
||||||
|
"Unmute microphone": "ناخموشی میکروفون",
|
||||||
|
"This call already exists, would you like to join?": "این تماس از قبل وجود دارد، میخواهید بپیوندید؟",
|
||||||
|
"Thanks! We'll get right on it.": "با تشکر! ما به درستی آن را انجام خواهیم داد.",
|
||||||
|
"Submit feedback": "بازخورد ارائه دهید",
|
||||||
|
"Stop sharing screen": "توقف اشتراکگذاری صفحه نمایش",
|
||||||
|
"Element Call Home": "خانهٔ تماس المنت",
|
||||||
|
"Copy": "رونوشت",
|
||||||
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>اکنون به تماس پیوسته</0><1>یا</1><2>پیوند تماس را رونوشت کرده و بعداً بپیوندید</2>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,138 +1,119 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Créer un compte</0> Or <2>Accès invité</2>",
|
||||||
"user_menu": "Menu utilisateur"
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Pourquoi ne pas créer un mot de passe pour conserver votre compte ?</0><1>Vous pourrez garder votre nom et définir un avatar pour vos futurs appels</1>",
|
||||||
},
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "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.",
|
||||||
"action": {
|
"Audio": "Audio",
|
||||||
"close": "Fermer",
|
"Avatar": "Avatar",
|
||||||
"copy": "Copier",
|
"Call link copied": "Lien de l’appel copié",
|
||||||
"copy_link": "Copier le lien",
|
"Call type menu": "Menu de type d’appel",
|
||||||
"go": "Commencer",
|
"Camera": "Caméra",
|
||||||
"invite": "Inviter",
|
"Change layout": "Changer la disposition",
|
||||||
"no": "Non",
|
"Close": "Fermer",
|
||||||
"register": "S’enregistrer",
|
"Confirm password": "Confirmer le mot de passe",
|
||||||
"remove": "Supprimer",
|
"Copied!": "Copié !",
|
||||||
"sign_in": "Connexion",
|
"Copy and share this call link": "Copier et partager le lien de cet appel",
|
||||||
"sign_out": "Déconnexion",
|
"Create account": "Créer un compte",
|
||||||
"submit": "Envoyer"
|
"Debug log": "Journal de débogage",
|
||||||
},
|
"Debug log request": "Demande d’un journal de débogage",
|
||||||
"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>.",
|
"Details": "Informations",
|
||||||
"app_selection_modal": {
|
"Developer": "Développeur",
|
||||||
"continue_in_browser": "Continuer dans le navigateur",
|
"Display name": "Nom d’affichage",
|
||||||
"open_in_app": "Ouvrir dans l’application",
|
"Download debug logs": "Télécharger les journaux de débogage",
|
||||||
"text": "Prêt à rejoindre ?",
|
"Exit full screen": "Quitter le plein écran",
|
||||||
"title": "Choisissez l’application"
|
"Freedom": "Libre",
|
||||||
},
|
"Full screen": "Plein écran",
|
||||||
"browser_media_e2ee_unsupported": "Votre navigateur web ne prend pas en charge le chiffrement de bout-en-bout des médias. Les navigateurs pris en charge sont Chrome, Safari, Firefox >= 117",
|
"Go": "Commencer",
|
||||||
"call_ended_view": {
|
"Grid layout menu": "Menu en grille",
|
||||||
"body": "Vous avez été déconnecté de l’appel",
|
"Home": "Accueil",
|
||||||
"create_account_button": "Créer un compte",
|
"Include debug logs": "Inclure les journaux de débogage",
|
||||||
"create_account_prompt": "<0>Pourquoi ne pas créer un mot de passe pour conserver votre compte ?</0><1>Vous pourrez garder votre nom et définir un avatar pour vos futurs appels</1>",
|
"Incompatible versions": "Versions incompatibles",
|
||||||
"feedback_done": "<0>Merci pour votre commentaire !</0>",
|
"Incompatible versions!": "Versions incompatibles !",
|
||||||
"feedback_prompt": "<0>Nous aimerions avoir vos commentaires afin que nous puissions améliorer votre expérience.</0>",
|
"Inspector": "Inspecteur",
|
||||||
"headline": "{{displayName}}, votre appel est terminé.",
|
"Invite people": "Inviter des gens",
|
||||||
"not_now_button": "Pas maintenant, retourner à l’accueil",
|
"Join call": "Rejoindre l’appel",
|
||||||
"reconnect_button": "Se reconnecter",
|
"Join call now": "Rejoindre l’appel maintenant",
|
||||||
"survey_prompt": "Comment cela s’est-il passé ?"
|
"Join existing call?": "Rejoindre un appel existant ?",
|
||||||
},
|
"Leave": "Partir",
|
||||||
"call_name": "Nom de l’appel",
|
"Loading…": "Chargement…",
|
||||||
"common": {
|
"Local volume": "Volume local",
|
||||||
"camera": "Caméra",
|
"Logging in…": "Connexion…",
|
||||||
"copied": "Copié !",
|
"Login": "Connexion",
|
||||||
"display_name": "Nom d’affichage",
|
"Login to your account": "Connectez vous à votre compte",
|
||||||
"encrypted": "Chiffré",
|
"Microphone": "Microphone",
|
||||||
"home": "Accueil",
|
"More": "Plus",
|
||||||
"loading": "Chargement…",
|
"Mute microphone": "Couper le micro",
|
||||||
"password": "Mot de passe",
|
"No": "Non",
|
||||||
"profile": "Profil",
|
"Not now, return to home screen": "Pas maintenant, retourner à l’accueil",
|
||||||
"settings": "Paramètres",
|
"Not registered yet? <2>Create an account</2>": "Pas encore de compte ? <2>En créer un</2>",
|
||||||
"unencrypted": "Non chiffré",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Des utilisateurs essayent de rejoindre cet appel à partir de versions incompatibles. Ces utilisateurs doivent rafraîchir la page dans leur navigateur : <1>{userLis}</1>",
|
||||||
"username": "Nom d’utilisateur",
|
"Password": "Mot de passe",
|
||||||
"video": "Vidéo"
|
"Passwords must match": "Les mots de passe doivent correspondre",
|
||||||
},
|
"Profile": "Profil",
|
||||||
"disconnected_banner": "La connexion avec le serveur a été perdue.",
|
"Recaptcha dismissed": "Recaptcha refusé",
|
||||||
"exit_fullscreen_button_label": "Quitter le plein écran",
|
"Recaptcha not loaded": "Recaptcha non chargé",
|
||||||
"full_screen_view_description": "<0>Soumettre les journaux de débogage nous aidera à déterminer le problème.</0>",
|
"Register": "S’enregistrer",
|
||||||
"full_screen_view_h1": "<0>Oups, quelque chose s’est mal passé.</0>",
|
"Registering…": "Enregistrement…",
|
||||||
"fullscreen_button_label": "Plein écran",
|
"Remove": "Supprimer",
|
||||||
"group_call_loader_failed_heading": "Appel non trouvé",
|
"Return to home screen": "Retour à l’accueil",
|
||||||
"group_call_loader_failed_text": "Les appels sont maintenant chiffrés de bout-en-bout et doivent être créés depuis la page d’accueil. Cela permet d’être sûr que tout le monde utilise la même clé de chiffrement.",
|
"Select an option": "Sélectionnez une option",
|
||||||
"hangup_button_label": "Terminer l’appel",
|
"Send debug logs": "Envoyer les journaux de débogage",
|
||||||
"header_label": "Accueil Element Call",
|
"Sending…": "Envoi…",
|
||||||
"invite_modal": {
|
"Settings": "Paramètres",
|
||||||
"link_copied_toast": "Lien copié dans le presse-papier",
|
"Share screen": "Partage d’écran",
|
||||||
"title": "Inviter dans cet appel"
|
"Show call inspector": "Afficher l’inspecteur d’appel",
|
||||||
},
|
"Sign in": "Connexion",
|
||||||
"join_existing_call_modal": {
|
"Sign out": "Déconnexion",
|
||||||
"join_button": "Oui, rejoindre l’appel",
|
"Spotlight": "Premier plan",
|
||||||
"text": "Cet appel existe déjà, voulez-vous le rejoindre ?",
|
"Stop sharing screen": "Arrêter le partage d’écran",
|
||||||
"title": "Rejoindre un appel existant ?"
|
"Submit feedback": "Envoyer des retours",
|
||||||
},
|
"Take me Home": "Retouner à l’accueil",
|
||||||
"layout_grid_label": "Grille",
|
"Thanks! We'll get right on it.": "Merci ! Nous allons nous y attaquer.",
|
||||||
"layout_spotlight_label": "Premier plan",
|
"This call already exists, would you like to join?": "Cet appel existe déjà, voulez-vous le rejoindre ?",
|
||||||
"lobby": {
|
"Fetching group call timed out.": "Échec de connexion à l’appel de groupe dans le temps imparti.",
|
||||||
"join_button": "Rejoindre l’appel",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"leave_button": "Revenir à l’historique des appels"
|
"Your recent calls": "Appels récents",
|
||||||
},
|
"Yes, join call": "Oui, rejoindre l’appel",
|
||||||
"local_volume_label": "Volume local",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC n’est pas pris en charge ou est bloqué par ce navigateur.",
|
||||||
"logging_in": "Connexion…",
|
"Walkie-talkie call name": "Nom de l’appel talkie-walkie",
|
||||||
"login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>",
|
"Walkie-talkie call": "Appel talkie-walkie",
|
||||||
"login_title": "Connexion",
|
"Waiting for other participants…": "En attente d’autres participants…",
|
||||||
"microphone_off": "Microphone éteint",
|
"Video call name": "Nom de l’appel vidéo",
|
||||||
"microphone_on": "Microphone allumé",
|
"Video call": "Appel vidéo",
|
||||||
"mute_microphone_button_label": "Couper le microphone",
|
"Video": "Vidéo",
|
||||||
"rageshake_button_error_caption": "Réessayer d’envoyer les journaux",
|
"Version: {{version}}": "Version : {{version}}",
|
||||||
"rageshake_request_modal": {
|
"Username": "Nom d’utilisateur",
|
||||||
"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.",
|
"User menu": "Menu utilisateur",
|
||||||
"title": "Demande d’un journal de débogage"
|
"Unmute microphone": "Allumer le micro",
|
||||||
},
|
"Turn on camera": "Allumer la caméra",
|
||||||
"rageshake_send_logs": "Envoyer les journaux de débogage",
|
"Turn off camera": "Couper la caméra",
|
||||||
"rageshake_sending": "Envoi…",
|
"Speaker": "Intervenant",
|
||||||
"rageshake_sending_logs": "Envoi des journaux de débogage…",
|
"Invite": "Inviter",
|
||||||
"rageshake_sent": "Merci !",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
|
||||||
"recaptcha_caption": "Ce site est protégé par ReCAPTCHA, la <2>politique de confidentialité</2> et les <6>conditions d’utilisation</6> de Google s’appliquent.<9></9>En cliquant sur « S’enregistrer » vous acceptez également notre <12>Contrat de Licence Utilisateur Final (CLUF)</12>",
|
"Sending debug logs…": "Envoi des journaux de débogage…",
|
||||||
"recaptcha_dismissed": "Recaptcha refusé",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Rejoindre l’appel maintenant</0><1>Ou</1><2>Copier le lien de l’appel et rejoindre plus tard</2>",
|
||||||
"recaptcha_not_loaded": "Recaptcha non chargé",
|
"Element Call Home": "Accueil Element Call",
|
||||||
"register": {
|
"Copy": "Copier",
|
||||||
"passwords_must_match": "Les mots de passe doivent correspondre",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Soumettre les journaux de débogage nous aidera à déterminer le problème.</0>",
|
||||||
"registering": "Enregistrement…"
|
"<0>Oops, something's gone wrong.</0>": "<0>Oups, quelque chose s’est mal passé.</0>",
|
||||||
},
|
"Expose developer settings in the settings window.": "Affiche les paramètres développeurs dans la fenêtre des paramètres.",
|
||||||
"register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
|
"Developer Settings": "Paramètres développeurs",
|
||||||
"register_confirm_password_label": "Confirmer le mot de passe",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "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>.",
|
||||||
"return_home_button": "Retour à l’accueil",
|
"<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.": "<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.",
|
||||||
"room_auth_view_eula_caption": "En cliquant sur « Rejoindre l’appel maintenant », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
"Your feedback": "Votre commentaire",
|
||||||
"room_auth_view_join_button": "Rejoindre l’appel maintenant",
|
"Thanks, we received your feedback!": "Merci, nous avons reçu vos commentaires !",
|
||||||
"screenshare_button_label": "Partage d’écran",
|
"Submitting…": "Envoi…",
|
||||||
"select_input_unset_button": "Sélectionnez une option",
|
"Submit": "Envoyer",
|
||||||
"settings": {
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, veuillez nous envoyer une courte description ci-dessous.",
|
||||||
"developer_settings_label": "Paramètres développeurs",
|
"Feedback": "Commentaires",
|
||||||
"developer_settings_label_description": "Affiche les paramètres développeurs dans la fenêtre des paramètres.",
|
"{{count}} stars|other": "{{count}} favoris",
|
||||||
"developer_tab_title": "Développeur",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Nous aimerions avoir vos commentaires afin que nous puissions améliorer votre expérience.</0>",
|
||||||
"feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
|
"{{count}} stars|one": "{{count}} favori",
|
||||||
"feedback_tab_description_label": "Votre commentaire",
|
"{{displayName}}, your call has ended.": "{{displayName}}, votre appel est terminé.",
|
||||||
"feedback_tab_h4": "Envoyer un commentaire",
|
"<0>Thanks for your feedback!</0>": "<0>Merci pour votre commentaire !</0>",
|
||||||
"feedback_tab_send_logs_label": "Inclure les journaux de débogage",
|
"How did it go?": "Comment cela s’est-il passé ?",
|
||||||
"feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !",
|
"{{displayName}} is presenting": "{{displayName}} est à l’écran",
|
||||||
"feedback_tab_title": "Commentaires",
|
"Show connection stats": "Afficher les statistiques de la connexion",
|
||||||
"more_tab_title": "Plus",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "En cliquant sur « Rejoindre l’appel maintenant », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
||||||
"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.",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "En cliquant sur « Commencer », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
||||||
"show_connection_stats_label": "Afficher les statistiques de la connexion",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Ce site est protégé par ReCAPTCHA, la <2>politique de confidentialité</2> et les <6>conditions d’utilisation</6> de Google s’appliquent.<9></9>En cliquant sur « S’enregistrer » vous acceptez également notre <12>Contrat de Licence Utilisateur Final (CLUF)</12>"
|
||||||
"speaker_device_selection_label": "Intervenant"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} favori",
|
|
||||||
"star_rating_input_label_other": "{{count}} favoris",
|
|
||||||
"start_new_call": "Démarrer un nouvel appel",
|
|
||||||
"start_video_button_label": "Démarrer la vidéo",
|
|
||||||
"stop_screenshare_button_label": "L’écran est partagé",
|
|
||||||
"stop_video_button_label": "Arrêter la vidéo",
|
|
||||||
"submitting": "Envoi…",
|
|
||||||
"unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "En cliquant sur « Commencer », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Connectez vous à votre compte",
|
|
||||||
"unmute_microphone_button_label": "Allumer le microphone",
|
|
||||||
"version": "Version : {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} est à l’écran",
|
|
||||||
"sfu_participant_local": "Vous"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "En attente d’autres participants…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,139 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Sudah punya akun?</0><1><0>Masuk</0> Atau <2>Akses sebagai tamu</2></1>",
|
||||||
"user_menu": "Menu pengguna"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Buat akun</0> Atau <2>Akses sebagai tamu</2>",
|
||||||
},
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<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>",
|
||||||
"action": {
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Pengguna yang lain di panggilan ini sedang mengalami masalah. Supaya dapat mendiagnosa masalah ini, kami ingin mengumpulkan sebuah catatan pengawakutuan.",
|
||||||
"close": "Tutup",
|
"Audio": "Audio",
|
||||||
"copy": "Salin",
|
"Avatar": "Avatar",
|
||||||
"copy_link": "Salin tautan",
|
"Call link copied": "Tautan panggilan disalin",
|
||||||
"go": "Bergabung",
|
"Call type menu": "Menu jenis panggilan",
|
||||||
"invite": "Undang",
|
"Camera": "Kamera",
|
||||||
"no": "Tidak",
|
"Change layout": "Ubah tata letak",
|
||||||
"register": "Daftar",
|
"Close": "Tutup",
|
||||||
"remove": "Hapus",
|
"Confirm password": "Konfirmasi kata sandi",
|
||||||
"sign_in": "Masuk",
|
"Copied!": "Disalin!",
|
||||||
"sign_out": "Keluar",
|
"Copy and share this call link": "Salin dan bagikan tautan panggilan ini",
|
||||||
"submit": "Kirim"
|
"Create account": "Buat akun",
|
||||||
},
|
"Debug log": "Catatan pengawakutuan",
|
||||||
"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.",
|
"Debug log request": "Permintaan catatan pengawakutuan",
|
||||||
"app_selection_modal": {
|
"Details": "Detail",
|
||||||
"continue_in_browser": "Lanjutkan dalam peramban",
|
"Developer": "Pengembang",
|
||||||
"open_in_app": "Buka dalam aplikasi",
|
"Display name": "Nama tampilan",
|
||||||
"text": "Siap untuk bergabung?",
|
"Download debug logs": "Unduh catatan pengawakutuan",
|
||||||
"title": "Pilih plikasi"
|
"Exit full screen": "Keluar dari layar penuh",
|
||||||
},
|
"Fetching group call timed out.": "Waktu pendapatan panggilan grup habis.",
|
||||||
"browser_media_e2ee_unsupported": "Peramban web Anda tidak mendukung enkripsi media ujung ke ujung. Peramban yang didukung adalah Chrome, Safari, dan Firefox >=117",
|
"Freedom": "Bebas",
|
||||||
"call_ended_view": {
|
"Full screen": "Layar penuh",
|
||||||
"body": "Anda terputus dari panggilan",
|
"Go": "Bergabung",
|
||||||
"create_account_button": "Buat akun",
|
"Grid layout menu": "Menu tata letak kisi",
|
||||||
"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>",
|
"Home": "Beranda",
|
||||||
"feedback_done": "<0>Terima kasih atas masukan Anda!</0>",
|
"Include debug logs": "Termasuk catatan pengawakutuan",
|
||||||
"feedback_prompt": "<0>Kami ingin mendengar masukan Anda supaya kami bisa meningkatkan pengalaman Anda.</0>",
|
"Incompatible versions": "Versi tidak kompatibel",
|
||||||
"headline": "{{displayName}}, panggilan Anda telah berakhir.",
|
"Incompatible versions!": "Versi tidak kompatibel!",
|
||||||
"not_now_button": "Tidak sekarang, kembali ke layar beranda",
|
"Inspector": "Inspektur",
|
||||||
"reconnect_button": "Hubungkan ulang",
|
"Invite": "Undang",
|
||||||
"survey_prompt": "Bagaimana rasanya?"
|
"Invite people": "Undang orang",
|
||||||
},
|
"Join call": "Bergabung ke panggilan",
|
||||||
"call_name": "Nama panggilan",
|
"Join call now": "Bergabung ke panggilan sekarang",
|
||||||
"common": {
|
"Join existing call?": "Bergabung ke panggilan yang sudah ada?",
|
||||||
"camera": "Kamera",
|
"Leave": "Keluar",
|
||||||
"copied": "Disalin!",
|
"Loading…": "Memuat…",
|
||||||
"display_name": "Nama tampilan",
|
"Local volume": "Volume lokal",
|
||||||
"encrypted": "Terenkripsi",
|
"Logging in…": "Memasuki…",
|
||||||
"home": "Beranda",
|
"Login": "Masuk",
|
||||||
"loading": "Memuat…",
|
"Login to your account": "Masuk ke akun Anda",
|
||||||
"microphone": "Mikrofon",
|
"Microphone": "Mikrofon",
|
||||||
"password": "Kata sandi",
|
"More": "Lainnya",
|
||||||
"profile": "Profil",
|
"Mute microphone": "Bisukan mikrofon",
|
||||||
"settings": "Pengaturan",
|
"No": "Tidak",
|
||||||
"unencrypted": "Tidak terenkripsi",
|
"Not now, return to home screen": "Tidak sekarang, kembali ke layar beranda",
|
||||||
"username": "Nama pengguna"
|
"Not registered yet? <2>Create an account</2>": "Belum terdaftar? <2>Buat sebuah akun</2>",
|
||||||
},
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Pengguna lain sedang mencoba bergabung ke panggilan ini dari versi yang tidak kompatibel. Pengguna berikut seharusnya memastikan bahwa mereka telah memuat ulang peramban mereka: <1>{userLis}</1>",
|
||||||
"disconnected_banner": "Koneksi ke server telah hilang.",
|
"Password": "Kata sandi",
|
||||||
"exit_fullscreen_button_label": "Keluar dari layar penuh",
|
"Passwords must match": "Kata sandi harus cocok",
|
||||||
"full_screen_view_description": "<0>Mengirim catatan pengawakutuan akan membantu kami melacak masalahnya.</0>",
|
"Profile": "Profil",
|
||||||
"full_screen_view_h1": "<0>Aduh, ada yang salah.</0>",
|
"Recaptcha dismissed": "Recaptcha ditutup",
|
||||||
"fullscreen_button_label": "Layar penuh",
|
"Recaptcha not loaded": "Recaptcha tidak dimuat",
|
||||||
"group_call_loader_failed_heading": "Panggilan tidak ditemukan",
|
"Register": "Daftar",
|
||||||
"group_call_loader_failed_text": "Panggilan sekarang terenkripsi secara ujung ke ujung dan harus dibuat dari laman beranda. Ini memastikan bahwa semuanya menggunakan kunci enkripsi yang sama.",
|
"Registering…": "Mendaftarkan…",
|
||||||
"hangup_button_label": "Akhiri panggilan",
|
"Remove": "Hapus",
|
||||||
"header_label": "Beranda Element Call",
|
"Return to home screen": "Kembali ke layar beranda",
|
||||||
"header_participants_label": "Peserta",
|
"Select an option": "Pilih sebuah opsi",
|
||||||
"invite_modal": {
|
"Send debug logs": "Kirim catatan pengawakutuan",
|
||||||
"link_copied_toast": "Tautan disalin ke papan klip",
|
"Sending…": "Mengirimkan…",
|
||||||
"title": "Undang ke panggilan ini"
|
"Settings": "Pengaturan",
|
||||||
},
|
"Share screen": "Bagikan layar",
|
||||||
"join_existing_call_modal": {
|
"Show call inspector": "Tampilkan inspektur panggilan",
|
||||||
"join_button": "Ya, bergabung ke panggilan",
|
"Sign in": "Masuk",
|
||||||
"text": "Panggilan ini sudah ada, apakah Anda ingin bergabung?",
|
"Sign out": "Keluar",
|
||||||
"title": "Bergabung ke panggilan yang sudah ada?"
|
"Speaker": "Pembicara",
|
||||||
},
|
"Spotlight": "Sorotan",
|
||||||
"layout_grid_label": "Kisi",
|
"Stop sharing screen": "Berhenti membagikan layar",
|
||||||
"layout_spotlight_label": "Sorotan",
|
"Submit feedback": "Kirim masukan",
|
||||||
"lobby": {
|
"Take me Home": "Bawa saya ke Beranda",
|
||||||
"join_button": "Bergabung ke panggilan",
|
"Thanks! We'll get right on it.": "Terima kasih! Kami akan melihatnya.",
|
||||||
"leave_button": "Kembali ke terkini"
|
"This call already exists, would you like to join?": "Panggilan ini sudah ada, apakah Anda ingin bergabung?",
|
||||||
},
|
"Turn off camera": "Matikan kamera",
|
||||||
"local_volume_label": "Volume lokal",
|
"Turn on camera": "Nyalakan kamera",
|
||||||
"logging_in": "Memasuki…",
|
"Unmute microphone": "Suarakan mikrofon",
|
||||||
"login_auth_links": "<0>Buat akun</0> Atau <2>Akses sebagai tamu</2>",
|
"User menu": "Menu pengguna",
|
||||||
"login_title": "Masuk",
|
"Username": "Nama pengguna",
|
||||||
"microphone_off": "Mikrofon dimatikan",
|
"Version: {{version}}": "Versi: {{version}}",
|
||||||
"microphone_on": "Mikrofon dinyalakan",
|
"Video": "Video",
|
||||||
"mute_microphone_button_label": "Matikan mikrofon",
|
"Video call": "Panggilan video",
|
||||||
"rageshake_button_error_caption": "Kirim ulang catatan",
|
"Video call name": "Nama panggilan video",
|
||||||
"rageshake_request_modal": {
|
"Waiting for other participants…": "Menunggu peserta lain…",
|
||||||
"body": "Pengguna yang lain di panggilan ini sedang mengalami masalah. Supaya dapat mendiagnosa masalah ini, kami ingin mengumpulkan sebuah catatan pengawakutuan.",
|
"Walkie-talkie call": "Panggilan protofon",
|
||||||
"title": "Permintaan catatan pengawakutuan"
|
"Walkie-talkie call name": "Nama panggilan protofon",
|
||||||
},
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC tidak didukung atau diblokir di peramban ini.",
|
||||||
"rageshake_send_logs": "Kirim catatan pengawakutuan",
|
"Yes, join call": "Ya, bergabung ke panggilan",
|
||||||
"rageshake_sending": "Mengirimkan…",
|
"Your recent calls": "Panggilan Anda terkini",
|
||||||
"rageshake_sending_logs": "Mengirimkan catatan pengawakutuan…",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"rageshake_sent": "Terima kasih!",
|
"Sending debug logs…": "Mengirimkan catatan pengawakutuan…",
|
||||||
"recaptcha_caption": "Situs ini dilindungi oleh reCAPTCHA dan <2>Kebijakan Privasi</2> dan <6>Ketentuan Layanan</6> Google berlaku.<9></9>Dengan mengeklik \"Daftar\", Anda menyetujui <12>Perjanjian Lisensi Pengguna Akhir (EULA)</12> kami",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Bergabung ke panggilan sekarang</0><1>Atau</1><2>Salin tautan dan bergabung nanti</2>",
|
||||||
"recaptcha_dismissed": "Recaptcha ditutup",
|
"Element Call Home": "Beranda Element Call",
|
||||||
"recaptcha_not_loaded": "Recaptcha tidak dimuat",
|
"Copy": "Salin",
|
||||||
"register": {
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Mengirim catatan pengawakutuan akan membantu kami melacak masalahnya.</0>",
|
||||||
"passwords_must_match": "Kata sandi harus cocok",
|
"<0>Oops, something's gone wrong.</0>": "<0>Aduh, ada yang salah.</0>",
|
||||||
"registering": "Mendaftarkan…"
|
"Expose developer settings in the settings window.": "Ekspos pengaturan pengembang dalam jendela pengaturan.",
|
||||||
},
|
"Developer Settings": "Pengaturan Pengembang",
|
||||||
"register_auth_links": "<0>Sudah punya akun?</0><1><0>Masuk</0> Atau <2>Akses sebagai tamu</2></1>",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "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.",
|
||||||
"register_confirm_password_label": "Konfirmasi kata sandi",
|
"<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.": "<0></0><1></1>Anda dapat mengurungkan kembali izin dengan mencentang kotak ini. Jika Anda saat ini dalam panggilan, pengaturan ini akan diterapkan di akhir panggilan.",
|
||||||
"return_home_button": "Kembali ke layar beranda",
|
"Feedback": "Masukan",
|
||||||
"room_auth_view_eula_caption": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2> kami",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Jika Anda mengalami masalah atau hanya ingin memberikan masukan, silakan kirimkan kami deskripsi pendek di bawah.",
|
||||||
"room_auth_view_join_button": "Bergabung ke panggilan sekarang",
|
"Submit": "Kirim",
|
||||||
"screenshare_button_label": "Bagikan layar",
|
"Submitting…": "Mengirim…",
|
||||||
"select_input_unset_button": "Pilih sebuah opsi",
|
"Thanks, we received your feedback!": "Terima kasih, kami telah menerima masukan Anda!",
|
||||||
"settings": {
|
"Your feedback": "Masukan Anda",
|
||||||
"developer_settings_label": "Pengaturan Pengembang",
|
"{{displayName}}, your call has ended.": "{{displayName}}, panggilan Anda telah berakhir.",
|
||||||
"developer_settings_label_description": "Ekspos pengaturan pengembang dalam jendela pengaturan.",
|
"<0>Thanks for your feedback!</0>": "<0>Terima kasih atas masukan Anda!</0>",
|
||||||
"developer_tab_title": "Pengembang",
|
"How did it go?": "Bagaimana rasanya?",
|
||||||
"feedback_tab_body": "Jika Anda mengalami masalah atau hanya ingin memberikan masukan, silakan kirimkan kami deskripsi pendek di bawah.",
|
"{{count}} stars|one": "{{count}} bintang",
|
||||||
"feedback_tab_description_label": "Masukan Anda",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Kami ingin mendengar masukan Anda supaya kami bisa meningkatkan pengalaman Anda.</0>",
|
||||||
"feedback_tab_h4": "Kirim masukan",
|
"Show connection stats": "Tampilkan statistik koneksi",
|
||||||
"feedback_tab_send_logs_label": "Termasuk catatan pengawakutuan",
|
"{{displayName}} is presenting": "{{displayName}} sedang menampilkan",
|
||||||
"feedback_tab_thank_you": "Terima kasih, kami telah menerima masukan Anda!",
|
"{{count}} stars|other": "{{count}} bintang",
|
||||||
"feedback_tab_title": "Masukan",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2>",
|
||||||
"more_tab_title": "Lainnya",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Situs ini dilindungi oleh reCAPTCHA dan <2>Kebijakan Privasi</2> dan <6>Ketentuan Layanan</6> Google berlaku.<9></9>Dengan mengeklik \"Daftar\", Anda menyetujui <12>Perjanjian Lisensi Pengguna Akhir (EULA)</12> kami",
|
||||||
"opt_in_description": "<0></0><1></1>Anda dapat mengurungkan kembali izin dengan mencentang kotak ini. Jika Anda saat ini dalam panggilan, pengaturan ini akan diterapkan di akhir panggilan.",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2> kami",
|
||||||
"show_connection_stats_label": "Tampilkan statistik koneksi",
|
"Element Call is temporarily not encrypted while we test scalability.": "Element Call sementara tidak dienkripsi selagi kami menguji skalabilitas."
|
||||||
"speaker_device_selection_label": "Pembicara"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} bintang",
|
|
||||||
"star_rating_input_label_other": "{{count}} bintang",
|
|
||||||
"start_new_call": "Mulai panggilan baru",
|
|
||||||
"start_video_button_label": "Nyalakan video",
|
|
||||||
"stop_screenshare_button_label": "Berbagi layar",
|
|
||||||
"stop_video_button_label": "Matikan video",
|
|
||||||
"submitting": "Mengirim…",
|
|
||||||
"unauthenticated_view_body": "Belum terdaftar? <2>Buat sebuah akun</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Dengan mengeklik \"Bergabung\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Masuk ke akun Anda",
|
|
||||||
"unmute_microphone_button_label": "Nyalakan mikrofon",
|
|
||||||
"version": "Versi: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} sedang menampilkan",
|
|
||||||
"sfu_participant_local": "Anda"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Menunggu peserta lain…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,136 +0,0 @@
|
|||||||
{
|
|
||||||
"a11y": {
|
|
||||||
"user_menu": "Menu utente"
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"close": "Chiudi",
|
|
||||||
"copy": "Copia",
|
|
||||||
"copy_link": "Copia collegamento",
|
|
||||||
"go": "Vai",
|
|
||||||
"invite": "Invita",
|
|
||||||
"register": "Registra",
|
|
||||||
"remove": "Rimuovi",
|
|
||||||
"sign_in": "Accedi",
|
|
||||||
"sign_out": "Disconnetti",
|
|
||||||
"submit": "Invia"
|
|
||||||
},
|
|
||||||
"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>.",
|
|
||||||
"app_selection_modal": {
|
|
||||||
"continue_in_browser": "Continua nel browser",
|
|
||||||
"open_in_app": "Apri nell'app",
|
|
||||||
"text": "Tutto pronto per entrare?",
|
|
||||||
"title": "Seleziona app"
|
|
||||||
},
|
|
||||||
"browser_media_e2ee_unsupported": "Il tuo browser non supporta la crittografia end-to-end dei media. I browser supportati sono Chrome, Safari, Firefox >=117",
|
|
||||||
"call_ended_view": {
|
|
||||||
"body": "Sei stato disconnesso dalla chiamata",
|
|
||||||
"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>",
|
|
||||||
"feedback_done": "<0>Grazie per la tua opinione!</0>",
|
|
||||||
"feedback_prompt": "<0>Vorremmo sapere la tua opinione in modo da migliorare l'esperienza.</0>",
|
|
||||||
"headline": "{{displayName}}, la chiamata è terminata.",
|
|
||||||
"not_now_button": "Non ora, torna alla schermata principale",
|
|
||||||
"reconnect_button": "Riconnetti",
|
|
||||||
"survey_prompt": "Com'è andata?"
|
|
||||||
},
|
|
||||||
"call_name": "Nome della chiamata",
|
|
||||||
"common": {
|
|
||||||
"camera": "Fotocamera",
|
|
||||||
"copied": "Copiato!",
|
|
||||||
"display_name": "Il tuo nome",
|
|
||||||
"encrypted": "Cifrata",
|
|
||||||
"home": "Pagina iniziale",
|
|
||||||
"loading": "Caricamento…",
|
|
||||||
"microphone": "Microfono",
|
|
||||||
"profile": "Profilo",
|
|
||||||
"settings": "Impostazioni",
|
|
||||||
"unencrypted": "Non cifrata",
|
|
||||||
"username": "Nome utente"
|
|
||||||
},
|
|
||||||
"disconnected_banner": "La connessione al server è stata persa.",
|
|
||||||
"exit_fullscreen_button_label": "Esci da schermo intero",
|
|
||||||
"full_screen_view_description": "<0>L'invio di registri di debug ci aiuterà ad individuare il problema.</0>",
|
|
||||||
"full_screen_view_h1": "<0>Ops, qualcosa è andato storto.</0>",
|
|
||||||
"fullscreen_button_label": "Schermo intero",
|
|
||||||
"group_call_loader_failed_heading": "Chiamata non trovata",
|
|
||||||
"group_call_loader_failed_text": "Le chiamate ora sono cifrate end-to-end e devono essere create dalla pagina principale. Ciò assicura che chiunque usi la stessa chiave di crittografia.",
|
|
||||||
"hangup_button_label": "Termina chiamata",
|
|
||||||
"header_label": "Inizio di Element Call",
|
|
||||||
"header_participants_label": "Partecipanti",
|
|
||||||
"invite_modal": {
|
|
||||||
"link_copied_toast": "Collegamento copiato negli appunti",
|
|
||||||
"title": "Invita a questa chiamata"
|
|
||||||
},
|
|
||||||
"join_existing_call_modal": {
|
|
||||||
"join_button": "Sì, entra in chiamata",
|
|
||||||
"text": "Questa chiamata esiste già, vuoi entrare?",
|
|
||||||
"title": "Entrare in una chiamata esistente?"
|
|
||||||
},
|
|
||||||
"layout_grid_label": "Griglia",
|
|
||||||
"layout_spotlight_label": "In primo piano",
|
|
||||||
"lobby": {
|
|
||||||
"join_button": "Entra in chiamata",
|
|
||||||
"leave_button": "Torna ai recenti"
|
|
||||||
},
|
|
||||||
"local_volume_label": "Volume locale",
|
|
||||||
"logging_in": "Accesso…",
|
|
||||||
"login_auth_links": "<0>Crea un profilo</0> o <2>Accedi come ospite</2>",
|
|
||||||
"login_title": "Accedi",
|
|
||||||
"microphone_off": "Microfono spento",
|
|
||||||
"microphone_on": "Microfono acceso",
|
|
||||||
"mute_microphone_button_label": "Spegni il microfono",
|
|
||||||
"rageshake_button_error_caption": "Riprova l'invio dei registri",
|
|
||||||
"rageshake_request_modal": {
|
|
||||||
"body": "Un altro utente in questa chiamata sta avendo problemi. Per diagnosticare meglio questi problemi, vorremmo raccogliere un registro di debug.",
|
|
||||||
"title": "Richiesta registro di debug"
|
|
||||||
},
|
|
||||||
"rageshake_send_logs": "Invia registri di debug",
|
|
||||||
"rageshake_sending": "Invio…",
|
|
||||||
"rageshake_sending_logs": "Invio dei registri di debug…",
|
|
||||||
"rageshake_sent": "Grazie!",
|
|
||||||
"recaptcha_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>accordo di licenza con l'utente finale (EULA)</12>",
|
|
||||||
"recaptcha_dismissed": "Recaptcha annullato",
|
|
||||||
"recaptcha_not_loaded": "Recaptcha non caricato",
|
|
||||||
"register": {
|
|
||||||
"passwords_must_match": "Le password devono coincidere",
|
|
||||||
"registering": "Registrazione…"
|
|
||||||
},
|
|
||||||
"register_auth_links": "<0>Hai già un profilo?</0><1><0>Accedi</0> o <2>Accedi come ospite</2></1>",
|
|
||||||
"register_confirm_password_label": "Conferma password",
|
|
||||||
"return_home_button": "Torna alla schermata di iniziale",
|
|
||||||
"room_auth_view_eula_caption": "Cliccando \"Entra in chiamata ora\", accetti il nostro <2>accordo di licenza con l'utente finale (EULA)</2>",
|
|
||||||
"room_auth_view_join_button": "Entra in chiamata ora",
|
|
||||||
"screenshare_button_label": "Condividi schermo",
|
|
||||||
"select_input_unset_button": "Seleziona un'opzione",
|
|
||||||
"settings": {
|
|
||||||
"developer_settings_label": "Impostazioni per sviluppatori",
|
|
||||||
"developer_settings_label_description": "Mostra le impostazioni per sviluppatori nella finestra delle impostazioni.",
|
|
||||||
"developer_tab_title": "Sviluppatore",
|
|
||||||
"feedback_tab_body": "Se stai riscontrando problemi o semplicemente vuoi dare un'opinione, inviaci una breve descrizione qua sotto.",
|
|
||||||
"feedback_tab_description_label": "Il tuo commento",
|
|
||||||
"feedback_tab_h4": "Invia commento",
|
|
||||||
"feedback_tab_send_logs_label": "Includi registri di debug",
|
|
||||||
"feedback_tab_thank_you": "Grazie, abbiamo ricevuto il tuo commento!",
|
|
||||||
"more_tab_title": "Altro",
|
|
||||||
"opt_in_description": "<0></0><1></1>Puoi revocare il consenso deselezionando questa casella. Se attualmente sei in una chiamata, avrà effetto al termine di essa.",
|
|
||||||
"show_connection_stats_label": "Mostra statistiche connessione",
|
|
||||||
"speaker_device_selection_label": "Altoparlante"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} stelle",
|
|
||||||
"star_rating_input_label_other": "{{count}} stelle",
|
|
||||||
"start_new_call": "Inizia una nuova chiamata",
|
|
||||||
"start_video_button_label": "Avvia video",
|
|
||||||
"stop_screenshare_button_label": "Condivisione schermo",
|
|
||||||
"stop_video_button_label": "Ferma video",
|
|
||||||
"submitting": "Invio…",
|
|
||||||
"unauthenticated_view_body": "Non hai ancora un profilo? <2>Creane uno</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Cliccando \"Vai\", accetti il nostro <2>accordo di licenza con l'utente finale (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Accedi al tuo profilo",
|
|
||||||
"unmute_microphone_button_label": "Riaccendi il microfono",
|
|
||||||
"version": "Versione: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} sta presentando",
|
|
||||||
"sfu_participant_local": "Tu"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "In attesa di altri partecipanti…"
|
|
||||||
}
|
|
||||||
@@ -1,75 +1,84 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>既にアカウントをお持ちですか?</0><1><0>ログイン</0>または<2>ゲストとしてアクセス</2></1>",
|
||||||
"user_menu": "ユーザーメニュー"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>アカウントを作成</0>または<2>ゲストとしてアクセス</2>",
|
||||||
},
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>今すぐ通話に参加</0><1>または</1><2>通話リンクをコピーし、後で参加</2>",
|
||||||
"action": {
|
"<0>Oops, something's gone wrong.</0>": "<0>何かがうまく行きませんでした。</0>",
|
||||||
"close": "閉じる",
|
"Camera": "カメラ",
|
||||||
"copy": "コピー",
|
"Call link copied": "通話リンクをコピーしました",
|
||||||
"go": "続行",
|
"Avatar": "アバター",
|
||||||
"no": "いいえ",
|
"Audio": "音声",
|
||||||
"register": "登録",
|
"Confirm password": "パスワードを確認",
|
||||||
"remove": "削除",
|
"Close": "閉じる",
|
||||||
"sign_in": "サインイン",
|
"Change layout": "レイアウトを変更",
|
||||||
"sign_out": "サインアウト"
|
"Copied!": "コピーしました!",
|
||||||
},
|
"Copy and share this call link": "通話リンクをコピーし共有",
|
||||||
"call_ended_view": {
|
"Copy": "コピー",
|
||||||
"create_account_button": "アカウントを作成"
|
"Debug log": "デバッグログ",
|
||||||
},
|
"Create account": "アカウントを作成",
|
||||||
"common": {
|
"Go": "続行",
|
||||||
"audio": "音声",
|
"Fetching group call timed out.": "グループ通話の取得がタイムアウトしました。",
|
||||||
"avatar": "アバター",
|
"Element Call Home": "Element Call ホーム",
|
||||||
"camera": "カメラ",
|
"Download debug logs": "デバッグログをダウンロード",
|
||||||
"copied": "コピーしました!",
|
"Display name": "表示名",
|
||||||
"display_name": "表示名",
|
"Developer": "開発者",
|
||||||
"home": "ホーム",
|
"Details": "詳細",
|
||||||
"loading": "読み込んでいます…",
|
"Full screen": "全画面表示",
|
||||||
"microphone": "マイク",
|
"Exit full screen": "全画面表示を終了",
|
||||||
"password": "パスワード",
|
"Include debug logs": "デバッグログを含める",
|
||||||
"profile": "プロフィール",
|
"Home": "ホーム",
|
||||||
"settings": "設定",
|
"Incompatible versions!": "互換性のないバージョンです!",
|
||||||
"username": "ユーザー名",
|
"Incompatible versions": "互換性のないバージョン",
|
||||||
"video": "ビデオ"
|
"Join existing call?": "既存の通話に参加しますか?",
|
||||||
},
|
"Join call now": "今すぐ通話に参加",
|
||||||
"exit_fullscreen_button_label": "全画面表示を終了",
|
"Join call": "通話に参加",
|
||||||
"full_screen_view_h1": "<0>何かがうまく行きませんでした。</0>",
|
"Invite": "招待",
|
||||||
"fullscreen_button_label": "全画面表示",
|
"Invite people": "連絡先を招待",
|
||||||
"header_label": "Element Call ホーム",
|
"Not registered yet? <2>Create an account</2>": "アカウントがありませんか? <2>アカウントを作成</2>",
|
||||||
"join_existing_call_modal": {
|
"Mute microphone": "マイクをミュート",
|
||||||
"join_button": "はい、通話に参加",
|
"Microphone": "マイク",
|
||||||
"text": "この通話は既に存在します。参加しますか?",
|
"Login": "ログイン",
|
||||||
"title": "既存の通話に参加しますか?"
|
"Logging in…": "ログインしています…",
|
||||||
},
|
"Loading…": "読み込んでいます…",
|
||||||
"layout_spotlight_label": "スポットライト",
|
"Leave": "退出",
|
||||||
"lobby": {
|
"Version: {{version}}": "バージョン:{{version}}",
|
||||||
"join_button": "通話に参加"
|
"Username": "ユーザー名",
|
||||||
},
|
"User menu": "ユーザーメニュー",
|
||||||
"logging_in": "ログインしています…",
|
"Unmute microphone": "マイクのミュートを解除",
|
||||||
"login_auth_links": "<0>アカウントを作成</0>または<2>ゲストとしてアクセス</2>",
|
"Turn on camera": "カメラをつける",
|
||||||
"login_title": "ログイン",
|
"Turn off camera": "カメラを切る",
|
||||||
"rageshake_request_modal": {
|
"Submit feedback": "フィードバックを送信",
|
||||||
"title": "デバッグログを要求"
|
"Stop sharing screen": "画面共有を停止",
|
||||||
},
|
"Spotlight": "スポットライト",
|
||||||
"rageshake_send_logs": "デバッグログを送信",
|
"Send debug logs": "デバッグログを送信",
|
||||||
"rageshake_sending": "送信しています…",
|
"Sign out": "サインアウト",
|
||||||
"rageshake_sending_logs": "デバッグログを送信しています…",
|
"Sign in": "サインイン",
|
||||||
"register": {
|
"Share screen": "画面共有",
|
||||||
"passwords_must_match": "パスワードが一致する必要があります",
|
"Settings": "設定",
|
||||||
"registering": "登録しています…"
|
"Sending…": "送信しています…",
|
||||||
},
|
"Sending debug logs…": "デバッグログを送信しています…",
|
||||||
"register_auth_links": "<0>既にアカウントをお持ちですか?</0><1><0>ログイン</0>または<2>ゲストとしてアクセス</2></1>",
|
"Return to home screen": "ホーム画面に戻る",
|
||||||
"register_confirm_password_label": "パスワードを確認",
|
"Registering…": "登録しています…",
|
||||||
"return_home_button": "ホーム画面に戻る",
|
"Register": "登録",
|
||||||
"room_auth_view_join_button": "今すぐ通話に参加",
|
"Profile": "プロフィール",
|
||||||
"screenshare_button_label": "画面共有",
|
"Passwords must match": "パスワードが一致する必要があります",
|
||||||
"select_input_unset_button": "オプションを選択",
|
"Password": "パスワード",
|
||||||
"settings": {
|
"Speaker": "スピーカー",
|
||||||
"developer_tab_title": "開発者",
|
"Video call name": "ビデオ通話の名称",
|
||||||
"feedback_tab_h4": "フィードバックを送信",
|
"Video call": "ビデオ通話",
|
||||||
"feedback_tab_send_logs_label": "デバッグログを含める",
|
"Video": "ビデオ",
|
||||||
"speaker_device_selection_label": "スピーカー"
|
"Waiting for other participants…": "他の参加者を待機しています…",
|
||||||
},
|
"Walkie-talkie call name": "トランシーバー通話の名称",
|
||||||
"unauthenticated_view_body": "アカウントがありませんか? <2>アカウントを作成</2>",
|
"Walkie-talkie call": "トランシーバー通話",
|
||||||
"unauthenticated_view_login_button": "アカウントにログイン",
|
"Yes, join call": "はい、通話に参加",
|
||||||
"version": "バージョン:{{version}}",
|
"Select an option": "オプションを選択",
|
||||||
"waiting_for_participants": "他の参加者を待機しています…"
|
"Debug log request": "デバッグログを要求",
|
||||||
|
"Your recent calls": "最近の通話",
|
||||||
|
"WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。",
|
||||||
|
"Login to your account": "アカウントにログイン",
|
||||||
|
"Freedom": "自由",
|
||||||
|
"Remove": "削除",
|
||||||
|
"No": "いいえ",
|
||||||
|
"This call already exists, would you like to join?": "この通話は既に存在します。参加しますか?",
|
||||||
|
"Take me Home": "ホームに戻る",
|
||||||
|
"{{names}}, {{name}}": "{{names}}、{{name}}"
|
||||||
}
|
}
|
||||||
|
|||||||
5
public/locales/ko/app.json
Normal file
5
public/locales/ko/app.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "",
|
||||||
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "",
|
||||||
|
"{{names}}, {{name}}": "{{names}}님, {{name}}님"
|
||||||
|
}
|
||||||
@@ -1,110 +0,0 @@
|
|||||||
{
|
|
||||||
"a11y": {
|
|
||||||
"user_menu": "Lietotāja izvēlne"
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"close": "Aizvērt",
|
|
||||||
"copy": "Ievietot starpliktuvē",
|
|
||||||
"go": "Aiziet",
|
|
||||||
"no": "Nē",
|
|
||||||
"register": "Reģistrēties",
|
|
||||||
"remove": "Noņemt",
|
|
||||||
"sign_in": "Pieteikties",
|
|
||||||
"sign_out": "Atteikties",
|
|
||||||
"submit": "Iesniegt"
|
|
||||||
},
|
|
||||||
"analytics_notice": "Piedalīšanās šajā beta apliecina piekrišanu anonīmu datu ievākšanai, ko mēs izmantojam, lai uzlabotu izstrādājumu. Vairāk informācijas par datiem, ko mēs ievācam, var atrast mūsu <2>privātuma nosacījumos</2> un <5>sīkdatņu nosacījumos</5>.",
|
|
||||||
"call_ended_view": {
|
|
||||||
"body": "Tu tiki atvienots no zvana",
|
|
||||||
"create_account_button": "Izveidot kontu",
|
|
||||||
"create_account_prompt": "<0>Kādēļ nepabeigt ar paroles iestatīšanu, lai paturētu savu kontu?</0><1>Būs iespējams paturēt savu vārdu un iestatīt attēlu izmantošanai turpmākajos zvanos</1>",
|
|
||||||
"feedback_done": "<0>Paldies par atsauksmi!</0>",
|
|
||||||
"feedback_prompt": "<0>Mums patiktu saņemt Tavu atsauksmi, lai mēs varētu uzlabot Tavu pieredzi.</0>",
|
|
||||||
"headline": "{{displayName}}, Tavs zvans ir beidzies.",
|
|
||||||
"not_now_button": "Ne tagad, atgriezties sākuma ekrānā",
|
|
||||||
"reconnect_button": "Atkārtoti savienoties",
|
|
||||||
"survey_prompt": "Kā Tev veicās?"
|
|
||||||
},
|
|
||||||
"common": {
|
|
||||||
"audio": "Skaņa",
|
|
||||||
"avatar": "Attēls",
|
|
||||||
"camera": "Kamera",
|
|
||||||
"copied": "Ievietots starpliktuvē.",
|
|
||||||
"display_name": "Attēlojamais vārds",
|
|
||||||
"home": "Sākums",
|
|
||||||
"loading": "Lādējas…",
|
|
||||||
"microphone": "Mikrofons",
|
|
||||||
"password": "Parole",
|
|
||||||
"profile": "Profils",
|
|
||||||
"settings": "Iestatījumi",
|
|
||||||
"username": "Lietotājvārds"
|
|
||||||
},
|
|
||||||
"disconnected_banner": "Ir zaudēts savienojums ar serveri.",
|
|
||||||
"exit_fullscreen_button_label": "Iziet no pilnekrāna",
|
|
||||||
"full_screen_view_description": "<0>Atkļūdošanas žurnāla ierakstu iesūtīšana palīdzēs mums atklāt nepilnību.</0>",
|
|
||||||
"full_screen_view_h1": "<0>Ak vai, kaut kas nogāja greizi!</0>",
|
|
||||||
"fullscreen_button_label": "Pilnekrāns",
|
|
||||||
"header_label": "Element Call sākums",
|
|
||||||
"join_existing_call_modal": {
|
|
||||||
"join_button": "Jā, pievienoties zvanam",
|
|
||||||
"text": "Šis zvans jau pastāv. Vai vēlies pievienoties?",
|
|
||||||
"title": "Pievienoties esošam zvanam?"
|
|
||||||
},
|
|
||||||
"layout_spotlight_label": "Starmešu gaisma",
|
|
||||||
"lobby": {
|
|
||||||
"join_button": "Pievienoties zvanam"
|
|
||||||
},
|
|
||||||
"local_volume_label": "Vietējais skaļums",
|
|
||||||
"logging_in": "Piesakās…",
|
|
||||||
"login_auth_links": "<0>Izveidot kontu</0> vai <2>Piekļūt kā viesim</2>",
|
|
||||||
"login_title": "Pieteikties",
|
|
||||||
"rageshake_button_error_caption": "Atkārtoti mēģināt žurnāla ierakstu nosūtīšanu",
|
|
||||||
"rageshake_request_modal": {
|
|
||||||
"body": "Citam lietotājam šajā zvanā ir sarežģījumi. Lai labāk atklātu šīs nepilnības, mēs gribētu iegūt atkļūdošanas žurnālu.",
|
|
||||||
"title": "Atkļūdošanas žurnāla pieprasījums"
|
|
||||||
},
|
|
||||||
"rageshake_send_logs": "Nosūtīt atkļūdošanas žurnāla ierakstus",
|
|
||||||
"rageshake_sending": "Nosūta…",
|
|
||||||
"rageshake_sending_logs": "Nosūta atkļūdošanas žurnāla ierakstus…",
|
|
||||||
"rageshake_sent": "Paldies!",
|
|
||||||
"recaptcha_caption": "Šo vietni aizsargā ReCAPTCHA, un ir attiecināmi Google <2>privātuma nosacījumi</2> un <6>pakalpojuma noteikumi</6>.<9></9>Klikšķināšana uz \"Reģistrēties\" sniedz piekrišanu mūsu <12>galalietotāja licencēšanas nolīgumam (GLLN)</12>",
|
|
||||||
"recaptcha_dismissed": "ReCaptcha atmesta",
|
|
||||||
"recaptcha_not_loaded": "ReCaptcha nav ielādēta",
|
|
||||||
"register": {
|
|
||||||
"passwords_must_match": "Parolēm ir jāsakrīt",
|
|
||||||
"registering": "Reģistrē…"
|
|
||||||
},
|
|
||||||
"register_auth_links": "<0>Jau ir konts?</0><1><0>Pieteikties</0> vai <2>Piekļūt kā viesim</2></1>",
|
|
||||||
"register_confirm_password_label": "Apstiprināt paroli",
|
|
||||||
"return_home_button": "Atgriezties sākuma ekrānā",
|
|
||||||
"room_auth_view_eula_caption": "Klikšķināšana uz \"Pievienoties zvanam tagad\" apliecina piekrišanu mūsu <2>galalietotāja licencēšanas nolīgumam (GLLN)</2>",
|
|
||||||
"room_auth_view_join_button": "Pievienoties zvanam tagad",
|
|
||||||
"screenshare_button_label": "Kopīgot ekrānu",
|
|
||||||
"select_input_unset_button": "Atlasīt iespēju",
|
|
||||||
"settings": {
|
|
||||||
"developer_settings_label": "Izstrādātāja iestatījumi",
|
|
||||||
"developer_settings_label_description": "Izstādīt izstrādātāja iestatījumus iestatījumu logā.",
|
|
||||||
"developer_tab_title": "Izstrādātājs",
|
|
||||||
"feedback_tab_body": "Ja tiek piedzīvoti sarežģījumi vai vienkārši ir vēlme sniegt kādu atsauksmi, lūgums zemāk nosūtīt mums īsu aprakstu.",
|
|
||||||
"feedback_tab_description_label": "Tava atsauksme",
|
|
||||||
"feedback_tab_h4": "Iesniegt atsauksmi",
|
|
||||||
"feedback_tab_send_logs_label": "Iekļaut atkļūdošanas žurnāla ierakstus",
|
|
||||||
"feedback_tab_thank_you": "Paldies, mēs saņēmām atsauksmi!",
|
|
||||||
"feedback_tab_title": "Atsauksmes",
|
|
||||||
"more_tab_title": "Vairāk",
|
|
||||||
"opt_in_description": "<0></0><1></1>Savu piekrišanu var atsaukt ar atzīmes noņemšanu no šīs rūtiņas. Ja pašreiz atrodies zvanā, šis iestatījums stāsies spēkā zvana beigās.",
|
|
||||||
"show_connection_stats_label": "Rādīt savienojuma apkopojumu",
|
|
||||||
"speaker_device_selection_label": "Runātājs"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} zvaigzne",
|
|
||||||
"star_rating_input_label_other": "{{count}} zvaigznes",
|
|
||||||
"submitting": "Iesniedz…",
|
|
||||||
"unauthenticated_view_body": "Vēl neesi reģistrējies? <2>Izveidot kontu</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Klikšķināšana uz \"Aiziet\" apliecina piekrišanu mūsu <2>galalietotāja licencēšanas nolīgumam (GLLN)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Pieteikties kontā",
|
|
||||||
"version": "Versija: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} uzstājas"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Gaida citus dalībniekus…"
|
|
||||||
}
|
|
||||||
@@ -1,142 +1,116 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Login": "Zaloguj się",
|
||||||
"user_menu": "Menu użytkownika"
|
"Go": "Przejdź",
|
||||||
},
|
"Your recent calls": "Twoje ostatnie połączenia",
|
||||||
"action": {
|
"Yes, join call": "Tak, dołącz do połączenia",
|
||||||
"close": "Zamknij",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC jest niewspierane lub zablokowane w tej przeglądarce.",
|
||||||
"copy": "Kopiuj",
|
"Walkie-talkie call name": "Nazwa połączenia walkie-talkie",
|
||||||
"copy_link": "Kopiuj link",
|
"Walkie-talkie call": "Połączenie walkie-talkie",
|
||||||
"go": "Przejdź",
|
"Waiting for other participants…": "Oczekiwanie na pozostałych uczestników…",
|
||||||
"invite": "Zaproś",
|
"Video call name": "Nazwa połączenia wideo",
|
||||||
"no": "Nie",
|
"Video call": "Połączenie wideo",
|
||||||
"register": "Zarejestruj",
|
"Video": "Wideo",
|
||||||
"remove": "Usuń",
|
"Version: {{version}}": "Wersja: {{version}}",
|
||||||
"sign_in": "Zaloguj się",
|
"Username": "Nazwa użytkownika",
|
||||||
"sign_out": "Wyloguj się",
|
"User menu": "Menu użytkownika",
|
||||||
"submit": "Wyślij"
|
"Unmute microphone": "Wyłącz wyciszenie mikrofonu",
|
||||||
},
|
"Turn on camera": "Włącz kamerę",
|
||||||
"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>.",
|
"Turn off camera": "Wyłącz kamerę",
|
||||||
"app_selection_modal": {
|
"This call already exists, would you like to join?": "Te połączenie już istnieje, czy chcesz do niego dołączyć?",
|
||||||
"continue_in_browser": "Kontynuuj w przeglądarce",
|
"Thanks! We'll get right on it.": "Dziękujemy! Zaraz się tym zajmiemy.",
|
||||||
"open_in_app": "Otwórz w aplikacji",
|
"Take me Home": "Zabierz mnie do strony głównej",
|
||||||
"text": "Gotowy, by dołączyć?",
|
"Submit feedback": "Prześlij opinię",
|
||||||
"title": "Wybierz aplikację"
|
"Stop sharing screen": "Zatrzymaj udostępnianie ekranu",
|
||||||
},
|
"Spotlight": "Centrum uwagi",
|
||||||
"browser_media_e2ee_unsupported": "Twoja przeglądarka nie wspiera szyfrowania end-to-end. Wspierane przeglądarki to Chrome, Safari, Firefox >=117",
|
"Speaker": "Głośnik",
|
||||||
"call_ended_view": {
|
"Sign out": "Wyloguj się",
|
||||||
"body": "Rozłączono Cię z połączenia",
|
"Sign in": "Zaloguj się",
|
||||||
"create_account_button": "Utwórz konto",
|
"Show call inspector": "Pokaż inspektora połączenia",
|
||||||
"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>",
|
"Share screen": "Udostępnij ekran",
|
||||||
"feedback_done": "<0>Dziękujemy za Twoją opinię!</0>",
|
"Settings": "Ustawienia",
|
||||||
"feedback_prompt": "<0>Z przyjemnością wysłuchamy Twojej opinii, aby poprawić Twoje doświadczenia.</0>",
|
"Sending…": "Wysyłanie…",
|
||||||
"headline": "{{displayName}}, Twoje połączenie zostało zakończone.",
|
"Sending debug logs…": "Wysyłanie dzienników debugowania…",
|
||||||
"not_now_button": "Nie teraz, powróć do ekranu domowego",
|
"Send debug logs": "Wyślij dzienniki debugowania",
|
||||||
"reconnect_button": "Połącz ponownie",
|
"Select an option": "Wybierz opcję",
|
||||||
"survey_prompt": "Jak poszło?"
|
"Return to home screen": "Powróć do strony głównej",
|
||||||
},
|
"Remove": "Usuń",
|
||||||
"call_name": "Nazwa połączenia",
|
"Registering…": "Rejestrowanie…",
|
||||||
"common": {
|
"Register": "Zarejestruj",
|
||||||
"audio": "Dźwięk",
|
"Recaptcha not loaded": "Recaptcha nie została załadowana",
|
||||||
"avatar": "Awatar",
|
"Recaptcha dismissed": "Recaptcha odrzucona",
|
||||||
"camera": "Kamera",
|
"Profile": "Profil",
|
||||||
"copied": "Skopiowano!",
|
"Passwords must match": "Hasła muszą pasować",
|
||||||
"display_name": "Nazwa wyświetlana",
|
"Password": "Hasło",
|
||||||
"encrypted": "Szyfrowane",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Inni użytkownicy próbują dołączyć do tego połączenia przy użyciu niekompatybilnych wersji. Powinni oni upewnić się, że odświeżyli stronę w swoich przeglądarkach:<1>{userLis}</1>",
|
||||||
"home": "Strona domowa",
|
"Not registered yet? <2>Create an account</2>": "Nie masz konta? <2>Utwórz je</2>",
|
||||||
"loading": "Ładowanie…",
|
"Not now, return to home screen": "Nie teraz, powróć do ekranu domowego",
|
||||||
"microphone": "Mikrofon",
|
"No": "Nie",
|
||||||
"password": "Hasło",
|
"Mute microphone": "Wycisz mikrofon",
|
||||||
"profile": "Profil",
|
"More": "Więcej",
|
||||||
"settings": "Ustawienia",
|
"Microphone": "Mikrofon",
|
||||||
"unencrypted": "Nie szyfrowane",
|
"Login to your account": "Zaloguj się do swojego konta",
|
||||||
"username": "Nazwa użytkownika",
|
"Logging in…": "Logowanie…",
|
||||||
"video": "Wideo"
|
"Local volume": "Głośność lokalna",
|
||||||
},
|
"Loading…": "Ładowanie…",
|
||||||
"disconnected_banner": "Utracono połączenie z serwerem.",
|
"Leave": "Opuść",
|
||||||
"exit_fullscreen_button_label": "Opuść pełny ekran",
|
"Join existing call?": "Dołączyć do istniejącego połączenia?",
|
||||||
"full_screen_view_description": "<0>Wysłanie dzienników debuggowania pomoże nam ustalić przyczynę problemu.</0>",
|
"Join call now": "Dołącz do połączenia teraz",
|
||||||
"full_screen_view_h1": "<0>Ojej, coś poszło nie tak.</0>",
|
"Join call": "Dołącz do połączenia",
|
||||||
"fullscreen_button_label": "Pełny ekran",
|
"Invite people": "Zaproś ludzi",
|
||||||
"group_call_loader_failed_heading": "Nie znaleziono połączenia",
|
"Invite": "Zaproś",
|
||||||
"group_call_loader_failed_text": "Połączenia są teraz szyfrowane end-to-end i muszą zostać utworzone ze strony głównej. Pomaga to upewnić się, że każdy korzysta z tego samego klucza szyfrującego.",
|
"Inspector": "Inspektor",
|
||||||
"hangup_button_label": "Zakończ połączenie",
|
"Incompatible versions!": "Niekompatybilne wersje!",
|
||||||
"header_label": "Strona główna Element Call",
|
"Incompatible versions": "Niekompatybilne wersje",
|
||||||
"header_participants_label": "Uczestnicy",
|
"Include debug logs": "Dołącz dzienniki debugowania",
|
||||||
"invite_modal": {
|
"Home": "Strona domowa",
|
||||||
"link_copied_toast": "Skopiowano link do schowka",
|
"Grid layout menu": "Menu układu siatki",
|
||||||
"title": "Zaproś do połączenia"
|
"Full screen": "Pełny ekran",
|
||||||
},
|
"Freedom": "Wolność",
|
||||||
"join_existing_call_modal": {
|
"Fetching group call timed out.": "Przekroczono limit czasu na uzyskanie połączenia grupowego.",
|
||||||
"join_button": "Tak, dołącz do połączenia",
|
"Exit full screen": "Opuść pełny ekran",
|
||||||
"text": "Te połączenie już istnieje, czy chcesz do niego dołączyć?",
|
"Download debug logs": "Pobierz dzienniki debugowania",
|
||||||
"title": "Dołączyć do istniejącego połączenia?"
|
"Display name": "Nazwa wyświetlana",
|
||||||
},
|
"Developer": "Programista",
|
||||||
"layout_grid_label": "Siatka",
|
"Details": "Szczegóły",
|
||||||
"layout_spotlight_label": "Centrum uwagi",
|
"Debug log request": "Prośba o dzienniki debugowania",
|
||||||
"lobby": {
|
"Debug log": "Dzienniki debugowania",
|
||||||
"join_button": "Dołącz do połączenia",
|
"Create account": "Utwórz konto",
|
||||||
"leave_button": "Wróć do ostatnie"
|
"Copy and share this call link": "Skopiuj i udostępnij link do rozmowy",
|
||||||
},
|
"Copied!": "Skopiowano!",
|
||||||
"local_volume_label": "Głośność lokalna",
|
"Confirm password": "Potwierdź hasło",
|
||||||
"logging_in": "Logowanie…",
|
"Close": "Zamknij",
|
||||||
"login_auth_links": "<0>Utwórz konto</0> lub <2>Dołącz jako gość</2>",
|
"Change layout": "Zmień układ",
|
||||||
"login_title": "Zaloguj się",
|
"Camera": "Kamera",
|
||||||
"microphone_off": "Mikrofon wyłączony",
|
"Call type menu": "Menu typu połączenia",
|
||||||
"microphone_on": "Mikrofon włączony",
|
"Call link copied": "Skopiowano link do połączenia",
|
||||||
"mute_microphone_button_label": "Wycisz mikrofon",
|
"Avatar": "Awatar",
|
||||||
"rageshake_button_error_caption": "Wyślij logi ponownie",
|
"Audio": "Dźwięk",
|
||||||
"rageshake_request_modal": {
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Inny użytkownik w tym połączeniu napotkał problem. Aby lepiej zdiagnozować tę usterkę, chcielibyśmy zebrać dzienniki debugowania.",
|
||||||
"body": "Inny użytkownik w tym połączeniu napotkał problem. Aby lepiej zdiagnozować tę usterkę, chcielibyśmy zebrać dzienniki debugowania.",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<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>",
|
||||||
"title": "Prośba o dzienniki debugowania"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Utwórz konto</0> lub <2>Dołącz jako gość</2>",
|
||||||
},
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Masz już konto?</0><1><0>Zaloguj się</0> lub <2>Dołącz jako gość</2></1>",
|
||||||
"rageshake_send_logs": "Wyślij dzienniki debugowania",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"rageshake_sending": "Wysyłanie…",
|
"Copy": "Kopiuj",
|
||||||
"rageshake_sending_logs": "Wysyłanie dzienników debugowania…",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Wysłanie dzienników debuggowania pomoże nam ustalić przyczynę problemu.</0>",
|
||||||
"rageshake_sent": "Dziękujemy!",
|
"<0>Oops, something's gone wrong.</0>": "<0>Ojej, coś poszło nie tak.</0>",
|
||||||
"recaptcha_caption": "Ta witryna jest chroniona przez ReCAPTCHA, więc obowiązują <2>Polityka prywatności</2> i <6>Warunki usług</6> Google. Klikając \"Zarejestruj\", zgadzasz się na naszą <12>Umowę licencyjną (EULA)</12>",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Dołącz do rozmowy już teraz</0><1>lub</1><2>Skopiuj link do rozmowy i dołącz później</2>",
|
||||||
"recaptcha_dismissed": "Recaptcha odrzucona",
|
"Expose developer settings in the settings window.": "Wyświetl opcje programisty w oknie ustawień.",
|
||||||
"recaptcha_not_loaded": "Recaptcha nie została załadowana",
|
"Element Call Home": "Strona główna Element Call",
|
||||||
"register": {
|
"Developer Settings": "Opcje programisty",
|
||||||
"passwords_must_match": "Hasła muszą pasować",
|
"<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.": "<0></0><1></1>Możesz wycofać swoją zgodę poprzez odznaczenie tego pola. Jeśli już jesteś w trakcie rozmowy, opcja zostanie zastosowana po jej zakończeniu.",
|
||||||
"registering": "Rejestrowanie…"
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "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>.",
|
||||||
},
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Jeśli posiadasz problemy lub chciałbyś zgłosić swoją opinię, wyślij nam krótki opis.",
|
||||||
"register_auth_links": "<0>Masz już konto?</0><1><0>Zaloguj się</0> lub <2>Dołącz jako gość</2></1>",
|
"Thanks, we received your feedback!": "Dziękujemy, otrzymaliśmy Twoją opinię!",
|
||||||
"register_confirm_password_label": "Potwierdź hasło",
|
"Feedback": "Opinia użytkownika",
|
||||||
"return_home_button": "Powróć do strony głównej",
|
"Submitting…": "Wysyłanie…",
|
||||||
"room_auth_view_eula_caption": "Klikając \"Dołącz teraz do rozmowy\", zgadzasz się na naszą <2>Umowę licencyjną (EULA)</2>",
|
"Submit": "Wyślij",
|
||||||
"room_auth_view_join_button": "Dołącz do połączenia teraz",
|
"Your feedback": "Twoje opinie",
|
||||||
"screenshare_button_label": "Udostępnij ekran",
|
"{{count}} stars|other": "{{count}} gwiazdki",
|
||||||
"select_input_unset_button": "Wybierz opcję",
|
"{{count}} stars|one": "{{count}} gwiazdka",
|
||||||
"settings": {
|
"{{displayName}}, your call has ended.": "{{displayName}}, Twoje połączenie zostało zakończone.",
|
||||||
"developer_settings_label": "Opcje programisty",
|
"<0>Thanks for your feedback!</0>": "<0>Dziękujemy za Twoją opinię!</0>",
|
||||||
"developer_settings_label_description": "Wyświetl opcje programisty w oknie ustawień.",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Z przyjemnością wysłuchamy Twojej opinii, aby poprawić Twoje doświadczenia.</0>",
|
||||||
"developer_tab_title": "Programista",
|
"How did it go?": "Jak poszło?",
|
||||||
"feedback_tab_body": "Jeśli posiadasz problemy lub chciałbyś zgłosić swoją opinię, wyślij nam krótki opis.",
|
"{{displayName}} is presenting": "{{displayName}} prezentuje",
|
||||||
"feedback_tab_description_label": "Twoje opinie",
|
"Show connection stats": "Pokaż statystyki połączenia"
|
||||||
"feedback_tab_h4": "Prześlij opinię",
|
|
||||||
"feedback_tab_send_logs_label": "Dołącz dzienniki debugowania",
|
|
||||||
"feedback_tab_thank_you": "Dziękujemy, otrzymaliśmy Twoją opinię!",
|
|
||||||
"feedback_tab_title": "Opinia użytkownika",
|
|
||||||
"more_tab_title": "Więcej",
|
|
||||||
"opt_in_description": "<0></0><1></1>Możesz wycofać swoją zgodę poprzez odznaczenie tego pola. Jeśli już jesteś w trakcie rozmowy, opcja zostanie zastosowana po jej zakończeniu.",
|
|
||||||
"show_connection_stats_label": "Pokaż statystyki połączenia",
|
|
||||||
"speaker_device_selection_label": "Głośnik"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} gwiazdki",
|
|
||||||
"star_rating_input_label_other": "{{count}} gwiazdki",
|
|
||||||
"start_new_call": "Rozpocznij nowe połączenie",
|
|
||||||
"start_video_button_label": "Rozpocznij wideo",
|
|
||||||
"stop_screenshare_button_label": "Udostępnianie ekranu",
|
|
||||||
"stop_video_button_label": "Zakończ wideo",
|
|
||||||
"submitting": "Wysyłanie…",
|
|
||||||
"unauthenticated_view_body": "Nie masz konta? <2>Utwórz je</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Klikając \"Przejdź\", zgadzasz się na naszą <2>Umowę licencyjną (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Zaloguj się do swojego konta",
|
|
||||||
"unmute_microphone_button_label": "Odcisz mikrofon",
|
|
||||||
"version": "Wersja: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} prezentuje",
|
|
||||||
"sfu_participant_local": "Ty"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Oczekiwanie na pozostałych uczestników…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,103 +1,116 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Register": "Зарегистрироваться",
|
||||||
"user_menu": "Меню пользователя"
|
"Registering…": "Регистрация…",
|
||||||
},
|
"Logging in…": "Вход…",
|
||||||
"action": {
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"close": "Закрыть",
|
"Waiting for other participants…": "Ожидание других участников…",
|
||||||
"copy": "Копировать",
|
"This call already exists, would you like to join?": "Этот звонок уже существует, хотите присоединиться?",
|
||||||
"go": "Далее",
|
"Thanks! We'll get right on it.": "Спасибо! Мы учтём ваш отзыв.",
|
||||||
"no": "Нет",
|
"Submit feedback": "Отправить отзыв",
|
||||||
"register": "Зарегистрироваться",
|
"Sending debug logs…": "Отправка журнала отладки…",
|
||||||
"remove": "Удалить",
|
"Select an option": "Выберите вариант",
|
||||||
"sign_in": "Войти",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Другие пользователи пытаются присоединиться с неподдерживаемых версий программы. Этим участникам надо перезагрузить браузер: <1>{userLis}</1>",
|
||||||
"sign_out": "Выйти",
|
"Grid layout menu": "Меню \"Расположение сеткой\"",
|
||||||
"submit": "Отправить"
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Почему бы не задать пароль, тем самым сохранив аккаунт?</0><1>Так вы можете оставить своё имя и задать аватар для будущих звонков.</1>",
|
||||||
},
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Создать аккаунт</0> или <2>Зайти как гость</2>",
|
||||||
"analytics_notice": "Участвуя в этой бета-версии, вы соглашаетесь на сбор анонимных данных, которые мы используем для улучшения продукта. Более подробную информацию о том, какие данные мы отслеживаем, вы можете найти в нашей <2> Политике конфиденциальности</2> и нашей <5> Политике использования файлов cookie</5>.",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Уже есть аккаунт?</0><1><0>Войти с ним</0> или <2>Зайти как гость</2></1>",
|
||||||
"call_ended_view": {
|
"Your recent calls": "Ваши недавние звонки",
|
||||||
"create_account_button": "Создать аккаунт",
|
"Yes, join call": "Да, присоединиться",
|
||||||
"create_account_prompt": "<0>Почему бы не задать пароль, тем самым сохранив аккаунт?</0><1>Так вы можете оставить своё имя и задать аватар для будущих звонков.</1>",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC не поддерживается или заблокирован в этом браузере.",
|
||||||
"feedback_done": "<0>Спасибо за обратную связь!</0>",
|
"Walkie-talkie call name": "Название звонка-рации",
|
||||||
"feedback_prompt": "<0>Мы будем рады видеть ваши отзывы, чтобы мы могли улучшить ваш опыт.</0>",
|
"Walkie-talkie call": "Звонок-рация",
|
||||||
"headline": "{{displayName}}, ваш звонок окончен.",
|
"Video call name": "Название видео-звонка",
|
||||||
"not_now_button": "Не сейчас, вернуться в Начало",
|
"Video call": "Видео-звонок",
|
||||||
"survey_prompt": "Как всё прошло?"
|
"Video": "Видео",
|
||||||
},
|
"Version: {{version}}": "Версия: {{version}}",
|
||||||
"common": {
|
"Username": "Имя пользователя",
|
||||||
"audio": "Аудио",
|
"User menu": "Меню пользователя",
|
||||||
"avatar": "Аватар",
|
"Unmute microphone": "Включить микрофон",
|
||||||
"camera": "Камера",
|
"Turn on camera": "Включить камеру",
|
||||||
"copied": "Скопировано!",
|
"Turn off camera": "Отключить камеру",
|
||||||
"display_name": "Видимое имя",
|
"Take me Home": "Перейти в Начало",
|
||||||
"home": "Начало",
|
"Stop sharing screen": "Остановить показ экрана",
|
||||||
"loading": "Загрузка…",
|
"Spotlight": "Внимание",
|
||||||
"microphone": "Микрофон",
|
"Speaker": "Динамик",
|
||||||
"password": "Пароль",
|
"Sign out": "Выйти",
|
||||||
"profile": "Профиль",
|
"Sign in": "Войти",
|
||||||
"settings": "Настройки",
|
"Show call inspector": "Показать инспектор",
|
||||||
"username": "Имя пользователя",
|
"Share screen": "Поделиться экраном",
|
||||||
"video": "Видео"
|
"Settings": "Настройки",
|
||||||
},
|
"Sending…": "Отправка…",
|
||||||
"exit_fullscreen_button_label": "Выйти из полноэкранного режима",
|
"Local volume": "Местная громкость",
|
||||||
"full_screen_view_description": "<0>Отправка журналов поможет нам найти и устранить проблему.</0>",
|
"Call type menu": "Меню \"Тип звонка\"",
|
||||||
"full_screen_view_h1": "<0>Упс, что-то пошло не так.</0>",
|
"Include debug logs": "Приложить журнал отладки",
|
||||||
"fullscreen_button_label": "Полноэкранный режим",
|
"Download debug logs": "Скачать журнал отладки",
|
||||||
"header_label": "Главная Element Call",
|
"Debug log request": "Запрос журнала отладки",
|
||||||
"join_existing_call_modal": {
|
"Debug log": "Журнал отладки",
|
||||||
"join_button": "Да, присоединиться",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "У одного из участников звонка есть неполадки. Чтобы лучше диагностировать похожие проблемы, нам нужен журнал отладки.",
|
||||||
"text": "Этот звонок уже существует, хотите присоединиться?",
|
"Send debug logs": "Отправить журнал отладки",
|
||||||
"title": "Присоединиться к существующему звонку?"
|
"Return to home screen": "Вернуться в Начало",
|
||||||
},
|
"Remove": "Удалить",
|
||||||
"layout_spotlight_label": "Внимание",
|
"Recaptcha not loaded": "Невозможно начать проверку",
|
||||||
"lobby": {
|
"Recaptcha dismissed": "Проверка не пройдена",
|
||||||
"join_button": "Присоединиться"
|
"Profile": "Профиль",
|
||||||
},
|
"Passwords must match": "Пароли должны совпадать",
|
||||||
"local_volume_label": "Местная громкость",
|
"Password": "Пароль",
|
||||||
"logging_in": "Вход…",
|
"Not registered yet? <2>Create an account</2>": "Ещё не зарегистрированы? <2>Создайте аккаунт</2>",
|
||||||
"login_auth_links": "<0>Создать аккаунт</0> или <2>Зайти как гость</2>",
|
"Not now, return to home screen": "Не сейчас, вернуться в Начало",
|
||||||
"login_title": "Вход",
|
"No": "Нет",
|
||||||
"rageshake_request_modal": {
|
"Mute microphone": "Отключить микрофон",
|
||||||
"body": "У одного из участников звонка есть неполадки. Чтобы лучше диагностировать похожие проблемы, нам нужен журнал отладки.",
|
"More": "Больше",
|
||||||
"title": "Запрос журнала отладки"
|
"Microphone": "Микрофон",
|
||||||
},
|
"Login to your account": "Войдите в свой аккаунт",
|
||||||
"rageshake_send_logs": "Отправить журнал отладки",
|
"Login": "Вход",
|
||||||
"rageshake_sending": "Отправка…",
|
"Loading…": "Загрузка…",
|
||||||
"rageshake_sending_logs": "Отправка журнала отладки…",
|
"Leave": "Покинуть",
|
||||||
"recaptcha_dismissed": "Проверка не пройдена",
|
"Join existing call?": "Присоединиться к существующему звонку?",
|
||||||
"recaptcha_not_loaded": "Невозможно начать проверку",
|
"Join call now": "Присоединиться сейчас",
|
||||||
"register": {
|
"Join call": "Присоединиться",
|
||||||
"passwords_must_match": "Пароли должны совпадать",
|
"Invite people": "Пригласить участников",
|
||||||
"registering": "Регистрация…"
|
"Invite": "Пригласить",
|
||||||
},
|
"Inspector": "Инспектор",
|
||||||
"register_auth_links": "<0>Уже есть аккаунт?</0><1><0>Войти с ним</0> или <2>Зайти как гость</2></1>",
|
"Incompatible versions!": "Несовместимые версии!",
|
||||||
"register_confirm_password_label": "Подтвердите пароль",
|
"Incompatible versions": "Несовместимые версии",
|
||||||
"return_home_button": "Вернуться в Начало",
|
"Home": "Начало",
|
||||||
"room_auth_view_join_button": "Присоединиться сейчас",
|
"Go": "Далее",
|
||||||
"screenshare_button_label": "Поделиться экраном",
|
"Full screen": "Полноэкранный режим",
|
||||||
"select_input_unset_button": "Выберите вариант",
|
"Freedom": "Свобода",
|
||||||
"settings": {
|
"Fetching group call timed out.": "Истекло время ожидания для группового звонка.",
|
||||||
"developer_settings_label": "Настройки Разработчика",
|
"Exit full screen": "Выйти из полноэкранного режима",
|
||||||
"developer_settings_label_description": "Раскрыть настройки разработчика в окне настроек.",
|
"Display name": "Видимое имя",
|
||||||
"developer_tab_title": "Разработчику",
|
"Developer": "Разработчику",
|
||||||
"feedback_tab_body": "Если у вас возникли проблемы или вы просто хотите оставить отзыв, отправьте нам краткое описание ниже.",
|
"Details": "Подробности",
|
||||||
"feedback_tab_description_label": "Ваш отзыв",
|
"Create account": "Создать аккаунт",
|
||||||
"feedback_tab_h4": "Отправить отзыв",
|
"Copy and share this call link": "Скопируйте и поделитесь этой ссылкой на звонок",
|
||||||
"feedback_tab_send_logs_label": "Приложить журнал отладки",
|
"Copied!": "Скопировано!",
|
||||||
"feedback_tab_thank_you": "Спасибо. Мы получили ваш отзыв!",
|
"Confirm password": "Подтвердите пароль",
|
||||||
"feedback_tab_title": "Отзыв",
|
"Close": "Закрыть",
|
||||||
"more_tab_title": "Больше",
|
"Change layout": "Изменить расположение",
|
||||||
"opt_in_description": "<0></0><1></1>Вы можете отозвать согласие, сняв этот флажок. Если вы в данный момент находитесь в разговоре, эта настройка вступит в силу по окончании разговора.",
|
"Camera": "Камера",
|
||||||
"show_connection_stats_label": "Показать статистику соединения",
|
"Call link copied": "Ссылка на звонок скопирована",
|
||||||
"speaker_device_selection_label": "Динамик"
|
"Avatar": "Аватар",
|
||||||
},
|
"Audio": "Аудио",
|
||||||
"star_rating_input_label_one": "{{count}} отмечен",
|
"Element Call Home": "Главная Element Call",
|
||||||
"star_rating_input_label_other": "{{count}} отмеченных",
|
"Copy": "Копировать",
|
||||||
"submitting": "Отправляем…",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Присоединиться сейчас</0><1>или<1><2>Скопировать ссылку и присоединиться позже</2>",
|
||||||
"unauthenticated_view_body": "Ещё не зарегистрированы? <2>Создайте аккаунт</2>",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Отправка журналов поможет нам найти и устранить проблему.</0>",
|
||||||
"unauthenticated_view_login_button": "Войдите в свой аккаунт",
|
"<0>Oops, something's gone wrong.</0>": "<0>Упс, что-то пошло не так.</0>",
|
||||||
"version": "Версия: {{version}}",
|
"Expose developer settings in the settings window.": "Раскрыть настройки разработчика в окне настроек.",
|
||||||
"video_tile": {
|
"Developer Settings": "Настройки Разработчика",
|
||||||
"presenter_label": "{{displayName}} представляет"
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Участвуя в этой бета-версии, вы соглашаетесь на сбор анонимных данных, которые мы используем для улучшения продукта. Более подробную информацию о том, какие данные мы отслеживаем, вы можете найти в нашей <2> Политике конфиденциальности</2> и нашей <5> Политике использования файлов cookie</5>.",
|
||||||
},
|
"<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.": "<0></0><1></1>Вы можете отозвать согласие, сняв этот флажок. Если вы в данный момент находитесь в разговоре, эта настройка вступит в силу по окончании разговора.",
|
||||||
"waiting_for_participants": "Ожидание других участников…"
|
"{{displayName}} is presenting": "{{displayName}} представляет",
|
||||||
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Мы будем рады видеть ваши отзывы, чтобы мы могли улучшить ваш опыт.</0>",
|
||||||
|
"Thanks, we received your feedback!": "Спасибо. Мы получили ваш отзыв!",
|
||||||
|
"Feedback": "Отзыв",
|
||||||
|
"Submit": "Отправить",
|
||||||
|
"Submitting…": "Отправляем…",
|
||||||
|
"{{count}} stars|one": "{{count}} отмечен",
|
||||||
|
"{{count}} stars|other": "{{count}} отмеченных",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, ваш звонок окончен.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Спасибо за обратную связь!</0>",
|
||||||
|
"Your feedback": "Ваш отзыв",
|
||||||
|
"How did it go?": "Как всё прошло?",
|
||||||
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Если у вас возникли проблемы или вы просто хотите оставить отзыв, отправьте нам краткое описание ниже.",
|
||||||
|
"Show connection stats": "Показать статистику соединения"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,140 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Spotlight": "Stredobod",
|
||||||
"user_menu": "Používateľské menu"
|
"Local volume": "Lokálna hlasitosť",
|
||||||
},
|
"Include debug logs": "Zahrnúť záznamy o ladení",
|
||||||
"action": {
|
"Fetching group call timed out.": "Vypršal čas načítania skupinového volania.",
|
||||||
"close": "Zatvoriť",
|
"Element Call Home": "Domov Element Call",
|
||||||
"copy": "Kopírovať",
|
"Waiting for other participants…": "Čaká sa na ďalších účastníkov…",
|
||||||
"copy_link": "Kopírovať odkaz",
|
"Thanks! We'll get right on it.": "Vďaka! Hneď sa do toho pustíme.",
|
||||||
"go": "Prejsť",
|
"Take me Home": "Zober ma domov",
|
||||||
"invite": "Pozvať",
|
"Submit feedback": "Odoslať spätnú väzbu",
|
||||||
"no": "Nie",
|
"Stop sharing screen": "Zastaviť zdieľanie obrazovky",
|
||||||
"register": "Registrovať sa",
|
"Show call inspector": "Zobraziť inšpektora hovorov",
|
||||||
"remove": "Odstrániť",
|
"Share screen": "Zdieľať obrazovku",
|
||||||
"sign_in": "Prihlásiť sa",
|
"Sending…": "Odosielanie…",
|
||||||
"sign_out": "Odhlásiť sa",
|
"Sending debug logs…": "Odosielanie záznamov o ladení…",
|
||||||
"submit": "Odoslať"
|
"Send debug logs": "Odoslať záznamy o ladení",
|
||||||
},
|
"Select an option": "Vyberte možnosť",
|
||||||
"analytics_notice": "Účasťou v tejto beta verzii súhlasíte so zhromažďovaním anonymných údajov, ktoré použijeme na zlepšenie produktu. Viac informácií o tom, ktoré údaje sledujeme, nájdete v našich <2>Zásadách ochrany osobných údajov</2> a <5>Zásadách používania súborov cookie</5>.",
|
"Return to home screen": "Návrat na domovskú obrazovku",
|
||||||
"app_selection_modal": {
|
"Remove": "Odstrániť",
|
||||||
"continue_in_browser": "Pokračovať v prehliadači",
|
"Registering…": "Registrácia…",
|
||||||
"open_in_app": "Otvoriť v aplikácii",
|
"Register": "Registrovať sa",
|
||||||
"text": "Ste pripravení sa pridať?",
|
"Recaptcha not loaded": "Recaptcha sa nenačítala",
|
||||||
"title": "Vybrať aplikáciu"
|
"Recaptcha dismissed": "Recaptcha zamietnutá",
|
||||||
},
|
"Profile": "Profil",
|
||||||
"browser_media_e2ee_unsupported": "Váš webový prehliadač nepodporuje end-to-end šifrovanie médií. Podporované prehliadače sú Chrome, Safari, Firefox >=117",
|
"Passwords must match": "Heslá sa musia zhodovať",
|
||||||
"call_ended_view": {
|
"Password": "Heslo",
|
||||||
"body": "Boli ste odpojení z hovoru",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Ostatní používatelia sa pokúšajú pripojiť k tomuto hovoru z nekompatibilných verzií. Títo používatelia by sa mali uistiť, že si obnovili svoje prehliadače:<1>{userLis}</1>",
|
||||||
"create_account_button": "Vytvoriť účet",
|
"Not registered yet? <2>Create an account</2>": "Ešte nie ste zaregistrovaný? <2>Vytvorte si účet</2>",
|
||||||
"create_account_prompt": "<0>Prečo neskončiť nastavením hesla, aby ste si zachovali svoj účet? </0><1>Budete si môcť ponechať svoje meno a nastaviť obrázok, ktorý sa bude používať pri budúcich hovoroch</1>",
|
"Not now, return to home screen": "Teraz nie, vrátiť sa na domovskú obrazovku",
|
||||||
"feedback_done": "<0> Ďakujeme za vašu spätnú väzbu!</0>",
|
"No": "Nie",
|
||||||
"feedback_prompt": "<0> Radi si vypočujeme vašu spätnú väzbu, aby sme mohli zlepšiť vaše skúsenosti.</0>",
|
"Mute microphone": "Stlmiť mikrofón",
|
||||||
"headline": "{{displayName}}, váš hovor skončil.",
|
"More": "Viac",
|
||||||
"not_now_button": "Teraz nie, vrátiť sa na domovskú obrazovku",
|
"Microphone": "Mikrofón",
|
||||||
"reconnect_button": "Znovu pripojiť",
|
"Login to your account": "Prihláste sa do svojho konta",
|
||||||
"survey_prompt": "Ako to išlo?"
|
"Login": "Prihlásiť sa",
|
||||||
},
|
"Logging in…": "Prihlasovanie…",
|
||||||
"call_name": "Názov hovoru",
|
"Loading…": "Načítanie…",
|
||||||
"common": {
|
"Leave": "Opustiť",
|
||||||
"avatar": "Obrázok",
|
"Join existing call?": "Pripojiť sa k existujúcemu hovoru?",
|
||||||
"camera": "Kamera",
|
"Join call now": "Pripojiť sa k hovoru teraz",
|
||||||
"copied": "Skopírované!",
|
"Join call": "Pripojiť sa k hovoru",
|
||||||
"display_name": "Zobrazované meno",
|
"Invite people": "Pozvať ľudí",
|
||||||
"encrypted": "Šifrované",
|
"Invite": "Pozvať",
|
||||||
"home": "Domov",
|
"Inspector": "Inšpektor",
|
||||||
"loading": "Načítanie…",
|
"Incompatible versions!": "Nekompatibilné verzie!",
|
||||||
"microphone": "Mikrofón",
|
"Incompatible versions": "Nekompatibilné verzie",
|
||||||
"password": "Heslo",
|
"Home": "Domov",
|
||||||
"profile": "Profil",
|
"Grid layout menu": "Ponuka rozloženia mriežky",
|
||||||
"settings": "Nastavenia",
|
"Go": "Prejsť",
|
||||||
"unencrypted": "Nie je zašifrované",
|
"Full screen": "Zobrazenie na celú obrazovku",
|
||||||
"username": "Meno používateľa"
|
"Freedom": "Sloboda",
|
||||||
},
|
"Exit full screen": "Ukončiť zobrazenie na celú obrazovku",
|
||||||
"disconnected_banner": "Spojenie so serverom sa stratilo.",
|
"Download debug logs": "Stiahnuť záznamy ladenia",
|
||||||
"exit_fullscreen_button_label": "Ukončiť zobrazenie na celú obrazovku",
|
"Your recent calls": "Vaše nedávne hovory",
|
||||||
"full_screen_view_description": "<0>Odoslanie záznamov ladenia nám pomôže nájsť problém.</0>",
|
"Yes, join call": "Áno, pripojiť sa k hovoru",
|
||||||
"full_screen_view_h1": "<0>Hups, niečo sa pokazilo.</0>",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC nie je podporované alebo je v tomto prehliadači blokované.",
|
||||||
"fullscreen_button_label": "Zobrazenie na celú obrazovku",
|
"Walkie-talkie call name": "Názov vysielačkového hovoru",
|
||||||
"group_call_loader_failed_heading": "Hovor nebol nájdený",
|
"Walkie-talkie call": "Vysielačkový hovor",
|
||||||
"group_call_loader_failed_text": "Hovory sú teraz end-to-end šifrované a je potrebné ich vytvoriť z domovskej stránky. To pomáha zabezpečiť, aby všetci používali rovnaký šifrovací kľúč.",
|
"Video call name": "Názov video hovoru",
|
||||||
"hangup_button_label": "Ukončiť hovor",
|
"Video call": "Video hovor",
|
||||||
"header_label": "Domov Element Call",
|
"Video": "Video",
|
||||||
"header_participants_label": "Účastníci",
|
"Version: {{version}}": "Verzia: {{version}}",
|
||||||
"invite_modal": {
|
"Username": "Meno používateľa",
|
||||||
"link_copied_toast": "Odkaz skopírovaný do schránky",
|
"User menu": "Používateľské menu",
|
||||||
"title": "Pozvať na tento hovor"
|
"Unmute microphone": "Zrušiť stlmenie mikrofónu",
|
||||||
},
|
"Turn on camera": "Zapnúť kameru",
|
||||||
"join_existing_call_modal": {
|
"Turn off camera": "Vypnúť kameru",
|
||||||
"join_button": "Áno, pripojiť sa k hovoru",
|
"This call already exists, would you like to join?": "Tento hovor už existuje, chceli by ste sa k nemu pripojiť?",
|
||||||
"text": "Tento hovor už existuje, chceli by ste sa k nemu pripojiť?",
|
"Speaker": "Reproduktor",
|
||||||
"title": "Pripojiť sa k existujúcemu hovoru?"
|
"Sign out": "Odhlásiť sa",
|
||||||
},
|
"Sign in": "Prihlásiť sa",
|
||||||
"layout_grid_label": "Sieť",
|
"Settings": "Nastavenia",
|
||||||
"layout_spotlight_label": "Stredobod",
|
"Display name": "Zobrazované meno",
|
||||||
"lobby": {
|
"Developer": "Vývojár",
|
||||||
"join_button": "Pripojiť sa k hovoru",
|
"Details": "Podrobnosti",
|
||||||
"leave_button": "Späť k nedávnym"
|
"Debug log request": "Žiadosť o záznam ladenia",
|
||||||
},
|
"Debug log": "Záznam o ladení",
|
||||||
"local_volume_label": "Lokálna hlasitosť",
|
"Create account": "Vytvoriť účet",
|
||||||
"logging_in": "Prihlasovanie…",
|
"Copy and share this call link": "Skopírovať a zdieľať tento odkaz na hovor",
|
||||||
"login_auth_links": "<0>Vytvoriť konto</0> Alebo <2>Prihlásiť sa ako hosť</2>",
|
"Copy": "Kopírovať",
|
||||||
"login_title": "Prihlásiť sa",
|
"Copied!": "Skopírované!",
|
||||||
"microphone_off": "Mikrofón vypnutý",
|
"Confirm password": "Potvrdiť heslo",
|
||||||
"microphone_on": "Mikrofón zapnutý",
|
"Close": "Zatvoriť",
|
||||||
"mute_microphone_button_label": "Stlmiť mikrofón",
|
"Change layout": "Zmeniť rozloženie",
|
||||||
"rageshake_button_error_caption": "Opakovať odoslanie záznamov",
|
"Camera": "Kamera",
|
||||||
"rageshake_request_modal": {
|
"Call type menu": "Ponuka typu hovoru",
|
||||||
"body": "Ďalší používateľ v tomto hovore má problém. Aby sme mohli lepšie diagnostikovať tieto problémy, chceli by sme získať záznam o ladení.",
|
"Call link copied": "Odkaz na hovor skopírovaný",
|
||||||
"title": "Žiadosť o záznam ladenia"
|
"Avatar": "Obrázok",
|
||||||
},
|
"Audio": "Audio",
|
||||||
"rageshake_send_logs": "Odoslať záznamy o ladení",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Ďalší používateľ v tomto hovore má problém. Aby sme mohli lepšie diagnostikovať tieto problémy, chceli by sme získať záznam o ladení.",
|
||||||
"rageshake_sending": "Odosielanie…",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Prečo neskončiť nastavením hesla, aby ste si zachovali svoj účet? </0><1>Budete si môcť ponechať svoje meno a nastaviť obrázok, ktorý sa bude používať pri budúcich hovoroch</1>",
|
||||||
"rageshake_sending_logs": "Odosielanie záznamov o ladení…",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Pripojiť sa k hovoru teraz</0><1>alebo</1><2>Kopírovať odkaz na hovor a pripojiť sa neskôr</2>",
|
||||||
"rageshake_sent": "Ďakujeme!",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Vytvoriť konto</0> Alebo <2>Prihlásiť sa ako hosť</2>",
|
||||||
"recaptcha_caption": "Táto stránka je chránená systémom ReCAPTCHA a platia na ňu <2>Pravidlá ochrany osobných údajov spoločnosti Google</2> a <6>Podmienky poskytovania služieb</6>.<9></9>Kliknutím na tlačidlo \"Registrovať sa\" súhlasíte s našou <12>Licenčnou zmluvou s koncovým používateľom (EULA)</12>",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Už máte konto?</0><1><0>Prihláste sa</0> Alebo <2>Prihlásiť sa ako hosť</2></1>",
|
||||||
"recaptcha_dismissed": "Recaptcha zamietnutá",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"recaptcha_not_loaded": "Recaptcha sa nenačítala",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Odoslanie záznamov ladenia nám pomôže nájsť problém.</0>",
|
||||||
"register": {
|
"<0>Oops, something's gone wrong.</0>": "<0>Hups, niečo sa pokazilo.</0>",
|
||||||
"passwords_must_match": "Heslá sa musia zhodovať",
|
"Expose developer settings in the settings window.": "Zobraziť nastavenia pre vývojárov v okne nastavení.",
|
||||||
"registering": "Registrácia…"
|
"Developer Settings": "Nastavenia pre vývojárov",
|
||||||
},
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Účasťou v tejto beta verzii súhlasíte so zhromažďovaním anonymných údajov, ktoré použijeme na zlepšenie produktu. Viac informácií o tom, ktoré údaje sledujeme, nájdete v našich <2>Zásadách ochrany osobných údajov</2> a <5>Zásadách používania súborov cookie</5>.",
|
||||||
"register_auth_links": "<0>Už máte konto?</0><1><0>Prihláste sa</0> Alebo <2>Prihlásiť sa ako hosť</2></1>",
|
"<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.": "<0></0><1></1>Súhlas môžete odvolať zrušením označenia tohto políčka. Ak práve prebieha hovor, toto nastavenie nadobudne platnosť po skončení hovoru.",
|
||||||
"register_confirm_password_label": "Potvrdiť heslo",
|
"Your feedback": "Vaša spätná väzba",
|
||||||
"return_home_button": "Návrat na domovskú obrazovku",
|
"Thanks, we received your feedback!": "Ďakujeme, dostali sme vašu spätnú väzbu!",
|
||||||
"room_auth_view_eula_caption": "Kliknutím na \"Pripojiť sa k hovoru teraz\" súhlasíte s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)</2>",
|
"Submitting…": "Odosielanie…",
|
||||||
"room_auth_view_join_button": "Pripojiť sa k hovoru teraz",
|
"Submit": "Odoslať",
|
||||||
"screenshare_button_label": "Zdieľať obrazovku",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Ak máte problémy alebo jednoducho chcete poskytnúť spätnú väzbu, pošlite nám krátky popis nižšie.",
|
||||||
"select_input_unset_button": "Vyberte možnosť",
|
"Feedback": "Spätná väzba",
|
||||||
"settings": {
|
"{{count}} stars|one": "{{count}} hviezdička",
|
||||||
"developer_settings_label": "Nastavenia pre vývojárov",
|
"How did it go?": "Ako to išlo?",
|
||||||
"developer_settings_label_description": "Zobraziť nastavenia pre vývojárov v okne nastavení.",
|
"{{count}} stars|other": "{{count}} hviezdičiek",
|
||||||
"developer_tab_title": "Vývojár",
|
"{{displayName}}, your call has ended.": "{{displayName}}, váš hovor skončil.",
|
||||||
"feedback_tab_body": "Ak máte problémy alebo jednoducho chcete poskytnúť spätnú väzbu, pošlite nám krátky popis nižšie.",
|
"<0>Thanks for your feedback!</0>": "<0> Ďakujeme za vašu spätnú väzbu!</0>",
|
||||||
"feedback_tab_description_label": "Vaša spätná väzba",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0> Radi si vypočujeme vašu spätnú väzbu, aby sme mohli zlepšiť vaše skúsenosti.</0>",
|
||||||
"feedback_tab_h4": "Odoslať spätnú väzbu",
|
"{{displayName}} is presenting": "{{displayName}} prezentuje",
|
||||||
"feedback_tab_send_logs_label": "Zahrnúť záznamy o ladení",
|
"Show connection stats": "Zobraziť štatistiky pripojenia",
|
||||||
"feedback_tab_thank_you": "Ďakujeme, dostali sme vašu spätnú väzbu!",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Kliknutím na \"Pripojiť sa k hovoru teraz\" súhlasíte s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)</2>",
|
||||||
"feedback_tab_title": "Spätná väzba",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Kliknutím na tlačidlo \"Prejsť\" vyjadrujete súhlas s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)</2>",
|
||||||
"more_tab_title": "Viac",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Táto stránka je chránená systémom ReCAPTCHA a platia na ňu <2>Pravidlá ochrany osobných údajov spoločnosti Google</2> a <6>Podmienky poskytovania služieb</6>.<9></9>Kliknutím na tlačidlo \"Registrovať sa\" súhlasíte s našou <12>Licenčnou zmluvou s koncovým používateľom (EULA)</12>",
|
||||||
"opt_in_description": "<0></0><1></1>Súhlas môžete odvolať zrušením označenia tohto políčka. Ak práve prebieha hovor, toto nastavenie nadobudne platnosť po skončení hovoru.",
|
"Element Call is temporarily not encrypted while we test scalability.": "Element Call nie je dočasne šifrovaný, kým testujeme škálovateľnosť."
|
||||||
"show_connection_stats_label": "Zobraziť štatistiky pripojenia",
|
|
||||||
"speaker_device_selection_label": "Reproduktor"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} hviezdička",
|
|
||||||
"star_rating_input_label_other": "{{count}} hviezdičiek",
|
|
||||||
"start_new_call": "Spustiť nový hovor",
|
|
||||||
"start_video_button_label": "Spustiť video",
|
|
||||||
"stop_screenshare_button_label": "Zdieľanie obrazovky",
|
|
||||||
"stop_video_button_label": "Zastaviť video",
|
|
||||||
"submitting": "Odosielanie…",
|
|
||||||
"unauthenticated_view_body": "Ešte nie ste zaregistrovaný? <2>Vytvorte si účet</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Kliknutím na tlačidlo \"Prejsť\" vyjadrujete súhlas s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Prihláste sa do svojho konta",
|
|
||||||
"unmute_microphone_button_label": "Zrušiť stlmenie mikrofónu",
|
|
||||||
"version": "Verzia: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} prezentuje",
|
|
||||||
"sfu_participant_local": "Vy"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Čaká sa na ďalších účastníkov…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"call_ended_view": {
|
|
||||||
"headline": "{{displayName}}, ditt samtal har avslutats."
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} stjärna",
|
|
||||||
"star_rating_input_label_other": "{{count}} stjärnor",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} presenterar"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,66 +1,73 @@
|
|||||||
{
|
{
|
||||||
"action": {
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Hesabınızı tutmak için niye bir parola açmıyorsunuz?</0><1>Böylece ileriki aramalarda adınızı ve avatarınızı kullanabileceksiniz</1>",
|
||||||
"close": "Kapat",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Bu aramadaki başka bir kullanıcı sorun yaşıyor. Sorunu daha iyi çözebilmemiz için hata ayıklama kütüğünü almak isteriz.",
|
||||||
"go": "Git",
|
"Audio": "Ses",
|
||||||
"no": "Hayır",
|
"Avatar": "Avatar",
|
||||||
"register": "Kaydol",
|
"Call link copied": "Arama bağlantısı kopyalandı",
|
||||||
"remove": "Çıkar",
|
"Call type menu": "Arama tipi menüsü",
|
||||||
"sign_in": "Gir",
|
"Camera": "Kamera",
|
||||||
"sign_out": "Çık"
|
"Change layout": "Yerleşimi değiştir",
|
||||||
},
|
"Close": "Kapat",
|
||||||
"call_ended_view": {
|
"Confirm password": "Parolayı tekrar edin",
|
||||||
"create_account_button": "Hesap aç",
|
"Copied!": "Kopyalandı",
|
||||||
"create_account_prompt": "<0>Hesabınızı tutmak için niye bir parola açmıyorsunuz?</0><1>Böylece ileriki aramalarda adınızı ve avatarınızı kullanabileceksiniz</1>",
|
"Copy and share this call link": "Arama bağlantısını kopyala ve paylaş",
|
||||||
"not_now_button": "Şimdi değil, ev ekranına dön"
|
"Create account": "Hesap aç",
|
||||||
},
|
"Debug log": "Hata ayıklama kütüğü",
|
||||||
"common": {
|
"Debug log request": "Hata ayıklama kütük istemi",
|
||||||
"audio": "Ses",
|
"Details": "Ayrıntı",
|
||||||
"camera": "Kamera",
|
"Developer": "Geliştirici",
|
||||||
"copied": "Kopyalandı",
|
"Display name": "Ekran adı",
|
||||||
"display_name": "Ekran adı",
|
"Download debug logs": "Hata ayıklama kütüğünü indir",
|
||||||
"home": "Ev",
|
"Exit full screen": "Tam ekranı terk et",
|
||||||
"loading": "Yükleniyor…",
|
"Fetching group call timed out.": "Grup çağrısı zaman aşımına uğradı.",
|
||||||
"microphone": "Mikrofon",
|
"Freedom": "Özgürlük",
|
||||||
"password": "Parola",
|
"Full screen": "Tam ekran",
|
||||||
"settings": "Ayarlar"
|
"Go": "Git",
|
||||||
},
|
"Grid layout menu": "Izgara plan menü",
|
||||||
"exit_fullscreen_button_label": "Tam ekranı terk et",
|
"Home": "Ev",
|
||||||
"fullscreen_button_label": "Tam ekran",
|
"Include debug logs": "Hata ayıklama kütüğünü dahil et",
|
||||||
"join_existing_call_modal": {
|
"Incompatible versions": "Uyumsuz sürümler",
|
||||||
"text": "Bu arama zaten var, katılmak ister misiniz?",
|
"Incompatible versions!": "Sürüm uyumsuz!",
|
||||||
"title": "Mevcut aramaya katıl?"
|
"Inspector": "Denetçi",
|
||||||
},
|
"Invite people": "Kişileri davet et",
|
||||||
"lobby": {
|
"Join call": "Aramaya katıl",
|
||||||
"join_button": "Aramaya katıl"
|
"Join call now": "Aramaya katıl",
|
||||||
},
|
"Join existing call?": "Mevcut aramaya katıl?",
|
||||||
"local_volume_label": "Yerel ses seviyesi",
|
"Leave": "Çık",
|
||||||
"logging_in": "Giriliyor…",
|
"Loading…": "Yükleniyor…",
|
||||||
"login_auth_links": "<0>Hesap oluştur</0> yahut <2>Konuk olarak gir</2>",
|
"Local volume": "Yerel ses seviyesi",
|
||||||
"login_title": "Gir",
|
"Logging in…": "Giriliyor…",
|
||||||
"rageshake_request_modal": {
|
"Login": "Gir",
|
||||||
"body": "Bu aramadaki başka bir kullanıcı sorun yaşıyor. Sorunu daha iyi çözebilmemiz için hata ayıklama kütüğünü almak isteriz.",
|
"Login to your account": "Hesabınıza girin",
|
||||||
"title": "Hata ayıklama kütük istemi"
|
"Microphone": "Mikrofon",
|
||||||
},
|
"More": "Daha",
|
||||||
"rageshake_send_logs": "Hata ayıklama kütüğünü gönder",
|
"Mute microphone": "Mikrofonu kapat",
|
||||||
"rageshake_sending": "Gönderiliyor…",
|
"No": "Hayır",
|
||||||
"recaptcha_dismissed": "reCAPTCHA atlandı",
|
"Not now, return to home screen": "Şimdi değil, ev ekranına dön",
|
||||||
"recaptcha_not_loaded": "reCAPTCHA yüklenmedi",
|
"Not registered yet? <2>Create an account</2>": "Kaydolmadınız mı? <2>Hesap açın</2>",
|
||||||
"register": {
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Başka kullanıcılar uyumsuz sürümden katılmaya çalışıyorlar. <1>{userLis}</1> tarayıcılarını mutlaka tazelemeliler.",
|
||||||
"passwords_must_match": "Parolalar aynı olmalı",
|
"Password": "Parola",
|
||||||
"registering": "Kaydediyor…"
|
"Passwords must match": "Parolalar aynı olmalı",
|
||||||
},
|
"Recaptcha dismissed": "reCAPTCHA atlandı",
|
||||||
"register_auth_links": "<0>Mevcut hesabınız mı var?</0><1><0>Gir</0> yahut <2>Konuk girişi</2></1>",
|
"Recaptcha not loaded": "reCAPTCHA yüklenmedi",
|
||||||
"register_confirm_password_label": "Parolayı tekrar edin",
|
"Register": "Kaydol",
|
||||||
"return_home_button": "Ev ekranına geri dön",
|
"Registering…": "Kaydediyor…",
|
||||||
"room_auth_view_join_button": "Aramaya katıl",
|
"Remove": "Çıkar",
|
||||||
"screenshare_button_label": "Ekran paylaş",
|
"Return to home screen": "Ev ekranına geri dön",
|
||||||
"select_input_unset_button": "Bir seçenek seç",
|
"Select an option": "Bir seçenek seç",
|
||||||
"settings": {
|
"Send debug logs": "Hata ayıklama kütüğünü gönder",
|
||||||
"developer_tab_title": "Geliştirici",
|
"Sending…": "Gönderiliyor…",
|
||||||
"feedback_tab_h4": "Geri bildirim ver",
|
"Settings": "Ayarlar",
|
||||||
"feedback_tab_send_logs_label": "Hata ayıklama kütüğünü dahil et",
|
"Share screen": "Ekran paylaş",
|
||||||
"more_tab_title": "Daha"
|
"Show call inspector": "Arama denetçisini göster",
|
||||||
},
|
"Sign in": "Gir",
|
||||||
"unauthenticated_view_body": "Kaydolmadınız mı? <2>Hesap açın</2>",
|
"Sign out": "Çık",
|
||||||
"unauthenticated_view_login_button": "Hesabınıza girin"
|
"Stop sharing screen": "Ekran paylaşmayı terk et",
|
||||||
|
"Submit feedback": "Geri bildirim ver",
|
||||||
|
"Take me Home": "Ev ekranına gir",
|
||||||
|
"Thanks! We'll get right on it.": "Sağol! Bununla ilgileneceğiz.",
|
||||||
|
"This call already exists, would you like to join?": "Bu arama zaten var, katılmak ister misiniz?",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Hesap oluştur</0> yahut <2>Konuk olarak gir</2>",
|
||||||
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Mevcut hesabınız mı var?</0><1><0>Gir</0> yahut <2>Konuk girişi</2></1>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,142 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Loading…": "Завантаження…",
|
||||||
"user_menu": "Меню користувача"
|
"Your recent calls": "Ваші недавні виклики",
|
||||||
},
|
"Yes, join call": "Так, приєднатися до виклику",
|
||||||
"action": {
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC не підтримується або блокується в цьому браузері.",
|
||||||
"close": "Закрити",
|
"Walkie-talkie call name": "Назва виклику-рації",
|
||||||
"copy": "Копіювати",
|
"Walkie-talkie call": "Виклик-рація",
|
||||||
"copy_link": "Скопіювати посилання",
|
"Waiting for other participants…": "Очікування на інших учасників…",
|
||||||
"go": "Далі",
|
"Video call name": "Назва відеовиклику",
|
||||||
"invite": "Запросити",
|
"Video call": "Відеовиклик",
|
||||||
"no": "Ні",
|
"Video": "Відео",
|
||||||
"register": "Зареєструватися",
|
"Version: {{version}}": "Версія: {{version}}",
|
||||||
"remove": "Вилучити",
|
"Username": "Ім'я користувача",
|
||||||
"sign_in": "Увійти",
|
"User menu": "Меню користувача",
|
||||||
"sign_out": "Вийти",
|
"Unmute microphone": "Увімкнути мікрофон",
|
||||||
"submit": "Надіслати"
|
"Turn on camera": "Увімкнути камеру",
|
||||||
},
|
"Turn off camera": "Вимкнути камеру",
|
||||||
"analytics_notice": "Користуючись дочасним доступом, ви даєте згоду на збір анонімних даних, які ми використовуємо для вдосконалення продукту. Ви можете знайти більше інформації про те, які дані ми відстежуємо в нашій <2>Політиці Приватності</2> і нашій <5>Політиці про куки</5>.",
|
"This call already exists, would you like to join?": "Цей виклик уже існує, бажаєте приєднатися?",
|
||||||
"app_selection_modal": {
|
"Thanks! We'll get right on it.": "Дякуємо! Ми зараз же візьмемося за це.",
|
||||||
"continue_in_browser": "Продовжити у браузері",
|
"Take me Home": "Перейти до Домівки",
|
||||||
"open_in_app": "Відкрити у застосунку",
|
"Submit feedback": "Надіслати відгук",
|
||||||
"text": "Готові приєднатися?",
|
"Stop sharing screen": "Припинити показ екрана",
|
||||||
"title": "Вибрати застосунок"
|
"Spotlight": "У центрі уваги",
|
||||||
},
|
"Speaker": "Динамік",
|
||||||
"browser_media_e2ee_unsupported": "Ваш браузер не підтримує наскрізне шифрування мультимедійних даних. Підтримувані браузери: Chrome, Safari, Firefox >=117",
|
"Sign out": "Вийти",
|
||||||
"call_ended_view": {
|
"Sign in": "Увійти",
|
||||||
"body": "Вас від'єднано від виклику",
|
"Show call inspector": "Показати інспектора виклику",
|
||||||
"create_account_button": "Створити обліковий запис",
|
"Share screen": "Поділитися екраном",
|
||||||
"create_account_prompt": "<0>Чому б не завершити, налаштувавши пароль для збереження свого облікового запису?</0><1>Ви зможете зберегти своє ім'я та встановити аватарку для подальшого користування під час майбутніх викликів</1>",
|
"Settings": "Налаштування",
|
||||||
"feedback_done": "<0>Дякуємо за ваш відгук!</0>",
|
"Sending…": "Надсилання…",
|
||||||
"feedback_prompt": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>",
|
"Sending debug logs…": "Надсилання журналу налагодження…",
|
||||||
"headline": "{{displayName}}, ваш виклик завершено.",
|
"Send debug logs": "Надіслати журнал налагодження",
|
||||||
"not_now_button": "Не зараз, повернутися на екран домівки",
|
"Select an option": "Вибрати опцію",
|
||||||
"reconnect_button": "Під'єднати повторно",
|
"Return to home screen": "Повернутися на екран домівки",
|
||||||
"survey_prompt": "Вам усе сподобалось?"
|
"Remove": "Вилучити",
|
||||||
},
|
"Registering…": "Реєстрація…",
|
||||||
"call_name": "Назва виклику",
|
"Register": "Зареєструватися",
|
||||||
"common": {
|
"Recaptcha not loaded": "Recaptcha не завантажено",
|
||||||
"audio": "Звук",
|
"Recaptcha dismissed": "Recaptcha не пройдено",
|
||||||
"avatar": "Аватар",
|
"Profile": "Профіль",
|
||||||
"camera": "Камера",
|
"Passwords must match": "Паролі відрізняються",
|
||||||
"copied": "Скопійовано!",
|
"Password": "Пароль",
|
||||||
"display_name": "Псевдонім",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "Інші користувачі намагаються приєднатися до цього виклику з несумісних версій. Ці користувачі повинні переконатися, що вони оновили сторінки своїх браузерів:<1>{userLis}</1>",
|
||||||
"encrypted": "Зашифровано",
|
"Not registered yet? <2>Create an account</2>": "Ще не зареєстровані? <2>Створіть обліковий запис</2>",
|
||||||
"home": "Домівка",
|
"Not now, return to home screen": "Не зараз, повернутися на екран домівки",
|
||||||
"loading": "Завантаження…",
|
"No": "Ні",
|
||||||
"microphone": "Мікрофон",
|
"Mute microphone": "Заглушити мікрофон",
|
||||||
"password": "Пароль",
|
"More": "Докладніше",
|
||||||
"profile": "Профіль",
|
"Microphone": "Мікрофон",
|
||||||
"settings": "Налаштування",
|
"Login to your account": "Увійдіть до свого облікового запису",
|
||||||
"unencrypted": "Не зашифровано",
|
"Login": "Увійти",
|
||||||
"username": "Ім'я користувача",
|
"Logging in…": "Вхід…",
|
||||||
"video": "Відео"
|
"Local volume": "Локальна гучність",
|
||||||
},
|
"Leave": "Вийти",
|
||||||
"disconnected_banner": "Втрачено зв'язок з сервером.",
|
"Join existing call?": "Приєднатися до наявного виклику?",
|
||||||
"exit_fullscreen_button_label": "Вийти з повноекранного режиму",
|
"Join call now": "Приєднатися до виклику зараз",
|
||||||
"full_screen_view_description": "<0>Надсилання журналів налагодження допоможе нам виявити проблему.</0>",
|
"Join call": "Приєднатися до виклику",
|
||||||
"full_screen_view_h1": "<0>Йой, щось пішло не за планом.</0>",
|
"Invite people": "Запросити людей",
|
||||||
"fullscreen_button_label": "Повноекранний режим",
|
"Invite": "Запросити",
|
||||||
"group_call_loader_failed_heading": "Виклик не знайдено",
|
"Inspector": "Інспектор",
|
||||||
"group_call_loader_failed_text": "Відтепер виклики захищено наскрізним шифруванням, і їх потрібно створювати з домашньої сторінки. Це допомагає переконатися, що всі користувачі використовують один і той самий ключ шифрування.",
|
"Incompatible versions!": "Несумісні версії!",
|
||||||
"hangup_button_label": "Завершити виклик",
|
"Incompatible versions": "Несумісні версії",
|
||||||
"header_label": "Домівка Element Call",
|
"Include debug logs": "Долучити журнали налагодження",
|
||||||
"header_participants_label": "Учасники",
|
"Home": "Домівка",
|
||||||
"invite_modal": {
|
"Grid layout menu": "Меню у вигляді сітки",
|
||||||
"link_copied_toast": "Посилання скопійовано до буфера обміну",
|
"Go": "Далі",
|
||||||
"title": "Запросити до цього виклику"
|
"Full screen": "Повноекранний режим",
|
||||||
},
|
"Freedom": "Свобода",
|
||||||
"join_existing_call_modal": {
|
"Fetching group call timed out.": "Вичерпано час очікування групового виклику.",
|
||||||
"join_button": "Так, приєднатися до виклику",
|
"Exit full screen": "Вийти з повноекранного режиму",
|
||||||
"text": "Цей виклик уже існує, бажаєте приєднатися?",
|
"Download debug logs": "Завантажити журнали налагодження",
|
||||||
"title": "Приєднатися до наявного виклику?"
|
"Display name": "Показуване ім'я",
|
||||||
},
|
"Developer": "Розробнику",
|
||||||
"layout_grid_label": "Сітка",
|
"Details": "Подробиці",
|
||||||
"layout_spotlight_label": "У центрі уваги",
|
"Debug log request": "Запит журналу налагодження",
|
||||||
"lobby": {
|
"Debug log": "Журнал налагодження",
|
||||||
"join_button": "Приєднатися до виклику",
|
"Create account": "Створити обліковий запис",
|
||||||
"leave_button": "Повернутися до недавніх"
|
"Copy and share this call link": "Скопіювати та поділитися цим посиланням на виклик",
|
||||||
},
|
"Copied!": "Скопійовано!",
|
||||||
"local_volume_label": "Локальна гучність",
|
"Confirm password": "Підтвердити пароль",
|
||||||
"logging_in": "Вхід…",
|
"Close": "Закрити",
|
||||||
"login_auth_links": "<0>Створити обліковий запис</0> або <2>Отримати доступ як гість</2>",
|
"Change layout": "Змінити макет",
|
||||||
"login_title": "Увійти",
|
"Camera": "Камера",
|
||||||
"microphone_off": "Мікрофон вимкнено",
|
"Call type menu": "Меню типу виклику",
|
||||||
"microphone_on": "Мікрофон увімкнено",
|
"Call link copied": "Посилання на виклик скопійовано",
|
||||||
"mute_microphone_button_label": "Вимкнути мікрофон",
|
"Avatar": "Аватар",
|
||||||
"rageshake_button_error_caption": "Повторити надсилання журналів",
|
"Audio": "Звук",
|
||||||
"rageshake_request_modal": {
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Інший користувач у цьому виклику має проблему. Щоб краще визначити ці проблеми, ми хотіли б зібрати журнал налагодження.",
|
||||||
"body": "Інший користувач у цьому виклику має проблему. Щоб краще визначити ці проблеми, ми хотіли б зібрати журнал налагодження.",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Чому б не завершити, налаштувавши пароль для збереження свого облікового запису?</0><1>Ви зможете зберегти своє ім'я та встановити аватарку для подальшого користування під час майбутніх викликів</1>",
|
||||||
"title": "Запит журналу налагодження"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Створити обліковий запис</0> або <2>Отримати доступ як гість</2>",
|
||||||
},
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Уже маєте обліковий запис?</0><1><0>Увійти</0> Or <2>Отримати доступ як гість</2></1>",
|
||||||
"rageshake_send_logs": "Надіслати журнал налагодження",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"rageshake_sending": "Надсилання…",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Приєднатися до виклику зараз</0><1>Or</1><2>Скопіювати посилання на виклик і приєднатися пізніше</2>",
|
||||||
"rageshake_sending_logs": "Надсилання журналу налагодження…",
|
"Element Call Home": "Домівка Element Call",
|
||||||
"rageshake_sent": "Дякуємо!",
|
"Copy": "Копіювати",
|
||||||
"recaptcha_caption": "Цей сайт захищений ReCAPTCHA і до нього застосовується <2>Політика приватності</2> і <6>Умови надання послуг</6> Google.<9></9>Натискаючи \"Зареєструватися\", ви погоджуєтеся з нашою <12>Ліцензійною угодою з кінцевим користувачем (EULA)</12>",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Надсилання журналів налагодження допоможе нам виявити проблему.</0>",
|
||||||
"recaptcha_dismissed": "Recaptcha не пройдено",
|
"<0>Oops, something's gone wrong.</0>": "<0>Йой, щось пішло не за планом.</0>",
|
||||||
"recaptcha_not_loaded": "Recaptcha не завантажено",
|
"Expose developer settings in the settings window.": "Відкрийте налаштування розробника у вікні налаштувань.",
|
||||||
"register": {
|
"Developer Settings": "Налаштування розробника",
|
||||||
"passwords_must_match": "Паролі відрізняються",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "Користуючись дочасним доступом, ви даєте згоду на збір анонімних даних, які ми використовуємо для вдосконалення продукту. Ви можете знайти більше інформації про те, які дані ми відстежуємо в нашій <2>Політиці Приватності</2> і нашій <5>Політиці про куки</5>.",
|
||||||
"registering": "Реєстрація…"
|
"<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.": "<0></0><1></1>Ви можете відкликати згоду, прибравши цей прапорець. Якщо ви зараз розмовляєте, це налаштування застосується після завершення виклику.",
|
||||||
},
|
"Your feedback": "Ваш відгук",
|
||||||
"register_auth_links": "<0>Уже маєте обліковий запис?</0><1><0>Увійти</0> Or <2>Отримати доступ як гість</2></1>",
|
"Thanks, we received your feedback!": "Дякуємо, ми отримали ваш відгук!",
|
||||||
"register_confirm_password_label": "Підтвердити пароль",
|
"Submitting…": "Надсилання…",
|
||||||
"return_home_button": "Повернутися на екран домівки",
|
"Submit": "Надіслати",
|
||||||
"room_auth_view_eula_caption": "Натискаючи \"Приєднатися до виклику зараз\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Якщо у вас виникли проблеми або ви просто хочете залишити відгук, надішліть нам короткий опис нижче.",
|
||||||
"room_auth_view_join_button": "Приєднатися до виклику зараз",
|
"Feedback": "Відгук",
|
||||||
"screenshare_button_label": "Поділитися екраном",
|
"<0>Thanks for your feedback!</0>": "<0>Дякуємо за ваш відгук!</0>",
|
||||||
"select_input_unset_button": "Вибрати опцію",
|
"{{count}} stars|one": "{{count}} зірка",
|
||||||
"settings": {
|
"{{count}} stars|other": "{{count}} зірок",
|
||||||
"developer_settings_label": "Налаштування розробника",
|
"{{displayName}}, your call has ended.": "{{displayName}}, ваш виклик завершено.",
|
||||||
"developer_settings_label_description": "Відкрийте налаштування розробника у вікні налаштувань.",
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>",
|
||||||
"developer_tab_title": "Розробнику",
|
"How did it go?": "Вам усе сподобалось?",
|
||||||
"feedback_tab_body": "Якщо у вас виникли проблеми або ви просто хочете залишити відгук, надішліть нам короткий опис нижче.",
|
"{{displayName}} is presenting": "{{displayName}} представляє",
|
||||||
"feedback_tab_description_label": "Ваш відгук",
|
"Show connection stats": "Показати стан з'єднання",
|
||||||
"feedback_tab_h4": "Надіслати відгук",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Натискаючи \"Далі\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
||||||
"feedback_tab_send_logs_label": "Долучити журнали налагодження",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "Натискаючи \"Приєднатися до виклику зараз\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
||||||
"feedback_tab_thank_you": "Дякуємо, ми отримали ваш відгук!",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "Цей сайт захищений ReCAPTCHA і до нього застосовується <2>Політика приватності</2> і <6>Умови надання послуг</6> Google.<9></9>Натискаючи \"Зареєструватися\", ви погоджуєтеся з нашою <12>Ліцензійною угодою з кінцевим користувачем (EULA)</12>",
|
||||||
"feedback_tab_title": "Відгук",
|
"Element Call is temporarily not encrypted while we test scalability.": "Element Call тимчасово не шифрується, поки ми тестуємо масштабованість."
|
||||||
"more_tab_title": "Докладніше",
|
|
||||||
"opt_in_description": "<0></0><1></1>Ви можете відкликати згоду, прибравши цей прапорець. Якщо ви зараз розмовляєте, це налаштування застосується після завершення виклику.",
|
|
||||||
"show_connection_stats_label": "Показати стан з'єднання",
|
|
||||||
"speaker_device_selection_label": "Динамік"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} зірок",
|
|
||||||
"star_rating_input_label_other": "{{count}} зірок",
|
|
||||||
"start_new_call": "Розпочати новий виклик",
|
|
||||||
"start_video_button_label": "Розпочати відео",
|
|
||||||
"stop_screenshare_button_label": "Презентація екрана",
|
|
||||||
"stop_video_button_label": "Зупинити відео",
|
|
||||||
"submitting": "Надсилання…",
|
|
||||||
"unauthenticated_view_body": "Ще не зареєстровані? <2>Створіть обліковий запис</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "Натискаючи \"Далі\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "Увійдіть до свого облікового запису",
|
|
||||||
"unmute_microphone_button_label": "Увімкнути мікрофон",
|
|
||||||
"version": "Версія: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} представляє",
|
|
||||||
"sfu_participant_local": "Ви"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "Очікування на інших учасників…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,80 +1,86 @@
|
|||||||
{
|
{
|
||||||
"action": {
|
"Login": "Đăng nhập",
|
||||||
"close": "Đóng",
|
"Join call": "Tham gia cuộc gọi",
|
||||||
"copy": "Sao chép",
|
"Mute microphone": "Tắt micrô",
|
||||||
"no": "Không",
|
"Password": "Mật khẩu",
|
||||||
"register": "Đăng ký",
|
"Settings": "Cài đặt",
|
||||||
"sign_in": "Đăng nhập",
|
"Sending…": "Đang gửi…",
|
||||||
"sign_out": "Đăng xuất",
|
"Sign in": "Đăng nhập",
|
||||||
"submit": "Gửi"
|
"Submit": "Gửi",
|
||||||
},
|
"Video call name": "Tên cuộc gọi truyền hình",
|
||||||
"call_ended_view": {
|
"Video call": "Gọi truyền hình",
|
||||||
"create_account_button": "Tạo tài khoản",
|
"Video": "Truyền hình",
|
||||||
"create_account_prompt": "<0>Tại sao lại không hoàn thiện bằng cách đặt mật khẩu để giữ tài khoản của bạn?</0><1>Bạn sẽ có thể giữ tên và đặt ảnh đại diện cho những cuộc gọi tiếp theo.</1>",
|
"Username": "Tên người dùng",
|
||||||
"feedback_done": "<0>Cảm hơn vì đã phản hồi!</0>",
|
"Yes, join call": "Vâng, tham gia cuộc gọi",
|
||||||
"feedback_prompt": "<0>Chúng tôi muốn nghe phản hồi của bạn để còn cải thiện trải nghiệm cho bạn.</0>",
|
"Your feedback": "Phản hồi của bạn",
|
||||||
"headline": "{{displayName}}, cuộc gọi đã kết thúc."
|
"Your recent calls": "Cuộc gọi gần đây",
|
||||||
},
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC không được hỗ trợ hay bị chặn trong trình duyệt này.",
|
||||||
"common": {
|
"Waiting for other participants…": "Đang đợi những người khác…",
|
||||||
"audio": "Âm thanh",
|
"Version: {{version}}": "Phiên bản: {{version}}",
|
||||||
"avatar": "Ảnh đại diện",
|
"Turn on camera": "Bật máy quay",
|
||||||
"camera": "Máy quay",
|
"Turn off camera": "Tắt máy quay",
|
||||||
"copied": "Đã sao chép!",
|
"Submit feedback": "Gửi phản hồi",
|
||||||
"display_name": "Tên hiển thị",
|
"Stop sharing screen": "Ngừng chia sẻ màn hình",
|
||||||
"loading": "Đang tải…",
|
"Speaker": "Loa",
|
||||||
"microphone": "Micrô",
|
"Sign out": "Đăng xuất",
|
||||||
"password": "Mật khẩu",
|
"Share screen": "Chia sẻ màn hình",
|
||||||
"profile": "Hồ sơ",
|
"No": "Không",
|
||||||
"settings": "Cài đặt",
|
"Invite people": "Mời mọi người",
|
||||||
"username": "Tên người dùng",
|
"Join call now": "Tham gia cuộc gọi",
|
||||||
"video": "Truyền hình"
|
"Create account": "Tạo tài khoản",
|
||||||
},
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"exit_fullscreen_button_label": "Rời chế độ toàn màn hình",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Tạo tài khoản</0> Hay <2>Tham gia dưới tên khác</2>",
|
||||||
"full_screen_view_description": "<0>Gửi nhật ký gỡ lỗi sẽ giúp chúng tôi theo dõi vấn đề.</0>",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Tham gia cuộc gọi</0><1>hay</1><2>Sao chép liên kết cuộc gọi và tham gia sau</2>",
|
||||||
"full_screen_view_h1": "<0>Ối, có cái gì đó sai.</0>",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Gửi nhật ký gỡ lỗi sẽ giúp chúng tôi theo dõi vấn đề.</0>",
|
||||||
"fullscreen_button_label": "Toàn màn hình",
|
"Avatar": "Ảnh đại diện",
|
||||||
"join_existing_call_modal": {
|
"Audio": "Âm thanh",
|
||||||
"join_button": "Vâng, tham gia cuộc gọi",
|
"Camera": "Máy quay",
|
||||||
"text": "Cuộc gọi đã tồn tại, bạn có muốn tham gia không?",
|
"Call link copied": "Đã sao chép liên kết cuộc gọi",
|
||||||
"title": "Tham gia cuộc gọi?"
|
"Copied!": "Đã sao chép!",
|
||||||
},
|
"Confirm password": "Xác nhận mật khẩu",
|
||||||
"layout_spotlight_label": "Tiêu điểm",
|
"Close": "Đóng",
|
||||||
"lobby": {
|
"Change layout": "Thay đổi bố cục",
|
||||||
"join_button": "Tham gia cuộc gọi"
|
"Debug log": "Nhật ký gỡ lỗi",
|
||||||
},
|
"Copy": "Sao chép",
|
||||||
"logging_in": "Đang đăng nhập…",
|
"Copy and share this call link": "Sao chép và chia sẻ liên kết cuộc gọi này",
|
||||||
"login_auth_links": "<0>Tạo tài khoản</0> Hay <2>Tham gia dưới tên khác</2>",
|
"Display name": "Tên hiển thị",
|
||||||
"login_title": "Đăng nhập",
|
"Developer Settings": "Cài đặt phát triển",
|
||||||
"rageshake_request_modal": {
|
"Developer": "Nhà phát triển",
|
||||||
"body": "Một người dùng khác trong cuộc gọi đang gặp vấn đề. Để có thể chẩn đoán tốt hơn chúng tôi muốn thu thập nhật ký gỡ lỗi.",
|
"Details": "Chi tiết",
|
||||||
"title": "Yêu cầu nhật ký gỡ lỗi"
|
"Download debug logs": "Tải xuống nhật ký gỡ lỗi",
|
||||||
},
|
"Feedback": "Phản hồi",
|
||||||
"rageshake_sending": "Đang gửi…",
|
"Full screen": "Toàn màn hình",
|
||||||
"recaptcha_not_loaded": "Chưa tải được Recaptcha",
|
"Incompatible versions!": "Phiên bản không tương thích!",
|
||||||
"register": {
|
"Incompatible versions": "Phiên bản không tương thích",
|
||||||
"passwords_must_match": "Mật khẩu phải khớp",
|
"Include debug logs": "Kèm theo nhật ký gỡ lỗi",
|
||||||
"registering": "Đang đăng ký…"
|
"Invite": "Mời",
|
||||||
},
|
"Join existing call?": "Tham gia cuộc gọi?",
|
||||||
"register_auth_links": "<0>Đã có tài khoản?</0><1><0>Đăng nhập</0> Hay <2>Tham gia dưới tên Khách</2></1>",
|
"Leave": "Rời",
|
||||||
"register_confirm_password_label": "Xác nhận mật khẩu",
|
"Loading…": "Đang tải…",
|
||||||
"room_auth_view_join_button": "Tham gia cuộc gọi",
|
"Logging in…": "Đang đăng nhập…",
|
||||||
"screenshare_button_label": "Chia sẻ màn hình",
|
"Login to your account": "Đăng nhập vào tài khoản của bạn",
|
||||||
"settings": {
|
"Microphone": "Micrô",
|
||||||
"developer_settings_label": "Cài đặt phát triển",
|
"Not registered yet? <2>Create an account</2>": "Chưa đăng ký? <2>Tạo tài khoản</2>",
|
||||||
"developer_tab_title": "Nhà phát triển",
|
"Passwords must match": "Mật khẩu phải khớp",
|
||||||
"feedback_tab_description_label": "Phản hồi của bạn",
|
"Register": "Đăng ký",
|
||||||
"feedback_tab_h4": "Gửi phản hồi",
|
"Spotlight": "Tiêu điểm",
|
||||||
"feedback_tab_send_logs_label": "Kèm theo nhật ký gỡ lỗi",
|
"Submitting…": "Đang gửi…",
|
||||||
"feedback_tab_thank_you": "Cảm ơn, chúng tôi đã nhận được phản hồi!",
|
"Thanks, we received your feedback!": "Cảm ơn, chúng tôi đã nhận được phản hồi!",
|
||||||
"feedback_tab_title": "Phản hồi",
|
"Walkie-talkie call": "Cuộc gọi thoại",
|
||||||
"speaker_device_selection_label": "Loa"
|
"Walkie-talkie call name": "Tên cuộc gọi thoại",
|
||||||
},
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Đã có tài khoản?</0><1><0>Đăng nhập</0> Hay <2>Tham gia dưới tên Khách</2></1>",
|
||||||
"submitting": "Đang gửi…",
|
"Exit full screen": "Rời chế độ toàn màn hình",
|
||||||
"unauthenticated_view_body": "Chưa đăng ký? <2>Tạo tài khoản</2>",
|
"Profile": "Hồ sơ",
|
||||||
"unauthenticated_view_login_button": "Đăng nhập vào tài khoản của bạn",
|
"Registering…": "Đang đăng ký…",
|
||||||
"version": "Phiên bản: {{version}}",
|
"Unmute microphone": "Bật micrô",
|
||||||
"video_tile": {
|
"This call already exists, would you like to join?": "Cuộc gọi đã tồn tại, bạn có muốn tham gia không?",
|
||||||
"presenter_label": "{{displayName}} đang trình bày"
|
"Recaptcha not loaded": "Chưa tải được Recaptcha",
|
||||||
},
|
"Debug log request": "Yêu cầu nhật ký gỡ lỗi",
|
||||||
"waiting_for_participants": "Đang đợi những người khác…"
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Một người dùng khác trong cuộc gọi đang gặp vấn đề. Để có thể chẩn đoán tốt hơn chúng tôi muốn thu thập nhật ký gỡ lỗi.",
|
||||||
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Tại sao lại không hoàn thiện bằng cách đặt mật khẩu để giữ tài khoản của bạn?</0><1>Bạn sẽ có thể giữ tên và đặt ảnh đại diện cho những cuộc gọi tiếp theo.</1>",
|
||||||
|
"<0>Oops, something's gone wrong.</0>": "<0>Ối, có cái gì đó sai.</0>",
|
||||||
|
"{{displayName}} is presenting": "{{displayName}} đang trình bày",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, cuộc gọi đã kết thúc.",
|
||||||
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Chúng tôi muốn nghe phản hồi của bạn để còn cải thiện trải nghiệm cho bạn.</0>",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Cảm hơn vì đã phản hồi!</0>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,135 +1,98 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Your recent calls": "最近通话",
|
||||||
"user_menu": "用户菜单"
|
"Yes, join call": "是,加入通话",
|
||||||
},
|
"WebRTC is not supported or is being blocked in this browser.": "此浏览器不支持WebRTC或WebRTC被浏览器阻止。",
|
||||||
"action": {
|
"Walkie-talkie call name": "对讲机通话名称",
|
||||||
"close": "关闭",
|
"Walkie-talkie call": "对讲机通话",
|
||||||
"copy": "复制",
|
"Waiting for other participants…": "等待其他参与者……",
|
||||||
"go": "开始",
|
"Video call name": "视频通话名称",
|
||||||
"no": "否",
|
"Video call": "视频通话",
|
||||||
"register": "注册",
|
"Video": "视频",
|
||||||
"remove": "移除",
|
"Version: {{version}}": "版本:{{version}}",
|
||||||
"sign_in": "登录",
|
"Username": "用户名",
|
||||||
"sign_out": "登出",
|
"User menu": "用户菜单",
|
||||||
"submit": "提交"
|
"Unmute microphone": "取消麦克风静音",
|
||||||
},
|
"Turn on camera": "开启摄像头",
|
||||||
"analytics_notice": "参与测试即表示您同意我们收集匿名数据,用于改进产品。您可以在我们的<2>隐私政策</2>和<5>Cookie政策</5>中找到有关我们跟踪哪些数据以及更多信息。",
|
"Turn off camera": "关闭摄像头",
|
||||||
"app_selection_modal": {
|
"This call already exists, would you like to join?": "该通话已存在,你想加入吗?",
|
||||||
"continue_in_browser": "在浏览器中继续",
|
"Thanks! We'll get right on it.": "谢谢!我们会马上去做的。",
|
||||||
"open_in_app": "在应用中打开",
|
"Take me Home": "返回主页",
|
||||||
"text": "准备好加入了吗?",
|
"Submit feedback": "提交反馈",
|
||||||
"title": "选择应用程序"
|
"Stop sharing screen": "停止屏幕共享",
|
||||||
},
|
"Spotlight": "聚焦模式",
|
||||||
"browser_media_e2ee_unsupported": "您的浏览器不支持媒体端对端加密。支持的浏览器有 Chrome、Safari、Firefox >=117",
|
"Speaker": "发言人",
|
||||||
"call_ended_view": {
|
"Sign out": "注销登录",
|
||||||
"body": "通话已中断",
|
"Sign in": "登录",
|
||||||
"create_account_button": "创建账户",
|
"Audio": "音频",
|
||||||
"create_account_prompt": "<0>为何不设置密码来保留你的账户?</0><1>保留昵称并设置头像,以便在未来的通话中使用。</1>",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
||||||
"feedback_done": "<0>感谢反馈!</0>",
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>为什么不设置一个密码来保留你的账户?</0><1>你将可以保留你的名字并设置一个头像,以便在未来的通话中使用。</1>",
|
||||||
"feedback_prompt": "<0>我们需要您的反馈以提升用户体验。</0>",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>现在加入通话</0><1>或</1><2>复制通话链接并稍后加入</2>",
|
||||||
"headline": "{{displayName}},通话已结束。",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>创建账户</0> Or <2>以访客身份继续</2>",
|
||||||
"not_now_button": "暂不,返回主页",
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>已有账户?</0><1><0>登录</0> Or <2>以访客身份继续</2></1>",
|
||||||
"reconnect_button": "重新连接",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"survey_prompt": "进展如何?"
|
"Inspector": "检查器",
|
||||||
},
|
"Show call inspector": "显示通话检查器",
|
||||||
"call_name": "通话名称",
|
"Share screen": "屏幕共享",
|
||||||
"common": {
|
"Settings": "设置",
|
||||||
"audio": "音频",
|
"Sending…": "正在发送……",
|
||||||
"avatar": "头像",
|
"Sending debug logs…": "正在发送调试日志……",
|
||||||
"camera": "摄像头",
|
"Send debug logs": "发送调试日志",
|
||||||
"copied": "已复制!",
|
"Select an option": "选择一个选项",
|
||||||
"display_name": "显示名称",
|
"Return to home screen": "返回主页",
|
||||||
"encrypted": "已加密",
|
"Remove": "移除",
|
||||||
"home": "主页",
|
"Registering…": "正在注册……",
|
||||||
"loading": "加载中……",
|
"Register": "注册",
|
||||||
"microphone": "麦克风",
|
"Recaptcha not loaded": "reCaptcha未加载",
|
||||||
"password": "密码",
|
"Recaptcha dismissed": "reCaptcha验证失败",
|
||||||
"profile": "个人信息",
|
"Profile": "个人信息",
|
||||||
"settings": "设置",
|
"Passwords must match": "密码必须匹配",
|
||||||
"unencrypted": "未加密",
|
"Password": "密码",
|
||||||
"username": "用户名",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "其他用户正试图从不兼容的版本加入这一呼叫。这些用户应该确保已经刷新了浏览器:<1>{userLis}</1>",
|
||||||
"video": "视频"
|
"Not registered yet? <2>Create an account</2>": "还没有注册? <2>创建账户<2>",
|
||||||
},
|
"Not now, return to home screen": "暂不,先返回主页",
|
||||||
"disconnected_banner": "与服务器的连接中断。",
|
"No": "否",
|
||||||
"exit_fullscreen_button_label": "退出全屏",
|
"Mute microphone": "麦克风静音",
|
||||||
"full_screen_view_description": "<0>提交日志以帮助我们修复问题。</0>",
|
"More": "更多",
|
||||||
"full_screen_view_h1": "<0>哎哟,出问题了。</0>",
|
"Microphone": "麦克风",
|
||||||
"fullscreen_button_label": "全屏",
|
"Login to your account": "登录你的账户",
|
||||||
"group_call_loader_failed_heading": "未找到通话",
|
"Login": "登录",
|
||||||
"group_call_loader_failed_text": "现在,通话是端对端加密的,需要从主页创建。这有助于确保每个人都使用相同的加密密钥。",
|
"Logging in…": "登录中……",
|
||||||
"hangup_button_label": "通话结束",
|
"Local volume": "本地音量",
|
||||||
"header_label": "Element Call主页",
|
"Loading…": "加载中……",
|
||||||
"join_existing_call_modal": {
|
"Leave": "离开",
|
||||||
"join_button": "是,加入通话",
|
"Join existing call?": "加入现有的通话?",
|
||||||
"text": "该通话已存在,你想加入吗?",
|
"Join call now": "现在加入通话",
|
||||||
"title": "是否加入现有的通话?"
|
"Join call": "加入通话",
|
||||||
},
|
"Invite people": "邀请他人",
|
||||||
"layout_grid_label": "网格",
|
"Invite": "邀请",
|
||||||
"layout_spotlight_label": "聚焦模式",
|
"Incompatible versions!": "版本不兼容!",
|
||||||
"lobby": {
|
"Incompatible versions": "不兼容版本",
|
||||||
"join_button": "加入通话",
|
"Include debug logs": "包含调试日志",
|
||||||
"leave_button": "返回最近通话"
|
"Home": "主页",
|
||||||
},
|
"Grid layout menu": "网格布局菜单",
|
||||||
"local_volume_label": "本地音量",
|
"Go": "开始",
|
||||||
"logging_in": "登录中……",
|
"Full screen": "全屏",
|
||||||
"login_auth_links": "<0>创建账户</0> Or <2>以访客身份继续</2>",
|
"Freedom": "自由模式",
|
||||||
"login_title": "登录",
|
"Fetching group call timed out.": "获取群组通话超时。",
|
||||||
"microphone_off": "麦克风关闭",
|
"Exit full screen": "退出全屏",
|
||||||
"microphone_on": "麦克风开启",
|
"Element Call Home": "Element Call 主页",
|
||||||
"mute_microphone_button_label": "静音麦克风",
|
"Download debug logs": "下载调试日志",
|
||||||
"rageshake_button_error_caption": "重传日志",
|
"Display name": "显示名称",
|
||||||
"rageshake_request_modal": {
|
"Developer": "开发者",
|
||||||
"body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
"Details": "详情",
|
||||||
"title": "调试日志请求"
|
"Debug log request": "调试日志请求",
|
||||||
},
|
"Debug log": "调试日志",
|
||||||
"rageshake_send_logs": "发送调试日志",
|
"Create account": "创建账户",
|
||||||
"rageshake_sending": "正在发送……",
|
"Copy and share this call link": "复制并分享该链接",
|
||||||
"rageshake_sending_logs": "正在发送调试日志……",
|
"Copy": "复制",
|
||||||
"rageshake_sent": "谢谢!",
|
"Copied!": "已复制!",
|
||||||
"recaptcha_caption": "该站点受 ReCAPTCHA 保护,适用于Google的 <2>隐私政策</2>和 <6>服务条款</6>。 <9></9>点击 \"注册\",即表示您同意我们的 <12>最终用户许可协议 (EULA)</12>",
|
"Confirm password": "确认密码",
|
||||||
"recaptcha_dismissed": "人机验证失败",
|
"Close": "关闭",
|
||||||
"recaptcha_not_loaded": "recaptcha未加载",
|
"Change layout": "更改布局",
|
||||||
"register": {
|
"Camera": "摄像头",
|
||||||
"passwords_must_match": "密码必须匹配",
|
"Call type menu": "通话类型菜单",
|
||||||
"registering": "正在注册……"
|
"Call link copied": "链接已复制",
|
||||||
},
|
"Avatar": "头像",
|
||||||
"register_auth_links": "<0>已有账户?</0><1><0>登录</0> Or <2>以访客身份继续</2></1>",
|
"<0>Oops, something's gone wrong.</0>": "<0>哎哟,出问题了。</0>",
|
||||||
"register_confirm_password_label": "确认密码",
|
"<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.": ""
|
||||||
"return_home_button": "返回主页",
|
|
||||||
"room_auth_view_eula_caption": "点击 \"加入通话\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
|
|
||||||
"room_auth_view_join_button": "现在加入通话",
|
|
||||||
"screenshare_button_label": "屏幕共享",
|
|
||||||
"select_input_unset_button": "选择一个选项",
|
|
||||||
"settings": {
|
|
||||||
"developer_settings_label": "开发者设置",
|
|
||||||
"developer_settings_label_description": "在设置中显示开发者设置。",
|
|
||||||
"developer_tab_title": "开发者",
|
|
||||||
"feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。",
|
|
||||||
"feedback_tab_description_label": "您的反馈",
|
|
||||||
"feedback_tab_h4": "提交反馈",
|
|
||||||
"feedback_tab_send_logs_label": "包含调试日志",
|
|
||||||
"feedback_tab_thank_you": "谢谢,我们收到了反馈!",
|
|
||||||
"feedback_tab_title": "反馈",
|
|
||||||
"more_tab_title": "更多",
|
|
||||||
"opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。",
|
|
||||||
"show_connection_stats_label": "显示连接统计信息",
|
|
||||||
"speaker_device_selection_label": "发言人"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} 个星",
|
|
||||||
"star_rating_input_label_other": "{{count}} 个星",
|
|
||||||
"start_new_call": "开始新通话",
|
|
||||||
"start_video_button_label": "开始视频",
|
|
||||||
"stop_screenshare_button_label": "屏幕共享",
|
|
||||||
"stop_video_button_label": "停止视频",
|
|
||||||
"submitting": "提交中…",
|
|
||||||
"unauthenticated_view_body": "还没有注册? <2>创建账户<2>",
|
|
||||||
"unauthenticated_view_eula_caption": "点击 \"开始\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "登录你的账户",
|
|
||||||
"unmute_microphone_button_label": "取消麦克风静音",
|
|
||||||
"version": "版本:{{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}}正在展示",
|
|
||||||
"sfu_participant_local": "你"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "等待其他参与者……"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,142 +1,120 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>現在加入通話</0><1>或</1><2>複製通話連結,稍後再加入</2>",
|
||||||
"user_menu": "使用者選單"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>建立帳號</0> 或<2>以訪客身份登入</2>",
|
||||||
},
|
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>已經有帳號?</0><1><0>登入</0> 或<2>以訪客身份登入</2></1>",
|
||||||
"action": {
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"close": "關閉",
|
"Expose developer settings in the settings window.": "在設定視窗中顯示開發者設定。",
|
||||||
"copy": "複製",
|
"Developer Settings": "開發者設定",
|
||||||
"copy_link": "複製連結",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>送出除錯紀錄,可幫助我們修正問題。</0>",
|
||||||
"go": "前往",
|
"<0>Oops, something's gone wrong.</0>": "<0>喔喔,有些地方怪怪的。</0>",
|
||||||
"invite": "邀請",
|
"Your recent calls": "您最近的通話",
|
||||||
"no": "否",
|
"Yes, join call": "是,加入對話",
|
||||||
"register": "註冊",
|
"WebRTC is not supported or is being blocked in this browser.": "此瀏覽器未支援 WebRTC 或 WebRTC 被瀏覽器封鎖。",
|
||||||
"remove": "移除",
|
"Walkie-talkie call name": "對講機式通話名稱",
|
||||||
"sign_in": "登入",
|
"Walkie-talkie call": "即時通話",
|
||||||
"sign_out": "登出",
|
"Waiting for other participants…": "等待其他參加者…",
|
||||||
"submit": "遞交"
|
"Video call name": "視訊通話姓名",
|
||||||
},
|
"Video call": "視訊通話",
|
||||||
"analytics_notice": "參與此測試版即表示您同意蒐集匿名資料,我們使用這些資料來改進產品。您可以在我們的<2>隱私政策</2>與我們的 <5>Cookie 政策</5> 中找到關於我們追蹤哪些資料的更多資訊。",
|
"Video": "視訊",
|
||||||
"app_selection_modal": {
|
"Version: {{version}}": "版本: {{version}}",
|
||||||
"continue_in_browser": "在瀏覽器中繼續",
|
"Username": "使用者名稱",
|
||||||
"open_in_app": "在應用程式中開啟",
|
"User menu": "使用者選單",
|
||||||
"text": "準備好加入了?",
|
"Unmute microphone": "取消麥克風靜音",
|
||||||
"title": "選取應用程式"
|
"Turn on camera": "開啟相機",
|
||||||
},
|
"Turn off camera": "關閉相機",
|
||||||
"browser_media_e2ee_unsupported": "您的網路瀏覽器不支援媒體端到端加密。支援的瀏覽器包含了 Chrome、Safari、Firefox >=117",
|
"This call already exists, would you like to join?": "通話已經開始,請問您要加入嗎?",
|
||||||
"call_ended_view": {
|
"Thanks! We'll get right on it.": "謝謝您!我們會盡快處理。",
|
||||||
"body": "您已從通話斷線",
|
"Take me Home": "帶我回主畫面",
|
||||||
"create_account_button": "建立帳號",
|
"Submit feedback": "遞交回覆",
|
||||||
"create_account_prompt": "<0>何不設定密碼以保留此帳號?</0><1>您可以保留暱稱並設定頭像,以便未來通話時使用</1>",
|
"Stop sharing screen": "停止分享螢幕畫面",
|
||||||
"feedback_done": "<0>感謝您的回饋!</0>",
|
"Spotlight": "聚焦",
|
||||||
"feedback_prompt": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>",
|
"Speaker": "發言者",
|
||||||
"headline": "{{displayName}},您的通話已結束。",
|
"Sign out": "登出",
|
||||||
"not_now_button": "現在不行,回到首頁",
|
"Sign in": "登入",
|
||||||
"reconnect_button": "重新連線",
|
"Show call inspector": "顯示通話稽查員",
|
||||||
"survey_prompt": "進展如何?"
|
"Share screen": "分享畫面",
|
||||||
},
|
"Settings": "設定",
|
||||||
"call_name": "通話名稱",
|
"Sending…": "傳送中…",
|
||||||
"common": {
|
"Sending debug logs…": "傳送除錯記錄檔中…",
|
||||||
"audio": "語音",
|
"Send debug logs": "傳送除錯紀錄",
|
||||||
"avatar": "大頭照",
|
"Select an option": "選擇一個選項",
|
||||||
"camera": "相機",
|
"Return to home screen": "回到首頁",
|
||||||
"copied": "已複製!",
|
"Remove": "移除",
|
||||||
"display_name": "顯示名稱",
|
"Registering…": "註冊中…",
|
||||||
"encrypted": "已加密",
|
"Register": "註冊",
|
||||||
"home": "首頁",
|
"Recaptcha not loaded": "驗證碼未載入",
|
||||||
"loading": "載入中…",
|
"Recaptcha dismissed": "略過驗證碼",
|
||||||
"microphone": "麥克風",
|
"Profile": "個人檔案",
|
||||||
"password": "密碼",
|
"Passwords must match": "密碼必須相符",
|
||||||
"profile": "個人檔案",
|
"Password": "密碼",
|
||||||
"settings": "設定",
|
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}</1>": "有使用者試著加入通話,但他們的軟體版本不相容。這些使用者需要確認已將瀏覽器更新到最新版本:<1>{userLis}</1>",
|
||||||
"unencrypted": "未加密",
|
"Not registered yet? <2>Create an account</2>": "還沒註冊嗎?<2>建立帳號</2>",
|
||||||
"username": "使用者名稱",
|
"Not now, return to home screen": "現在不行,回到首頁",
|
||||||
"video": "視訊"
|
"No": "否",
|
||||||
},
|
"Mute microphone": "麥克風靜音",
|
||||||
"disconnected_banner": "到伺服器的連線已遺失。",
|
"More": "更多",
|
||||||
"exit_fullscreen_button_label": "退出全螢幕",
|
"Microphone": "麥克風",
|
||||||
"full_screen_view_description": "<0>送出除錯紀錄,可幫助我們修正問題。</0>",
|
"Login to your account": "登入您的帳號",
|
||||||
"full_screen_view_h1": "<0>喔喔,有些地方怪怪的。</0>",
|
"Login": "登入",
|
||||||
"fullscreen_button_label": "全螢幕",
|
"Logging in…": "登入中…",
|
||||||
"group_call_loader_failed_heading": "找不到通話",
|
"Local volume": "您的音量",
|
||||||
"group_call_loader_failed_text": "通話現在是端對端加密的,必須從首頁建立。這有助於確保每個人都使用相同的加密金鑰。",
|
"Loading…": "載入中…",
|
||||||
"hangup_button_label": "結束通話",
|
"Leave": "離開",
|
||||||
"header_label": "Element Call 首頁",
|
"Join existing call?": "加入已開始的通話嗎?",
|
||||||
"header_participants_label": "參與者",
|
"Join call now": "現在加入通話",
|
||||||
"invite_modal": {
|
"Join call": "加入通話",
|
||||||
"link_copied_toast": "連結已複製到剪貼簿",
|
"Invite people": "邀請夥伴",
|
||||||
"title": "邀請到此通話"
|
"Invite": "邀請",
|
||||||
},
|
"Inspector": "稽查員",
|
||||||
"join_existing_call_modal": {
|
"Incompatible versions!": "不相容版本!",
|
||||||
"join_button": "是,加入對話",
|
"Incompatible versions": "不相容版本",
|
||||||
"text": "通話已經開始,請問您要加入嗎?",
|
"Include debug logs": "包含除錯紀錄",
|
||||||
"title": "加入已開始的通話嗎?"
|
"Home": "首頁",
|
||||||
},
|
"Grid layout menu": "格框式清單",
|
||||||
"layout_grid_label": "網格",
|
"Go": "前往",
|
||||||
"layout_spotlight_label": "聚焦",
|
"Full screen": "全螢幕",
|
||||||
"lobby": {
|
"Freedom": "自由",
|
||||||
"join_button": "加入通話",
|
"Fetching group call timed out.": "加入群組對話已逾時。",
|
||||||
"leave_button": "回到最近的通話"
|
"Exit full screen": "退出全螢幕",
|
||||||
},
|
"Element Call Home": "Element Call 首頁",
|
||||||
"local_volume_label": "您的音量",
|
"Download debug logs": "下載偵錯報告",
|
||||||
"logging_in": "登入中…",
|
"Display name": "顯示名稱",
|
||||||
"login_auth_links": "<0>建立帳號</0> 或<2>以訪客身份登入</2>",
|
"Developer": "開發者",
|
||||||
"login_title": "登入",
|
"Details": "詳細說明",
|
||||||
"microphone_off": "麥克風關閉",
|
"Debug log request": "請求偵錯報告",
|
||||||
"microphone_on": "麥克風開啟",
|
"Debug log": "除錯紀錄",
|
||||||
"mute_microphone_button_label": "將麥克風靜音",
|
"Create account": "建立帳號",
|
||||||
"rageshake_button_error_caption": "重試傳送紀錄檔",
|
"Copy and share this call link": "複製並分享通話連結",
|
||||||
"rageshake_request_modal": {
|
"Copy": "複製",
|
||||||
"body": "這通對話中的另一位使用者遇到了某些問題。為了診斷問題,我們將會建立除錯紀錄。",
|
"Copied!": "已複製!",
|
||||||
"title": "請求偵錯報告"
|
"Confirm password": "確認密碼",
|
||||||
},
|
"Close": "關閉",
|
||||||
"rageshake_send_logs": "傳送除錯紀錄",
|
"Change layout": "變更排列",
|
||||||
"rageshake_sending": "傳送中…",
|
"Camera": "相機",
|
||||||
"rageshake_sending_logs": "傳送除錯記錄檔中…",
|
"Call type menu": "通話類型選單",
|
||||||
"rageshake_sent": "感謝!",
|
"Call link copied": "已複製通話連結",
|
||||||
"recaptcha_caption": "此網站被 ReCAPTCHA 保護,並適用 Google 的<2>隱私權政策</2>與<6>服務條款</6>。<9></9>點擊「註冊」即表示您同意我們的<12>終端使用者授權協議 (EULA)</12>",
|
"Avatar": "大頭照",
|
||||||
"recaptcha_dismissed": "略過驗證碼",
|
"Audio": "語音",
|
||||||
"recaptcha_not_loaded": "驗證碼未載入",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "這通對話中的另一位使用者遇到了某些問題。為了診斷問題,我們將會建立除錯紀錄。",
|
||||||
"register": {
|
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>何不設定密碼以保留此帳號?</0><1>您可以保留暱稱並設定頭像,以便未來通話時使用</1>",
|
||||||
"passwords_must_match": "密碼必須相符",
|
"By participating in this beta, you consent to the collection of anonymous data, which we use to improve the product. You can find more information about which data we track in our <2>Privacy Policy</2> and our <5>Cookie Policy</5>.": "參與此測試版即表示您同意蒐集匿名資料,我們使用這些資料來改進產品。您可以在我們的<2>隱私政策</2>與我們的 <5>Cookie 政策</5> 中找到關於我們追蹤哪些資料的更多資訊。",
|
||||||
"registering": "註冊中…"
|
"<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.": "<0></0><1></1>您可以透過取消核取此方塊來撤回同意。若您目前正在通話中,此設定將在通話結束時生效。",
|
||||||
},
|
"Your feedback": "您的回饋",
|
||||||
"register_auth_links": "<0>已經有帳號?</0><1><0>登入</0> 或<2>以訪客身份登入</2></1>",
|
"Thanks, we received your feedback!": "感謝,我們已經收到您的回饋了!",
|
||||||
"register_confirm_password_label": "確認密碼",
|
"Submitting…": "正在遞交……",
|
||||||
"return_home_button": "回到首頁",
|
"Submit": "遞交",
|
||||||
"room_auth_view_eula_caption": "點擊「立刻加入通話」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。",
|
||||||
"room_auth_view_join_button": "現在加入通話",
|
"Feedback": "回饋",
|
||||||
"screenshare_button_label": "分享畫面",
|
"{{count}} stars|other": "{{count}} 個星星",
|
||||||
"select_input_unset_button": "選擇一個選項",
|
"<0>Thanks for your feedback!</0>": "<0>感謝您的回饋!</0>",
|
||||||
"settings": {
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>",
|
||||||
"developer_settings_label": "開發者設定",
|
"{{count}} stars|one": "{{count}} 個星星",
|
||||||
"developer_settings_label_description": "在設定視窗中顯示開發者設定。",
|
"{{displayName}}, your call has ended.": "{{displayName}},您的通話已結束。",
|
||||||
"developer_tab_title": "開發者",
|
"How did it go?": "進展如何?",
|
||||||
"feedback_tab_body": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。",
|
"{{displayName}} is presenting": "{{displayName}} 正在展示",
|
||||||
"feedback_tab_description_label": "您的回饋",
|
"Show connection stats": "顯示連線統計資料",
|
||||||
"feedback_tab_h4": "遞交回覆",
|
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "點擊「前往」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
||||||
"feedback_tab_send_logs_label": "包含除錯紀錄",
|
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>": "點擊「立刻加入通話」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
||||||
"feedback_tab_thank_you": "感謝,我們已經收到您的回饋了!",
|
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy</2> and <6>Terms of Service</6> apply.<9></9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)</12>": "此網站被 ReCAPTCHA 保護,並適用 Google 的<2>隱私權政策</2>與<6>服務條款</6>。<9></9>點擊「註冊」即表示您同意我們的<12>終端使用者授權協議 (EULA)</12>",
|
||||||
"feedback_tab_title": "回饋",
|
"Element Call is temporarily not encrypted while we test scalability.": "在我們測試可擴展性時,Element Call 暫時未加密。"
|
||||||
"more_tab_title": "更多",
|
|
||||||
"opt_in_description": "<0></0><1></1>您可以透過取消核取此方塊來撤回同意。若您目前正在通話中,此設定將在通話結束時生效。",
|
|
||||||
"show_connection_stats_label": "顯示連線統計資料",
|
|
||||||
"speaker_device_selection_label": "發言者"
|
|
||||||
},
|
|
||||||
"star_rating_input_label_one": "{{count}} 個星星",
|
|
||||||
"star_rating_input_label_other": "{{count}} 個星星",
|
|
||||||
"start_new_call": "開始新通話",
|
|
||||||
"start_video_button_label": "開始影片",
|
|
||||||
"stop_screenshare_button_label": "分享畫面",
|
|
||||||
"stop_video_button_label": "停止影片",
|
|
||||||
"submitting": "正在遞交……",
|
|
||||||
"unauthenticated_view_body": "還沒註冊嗎?<2>建立帳號</2>",
|
|
||||||
"unauthenticated_view_eula_caption": "點擊「前往」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
|
||||||
"unauthenticated_view_login_button": "登入您的帳號",
|
|
||||||
"unmute_microphone_button_label": "將麥克風取消靜音",
|
|
||||||
"version": "版本: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"presenter_label": "{{displayName}} 正在展示",
|
|
||||||
"sfu_participant_local": "您"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "等待其他參加者…"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": ["config:base"],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"description": "Disable renoavte for packages we want to monitor ourselves",
|
|
||||||
"matchPackagePatterns": ["matrix-js-sdk"],
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ignoreDeps": [
|
|
||||||
"@react-aria/button",
|
|
||||||
"@react-aria/focus",
|
|
||||||
"@react-aria/menu",
|
|
||||||
"@react-aria/overlays",
|
|
||||||
"@react-aria/select",
|
|
||||||
"@react-aria/tabs",
|
|
||||||
"@react-aria/tooltip",
|
|
||||||
"@react-aria/utils",
|
|
||||||
"@react-stately/collections",
|
|
||||||
"@react-stately/select",
|
|
||||||
"@react-stately/tooltip",
|
|
||||||
"@react-stately/tree"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
29
src/@types/i18next.d.ts
vendored
29
src/@types/i18next.d.ts
vendored
@@ -1,29 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import "i18next";
|
|
||||||
// import all namespaces (for the default language, only)
|
|
||||||
import app from "../../public/locales/en-GB/app.json";
|
|
||||||
|
|
||||||
declare module "i18next" {
|
|
||||||
interface CustomTypeOptions {
|
|
||||||
defaultNS: "app";
|
|
||||||
keySeparator: ".";
|
|
||||||
resources: {
|
|
||||||
app: typeof app;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
112
src/App.tsx
112
src/App.tsx
@@ -14,55 +14,30 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, Suspense, useEffect, useState } from "react";
|
import { Suspense, useEffect, useState } from "react";
|
||||||
import {
|
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
|
||||||
BrowserRouter as Router,
|
|
||||||
Switch,
|
|
||||||
Route,
|
|
||||||
useLocation,
|
|
||||||
} from "react-router-dom";
|
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
import { OverlayProvider } from "@react-aria/overlays";
|
import { OverlayProvider } from "@react-aria/overlays";
|
||||||
import { History } from "history";
|
|
||||||
import { TooltipProvider } from "@vector-im/compound-web";
|
|
||||||
|
|
||||||
import { HomePage } from "./home/HomePage";
|
import { HomePage } from "./home/HomePage";
|
||||||
import { LoginPage } from "./auth/LoginPage";
|
import { LoginPage } from "./auth/LoginPage";
|
||||||
import { RegisterPage } from "./auth/RegisterPage";
|
import { RegisterPage } from "./auth/RegisterPage";
|
||||||
import { RoomPage } from "./room/RoomPage";
|
import { RoomPage } from "./room/RoomPage";
|
||||||
|
import { RoomRedirect } from "./room/RoomRedirect";
|
||||||
import { ClientProvider } from "./ClientContext";
|
import { ClientProvider } from "./ClientContext";
|
||||||
|
import { usePageFocusStyle } from "./usePageFocusStyle";
|
||||||
|
import { SequenceDiagramViewerPage } from "./SequenceDiagramViewerPage";
|
||||||
|
import { InspectorContextProvider } from "./room/GroupCallInspector";
|
||||||
import { CrashView, LoadingView } from "./FullScreenView";
|
import { CrashView, LoadingView } from "./FullScreenView";
|
||||||
import { DisconnectedBanner } from "./DisconnectedBanner";
|
|
||||||
import { Initializer } from "./initializer";
|
import { Initializer } from "./initializer";
|
||||||
import { MediaDevicesProvider } from "./livekit/MediaDevicesContext";
|
|
||||||
|
|
||||||
const SentryRoute = Sentry.withSentryRouting(Route);
|
const SentryRoute = Sentry.withSentryRouting(Route);
|
||||||
|
|
||||||
interface BackgroundProviderProps {
|
|
||||||
children: JSX.Element;
|
|
||||||
}
|
|
||||||
|
|
||||||
const BackgroundProvider: FC<BackgroundProviderProps> = ({ children }) => {
|
|
||||||
const { pathname } = useLocation();
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
let backgroundImage = "";
|
|
||||||
if (!["/login", "/register"].includes(pathname)) {
|
|
||||||
backgroundImage = "var(--background-gradient)";
|
|
||||||
}
|
|
||||||
|
|
||||||
document.getElementsByTagName("body")[0].style.backgroundImage =
|
|
||||||
backgroundImage;
|
|
||||||
}, [pathname]);
|
|
||||||
|
|
||||||
return <>{children}</>;
|
|
||||||
};
|
|
||||||
|
|
||||||
interface AppProps {
|
interface AppProps {
|
||||||
history: History;
|
history: History;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const App: FC<AppProps> = ({ history }) => {
|
export default function App({ history }: AppProps) {
|
||||||
const [loaded, setLoaded] = useState(false);
|
const [loaded, setLoaded] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -71,45 +46,46 @@ export const App: FC<AppProps> = ({ history }) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
usePageFocusStyle();
|
||||||
|
|
||||||
const errorPage = <CrashView />;
|
const errorPage = <CrashView />;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
||||||
// @ts-ignore
|
|
||||||
<Router history={history}>
|
<Router history={history}>
|
||||||
<BackgroundProvider>
|
{loaded ? (
|
||||||
<TooltipProvider>
|
<Suspense fallback={null}>
|
||||||
{loaded ? (
|
<ClientProvider>
|
||||||
<Suspense fallback={null}>
|
<InspectorContextProvider>
|
||||||
<ClientProvider>
|
<Sentry.ErrorBoundary fallback={errorPage}>
|
||||||
<MediaDevicesProvider>
|
<OverlayProvider>
|
||||||
<Sentry.ErrorBoundary fallback={errorPage}>
|
<Switch>
|
||||||
<OverlayProvider>
|
<SentryRoute exact path="/">
|
||||||
<DisconnectedBanner />
|
<HomePage />
|
||||||
<Switch>
|
</SentryRoute>
|
||||||
<SentryRoute exact path="/">
|
<SentryRoute exact path="/login">
|
||||||
<HomePage />
|
<LoginPage />
|
||||||
</SentryRoute>
|
</SentryRoute>
|
||||||
<SentryRoute exact path="/login">
|
<SentryRoute exact path="/register">
|
||||||
<LoginPage />
|
<RegisterPage />
|
||||||
</SentryRoute>
|
</SentryRoute>
|
||||||
<SentryRoute exact path="/register">
|
<SentryRoute path="/room/:roomId?">
|
||||||
<RegisterPage />
|
<RoomPage />
|
||||||
</SentryRoute>
|
</SentryRoute>
|
||||||
<SentryRoute path="*">
|
<SentryRoute path="/inspector">
|
||||||
<RoomPage />
|
<SequenceDiagramViewerPage />
|
||||||
</SentryRoute>
|
</SentryRoute>
|
||||||
</Switch>
|
<SentryRoute path="*">
|
||||||
</OverlayProvider>
|
<RoomRedirect />
|
||||||
</Sentry.ErrorBoundary>
|
</SentryRoute>
|
||||||
</MediaDevicesProvider>
|
</Switch>
|
||||||
</ClientProvider>
|
</OverlayProvider>
|
||||||
</Suspense>
|
</Sentry.ErrorBoundary>
|
||||||
) : (
|
</InspectorContextProvider>
|
||||||
<LoadingView />
|
</ClientProvider>
|
||||||
)}
|
</Suspense>
|
||||||
</TooltipProvider>
|
) : (
|
||||||
</BackgroundProvider>
|
<LoadingView />
|
||||||
|
)}
|
||||||
</Router>
|
</Router>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
76
src/Avatar.module.css
Normal file
76
src/Avatar.module.css
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
position: relative;
|
||||||
|
color: var(--primary-content);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
pointer-events: none;
|
||||||
|
font-weight: 600;
|
||||||
|
overflow: hidden;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar svg * {
|
||||||
|
fill: var(--primary-content);
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar span {
|
||||||
|
padding-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xs {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
border-radius: 22px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sm {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 32px;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 36px;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg {
|
||||||
|
width: 42px;
|
||||||
|
height: 42px;
|
||||||
|
border-radius: 42px;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xl {
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
border-radius: 90px;
|
||||||
|
font-size: 48px;
|
||||||
|
}
|
||||||
101
src/Avatar.tsx
101
src/Avatar.tsx
@@ -14,11 +14,24 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { useMemo, FC } from "react";
|
import { useMemo, CSSProperties, HTMLAttributes, FC } from "react";
|
||||||
import { Avatar as CompoundAvatar } from "@vector-im/compound-web";
|
import classNames from "classnames";
|
||||||
|
import { MatrixClient } from "matrix-js-sdk/src/client";
|
||||||
|
|
||||||
import { getAvatarUrl } from "./matrix-utils";
|
import { getAvatarUrl } from "./matrix-utils";
|
||||||
import { useClient } from "./ClientContext";
|
import { useClient } from "./ClientContext";
|
||||||
|
import styles from "./Avatar.module.css";
|
||||||
|
|
||||||
|
const backgroundColors = [
|
||||||
|
"#5C56F5",
|
||||||
|
"#03B381",
|
||||||
|
"#368BD6",
|
||||||
|
"#AC3BA8",
|
||||||
|
"#E64F7A",
|
||||||
|
"#FF812D",
|
||||||
|
"#2DC2C5",
|
||||||
|
"#74D12C",
|
||||||
|
];
|
||||||
|
|
||||||
export enum Size {
|
export enum Size {
|
||||||
XS = "xs",
|
XS = "xs",
|
||||||
@@ -36,43 +49,83 @@ export const sizes = new Map([
|
|||||||
[Size.XL, 90],
|
[Size.XL, 90],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
interface Props {
|
function hashStringToArrIndex(str: string, arrLength: number) {
|
||||||
id: string;
|
let sum = 0;
|
||||||
name: string;
|
|
||||||
className?: string;
|
for (let i = 0; i < str.length; i++) {
|
||||||
|
sum += str.charCodeAt(i);
|
||||||
|
}
|
||||||
|
|
||||||
|
return sum % arrLength;
|
||||||
|
}
|
||||||
|
|
||||||
|
const resolveAvatarSrc = (client: MatrixClient, src: string, size: number) =>
|
||||||
|
src?.startsWith("mxc://") ? client && getAvatarUrl(client, src, size) : src;
|
||||||
|
|
||||||
|
interface Props extends HTMLAttributes<HTMLDivElement> {
|
||||||
|
bgKey?: string;
|
||||||
src?: string;
|
src?: string;
|
||||||
size?: Size | number;
|
size?: Size | number;
|
||||||
|
className?: string;
|
||||||
|
style?: CSSProperties;
|
||||||
|
fallback: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Avatar: FC<Props> = ({
|
export const Avatar: FC<Props> = ({
|
||||||
className,
|
bgKey,
|
||||||
id,
|
|
||||||
name,
|
|
||||||
src,
|
src,
|
||||||
|
fallback,
|
||||||
size = Size.MD,
|
size = Size.MD,
|
||||||
|
className,
|
||||||
|
style = {},
|
||||||
|
...rest
|
||||||
}) => {
|
}) => {
|
||||||
const { client } = useClient();
|
const { client } = useClient();
|
||||||
|
|
||||||
const sizePx = useMemo(
|
const [sizeClass, sizePx, sizeStyle] = useMemo(
|
||||||
() =>
|
() =>
|
||||||
Object.values(Size).includes(size as Size)
|
Object.values(Size).includes(size as Size)
|
||||||
? sizes.get(size as Size)
|
? [styles[size as string], sizes.get(size as Size), {}]
|
||||||
: (size as number),
|
: [
|
||||||
[size],
|
null,
|
||||||
|
size as number,
|
||||||
|
{
|
||||||
|
width: size,
|
||||||
|
height: size,
|
||||||
|
borderRadius: size,
|
||||||
|
fontSize: Math.round((size as number) / 2),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
[size]
|
||||||
);
|
);
|
||||||
|
|
||||||
const resolvedSrc = useMemo(() => {
|
const resolvedSrc = useMemo(
|
||||||
if (!client || !src || !sizePx) return undefined;
|
() => resolveAvatarSrc(client, src, sizePx),
|
||||||
return src.startsWith("mxc://") ? getAvatarUrl(client, src, sizePx) : src;
|
[client, src, sizePx]
|
||||||
}, [client, src, sizePx]);
|
);
|
||||||
|
|
||||||
|
const backgroundColor = useMemo(() => {
|
||||||
|
const index = hashStringToArrIndex(
|
||||||
|
bgKey || fallback || src || "",
|
||||||
|
backgroundColors.length
|
||||||
|
);
|
||||||
|
return backgroundColors[index];
|
||||||
|
}, [bgKey, src, fallback]);
|
||||||
|
|
||||||
|
/* eslint-disable jsx-a11y/alt-text */
|
||||||
return (
|
return (
|
||||||
<CompoundAvatar
|
<div
|
||||||
className={className}
|
className={classNames(styles.avatar, sizeClass, className)}
|
||||||
id={id}
|
style={{ backgroundColor, ...sizeStyle, ...style }}
|
||||||
name={name}
|
{...rest}
|
||||||
size={`${sizePx}px`}
|
>
|
||||||
src={resolvedSrc}
|
{resolvedSrc ? (
|
||||||
/>
|
<img src={resolvedSrc} />
|
||||||
|
) : typeof fallback === "string" ? (
|
||||||
|
<span>{fallback}</span>
|
||||||
|
) : (
|
||||||
|
fallback
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ limitations under the License.
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background-color: var(--cpd-color-bg-subtle-primary);
|
background-color: var(--subtle-primary);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, ReactNode } from "react";
|
import { ReactNode } from "react";
|
||||||
|
|
||||||
import styles from "./Banner.module.css";
|
import styles from "./Banner.module.css";
|
||||||
|
|
||||||
@@ -22,6 +22,6 @@ interface Props {
|
|||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Banner: FC<Props> = ({ children }) => {
|
export const Banner = ({ children }: Props) => {
|
||||||
return <div className={styles.banner}>{children}</div>;
|
return <div className={styles.banner}>{children}</div>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,21 +20,20 @@ import {
|
|||||||
useEffect,
|
useEffect,
|
||||||
useState,
|
useState,
|
||||||
createContext,
|
createContext,
|
||||||
|
useMemo,
|
||||||
useContext,
|
useContext,
|
||||||
useRef,
|
useRef,
|
||||||
useMemo,
|
|
||||||
} from "react";
|
} from "react";
|
||||||
import { useHistory } from "react-router-dom";
|
import { useHistory } from "react-router-dom";
|
||||||
import { ClientEvent, MatrixClient } from "matrix-js-sdk/src/client";
|
import { MatrixClient } from "matrix-js-sdk/src/client";
|
||||||
import { logger } from "matrix-js-sdk/src/logger";
|
import { logger } from "matrix-js-sdk/src/logger";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { ISyncStateData, SyncState } from "matrix-js-sdk/src/sync";
|
|
||||||
|
|
||||||
import { ErrorView } from "./FullScreenView";
|
import { ErrorView } from "./FullScreenView";
|
||||||
import {
|
import {
|
||||||
|
initClient,
|
||||||
CryptoStoreIntegrityError,
|
CryptoStoreIntegrityError,
|
||||||
fallbackICEServerAllowed,
|
fallbackICEServerAllowed,
|
||||||
initClient,
|
|
||||||
} from "./matrix-utils";
|
} from "./matrix-utils";
|
||||||
import { widget } from "./widget";
|
import { widget } from "./widget";
|
||||||
import {
|
import {
|
||||||
@@ -48,354 +47,7 @@ import { Config } from "./config/Config";
|
|||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
matrixclient: MatrixClient;
|
matrixclient: MatrixClient;
|
||||||
passwordlessUser: boolean;
|
isPasswordlessUser: boolean;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type ClientState = ValidClientState | ErrorState;
|
|
||||||
|
|
||||||
export type ValidClientState = {
|
|
||||||
state: "valid";
|
|
||||||
authenticated?: AuthenticatedClient;
|
|
||||||
// 'Disconnected' rather than 'connected' because it tracks specifically
|
|
||||||
// whether the client is supposed to be connected but is not
|
|
||||||
disconnected: boolean;
|
|
||||||
setClient: (params?: SetClientParams) => void;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type AuthenticatedClient = {
|
|
||||||
client: MatrixClient;
|
|
||||||
isPasswordlessUser: boolean;
|
|
||||||
changePassword: (password: string) => Promise<void>;
|
|
||||||
logout: () => void;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type ErrorState = {
|
|
||||||
state: "error";
|
|
||||||
error: Error;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type SetClientParams = {
|
|
||||||
client: MatrixClient;
|
|
||||||
session: Session;
|
|
||||||
};
|
|
||||||
|
|
||||||
const ClientContext = createContext<ClientState | undefined>(undefined);
|
|
||||||
|
|
||||||
export const useClientState = (): ClientState | undefined =>
|
|
||||||
useContext(ClientContext);
|
|
||||||
|
|
||||||
export function useClient(): {
|
|
||||||
client?: MatrixClient;
|
|
||||||
setClient?: (params?: SetClientParams) => void;
|
|
||||||
} {
|
|
||||||
let client;
|
|
||||||
let setClient;
|
|
||||||
|
|
||||||
const clientState = useClientState();
|
|
||||||
if (clientState?.state === "valid") {
|
|
||||||
client = clientState.authenticated?.client;
|
|
||||||
setClient = clientState.setClient;
|
|
||||||
}
|
|
||||||
|
|
||||||
return { client, setClient };
|
|
||||||
}
|
|
||||||
|
|
||||||
// Plain representation of the `ClientContext` as a helper for old components that expected an object with multiple fields.
|
|
||||||
export function useClientLegacy(): {
|
|
||||||
client?: MatrixClient;
|
|
||||||
setClient?: (params?: SetClientParams) => void;
|
|
||||||
passwordlessUser: boolean;
|
|
||||||
loading: boolean;
|
|
||||||
authenticated: boolean;
|
|
||||||
logout?: () => void;
|
|
||||||
error?: Error;
|
|
||||||
} {
|
|
||||||
const clientState = useClientState();
|
|
||||||
|
|
||||||
let client;
|
|
||||||
let setClient;
|
|
||||||
let passwordlessUser = false;
|
|
||||||
let loading = true;
|
|
||||||
let error;
|
|
||||||
let authenticated = false;
|
|
||||||
let logout;
|
|
||||||
|
|
||||||
if (clientState?.state === "valid") {
|
|
||||||
client = clientState.authenticated?.client;
|
|
||||||
setClient = clientState.setClient;
|
|
||||||
passwordlessUser = clientState.authenticated?.isPasswordlessUser ?? false;
|
|
||||||
loading = false;
|
|
||||||
authenticated = client !== undefined;
|
|
||||||
logout = clientState.authenticated?.logout;
|
|
||||||
} else if (clientState?.state === "error") {
|
|
||||||
error = clientState.error;
|
|
||||||
loading = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
client,
|
|
||||||
setClient,
|
|
||||||
passwordlessUser,
|
|
||||||
loading,
|
|
||||||
authenticated,
|
|
||||||
logout,
|
|
||||||
error,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const loadChannel =
|
|
||||||
"BroadcastChannel" in window ? new BroadcastChannel("load") : null;
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: JSX.Element;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const ClientProvider: FC<Props> = ({ children }) => {
|
|
||||||
const history = useHistory();
|
|
||||||
|
|
||||||
// null = signed out, undefined = loading
|
|
||||||
const [initClientState, setInitClientState] = useState<
|
|
||||||
InitResult | null | undefined
|
|
||||||
>(undefined);
|
|
||||||
|
|
||||||
const initializing = useRef(false);
|
|
||||||
useEffect(() => {
|
|
||||||
// In case the component is mounted, unmounted, and remounted quickly (as
|
|
||||||
// React does in strict mode), we need to make sure not to doubly initialize
|
|
||||||
// the client.
|
|
||||||
if (initializing.current) return;
|
|
||||||
initializing.current = true;
|
|
||||||
|
|
||||||
loadClient()
|
|
||||||
.then(setInitClientState)
|
|
||||||
.catch((err) => logger.error(err))
|
|
||||||
.finally(() => (initializing.current = false));
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
const changePassword = useCallback(
|
|
||||||
async (password: string) => {
|
|
||||||
const session = loadSession();
|
|
||||||
if (!initClientState?.client || !session) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await initClientState.client.setPassword(
|
|
||||||
{
|
|
||||||
type: "m.login.password",
|
|
||||||
identifier: {
|
|
||||||
type: "m.id.user",
|
|
||||||
user: session.user_id,
|
|
||||||
},
|
|
||||||
user: session.user_id,
|
|
||||||
password: session.tempPassword,
|
|
||||||
},
|
|
||||||
password,
|
|
||||||
);
|
|
||||||
|
|
||||||
saveSession({ ...session, passwordlessUser: false });
|
|
||||||
|
|
||||||
setInitClientState({
|
|
||||||
client: initClientState.client,
|
|
||||||
passwordlessUser: false,
|
|
||||||
});
|
|
||||||
},
|
|
||||||
[initClientState?.client],
|
|
||||||
);
|
|
||||||
|
|
||||||
const setClient = useCallback(
|
|
||||||
(clientParams?: SetClientParams) => {
|
|
||||||
const oldClient = initClientState?.client;
|
|
||||||
const newClient = clientParams?.client;
|
|
||||||
if (oldClient && oldClient !== newClient) {
|
|
||||||
oldClient.stopClient();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (clientParams) {
|
|
||||||
saveSession(clientParams.session);
|
|
||||||
setInitClientState({
|
|
||||||
client: clientParams.client,
|
|
||||||
passwordlessUser: clientParams.session.passwordlessUser,
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
clearSession();
|
|
||||||
setInitClientState(null);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[initClientState?.client],
|
|
||||||
);
|
|
||||||
|
|
||||||
const logout = useCallback(async () => {
|
|
||||||
const client = initClientState?.client;
|
|
||||||
if (!client) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await client.logout(true);
|
|
||||||
await client.clearStores();
|
|
||||||
clearSession();
|
|
||||||
setInitClientState(null);
|
|
||||||
history.push("/");
|
|
||||||
PosthogAnalytics.instance.setRegistrationType(RegistrationType.Guest);
|
|
||||||
}, [history, initClientState?.client]);
|
|
||||||
|
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
// To protect against multiple sessions writing to the same storage
|
|
||||||
// simultaneously, we send a broadcast message that shuts down all other
|
|
||||||
// running instances of the app. This isn't necessary if the app is running in
|
|
||||||
// a widget though, since then it'll be mostly stateless.
|
|
||||||
useEffect(() => {
|
|
||||||
if (!widget) loadChannel?.postMessage({});
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
const [alreadyOpenedErr, setAlreadyOpenedErr] = useState<Error | undefined>(
|
|
||||||
undefined,
|
|
||||||
);
|
|
||||||
useEventTarget(
|
|
||||||
loadChannel,
|
|
||||||
"message",
|
|
||||||
useCallback(() => {
|
|
||||||
initClientState?.client.stopClient();
|
|
||||||
setAlreadyOpenedErr(translatedError("application_opened_another_tab", t));
|
|
||||||
}, [initClientState?.client, setAlreadyOpenedErr, t]),
|
|
||||||
);
|
|
||||||
|
|
||||||
const [isDisconnected, setIsDisconnected] = useState(false);
|
|
||||||
|
|
||||||
const state: ClientState | undefined = useMemo(() => {
|
|
||||||
if (alreadyOpenedErr) {
|
|
||||||
return { state: "error", error: alreadyOpenedErr };
|
|
||||||
}
|
|
||||||
|
|
||||||
if (initClientState === undefined) return undefined;
|
|
||||||
|
|
||||||
const authenticated =
|
|
||||||
initClientState === null
|
|
||||||
? undefined
|
|
||||||
: {
|
|
||||||
client: initClientState.client,
|
|
||||||
isPasswordlessUser: initClientState.passwordlessUser,
|
|
||||||
changePassword,
|
|
||||||
logout,
|
|
||||||
};
|
|
||||||
|
|
||||||
return {
|
|
||||||
state: "valid",
|
|
||||||
authenticated,
|
|
||||||
setClient,
|
|
||||||
disconnected: isDisconnected,
|
|
||||||
};
|
|
||||||
}, [
|
|
||||||
alreadyOpenedErr,
|
|
||||||
changePassword,
|
|
||||||
initClientState,
|
|
||||||
logout,
|
|
||||||
setClient,
|
|
||||||
isDisconnected,
|
|
||||||
]);
|
|
||||||
|
|
||||||
const onSync = useCallback(
|
|
||||||
(state: SyncState, _old: SyncState | null, data?: ISyncStateData) => {
|
|
||||||
setIsDisconnected(clientIsDisconnected(state, data));
|
|
||||||
},
|
|
||||||
[],
|
|
||||||
);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (!initClientState) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
window.matrixclient = initClientState.client;
|
|
||||||
window.passwordlessUser = initClientState.passwordlessUser;
|
|
||||||
|
|
||||||
if (PosthogAnalytics.hasInstance())
|
|
||||||
PosthogAnalytics.instance.onLoginStatusChanged();
|
|
||||||
|
|
||||||
if (initClientState.client) {
|
|
||||||
initClientState.client.on(ClientEvent.Sync, onSync);
|
|
||||||
}
|
|
||||||
|
|
||||||
return () => {
|
|
||||||
if (initClientState.client) {
|
|
||||||
initClientState.client.removeListener(ClientEvent.Sync, onSync);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}, [initClientState, onSync]);
|
|
||||||
|
|
||||||
if (alreadyOpenedErr) {
|
|
||||||
return <ErrorView error={alreadyOpenedErr} />;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<ClientContext.Provider value={state}>{children}</ClientContext.Provider>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
type InitResult = {
|
|
||||||
client: MatrixClient;
|
|
||||||
passwordlessUser: boolean;
|
|
||||||
};
|
|
||||||
|
|
||||||
async function loadClient(): Promise<InitResult | null> {
|
|
||||||
if (widget) {
|
|
||||||
// We're inside a widget, so let's engage *matryoshka mode*
|
|
||||||
logger.log("Using a matryoshka client");
|
|
||||||
const client = await widget.client;
|
|
||||||
return {
|
|
||||||
client,
|
|
||||||
passwordlessUser: false,
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
// We're running as a standalone application
|
|
||||||
try {
|
|
||||||
const session = loadSession();
|
|
||||||
if (!session) {
|
|
||||||
logger.log("No session stored; continuing without a client");
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.log("Using a standalone client");
|
|
||||||
|
|
||||||
/* eslint-disable camelcase */
|
|
||||||
const { user_id, device_id, access_token, passwordlessUser } = session;
|
|
||||||
const initClientParams = {
|
|
||||||
baseUrl: Config.defaultHomeserverUrl()!,
|
|
||||||
accessToken: access_token,
|
|
||||||
userId: user_id,
|
|
||||||
deviceId: device_id,
|
|
||||||
fallbackICEServerAllowed: fallbackICEServerAllowed,
|
|
||||||
livekitServiceURL: Config.get().livekit!.livekit_service_url,
|
|
||||||
};
|
|
||||||
|
|
||||||
try {
|
|
||||||
const client = await initClient(initClientParams, true);
|
|
||||||
return {
|
|
||||||
client,
|
|
||||||
passwordlessUser,
|
|
||||||
};
|
|
||||||
} catch (err) {
|
|
||||||
if (err instanceof CryptoStoreIntegrityError) {
|
|
||||||
// We can't use this session anymore, so let's log it out
|
|
||||||
try {
|
|
||||||
const client = await initClient(initClientParams, false); // Don't need the crypto store just to log out)
|
|
||||||
await client.logout(true);
|
|
||||||
} catch (err) {
|
|
||||||
logger.warn(
|
|
||||||
"The previous session was lost, and we couldn't log it out, " +
|
|
||||||
err +
|
|
||||||
"either",
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
throw err;
|
|
||||||
}
|
|
||||||
/* eslint-enable camelcase */
|
|
||||||
} catch (err) {
|
|
||||||
clearSession();
|
|
||||||
throw err;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -407,20 +59,305 @@ export interface Session {
|
|||||||
tempPassword?: string;
|
tempPassword?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const clearSession = (): void => localStorage.removeItem("matrix-auth-store");
|
const loadChannel =
|
||||||
const saveSession = (s: Session): void =>
|
"BroadcastChannel" in window ? new BroadcastChannel("load") : null;
|
||||||
localStorage.setItem("matrix-auth-store", JSON.stringify(s));
|
|
||||||
const loadSession = (): Session | undefined => {
|
const loadSession = (): Session => {
|
||||||
const data = localStorage.getItem("matrix-auth-store");
|
const data = localStorage.getItem("matrix-auth-store");
|
||||||
if (!data) {
|
if (data) return JSON.parse(data);
|
||||||
return undefined;
|
return null;
|
||||||
|
};
|
||||||
|
const saveSession = (session: Session) =>
|
||||||
|
localStorage.setItem("matrix-auth-store", JSON.stringify(session));
|
||||||
|
const clearSession = () => localStorage.removeItem("matrix-auth-store");
|
||||||
|
|
||||||
|
interface ClientState {
|
||||||
|
loading: boolean;
|
||||||
|
isAuthenticated: boolean;
|
||||||
|
isPasswordlessUser: boolean;
|
||||||
|
client: MatrixClient;
|
||||||
|
userName: string;
|
||||||
|
changePassword: (password: string) => Promise<void>;
|
||||||
|
logout: () => void;
|
||||||
|
setClient: (client: MatrixClient, session: Session) => void;
|
||||||
|
error?: Error;
|
||||||
|
}
|
||||||
|
|
||||||
|
const ClientContext = createContext<ClientState>(null);
|
||||||
|
|
||||||
|
type ClientProviderState = Omit<
|
||||||
|
ClientState,
|
||||||
|
"changePassword" | "logout" | "setClient"
|
||||||
|
> & { error?: Error };
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
children: JSX.Element;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const ClientProvider: FC<Props> = ({ children }) => {
|
||||||
|
const history = useHistory();
|
||||||
|
const initializing = useRef(false);
|
||||||
|
const [
|
||||||
|
{ loading, isAuthenticated, isPasswordlessUser, client, userName, error },
|
||||||
|
setState,
|
||||||
|
] = useState<ClientProviderState>({
|
||||||
|
loading: true,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
client: undefined,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
// In case the component is mounted, unmounted, and remounted quickly (as
|
||||||
|
// React does in strict mode), we need to make sure not to doubly initialize
|
||||||
|
// the client
|
||||||
|
if (initializing.current) return;
|
||||||
|
initializing.current = true;
|
||||||
|
|
||||||
|
const init = async (): Promise<
|
||||||
|
Pick<ClientProviderState, "client" | "isPasswordlessUser">
|
||||||
|
> => {
|
||||||
|
if (widget) {
|
||||||
|
// We're inside a widget, so let's engage *matryoshka mode*
|
||||||
|
logger.log("Using a matryoshka client");
|
||||||
|
return {
|
||||||
|
client: await widget.client,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
// We're running as a standalone application
|
||||||
|
try {
|
||||||
|
const session = loadSession();
|
||||||
|
if (!session) return { client: undefined, isPasswordlessUser: false };
|
||||||
|
|
||||||
|
logger.log("Using a standalone client");
|
||||||
|
|
||||||
|
/* eslint-disable camelcase */
|
||||||
|
const { user_id, device_id, access_token, passwordlessUser } =
|
||||||
|
session;
|
||||||
|
|
||||||
|
const livekit = Config.get().livekit;
|
||||||
|
|
||||||
|
try {
|
||||||
|
return {
|
||||||
|
client: await initClient(
|
||||||
|
{
|
||||||
|
baseUrl: Config.defaultHomeserverUrl(),
|
||||||
|
accessToken: access_token,
|
||||||
|
userId: user_id,
|
||||||
|
deviceId: device_id,
|
||||||
|
fallbackICEServerAllowed: fallbackICEServerAllowed,
|
||||||
|
livekitServiceURL: livekit?.livekit_service_url,
|
||||||
|
},
|
||||||
|
true
|
||||||
|
),
|
||||||
|
isPasswordlessUser: passwordlessUser,
|
||||||
|
};
|
||||||
|
} catch (err) {
|
||||||
|
if (err instanceof CryptoStoreIntegrityError) {
|
||||||
|
// We can't use this session anymore, so let's log it out
|
||||||
|
try {
|
||||||
|
const client = await initClient(
|
||||||
|
{
|
||||||
|
baseUrl: Config.defaultHomeserverUrl(),
|
||||||
|
accessToken: access_token,
|
||||||
|
userId: user_id,
|
||||||
|
deviceId: device_id,
|
||||||
|
fallbackICEServerAllowed: fallbackICEServerAllowed,
|
||||||
|
livekitServiceURL: livekit?.livekit_service_url,
|
||||||
|
},
|
||||||
|
false // Don't need the crypto store just to log out
|
||||||
|
);
|
||||||
|
await client.logout(true);
|
||||||
|
} catch (err_) {
|
||||||
|
logger.warn(
|
||||||
|
"The previous session was lost, and we couldn't log it out, " +
|
||||||
|
"either"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
/* eslint-enable camelcase */
|
||||||
|
} catch (err) {
|
||||||
|
clearSession();
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
init()
|
||||||
|
.then(({ client, isPasswordlessUser }) => {
|
||||||
|
setState({
|
||||||
|
client,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: Boolean(client),
|
||||||
|
isPasswordlessUser,
|
||||||
|
userName: client?.getUserIdLocalpart(),
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
logger.error(err);
|
||||||
|
setState({
|
||||||
|
client: undefined,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.finally(() => (initializing.current = false));
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
const changePassword = useCallback(
|
||||||
|
async (password: string) => {
|
||||||
|
const { tempPassword, ...session } = loadSession();
|
||||||
|
|
||||||
|
await client.setPassword(
|
||||||
|
{
|
||||||
|
type: "m.login.password",
|
||||||
|
identifier: {
|
||||||
|
type: "m.id.user",
|
||||||
|
user: session.user_id,
|
||||||
|
},
|
||||||
|
user: session.user_id,
|
||||||
|
password: tempPassword,
|
||||||
|
},
|
||||||
|
password
|
||||||
|
);
|
||||||
|
|
||||||
|
saveSession({ ...session, passwordlessUser: false });
|
||||||
|
|
||||||
|
setState({
|
||||||
|
client,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: true,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
userName: client.getUserIdLocalpart(),
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
[client]
|
||||||
|
);
|
||||||
|
|
||||||
|
const setClient = useCallback(
|
||||||
|
(newClient: MatrixClient, session: Session) => {
|
||||||
|
if (client && client !== newClient) {
|
||||||
|
client.stopClient();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (newClient) {
|
||||||
|
saveSession(session);
|
||||||
|
|
||||||
|
setState({
|
||||||
|
client: newClient,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: true,
|
||||||
|
isPasswordlessUser: session.passwordlessUser,
|
||||||
|
userName: newClient.getUserIdLocalpart(),
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
clearSession();
|
||||||
|
|
||||||
|
setState({
|
||||||
|
client: undefined,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
[client]
|
||||||
|
);
|
||||||
|
|
||||||
|
const logout = useCallback(async () => {
|
||||||
|
await client.logout(true);
|
||||||
|
await client.clearStores();
|
||||||
|
clearSession();
|
||||||
|
setState({
|
||||||
|
client: undefined,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: true,
|
||||||
|
userName: "",
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
history.push("/");
|
||||||
|
PosthogAnalytics.instance.setRegistrationType(RegistrationType.Guest);
|
||||||
|
}, [history, client]);
|
||||||
|
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
// To protect against multiple sessions writing to the same storage
|
||||||
|
// simultaneously, we send a broadcast message that shuts down all other
|
||||||
|
// running instances of the app. This isn't necessary if the app is running in
|
||||||
|
// a widget though, since then it'll be mostly stateless.
|
||||||
|
useEffect(() => {
|
||||||
|
if (!widget) loadChannel?.postMessage({});
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
useEventTarget(
|
||||||
|
loadChannel,
|
||||||
|
"message",
|
||||||
|
useCallback(() => {
|
||||||
|
client?.stopClient();
|
||||||
|
|
||||||
|
setState((prev) => ({
|
||||||
|
...prev,
|
||||||
|
error: translatedError(
|
||||||
|
"This application has been opened in another tab.",
|
||||||
|
t
|
||||||
|
),
|
||||||
|
}));
|
||||||
|
}, [client, setState, t])
|
||||||
|
);
|
||||||
|
|
||||||
|
const context = useMemo<ClientState>(
|
||||||
|
() => ({
|
||||||
|
loading,
|
||||||
|
isAuthenticated,
|
||||||
|
isPasswordlessUser,
|
||||||
|
client,
|
||||||
|
changePassword,
|
||||||
|
logout,
|
||||||
|
userName,
|
||||||
|
setClient,
|
||||||
|
error: undefined,
|
||||||
|
}),
|
||||||
|
[
|
||||||
|
loading,
|
||||||
|
isAuthenticated,
|
||||||
|
isPasswordlessUser,
|
||||||
|
client,
|
||||||
|
changePassword,
|
||||||
|
logout,
|
||||||
|
userName,
|
||||||
|
setClient,
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
window.matrixclient = client;
|
||||||
|
window.isPasswordlessUser = isPasswordlessUser;
|
||||||
|
|
||||||
|
if (PosthogAnalytics.hasInstance())
|
||||||
|
PosthogAnalytics.instance.onLoginStatusChanged();
|
||||||
|
}, [client, isPasswordlessUser]);
|
||||||
|
|
||||||
|
if (error) {
|
||||||
|
return <ErrorView error={error} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return JSON.parse(data);
|
return (
|
||||||
|
<ClientContext.Provider value={context}>{children}</ClientContext.Provider>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const clientIsDisconnected = (
|
export const useClient = () => useContext(ClientContext);
|
||||||
syncState: SyncState,
|
|
||||||
syncData?: ISyncStateData,
|
|
||||||
): boolean =>
|
|
||||||
syncState === "ERROR" && syncData?.error?.name === "ConnectionError";
|
|
||||||
|
|||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import classNames from "classnames";
|
|
||||||
import { FC, HTMLAttributes, ReactNode } from "react";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
import styles from "./DisconnectedBanner.module.css";
|
|
||||||
import { ValidClientState, useClientState } from "./ClientContext";
|
|
||||||
|
|
||||||
interface Props extends HTMLAttributes<HTMLElement> {
|
|
||||||
children?: ReactNode;
|
|
||||||
className?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const DisconnectedBanner: FC<Props> = ({
|
|
||||||
children,
|
|
||||||
className,
|
|
||||||
...rest
|
|
||||||
}) => {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
const clientState = useClientState();
|
|
||||||
let shouldShowBanner = false;
|
|
||||||
|
|
||||||
if (clientState?.state === "valid") {
|
|
||||||
const validClientState = clientState as ValidClientState;
|
|
||||||
shouldShowBanner = validClientState.disconnected;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
{shouldShowBanner && (
|
|
||||||
<div className={classNames(styles.banner, className)} {...rest}>
|
|
||||||
{children}
|
|
||||||
{t("disconnected_banner")}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -14,11 +14,10 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function withFakeTimers(continuation: () => void): void {
|
.e2eeBanner {
|
||||||
jest.useFakeTimers();
|
display: flex;
|
||||||
try {
|
flex-direction: row;
|
||||||
continuation();
|
align-items: center;
|
||||||
} finally {
|
gap: 12px;
|
||||||
jest.useRealTimers();
|
font-size: var(--font-size-caption);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -14,18 +14,22 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ComponentPropsWithoutRef, FC } from "react";
|
import { Trans } from "react-i18next";
|
||||||
import { Button } from "@vector-im/compound-web";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import UserAddIcon from "@vector-im/compound-design-tokens/icons/user-add.svg?react";
|
|
||||||
|
|
||||||
export const InviteButton: FC<
|
import { Banner } from "./Banner";
|
||||||
Omit<ComponentPropsWithoutRef<"button">, "children">
|
import styles from "./E2EEBanner.module.css";
|
||||||
> = (props) => {
|
import { ReactComponent as LockOffIcon } from "./icons/LockOff.svg";
|
||||||
const { t } = useTranslation();
|
|
||||||
|
export const E2EEBanner = () => {
|
||||||
return (
|
return (
|
||||||
<Button kind="secondary" size="sm" Icon={UserAddIcon} {...props}>
|
<Banner>
|
||||||
{t("action.invite")}
|
<div className={styles.e2eeBanner}>
|
||||||
</Button>
|
<LockOffIcon width={24} height={24} />
|
||||||
|
<Trans>
|
||||||
|
Element Call is temporarily not end-to-end encrypted while we test
|
||||||
|
scalability.
|
||||||
|
</Trans>
|
||||||
|
</div>
|
||||||
|
</Banner>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -14,10 +14,15 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Focus } from "matrix-js-sdk/src/matrixrtc/focus";
|
.e2eeLock {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
|
||||||
export interface LivekitFocus extends Focus {
|
display: flex;
|
||||||
type: "livekit";
|
align-items: center;
|
||||||
livekit_service_url: string;
|
justify-content: center;
|
||||||
livekit_alias: string;
|
margin: 8px;
|
||||||
|
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: var(--subtle-primary);
|
||||||
}
|
}
|
||||||
58
src/E2EELock.tsx
Normal file
58
src/E2EELock.tsx
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2023 New Vector Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import { useCallback } from "react";
|
||||||
|
import { useObjectRef } from "@react-aria/utils";
|
||||||
|
import { useButton } from "@react-aria/button";
|
||||||
|
|
||||||
|
import styles from "./E2EELock.module.css";
|
||||||
|
import { ReactComponent as LockOffIcon } from "./icons/LockOff.svg";
|
||||||
|
import { TooltipTrigger } from "./Tooltip";
|
||||||
|
|
||||||
|
export const E2EELock = () => {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
const tooltip = useCallback(
|
||||||
|
() =>
|
||||||
|
t(
|
||||||
|
"Element Call is temporarily not end-to-end encrypted while we test scalability."
|
||||||
|
),
|
||||||
|
[t]
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<TooltipTrigger placement="right" tooltip={tooltip}>
|
||||||
|
<Icon />
|
||||||
|
</TooltipTrigger>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This component is a bit of hack - for some reason for the TooltipTrigger to
|
||||||
|
* work, it needs to contain a component which uses the useButton hook; please
|
||||||
|
* note that for some reason this also needs to be a separate component and we
|
||||||
|
* cannot just use the useButton hook inside the E2EELock.
|
||||||
|
*/
|
||||||
|
const Icon = () => {
|
||||||
|
const buttonRef = useObjectRef<HTMLDivElement>();
|
||||||
|
const { buttonProps } = useButton({}, buttonRef);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div ref={buttonRef} className={styles.e2eeLock} {...buttonProps}>
|
||||||
|
<LockOffIcon />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2023 New Vector Ltd
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@@ -14,14 +14,29 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.banner {
|
.facepile {
|
||||||
position: absolute;
|
width: 100%;
|
||||||
padding: 29px;
|
position: relative;
|
||||||
background-color: var(--cpd-color-bg-subtle-primary);
|
}
|
||||||
vertical-align: middle;
|
|
||||||
font-size: var(--font-size-body);
|
.facepile.xs {
|
||||||
text-align: center;
|
height: 24px;
|
||||||
z-index: 1;
|
}
|
||||||
top: 76px;
|
|
||||||
width: calc(100% - 58px);
|
.facepile.sm {
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.facepile.md {
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.facepile .avatar {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
border: 1px solid var(--system);
|
||||||
|
}
|
||||||
|
|
||||||
|
.facepile.md .avatar {
|
||||||
|
border-width: 2px;
|
||||||
}
|
}
|
||||||
97
src/Facepile.tsx
Normal file
97
src/Facepile.tsx
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { HTMLAttributes, useMemo } from "react";
|
||||||
|
import classNames from "classnames";
|
||||||
|
import { MatrixClient } from "matrix-js-sdk/src/client";
|
||||||
|
import { RoomMember } from "matrix-js-sdk/src/models/room-member";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
|
import styles from "./Facepile.module.css";
|
||||||
|
import { Avatar, Size, sizes } from "./Avatar";
|
||||||
|
|
||||||
|
const overlapMap: Partial<Record<Size, number>> = {
|
||||||
|
[Size.XS]: 2,
|
||||||
|
[Size.SM]: 4,
|
||||||
|
[Size.MD]: 8,
|
||||||
|
};
|
||||||
|
|
||||||
|
interface Props extends HTMLAttributes<HTMLDivElement> {
|
||||||
|
className: string;
|
||||||
|
client: MatrixClient;
|
||||||
|
members: RoomMember[];
|
||||||
|
max?: number;
|
||||||
|
size?: Size;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Facepile({
|
||||||
|
className,
|
||||||
|
client,
|
||||||
|
members,
|
||||||
|
max = 3,
|
||||||
|
size = Size.XS,
|
||||||
|
...rest
|
||||||
|
}: Props) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
const _size = sizes.get(size);
|
||||||
|
const _overlap = overlapMap[size];
|
||||||
|
|
||||||
|
const title = useMemo(() => {
|
||||||
|
return members.reduce<string | null>(
|
||||||
|
(prev, curr) =>
|
||||||
|
prev === null
|
||||||
|
? curr.name
|
||||||
|
: t("{{names}}, {{name}}", { names: prev, name: curr.name }),
|
||||||
|
null
|
||||||
|
) as string;
|
||||||
|
}, [members, t]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
className={classNames(styles.facepile, styles[size], className)}
|
||||||
|
title={title}
|
||||||
|
style={{
|
||||||
|
width:
|
||||||
|
Math.min(members.length, max + 1) * (_size - _overlap) + _overlap,
|
||||||
|
}}
|
||||||
|
{...rest}
|
||||||
|
>
|
||||||
|
{members.slice(0, max).map((member, i) => {
|
||||||
|
const avatarUrl = member.getMxcAvatarUrl();
|
||||||
|
return (
|
||||||
|
<Avatar
|
||||||
|
key={member.userId}
|
||||||
|
size={size}
|
||||||
|
src={avatarUrl ?? undefined}
|
||||||
|
fallback={member.name.slice(0, 1).toUpperCase()}
|
||||||
|
className={styles.avatar}
|
||||||
|
style={{ left: i * (_size - _overlap) }}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
{members.length > max && (
|
||||||
|
<Avatar
|
||||||
|
key="additional"
|
||||||
|
size={size}
|
||||||
|
fallback={`+${members.length - max}`}
|
||||||
|
className={styles.avatar}
|
||||||
|
style={{ left: max * (_size - _overlap) }}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -14,29 +14,25 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, ReactNode, useCallback, useEffect } from "react";
|
import { ReactNode, useCallback, useEffect } from "react";
|
||||||
import { useLocation } from "react-router-dom";
|
import { useLocation } from "react-router-dom";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import { Trans, useTranslation } from "react-i18next";
|
import { Trans, useTranslation } from "react-i18next";
|
||||||
import * as Sentry from "@sentry/react";
|
|
||||||
import { logger } from "matrix-js-sdk/src/logger";
|
|
||||||
|
|
||||||
import { Header, HeaderLogo, LeftNav, RightNav } from "./Header";
|
import { Header, HeaderLogo, LeftNav, RightNav } from "./Header";
|
||||||
import { LinkButton, Button } from "./button";
|
import { LinkButton, Button } from "./button";
|
||||||
|
import { useSubmitRageshake } from "./settings/submit-rageshake";
|
||||||
|
import { ErrorMessage } from "./input/Input";
|
||||||
import styles from "./FullScreenView.module.css";
|
import styles from "./FullScreenView.module.css";
|
||||||
import { TranslatedError } from "./TranslatedError";
|
import { translatedError, TranslatedError } from "./TranslatedError";
|
||||||
import { Config } from "./config/Config";
|
import { Config } from "./config/Config";
|
||||||
import { RageshakeButton } from "./settings/RageshakeButton";
|
|
||||||
|
|
||||||
interface FullScreenViewProps {
|
interface FullScreenViewProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const FullScreenView: FC<FullScreenViewProps> = ({
|
export function FullScreenView({ className, children }: FullScreenViewProps) {
|
||||||
className,
|
|
||||||
children,
|
|
||||||
}) => {
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(styles.page, className)}>
|
<div className={classNames(styles.page, className)}>
|
||||||
<Header>
|
<Header>
|
||||||
@@ -50,19 +46,18 @@ export const FullScreenView: FC<FullScreenViewProps> = ({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
interface ErrorViewProps {
|
interface ErrorViewProps {
|
||||||
error: Error;
|
error: Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const ErrorView: FC<ErrorViewProps> = ({ error }) => {
|
export function ErrorView({ error }: ErrorViewProps) {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
logger.error(error);
|
console.error(error);
|
||||||
Sentry.captureException(error);
|
|
||||||
}, [error]);
|
}, [error]);
|
||||||
|
|
||||||
const onReload = useCallback(() => {
|
const onReload = useCallback(() => {
|
||||||
@@ -71,13 +66,12 @@ export const ErrorView: FC<ErrorViewProps> = ({ error }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<FullScreenView>
|
<FullScreenView>
|
||||||
<h1>{t("common.error")}</h1>
|
<h1>Error</h1>
|
||||||
<p>
|
<p>
|
||||||
{error instanceof TranslatedError
|
{error instanceof TranslatedError
|
||||||
? error.translatedMessage
|
? error.translatedMessage
|
||||||
: error.message}
|
: error.message}
|
||||||
</p>
|
</p>
|
||||||
<RageshakeButton description={`***Error View***: ${error.message}`} />
|
|
||||||
{location.pathname === "/" ? (
|
{location.pathname === "/" ? (
|
||||||
<Button
|
<Button
|
||||||
size="lg"
|
size="lg"
|
||||||
@@ -85,7 +79,7 @@ export const ErrorView: FC<ErrorViewProps> = ({ error }) => {
|
|||||||
className={styles.homeLink}
|
className={styles.homeLink}
|
||||||
onPress={onReload}
|
onPress={onReload}
|
||||||
>
|
>
|
||||||
{t("return_home_button")}
|
{t("Return to home screen")}
|
||||||
</Button>
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
<LinkButton
|
<LinkButton
|
||||||
@@ -94,50 +88,79 @@ export const ErrorView: FC<ErrorViewProps> = ({ error }) => {
|
|||||||
className={styles.homeLink}
|
className={styles.homeLink}
|
||||||
to="/"
|
to="/"
|
||||||
>
|
>
|
||||||
{t("return_home_button")}
|
{t("Return to home screen")}
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
)}
|
)}
|
||||||
</FullScreenView>
|
</FullScreenView>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
export const CrashView: FC = () => {
|
export function CrashView() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
const { submitRageshake, sending, sent, error } = useSubmitRageshake();
|
||||||
|
|
||||||
|
const sendDebugLogs = useCallback(() => {
|
||||||
|
submitRageshake({
|
||||||
|
description: "**Soft Crash**",
|
||||||
|
sendLogs: true,
|
||||||
|
});
|
||||||
|
}, [submitRageshake]);
|
||||||
|
|
||||||
const onReload = useCallback(() => {
|
const onReload = useCallback(() => {
|
||||||
window.location.href = "/";
|
window.location.href = "/";
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
let logsComponent: JSX.Element | null = null;
|
||||||
|
if (sent) {
|
||||||
|
logsComponent = <div>{t("Thanks! We'll get right on it.")}</div>;
|
||||||
|
} else if (sending) {
|
||||||
|
logsComponent = <div>{t("Sending…")}</div>;
|
||||||
|
} else if (Config.get().rageshake?.submit_url) {
|
||||||
|
logsComponent = (
|
||||||
|
<Button
|
||||||
|
size="lg"
|
||||||
|
variant="default"
|
||||||
|
onPress={sendDebugLogs}
|
||||||
|
className={styles.wideButton}
|
||||||
|
>
|
||||||
|
{t("Send debug logs")}
|
||||||
|
</Button>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FullScreenView>
|
<FullScreenView>
|
||||||
<Trans i18nKey="full_screen_view_h1">
|
<Trans>
|
||||||
<h1>Oops, something's gone wrong.</h1>
|
<h1>Oops, something's gone wrong.</h1>
|
||||||
</Trans>
|
</Trans>
|
||||||
{Config.get().rageshake?.submit_url && (
|
{Config.get().rageshake?.submit_url && (
|
||||||
<Trans i18nKey="full_screen_view_description">
|
<Trans>
|
||||||
<p>Submitting debug logs will help us track down the problem.</p>
|
<p>Submitting debug logs will help us track down the problem.</p>
|
||||||
</Trans>
|
</Trans>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<RageshakeButton description="***Soft Crash***" />
|
<div className={styles.sendLogsSection}>{logsComponent}</div>
|
||||||
|
{error && (
|
||||||
|
<ErrorMessage error={translatedError("Couldn't send debug logs!", t)} />
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
size="lg"
|
size="lg"
|
||||||
variant="default"
|
variant="default"
|
||||||
className={styles.wideButton}
|
className={styles.wideButton}
|
||||||
onPress={onReload}
|
onPress={onReload}
|
||||||
>
|
>
|
||||||
{t("return_home_button")}
|
{t("Return to home screen")}
|
||||||
</Button>
|
</Button>
|
||||||
</FullScreenView>
|
</FullScreenView>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
export const LoadingView: FC = () => {
|
export function LoadingView() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FullScreenView>
|
<FullScreenView>
|
||||||
<h1>{t("common.loading")}</h1>
|
<h1>{t("Loading…")}</h1>
|
||||||
</FullScreenView>
|
</FullScreenView>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ limitations under the License.
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding-inline: var(--inline-content-inset);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
@@ -29,7 +28,8 @@ limitations under the License.
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
height: 80px;
|
padding: 0 20px;
|
||||||
|
height: 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headerLogo {
|
.headerLogo {
|
||||||
@@ -66,55 +66,81 @@ limitations under the License.
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.roomHeaderInfo {
|
|
||||||
display: grid;
|
|
||||||
column-gap: var(--cpd-space-4x);
|
|
||||||
grid-template-columns: auto auto;
|
|
||||||
grid-template-rows: 1fr auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.roomHeaderInfo[data-size="sm"] {
|
|
||||||
grid-template-areas: "avatar name" ". participants";
|
|
||||||
}
|
|
||||||
|
|
||||||
.roomHeaderInfo[data-size="lg"] {
|
|
||||||
grid-template-areas: "avatar name" "avatar participants";
|
|
||||||
}
|
|
||||||
|
|
||||||
.roomAvatar {
|
.roomAvatar {
|
||||||
align-self: flex-start;
|
position: relative;
|
||||||
grid-area: avatar;
|
display: none;
|
||||||
}
|
justify-content: center;
|
||||||
|
|
||||||
.nameLine {
|
|
||||||
grid-area: name;
|
|
||||||
flex-grow: 1;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--cpd-space-1x);
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 36px;
|
||||||
|
background-color: #5c56f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameLine > h1 {
|
.roomAvatar > * {
|
||||||
|
fill: white;
|
||||||
|
stroke: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.backButton {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
display: flex;
|
||||||
|
color: var(--primary-content);
|
||||||
|
cursor: pointer;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.backButton h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
/* XXX I can't actually get this ellipsis overflow to trigger, because
|
|
||||||
constraint propagation in a nested flexbox layout is a massive pain */
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameLine > svg {
|
.backButton > * {
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.backButton > :last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.userName {
|
||||||
|
font-weight: 600;
|
||||||
|
margin-right: 8px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.signOutButton {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
color: rgb(255, 75, 85);
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: 600;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.participantsLine {
|
.versionMismatchWarning {
|
||||||
grid-area: participants;
|
padding-left: 15px;
|
||||||
display: flex;
|
}
|
||||||
align-items: center;
|
|
||||||
gap: var(--cpd-space-1-5x);
|
.versionMismatchWarning::before {
|
||||||
|
content: "";
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
top: 1px;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
mask-image: url("./icons/AlertTriangleFilled.svg");
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
background-color: var(--alert);
|
||||||
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 800px) {
|
@media (min-width: 800px) {
|
||||||
.headerLogo,
|
.headerLogo,
|
||||||
|
.roomAvatar,
|
||||||
.leftNav.hideMobile,
|
.leftNav.hideMobile,
|
||||||
.rightNav.hideMobile {
|
.rightNav.hideMobile {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -123,4 +149,8 @@ limitations under the License.
|
|||||||
.leftNav h3 {
|
.leftNav h3 {
|
||||||
font-size: var(--font-size-subtitle);
|
font-size: var(--font-size-subtitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav {
|
||||||
|
height: 76px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
105
src/Header.stories.jsx
Normal file
105
src/Header.stories.jsx
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
import { GridLayoutMenu } from "./room/GridLayoutMenu";
|
||||||
|
import {
|
||||||
|
Header,
|
||||||
|
HeaderLogo,
|
||||||
|
LeftNav,
|
||||||
|
RightNav,
|
||||||
|
RoomHeaderInfo,
|
||||||
|
} from "./Header";
|
||||||
|
import { UserMenu } from "./UserMenu";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: "Header",
|
||||||
|
component: Header,
|
||||||
|
parameters: {
|
||||||
|
layout: "fullscreen",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const HomeAnonymous = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<HeaderLogo />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<UserMenu />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const HomeNamedGuest = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<HeaderLogo />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<UserMenu isAuthenticated isPasswordlessUser displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const HomeLoggedIn = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<HeaderLogo />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<UserMenu isAuthenticated displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const LobbyNamedGuest = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<RoomHeaderInfo roomName="Q4Roadmap" />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<UserMenu isAuthenticated isPasswordlessUser displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const LobbyLoggedIn = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<RoomHeaderInfo roomName="Q4Roadmap" />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<UserMenu isAuthenticated displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const InRoomNamedGuest = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<RoomHeaderInfo roomName="Q4Roadmap" />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<GridLayoutMenu layout="freedom" />
|
||||||
|
<UserMenu isAuthenticated isPasswordlessUser displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const InRoomLoggedIn = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<RoomHeaderInfo roomName="Q4Roadmap" />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav>
|
||||||
|
<GridLayoutMenu layout="freedom" />
|
||||||
|
<UserMenu isAuthenticated displayName="Yara" />
|
||||||
|
</RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
|
|
||||||
|
export const CreateAccount = () => (
|
||||||
|
<Header>
|
||||||
|
<LeftNav>
|
||||||
|
<HeaderLogo />
|
||||||
|
</LeftNav>
|
||||||
|
<RightNav></RightNav>
|
||||||
|
</Header>
|
||||||
|
);
|
||||||
125
src/Header.tsx
125
src/Header.tsx
@@ -15,30 +15,30 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import { FC, HTMLAttributes, ReactNode } from "react";
|
import { HTMLAttributes, ReactNode, useCallback } from "react";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
import { Room } from "matrix-js-sdk/src/models/room";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Heading, Text } from "@vector-im/compound-web";
|
|
||||||
import UserProfileIcon from "@vector-im/compound-design-tokens/icons/user-profile.svg?react";
|
|
||||||
|
|
||||||
import styles from "./Header.module.css";
|
import styles from "./Header.module.css";
|
||||||
import Logo from "./icons/Logo.svg?react";
|
import { useModalTriggerState } from "./Modal";
|
||||||
import { Avatar, Size } from "./Avatar";
|
import { Button } from "./button";
|
||||||
import { EncryptionLock } from "./room/EncryptionLock";
|
import { ReactComponent as Logo } from "./icons/Logo.svg";
|
||||||
import { useMediaQuery } from "./useMediaQuery";
|
import { Subtitle } from "./typography/Typography";
|
||||||
|
import { IncompatibleVersionModal } from "./IncompatibleVersionModal";
|
||||||
|
|
||||||
interface HeaderProps extends HTMLAttributes<HTMLElement> {
|
interface HeaderProps extends HTMLAttributes<HTMLElement> {
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Header: FC<HeaderProps> = ({ children, className, ...rest }) => {
|
export function Header({ children, className, ...rest }: HeaderProps) {
|
||||||
return (
|
return (
|
||||||
<header className={classNames(styles.header, className)} {...rest}>
|
<header className={classNames(styles.header, className)} {...rest}>
|
||||||
{children}
|
{children}
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
interface LeftNavProps extends HTMLAttributes<HTMLElement> {
|
interface LeftNavProps extends HTMLAttributes<HTMLElement> {
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
@@ -46,26 +46,26 @@ interface LeftNavProps extends HTMLAttributes<HTMLElement> {
|
|||||||
hideMobile?: boolean;
|
hideMobile?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LeftNav: FC<LeftNavProps> = ({
|
export function LeftNav({
|
||||||
children,
|
children,
|
||||||
className,
|
className,
|
||||||
hideMobile,
|
hideMobile,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}: LeftNavProps) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
styles.nav,
|
styles.nav,
|
||||||
styles.leftNav,
|
styles.leftNav,
|
||||||
{ [styles.hideMobile]: hideMobile },
|
{ [styles.hideMobile]: hideMobile },
|
||||||
className,
|
className
|
||||||
)}
|
)}
|
||||||
{...rest}
|
{...rest}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
interface RightNavProps extends HTMLAttributes<HTMLElement> {
|
interface RightNavProps extends HTMLAttributes<HTMLElement> {
|
||||||
children?: ReactNode;
|
children?: ReactNode;
|
||||||
@@ -73,95 +73,86 @@ interface RightNavProps extends HTMLAttributes<HTMLElement> {
|
|||||||
hideMobile?: boolean;
|
hideMobile?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const RightNav: FC<RightNavProps> = ({
|
export function RightNav({
|
||||||
children,
|
children,
|
||||||
className,
|
className,
|
||||||
hideMobile,
|
hideMobile,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}: RightNavProps) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
styles.nav,
|
styles.nav,
|
||||||
styles.rightNav,
|
styles.rightNav,
|
||||||
{ [styles.hideMobile]: hideMobile },
|
{ [styles.hideMobile]: hideMobile },
|
||||||
className,
|
className
|
||||||
)}
|
)}
|
||||||
{...rest}
|
{...rest}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
interface HeaderLogoProps {
|
interface HeaderLogoProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const HeaderLogo: FC<HeaderLogoProps> = ({ className }) => {
|
export function HeaderLogo({ className }: HeaderLogoProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
className={classNames(styles.headerLogo, className)}
|
className={classNames(styles.headerLogo, className)}
|
||||||
to="/"
|
to="/"
|
||||||
aria-label={t("header_label")}
|
aria-label={t("Element Call Home")}
|
||||||
>
|
>
|
||||||
<Logo />
|
<Logo />
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
};
|
|
||||||
|
|
||||||
interface RoomHeaderInfoProps {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
avatarUrl: string | null;
|
|
||||||
encrypted: boolean;
|
|
||||||
participantCount: number;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const RoomHeaderInfo: FC<RoomHeaderInfoProps> = ({
|
interface RoomHeaderInfo {
|
||||||
id,
|
roomName: string;
|
||||||
name,
|
}
|
||||||
avatarUrl,
|
|
||||||
encrypted,
|
export function RoomHeaderInfo({ roomName }: RoomHeaderInfo) {
|
||||||
participantCount,
|
return (
|
||||||
}) => {
|
<>
|
||||||
|
<Subtitle data-testid="roomHeader_roomName" fontWeight="semiBold">
|
||||||
|
{roomName}
|
||||||
|
</Subtitle>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
interface VersionMismatchWarningProps {
|
||||||
|
users: Set<string>;
|
||||||
|
room: Room;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function VersionMismatchWarning({
|
||||||
|
users,
|
||||||
|
room,
|
||||||
|
}: VersionMismatchWarningProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const size = useMediaQuery("(max-width: 550px)") ? "sm" : "lg";
|
const { modalState, modalProps } = useModalTriggerState();
|
||||||
|
|
||||||
|
const onDetailsClick = useCallback(() => {
|
||||||
|
modalState.open();
|
||||||
|
}, [modalState]);
|
||||||
|
|
||||||
|
if (users.size === 0) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.roomHeaderInfo} data-size={size}>
|
<span className={styles.versionMismatchWarning}>
|
||||||
<Avatar
|
{t("Incompatible versions!")}
|
||||||
className={styles.roomAvatar}
|
<Button variant="link" onClick={onDetailsClick}>
|
||||||
id={id}
|
{t("Details")}
|
||||||
name={name}
|
</Button>
|
||||||
size={size === "sm" ? Size.SM : 56}
|
{modalState.isOpen && (
|
||||||
src={avatarUrl ?? undefined}
|
<IncompatibleVersionModal userIds={users} room={room} {...modalProps} />
|
||||||
/>
|
|
||||||
<div className={styles.nameLine}>
|
|
||||||
<Heading
|
|
||||||
type={size === "sm" ? "body" : "heading"}
|
|
||||||
size={size === "sm" ? "lg" : "md"}
|
|
||||||
weight="semibold"
|
|
||||||
data-testid="roomHeader_roomName"
|
|
||||||
>
|
|
||||||
{name}
|
|
||||||
</Heading>
|
|
||||||
<EncryptionLock encrypted={encrypted} />
|
|
||||||
</div>
|
|
||||||
{participantCount > 0 && (
|
|
||||||
<div className={styles.participantsLine}>
|
|
||||||
<UserProfileIcon
|
|
||||||
width={20}
|
|
||||||
height={20}
|
|
||||||
aria-label={t("header_participants_label")}
|
|
||||||
/>
|
|
||||||
<Text as="span" size="sm" weight="medium">
|
|
||||||
{t("participant_count", { count: participantCount })}
|
|
||||||
</Text>
|
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</span>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
60
src/IncompatibleVersionModal.tsx
Normal file
60
src/IncompatibleVersionModal.tsx
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Room } from "matrix-js-sdk/src/models/room";
|
||||||
|
import { FC, useMemo } from "react";
|
||||||
|
import { Trans, useTranslation } from "react-i18next";
|
||||||
|
|
||||||
|
import { Modal, ModalContent } from "./Modal";
|
||||||
|
import { Body } from "./typography/Typography";
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
userIds: Set<string>;
|
||||||
|
room: Room;
|
||||||
|
onClose: () => void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const IncompatibleVersionModal: FC<Props> = ({
|
||||||
|
userIds,
|
||||||
|
room,
|
||||||
|
onClose,
|
||||||
|
...rest
|
||||||
|
}) => {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
const userLis = useMemo(
|
||||||
|
() => [...userIds].map((u) => <li>{room.getMember(u)?.name ?? u}</li>),
|
||||||
|
[userIds, room]
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Modal
|
||||||
|
title={t("Incompatible versions")}
|
||||||
|
isDismissable
|
||||||
|
onClose={onClose}
|
||||||
|
{...rest}
|
||||||
|
>
|
||||||
|
<ModalContent>
|
||||||
|
<Body>
|
||||||
|
<Trans>
|
||||||
|
Other users are trying to join this call from incompatible versions.
|
||||||
|
These users should ensure that they have refreshed their browsers:
|
||||||
|
<ul>{userLis}</ul>
|
||||||
|
</Trans>
|
||||||
|
</Body>
|
||||||
|
</ModalContent>
|
||||||
|
</Modal>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -63,7 +63,7 @@ export class LazyEventEmitter extends EventEmitter {
|
|||||||
public addListener(
|
public addListener(
|
||||||
type: string | symbol,
|
type: string | symbol,
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
listener: (...args: any[]) => void,
|
listener: (...args: any[]) => void
|
||||||
): this {
|
): this {
|
||||||
return this.on(type, listener);
|
return this.on(type, listener);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ limitations under the License.
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 1px solid var(--cpd-color-border-interactive-secondary);
|
border: 1px solid var(--quinary-content);
|
||||||
background-color: var(--cpd-color-bg-canvas-default);
|
background-color: var(--background);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ limitations under the License.
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: var(--cpd-color-text-primary);
|
color: var(--primary-content);
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -44,6 +44,6 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.option.disabled {
|
.option.disabled {
|
||||||
color: var(--cpd-color-text-disabled);
|
color: var(--quaternary-content);
|
||||||
background-color: var(--stopgap-bgColor3);
|
background-color: var(--bgColor3);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,13 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import { MutableRefObject, PointerEvent, useCallback, useRef } from "react";
|
||||||
MutableRefObject,
|
|
||||||
PointerEvent,
|
|
||||||
ReactNode,
|
|
||||||
useCallback,
|
|
||||||
useRef,
|
|
||||||
} from "react";
|
|
||||||
import { useListBox, useOption, AriaListBoxOptions } from "@react-aria/listbox";
|
import { useListBox, useOption, AriaListBoxOptions } from "@react-aria/listbox";
|
||||||
import { ListState } from "@react-stately/list";
|
import { ListState } from "@react-stately/list";
|
||||||
import { Node } from "@react-types/shared";
|
import { Node } from "@react-types/shared";
|
||||||
@@ -41,17 +35,16 @@ export function ListBox<T>({
|
|||||||
className,
|
className,
|
||||||
listBoxRef,
|
listBoxRef,
|
||||||
...rest
|
...rest
|
||||||
}: ListBoxProps<T>): ReactNode {
|
}: ListBoxProps<T>) {
|
||||||
const ref = useRef<HTMLUListElement>(null);
|
const ref = useRef<HTMLUListElement>();
|
||||||
|
if (!listBoxRef) listBoxRef = ref;
|
||||||
|
|
||||||
const listRef = listBoxRef ?? ref;
|
const { listBoxProps } = useListBox(rest, state, listBoxRef);
|
||||||
|
|
||||||
const { listBoxProps } = useListBox(rest, state, listRef);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ul
|
<ul
|
||||||
{...listBoxProps}
|
{...listBoxProps}
|
||||||
ref={listRef}
|
ref={listBoxRef}
|
||||||
className={classNames(styles.listBox, className)}
|
className={classNames(styles.listBox, className)}
|
||||||
>
|
>
|
||||||
{[...state.collection].map((item) => (
|
{[...state.collection].map((item) => (
|
||||||
@@ -72,12 +65,12 @@ interface OptionProps<T> {
|
|||||||
item: Node<T>;
|
item: Node<T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
function Option<T>({ item, state, className }: OptionProps<T>): ReactNode {
|
function Option<T>({ item, state, className }: OptionProps<T>) {
|
||||||
const ref = useRef(null);
|
const ref = useRef();
|
||||||
const { optionProps, isSelected, isFocused, isDisabled } = useOption(
|
const { optionProps, isSelected, isFocused, isDisabled } = useOption(
|
||||||
{ key: item.key },
|
{ key: item.key },
|
||||||
state,
|
state,
|
||||||
ref,
|
ref
|
||||||
);
|
);
|
||||||
|
|
||||||
// Hack: remove the onPointerUp event handler and re-wire it to
|
// Hack: remove the onPointerUp event handler and re-wire it to
|
||||||
@@ -90,14 +83,10 @@ function Option<T>({ item, state, className }: OptionProps<T>): ReactNode {
|
|||||||
const origPointerUp = optionProps.onPointerUp;
|
const origPointerUp = optionProps.onPointerUp;
|
||||||
delete optionProps.onPointerUp;
|
delete optionProps.onPointerUp;
|
||||||
optionProps.onClick = useCallback(
|
optionProps.onClick = useCallback(
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
||||||
// @ts-ignore
|
|
||||||
(e) => {
|
(e) => {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
||||||
// @ts-ignore
|
|
||||||
origPointerUp(e as unknown as PointerEvent<HTMLElement>);
|
origPointerUp(e as unknown as PointerEvent<HTMLElement>);
|
||||||
},
|
},
|
||||||
[origPointerUp],
|
[origPointerUp]
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ limitations under the License.
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
color: var(--cpd-color-text-primary);
|
color: var(--primary-content);
|
||||||
font-size: var(--font-size-body);
|
font-size: var(--font-size-body);
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -44,11 +44,7 @@ limitations under the License.
|
|||||||
|
|
||||||
.menuItem.focused,
|
.menuItem.focused,
|
||||||
.menuItem:hover {
|
.menuItem:hover {
|
||||||
background-color: var(--cpd-color-bg-action-secondary-hovered);
|
background-color: var(--quinary-content);
|
||||||
}
|
|
||||||
|
|
||||||
.menuItem:active {
|
|
||||||
background-color: var(--cpd-color-bg-action-secondary-pressed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuItem.focused:first-child,
|
.menuItem.focused:first-child,
|
||||||
@@ -69,5 +65,5 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.checkIcon * {
|
.checkIcon * {
|
||||||
stroke: var(--cpd-color-text-primary);
|
stroke: var(--primary-content);
|
||||||
}
|
}
|
||||||
|
|||||||
21
src/Menu.tsx
21
src/Menu.tsx
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Key, ReactNode, useRef, useState } from "react";
|
import { Key, useRef, useState } from "react";
|
||||||
import { AriaMenuOptions, useMenu, useMenuItem } from "@react-aria/menu";
|
import { AriaMenuOptions, useMenu, useMenuItem } from "@react-aria/menu";
|
||||||
import { TreeState, useTreeState } from "@react-stately/tree";
|
import { TreeState, useTreeState } from "@react-stately/tree";
|
||||||
import { mergeProps } from "@react-aria/utils";
|
import { mergeProps } from "@react-aria/utils";
|
||||||
@@ -25,8 +25,8 @@ import { Node } from "@react-types/shared";
|
|||||||
import styles from "./Menu.module.css";
|
import styles from "./Menu.module.css";
|
||||||
|
|
||||||
interface MenuProps<T> extends AriaMenuOptions<T> {
|
interface MenuProps<T> extends AriaMenuOptions<T> {
|
||||||
className?: string;
|
className?: String;
|
||||||
onClose: () => void;
|
onClose?: () => void;
|
||||||
onAction: (value: Key) => void;
|
onAction: (value: Key) => void;
|
||||||
label?: string;
|
label?: string;
|
||||||
}
|
}
|
||||||
@@ -37,9 +37,9 @@ export function Menu<T extends object>({
|
|||||||
onClose,
|
onClose,
|
||||||
label,
|
label,
|
||||||
...rest
|
...rest
|
||||||
}: MenuProps<T>): ReactNode {
|
}: MenuProps<T>) {
|
||||||
const state = useTreeState<T>({ ...rest, selectionMode: "none" });
|
const state = useTreeState<T>({ ...rest, selectionMode: "none" });
|
||||||
const menuRef = useRef(null);
|
const menuRef = useRef();
|
||||||
const { menuProps } = useMenu<T>(rest, state, menuRef);
|
const { menuProps } = useMenu<T>(rest, state, menuRef);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -68,13 +68,8 @@ interface MenuItemProps<T> {
|
|||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
function MenuItem<T>({
|
function MenuItem<T>({ item, state, onAction, onClose }: MenuItemProps<T>) {
|
||||||
item,
|
const ref = useRef();
|
||||||
state,
|
|
||||||
onAction,
|
|
||||||
onClose,
|
|
||||||
}: MenuItemProps<T>): ReactNode {
|
|
||||||
const ref = useRef(null);
|
|
||||||
const { menuItemProps } = useMenuItem(
|
const { menuItemProps } = useMenuItem(
|
||||||
{
|
{
|
||||||
key: item.key,
|
key: item.key,
|
||||||
@@ -82,7 +77,7 @@ function MenuItem<T>({
|
|||||||
onClose,
|
onClose,
|
||||||
},
|
},
|
||||||
state,
|
state,
|
||||||
ref,
|
ref
|
||||||
);
|
);
|
||||||
|
|
||||||
const [isFocused, setFocused] = useState(false);
|
const [isFocused, setFocused] = useState(false);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022 - 2023 New Vector Ltd
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@@ -14,132 +14,77 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.modal {
|
.modalOverlay {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 100;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
background: rgba(23, 25, 28, 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog {
|
|
||||||
box-sizing: border-box;
|
|
||||||
inline-size: 520px;
|
|
||||||
max-inline-size: 90%;
|
|
||||||
max-block-size: 600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
overflow: hidden;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog .content {
|
|
||||||
background: var(--cpd-color-bg-canvas-default);
|
|
||||||
}
|
|
||||||
|
|
||||||
.drawer .content {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.drawer {
|
|
||||||
background: var(--cpd-color-bg-canvas-default);
|
|
||||||
inset-block-end: 0;
|
|
||||||
inset-inline: max(0px, calc((100% - 520px) / 2));
|
|
||||||
max-block-size: 90%;
|
|
||||||
border-start-start-radius: var(--border-radius);
|
|
||||||
border-start-end-radius: var(--border-radius);
|
|
||||||
/* Drawer comes in the Android style by default */
|
|
||||||
--border-radius: 28px;
|
|
||||||
--handle-block-size: 4px;
|
|
||||||
--handle-inline-size: 32px;
|
|
||||||
--handle-inset-block-start: var(--cpd-space-4x);
|
|
||||||
--handle-inset-block-end: var(--cpd-space-4x);
|
|
||||||
}
|
|
||||||
|
|
||||||
body[data-platform="ios"] .drawer {
|
|
||||||
--border-radius: 10px;
|
|
||||||
--handle-block-size: 5px;
|
|
||||||
--handle-inline-size: 36px;
|
|
||||||
--handle-inset-block-start: var(--cpd-space-1-5x);
|
|
||||||
--handle-inset-block-end: calc(var(--cpd-space-1x) / 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.close {
|
|
||||||
cursor: pointer;
|
|
||||||
color: var(--cpd-color-icon-secondary);
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
padding: var(--cpd-space-1x);
|
|
||||||
background: var(--cpd-color-bg-subtle-secondary);
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.close svg {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (hover: hover) {
|
|
||||||
.close:hover {
|
|
||||||
background: var(--cpd-color-bg-subtle-primary);
|
|
||||||
color: var(--cpd-color-icon-primary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.close:active {
|
|
||||||
background: var(--cpd-color-bg-subtle-primary);
|
|
||||||
color: var(--cpd-color-icon-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
background: var(--cpd-color-bg-subtle-secondary);
|
|
||||||
display: grid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog .header {
|
|
||||||
padding-block-start: var(--cpd-space-4x);
|
|
||||||
grid-template-columns:
|
|
||||||
var(--cpd-space-10x) 1fr minmax(var(--cpd-space-6x), auto)
|
|
||||||
var(--cpd-space-4x);
|
|
||||||
grid-template-rows: auto minmax(var(--cpd-space-4x), auto);
|
|
||||||
/* TODO: Support tabs */
|
|
||||||
grid-template-areas: ". title close ." "tabs tabs tabs tabs";
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog .header h2 {
|
.modal {
|
||||||
grid-area: title;
|
background: #21262c;
|
||||||
|
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
|
||||||
|
border-radius: 8px;
|
||||||
|
max-width: 90vw;
|
||||||
|
width: 600px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modalHeader {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 34px 32px 0 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modalHeader h3 {
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: var(--font-size-title);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer .header {
|
.closeButton {
|
||||||
grid-template-areas: "tabs";
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: transparent;
|
||||||
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.content {
|
||||||
grid-area: close;
|
padding: 24px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.content p {
|
||||||
flex-grow: 1;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog .body {
|
@media (max-width: 799px) {
|
||||||
padding-inline: var(--cpd-space-10x);
|
.modalHeader {
|
||||||
padding-block: var(--cpd-space-10x) var(--cpd-space-12x);
|
display: flex;
|
||||||
overflow: auto;
|
justify-content: space-between;
|
||||||
}
|
padding: 32px 20px 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.drawer .body {
|
.modal.mobileFullScreen {
|
||||||
padding-inline: var(--cpd-space-4x);
|
position: fixed;
|
||||||
padding-block: var(--cpd-space-9x) var(--cpd-space-10x);
|
left: 0;
|
||||||
}
|
right: 0;
|
||||||
|
top: 0;
|
||||||
.handle {
|
bottom: 0;
|
||||||
content: "";
|
width: 100%;
|
||||||
position: absolute;
|
height: 100%;
|
||||||
block-size: var(--handle-block-size);
|
max-width: none;
|
||||||
inset-inline: calc((100% - var(--handle-inline-size)) / 2);
|
max-height: none;
|
||||||
inset-block-start: var(--handle-inset-block-start);
|
border-radius: 0;
|
||||||
background: var(--cpd-color-icon-secondary);
|
}
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
}
|
}
|
||||||
|
|||||||
213
src/Modal.tsx
213
src/Modal.tsx
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2023 New Vector Ltd
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@@ -14,140 +14,123 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, ReactNode, useCallback } from "react";
|
/* eslint-disable jsx-a11y/no-autofocus */
|
||||||
|
|
||||||
|
import { useRef, useMemo, ReactNode } from "react";
|
||||||
|
import {
|
||||||
|
useOverlay,
|
||||||
|
usePreventScroll,
|
||||||
|
useModal,
|
||||||
|
OverlayContainer,
|
||||||
|
OverlayProps,
|
||||||
|
} from "@react-aria/overlays";
|
||||||
|
import {
|
||||||
|
OverlayTriggerState,
|
||||||
|
useOverlayTriggerState,
|
||||||
|
} from "@react-stately/overlays";
|
||||||
|
import { useDialog } from "@react-aria/dialog";
|
||||||
|
import { FocusScope } from "@react-aria/focus";
|
||||||
|
import { useButton } from "@react-aria/button";
|
||||||
|
import classNames from "classnames";
|
||||||
import { AriaDialogProps } from "@react-types/dialog";
|
import { AriaDialogProps } from "@react-types/dialog";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import {
|
|
||||||
Root as DialogRoot,
|
|
||||||
Portal as DialogPortal,
|
|
||||||
Overlay as DialogOverlay,
|
|
||||||
Content as DialogContent,
|
|
||||||
Title as DialogTitle,
|
|
||||||
Close as DialogClose,
|
|
||||||
} from "@radix-ui/react-dialog";
|
|
||||||
import { Drawer } from "vaul";
|
|
||||||
import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
|
|
||||||
import CloseIcon from "@vector-im/compound-design-tokens/icons/close.svg?react";
|
|
||||||
import classNames from "classnames";
|
|
||||||
import { Heading, Glass } from "@vector-im/compound-web";
|
|
||||||
|
|
||||||
|
import { ReactComponent as CloseIcon } from "./icons/Close.svg";
|
||||||
import styles from "./Modal.module.css";
|
import styles from "./Modal.module.css";
|
||||||
import overlayStyles from "./Overlay.module.css";
|
|
||||||
import { useMediaQuery } from "./useMediaQuery";
|
|
||||||
|
|
||||||
// TODO: Support tabs
|
export interface ModalProps extends OverlayProps, AriaDialogProps {
|
||||||
export interface Props extends AriaDialogProps {
|
|
||||||
title: string;
|
title: string;
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
/**
|
mobileFullScreen?: boolean;
|
||||||
* The controlled open state of the modal.
|
onClose: () => void;
|
||||||
*/
|
|
||||||
// An option to leave the open state uncontrolled is intentionally not
|
|
||||||
// provided, since modals are always opened due to external triggers, and it
|
|
||||||
// is the author's belief that controlled components lead to more obvious code.
|
|
||||||
open: boolean;
|
|
||||||
/**
|
|
||||||
* Callback for when the user dismisses the modal. If undefined, the modal
|
|
||||||
* will be non-dismissable.
|
|
||||||
*/
|
|
||||||
onDismiss?: () => void;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
export function Modal({
|
||||||
* A modal, taking the form of a drawer / bottom sheet on touchscreen devices,
|
|
||||||
* and a dialog box on desktop.
|
|
||||||
*/
|
|
||||||
export const Modal: FC<Props> = ({
|
|
||||||
title,
|
title,
|
||||||
children,
|
children,
|
||||||
className,
|
className,
|
||||||
open,
|
mobileFullScreen,
|
||||||
onDismiss,
|
onClose,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}: ModalProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
// Empirically, Chrome on Android can end up not matching (hover: none), but
|
const modalRef = useRef();
|
||||||
// still matching (pointer: coarse) :/
|
const { overlayProps, underlayProps } = useOverlay(
|
||||||
const touchscreen = useMediaQuery("(hover: none) or (pointer: coarse)");
|
{ ...rest, onClose },
|
||||||
const onOpenChange = useCallback(
|
modalRef
|
||||||
(open: boolean) => {
|
);
|
||||||
if (!open) onDismiss?.();
|
usePreventScroll();
|
||||||
|
const { modalProps } = useModal();
|
||||||
|
const { dialogProps, titleProps } = useDialog(rest, modalRef);
|
||||||
|
const closeButtonRef = useRef();
|
||||||
|
const { buttonProps: closeButtonProps } = useButton(
|
||||||
|
{
|
||||||
|
onPress: () => onClose(),
|
||||||
},
|
},
|
||||||
[onDismiss],
|
closeButtonRef
|
||||||
);
|
);
|
||||||
|
|
||||||
if (touchscreen) {
|
return (
|
||||||
return (
|
<OverlayContainer>
|
||||||
<Drawer.Root
|
<div className={styles.modalOverlay} {...underlayProps}>
|
||||||
open={open}
|
<FocusScope contain restoreFocus autoFocus>
|
||||||
onOpenChange={onOpenChange}
|
<div
|
||||||
dismissible={onDismiss !== undefined}
|
{...overlayProps}
|
||||||
>
|
{...dialogProps}
|
||||||
<Drawer.Portal>
|
{...modalProps}
|
||||||
<Drawer.Overlay className={classNames(overlayStyles.bg)} />
|
ref={modalRef}
|
||||||
<Drawer.Content
|
|
||||||
className={classNames(
|
className={classNames(
|
||||||
className,
|
|
||||||
overlayStyles.overlay,
|
|
||||||
styles.modal,
|
styles.modal,
|
||||||
styles.drawer,
|
{ [styles.mobileFullScreen]: mobileFullScreen },
|
||||||
|
className
|
||||||
)}
|
)}
|
||||||
{...rest}
|
|
||||||
>
|
>
|
||||||
<div className={styles.content}>
|
<div className={styles.modalHeader}>
|
||||||
<div className={styles.header}>
|
<h3 {...titleProps}>{title}</h3>
|
||||||
<div className={styles.handle} />
|
<button
|
||||||
<VisuallyHidden asChild>
|
{...closeButtonProps}
|
||||||
<Drawer.Title>{title}</Drawer.Title>
|
ref={closeButtonRef}
|
||||||
</VisuallyHidden>
|
className={styles.closeButton}
|
||||||
</div>
|
data-testid="modal_close"
|
||||||
<div className={styles.body}>{children}</div>
|
title={t("Close")}
|
||||||
|
>
|
||||||
|
<CloseIcon />
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</Drawer.Content>
|
{children}
|
||||||
</Drawer.Portal>
|
</div>
|
||||||
</Drawer.Root>
|
</FocusScope>
|
||||||
);
|
</div>
|
||||||
} else {
|
</OverlayContainer>
|
||||||
return (
|
);
|
||||||
<DialogRoot open={open} onOpenChange={onOpenChange}>
|
}
|
||||||
<DialogPortal>
|
|
||||||
<DialogOverlay
|
interface ModalContentProps {
|
||||||
className={classNames(overlayStyles.bg, overlayStyles.animate)}
|
children: ReactNode;
|
||||||
/>
|
className?: string;
|
||||||
<DialogContent asChild {...rest}>
|
}
|
||||||
<Glass
|
|
||||||
className={classNames(
|
export function ModalContent({
|
||||||
className,
|
children,
|
||||||
overlayStyles.overlay,
|
className,
|
||||||
overlayStyles.animate,
|
...rest
|
||||||
styles.modal,
|
}: ModalContentProps) {
|
||||||
styles.dialog,
|
return (
|
||||||
)}
|
<div className={classNames(styles.content, className)} {...rest}>
|
||||||
>
|
{children}
|
||||||
<div className={styles.content}>
|
</div>
|
||||||
<div className={styles.header}>
|
);
|
||||||
<DialogTitle asChild>
|
}
|
||||||
<Heading as="h2" weight="semibold" size="md">
|
|
||||||
{title}
|
export function useModalTriggerState(): {
|
||||||
</Heading>
|
modalState: OverlayTriggerState;
|
||||||
</DialogTitle>
|
modalProps: { isOpen: boolean; onClose: () => void };
|
||||||
{onDismiss !== undefined && (
|
} {
|
||||||
<DialogClose
|
const modalState = useOverlayTriggerState({});
|
||||||
className={styles.close}
|
const modalProps = useMemo(
|
||||||
data-testid="modal_close"
|
() => ({ isOpen: modalState.isOpen, onClose: modalState.close }),
|
||||||
aria-label={t("action.close")}
|
[modalState]
|
||||||
>
|
);
|
||||||
<CloseIcon width={20} height={20} />
|
return { modalState, modalProps };
|
||||||
</DialogClose>
|
}
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className={styles.body}>{children}</div>
|
|
||||||
</div>
|
|
||||||
</Glass>
|
|
||||||
</DialogContent>
|
|
||||||
</DialogPortal>
|
|
||||||
</DialogRoot>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|||||||
@@ -1,97 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.bg {
|
|
||||||
position: fixed;
|
|
||||||
inset: 0;
|
|
||||||
background: rgba(3, 12, 27, 0.528);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fade-in {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg.animate[data-state="open"] {
|
|
||||||
animation: fade-in 200ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fade-out {
|
|
||||||
from {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg.animate[data-state="closed"] {
|
|
||||||
animation: fade-out 130ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay {
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay.animate {
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes zoom-in {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
transform: translate(-50%, -50%) scale(80%);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translate(-50%, -50%) scale(100%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes zoom-out {
|
|
||||||
from {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translate(-50%, -50%) scale(100%);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 0;
|
|
||||||
transform: translate(-50%, -50%) scale(80%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay.animate[data-state="open"] {
|
|
||||||
animation: zoom-in 200ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay.animate[data-state="closed"] {
|
|
||||||
animation: zoom-out 130ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-reduced-motion) {
|
|
||||||
.overlay.animate[data-state="open"] {
|
|
||||||
animation-name: fade-in;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay.animate[data-state="closed"] {
|
|
||||||
animation-name: fade-out;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The platform on which the application is running.
|
|
||||||
*/
|
|
||||||
// The granularity of this value is kind of arbitrary: it distinguishes exactly
|
|
||||||
// the platforms that the app needs to know about in order to correctly
|
|
||||||
// implement the designs and work around platform-specific browser weirdness.
|
|
||||||
// Feel free to increase or decrease that granularity in the future as project
|
|
||||||
// requirements change.
|
|
||||||
export let platform: "android" | "ios" | "desktop";
|
|
||||||
|
|
||||||
if (/android/i.test(navigator.userAgent)) {
|
|
||||||
platform = "android";
|
|
||||||
// We include 'Mac' here and double-check for touch support because iPads on
|
|
||||||
// iOS 13 pretend to be a MacOS desktop
|
|
||||||
} else if (
|
|
||||||
/iPad|iPhone|iPod|Mac/.test(navigator.userAgent) &&
|
|
||||||
"ontouchend" in document
|
|
||||||
) {
|
|
||||||
platform = "ios";
|
|
||||||
} else {
|
|
||||||
platform = "desktop";
|
|
||||||
}
|
|
||||||
69
src/SequenceDiagramViewerPage.tsx
Normal file
69
src/SequenceDiagramViewerPage.tsx
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { useCallback, useState } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
|
import {
|
||||||
|
SequenceDiagramViewer,
|
||||||
|
SequenceDiagramMatrixEvent,
|
||||||
|
} from "./room/GroupCallInspector";
|
||||||
|
import { FieldRow, InputField } from "./input/Input";
|
||||||
|
import { usePageTitle } from "./usePageTitle";
|
||||||
|
|
||||||
|
interface DebugLog {
|
||||||
|
localUserId: string;
|
||||||
|
eventsByUserId: { [userId: string]: SequenceDiagramMatrixEvent[] };
|
||||||
|
remoteUserIds: string[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SequenceDiagramViewerPage() {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
usePageTitle(t("Inspector"));
|
||||||
|
|
||||||
|
const [debugLog, setDebugLog] = useState<DebugLog>();
|
||||||
|
const [selectedUserId, setSelectedUserId] = useState<string>();
|
||||||
|
const onChangeDebugLog = useCallback((e) => {
|
||||||
|
if (e.target.files && e.target.files.length > 0) {
|
||||||
|
e.target.files[0].text().then((text: string) => {
|
||||||
|
setDebugLog(JSON.parse(text));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div style={{ marginTop: 20 }}>
|
||||||
|
<FieldRow>
|
||||||
|
<InputField
|
||||||
|
type="file"
|
||||||
|
id="debugLog"
|
||||||
|
name="debugLog"
|
||||||
|
label={t("Debug log")}
|
||||||
|
onChange={onChangeDebugLog}
|
||||||
|
/>
|
||||||
|
</FieldRow>
|
||||||
|
{debugLog && (
|
||||||
|
<SequenceDiagramViewer
|
||||||
|
localUserId={debugLog.localUserId}
|
||||||
|
selectedUserId={selectedUserId}
|
||||||
|
onSelectUserId={setSelectedUserId}
|
||||||
|
remoteUserIds={debugLog.remoteUserIds}
|
||||||
|
events={debugLog.eventsByUserId[selectedUserId]}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.slider {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.track {
|
|
||||||
flex-grow: 1;
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
background: var(--cpd-color-bg-subtle-primary);
|
|
||||||
height: var(--cpd-space-2x);
|
|
||||||
outline: var(--cpd-border-width-1) solid
|
|
||||||
var(--cpd-color-border-interactive-primary);
|
|
||||||
outline-offset: calc(-1 * var(--cpd-border-width-1));
|
|
||||||
cursor: pointer;
|
|
||||||
transition: outline-color ease 0.15s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.track[data-disabled] {
|
|
||||||
cursor: initial;
|
|
||||||
outline-color: var(--cpd-color-border-disabled);
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight {
|
|
||||||
background: var(--cpd-color-bg-action-primary-rest);
|
|
||||||
position: absolute;
|
|
||||||
block-size: 100%;
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
transition: background-color ease 0.15s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight[data-disabled] {
|
|
||||||
background: var(--cpd-color-bg-action-primary-disabled);
|
|
||||||
}
|
|
||||||
|
|
||||||
.handle {
|
|
||||||
display: block;
|
|
||||||
block-size: var(--cpd-space-4x);
|
|
||||||
inline-size: var(--cpd-space-4x);
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
background: var(--cpd-color-bg-action-primary-rest);
|
|
||||||
box-shadow: 0 0 0 2px var(--cpd-color-bg-canvas-default);
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background-color ease 0.15s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.handle[data-disabled] {
|
|
||||||
cursor: initial;
|
|
||||||
background: var(--cpd-color-bg-action-primary-disabled);
|
|
||||||
}
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { FC, useCallback } from "react";
|
|
||||||
import { Root, Track, Range, Thumb } from "@radix-ui/react-slider";
|
|
||||||
import classNames from "classnames";
|
|
||||||
|
|
||||||
import styles from "./Slider.module.css";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
className?: string;
|
|
||||||
label: string;
|
|
||||||
value: number;
|
|
||||||
onValueChange: (value: number) => void;
|
|
||||||
min: number;
|
|
||||||
max: number;
|
|
||||||
step: number;
|
|
||||||
disabled?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A slider control allowing a value to be selected from a range.
|
|
||||||
*/
|
|
||||||
export const Slider: FC<Props> = ({
|
|
||||||
className,
|
|
||||||
label,
|
|
||||||
value,
|
|
||||||
onValueChange: onValueChangeProp,
|
|
||||||
min,
|
|
||||||
max,
|
|
||||||
step,
|
|
||||||
disabled,
|
|
||||||
}) => {
|
|
||||||
const onValueChange = useCallback(
|
|
||||||
([v]: number[]) => onValueChangeProp(v),
|
|
||||||
[onValueChangeProp],
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<Root
|
|
||||||
className={classNames(className, styles.slider)}
|
|
||||||
value={[value]}
|
|
||||||
onValueChange={onValueChange}
|
|
||||||
min={min}
|
|
||||||
max={max}
|
|
||||||
step={step}
|
|
||||||
disabled={disabled}
|
|
||||||
>
|
|
||||||
<Track className={styles.track}>
|
|
||||||
<Range className={styles.highlight} />
|
|
||||||
</Track>
|
|
||||||
<Thumb className={styles.handle} aria-label={label} />
|
|
||||||
</Root>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.toast {
|
|
||||||
color: var(--cpd-color-text-on-solid-primary);
|
|
||||||
background: var(--cpd-color-alpha-gray-1200);
|
|
||||||
padding-inline: var(--cpd-space-3x);
|
|
||||||
padding-block: var(--cpd-space-1x);
|
|
||||||
border: none;
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
box-shadow: var(--small-drop-shadow);
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: var(--cpd-space-1x);
|
|
||||||
}
|
|
||||||
|
|
||||||
.toast > h3 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toast > svg {
|
|
||||||
color: var(--cpd-color-icon-on-solid-primary);
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-inline-end: calc(-1 * var(--cpd-space-1x));
|
|
||||||
}
|
|
||||||
108
src/Toast.tsx
108
src/Toast.tsx
@@ -1,108 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import {
|
|
||||||
ComponentType,
|
|
||||||
FC,
|
|
||||||
SVGAttributes,
|
|
||||||
useCallback,
|
|
||||||
useEffect,
|
|
||||||
} from "react";
|
|
||||||
import {
|
|
||||||
Root as DialogRoot,
|
|
||||||
Portal as DialogPortal,
|
|
||||||
Overlay as DialogOverlay,
|
|
||||||
Content as DialogContent,
|
|
||||||
Close as DialogClose,
|
|
||||||
Title as DialogTitle,
|
|
||||||
} from "@radix-ui/react-dialog";
|
|
||||||
import classNames from "classnames";
|
|
||||||
import { Text } from "@vector-im/compound-web";
|
|
||||||
|
|
||||||
import styles from "./Toast.module.css";
|
|
||||||
import overlayStyles from "./Overlay.module.css";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
/**
|
|
||||||
* The controlled open state of the toast.
|
|
||||||
*/
|
|
||||||
open: boolean;
|
|
||||||
/**
|
|
||||||
* Callback for when the user dismisses the toast.
|
|
||||||
*/
|
|
||||||
onDismiss: () => void;
|
|
||||||
/**
|
|
||||||
* A number of milliseconds after which the toast should be automatically
|
|
||||||
* dismissed.
|
|
||||||
*/
|
|
||||||
autoDismiss?: number;
|
|
||||||
children: string;
|
|
||||||
/**
|
|
||||||
* A supporting icon to display within the toast.
|
|
||||||
*/
|
|
||||||
Icon?: ComponentType<SVGAttributes<SVGElement>>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A temporary message shown in an overlay in the center of the screen.
|
|
||||||
*/
|
|
||||||
export const Toast: FC<Props> = ({
|
|
||||||
open,
|
|
||||||
onDismiss,
|
|
||||||
autoDismiss,
|
|
||||||
children,
|
|
||||||
Icon,
|
|
||||||
}) => {
|
|
||||||
const onOpenChange = useCallback(
|
|
||||||
(open: boolean) => {
|
|
||||||
if (!open) onDismiss();
|
|
||||||
},
|
|
||||||
[onDismiss],
|
|
||||||
);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (open && autoDismiss !== undefined) {
|
|
||||||
const timeout = setTimeout(onDismiss, autoDismiss);
|
|
||||||
return () => clearTimeout(timeout);
|
|
||||||
}
|
|
||||||
}, [open, autoDismiss, onDismiss]);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<DialogRoot open={open} onOpenChange={onOpenChange}>
|
|
||||||
<DialogPortal>
|
|
||||||
<DialogOverlay
|
|
||||||
className={classNames(overlayStyles.bg, overlayStyles.animate)}
|
|
||||||
/>
|
|
||||||
<DialogContent asChild>
|
|
||||||
<DialogClose
|
|
||||||
className={classNames(
|
|
||||||
overlayStyles.overlay,
|
|
||||||
overlayStyles.animate,
|
|
||||||
styles.toast,
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<DialogTitle asChild>
|
|
||||||
<Text as="h3" size="sm" weight="semibold">
|
|
||||||
{children}
|
|
||||||
</Text>
|
|
||||||
</DialogTitle>
|
|
||||||
{Icon && <Icon width={20} height={20} aria-hidden />}
|
|
||||||
</DialogClose>
|
|
||||||
</DialogContent>
|
|
||||||
</DialogPortal>
|
|
||||||
</DialogRoot>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -15,12 +15,12 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.tooltip {
|
.tooltip {
|
||||||
background-color: var(--cpd-color-bg-subtle-secondary);
|
background-color: var(--system);
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
color: var(--cpd-color-text-primary);
|
color: var(--primary-content);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
max-width: 135px;
|
max-width: 135px;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ interface TooltipProps {
|
|||||||
const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
|
const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
|
||||||
(
|
(
|
||||||
{ state, className, children, ...rest }: TooltipProps,
|
{ state, className, children, ...rest }: TooltipProps,
|
||||||
ref: ForwardedRef<HTMLDivElement>,
|
ref: ForwardedRef<HTMLDivElement>
|
||||||
) => {
|
) => {
|
||||||
const { tooltipProps } = useTooltip(rest, state);
|
const { tooltipProps } = useTooltip(rest, state);
|
||||||
|
|
||||||
@@ -56,11 +56,9 @@ const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
|
|||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
Tooltip.displayName = "Tooltip";
|
|
||||||
|
|
||||||
interface TooltipTriggerProps {
|
interface TooltipTriggerProps {
|
||||||
children: ReactElement;
|
children: ReactElement;
|
||||||
placement?: Placement;
|
placement?: Placement;
|
||||||
@@ -71,16 +69,16 @@ interface TooltipTriggerProps {
|
|||||||
export const TooltipTrigger = forwardRef<HTMLElement, TooltipTriggerProps>(
|
export const TooltipTrigger = forwardRef<HTMLElement, TooltipTriggerProps>(
|
||||||
(
|
(
|
||||||
{ children, placement, tooltip, ...rest }: TooltipTriggerProps,
|
{ children, placement, tooltip, ...rest }: TooltipTriggerProps,
|
||||||
ref: ForwardedRef<HTMLElement>,
|
ref: ForwardedRef<HTMLElement>
|
||||||
) => {
|
) => {
|
||||||
const tooltipTriggerProps = { delay: 250, ...rest };
|
const tooltipTriggerProps = { delay: 250, ...rest };
|
||||||
const tooltipState = useTooltipTriggerState(tooltipTriggerProps);
|
const tooltipState = useTooltipTriggerState(tooltipTriggerProps);
|
||||||
const triggerRef = useObjectRef<HTMLElement>(ref);
|
const triggerRef = useObjectRef<HTMLElement>(ref);
|
||||||
const overlayRef = useRef<HTMLDivElement>(null);
|
const overlayRef = useRef();
|
||||||
const { triggerProps, tooltipProps } = useTooltipTrigger(
|
const { triggerProps, tooltipProps } = useTooltipTrigger(
|
||||||
tooltipTriggerProps,
|
tooltipTriggerProps,
|
||||||
tooltipState,
|
tooltipState,
|
||||||
triggerRef,
|
triggerRef
|
||||||
);
|
);
|
||||||
|
|
||||||
const { overlayProps } = useOverlayPosition({
|
const { overlayProps } = useOverlayPosition({
|
||||||
@@ -96,7 +94,7 @@ export const TooltipTrigger = forwardRef<HTMLElement, TooltipTriggerProps>(
|
|||||||
<children.type
|
<children.type
|
||||||
{...mergeProps<typeof children.props | typeof rest>(
|
{...mergeProps<typeof children.props | typeof rest>(
|
||||||
children.props,
|
children.props,
|
||||||
rest,
|
rest
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{tooltipState.isOpen && (
|
{tooltipState.isOpen && (
|
||||||
@@ -112,7 +110,5 @@ export const TooltipTrigger = forwardRef<HTMLElement, TooltipTriggerProps>(
|
|||||||
)}
|
)}
|
||||||
</FocusableProvider>
|
</FocusableProvider>
|
||||||
);
|
);
|
||||||
},
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
TooltipTrigger.displayName = "TooltipTrigger";
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type { DefaultNamespace, ParseKeys, TFunction, TOptions } from "i18next";
|
import i18n from "i18next";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An error with messages in both English and the user's preferred language.
|
* An error with messages in both English and the user's preferred language.
|
||||||
@@ -27,11 +27,8 @@ export abstract class TranslatedError extends Error {
|
|||||||
*/
|
*/
|
||||||
public readonly translatedMessage: string;
|
public readonly translatedMessage: string;
|
||||||
|
|
||||||
public constructor(
|
public constructor(messageKey: string, translationFn: typeof i18n.t) {
|
||||||
messageKey: ParseKeys<DefaultNamespace, TOptions>,
|
super(translationFn(messageKey, { lng: "en-GB" }));
|
||||||
translationFn: TFunction<DefaultNamespace>,
|
|
||||||
) {
|
|
||||||
super(translationFn(messageKey, { lng: "en-GB" } as TOptions));
|
|
||||||
this.translatedMessage = translationFn(messageKey);
|
this.translatedMessage = translationFn(messageKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,7 +37,5 @@ class TranslatedErrorImpl extends TranslatedError {}
|
|||||||
|
|
||||||
// i18next-parser can't detect calls to a constructor, so we expose a bare
|
// i18next-parser can't detect calls to a constructor, so we expose a bare
|
||||||
// function instead
|
// function instead
|
||||||
export const translatedError = (
|
export const translatedError = (messageKey: string, t: typeof i18n.t) =>
|
||||||
messageKey: ParseKeys<DefaultNamespace, TOptions>,
|
new TranslatedErrorImpl(messageKey, t);
|
||||||
t: TFunction<"app", undefined>,
|
|
||||||
): TranslatedError => new TranslatedErrorImpl(messageKey, t);
|
|
||||||
|
|||||||
259
src/UrlParams.ts
259
src/UrlParams.ts
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022 - 2023 New Vector Ltd
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@@ -17,42 +17,15 @@ limitations under the License.
|
|||||||
import { useMemo } from "react";
|
import { useMemo } from "react";
|
||||||
import { useLocation } from "react-router-dom";
|
import { useLocation } from "react-router-dom";
|
||||||
|
|
||||||
import { Config } from "./config/Config";
|
interface UrlParams {
|
||||||
|
|
||||||
export const PASSWORD_STRING = "password=";
|
|
||||||
|
|
||||||
interface RoomIdentifier {
|
|
||||||
roomAlias: string | null;
|
roomAlias: string | null;
|
||||||
roomId: string | null;
|
roomId: string | null;
|
||||||
viaServers: string[];
|
viaServers: string[];
|
||||||
}
|
|
||||||
|
|
||||||
// If you need to add a new flag to this interface, prefer a name that describes
|
|
||||||
// a specific behavior (such as 'confineToRoom'), rather than one that describes
|
|
||||||
// the situations that call for this behavior ('isEmbedded'). This makes it
|
|
||||||
// clearer what each flag means, and helps us avoid coupling Element Call's
|
|
||||||
// behavior to the needs of specific consumers.
|
|
||||||
export interface UrlParams {
|
|
||||||
// Widget api related params
|
|
||||||
widgetId: string | null;
|
|
||||||
parentUrl: string | null;
|
|
||||||
/**
|
/**
|
||||||
* Anything about what room we're pointed to should be from useRoomIdentifier which
|
* Whether the app is running in embedded mode, and should keep the user
|
||||||
* parses the path and resolves alias with respect to the default server name, however
|
* confined to the current room.
|
||||||
* roomId is an exception as we need the room ID in embedded (matroyska) mode, and not
|
|
||||||
* the room alias (or even the via params because we are not trying to join it). This
|
|
||||||
* is also not validated, where it is in useRoomIdentifier().
|
|
||||||
*/
|
*/
|
||||||
roomId: string | null;
|
isEmbedded: boolean;
|
||||||
/**
|
|
||||||
* Whether the app should keep the user confined to the current call/room.
|
|
||||||
*/
|
|
||||||
confineToRoom: boolean;
|
|
||||||
/**
|
|
||||||
* Whether upon entering a room, the user should be prompted to launch the
|
|
||||||
* native mobile app. (Affects only Android and iOS.)
|
|
||||||
*/
|
|
||||||
appPrompt: boolean;
|
|
||||||
/**
|
/**
|
||||||
* Whether the app should pause before joining the call until it sees an
|
* Whether the app should pause before joining the call until it sees an
|
||||||
* io.element.join widget action, allowing it to be preloaded.
|
* io.element.join widget action, allowing it to be preloaded.
|
||||||
@@ -62,14 +35,14 @@ export interface UrlParams {
|
|||||||
* Whether to hide the room header when in a call.
|
* Whether to hide the room header when in a call.
|
||||||
*/
|
*/
|
||||||
hideHeader: boolean;
|
hideHeader: boolean;
|
||||||
/**
|
|
||||||
* Whether the controls should be shown. For screen recording no controls can be desired.
|
|
||||||
*/
|
|
||||||
showControls: boolean;
|
|
||||||
/**
|
/**
|
||||||
* Whether to hide the screen-sharing button.
|
* Whether to hide the screen-sharing button.
|
||||||
*/
|
*/
|
||||||
hideScreensharing: boolean;
|
hideScreensharing: boolean;
|
||||||
|
/**
|
||||||
|
* Whether to start a walkie-talkie call instead of a video call.
|
||||||
|
*/
|
||||||
|
isPtt: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to use end-to-end encryption.
|
* Whether to use end-to-end encryption.
|
||||||
*/
|
*/
|
||||||
@@ -111,118 +84,63 @@ export interface UrlParams {
|
|||||||
* user's homeserver doesn't provide any.
|
* user's homeserver doesn't provide any.
|
||||||
*/
|
*/
|
||||||
allowIceFallback: boolean;
|
allowIceFallback: boolean;
|
||||||
/**
|
|
||||||
* E2EE password
|
|
||||||
*/
|
|
||||||
password: string | null;
|
|
||||||
/**
|
|
||||||
* Whether we the app should use per participant keys for E2EE.
|
|
||||||
*/
|
|
||||||
perParticipantE2EE: boolean;
|
|
||||||
/**
|
|
||||||
* Setting this flag skips the lobby and brings you in the call directly.
|
|
||||||
* In the widget this can be combined with preload to pass the device settings
|
|
||||||
* with the join widget action.
|
|
||||||
*/
|
|
||||||
skipLobby: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
// This is here as a stopgap, but what would be far nicer is a function that
|
|
||||||
// takes a UrlParams and returns a query string. That would enable us to
|
|
||||||
// consolidate all the data about URL parameters and their meanings to this one
|
|
||||||
// file.
|
|
||||||
export function editFragmentQuery(
|
|
||||||
hash: string,
|
|
||||||
edit: (params: URLSearchParams) => URLSearchParams,
|
|
||||||
): string {
|
|
||||||
const fragmentQueryStart = hash.indexOf("?");
|
|
||||||
const fragmentParams = edit(
|
|
||||||
new URLSearchParams(
|
|
||||||
fragmentQueryStart === -1 ? "" : hash.substring(fragmentQueryStart),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
return `${hash.substring(
|
|
||||||
0,
|
|
||||||
fragmentQueryStart,
|
|
||||||
)}?${fragmentParams.toString()}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
class ParamParser {
|
|
||||||
private fragmentParams: URLSearchParams;
|
|
||||||
private queryParams: URLSearchParams;
|
|
||||||
|
|
||||||
public constructor(search: string, hash: string) {
|
|
||||||
this.queryParams = new URLSearchParams(search);
|
|
||||||
|
|
||||||
const fragmentQueryStart = hash.indexOf("?");
|
|
||||||
this.fragmentParams = new URLSearchParams(
|
|
||||||
fragmentQueryStart === -1 ? "" : hash.substring(fragmentQueryStart),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Normally, URL params should be encoded in the fragment so as to avoid
|
|
||||||
// leaking them to the server. However, we also check the normal query
|
|
||||||
// string for backwards compatibility with versions that only used that.
|
|
||||||
public getParam(name: string): string | null {
|
|
||||||
return this.fragmentParams.get(name) ?? this.queryParams.get(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
public getAllParams(name: string): string[] {
|
|
||||||
return [
|
|
||||||
...this.fragmentParams.getAll(name),
|
|
||||||
...this.queryParams.getAll(name),
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
public getFlagParam(name: string, defaultValue = false): boolean {
|
|
||||||
const param = this.getParam(name);
|
|
||||||
return param === null ? defaultValue : param !== "false";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the app parameters for the current URL.
|
* Gets the app parameters for the current URL.
|
||||||
* @param search The URL search string
|
* @param query The URL query string
|
||||||
* @param hash The URL hash
|
* @param fragment The URL fragment string
|
||||||
* @returns The app parameters encoded in the URL
|
* @returns The app parameters encoded in the URL
|
||||||
*/
|
*/
|
||||||
export const getUrlParams = (
|
export const getUrlParams = (
|
||||||
search = window.location.search,
|
query: string = window.location.search,
|
||||||
hash = window.location.hash,
|
fragment: string = window.location.hash
|
||||||
): UrlParams => {
|
): UrlParams => {
|
||||||
const parser = new ParamParser(search, hash);
|
const fragmentQueryStart = fragment.indexOf("?");
|
||||||
|
const fragmentParams = new URLSearchParams(
|
||||||
|
fragmentQueryStart === -1 ? "" : fragment.substring(fragmentQueryStart)
|
||||||
|
);
|
||||||
|
const queryParams = new URLSearchParams(query);
|
||||||
|
|
||||||
const fontScale = parseFloat(parser.getParam("fontScale") ?? "");
|
// Normally, URL params should be encoded in the fragment so as to avoid
|
||||||
|
// leaking them to the server. However, we also check the normal query
|
||||||
|
// string for backwards compatibility with versions that only used that.
|
||||||
|
const hasParam = (name: string): boolean =>
|
||||||
|
fragmentParams.has(name) || queryParams.has(name);
|
||||||
|
const getParam = (name: string): string | null =>
|
||||||
|
fragmentParams.get(name) ?? queryParams.get(name);
|
||||||
|
const getAllParams = (name: string): string[] => [
|
||||||
|
...fragmentParams.getAll(name),
|
||||||
|
...queryParams.getAll(name),
|
||||||
|
];
|
||||||
|
|
||||||
|
// The part of the fragment before the ?
|
||||||
|
const fragmentRoute =
|
||||||
|
fragmentQueryStart === -1
|
||||||
|
? fragment
|
||||||
|
: fragment.substring(0, fragmentQueryStart);
|
||||||
|
|
||||||
|
const fontScale = parseFloat(getParam("fontScale") ?? "");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
widgetId: parser.getParam("widgetId"),
|
roomAlias: fragmentRoute.length > 1 ? fragmentRoute : null,
|
||||||
parentUrl: parser.getParam("parentUrl"),
|
roomId: getParam("roomId"),
|
||||||
|
viaServers: getAllParams("via"),
|
||||||
// NB. we don't validate roomId here as we do in getRoomIdentifierFromUrl:
|
isEmbedded: hasParam("embed"),
|
||||||
// what would we do if it were invalid? If the widget API says that's what
|
preload: hasParam("preload"),
|
||||||
// the room ID is, then that's what it is.
|
hideHeader: hasParam("hideHeader"),
|
||||||
roomId: parser.getParam("roomId"),
|
hideScreensharing: hasParam("hideScreensharing"),
|
||||||
password: parser.getParam("password"),
|
isPtt: hasParam("ptt"),
|
||||||
// This flag has 'embed' as an alias for historical reasons
|
e2eEnabled: getParam("enableE2e") !== "false", // Defaults to true
|
||||||
confineToRoom:
|
userId: getParam("userId"),
|
||||||
parser.getFlagParam("confineToRoom") || parser.getFlagParam("embed"),
|
displayName: getParam("displayName"),
|
||||||
appPrompt: parser.getFlagParam("appPrompt", true),
|
deviceId: getParam("deviceId"),
|
||||||
preload: parser.getFlagParam("preload"),
|
baseUrl: getParam("baseUrl"),
|
||||||
hideHeader: parser.getFlagParam("hideHeader"),
|
lang: getParam("lang"),
|
||||||
showControls: parser.getFlagParam("showControls", true),
|
fonts: getAllParams("font"),
|
||||||
hideScreensharing: parser.getFlagParam("hideScreensharing"),
|
|
||||||
e2eEnabled: parser.getFlagParam("enableE2EE", true),
|
|
||||||
userId: parser.getParam("userId"),
|
|
||||||
displayName: parser.getParam("displayName"),
|
|
||||||
deviceId: parser.getParam("deviceId"),
|
|
||||||
baseUrl: parser.getParam("baseUrl"),
|
|
||||||
lang: parser.getParam("lang"),
|
|
||||||
fonts: parser.getAllParams("font"),
|
|
||||||
fontScale: Number.isNaN(fontScale) ? null : fontScale,
|
fontScale: Number.isNaN(fontScale) ? null : fontScale,
|
||||||
analyticsID: parser.getParam("analyticsID"),
|
analyticsID: getParam("analyticsID"),
|
||||||
allowIceFallback: parser.getFlagParam("allowIceFallback"),
|
allowIceFallback: hasParam("allowIceFallback"),
|
||||||
perParticipantE2EE: parser.getFlagParam("perParticipantE2EE"),
|
|
||||||
skipLobby: parser.getFlagParam("skipLobby"),
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -231,73 +149,6 @@ export const getUrlParams = (
|
|||||||
* @returns The app parameters for the current URL
|
* @returns The app parameters for the current URL
|
||||||
*/
|
*/
|
||||||
export const useUrlParams = (): UrlParams => {
|
export const useUrlParams = (): UrlParams => {
|
||||||
const { search, hash } = useLocation();
|
const { hash, search } = useLocation();
|
||||||
return useMemo(() => getUrlParams(search, hash), [search, hash]);
|
return useMemo(() => getUrlParams(search, hash), [search, hash]);
|
||||||
};
|
};
|
||||||
|
|
||||||
export function getRoomIdentifierFromUrl(
|
|
||||||
pathname: string,
|
|
||||||
search: string,
|
|
||||||
hash: string,
|
|
||||||
): RoomIdentifier {
|
|
||||||
let roomAlias: string | null = null;
|
|
||||||
pathname = pathname.substring(1); // Strip the "/"
|
|
||||||
const pathComponents = pathname.split("/");
|
|
||||||
const pathHasRoom = pathComponents[0] == "room";
|
|
||||||
const hasRoomAlias = pathComponents.length > 1;
|
|
||||||
|
|
||||||
// What type is our url: roomAlias in hash, room alias as the search path, roomAlias after /room/
|
|
||||||
if (hash === "" || hash.startsWith("#?")) {
|
|
||||||
if (hasRoomAlias && pathHasRoom) {
|
|
||||||
roomAlias = pathComponents[1];
|
|
||||||
}
|
|
||||||
if (!pathHasRoom) {
|
|
||||||
roomAlias = pathComponents[0];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
roomAlias = hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Delete "?" and what comes afterwards
|
|
||||||
roomAlias = roomAlias?.split("?")[0] ?? null;
|
|
||||||
|
|
||||||
if (roomAlias) {
|
|
||||||
// Make roomAlias is null, if it only is a "#"
|
|
||||||
if (roomAlias.length <= 1) {
|
|
||||||
roomAlias = null;
|
|
||||||
} else {
|
|
||||||
// Add "#", if not present
|
|
||||||
if (!roomAlias.startsWith("#")) {
|
|
||||||
roomAlias = `#${roomAlias}`;
|
|
||||||
}
|
|
||||||
// Add server part, if not present
|
|
||||||
if (!roomAlias.includes(":")) {
|
|
||||||
roomAlias = `${roomAlias}:${Config.defaultServerName()}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const parser = new ParamParser(search, hash);
|
|
||||||
|
|
||||||
// Make sure roomId is valid
|
|
||||||
let roomId: string | null = parser.getParam("roomId");
|
|
||||||
if (!roomId?.startsWith("!")) {
|
|
||||||
roomId = null;
|
|
||||||
} else if (!roomId.includes("")) {
|
|
||||||
roomId = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
roomAlias,
|
|
||||||
roomId,
|
|
||||||
viaServers: parser.getAllParams("viaServers"),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export const useRoomIdentifier = (): RoomIdentifier => {
|
|
||||||
const { pathname, search, hash } = useLocation();
|
|
||||||
return useMemo(
|
|
||||||
() => getRoomIdentifierFromUrl(pathname, search, hash),
|
|
||||||
[pathname, search, hash],
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|||||||
@@ -17,10 +17,22 @@ limitations under the License.
|
|||||||
.menuIcon {
|
.menuIcon {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.userButton svg * {
|
.userButton svg * {
|
||||||
fill: var(--cpd-color-icon-primary);
|
fill: var(--primary-content);
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
font-size: var(--font-size-caption);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 800px) {
|
||||||
|
.avatar {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
font-size: var(--font-size-body);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, ReactNode, useCallback, useMemo } from "react";
|
import { useCallback, useMemo } from "react";
|
||||||
import { Item } from "@react-stately/collections";
|
import { Item } from "@react-stately/collections";
|
||||||
import { useLocation } from "react-router-dom";
|
import { useLocation } from "react-router-dom";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
@@ -24,32 +24,30 @@ import { PopoverMenuTrigger } from "./popover/PopoverMenu";
|
|||||||
import { Menu } from "./Menu";
|
import { Menu } from "./Menu";
|
||||||
import { TooltipTrigger } from "./Tooltip";
|
import { TooltipTrigger } from "./Tooltip";
|
||||||
import { Avatar, Size } from "./Avatar";
|
import { Avatar, Size } from "./Avatar";
|
||||||
import UserIcon from "./icons/User.svg?react";
|
import { ReactComponent as UserIcon } from "./icons/User.svg";
|
||||||
import SettingsIcon from "./icons/Settings.svg?react";
|
import { ReactComponent as SettingsIcon } from "./icons/Settings.svg";
|
||||||
import LoginIcon from "./icons/Login.svg?react";
|
import { ReactComponent as LoginIcon } from "./icons/Login.svg";
|
||||||
import LogoutIcon from "./icons/Logout.svg?react";
|
import { ReactComponent as LogoutIcon } from "./icons/Logout.svg";
|
||||||
import { Body } from "./typography/Typography";
|
import { Body } from "./typography/Typography";
|
||||||
import styles from "./UserMenu.module.css";
|
import styles from "./UserMenu.module.css";
|
||||||
|
|
||||||
interface Props {
|
interface UserMenuProps {
|
||||||
preventNavigation: boolean;
|
preventNavigation: boolean;
|
||||||
isAuthenticated: boolean;
|
isAuthenticated: boolean;
|
||||||
isPasswordlessUser: boolean;
|
isPasswordlessUser: boolean;
|
||||||
userId: string;
|
|
||||||
displayName: string;
|
displayName: string;
|
||||||
avatarUrl?: string;
|
avatarUrl: string;
|
||||||
onAction: (value: string) => void;
|
onAction: (value: string) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const UserMenu: FC<Props> = ({
|
export function UserMenu({
|
||||||
preventNavigation,
|
preventNavigation,
|
||||||
isAuthenticated,
|
isAuthenticated,
|
||||||
isPasswordlessUser,
|
isPasswordlessUser,
|
||||||
userId,
|
|
||||||
displayName,
|
displayName,
|
||||||
avatarUrl,
|
avatarUrl,
|
||||||
onAction,
|
onAction,
|
||||||
}) => {
|
}: UserMenuProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
|
|
||||||
@@ -66,13 +64,13 @@ export const UserMenu: FC<Props> = ({
|
|||||||
arr.push({
|
arr.push({
|
||||||
key: "settings",
|
key: "settings",
|
||||||
icon: SettingsIcon,
|
icon: SettingsIcon,
|
||||||
label: t("common.settings"),
|
label: t("Settings"),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isPasswordlessUser && !preventNavigation) {
|
if (isPasswordlessUser && !preventNavigation) {
|
||||||
arr.push({
|
arr.push({
|
||||||
key: "login",
|
key: "login",
|
||||||
label: t("action.sign_in"),
|
label: t("Sign in"),
|
||||||
icon: LoginIcon,
|
icon: LoginIcon,
|
||||||
dataTestid: "usermenu_login",
|
dataTestid: "usermenu_login",
|
||||||
});
|
});
|
||||||
@@ -81,7 +79,7 @@ export const UserMenu: FC<Props> = ({
|
|||||||
if (!isPasswordlessUser && !preventNavigation) {
|
if (!isPasswordlessUser && !preventNavigation) {
|
||||||
arr.push({
|
arr.push({
|
||||||
key: "logout",
|
key: "logout",
|
||||||
label: t("action.sign_out"),
|
label: t("Sign out"),
|
||||||
icon: LogoutIcon,
|
icon: LogoutIcon,
|
||||||
dataTestid: "usermenu_logout",
|
dataTestid: "usermenu_logout",
|
||||||
});
|
});
|
||||||
@@ -91,12 +89,12 @@ export const UserMenu: FC<Props> = ({
|
|||||||
return arr;
|
return arr;
|
||||||
}, [isAuthenticated, isPasswordlessUser, displayName, preventNavigation, t]);
|
}, [isAuthenticated, isPasswordlessUser, displayName, preventNavigation, t]);
|
||||||
|
|
||||||
const tooltip = useCallback(() => t("common.profile"), [t]);
|
const tooltip = useCallback(() => t("Profile"), [t]);
|
||||||
|
|
||||||
if (!isAuthenticated) {
|
if (!isAuthenticated) {
|
||||||
return (
|
return (
|
||||||
<LinkButton to={{ pathname: "/login", state: { from: location } }}>
|
<LinkButton to={{ pathname: "/login", state: { from: location } }}>
|
||||||
{t("log_in")}
|
Log in
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -111,34 +109,31 @@ export const UserMenu: FC<Props> = ({
|
|||||||
>
|
>
|
||||||
{isAuthenticated && (!isPasswordlessUser || avatarUrl) ? (
|
{isAuthenticated && (!isPasswordlessUser || avatarUrl) ? (
|
||||||
<Avatar
|
<Avatar
|
||||||
id={userId}
|
|
||||||
name={displayName}
|
|
||||||
size={Size.SM}
|
size={Size.SM}
|
||||||
|
className={styles.avatar}
|
||||||
src={avatarUrl}
|
src={avatarUrl}
|
||||||
|
fallback={displayName.slice(0, 1).toUpperCase()}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<UserIcon />
|
<UserIcon />
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
{
|
{(props) => (
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
<Menu {...props} label={t("User menu")} onAction={onAction}>
|
||||||
(props: any): ReactNode => (
|
{items.map(({ key, icon: Icon, label, dataTestid }) => (
|
||||||
<Menu {...props} label={t("a11y.user_menu")} onAction={onAction}>
|
<Item key={key} textValue={label}>
|
||||||
{items.map(({ key, icon: Icon, label, dataTestid }) => (
|
<Icon
|
||||||
<Item key={key} textValue={label}>
|
width={24}
|
||||||
<Icon
|
height={24}
|
||||||
width={24}
|
className={styles.menuIcon}
|
||||||
height={24}
|
data-testid={dataTestid}
|
||||||
className={styles.menuIcon}
|
/>
|
||||||
data-testid={dataTestid}
|
<Body overflowEllipsis>{label}</Body>
|
||||||
/>
|
</Item>
|
||||||
<Body overflowEllipsis>{label}</Body>
|
))}
|
||||||
</Item>
|
</Menu>
|
||||||
))}
|
)}
|
||||||
</Menu>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
</PopoverMenuTrigger>
|
</PopoverMenuTrigger>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -14,74 +14,70 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { FC, useCallback, useState } from "react";
|
import { useCallback, useState } from "react";
|
||||||
import { useHistory, useLocation } from "react-router-dom";
|
import { useHistory, useLocation } from "react-router-dom";
|
||||||
|
|
||||||
import { useClientLegacy } from "./ClientContext";
|
import { useClient } from "./ClientContext";
|
||||||
import { useProfile } from "./profile/useProfile";
|
import { useProfile } from "./profile/useProfile";
|
||||||
import { defaultSettingsTab, SettingsModal } from "./settings/SettingsModal";
|
import { useModalTriggerState } from "./Modal";
|
||||||
|
import { SettingsModal } from "./settings/SettingsModal";
|
||||||
import { UserMenu } from "./UserMenu";
|
import { UserMenu } from "./UserMenu";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
preventNavigation?: boolean;
|
preventNavigation?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const UserMenuContainer: FC<Props> = ({ preventNavigation = false }) => {
|
export function UserMenuContainer({ preventNavigation = false }: Props) {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
const { client, logout, authenticated, passwordlessUser } = useClientLegacy();
|
const { isAuthenticated, isPasswordlessUser, logout, userName, client } =
|
||||||
|
useClient();
|
||||||
const { displayName, avatarUrl } = useProfile(client);
|
const { displayName, avatarUrl } = useProfile(client);
|
||||||
const [settingsModalOpen, setSettingsModalOpen] = useState(false);
|
const { modalState, modalProps } = useModalTriggerState();
|
||||||
const onDismissSettingsModal = useCallback(
|
|
||||||
() => setSettingsModalOpen(false),
|
|
||||||
[setSettingsModalOpen],
|
|
||||||
);
|
|
||||||
|
|
||||||
const [settingsTab, setSettingsTab] = useState(defaultSettingsTab);
|
const [defaultSettingsTab, setDefaultSettingsTab] = useState<string>();
|
||||||
|
|
||||||
const onAction = useCallback(
|
const onAction = useCallback(
|
||||||
async (value: string) => {
|
async (value: string) => {
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case "user":
|
case "user":
|
||||||
setSettingsTab("profile");
|
setDefaultSettingsTab("profile");
|
||||||
setSettingsModalOpen(true);
|
modalState.open();
|
||||||
break;
|
break;
|
||||||
case "settings":
|
case "settings":
|
||||||
setSettingsTab("audio");
|
setDefaultSettingsTab("audio");
|
||||||
setSettingsModalOpen(true);
|
modalState.open();
|
||||||
break;
|
break;
|
||||||
case "logout":
|
case "logout":
|
||||||
logout?.();
|
logout();
|
||||||
break;
|
break;
|
||||||
case "login":
|
case "login":
|
||||||
history.push("/login", { state: { from: location } });
|
history.push("/login", { state: { from: location } });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[history, location, logout, setSettingsModalOpen],
|
[history, location, logout, modalState]
|
||||||
);
|
);
|
||||||
|
|
||||||
const userName = client?.getUserIdLocalpart() ?? "";
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<UserMenu
|
<UserMenu
|
||||||
preventNavigation={preventNavigation}
|
preventNavigation={preventNavigation}
|
||||||
isAuthenticated={authenticated}
|
isAuthenticated={isAuthenticated}
|
||||||
isPasswordlessUser={passwordlessUser}
|
isPasswordlessUser={isPasswordlessUser}
|
||||||
avatarUrl={avatarUrl}
|
avatarUrl={avatarUrl}
|
||||||
onAction={onAction}
|
onAction={onAction}
|
||||||
userId={client?.getUserId() ?? ""}
|
displayName={
|
||||||
displayName={displayName || (userName ? userName.replace("@", "") : "")}
|
displayName || (userName ? userName.replace("@", "") : undefined)
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
{client && (
|
{modalState.isOpen && (
|
||||||
<SettingsModal
|
<SettingsModal
|
||||||
client={client}
|
client={client}
|
||||||
open={settingsModalOpen}
|
defaultTab={defaultSettingsTab}
|
||||||
onDismiss={onDismissSettingsModal}
|
{...modalProps}
|
||||||
tab={settingsTab}
|
|
||||||
onTabChange={setSettingsTab}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -1,26 +1,10 @@
|
|||||||
/*
|
|
||||||
Copyright 2023 New Vector Ltd
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { FC } from "react";
|
import { FC } from "react";
|
||||||
import { Trans } from "react-i18next";
|
import { Trans } from "react-i18next";
|
||||||
|
|
||||||
import { Link } from "../typography/Typography";
|
import { Link } from "../typography/Typography";
|
||||||
|
|
||||||
export const AnalyticsNotice: FC = () => (
|
export const AnalyticsNotice: FC = () => (
|
||||||
<Trans i18nKey="analytics_notice">
|
<Trans>
|
||||||
By participating in this beta, you consent to the collection of anonymous
|
By participating in this beta, you consent to the collection of anonymous
|
||||||
data, which we use to improve the product. You can find more information
|
data, which we use to improve the product. You can find more information
|
||||||
about which data we track in our{" "}
|
about which data we track in our{" "}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import { MatrixClient } from "matrix-js-sdk";
|
|||||||
import { Buffer } from "buffer";
|
import { Buffer } from "buffer";
|
||||||
|
|
||||||
import { widget } from "../widget";
|
import { widget } from "../widget";
|
||||||
import { getSetting, setSetting, getSettingKey } from "../settings/useSetting";
|
import { getSetting, setSetting, settingsBus } from "../settings/useSetting";
|
||||||
import {
|
import {
|
||||||
CallEndedTracker,
|
CallEndedTracker,
|
||||||
CallStartedTracker,
|
CallStartedTracker,
|
||||||
@@ -30,11 +30,9 @@ import {
|
|||||||
MuteMicrophoneTracker,
|
MuteMicrophoneTracker,
|
||||||
UndecryptableToDeviceEventTracker,
|
UndecryptableToDeviceEventTracker,
|
||||||
QualitySurveyEventTracker,
|
QualitySurveyEventTracker,
|
||||||
CallDisconnectedEventTracker,
|
|
||||||
} from "./PosthogEvents";
|
} from "./PosthogEvents";
|
||||||
import { Config } from "../config/Config";
|
import { Config } from "../config/Config";
|
||||||
import { getUrlParams } from "../UrlParams";
|
import { getUrlParams } from "../UrlParams";
|
||||||
import { localStorageBus } from "../useLocalStorage";
|
|
||||||
|
|
||||||
/* Posthog analytics tracking.
|
/* Posthog analytics tracking.
|
||||||
*
|
*
|
||||||
@@ -100,7 +98,7 @@ export class PosthogAnalytics {
|
|||||||
// set true during the constructor if posthog config is present, otherwise false
|
// set true during the constructor if posthog config is present, otherwise false
|
||||||
private static internalInstance: PosthogAnalytics | null = null;
|
private static internalInstance: PosthogAnalytics | null = null;
|
||||||
|
|
||||||
private identificationPromise?: Promise<void>;
|
private identificationPromise: Promise<void>;
|
||||||
private readonly enabled: boolean = false;
|
private readonly enabled: boolean = false;
|
||||||
private anonymity = Anonymity.Disabled;
|
private anonymity = Anonymity.Disabled;
|
||||||
private platformSuperProperties = {};
|
private platformSuperProperties = {};
|
||||||
@@ -117,7 +115,7 @@ export class PosthogAnalytics {
|
|||||||
return this.internalInstance;
|
return this.internalInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
private constructor(private readonly posthog: PostHog) {
|
constructor(private readonly posthog: PostHog) {
|
||||||
const posthogConfig: PosthogSettings = {
|
const posthogConfig: PosthogSettings = {
|
||||||
project_api_key: Config.get().posthog?.api_key,
|
project_api_key: Config.get().posthog?.api_key,
|
||||||
api_host: Config.get().posthog?.api_host,
|
api_host: Config.get().posthog?.api_host,
|
||||||
@@ -146,7 +144,7 @@ export class PosthogAnalytics {
|
|||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
} else {
|
} else {
|
||||||
logger.info(
|
logger.info(
|
||||||
"Posthog is not enabled because there is no api key or no host given in the config",
|
"Posthog is not enabled because there is no api key or no host given in the config"
|
||||||
);
|
);
|
||||||
this.enabled = false;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
@@ -157,7 +155,7 @@ export class PosthogAnalytics {
|
|||||||
|
|
||||||
private sanitizeProperties = (
|
private sanitizeProperties = (
|
||||||
properties: Properties,
|
properties: Properties,
|
||||||
_eventName: string,
|
_eventName: string
|
||||||
): Properties => {
|
): Properties => {
|
||||||
// Callback from posthog to sanitize properties before sending them to the server.
|
// Callback from posthog to sanitize properties before sending them to the server.
|
||||||
// Here we sanitize posthog's built in properties which leak PII e.g. url reporting.
|
// Here we sanitize posthog's built in properties which leak PII e.g. url reporting.
|
||||||
@@ -183,7 +181,7 @@ export class PosthogAnalytics {
|
|||||||
return properties;
|
return properties;
|
||||||
};
|
};
|
||||||
|
|
||||||
private registerSuperProperties(properties: Properties): void {
|
private registerSuperProperties(properties: Properties) {
|
||||||
if (this.enabled) {
|
if (this.enabled) {
|
||||||
this.posthog.register(properties);
|
this.posthog.register(properties);
|
||||||
}
|
}
|
||||||
@@ -201,8 +199,8 @@ export class PosthogAnalytics {
|
|||||||
private capture(
|
private capture(
|
||||||
eventName: string,
|
eventName: string,
|
||||||
properties: Properties,
|
properties: Properties,
|
||||||
options?: CaptureOptions,
|
options?: CaptureOptions
|
||||||
): void {
|
) {
|
||||||
if (!this.enabled) {
|
if (!this.enabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -213,7 +211,7 @@ export class PosthogAnalytics {
|
|||||||
return this.enabled;
|
return this.enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
private setAnonymity(anonymity: Anonymity): void {
|
setAnonymity(anonymity: Anonymity): void {
|
||||||
// Update this.anonymity.
|
// Update this.anonymity.
|
||||||
// To update the anonymity typically you want to call updateAnonymityFromSettings
|
// To update the anonymity typically you want to call updateAnonymityFromSettings
|
||||||
// to ensure this value is in step with the user's settings.
|
// to ensure this value is in step with the user's settings.
|
||||||
@@ -236,9 +234,7 @@ export class PosthogAnalytics {
|
|||||||
.join("");
|
.join("");
|
||||||
}
|
}
|
||||||
|
|
||||||
private async identifyUser(
|
private async identifyUser(analyticsIdGenerator: () => string) {
|
||||||
analyticsIdGenerator: () => string,
|
|
||||||
): Promise<void> {
|
|
||||||
if (this.anonymity == Anonymity.Pseudonymous && this.enabled) {
|
if (this.anonymity == Anonymity.Pseudonymous && this.enabled) {
|
||||||
// Check the user's account_data for an analytics ID to use. Storing the ID in account_data allows
|
// Check the user's account_data for an analytics ID to use. Storing the ID in account_data allows
|
||||||
// different devices to send the same ID.
|
// different devices to send the same ID.
|
||||||
@@ -259,28 +255,26 @@ export class PosthogAnalytics {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
// The above could fail due to network requests, but not essential to starting the application,
|
// The above could fail due to network requests, but not essential to starting the application,
|
||||||
// so swallow it.
|
// so swallow it.
|
||||||
logger.log(
|
logger.log("Unable to identify user for tracking" + e.toString());
|
||||||
"Unable to identify user for tracking" + (e as Error)?.toString(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
if (analyticsID) {
|
if (analyticsID) {
|
||||||
this.posthog.identify(analyticsID);
|
this.posthog.identify(analyticsID);
|
||||||
} else {
|
} else {
|
||||||
logger.info(
|
logger.info(
|
||||||
"No analyticsID is availble. Should not try to setup posthog",
|
"No analyticsID is availble. Should not try to setup posthog"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async getAnalyticsId(): Promise<string | null> {
|
async getAnalyticsId() {
|
||||||
const client: MatrixClient = window.matrixclient;
|
const client: MatrixClient = window.matrixclient;
|
||||||
let accountAnalyticsId;
|
let accountAnalyticsId;
|
||||||
if (widget) {
|
if (widget) {
|
||||||
accountAnalyticsId = getUrlParams().analyticsID;
|
accountAnalyticsId = getUrlParams().analyticsID;
|
||||||
} else {
|
} else {
|
||||||
const accountData = await client.getAccountDataFromServer(
|
const accountData = await client.getAccountDataFromServer(
|
||||||
PosthogAnalytics.ANALYTICS_EVENT_TYPE,
|
PosthogAnalytics.ANALYTICS_EVENT_TYPE
|
||||||
);
|
);
|
||||||
accountAnalyticsId = accountData?.id;
|
accountAnalyticsId = accountData?.id;
|
||||||
}
|
}
|
||||||
@@ -293,14 +287,12 @@ export class PosthogAnalytics {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async hashedEcAnalyticsId(
|
async hashedEcAnalyticsId(accountAnalyticsId: string): Promise<string> {
|
||||||
accountAnalyticsId: string,
|
|
||||||
): Promise<string> {
|
|
||||||
const client: MatrixClient = window.matrixclient;
|
const client: MatrixClient = window.matrixclient;
|
||||||
const posthogIdMaterial = "ec" + accountAnalyticsId + client.getUserId();
|
const posthogIdMaterial = "ec" + accountAnalyticsId + client.getUserId();
|
||||||
const bufferForPosthogId = await crypto.subtle.digest(
|
const bufferForPosthogId = await crypto.subtle.digest(
|
||||||
"sha-256",
|
"sha-256",
|
||||||
Buffer.from(posthogIdMaterial, "utf-8"),
|
Buffer.from(posthogIdMaterial, "utf-8")
|
||||||
);
|
);
|
||||||
const view = new Int32Array(bufferForPosthogId);
|
const view = new Int32Array(bufferForPosthogId);
|
||||||
return Array.from(view)
|
return Array.from(view)
|
||||||
@@ -308,17 +300,17 @@ export class PosthogAnalytics {
|
|||||||
.join("");
|
.join("");
|
||||||
}
|
}
|
||||||
|
|
||||||
private async setAccountAnalyticsId(analyticsID: string): Promise<void> {
|
async setAccountAnalyticsId(analyticsID: string) {
|
||||||
if (!widget) {
|
if (!widget) {
|
||||||
const client = window.matrixclient;
|
const client = window.matrixclient;
|
||||||
|
|
||||||
// the analytics ID only needs to be set in the standalone version.
|
// the analytics ID only needs to be set in the standalone version.
|
||||||
const accountData = await client.getAccountDataFromServer(
|
const accountData = await client.getAccountDataFromServer(
|
||||||
PosthogAnalytics.ANALYTICS_EVENT_TYPE,
|
PosthogAnalytics.ANALYTICS_EVENT_TYPE
|
||||||
);
|
);
|
||||||
await client.setAccountData(
|
await client.setAccountData(
|
||||||
PosthogAnalytics.ANALYTICS_EVENT_TYPE,
|
PosthogAnalytics.ANALYTICS_EVENT_TYPE,
|
||||||
Object.assign({ id: analyticsID }, accountData),
|
Object.assign({ id: analyticsID }, accountData)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -339,7 +331,7 @@ export class PosthogAnalytics {
|
|||||||
this.updateAnonymityAndIdentifyUser(optInAnalytics);
|
this.updateAnonymityAndIdentifyUser(optInAnalytics);
|
||||||
}
|
}
|
||||||
|
|
||||||
private updateSuperProperties(): void {
|
private updateSuperProperties() {
|
||||||
// Update super properties in posthog with our platform (app version, platform).
|
// Update super properties in posthog with our platform (app version, platform).
|
||||||
// These properties will be subsequently passed in every event.
|
// These properties will be subsequently passed in every event.
|
||||||
//
|
//
|
||||||
@@ -360,7 +352,7 @@ export class PosthogAnalytics {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async updateAnonymityAndIdentifyUser(
|
private async updateAnonymityAndIdentifyUser(
|
||||||
pseudonymousOptIn: boolean,
|
pseudonymousOptIn: boolean
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
// Update this.anonymity based on the user's analytics opt-in settings
|
// Update this.anonymity based on the user's analytics opt-in settings
|
||||||
const anonymity = pseudonymousOptIn
|
const anonymity = pseudonymousOptIn
|
||||||
@@ -374,13 +366,13 @@ export class PosthogAnalytics {
|
|||||||
|
|
||||||
if (anonymity === Anonymity.Pseudonymous) {
|
if (anonymity === Anonymity.Pseudonymous) {
|
||||||
this.setRegistrationType(
|
this.setRegistrationType(
|
||||||
window.matrixclient.isGuest() || window.passwordlessUser
|
window.matrixclient.isGuest() || window.isPasswordlessUser
|
||||||
? RegistrationType.Guest
|
? RegistrationType.Guest
|
||||||
: RegistrationType.Registered,
|
: RegistrationType.Registered
|
||||||
);
|
);
|
||||||
// store the promise to await posthog-tracking-events until the identification is done.
|
// store the promise to await posthog-tracking-events until the identification is done.
|
||||||
this.identificationPromise = this.identifyUser(
|
this.identificationPromise = this.identifyUser(
|
||||||
PosthogAnalytics.getRandomAnalyticsId,
|
PosthogAnalytics.getRandomAnalyticsId
|
||||||
);
|
);
|
||||||
await this.identificationPromise;
|
await this.identificationPromise;
|
||||||
if (this.userRegisteredInThisSession()) {
|
if (this.userRegisteredInThisSession()) {
|
||||||
@@ -395,7 +387,7 @@ export class PosthogAnalytics {
|
|||||||
|
|
||||||
public async trackEvent<E extends IPosthogEvent>(
|
public async trackEvent<E extends IPosthogEvent>(
|
||||||
{ eventName, ...properties }: E,
|
{ eventName, ...properties }: E,
|
||||||
options?: CaptureOptions,
|
options?: CaptureOptions
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
if (this.identificationPromise) {
|
if (this.identificationPromise) {
|
||||||
// only make calls to posthog after the identificaion is done
|
// only make calls to posthog after the identificaion is done
|
||||||
@@ -418,7 +410,7 @@ export class PosthogAnalytics {
|
|||||||
// * When the user changes their preferences on this device
|
// * When the user changes their preferences on this device
|
||||||
// Note that for new accounts, pseudonymousAnalyticsOptIn won't be set, so updateAnonymityFromSettings
|
// Note that for new accounts, pseudonymousAnalyticsOptIn won't be set, so updateAnonymityFromSettings
|
||||||
// won't be called (i.e. this.anonymity will be left as the default, until the setting changes)
|
// won't be called (i.e. this.anonymity will be left as the default, until the setting changes)
|
||||||
localStorageBus.on(getSettingKey("opt-in-analytics"), (optInAnalytics) => {
|
settingsBus.on("opt-in-analytics", (optInAnalytics) => {
|
||||||
this.updateAnonymityAndIdentifyUser(optInAnalytics);
|
this.updateAnonymityAndIdentifyUser(optInAnalytics);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -443,5 +435,4 @@ export class PosthogAnalytics {
|
|||||||
public eventMuteCamera = new MuteCameraTracker();
|
public eventMuteCamera = new MuteCameraTracker();
|
||||||
public eventUndecryptableToDevice = new UndecryptableToDeviceEventTracker();
|
public eventUndecryptableToDevice = new UndecryptableToDeviceEventTracker();
|
||||||
public eventQualitySurvey = new QualitySurveyEventTracker();
|
public eventQualitySurvey = new QualitySurveyEventTracker();
|
||||||
public eventCallDisconnected = new CallDisconnectedEventTracker();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { DisconnectReason } from "livekit-client";
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IPosthogEvent,
|
IPosthogEvent,
|
||||||
PosthogAnalytics,
|
PosthogAnalytics,
|
||||||
@@ -36,22 +34,18 @@ export class CallEndedTracker {
|
|||||||
maxParticipantsCount: 0,
|
maxParticipantsCount: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
public cacheStartCall(time: Date): void {
|
cacheStartCall(time: Date) {
|
||||||
this.cache.startTime = time;
|
this.cache.startTime = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
public cacheParticipantCountChanged(count: number): void {
|
cacheParticipantCountChanged(count: number) {
|
||||||
this.cache.maxParticipantsCount = Math.max(
|
this.cache.maxParticipantsCount = Math.max(
|
||||||
count,
|
count,
|
||||||
this.cache.maxParticipantsCount,
|
this.cache.maxParticipantsCount
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public track(
|
track(callId: string, callParticipantsNow: number, sendInstantly: boolean) {
|
||||||
callId: string,
|
|
||||||
callParticipantsNow: number,
|
|
||||||
sendInstantly: boolean,
|
|
||||||
): void {
|
|
||||||
PosthogAnalytics.instance.trackEvent<CallEnded>(
|
PosthogAnalytics.instance.trackEvent<CallEnded>(
|
||||||
{
|
{
|
||||||
eventName: "CallEnded",
|
eventName: "CallEnded",
|
||||||
@@ -60,7 +54,7 @@ export class CallEndedTracker {
|
|||||||
callParticipantsOnLeave: callParticipantsNow,
|
callParticipantsOnLeave: callParticipantsNow,
|
||||||
callDuration: (Date.now() - this.cache.startTime.getTime()) / 1000,
|
callDuration: (Date.now() - this.cache.startTime.getTime()) / 1000,
|
||||||
},
|
},
|
||||||
{ send_instantly: sendInstantly },
|
{ send_instantly: sendInstantly }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -71,7 +65,7 @@ interface CallStarted extends IPosthogEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class CallStartedTracker {
|
export class CallStartedTracker {
|
||||||
public track(callId: string): void {
|
track(callId: string) {
|
||||||
PosthogAnalytics.instance.trackEvent<CallStarted>({
|
PosthogAnalytics.instance.trackEvent<CallStarted>({
|
||||||
eventName: "CallStarted",
|
eventName: "CallStarted",
|
||||||
callId: callId,
|
callId: callId,
|
||||||
@@ -90,19 +84,19 @@ export class SignupTracker {
|
|||||||
signupEnd: new Date(0),
|
signupEnd: new Date(0),
|
||||||
};
|
};
|
||||||
|
|
||||||
public cacheSignupStart(time: Date): void {
|
cacheSignupStart(time: Date) {
|
||||||
this.cache.signupStart = time;
|
this.cache.signupStart = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getSignupEndTime(): Date {
|
getSignupEndTime() {
|
||||||
return this.cache.signupEnd;
|
return this.cache.signupEnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public cacheSignupEnd(time: Date): void {
|
cacheSignupEnd(time: Date) {
|
||||||
this.cache.signupEnd = time;
|
this.cache.signupEnd = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
public track(): void {
|
track() {
|
||||||
PosthogAnalytics.instance.trackEvent<Signup>({
|
PosthogAnalytics.instance.trackEvent<Signup>({
|
||||||
eventName: "Signup",
|
eventName: "Signup",
|
||||||
signupDuration: Date.now() - this.cache.signupStart.getTime(),
|
signupDuration: Date.now() - this.cache.signupStart.getTime(),
|
||||||
@@ -116,7 +110,7 @@ interface Login extends IPosthogEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class LoginTracker {
|
export class LoginTracker {
|
||||||
public track(): void {
|
track() {
|
||||||
PosthogAnalytics.instance.trackEvent<Login>({
|
PosthogAnalytics.instance.trackEvent<Login>({
|
||||||
eventName: "Login",
|
eventName: "Login",
|
||||||
});
|
});
|
||||||
@@ -131,7 +125,7 @@ interface MuteMicrophone {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class MuteMicrophoneTracker {
|
export class MuteMicrophoneTracker {
|
||||||
public track(targetIsMute: boolean, callId: string): void {
|
track(targetIsMute: boolean, callId: string) {
|
||||||
PosthogAnalytics.instance.trackEvent<MuteMicrophone>({
|
PosthogAnalytics.instance.trackEvent<MuteMicrophone>({
|
||||||
eventName: "MuteMicrophone",
|
eventName: "MuteMicrophone",
|
||||||
targetMuteState: targetIsMute ? "mute" : "unmute",
|
targetMuteState: targetIsMute ? "mute" : "unmute",
|
||||||
@@ -147,7 +141,7 @@ interface MuteCamera {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class MuteCameraTracker {
|
export class MuteCameraTracker {
|
||||||
public track(targetIsMute: boolean, callId: string): void {
|
track(targetIsMute: boolean, callId: string) {
|
||||||
PosthogAnalytics.instance.trackEvent<MuteCamera>({
|
PosthogAnalytics.instance.trackEvent<MuteCamera>({
|
||||||
eventName: "MuteCamera",
|
eventName: "MuteCamera",
|
||||||
targetMuteState: targetIsMute ? "mute" : "unmute",
|
targetMuteState: targetIsMute ? "mute" : "unmute",
|
||||||
@@ -162,7 +156,7 @@ interface UndecryptableToDeviceEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class UndecryptableToDeviceEventTracker {
|
export class UndecryptableToDeviceEventTracker {
|
||||||
public track(callId: string): void {
|
track(callId: string) {
|
||||||
PosthogAnalytics.instance.trackEvent<UndecryptableToDeviceEvent>({
|
PosthogAnalytics.instance.trackEvent<UndecryptableToDeviceEvent>({
|
||||||
eventName: "UndecryptableToDeviceEvent",
|
eventName: "UndecryptableToDeviceEvent",
|
||||||
callId,
|
callId,
|
||||||
@@ -178,7 +172,7 @@ interface QualitySurveyEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class QualitySurveyEventTracker {
|
export class QualitySurveyEventTracker {
|
||||||
public track(callId: string, feedbackText: string, stars: number): void {
|
track(callId: string, feedbackText: string, stars: number) {
|
||||||
PosthogAnalytics.instance.trackEvent<QualitySurveyEvent>({
|
PosthogAnalytics.instance.trackEvent<QualitySurveyEvent>({
|
||||||
eventName: "QualitySurvey",
|
eventName: "QualitySurvey",
|
||||||
callId,
|
callId,
|
||||||
@@ -187,17 +181,3 @@ export class QualitySurveyEventTracker {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CallDisconnectedEvent {
|
|
||||||
eventName: "CallDisconnected";
|
|
||||||
reason?: DisconnectReason;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class CallDisconnectedEventTracker {
|
|
||||||
public track(reason?: DisconnectReason): void {
|
|
||||||
PosthogAnalytics.instance.trackEvent<CallDisconnectedEvent>({
|
|
||||||
eventName: "CallDisconnected",
|
|
||||||
reason,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ const maxRejoinMs = 2 * 60 * 1000; // 2 minutes
|
|||||||
* Span processor that extracts certain metrics from spans to send to PostHog
|
* Span processor that extracts certain metrics from spans to send to PostHog
|
||||||
*/
|
*/
|
||||||
export class PosthogSpanProcessor implements SpanProcessor {
|
export class PosthogSpanProcessor implements SpanProcessor {
|
||||||
public async forceFlush(): Promise<void> {}
|
async forceFlush(): Promise<void> {}
|
||||||
|
|
||||||
public onStart(span: Span): void {
|
onStart(span: Span): void {
|
||||||
// Hack: Yield to allow attributes to be set before processing
|
// Hack: Yield to allow attributes to be set before processing
|
||||||
Promise.resolve().then(() => {
|
Promise.resolve().then(() => {
|
||||||
switch (span.name) {
|
switch (span.name) {
|
||||||
@@ -55,7 +55,7 @@ export class PosthogSpanProcessor implements SpanProcessor {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public onEnd(span: ReadableSpan): void {
|
onEnd(span: ReadableSpan): void {
|
||||||
switch (span.name) {
|
switch (span.name) {
|
||||||
case "matrix.groupCallMembership":
|
case "matrix.groupCallMembership":
|
||||||
this.onGroupCallMembershipEnd(span);
|
this.onGroupCallMembershipEnd(span);
|
||||||
@@ -148,7 +148,7 @@ export class PosthogSpanProcessor implements SpanProcessor {
|
|||||||
ratioPeerConnectionToDevices: ratioPeerConnectionToDevices,
|
ratioPeerConnectionToDevices: ratioPeerConnectionToDevices,
|
||||||
},
|
},
|
||||||
// Send instantly because the window might be closing
|
// Send instantly because the window might be closing
|
||||||
{ send_instantly: true },
|
{ send_instantly: true }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -157,7 +157,7 @@ export class PosthogSpanProcessor implements SpanProcessor {
|
|||||||
/**
|
/**
|
||||||
* Shutdown the processor.
|
* Shutdown the processor.
|
||||||
*/
|
*/
|
||||||
public shutdown(): Promise<void> {
|
shutdown(): Promise<void> {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user