Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec810cde5e | ||
|
|
8c2229b236 | ||
|
|
beeb418496 | ||
|
|
0dc362a5dc | ||
|
|
5b9cace410 | ||
|
|
2981a9ddd8 | ||
|
|
1971c18034 | ||
|
|
eb8f6ef902 | ||
|
|
d2e2d3e768 | ||
|
|
4eadfed9af | ||
|
|
e446039d1f | ||
|
|
f64df3dcf1 | ||
|
|
612449066d | ||
|
|
18bcc9ee37 | ||
|
|
c34fcfedda | ||
|
|
11f8ec03bc | ||
|
|
50718e47ca | ||
|
|
2ffe000bf5 | ||
|
|
97a6313e03 |
25
.env.example
25
.env.example
@@ -3,17 +3,22 @@
|
|||||||
# Environment files are documented here:
|
# Environment files are documented here:
|
||||||
# https://vitejs.dev/guide/env-and-mode.html#env-files
|
# https://vitejs.dev/guide/env-and-mode.html#env-files
|
||||||
####
|
####
|
||||||
# Develop backend settings:
|
|
||||||
LIVEKIT_KEY="devkey"
|
|
||||||
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
|
||||||
|
|||||||
@@ -1,42 +1,31 @@
|
|||||||
const COPYRIGHT_HEADER = `/*
|
|
||||||
Copyright %%CURRENT_YEAR%% New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
`;
|
|
||||||
|
|
||||||
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"],
|
|
||||||
"react/display-name": "error",
|
|
||||||
// Encourage proper usage of Promises:
|
|
||||||
"@typescript-eslint/no-floating-promises": "error",
|
|
||||||
"@typescript-eslint/no-misused-promises": "error",
|
|
||||||
"@typescript-eslint/promise-function-async": "error",
|
|
||||||
"@typescript-eslint/require-await": "error",
|
|
||||||
"@typescript-eslint/await-thenable": "error",
|
|
||||||
},
|
},
|
||||||
|
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
|
||||||
|
|||||||
49
.github/workflows/build.yaml
vendored
49
.github/workflows/build.yaml
vendored
@@ -1,25 +1,32 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request: {}
|
||||||
types:
|
|
||||||
- synchronize
|
|
||||||
- opened
|
|
||||||
- labeled
|
|
||||||
paths-ignore:
|
|
||||||
- ".github/**"
|
|
||||||
- "docs/**"
|
|
||||||
push:
|
push:
|
||||||
branches: [livekit, full-mesh]
|
branches: [main]
|
||||||
paths-ignore:
|
|
||||||
- ".github/**"
|
|
||||||
- "docs/**"
|
|
||||||
jobs:
|
jobs:
|
||||||
build_element_call:
|
build:
|
||||||
uses: ./.github/workflows/element-call.yaml
|
name: Build
|
||||||
with:
|
runs-on: ubuntu-latest
|
||||||
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
|
steps:
|
||||||
secrets:
|
- name: Checkout code
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
uses: actions/checkout@v2
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
- name: Yarn cache
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
uses: actions/setup-node@v3
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: "yarn install"
|
||||||
|
- name: Build
|
||||||
|
run: "yarn run build"
|
||||||
|
env:
|
||||||
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: dist
|
||||||
|
# We'll only use this in a triggered job, then we're done with it
|
||||||
|
retention-days: 1
|
||||||
|
|||||||
60
.github/workflows/docker.yaml
vendored
60
.github/workflows/docker.yaml
vendored
@@ -1,60 +0,0 @@
|
|||||||
name: Docker - Deploy
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
docker_tags:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
artifact_run_id:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: ${{ github.run_id }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: ghcr.io
|
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_deploy:
|
|
||||||
name: Build & publish docker
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write # required to upload release asset
|
|
||||||
packages: write
|
|
||||||
steps:
|
|
||||||
- name: Check it out
|
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
||||||
|
|
||||||
- name: 📥 Download artifact
|
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run-id: ${{ inputs.artifact_run_id }}
|
|
||||||
name: build-output
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
- name: Log in to container registry
|
|
||||||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
|
|
||||||
with:
|
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
||||||
tags: ${{ inputs.docker_tags}}
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
6
.github/workflows/e2e.yml
vendored
6
.github/workflows/e2e.yml
vendored
@@ -5,16 +5,16 @@ on:
|
|||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- "livekit"
|
- "main"
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
name: E2E tests runs on Element Call
|
name: E2E tests runs on Element Call
|
||||||
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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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 }}
|
||||||
|
|||||||
47
.github/workflows/element-call.yaml
vendored
47
.github/workflows/element-call.yaml
vendored
@@ -1,47 +0,0 @@
|
|||||||
name: Element Call - Build
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
vite_app_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
secrets:
|
|
||||||
SENTRY_ORG:
|
|
||||||
required: true
|
|
||||||
SENTRY_PROJECT:
|
|
||||||
required: true
|
|
||||||
SENTRY_URL:
|
|
||||||
required: true
|
|
||||||
SENTRY_AUTH_TOKEN:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Element Call
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
||||||
- name: Yarn cache
|
|
||||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
|
||||||
with:
|
|
||||||
cache: "yarn"
|
|
||||||
node-version: "lts/*"
|
|
||||||
- name: Install dependencies
|
|
||||||
run: "yarn install"
|
|
||||||
- name: Build
|
|
||||||
run: "yarn run build"
|
|
||||||
env:
|
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
||||||
VITE_APP_VERSION: ${{ inputs.vite_app_version }}
|
|
||||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
|
|
||||||
with:
|
|
||||||
name: build-output
|
|
||||||
path: dist
|
|
||||||
# We'll only use this in a triggered job, then we're done with it
|
|
||||||
retention-days: 1
|
|
||||||
9
.github/workflows/lint.yaml
vendored
9
.github/workflows/lint.yaml
vendored
@@ -7,12 +7,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
uses: actions/checkout@v2
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
node-version: "lts/*"
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: "yarn install"
|
run: "yarn install"
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
@@ -20,8 +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"
|
||||||
- name: Dead code analysis
|
|
||||||
run: "yarn run lint:knip"
|
|
||||||
|
|||||||
88
.github/workflows/netlify-livekit.yaml
vendored
Normal file
88
.github/workflows/netlify-livekit.yaml
vendored
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
name: Netlify LiveKit Experiment
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
branches:
|
||||||
|
- "livekit-experiment"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
deployments: write
|
||||||
|
# Important: the 'branches' filter above will match the 'livekit-experiment' 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-experiment'
|
||||||
|
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-experiment/config/netlify_redirects > dist/_redirects
|
||||||
|
|
||||||
|
- name: Add config file
|
||||||
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit-experiment/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-experiment
|
||||||
|
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: livekit-experiment
|
||||||
|
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 }}
|
||||||
88
.github/workflows/netlify-main.yaml
vendored
Normal file
88
.github/workflows/netlify-main.yaml
vendored
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
name: Netlify Main
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
|
||||||
|
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 == 'main'
|
||||||
|
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 }}
|
||||||
@@ -1,79 +1,72 @@
|
|||||||
name: Netlify - Deploy
|
name: Netlify PR Preview
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_run:
|
||||||
inputs:
|
workflows: ["Build"]
|
||||||
pr_number:
|
types:
|
||||||
required: true
|
- completed
|
||||||
type: string
|
branches-ignore:
|
||||||
pr_head_full_name:
|
- "main"
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
pr_head_ref:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
deployment_ref:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
artifact_run_id:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: ${{ github.run_id }}
|
|
||||||
secrets:
|
|
||||||
ELEMENT_BOT_TOKEN:
|
|
||||||
required: true
|
|
||||||
NETLIFY_AUTH_TOKEN:
|
|
||||||
required: true
|
|
||||||
NETLIFY_SITE_ID:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
deployments: write
|
deployments: write
|
||||||
environment: Netlify
|
environment: Netlify
|
||||||
steps:
|
steps:
|
||||||
- name: 📝 Create Deployment
|
- name: 📝 Create Deployment
|
||||||
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1
|
uses: bobheadxi/deployments@v1
|
||||||
id: deployment
|
id: deployment
|
||||||
with:
|
with:
|
||||||
step: start
|
step: start
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
env: Netlify
|
env: Netlify
|
||||||
ref: ${{ inputs.deployment_ref }}
|
ref: ${{ github.event.workflow_run.head_sha }}
|
||||||
desc: |
|
desc: |
|
||||||
Do you trust the author of this PR? Maybe this build will steal your keys or give you malware.
|
Do you trust the author of this PR? Maybe this build will steal your keys or give you malware.
|
||||||
Exercise caution. Use test accounts.
|
Exercise caution. Use test accounts.
|
||||||
|
|
||||||
- name: 📥 Download artifact
|
- id: prdetails
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
uses: matrix-org/pr-details-action@v1.2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
|
||||||
run-id: ${{ inputs.artifact_run_id }}
|
branch: ${{ github.event.workflow_run.head_branch }}
|
||||||
name: build-output
|
|
||||||
|
# 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:
|
||||||
|
- name: 📥 Download artifact
|
||||||
|
uses: dawidd6/action-download-artifact@v2
|
||||||
|
with:
|
||||||
|
run_id: ${{ github.event.workflow_run.id }}
|
||||||
|
name: build
|
||||||
path: webapp
|
path: webapp
|
||||||
|
|
||||||
- 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
|
||||||
run: curl -s "https://raw.githubusercontent.com/${{ inputs.pr_head_full_name }}/${{ inputs.pr_head_ref }}/config/config_netlify_preview.json" > webapp/config.json
|
env:
|
||||||
|
HEADBRACH: ${{ github.event.workflow_run.head_branch }}
|
||||||
|
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@4cbaf4c08f1a7bfa537d6113472ef4424e4eb654 # v3.0
|
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"
|
||||||
alias: pr${{ inputs.pr_number }}
|
# These don't work because we're in workflow_run
|
||||||
|
enable-pull-request-comment: false
|
||||||
|
enable-commit-comment: false
|
||||||
|
alias: pr${{ steps.prdetails.outputs.pr_id }}
|
||||||
env:
|
env:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
|
|
||||||
- name: 🚦 Update deployment status
|
- name: 🚦 Update deployment status
|
||||||
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1
|
uses: bobheadxi/deployments@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
step: finish
|
step: finish
|
||||||
50
.github/workflows/pr-deploy.yaml
vendored
50
.github/workflows/pr-deploy.yaml
vendored
@@ -1,50 +0,0 @@
|
|||||||
name: PR Preview Deployments
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows: ["Build"]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
prdetails:
|
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
outputs:
|
|
||||||
pr_number: ${{ steps.prdetails.outputs.pr_id }}
|
|
||||||
pr_data_json: ${{ steps.prdetails.outputs.data }}
|
|
||||||
steps:
|
|
||||||
- id: prdetails
|
|
||||||
uses: matrix-org/pr-details-action@15bde5285d7850ba276cc3bd8a03733e3f24622a # v1.3
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
|
||||||
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
|
|
||||||
branch: ${{ github.event.workflow_run.head_branch }}
|
|
||||||
|
|
||||||
netlify:
|
|
||||||
needs: prdetails
|
|
||||||
permissions:
|
|
||||||
deployments: write
|
|
||||||
uses: ./.github/workflows/netlify.yaml
|
|
||||||
with:
|
|
||||||
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
|
||||||
pr_number: ${{ needs.prdetails.outputs.pr_number }}
|
|
||||||
pr_head_full_name: ${{ github.event.workflow_run.head_repository.full_name }}
|
|
||||||
pr_head_ref: ${{ needs.prdetails.outputs.pr_data_json && fromJSON(needs.prdetails.outputs.pr_data_json).head.ref }}
|
|
||||||
deployment_ref: ${{ needs.prdetails.outputs.pr_data_json && fromJSON(needs.prdetails.outputs.pr_data_json).head.sha || github.ref || github.head_ref }}
|
|
||||||
secrets:
|
|
||||||
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
|
||||||
|
|
||||||
docker:
|
|
||||||
if: ${{ needs.prdetails.outputs.pr_data_json && contains(fromJSON(needs.prdetails.outputs.pr_data_json).labels.*.name, 'docker build') }}
|
|
||||||
needs: prdetails
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
packages: write
|
|
||||||
uses: ./.github/workflows/docker.yaml
|
|
||||||
with:
|
|
||||||
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
|
||||||
docker_tags: |
|
|
||||||
type=sha,format=short,event=branch
|
|
||||||
type=raw,value=pr_${{ needs.prdetails.outputs.pr_number }}
|
|
||||||
96
.github/workflows/publish.yaml
vendored
96
.github/workflows/publish.yaml
vendored
@@ -3,70 +3,70 @@ name: Build & publish images to the package registry for tags
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
workflow_run:
|
|
||||||
workflows: ["Build"]
|
|
||||||
branches: [livekit]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_element_call:
|
build:
|
||||||
if: ${{ github.event_name == 'release' }}
|
name: Build & publish
|
||||||
uses: ./.github/workflows/element-call.yaml
|
|
||||||
with:
|
|
||||||
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
|
|
||||||
secrets:
|
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
||||||
publish_tarball:
|
|
||||||
needs: build_element_call
|
|
||||||
if: always()
|
|
||||||
name: Publish tarball
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
unix_time: ${{steps.current-time.outputs.unix_time}}
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # required to upload release asset
|
contents: write # required to upload release asset
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Get current time
|
- name: Check it out
|
||||||
id: current-time
|
uses: actions/checkout@v2
|
||||||
run: echo "unix_time=$(date +'%s')" >> $GITHUB_OUTPUT
|
|
||||||
- name: 📥 Download artifact
|
- name: Log in to container registry
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
registry: ${{ env.REGISTRY }}
|
||||||
run-id: ${{ github.event.workflow_run.id || github.run_id }}
|
username: ${{ github.actor }}
|
||||||
name: build-output
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: dist
|
|
||||||
|
- name: Yarn cache
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: "yarn install"
|
||||||
|
- name: Build
|
||||||
|
run: "yarn run build"
|
||||||
|
env:
|
||||||
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
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"]'
|
||||||
publish_docker:
|
|
||||||
needs: publish_tarball
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
if: always()
|
id: meta
|
||||||
permissions:
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
contents: write
|
with:
|
||||||
packages: write
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
uses: ./.github/workflows/docker.yaml
|
|
||||||
with:
|
- name: Set up Docker Buildx
|
||||||
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
|
||||||
docker_tags: |
|
|
||||||
type=sha,format=short,event=branch
|
- name: Build and push Docker image
|
||||||
type=semver,pattern=v{{version}}
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
type=raw,value=latest-ci,enable={{is_default_branch}}
|
with:
|
||||||
type=raw,value=latest-ci_${{needs.publish_tarball.outputs.unix_time}},enable={{is_default_branch}}
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
22
.github/workflows/test.yaml
vendored
22
.github/workflows/test.yaml
vendored
@@ -1,28 +1,24 @@
|
|||||||
name: Run unit tests
|
name: Run jest tests
|
||||||
on:
|
on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push:
|
push:
|
||||||
branches: [livekit, full-mesh]
|
branches: [livekit]
|
||||||
jobs:
|
jobs:
|
||||||
vitest:
|
jest:
|
||||||
name: Run vitest tests
|
name: Run jest tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
uses: actions/checkout@v2
|
||||||
- name: Yarn cache
|
- name: Yarn cache
|
||||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
node-version: "lts/*"
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: "yarn install"
|
run: "yarn install"
|
||||||
- name: Vitest
|
- name: Jest
|
||||||
run: "yarn run test:coverage"
|
run: "yarn run test"
|
||||||
- name: Upload to codecov
|
- name: Upload to codecov
|
||||||
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4
|
uses: codecov/codecov-action@v3
|
||||||
env:
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
flags: unittests
|
flags: unittests
|
||||||
fail_ci_if_error: true
|
|
||||||
|
|||||||
57
.github/workflows/translations-download.yaml
vendored
57
.github/workflows/translations-download.yaml
vendored
@@ -1,57 +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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
||||||
|
|
||||||
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
|
||||||
with:
|
|
||||||
cache: "yarn"
|
|
||||||
node-version: "lts/*"
|
|
||||||
|
|
||||||
- name: Install Deps
|
|
||||||
run: "yarn install --frozen-lockfile"
|
|
||||||
|
|
||||||
- name: Prune i18n
|
|
||||||
run: "rm -R public/locales"
|
|
||||||
|
|
||||||
- name: Download translation files
|
|
||||||
uses: localazy/download@0a79880fb66150601e3b43606fab69c88123c087 # 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@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.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 }}
|
|
||||||
22
.github/workflows/translations-upload.yaml
vendored
22
.github/workflows/translations-upload.yaml
vendored
@@ -1,22 +0,0 @@
|
|||||||
name: Upload translation files to Localazy
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- livekit
|
|
||||||
paths-ignore:
|
|
||||||
- ".github/**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
upload:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout the code
|
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
||||||
|
|
||||||
- name: Upload
|
|
||||||
uses: localazy/upload@27e6b5c0fddf4551596b42226b1c24124335d24a # 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 }}
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,4 +7,3 @@ dist-ssr
|
|||||||
.idea/
|
.idea/
|
||||||
public/config.json
|
public/config.json
|
||||||
/coverage
|
/coverage
|
||||||
yarn-error.log
|
|
||||||
|
|||||||
25
.storybook/main.js
Normal file
25
.storybook/main.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
const svgrPlugin = require("vite-plugin-svgr");
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||||
|
framework: "@storybook/react",
|
||||||
|
core: {
|
||||||
|
builder: "storybook-builder-vite",
|
||||||
|
},
|
||||||
|
async viteFinal(config) {
|
||||||
|
config.plugins = config.plugins.filter(
|
||||||
|
(item) =>
|
||||||
|
!(
|
||||||
|
Array.isArray(item) &&
|
||||||
|
item.length > 0 &&
|
||||||
|
item[0].name === "vite-plugin-mdx"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
config.plugins.push(svgrPlugin());
|
||||||
|
config.resolve = config.resolve || {};
|
||||||
|
config.resolve.dedupe = config.resolve.dedupe || [];
|
||||||
|
config.resolve.dedupe.push("react", "react-dom", "matrix-js-sdk");
|
||||||
|
return config;
|
||||||
|
},
|
||||||
|
};
|
||||||
25
.storybook/preview.jsx
Normal file
25
.storybook/preview.jsx
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { addDecorator } from "@storybook/react";
|
||||||
|
import { MemoryRouter } from "react-router-dom";
|
||||||
|
import { usePageFocusStyle } from "../src/usePageFocusStyle";
|
||||||
|
import { OverlayProvider } from "@react-aria/overlays";
|
||||||
|
import "../src/index.css";
|
||||||
|
|
||||||
|
export const parameters = {
|
||||||
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
||||||
|
controls: {
|
||||||
|
matchers: {
|
||||||
|
color: /(background|color)$/i,
|
||||||
|
date: /Date$/,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
addDecorator((story) => {
|
||||||
|
usePageFocusStyle();
|
||||||
|
return (
|
||||||
|
<MemoryRouter initialEntries={["/"]}>
|
||||||
|
<OverlayProvider>{story()}</OverlayProvider>
|
||||||
|
</MemoryRouter>
|
||||||
|
);
|
||||||
|
});
|
||||||
836
LICENSE
836
LICENSE
@@ -1,661 +1,177 @@
|
|||||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 19 November 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
Apache License
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Version 2.0, January 2004
|
||||||
of this license document, but changing it is not allowed.
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
Preamble
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
The GNU Affero General Public License is a free, copyleft license for
|
1. Definitions.
|
||||||
software and other kinds of works, specifically designed to ensure
|
|
||||||
cooperation with the community in the case of network server software.
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
our General Public Licenses are intended to guarantee your freedom to
|
the copyright owner that is granting the License.
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users.
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
When we speak of free software, we are referring to freedom, not
|
control with that entity. For the purposes of this definition,
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
have the freedom to distribute copies of free software (and charge for
|
direction or management of such entity, whether by contract or
|
||||||
them if you wish), that you receive source code or can get it if you
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
want it, that you can change the software or use pieces of it in new
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
Developers that use our General Public Licenses protect your rights
|
exercising permissions granted by this License.
|
||||||
with two steps: (1) assert copyright on the software, and (2) offer
|
|
||||||
you this License which gives you legal permission to copy, distribute
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
and/or modify the software.
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
A secondary benefit of defending all users' freedom is that
|
|
||||||
improvements made in alternate versions of the program, if they
|
"Object" form shall mean any form resulting from mechanical
|
||||||
receive widespread use, become available for other developers to
|
transformation or translation of a Source form, including but
|
||||||
incorporate. Many developers of free software are heartened and
|
not limited to compiled object code, generated documentation,
|
||||||
encouraged by the resulting cooperation. However, in the case of
|
and conversions to other media types.
|
||||||
software used on network servers, this result may fail to come about.
|
|
||||||
The GNU General Public License permits making a modified version and
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
letting the public access it on a server without ever releasing its
|
Object form, made available under the License, as indicated by a
|
||||||
source code to the public.
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
The GNU Affero General Public License is designed specifically to
|
|
||||||
ensure that, in such cases, the modified source code becomes available
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
to the community. It requires the operator of a network server to
|
form, that is based on (or derived from) the Work and for which the
|
||||||
provide the source code of the modified version running there to the
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
users of that server. Therefore, public use of a modified version, on
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
a publicly accessible server, gives the public access to the source
|
of this License, Derivative Works shall not include works that remain
|
||||||
code of the modified version.
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
An older license, called the Affero General Public License and
|
|
||||||
published by Affero, was designed to accomplish similar goals. This is
|
"Contribution" shall mean any work of authorship, including
|
||||||
a different license, not a version of the Affero GPL, but Affero has
|
the original version of the Work and any modifications or additions
|
||||||
released a new version of the Affero GPL which permits relicensing under
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
this license.
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
The precise terms and conditions for copying, distribution and
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
modification follow.
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
TERMS AND CONDITIONS
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
0. Definitions.
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
works, such as semiconductor masks.
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
"recipients" may be individuals or organizations.
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
Work and such Derivative Works in Source or Object form.
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
A "covered work" means either the unmodified Program or a work based
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
on the Program.
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
To "propagate" a work means to do anything with it that, without
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
permission, would make you directly or secondarily liable for
|
where such license applies only to those patent claims licensable
|
||||||
infringement under applicable copyright law, except executing it on a
|
by such Contributor that are necessarily infringed by their
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
distribution (with or without modification), making available to the
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
public, and in some countries other activities as well.
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
To "convey" a work means any kind of propagation that enables other
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
or contributory patent infringement, then any patent licenses
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
tells the user that there is no warranty for the work (except to the
|
modifications, and in Source or Object form, provided that You
|
||||||
extent that warranties are provided), that licensees may convey the
|
meet the following conditions:
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
(a) You must give any other recipients of the Work or
|
||||||
menu, a prominent item in the list meets this criterion.
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
1. Source Code.
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
form of a work.
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
A "Standard Interface" means an interface that either is an official
|
excluding those notices that do not pertain to any part of
|
||||||
standard defined by a recognized standards body, or, in the case of
|
the Derivative Works; and
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
The "System Libraries" of an executable work include anything, other
|
include a readable copy of the attribution notices contained
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
within such NOTICE file, excluding those notices that do not
|
||||||
packaging a Major Component, but which is not part of that Major
|
pertain to any part of the Derivative Works, in at least one
|
||||||
Component, and (b) serves only to enable use of the work with that
|
of the following places: within a NOTICE text file distributed
|
||||||
Major Component, or to implement a Standard Interface for which an
|
as part of the Derivative Works; within the Source form or
|
||||||
implementation is available to the public in source code form. A
|
documentation, if provided along with the Derivative Works; or,
|
||||||
"Major Component", in this context, means a major essential component
|
within a display generated by the Derivative Works, if and
|
||||||
(kernel, window system, and so on) of the specific operating system
|
wherever such third-party notices normally appear. The contents
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
of the NOTICE file are for informational purposes only and
|
||||||
produce the work, or an object code interpreter used to run it.
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
The "Corresponding Source" for a work in object code form means all
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
the source code needed to generate, install, and (for an executable
|
that such additional attribution notices cannot be construed
|
||||||
work) run the object code and to modify the work, including scripts to
|
as modifying the License.
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
You may add Your own copyright statement to Your modifications and
|
||||||
programs which are used unmodified in performing those activities but
|
may provide additional or different license terms and conditions
|
||||||
which are not part of the work. For example, Corresponding Source
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
includes interface definition files associated with source files for
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
the work, and the source code for shared libraries and dynamically
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
linked subprograms that the work is specifically designed to require,
|
the conditions stated in this License.
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
The Corresponding Source need not include anything that users
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
can regenerate automatically from other parts of the Corresponding
|
this License, without any additional terms or conditions.
|
||||||
Source.
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
The Corresponding Source for a work in source code form is that
|
with Licensor regarding such Contributions.
|
||||||
same work.
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
2. Basic Permissions.
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
All rights granted under this License are granted for the term of
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
permission to run the unmodified Program. The output from running a
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
covered work is covered by this License only if the output, given its
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
content, constitutes a covered work. This License acknowledges your
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
You may make, run and propagate covered works that you do not
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
convey, without conditions so long as your license otherwise remains
|
appropriateness of using or redistributing the Work and assume any
|
||||||
in force. You may convey covered works to others for the sole purpose
|
risks associated with Your exercise of permissions under this License.
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
the terms of this License in conveying all material for which you do
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
not control copyright. Those thus making or running the covered works
|
unless required by applicable law (such as deliberate and grossly
|
||||||
for you must do so exclusively on your behalf, under your direction
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
and control, on terms that prohibit them from making any copies of
|
liable to You for damages, including any direct, indirect, special,
|
||||||
your copyrighted material outside their relationship with you.
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
Conveying under any other circumstances is permitted solely under
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
makes it unnecessary.
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
No covered work shall be deemed part of an effective technological
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
measure under any applicable law fulfilling obligations under article
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
or other liability obligations and/or rights consistent with this
|
||||||
similar laws prohibiting or restricting circumvention of such
|
License. However, in accepting such obligations, You may act only
|
||||||
measures.
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
defend, and hold each Contributor harmless for any liability
|
||||||
circumvention of technological measures to the extent such circumvention
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
is effected by exercising rights under this License with respect to
|
of your accepting any such warranty or additional liability.
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
END OF TERMS AND CONDITIONS
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, if you modify the
|
|
||||||
Program, your modified version must prominently offer all users
|
|
||||||
interacting with it remotely through a computer network (if your version
|
|
||||||
supports such interaction) an opportunity to receive the Corresponding
|
|
||||||
Source of your version by providing access to the Corresponding Source
|
|
||||||
from a network server at no charge, through some standard or customary
|
|
||||||
means of facilitating copying of software. This Corresponding Source
|
|
||||||
shall include the Corresponding Source for any work covered by version 3
|
|
||||||
of the GNU General Public License that is incorporated pursuant to the
|
|
||||||
following paragraph.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the work with which it is combined will remain governed by version
|
|
||||||
3 of the GNU General Public License.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU Affero General Public License from time to time. Such new versions
|
|
||||||
will be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU Affero General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU Affero General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU Affero General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If your software can interact with users remotely through a computer
|
|
||||||
network, you should also make sure that it provides a way for users to
|
|
||||||
get its source. For example, if your program is a web application, its
|
|
||||||
interface could display a "Source" link that leads users to an archive
|
|
||||||
of the code. There are many ways you could offer source, and different
|
|
||||||
solutions will be better for different programs; see section 13 for the
|
|
||||||
specific requirements.
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
||||||
<https://www.gnu.org/licenses/>.
|
|
||||||
|
|||||||
115
README.md
115
README.md
@@ -1,28 +1,26 @@
|
|||||||
# 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/).
|
Full mesh group calls powered by [Matrix](https://matrix.org), implementing [MatrixRTC](https://github.com/matrix-org/matrix-spec-proposals/blob/matthew/group-voip/proposals/3401-group-voip.md).
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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
|
||||||
```
|
```
|
||||||
|
|
||||||
If all went well, you can now find the build output under `dist` as a series of static files. These can be hosted using any web server that can be configured with custom routes (see below).
|
If all went well, you can now find the build output under `dist` as a series of static files. These can be hosted using any web server of your choice.
|
||||||
|
|
||||||
You may also wish to add a configuration file (Element Call uses the domain it's hosted on as a Homeserver URL by default,
|
You may also wish to add a configuration file (Element Call uses the domain it's hosted on as a Homeserver URL by default,
|
||||||
but you can change this in the config file). This goes in `public/config.json` - you can use the sample as a starting point:
|
but you can change this in the config file). This goes in `public/config.json` - you can use the sample as a starting point:
|
||||||
@@ -50,50 +48,24 @@ Element Call requires a homeserver with registration enabled without any 3pid or
|
|||||||
|
|
||||||
Therefore, to use a self-hosted homeserver, this is recommended to be a new server where any user account created has not joined any normal rooms anywhere in the Matrix federated network. The homeserver used can be setup to disable federation, so as to prevent spam registrations (if you keep registrations open) and to ensure Element Call continues to work in case any user decides to log in to their Element Call account using the standard Element app and joins normal rooms that Element Call cannot handle.
|
Therefore, to use a self-hosted homeserver, this is recommended to be a new server where any user account created has not joined any normal rooms anywhere in the Matrix federated network. The homeserver used can be setup to disable federation, so as to prevent spam registrations (if you keep registrations open) and to ensure Element Call continues to work in case any user decides to log in to their Element Call account using the standard Element app and joins normal rooms that Element Call cannot handle.
|
||||||
|
|
||||||
## Configuration
|
### Features
|
||||||
|
|
||||||
There are currently two different config files. `.env` holds variables that are used at build time, while `public/config.json` holds variables that are used at runtime. Documentation and default values for `public/config.json` can be found in [ConfigOptions.ts](src/config/ConfigOptions.ts).
|
#### Allow joining group calls without a camera and a microphone
|
||||||
|
|
||||||
If you're using [Synapse](https://github.com/element-hq/synapse/), you'll need to additionally add the following to `homeserver.yaml` or Element Call won't work:
|
You can allow joining a group call without video and audio enabling this feature in your `config.json`:
|
||||||
|
|
||||||
```
|
|
||||||
experimental_features:
|
|
||||||
msc3266_enabled: true
|
|
||||||
```
|
|
||||||
|
|
||||||
MSC3266 allows to request a room summary of rooms you are not joined.
|
|
||||||
The summary contains the room join rules. We need that to decide if the user gets prompted with the option to knock ("ask to join"), a cannot join error or the join view.
|
|
||||||
|
|
||||||
Element Call requires a Livekit SFU behind a Livekit jwt service to work. The url to the Livekit jwt service can either be configured in the config of Element Call (fallback/legacy configuration) or be configured by your homeserver via the `.well-known`.
|
|
||||||
This is the recommended method.
|
|
||||||
|
|
||||||
The configuration is a list of Foci configs:
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"org.matrix.msc4143.rtc_foci": [
|
{
|
||||||
{
|
...
|
||||||
"type": "livekit",
|
|
||||||
"livekit_service_url": "https://someurl.com"
|
"features": {
|
||||||
},
|
"feature_group_calls_without_video_and_audio": true
|
||||||
{
|
}
|
||||||
"type": "livekit",
|
}
|
||||||
"livekit_service_url": "https://livekit2.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "another_foci",
|
|
||||||
"props_for_another_foci": "val"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 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.
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Frontend
|
|
||||||
|
|
||||||
Element Call is built against [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/pull/2553). To get started, clone, install, and link the package:
|
Element Call is built against [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/pull/2553). To get started, clone, install, and link the package:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -106,7 +78,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
|
||||||
@@ -118,57 +90,10 @@ You're now ready to launch the development server:
|
|||||||
yarn dev
|
yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Backend
|
## Configuration
|
||||||
|
|
||||||
A docker compose file is provided to start a LiveKit server and auth
|
There are currently two different config files. `.env` holds variables that are used at build time, while `public/config.json` holds variables that are used at runtime. Documentation and default values for `public/config.json` can be found in [ConfigOptions.ts](src/config/ConfigOptions.ts).
|
||||||
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 a SFU parameter in your local config `./public/config.json`:
|
## Translation
|
||||||
(Be aware, that this is only the fallback Livekit SFU. If the homeserver
|
|
||||||
advertises one in the client well-known, this will not be used.)
|
|
||||||
|
|
||||||
```json
|
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.
|
||||||
"livekit": {
|
|
||||||
"livekit_service_url": "http://localhost:7881"
|
|
||||||
},
|
|
||||||
```
|
|
||||||
|
|
||||||
Run backend components:
|
|
||||||
|
|
||||||
```
|
|
||||||
yarn backend
|
|
||||||
```
|
|
||||||
|
|
||||||
### Test Coverage
|
|
||||||
|
|
||||||
<img src="https://codecov.io/github/element-hq/element-call/graphs/tree.svg?token=O6CFVKK6I1"></img>
|
|
||||||
|
|
||||||
### Add a new translation key
|
|
||||||
|
|
||||||
To add a new translation key you can do these steps:
|
|
||||||
|
|
||||||
1. Add the new key entry to the code where the new key is used: `t("some_new_key")`
|
|
||||||
1. Run `yarn i18n` to extract the new key and update the translation files. This will add a skeleton entry to the `public/locales/en-GB/app.json` file:
|
|
||||||
```jsonc
|
|
||||||
{
|
|
||||||
...
|
|
||||||
"some_new_key": "",
|
|
||||||
...
|
|
||||||
}
|
|
||||||
```
|
|
||||||
1. Update the skeleton entry in the `public/locales/en-GB/app.json` file with the English translation:
|
|
||||||
```jsonc
|
|
||||||
{
|
|
||||||
...
|
|
||||||
"some_new_key": "Some new key",
|
|
||||||
...
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
Usage and other technical details about the project can be found here:
|
|
||||||
|
|
||||||
[**Docs**](./docs/README.md)
|
|
||||||
|
|||||||
@@ -8,12 +8,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
"@babel/preset-react",
|
||||||
"@babel/preset-react",
|
|
||||||
{
|
|
||||||
runtime: "automatic",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"@babel/preset-typescript",
|
"@babel/preset-typescript",
|
||||||
],
|
],
|
||||||
plugins: ["babel-plugin-transform-vite-meta-env"],
|
plugins: ["babel-plugin-transform-vite-meta-env"],
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
version: "3.9"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
lkbackend:
|
|
||||||
|
|
||||||
services:
|
|
||||||
auth-service:
|
|
||||||
image: ghcr.io/element-hq/lk-jwt-service:latest-ci
|
|
||||||
hostname: auth-server
|
|
||||||
ports:
|
|
||||||
- 8881:8080
|
|
||||||
environment:
|
|
||||||
- LIVEKIT_URL=ws://localhost:7880
|
|
||||||
- LIVEKIT_KEY=devkey
|
|
||||||
- LIVEKIT_SECRET=secret
|
|
||||||
deploy:
|
|
||||||
restart_policy:
|
|
||||||
condition: on-failure
|
|
||||||
networks:
|
|
||||||
- lkbackend
|
|
||||||
|
|
||||||
livekit:
|
|
||||||
image: livekit/livekit-server:latest
|
|
||||||
command: --dev --config /etc/livekit.yaml
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "7880:7880"
|
|
||||||
- "7881:7881"
|
|
||||||
- "7882:7882"
|
|
||||||
- "50100-50200:50100-50200"
|
|
||||||
volumes:
|
|
||||||
- ./backend/livekit.yaml:/etc/livekit.yaml
|
|
||||||
networks:
|
|
||||||
- lkbackend
|
|
||||||
|
|
||||||
redis:
|
|
||||||
image: redis:6-alpine
|
|
||||||
command: redis-server /etc/redis.conf
|
|
||||||
ports:
|
|
||||||
- 6379:6379
|
|
||||||
volumes:
|
|
||||||
- ./backend/redis.conf:/etc/redis.conf
|
|
||||||
networks:
|
|
||||||
- lkbackend
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
port: 7880
|
|
||||||
bind_addresses:
|
|
||||||
- "0.0.0.0"
|
|
||||||
rtc:
|
|
||||||
tcp_port: 7881
|
|
||||||
port_range_start: 50100
|
|
||||||
port_range_end: 50200
|
|
||||||
use_external_ip: false
|
|
||||||
#redis:
|
|
||||||
# address: redis:6379
|
|
||||||
# username: ""
|
|
||||||
# password: ""
|
|
||||||
# db: 0
|
|
||||||
turn:
|
|
||||||
enabled: false
|
|
||||||
domain: localhost
|
|
||||||
cert_file: ""
|
|
||||||
key_file: ""
|
|
||||||
tls_port: 5349
|
|
||||||
udp_port: 443
|
|
||||||
external_tls: true
|
|
||||||
keys:
|
|
||||||
devkey: secret
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
bind 0.0.0.0
|
|
||||||
protected-mode yes
|
|
||||||
port 6379
|
|
||||||
timeout 0
|
|
||||||
tcp-keepalive 300
|
|
||||||
15
codecov.yaml
15
codecov.yaml
@@ -1,15 +0,0 @@
|
|||||||
# Don't post comments on PRs; they're noisy and the same information can be
|
|
||||||
# gotten through the checks section at the bottom of the PR anyways
|
|
||||||
comment: false
|
|
||||||
coverage:
|
|
||||||
status:
|
|
||||||
project:
|
|
||||||
default:
|
|
||||||
# Track the impact of changes on overall coverage without blocking PRs
|
|
||||||
informational: true
|
|
||||||
patch:
|
|
||||||
default:
|
|
||||||
# Encourage (but don't enforce) 80% coverage on all lines that a PR
|
|
||||||
# touches
|
|
||||||
target: 80%
|
|
||||||
informational: true
|
|
||||||
@@ -4,12 +4,5 @@
|
|||||||
"base_url": "https://call.ems.host",
|
"base_url": "https://call.ems.host",
|
||||||
"server_name": "call.ems.host"
|
"server_name": "call.ems.host"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"livekit": {
|
|
||||||
"livekit_service_url": "http://localhost:7881"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"feature_use_device_session_member_events": true
|
|
||||||
},
|
|
||||||
"eula": "https://static.element.io/legal/online-EULA.pdf"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,18 @@
|
|||||||
{
|
{
|
||||||
"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_service_url": "https://livekit-jwt.call.element.dev"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"feature_use_device_session_member_events": true
|
|
||||||
},
|
|
||||||
"posthog": {
|
"posthog": {
|
||||||
"api_key": "phc_rXGHx9vDmyEvyRxPziYtdVIv0ahEv8A9uLWFcCi1WcU",
|
"api_key": "phc_rXGHx9vDmyEvyRxPziYtdVIv0ahEv8A9uLWFcCi1WcU",
|
||||||
"api_host": "https://posthog-element-call.element.io"
|
"api_host": "https://posthog-element-call.element.io"
|
||||||
},
|
},
|
||||||
|
"sentry": {
|
||||||
|
"environment": "main-branch-cd",
|
||||||
|
"DSN": "https://b1e328d49be3402ba96101338989fb35@sentry.matrix.org/41"
|
||||||
|
},
|
||||||
"rageshake": {
|
"rageshake": {
|
||||||
"submit_url": "https://element.io/bugreports/submit"
|
"submit_url": "https://element.io/bugreports/submit"
|
||||||
}
|
}
|
||||||
15
config/element_io_preview.json
Normal file
15
config/element_io_preview.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"default_server_config": {
|
||||||
|
"m.homeserver": {
|
||||||
|
"base_url": "https://call.ems.host",
|
||||||
|
"server_name": "call.ems.host"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"posthog": {
|
||||||
|
"api_key": "phc_rXGHx9vDmyEvyRxPziYtdVIv0ahEv8A9uLWFcCi1WcU",
|
||||||
|
"api_host": "https://posthog-element-call.element.io"
|
||||||
|
},
|
||||||
|
"rageshake": {
|
||||||
|
"submit_url": "https://element.io/bugreports/submit"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<VirtualHost *:8080>
|
|
||||||
ServerName localhost
|
|
||||||
|
|
||||||
DocumentRoot "/app"
|
|
||||||
|
|
||||||
<Location "/">
|
|
||||||
# disable cache entriely by default (apart from Etag which is accurate enough)
|
|
||||||
Header add Cache-Control "private no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
|
|
||||||
CacheDisable on
|
|
||||||
ExpiresActive off
|
|
||||||
|
|
||||||
# also turn off last-modified since they are just the timestamps of the file in the docker image
|
|
||||||
# and may or may not bear any resemblance to when the resource changed
|
|
||||||
Header add Last-Modified ""
|
|
||||||
|
|
||||||
DirectoryIndex index.html
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
# assets can be cached because they have hashed filenames
|
|
||||||
<Location "/assets">
|
|
||||||
ExpiresActive on
|
|
||||||
ExpiresDefault "access plus 1 week"
|
|
||||||
Header add Cache-Control "public, no-transform"
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
<Location "/apple-app-site-association">
|
|
||||||
ForceType application/json
|
|
||||||
</Location>
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
@@ -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,7 +0,0 @@
|
|||||||
## Element Call Docs
|
|
||||||
|
|
||||||
This folder contains documentation for Element Call setup and usage.
|
|
||||||
|
|
||||||
- [Embedded vs standalone mode](./embedded-standalone.md)
|
|
||||||
- [Url format and parameters](./url-params.md)
|
|
||||||
- [Global JS controls](./controls.md)
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# Global JS controls
|
|
||||||
|
|
||||||
A few aspects of Element Call's interface can be controlled through a global API on the `window`:
|
|
||||||
|
|
||||||
- `controls.canEnterPip(): boolean` Determines whether it's possible to enter picture-in-picture mode.
|
|
||||||
- `controls.enablePip(): void` Puts the call interface into picture-in-picture mode. Throws if not in a call.
|
|
||||||
- `controls.disablePip(): void` Takes the call interface out of picture-in-picture mode, restoring it to its natural display mode. Throws if not in a call.
|
|
||||||
@@ -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,252 +0,0 @@
|
|||||||
# Url Format and parameters
|
|
||||||
|
|
||||||
There are two formats for Element Call urls.
|
|
||||||
|
|
||||||
- **Current Format**
|
|
||||||
|
|
||||||
```text
|
|
||||||
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**
|
|
||||||
|
|
||||||
```text
|
|
||||||
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 implies that element
|
|
||||||
call will not connect to a homeserver directly and instead tries to establish
|
|
||||||
postMessage communication via the `parentUrl`.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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)
|
|
||||||
|
|
||||||
```ts
|
|
||||||
parentUrl: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**userId**
|
|
||||||
The user's ID (only used in matryoshka mode).
|
|
||||||
|
|
||||||
```ts
|
|
||||||
userId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**deviceId**
|
|
||||||
The device's ID (only used in matryoshka mode).
|
|
||||||
|
|
||||||
```ts
|
|
||||||
deviceId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**baseUrl**
|
|
||||||
The base URL of the homeserver to use for media lookups in matryoshka mode.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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().
|
|
||||||
|
|
||||||
```ts
|
|
||||||
roomId: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**confineToRoom**
|
|
||||||
Whether the app should keep the user confined to the current call/room.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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.)
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
preload: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**hideHeader**
|
|
||||||
Whether to hide the room header when in a call.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
hideHeader: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**showControls**
|
|
||||||
Whether to show the buttons to mute, screen-share, invite, hangup are shown
|
|
||||||
when in a call.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
showControls: boolean; (default: true)
|
|
||||||
```
|
|
||||||
|
|
||||||
**hideScreensharing**
|
|
||||||
Whether to hide the screen-sharing button.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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!
|
|
||||||
|
|
||||||
```ts
|
|
||||||
enableE2EE: boolean; (default: true)
|
|
||||||
```
|
|
||||||
|
|
||||||
**perParticipantE2EE**
|
|
||||||
Whether to use per participant encryption.
|
|
||||||
Keys will be exchanged over encrypted matrix room messages.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
perParticipantE2EE: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**password**
|
|
||||||
E2EE password when using a shared secret.
|
|
||||||
(For individual sender keys in embedded mode this is not required.)
|
|
||||||
|
|
||||||
```ts
|
|
||||||
password: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**displayName**
|
|
||||||
The display name to use for auto-registration.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
displayName: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**lang**
|
|
||||||
The BCP 47 code of the language the app should use.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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...`
|
|
||||||
|
|
||||||
```ts
|
|
||||||
font: string;
|
|
||||||
font: string;
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
**fontScale**
|
|
||||||
The factor by which to scale the interface's font size.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
fontScale: number | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**analyticsID**
|
|
||||||
The Posthog analytics ID. It is only available if the user has given consent for
|
|
||||||
sharing telemetry in element web.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
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.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
skipLobby: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**returnToLobby**
|
|
||||||
Setting this flag makes element call show the lobby in widget mode after leaving
|
|
||||||
a call.
|
|
||||||
This is useful for video rooms.
|
|
||||||
If set to false, the widget will show a blank page after leaving the call.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
returnToLobby: boolean; (default: false)
|
|
||||||
```
|
|
||||||
|
|
||||||
**theme**
|
|
||||||
The theme to use for element call.
|
|
||||||
can be "light", "dark", "light-high-contrast" or "dark-high-contrast".
|
|
||||||
If not set element call will use the dark theme.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
theme: string | null;
|
|
||||||
```
|
|
||||||
|
|
||||||
**viaServers**
|
|
||||||
This defines the homeserver that is going to be used when joining a room.
|
|
||||||
It has to be set to a non default value for links to rooms
|
|
||||||
that are not on the default homeserver,
|
|
||||||
that is in use for the current user.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
viaServers: string; (default: undefined)
|
|
||||||
```
|
|
||||||
|
|
||||||
**homeserver**
|
|
||||||
This defines the homeserver that is going to be used when registering
|
|
||||||
a new (guest) user.
|
|
||||||
This can be user to configure a non default guest user server when
|
|
||||||
creating a spa link.
|
|
||||||
|
|
||||||
```ts
|
|
||||||
homeserver: string; (default: undefined)
|
|
||||||
```
|
|
||||||
@@ -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,
|
||||||
};
|
};
|
||||||
30
knip.ts
30
knip.ts
@@ -1,30 +0,0 @@
|
|||||||
import { KnipConfig } from "knip";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
entry: ["src/main.tsx", "i18next-parser.config.ts"],
|
|
||||||
ignoreBinaries: [
|
|
||||||
// This is deprecated, so Knip doesn't actually recognize it as a globally
|
|
||||||
// installed binary. TODO We should switch to Compose v2:
|
|
||||||
// https://docs.docker.com/compose/migrate/
|
|
||||||
"docker-compose",
|
|
||||||
],
|
|
||||||
ignoreDependencies: [
|
|
||||||
// Used in CSS
|
|
||||||
"normalize.css",
|
|
||||||
// Used for its global type declarations
|
|
||||||
"@types/grecaptcha",
|
|
||||||
// Because we use matrix-js-sdk as a Git dependency rather than consuming
|
|
||||||
// the proper release artifacts, and also import directly from src/, we're
|
|
||||||
// forced to re-install some of the types that it depends on even though
|
|
||||||
// these look unused to Knip
|
|
||||||
"@types/content-type",
|
|
||||||
"@types/sdp-transform",
|
|
||||||
"@types/uuid",
|
|
||||||
// We obviously use this, but if the package has been linked with yarn link,
|
|
||||||
// then Knip will flag it as a false positive
|
|
||||||
// https://github.com/webpro-nl/knip/issues/766
|
|
||||||
"@vector-im/compound-web",
|
|
||||||
"matrix-widget-api",
|
|
||||||
],
|
|
||||||
ignoreExportsUsedInFile: true,
|
|
||||||
} satisfies KnipConfig;
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
187
package.json
187
package.json
@@ -1,117 +1,128 @@
|
|||||||
{
|
{
|
||||||
"name": "element-call",
|
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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 && yarn lint:knip",
|
"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:knip": "knip",
|
|
||||||
"lint:types": "tsc",
|
"lint:types": "tsc",
|
||||||
"i18n": "i18next",
|
"i18n": "node_modules/i18next-parser/bin/cli.js",
|
||||||
"i18n:check": "i18next --fail-on-warnings --fail-on-update",
|
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
|
||||||
"test": "vitest",
|
"test": "jest"
|
||||||
"test:coverage": "vitest --coverage",
|
|
||||||
"backend": "docker-compose -f backend-docker-compose.yml up"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.16.5",
|
"@juggle/resize-observer": "^3.3.1",
|
||||||
"@babel/preset-env": "^7.22.20",
|
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
|
||||||
"@babel/preset-react": "^7.22.15",
|
|
||||||
"@babel/preset-typescript": "^7.23.0",
|
|
||||||
"@livekit/components-core": "^0.11.0",
|
|
||||||
"@livekit/components-react": "^2.0.0",
|
|
||||||
"@opentelemetry/api": "^1.4.0",
|
"@opentelemetry/api": "^1.4.0",
|
||||||
"@opentelemetry/core": "^1.25.1",
|
"@opentelemetry/context-zone": "^1.9.1",
|
||||||
"@opentelemetry/exporter-trace-otlp-http": "^0.53.0",
|
"@opentelemetry/exporter-jaeger": "^1.9.1",
|
||||||
"@opentelemetry/resources": "^1.25.1",
|
"@opentelemetry/exporter-trace-otlp-http": "^0.35.1",
|
||||||
"@opentelemetry/sdk-trace-base": "^1.25.1",
|
"@opentelemetry/instrumentation-document-load": "^0.31.1",
|
||||||
|
"@opentelemetry/instrumentation-user-interaction": "^0.32.1",
|
||||||
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
||||||
"@opentelemetry/semantic-conventions": "^1.25.1",
|
"@react-aria/button": "^3.3.4",
|
||||||
"@radix-ui/react-dialog": "^1.0.4",
|
"@react-aria/dialog": "^3.1.4",
|
||||||
"@radix-ui/react-slider": "^1.1.2",
|
"@react-aria/focus": "^3.5.0",
|
||||||
"@radix-ui/react-visually-hidden": "^1.0.3",
|
"@react-aria/menu": "^3.3.0",
|
||||||
|
"@react-aria/overlays": "^3.7.3",
|
||||||
|
"@react-aria/select": "^3.6.0",
|
||||||
|
"@react-aria/tabs": "^3.1.0",
|
||||||
|
"@react-aria/tooltip": "^3.1.3",
|
||||||
|
"@react-aria/utils": "^3.10.0",
|
||||||
"@react-spring/web": "^9.4.4",
|
"@react-spring/web": "^9.4.4",
|
||||||
"@sentry/react": "^8.0.0",
|
"@react-stately/collections": "^3.3.4",
|
||||||
"@sentry/vite-plugin": "^2.0.0",
|
"@react-stately/overlays": "^3.1.3",
|
||||||
"@testing-library/dom": "^10.1.0",
|
"@react-stately/select": "^3.1.3",
|
||||||
"@testing-library/react": "^16.0.0",
|
"@react-stately/tooltip": "^3.0.5",
|
||||||
"@testing-library/user-event": "^14.5.1",
|
"@react-stately/tree": "^3.2.0",
|
||||||
"@types/content-type": "^1.1.5",
|
"@sentry/react": "^6.13.3",
|
||||||
"@types/grecaptcha": "^3.0.9",
|
"@sentry/tracing": "^6.13.3",
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/grecaptcha": "^3.0.4",
|
||||||
"@types/lodash": "^4.14.199",
|
|
||||||
"@types/node": "^20.0.0",
|
|
||||||
"@types/qrcode": "^1.5.5",
|
|
||||||
"@types/react-dom": "^18.3.0",
|
|
||||||
"@types/react-router-dom": "^5.3.3",
|
|
||||||
"@types/sdp-transform": "^2.4.5",
|
"@types/sdp-transform": "^2.4.5",
|
||||||
"@types/uuid": "10",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
||||||
"@typescript-eslint/parser": "^8.0.0",
|
|
||||||
"@use-gesture/react": "^10.2.11",
|
"@use-gesture/react": "^10.2.11",
|
||||||
"@vector-im/compound-design-tokens": "^1.0.0",
|
|
||||||
"@vector-im/compound-web": "^6.0.0",
|
|
||||||
"@vitejs/plugin-basic-ssl": "^1.0.1",
|
|
||||||
"@vitejs/plugin-react": "^4.0.1",
|
|
||||||
"@vitest/coverage-v8": "^2.0.5",
|
|
||||||
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"eslint": "^8.14.0",
|
"color-hash": "^2.0.1",
|
||||||
"eslint-config-google": "^0.14.0",
|
"events": "^3.3.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"i18next": "^21.10.0",
|
||||||
"eslint-plugin-deprecate": "^0.8.2",
|
"i18next-browser-languagedetector": "^6.1.8",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"i18next-http-backend": "^1.4.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
||||||
"eslint-plugin-matrix-org": "^1.2.1",
|
|
||||||
"eslint-plugin-react": "^7.29.4",
|
|
||||||
"eslint-plugin-react-hooks": "^4.5.0",
|
|
||||||
"eslint-plugin-unicorn": "^55.0.0",
|
|
||||||
"global-jsdom": "^24.0.0",
|
|
||||||
"history": "^4.0.0",
|
|
||||||
"i18next": "^23.0.0",
|
|
||||||
"i18next-browser-languagedetector": "^8.0.0",
|
|
||||||
"i18next-http-backend": "^2.0.0",
|
|
||||||
"i18next-parser": "^9.0.0",
|
|
||||||
"jsdom": "^25.0.0",
|
|
||||||
"knip": "^5.27.2",
|
|
||||||
"livekit-client": "^2.0.2",
|
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"loglevel": "^1.9.1",
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#f884c78579c336a03bc20ff8f4e92c46582822b6",
|
||||||
"matrix-js-sdk": "matrix-org/matrix-js-sdk#414ac9d8cc28330718236b90ad67a1507e146932",
|
"matrix-widget-api": "^1.3.1",
|
||||||
"matrix-widget-api": "^1.8.2",
|
"mermaid": "^8.13.8",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"observable-hooks": "^4.2.3",
|
|
||||||
"pako": "^2.0.4",
|
"pako": "^2.0.4",
|
||||||
"postcss": "^8.4.41",
|
"postcss-preset-env": "^7",
|
||||||
"postcss-preset-env": "^10.0.0",
|
|
||||||
"posthog-js": "^1.29.0",
|
"posthog-js": "^1.29.0",
|
||||||
"prettier": "^3.0.0",
|
"re-resizable": "^6.9.0",
|
||||||
"qrcode": "^1.5.4",
|
|
||||||
"react": "18",
|
"react": "18",
|
||||||
"react-dom": "18",
|
"react-dom": "18",
|
||||||
"react-i18next": "^15.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",
|
||||||
"sass": "^1.42.1",
|
"tinyqueue": "^2.0.3",
|
||||||
"typescript": "^5.1.6",
|
"unique-names-generator": "^4.6.0"
|
||||||
"typescript-eslint-language-service": "^5.0.5",
|
|
||||||
"unique-names-generator": "^4.6.0",
|
|
||||||
"vaul": "^0.9.0",
|
|
||||||
"vite": "^5.0.0",
|
|
||||||
"vite-plugin-html-template": "^1.1.0",
|
|
||||||
"vite-plugin-svgr": "^4.0.0",
|
|
||||||
"vitest": "^2.0.0",
|
|
||||||
"vitest-axe": "^1.0.0-pre.3"
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"devDependencies": {
|
||||||
"strip-ansi": "6.0.1"
|
"@babel/core": "^7.16.5",
|
||||||
|
"@sentry/vite-plugin": "^0.3.0",
|
||||||
|
"@storybook/react": "^6.5.0-alpha.5",
|
||||||
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
|
"@testing-library/react": "^13.4.0",
|
||||||
|
"@types/request": "^2.48.8",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
||||||
|
"@typescript-eslint/parser": "^5.22.0",
|
||||||
|
"babel-loader": "^8.2.3",
|
||||||
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
||||||
|
"eslint": "^8.14.0",
|
||||||
|
"eslint-config-google": "^0.14.0",
|
||||||
|
"eslint-config-prettier": "^8.5.0",
|
||||||
|
"eslint-plugin-import": "^2.26.0",
|
||||||
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||||
|
"eslint-plugin-matrix-org": "^0.4.0",
|
||||||
|
"eslint-plugin-react": "^7.29.4",
|
||||||
|
"eslint-plugin-react-hooks": "^4.5.0",
|
||||||
|
"i18next-parser": "^6.6.0",
|
||||||
|
"identity-obj-proxy": "^3.0.0",
|
||||||
|
"jest": "^29.2.2",
|
||||||
|
"jest-environment-jsdom": "^29.3.1",
|
||||||
|
"prettier": "^2.6.2",
|
||||||
|
"sass": "^1.42.1",
|
||||||
|
"storybook-builder-vite": "^0.1.12",
|
||||||
|
"typescript": "^4.6.4",
|
||||||
|
"typescript-strict-plugin": "^2.0.1",
|
||||||
|
"vite": "^2.4.2",
|
||||||
|
"vite-plugin-html-template": "^1.1.0",
|
||||||
|
"vite-plugin-svgr": "^0.4.0"
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"testEnvironment": "jsdom",
|
||||||
|
"testMatch": [
|
||||||
|
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
||||||
|
],
|
||||||
|
"transformIgnorePatterns": [
|
||||||
|
"/node_modules/(?!d3)+$",
|
||||||
|
"/node_modules/(?!internmap)+$"
|
||||||
|
],
|
||||||
|
"moduleNameMapper": {
|
||||||
|
"\\.(css|less|svg)+$": "identity-obj-proxy",
|
||||||
|
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
||||||
|
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
||||||
|
},
|
||||||
|
"collectCoverage": true,
|
||||||
|
"coverageReporters": [
|
||||||
|
"text",
|
||||||
|
"cobertura"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,8 +13,7 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<!-- The default class is: .no-theme {display: none}. It will be overwritten once the app is loaded. -->
|
<body>
|
||||||
<body class="no-theme">
|
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,75 +1,120 @@
|
|||||||
{
|
{
|
||||||
"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": {
|
"Accept camera/microphone permissions to join the call.": "Приемете разрешенията за камера/микрофон за да се присъедините в разговора.",
|
||||||
"close": "Затвори",
|
"Accept microphone permissions to join the call.": "Приемете разрешението за микрофона за да се присъедините в разговора.",
|
||||||
"go": "Напред",
|
"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 логове.",
|
||||||
"no": "Не",
|
"Audio": "Звук",
|
||||||
"register": "Регистрация",
|
"Avatar": "Аватар",
|
||||||
"remove": "Премахни",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Натискайки \"Напред\" се съгласявате с нашите <2>Правила и условия</2>",
|
||||||
"sign_in": "Влез",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Натискайки \"Влез в разговора сега\", се съгласявате с нашите <2>Правила и условия</2>",
|
||||||
"sign_out": "Излез"
|
"Call link copied": "Връзка към разговора бе копирана",
|
||||||
},
|
"Call type menu": "Меню \"тип на разговора\"",
|
||||||
"call_ended_view": {
|
"Camera": "Камера",
|
||||||
"create_account_button": "Създай акаунт",
|
"Camera {{n}}": "Камера {{n}}",
|
||||||
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
|
"Camera/microphone permissions needed to join the call.": "Необходими са разрешения за камера/микрофон за да се присъедините в разговора.",
|
||||||
"not_now_button": "Не сега, върни се на началния екран"
|
"Change layout": "Промени изгледа",
|
||||||
},
|
"Close": "Затвори",
|
||||||
"common": {
|
"Confirm password": "Потвърди паролата",
|
||||||
"audio": "Звук",
|
"Connection lost": "Връзката се изгуби",
|
||||||
"avatar": "Аватар",
|
"Copied!": "Копирано!",
|
||||||
"camera": "Камера",
|
"Copy and share this call link": "Копирай и сподели връзка към разговора",
|
||||||
"copied": "Копирано!",
|
"Create account": "Създай акаунт",
|
||||||
"display_name": "Име/псевдоним",
|
"Debug log": "Debug логове",
|
||||||
"home": "Начало",
|
"Debug log request": "Заявка за debug логове",
|
||||||
"loading": "Зареждане…",
|
"Details": "Детайли",
|
||||||
"microphone": "Микрофон",
|
"Developer": "Разработчик",
|
||||||
"password": "Парола",
|
"Display name": "Име/псевдоним",
|
||||||
"profile": "Профил",
|
"Download debug logs": "Изтеглете debug логове",
|
||||||
"settings": "Настройки",
|
"Exit full screen": "Излез от цял екран",
|
||||||
"username": "Потребителско име",
|
"Fetching group call timed out.": "Изтече времето за взимане на груповия разговор.",
|
||||||
"video": "Видео"
|
"Freedom": "Свобода",
|
||||||
},
|
"Full screen": "Цял екран",
|
||||||
"join_existing_call_modal": {
|
"Go": "Напред",
|
||||||
"join_button": "Да, присъедини се",
|
"Grid layout menu": "Меню \"решетков изглед\"",
|
||||||
"text": "Този разговор вече съществува, искате ли да се присъедините?",
|
"Home": "Начало",
|
||||||
"title": "Присъединяване към съществуващ разговор?"
|
"Include debug logs": "Включи debug логове",
|
||||||
},
|
"Incompatible versions": "Несъвместими версии",
|
||||||
"layout_spotlight_label": "Прожектор",
|
"Incompatible versions!": "Несъвместими версии!",
|
||||||
"lobby": {
|
"Inspector": "Инспектор",
|
||||||
"join_button": "Влез в разговора"
|
"Invite": "Покани",
|
||||||
},
|
"Invite people": "Покани хора",
|
||||||
"logging_in": "Влизане…",
|
"Join call": "Влез в разговора",
|
||||||
"login_auth_links": "<0>Създайте акаунт</0> или <2>Влезте като гост</2>",
|
"Join call now": "Влез в разговора сега",
|
||||||
"login_title": "Влез",
|
"Join existing call?": "Присъединяване към съществуващ разговор?",
|
||||||
"rageshake_request_modal": {
|
"Leave": "Напусни",
|
||||||
"body": "Друг потребител в този разговор има проблем. За да диагностицираме този проблем по-добре ни се иска да съберем debug логове.",
|
"Loading…": "Зареждане…",
|
||||||
"title": "Заявка за debug логове"
|
"Local volume": "Локална сила на звука",
|
||||||
},
|
"Logging in…": "Влизане…",
|
||||||
"rageshake_send_logs": "Изпратете debug логове",
|
"Login": "Влез",
|
||||||
"rageshake_sending": "Изпращане…",
|
"Login to your account": "Влезте в акаунта си",
|
||||||
"recaptcha_dismissed": "Recaptcha отхвърлена",
|
"Microphone": "Микрофон",
|
||||||
"recaptcha_not_loaded": "Recaptcha не е заредена",
|
"Microphone permissions needed to join the call.": "Необходими са разрешения за микрофона за да можете да се присъедините в разговора.",
|
||||||
"register": {
|
"Microphone {{n}}": "Микрофон {{n}}",
|
||||||
"passwords_must_match": "Паролите не съвпадат",
|
"More": "Още",
|
||||||
"registering": "Регистриране…"
|
"Mute microphone": "Заглуши микрофона",
|
||||||
},
|
"No": "Не",
|
||||||
"register_auth_links": "<0>Вече имате акаунт?</0><1><0>Влезте с него</0> или <2>Влезте като гост</2></1>",
|
"Not now, return to home screen": "Не сега, върни се на началния екран",
|
||||||
"register_confirm_password_label": "Потвърди паролата",
|
"Not registered yet? <2>Create an account</2>": "Все още не сте регистрирани? <2>Създайте акаунт</2>",
|
||||||
"return_home_button": "Връщане на началния екран",
|
"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>",
|
||||||
"room_auth_view_join_button": "Влез в разговора сега",
|
"Password": "Парола",
|
||||||
"screenshare_button_label": "Сподели екрана",
|
"Passwords must match": "Паролите не съвпадат",
|
||||||
"select_input_unset_button": "Изберете опция",
|
"Press and hold spacebar to talk": "Натиснете и задръжте Space за да говорите",
|
||||||
"settings": {
|
"Press and hold spacebar to talk over {{name}}": "Натиснете и задръжте Space за да говорите заедно с {{name}}",
|
||||||
"developer_tab_title": "Разработчик",
|
"Press and hold to talk": "Натиснете и задръжте за да говорите",
|
||||||
"feedback_tab_h4": "Изпрати обратна връзка",
|
"Press and hold to talk over {{name}}": "Натиснете и задръжте за да говорите заедно с {{name}}",
|
||||||
"feedback_tab_send_logs_label": "Включи debug логове",
|
"Profile": "Профил",
|
||||||
"more_tab_title": "Още",
|
"Recaptcha dismissed": "Recaptcha отхвърлена",
|
||||||
"speaker_device_selection_label": "Говорител"
|
"Recaptcha not loaded": "Recaptcha не е заредена",
|
||||||
},
|
"Register": "Регистрация",
|
||||||
"unauthenticated_view_body": "Все още не сте регистрирани? <2>Създайте акаунт</2>",
|
"Registering…": "Регистриране…",
|
||||||
"unauthenticated_view_login_button": "Влезте в акаунта си",
|
"Release spacebar key to stop": "Отпуснете Space за да спрете",
|
||||||
"version": "Версия: {{version}}",
|
"Release to stop": "Отпуснете за да спрете",
|
||||||
"waiting_for_participants": "Изчакване на други участници…"
|
"Remove": "Премахни",
|
||||||
|
"Return to home screen": "Връщане на началния екран",
|
||||||
|
"Select an option": "Изберете опция",
|
||||||
|
"Send debug logs": "Изпратете debug логове",
|
||||||
|
"Sending…": "Изпращане…",
|
||||||
|
"Settings": "Настройки",
|
||||||
|
"Share screen": "Сподели екрана",
|
||||||
|
"Show call inspector": "Покажи инспектора на разговора",
|
||||||
|
"Sign in": "Влез",
|
||||||
|
"Sign out": "Излез",
|
||||||
|
"Spatial audio": "Пространствен звук",
|
||||||
|
"Speaker": "Говорител",
|
||||||
|
"Speaker {{n}}": "Говорител {{n}}",
|
||||||
|
"Spotlight": "Прожектор",
|
||||||
|
"Stop sharing screen": "Спри споделянето на екрана",
|
||||||
|
"Submit feedback": "Изпрати обратна връзка",
|
||||||
|
"Take me Home": "Отиди в Начало",
|
||||||
|
"Talk over speaker": "Говорете заедно с говорителя",
|
||||||
|
"Talking…": "Говорене…",
|
||||||
|
"Thanks! We'll get right on it.": "Благодарим! Веднага ще се заемем.",
|
||||||
|
"This call already exists, would you like to join?": "Този разговор вече съществува, искате ли да се присъедините?",
|
||||||
|
"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>Terms and conditions</12>": "Този сайт се предпазва от ReCAPTCHA и важат <2>Политиката за поверителност</2> и <6>Условията за ползване на услугата</6> на Google.<9></9>Натискайки \"Регистрация\", се съгласявате с нашите <12>Правила и условия</12>",
|
||||||
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Това прави звука на говорителя да изглежда, че излиза от мястото където са позиционирани на екрана. (Експериментална функция: може да повлияе на стабилността на звука.)",
|
||||||
|
"Turn off camera": "Изключи камерата",
|
||||||
|
"Turn on camera": "Включи камерата",
|
||||||
|
"Unmute microphone": "Включи микрофона",
|
||||||
|
"User menu": "Потребителско меню",
|
||||||
|
"Username": "Потребителско име",
|
||||||
|
"Version: {{version}}": "Версия: {{version}}",
|
||||||
|
"Video": "Видео",
|
||||||
|
"Video call": "Видео разговор",
|
||||||
|
"Video call name": "Име на видео разговора",
|
||||||
|
"Waiting for network": "Изчакване на мрежата",
|
||||||
|
"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": "Да, присъедини се",
|
||||||
|
"You can't talk at the same time": "Не можете да говорите едновременно",
|
||||||
|
"Your recent calls": "Скорошните ви разговори",
|
||||||
|
"{{count}} people connected|one": "{{count}} човек се свърза",
|
||||||
|
"{{count}} people connected|other": "{{count}} човека се звързаха",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
|
"{{name}} is presenting": "{{name}} презентира",
|
||||||
|
"{{name}} is talking…": "{{name}} говори…",
|
||||||
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - уоки-токи разговор"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,79 +1,132 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Copy and share this call link": "Zkopírujte a sdílejte odkaz na hovor",
|
||||||
"user_menu": "Uživatelské menu"
|
"Copied!": "Zkopírováno!",
|
||||||
},
|
"Connection lost": "Připojení ztraceno",
|
||||||
"action": {
|
"Confirm password": "Potvrdit heslo",
|
||||||
"close": "Zavřít",
|
"Close": "Zavřít",
|
||||||
"copy": "Kopírovat",
|
"Change layout": "Změnit rozložení",
|
||||||
"go": "Pokračovat",
|
"Camera/microphone permissions needed to join the call.": "Oprávnění k přístupu ke kameře/mikrofonu jsou nutná pro připojení k hovoru.",
|
||||||
"no": "Ne",
|
"Camera {{n}}": "Kamera {{n}}",
|
||||||
"register": "Registrace",
|
"Camera": "Kamera",
|
||||||
"remove": "Odstranit",
|
"Call link copied": "Odkaz na hovor zkopírován",
|
||||||
"sign_in": "Přihlásit se",
|
"Avatar": "Avatar",
|
||||||
"sign_out": "Odhlásit se"
|
"Audio": "Audio",
|
||||||
},
|
"Accept microphone permissions to join the call.": "Povolte přístup k mikrofonu pro připojení k hovoru.",
|
||||||
"call_ended_view": {
|
"Accept camera/microphone permissions to join the call.": "Povolte přístup ke kameře/mikrofonu pro připojení do hovoru.",
|
||||||
"create_account_button": "Vytvořit účet",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Vytvořit účet</0> Or <2>Jako host</2>",
|
||||||
"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>",
|
"Your recent calls": "Vaše nedávné hovory",
|
||||||
"not_now_button": "Teď ne, vrátit se na domovskou obrazovku"
|
"You can't talk at the same time": "Teď nemůžete mluvit",
|
||||||
},
|
"Yes, join call": "Ano, připojit se",
|
||||||
"common": {
|
"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.",
|
||||||
"camera": "Kamera",
|
"Waiting for other participants…": "Čekání na další účastníky…",
|
||||||
"copied": "Zkopírováno!",
|
"Waiting for network": "Čekání na připojení",
|
||||||
"display_name": "Zobrazované jméno",
|
"Video call name": "Jméno videohovoru",
|
||||||
"home": "Domov",
|
"Video call": "Videohovor",
|
||||||
"loading": "Načítání…",
|
"Video": "Video",
|
||||||
"microphone": "Mikrofon",
|
"Version: {{version}}": "Verze: {{version}}",
|
||||||
"password": "Heslo",
|
"Username": "Uživatelské jméno",
|
||||||
"profile": "Profil",
|
"User menu": "Uživatelské menu",
|
||||||
"settings": "Nastavení",
|
"Unmute microphone": "Zapnout mikrofon",
|
||||||
"username": "Uživatelské jméno"
|
"Turn on camera": "Zapnout kameru",
|
||||||
},
|
"Turn off camera": "Vypnout kameru",
|
||||||
"full_screen_view_description": "<0>Odeslání ladících záznamů nám pomůže diagnostikovat problém.</0>",
|
"This call already exists, would you like to join?": "Tento hovor již existuje, chcete se připojit?",
|
||||||
"full_screen_view_h1": "<0>Oops, něco se pokazilo.</0>",
|
"Thanks! We'll get right on it.": "Děkujeme! Hned se na to vrhneme.",
|
||||||
"header_label": "Domov Element Call",
|
"Take me Home": "Domovská obrazovka",
|
||||||
"join_existing_call_modal": {
|
"Submit feedback": "Dát feedback",
|
||||||
"join_button": "Ano, připojit se",
|
"Stop sharing screen": "Zastavit sdílení obrazovek",
|
||||||
"text": "Tento hovor již existuje, chcete se připojit?",
|
"Speaker {{n}}": "Reproduktor {{n}}",
|
||||||
"title": "Připojit se k existujícimu hovoru?"
|
"Speaker": "Reproduktor",
|
||||||
},
|
"Spatial audio": "Prostorový zvuk",
|
||||||
"layout_spotlight_label": "Soustředěný mód",
|
"Sign out": "Odhlásit se",
|
||||||
"lobby": {
|
"Sign in": "Přihlásit se",
|
||||||
"join_button": "Připojit se k hovoru"
|
"Show call inspector": "Zobrazit inspektor hovoru",
|
||||||
},
|
"Share screen": "Sdílet obrazovku",
|
||||||
"logging_in": "Přihlašování se…",
|
"Settings": "Nastavení",
|
||||||
"login_auth_links": "<0>Vytvořit účet</0> Or <2>Jako host</2>",
|
"Sending…": "Posílání…",
|
||||||
"login_title": "Přihlášení",
|
"Sending debug logs…": "Posílání ladícího záznamu…",
|
||||||
"rageshake_request_modal": {
|
"Send debug logs": "Poslat ladící záznam",
|
||||||
"body": "Jiný uživatel v tomto hovoru má problémy. Abychom mohli diagnostikovat problém, rádi bychom shromáždili protokoly ladění.",
|
"Select an option": "Vyberte možnost",
|
||||||
"title": "Žádost o protokoly ladění"
|
"Return to home screen": "Vrátit se na domácí obrazovku",
|
||||||
},
|
"Remove": "Odstranit",
|
||||||
"rageshake_send_logs": "Poslat ladící záznam",
|
"Registering…": "Registrování…",
|
||||||
"rageshake_sending": "Posílání…",
|
"Register": "Registrace",
|
||||||
"rageshake_sending_logs": "Posílání ladícího záznamu…",
|
"Profile": "Profil",
|
||||||
"recaptcha_dismissed": "Recaptcha byla zamítnuta",
|
"Press and hold to talk": "Stiskněte a držte pro mluvení",
|
||||||
"recaptcha_not_loaded": "Recaptcha se nenačetla",
|
"Press and hold spacebar to talk": "Stiskněte a držte mezerník pro mluvení",
|
||||||
"register": {
|
"Passwords must match": "Hesla se musí shodovat",
|
||||||
"passwords_must_match": "Hesla se musí shodovat",
|
"Password": "Heslo",
|
||||||
"registering": "Registrování…"
|
"Not now, return to home screen": "Teď ne, vrátit se na domovskou obrazovku",
|
||||||
},
|
"No": "Ne",
|
||||||
"register_auth_links": "<0>Už máte účet?</0><1><0>Přihlásit se</0> Or <2>Jako host</2></1>",
|
"Mute microphone": "Ztlumit mikrofon",
|
||||||
"register_confirm_password_label": "Potvrdit heslo",
|
"More": "Více",
|
||||||
"return_home_button": "Vrátit se na domácí obrazovku",
|
"Microphone permissions needed to join the call.": "Přístup k mikrofonu je nutný pro připojení se k hovoru.",
|
||||||
"room_auth_view_join_button": "Připojit se k hovoru",
|
"Microphone {{n}}": "Mikrofon {{n}}",
|
||||||
"screenshare_button_label": "Sdílet obrazovku",
|
"Microphone": "Mikrofon",
|
||||||
"select_input_unset_button": "Vyberte možnost",
|
"Login to your account": "Přihlásit se ke svému účtu",
|
||||||
"settings": {
|
"Login": "Přihlášení",
|
||||||
"developer_settings_label": "Vývojářské nastavení",
|
"Logging in…": "Přihlašování se…",
|
||||||
"developer_settings_label_description": "Zobrazit vývojářské nastavení.",
|
"Local volume": "Lokální hlasitost",
|
||||||
"developer_tab_title": "Vývojář",
|
"Loading…": "Načítání…",
|
||||||
"feedback_tab_h4": "Dát feedback",
|
"Leave": "Opustit hovor",
|
||||||
"feedback_tab_send_logs_label": "Zahrnout ladící záznamy",
|
"Join call now": "Připojit se k hovoru",
|
||||||
"more_tab_title": "Více",
|
"Join call": "Připojit se k hovoru",
|
||||||
"speaker_device_selection_label": "Reproduktor"
|
"Invite people": "Pozvat lidi",
|
||||||
},
|
"Invite": "Pozvat",
|
||||||
"unauthenticated_view_body": "Nejste registrovaní? <2>Vytvořit účet</2>",
|
"Inspector": "Insepktor",
|
||||||
"unauthenticated_view_login_button": "Přihlásit se ke svému účtu",
|
"Incompatible versions!": "Nekompatibilní verze!",
|
||||||
"version": "Verze: {{version}}",
|
"Incompatible versions": "Nekompatibilní verze",
|
||||||
"waiting_for_participants": "Čekání na další účastníky…"
|
"{{name}} is talking…": "{{name}} mluví…",
|
||||||
|
"{{name}} is presenting": "{{name}} prezentuje",
|
||||||
|
"{{name}} (Connecting...)": "{{name}} (Připojení...)",
|
||||||
|
"{{count}} people connected|other": "{{count}} lidí připojeno",
|
||||||
|
"{{count}} people connected|one": "{{count}} lidí připojeno",
|
||||||
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Tato možnost způsobí, že zvuk účastníků hovoru se bude tvářit jako by přicházel z místa, kde jsou umístěni na obrazovce.(Experimentální možnost: může způsobit nestabilitu audia.)",
|
||||||
|
"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>Terms and conditions</12>": "Tato stárnka je chráněna pomocí ReCAPTCHA a Google <2>zásad ochrany osobních údajů</2> a <6>podmínky služby</6> platí.<9></9>Kliknutím na \"Registrovat\", souhlasíte s <12>Pravidly a podmínkami</12>",
|
||||||
|
"Walkie-talkie call name": "Jméno vysílačkového hovoru",
|
||||||
|
"Walkie-talkie call": "Vysílačkový hovor",
|
||||||
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Vysílačkový hovor",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
|
"Talking…": "Mluvení…",
|
||||||
|
"Talk over speaker": "Mluvit přes mluvčího",
|
||||||
|
"Spotlight": "Soustředěný mód",
|
||||||
|
"Release to stop": "Pusťte pro ukončení",
|
||||||
|
"Release spacebar key to stop": "Pusťte mezerník pro ukončení",
|
||||||
|
"Recaptcha not loaded": "Recaptcha se nenačetla",
|
||||||
|
"Recaptcha dismissed": "Recaptcha byla zamítnuta",
|
||||||
|
"Press and hold to talk over {{name}}": "Zmáčkněte a držte, abyste mluvili přes {{name}}",
|
||||||
|
"Press and hold spacebar to talk over {{name}}": "Zmáčkněte a držte mezerník, abyste mluvili přes {{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>": "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>",
|
||||||
|
"Not registered yet? <2>Create an account</2>": "Nejste registrovaní? <2>Vytvořit účet</2>",
|
||||||
|
"Join existing call?": "Připojit se k existujícimu hovoru?",
|
||||||
|
"Include debug logs": "Zahrnout ladící záznamy",
|
||||||
|
"Home": "Domov",
|
||||||
|
"Grid layout menu": "Menu rozložení",
|
||||||
|
"Go": "Pokračovat",
|
||||||
|
"Full screen": "Zvětšit na celou obrazovku",
|
||||||
|
"Freedom": "Volný",
|
||||||
|
"Fetching group call timed out.": "Vypršel časový limit načítání skupinového hovoru.",
|
||||||
|
"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",
|
||||||
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Kliknutím na \"Připojit se do hovoru\", odsouhlasíte naše <2>Terms and conditions</2>",
|
||||||
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Kliknutím na \"Pokračovat\", odsouhlasíte naše <2>Terms and conditions</2>",
|
||||||
|
"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>",
|
||||||
|
"{{name}} (Waiting for video...)": "{{name}} (Čekání na video...)",
|
||||||
|
"This feature is only supported on Firefox.": "Tato funkce je podporována jen ve Firefoxu.",
|
||||||
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<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>",
|
||||||
|
"Use the upcoming grid system": "Používat nový systém pro zobrazení videí",
|
||||||
|
"Expose developer settings in the settings window.": "Zobrazit vývojářské nastavení.",
|
||||||
|
"Developer Settings": "Vývojářské nastavení"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,142 +1,146 @@
|
|||||||
{
|
{
|
||||||
"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": {
|
"Accept camera/microphone permissions to join the call.": "Erlaube Zugriff auf Kamera/Mikrofon um dem Anruf beizutreten.",
|
||||||
"close": "Schließen",
|
"Accept microphone permissions to join the call.": "Erlaube Zugriff auf das Mikrofon um dem Anruf beizutreten.",
|
||||||
"copy": "Kopieren",
|
"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.",
|
||||||
"copy_link": "Link kopieren",
|
"Audio": "Audio",
|
||||||
"go": "Los geht’s",
|
"Avatar": "Avatar",
|
||||||
"invite": "Einladen",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Wenn du auf „Los geht’s“ klickst, akzeptierst du unsere <2>Geschäftsbedingungen</2>",
|
||||||
"no": "Nein",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Wenn du auf „Anruf beitreten“ klickst, akzeptierst du unsere <2>Geschäftsbedingungen</2>",
|
||||||
"register": "Registrieren",
|
"Call link copied": "Anruflink kopiert",
|
||||||
"remove": "Entfernen",
|
"Call type menu": "Anruftyp Menü",
|
||||||
"sign_in": "Anmelden",
|
"Camera": "Kamera",
|
||||||
"sign_out": "Abmelden",
|
"Camera {{n}}": "Kamera {{n}}",
|
||||||
"submit": "Absenden"
|
"Camera/microphone permissions needed to join the call.": "Für die Teilnahme am Anruf sind Kamera- und Mikrofonberechtigungen erforderlich.",
|
||||||
},
|
"Change layout": "Layout ändern",
|
||||||
"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 <6>Cookie-Richtlinien</6>.",
|
"Close": "Schließen",
|
||||||
"app_selection_modal": {
|
"Confirm password": "Passwort bestätigen",
|
||||||
"continue_in_browser": "Weiter im Browser",
|
"Connection lost": "Verbindung verloren",
|
||||||
"open_in_app": "In der App öffnen",
|
"Copied!": "Kopiert!",
|
||||||
"text": "Bereit, beizutreten?",
|
"Copy and share this call link": "Kopiere und teile diesen Anruflink",
|
||||||
"title": "App auswählen"
|
"Create account": "Konto erstellen",
|
||||||
},
|
"Debug log": "Debug-Protokoll",
|
||||||
"application_opened_another_tab": "Diese Anwendung wurde in einem anderen Tab geöffnet.",
|
"Debug log request": "Debug-Log Anfrage",
|
||||||
"browser_media_e2ee_unsupported": "Dein Webbrowser unterstützt keine Medien-Ende-zu-Ende-Verschlüsselung. Unterstützte Browser sind Chrome, Safari, Firefox >=117",
|
"Details": "Details",
|
||||||
"browser_media_e2ee_unsupported_heading": "Inkompatibler Browser",
|
"Developer": "Entwickler",
|
||||||
"call_ended_view": {
|
"Display name": "Anzeigename",
|
||||||
"body": "Deine Verbindung wurde getrennt",
|
"Download debug logs": "Debug-Protokolle herunterladen",
|
||||||
"create_account_button": "Konto erstellen",
|
"Exit full screen": "Vollbildmodus verlassen",
|
||||||
"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>",
|
"Freedom": "Freiraum",
|
||||||
"feedback_done": "<0>Danke für deine Rückmeldung!</0>",
|
"Full screen": "Vollbild",
|
||||||
"feedback_prompt": "<0>Wir würden uns freuen, deine Rückmeldung zu hören, um deine Erfahrung verbessern zu können.</0>",
|
"Go": "Los geht’s",
|
||||||
"headline": "{{displayName}}, dein Anruf wurde beendet.",
|
"Grid layout menu": "Grid-Layout-Menü",
|
||||||
"not_now_button": "Nicht jetzt, zurück zur Startseite",
|
"Home": "Startseite",
|
||||||
"reconnect_button": "Erneut verbinden",
|
"Include debug logs": "Debug-Protokolle einschließen",
|
||||||
"survey_prompt": "Wie ist es gelaufen?"
|
"Incompatible versions": "Inkompatible Versionen",
|
||||||
},
|
"Incompatible versions!": "Inkompatible Versionen!",
|
||||||
"call_name": "Name des Anrufs",
|
"Inspector": "Inspektor",
|
||||||
"common": {
|
"Invite": "Einladen",
|
||||||
"audio": "Audio",
|
"Invite people": "Personen einladen",
|
||||||
"avatar": "Profilbild",
|
"Join call": "Anruf beitreten",
|
||||||
"camera": "Kamera",
|
"Join call now": "Anruf beitreten",
|
||||||
"copied": "Kopiert!",
|
"Join existing call?": "An bestehendem Anruf teilnehmen?",
|
||||||
"display_name": "Anzeigename",
|
"Leave": "Verlassen",
|
||||||
"encrypted": "Verschlüsselt",
|
"Loading…": "Lade …",
|
||||||
"error": "Fehler",
|
"Local volume": "Lokale Lautstärke",
|
||||||
"home": "Startseite",
|
"Logging in…": "Anmelden …",
|
||||||
"loading": "Lade …",
|
"Login": "Anmelden",
|
||||||
"microphone": "Mikrofon",
|
"Login to your account": "Melde dich mit deinem Konto an",
|
||||||
"password": "Passwort",
|
"Microphone": "Mikrofon",
|
||||||
"profile": "Profil",
|
"Microphone permissions needed to join the call.": "Mikrofon-Berechtigung ist erforderlich, um dem Anruf beizutreten.",
|
||||||
"settings": "Einstellungen",
|
"Microphone {{n}}": "Mikrofon {{n}}",
|
||||||
"unencrypted": "Nicht verschlüsselt",
|
"More": "Mehr",
|
||||||
"username": "Benutzername",
|
"Mute microphone": "Mikrofon stummschalten",
|
||||||
"video": "Video"
|
"No": "Nein",
|
||||||
},
|
"Not now, return to home screen": "Nicht jetzt, zurück zum Startbildschirm",
|
||||||
"disconnected_banner": "Die Verbindung zum Server wurde getrennt.",
|
"Not registered yet? <2>Create an account</2>": "Noch nicht registriert? <2>Konto erstellen</2>",
|
||||||
"full_screen_view_description": "<0>Übermittelte Problemberichte helfen uns, Fehler zu beheben.</0>",
|
"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>",
|
||||||
"full_screen_view_h1": "<0>Hoppla, etwas ist schiefgelaufen.</0>",
|
"Password": "Passwort",
|
||||||
"hangup_button_label": "Anruf beenden",
|
"Passwords must match": "Passwörter müssen übereinstimmen",
|
||||||
"header_label": "Element Call-Startseite",
|
"Press and hold spacebar to talk": "Halte zum Sprechen die Leertaste gedrückt",
|
||||||
"header_participants_label": "Teilnehmende",
|
"Press and hold spacebar to talk over {{name}}": "Zum Verdrängen von {{name}} und Sprechen die Leertaste gedrückt halten",
|
||||||
"invite_modal": {
|
"Press and hold to talk": "Zum Sprechen gedrückt halten",
|
||||||
"link_copied_toast": "Link in Zwischenablage kopiert",
|
"Press and hold to talk over {{name}}": "Zum Verdrängen von {{name}} und Sprechen gedrückt halten",
|
||||||
"title": "Zu diesem Anruf einladen"
|
"Profile": "Profil",
|
||||||
},
|
"Recaptcha dismissed": "Recaptcha abgelehnt",
|
||||||
"join_existing_call_modal": {
|
"Recaptcha not loaded": "Recaptcha nicht geladen",
|
||||||
"join_button": "Ja, Anruf beitreten",
|
"Register": "Registrieren",
|
||||||
"text": "Dieser Aufruf existiert bereits, möchtest Du teilnehmen?",
|
"Registering…": "Registrierung …",
|
||||||
"title": "An bestehendem Anruf teilnehmen?"
|
"Release spacebar key to stop": "Leertaste loslassen, um zu stoppen",
|
||||||
},
|
"Release to stop": "Loslassen zum Stoppen",
|
||||||
"layout_grid_label": "Raster",
|
"Remove": "Entfernen",
|
||||||
"layout_spotlight_label": "Rampenlicht",
|
"Return to home screen": "Zurück zum Startbildschirm",
|
||||||
"lobby": {
|
"Select an option": "Wähle eine Option",
|
||||||
"join_button": "Anruf beitreten",
|
"Send debug logs": "Debug-Logs senden",
|
||||||
"leave_button": "Zurück zu kürzlichen Anrufen"
|
"Sending…": "Senden …",
|
||||||
},
|
"Settings": "Einstellungen",
|
||||||
"log_in": "Anmelden",
|
"Share screen": "Bildschirm teilen",
|
||||||
"logging_in": "Anmelden …",
|
"Show call inspector": "Anrufinspektor anzeigen",
|
||||||
"login_auth_links": "<0>Konto erstellen</0> Oder <2>Als Gast betreten</2>",
|
"Sign in": "Anmelden",
|
||||||
"login_auth_links_prompt": "Noch nicht registriert?",
|
"Sign out": "Abmelden",
|
||||||
"login_subheading": "Weiter zu Element",
|
"Spatial audio": "Räumliche Audiowiedergabe",
|
||||||
"login_title": "Anmelden",
|
"Speaker": "Wiedergabegerät",
|
||||||
"microphone_off": "Mikrofon aus",
|
"Speaker {{n}}": "Wiedergabegerät {{n}}",
|
||||||
"microphone_on": "Mikrofon an",
|
"Spotlight": "Rampenlicht",
|
||||||
"mute_microphone_button_label": "Mikrofon deaktivieren",
|
"Stop sharing screen": "Beenden der Bildschirmfreigabe",
|
||||||
"rageshake_button_error_caption": "Protokolle erneut senden",
|
"Submit feedback": "Rückmeldung geben",
|
||||||
"rageshake_request_modal": {
|
"Take me Home": "Zurück zur Startseite",
|
||||||
"body": "Ein anderer Benutzer dieses Anrufs hat ein Problem. Um es besser diagnostizieren zu können, würden wir gerne ein Debug-Protokoll erstellen.",
|
"Talk over speaker": "Aktiven Sprecher verdrängen und sprechen",
|
||||||
"title": "Debug-Log Anfrage"
|
"Talking…": "Sprechen …",
|
||||||
},
|
"Thanks! We'll get right on it.": "Vielen Dank! Wir werden uns sofort darum kümmern.",
|
||||||
"rageshake_send_logs": "Debug-Logs senden",
|
"This call already exists, would you like to join?": "Dieser Aufruf existiert bereits, möchtest Du teilnehmen?",
|
||||||
"rageshake_sending": "Senden …",
|
"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>Terms and conditions</12>": "Diese Website wird durch ReCAPTCHA geschützt und es gelten die <2>Datenschutzerklärung</2> und <6>Nutzungsbedingungen</6> von Google.<9></9>Indem Du auf „Registrieren“ klickst, stimmst du unseren <12>Geschäftsbedingungen</12> zu",
|
||||||
"rageshake_sending_logs": "Sende Debug-Protokolle …",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Dies wird die Audiowiedergabe eines Sprechers wirken lassen, als käme sie von der Stelle des zugehörigen Videobildes. (Experimentelle Funktion: Dies könnte die Stabilität der Audiowiedergabe beeinträchtigen.)",
|
||||||
"rageshake_sent": "Danke!",
|
"Turn off camera": "Kamera ausschalten",
|
||||||
"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>",
|
"Turn on camera": "Kamera einschalten",
|
||||||
"recaptcha_dismissed": "Recaptcha abgelehnt",
|
"Unmute microphone": "Mikrofon aktivieren",
|
||||||
"recaptcha_not_loaded": "Recaptcha nicht geladen",
|
"User menu": "Benutzermenü",
|
||||||
"register": {
|
"Username": "Benutzername",
|
||||||
"passwords_must_match": "Passwörter müssen übereinstimmen",
|
"Version: {{version}}": "Version: {{version}}",
|
||||||
"registering": "Registrierung …"
|
"Video": "Video",
|
||||||
},
|
"Video call": "Videoanruf",
|
||||||
"register_auth_links": "<0>Du hast bereits ein Konto?</0><1><0>Anmelden</0> Oder <2>Als Gast betreten</2></1>",
|
"Video call name": "Name des Videoanrufs",
|
||||||
"register_confirm_password_label": "Passwort bestätigen",
|
"Waiting for network": "Warte auf Netzwerk",
|
||||||
"return_home_button": "Zurück zur Startseite",
|
"Waiting for other participants…": "Warte auf weitere Teilnehmer …",
|
||||||
"room_auth_view_eula_caption": "Mit einem Klick auf „Anruf beitreten“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
"Walkie-talkie call": "Walkie-Talkie-Anruf",
|
||||||
"room_auth_view_join_button": "Anruf beitreten",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC wird in diesem Browser nicht unterstützt oder ist blockiert.",
|
||||||
"screenshare_button_label": "Bildschirm teilen",
|
"Yes, join call": "Ja, Anruf beitreten",
|
||||||
"select_input_unset_button": "Wähle eine Option",
|
"You can't talk at the same time": "Du kannst nicht gleichzeitig sprechen",
|
||||||
"settings": {
|
"Your recent calls": "Deine letzten Anrufe",
|
||||||
"developer_settings_label": "Entwicklereinstellungen",
|
"{{count}} people connected|one": "{{count}} Person verbunden",
|
||||||
"developer_settings_label_description": "Zeige die Entwicklereinstellungen im Einstellungsfenster.",
|
"{{count}} people connected|other": "{{count}} Personen verbunden",
|
||||||
"developer_tab_title": "Entwickler",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"feedback_tab_body": "Falls du auf Probleme stößt oder einfach nur eine Rückmeldung geben möchtest, sende uns bitte eine kurze Beschreibung.",
|
"{{name}} is presenting": "{{name}} präsentiert",
|
||||||
"feedback_tab_description_label": "Deine Rückmeldung",
|
"{{name}} is talking…": "{{name}} spricht …",
|
||||||
"feedback_tab_h4": "Rückmeldung geben",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} – Walkie-Talkie-Anruf",
|
||||||
"feedback_tab_send_logs_label": "Debug-Protokolle einschließen",
|
"Fetching group call timed out.": "Zeitüberschreitung beim Abrufen des Gruppenanrufs.",
|
||||||
"feedback_tab_thank_you": "Danke, wir haben deine Rückmeldung erhalten!",
|
"Walkie-talkie call name": "Name des Walkie-Talkie-Anrufs",
|
||||||
"feedback_tab_title": "Rückmeldung",
|
"Sending debug logs…": "Sende Debug-Protokolle …",
|
||||||
"more_tab_title": "Mehr",
|
"<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>",
|
||||||
"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.",
|
"{{name}} (Connecting...)": "{{name}} (verbindet sich …)",
|
||||||
"show_connection_stats_label": "Verbindungsstatistiken zeigen",
|
"Copy": "Kopieren",
|
||||||
"speaker_device_selection_label": "Wiedergabegerät"
|
"Element Call Home": "Element Call-Startseite",
|
||||||
},
|
"{{name}} (Waiting for video...)": "{{name}} (Warte auf Video …)",
|
||||||
"star_rating_input_label_one": "{{count}} Stern",
|
"This feature is only supported on Firefox.": "Diese Funktion wird nur in Firefox unterstützt.",
|
||||||
"star_rating_input_label_other": "{{count}} Sterne",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Übermittelte Problemberichte helfen uns, Fehler zu beheben.</0>",
|
||||||
"start_new_call": "Neuen Anruf beginnen",
|
"<0>Oops, something's gone wrong.</0>": "<0>Hoppla, etwas ist schiefgelaufen.</0>",
|
||||||
"start_video_button_label": "Video aktivieren",
|
"Use the upcoming grid system": "Nutze das kommende Rastersystem",
|
||||||
"stop_screenshare_button_label": "Bildschirm wird geteilt",
|
"Expose developer settings in the settings window.": "Zeige die Entwicklereinstellungen im Einstellungsfenster.",
|
||||||
"stop_video_button_label": "Video deaktivieren",
|
"Developer Settings": "Entwicklereinstellungen",
|
||||||
"submitting": "Sende …",
|
"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>.",
|
||||||
"unauthenticated_view_body": "Noch nicht registriert? <2>Konto erstellen</2>",
|
"<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.",
|
||||||
"unauthenticated_view_eula_caption": "Mit einem Klick auf „Los geht’s“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)</2>",
|
"Feedback": "Rückmeldung",
|
||||||
"unauthenticated_view_login_button": "Melde dich mit deinem Konto an",
|
"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.",
|
||||||
"unmute_microphone_button_label": "Mikrofon aktivieren",
|
"Your feedback": "Deine Rückmeldung",
|
||||||
"version": "Version: {{version}}",
|
"Thanks, we received your feedback!": "Danke, wir haben deine Rückmeldung erhalten!",
|
||||||
"video_tile": {
|
"Submitting…": "Sende …",
|
||||||
"sfu_participant_local": "Du"
|
"Submit": "Absenden",
|
||||||
},
|
"{{count}} stars|other": "{{count}} Sterne",
|
||||||
"waiting_for_participants": "Warte auf weitere Teilnehmer …"
|
"{{displayName}}, your call has ended.": "{{displayName}}, dein Anruf wurde beendet.",
|
||||||
|
"<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>",
|
||||||
|
"How did it go?": "Wie ist es gelaufen?",
|
||||||
|
"{{count}} stars|one": "{{count}} Stern",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Danke für deine Rückmeldung!</0>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,95 +1,95 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"You can't talk at the same time": "Δεν μπορείς να μιλάς ταυτόχρονα",
|
||||||
"user_menu": "Μενού χρήστη"
|
"Version: {{version}}": "Έκδοση: {{version}}",
|
||||||
},
|
"User menu": "Μενού χρήστη",
|
||||||
"action": {
|
"Submit feedback": "Υποβάλετε σχόλια",
|
||||||
"close": "Κλείσιμο",
|
"Stop sharing screen": "Διακοπή κοινής χρήσης οθόνης",
|
||||||
"copy": "Αντιγραφή",
|
"Sign in": "Σύνδεση",
|
||||||
"go": "Μετάβαση",
|
"Show call inspector": "Εμφάνιση του επιθεωρητή κλήσης",
|
||||||
"no": "Όχι",
|
"Share screen": "Κοινή χρήση οθόνης",
|
||||||
"register": "Εγγραφή",
|
"Sending…": "Αποστολή…",
|
||||||
"remove": "Αφαίρεση",
|
"Select an option": "Επιλέξτε μια επιλογή",
|
||||||
"sign_in": "Σύνδεση",
|
"Remove": "Αφαίρεση",
|
||||||
"sign_out": "Αποσύνδεση",
|
"Registering…": "Εγγραφή…",
|
||||||
"submit": "Υποβολή"
|
"Press and hold to talk": "Πατήστε παρατεταμένα για να μιλήσετε",
|
||||||
},
|
"Not registered yet? <2>Create an account</2>": "Δεν έχετε εγγραφεί ακόμα; <2>Δημιουργήστε λογαριασμό</2>",
|
||||||
"analytics_notice": "Συμμετέχοντας σε αυτή τη δοκιμαστική έκδοση, συναινείτε στη συλλογή ανώνυμων δεδομένων, τα οποία χρησιμοποιούμε για τη βελτίωση του προϊόντος. Μπορείτε να βρείτε περισσότερες πληροφορίες σχετικά με το ποια δεδομένα καταγράφουμε στην <2>Πολιτική απορρήτου</2> και στην <6>Πολιτική cookies</6>.",
|
"Login to your account": "Συνδεθείτε στο λογαριασμό σας",
|
||||||
"call_ended_view": {
|
"Logging in…": "Σύνδεση…",
|
||||||
"create_account_button": "Δημιουργία λογαριασμού",
|
"Invite people": "Προσκαλέστε άτομα",
|
||||||
"create_account_prompt": "<0>Γιατί να μην ολοκληρώσετε με τη δημιουργία ενός κωδικού πρόσβασης για τη διατήρηση του λογαριασμού σας;</0><1>Θα μπορείτε να διατηρήσετε το όνομά σας και να ορίσετε ένα avatar για χρήση σε μελλοντικές κλήσεις.</1>",
|
"Invite": "Πρόσκληση",
|
||||||
"feedback_done": "<0>Ευχαριστώ για τα σχόλιά σας!</0>",
|
"Inspector": "Επιθεωρητής",
|
||||||
"feedback_prompt": "<0>Θα θέλαμε να ακούσουμε τα σχόλιά σας ώστε να βελτιώσουμε την εμπειρία σας.</0>",
|
"Incompatible versions!": "Μη συμβατές εκδόσεις!",
|
||||||
"headline": "{{displayName}}, η κλήση σας τερματίστηκε.",
|
"Incompatible versions": "Μη συμβατές εκδόσεις",
|
||||||
"not_now_button": "Όχι τώρα, επιστροφή στην αρχική οθόνη",
|
"Display name": "Εμφανιζόμενο όνομα",
|
||||||
"survey_prompt": "Πώς σας φάνηκε;"
|
"Developer Settings": "Ρυθμίσεις προγραμματιστή",
|
||||||
},
|
"Debug log request": "Αίτημα αρχείου καταγραφής",
|
||||||
"common": {
|
"Call link copied": "Ο σύνδεσμος κλήσης αντιγράφηκε",
|
||||||
"audio": "Ήχος",
|
"Avatar": "Avatar",
|
||||||
"camera": "Κάμερα",
|
"Accept microphone permissions to join the call.": "Αποδεχτείτε τα δικαιώματα μικροφώνου για να συμμετάσχετε στην κλήση.",
|
||||||
"copied": "Αντιγράφηκε!",
|
"Accept camera/microphone permissions to join the call.": "Αποδεχτείτε τα δικαιώματα κάμερας/μικροφώνου για να συμμετάσχετε στην κλήση.",
|
||||||
"display_name": "Εμφανιζόμενο όνομα",
|
"<0>Oops, something's gone wrong.</0>": "<0>Ωχ, κάτι πήγε στραβά.</0>",
|
||||||
"home": "Αρχική",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Δημιουργήστε λογαριασμό</0> Ή <2>Συμμετέχετε ως επισκέπτης</2>",
|
||||||
"loading": "Φόρτωση…",
|
"<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>",
|
||||||
"microphone": "Μικρόφωνο",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Κλήση walkie-talkie",
|
||||||
"password": "Κωδικός",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"profile": "Προφίλ",
|
"Your recent calls": "Οι πρόσφατες κλήσεις σας",
|
||||||
"settings": "Ρυθμίσεις",
|
"Yes, join call": "Ναι, συμμετοχή στην κλήση",
|
||||||
"username": "Όνομα χρήστη",
|
"WebRTC is not supported or is being blocked in this browser.": "Το WebRTC δεν υποστηρίζεται ή έχει αποκλειστεί σε αυτό το πρόγραμμα περιήγησης.",
|
||||||
"video": "Βίντεο"
|
"Walkie-talkie call name": "Όνομα κλήσης walkie-talkie",
|
||||||
},
|
"Walkie-talkie call": "Κλήση walkie-talkie",
|
||||||
"full_screen_view_description": "<0>Η υποβολή αρχείων καταγραφής σφαλμάτων θα μας βοηθήσει να εντοπίσουμε το πρόβλημα.</0>",
|
"Waiting for other participants…": "Αναμονή για άλλους συμμετέχοντες…",
|
||||||
"full_screen_view_h1": "<0>Ωχ, κάτι πήγε στραβά.</0>",
|
"Waiting for network": "Αναμονή για δίκτυο",
|
||||||
"header_label": "Element Κεντρική Οθόνη Κλήσεων",
|
"Video call name": "Όνομα βίντεο κλήσης",
|
||||||
"join_existing_call_modal": {
|
"Video call": "Βίντεο κλήση",
|
||||||
"join_button": "Ναι, συμμετοχή στην κλήση",
|
"Video": "Βίντεο",
|
||||||
"text": "Αυτή η κλήση υπάρχει ήδη, θα θέλατε να συμμετάσχετε;",
|
"Username": "Όνομα χρήστη",
|
||||||
"title": "Συμμετοχή στην υπάρχουσα κλήση;"
|
"Turn on camera": "Ενεργοποιήστε την κάμερα",
|
||||||
},
|
"Turn off camera": "Απενεργοποιήστε την κάμερα",
|
||||||
"lobby": {
|
"This feature is only supported on Firefox.": "Αυτή η δυνατότητα υποστηρίζεται μόνο στον Firefox.",
|
||||||
"join_button": "Συμμετοχή στην κλήση"
|
"This call already exists, would you like to join?": "Αυτή η κλήση υπάρχει ήδη, θα θέλατε να συμμετάσχετε;",
|
||||||
},
|
"Speaker": "Ηχείο",
|
||||||
"logging_in": "Σύνδεση…",
|
"Spatial audio": "Χωρικός ήχος",
|
||||||
"login_auth_links": "<0>Δημιουργήστε λογαριασμό</0> Ή <2>Συμμετέχετε ως επισκέπτης</2>",
|
"Sign out": "Αποσύνδεση",
|
||||||
"login_title": "Σύνδεση",
|
"Settings": "Ρυθμίσεις",
|
||||||
"rageshake_request_modal": {
|
"Return to home screen": "Επιστροφή στην αρχική οθόνη",
|
||||||
"body": "Ένας άλλος χρήστης σε αυτή την κλήση έχει ένα πρόβλημα. Για την καλύτερη διάγνωση αυτών των προβλημάτων θα θέλαμε να συλλέξουμε ένα αρχείο καταγραφής σφαλμάτων.",
|
"Register": "Εγγραφή",
|
||||||
"title": "Αίτημα αρχείου καταγραφής"
|
"Profile": "Προφίλ",
|
||||||
},
|
"Press and hold spacebar to talk": "Για να μιλήσετε κρατήστε πατημένο το πλήκτρο διαστήματος",
|
||||||
"rageshake_send_logs": "Αποστολή αρχείων καταγραφής",
|
"Passwords must match": "Οι κωδικοί πρέπει να ταιριάζουν",
|
||||||
"rageshake_sending": "Αποστολή…",
|
"Password": "Κωδικός",
|
||||||
"rageshake_sending_logs": "Αποστολή αρχείων καταγραφής…",
|
"Not now, return to home screen": "Όχι τώρα, επιστροφή στην αρχική οθόνη",
|
||||||
"recaptcha_dismissed": "Το recaptcha απορρίφθηκε",
|
"No": "Όχι",
|
||||||
"recaptcha_not_loaded": "Το Recaptcha δεν φορτώθηκε",
|
"Mute microphone": "Σίγαση μικροφώνου",
|
||||||
"register": {
|
"More": "Περισσότερα",
|
||||||
"passwords_must_match": "Οι κωδικοί πρέπει να ταιριάζουν",
|
"Microphone permissions needed to join the call.": "Απαιτούνται δικαιώματα μικροφώνου για συμμετοχή στην κλήση.",
|
||||||
"registering": "Εγγραφή…"
|
"Microphone {{n}}": "Μικρόφωνο {{n}}",
|
||||||
},
|
"Microphone": "Μικρόφωνο",
|
||||||
"register_auth_links": "<0>Έχετε ήδη λογαριασμό;</0><1><0>Συνδεθείτε</0> Ή <2>Συμμετέχετε ως επισκέπτης</2></1>",
|
"Login": "Σύνδεση",
|
||||||
"register_confirm_password_label": "Επιβεβαίωση κωδικού",
|
"Loading…": "Φόρτωση…",
|
||||||
"return_home_button": "Επιστροφή στην αρχική οθόνη",
|
"Leave": "Αποχώρηση",
|
||||||
"room_auth_view_join_button": "Συμμετοχή στην κλήση τώρα",
|
"Join existing call?": "Συμμετοχή στην υπάρχουσα κλήση;",
|
||||||
"screenshare_button_label": "Κοινή χρήση οθόνης",
|
"Join call now": "Συμμετοχή στην κλήση τώρα",
|
||||||
"select_input_unset_button": "Επιλέξτε μια επιλογή",
|
"Join call": "Συμμετοχή στην κλήση",
|
||||||
"settings": {
|
"Go": "Μετάβαση",
|
||||||
"developer_settings_label": "Ρυθμίσεις προγραμματιστή",
|
"Full screen": "Πλήρη οθόνη",
|
||||||
"developer_settings_label_description": "Εμφάνιση ρυθμίσεων προγραμματιστή στο παράθυρο ρυθμίσεων.",
|
"Exit full screen": "Έξοδος από πλήρη οθόνη",
|
||||||
"developer_tab_title": "Προγραμματιστής",
|
"Details": "Λεπτομέρειες",
|
||||||
"feedback_tab_body": "Εάν αντιμετωπίζετε προβλήματα ή απλά θέλετε να μας δώσετε κάποια σχόλια, παρακαλούμε στείλτε μας μια σύντομη περιγραφή παρακάτω.",
|
"Create account": "Δημιουργία λογαριασμού",
|
||||||
"feedback_tab_description_label": "Τα σχόλιά σας",
|
"Copy and share this call link": "Αντιγράψτε και μοιραστείτε αυτόν τον σύνδεσμο κλήσης",
|
||||||
"feedback_tab_h4": "Υποβάλετε σχόλια",
|
"Copy": "Αντιγραφή",
|
||||||
"feedback_tab_send_logs_label": "Να συμπεριληφθούν αρχεία καταγραφής",
|
"Copied!": "Αντιγράφηκε!",
|
||||||
"feedback_tab_thank_you": "Ευχαριστούμε, λάβαμε τα σχόλιά σας!",
|
"Connection lost": "Η σύνδεση χάθηκε",
|
||||||
"feedback_tab_title": "Ανατροφοδότηση",
|
"Confirm password": "Επιβεβαίωση κωδικού",
|
||||||
"more_tab_title": "Περισσότερα",
|
"Close": "Κλείσιμο",
|
||||||
"opt_in_description": "<0></0><1></1>Μπορείτε να ανακαλέσετε τη συγκατάθεσή σας αποεπιλέγοντας αυτό το πλαίσιο. Εάν βρίσκεστε σε κλήση, η ρύθμιση αυτή θα τεθεί σε ισχύ στο τέλος της.",
|
"Change layout": "Αλλαγή διάταξης",
|
||||||
"show_connection_stats_label": "Εμφάνιση στατιστικών σύνδεσης",
|
"Camera/microphone permissions needed to join the call.": "Απαιτούνται δικαιώματα κάμερας/μικροφώνου για να συμμετάσχετε στην κλήση.",
|
||||||
"speaker_device_selection_label": "Ηχείο"
|
"Camera {{n}}": "Κάμερα {{n}}",
|
||||||
},
|
"Camera": "Κάμερα",
|
||||||
"star_rating_input_label_one": "{{count}} αστέρι",
|
"Audio": "Ήχος",
|
||||||
"star_rating_input_label_other": "{{count}} αστέρια",
|
"{{name}} is talking…": "{{name}} ομιλεί…",
|
||||||
"submitting": "Υποβολή…",
|
"{{name}} is presenting": "{{name}} παρουσιάζει",
|
||||||
"unauthenticated_view_body": "Δεν έχετε εγγραφεί ακόμα; <2>Δημιουργήστε λογαριασμό</2>",
|
"{{name}} (Waiting for video...)": "{{name}} (Αναμονή για βίντεο...)",
|
||||||
"unauthenticated_view_login_button": "Συνδεθείτε στον λογαριασμό σας",
|
"{{name}} (Connecting...)": "{{name}} (Συνδέεται...)",
|
||||||
"version": "Έκδοση: {{version}}",
|
"{{count}} people connected|other": "{{count}} άτομα συνδεδεμένα",
|
||||||
"waiting_for_participants": "Αναμονή για άλλους συμμετέχοντες…"
|
"{{count}} people connected|one": "{{count}} άτομο συνδεδεμένο"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,169 +1,147 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"{{count}} people connected|one": "{{count}} person connected",
|
||||||
"user_menu": "User menu"
|
"{{count}} people connected|other": "{{count}} people connected",
|
||||||
},
|
"{{count}} stars|one": "{{count}} star",
|
||||||
"action": {
|
"{{count}} stars|other": "{{count}} stars",
|
||||||
"close": "Close",
|
"{{displayName}}, your call has ended.": "{{displayName}}, your call has ended.",
|
||||||
"copy_link": "Copy link",
|
"{{name}} (Connecting...)": "{{name}} (Connecting...)",
|
||||||
"edit": "Edit",
|
"{{name}} (Waiting for video...)": "{{name}} (Waiting for video...)",
|
||||||
"go": "Go",
|
"{{name}} is presenting": "{{name}} is presenting",
|
||||||
"invite": "Invite",
|
"{{name}} is talking…": "{{name}} is talking…",
|
||||||
"no": "No",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"register": "Register",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Walkie-talkie call",
|
||||||
"remove": "Remove",
|
"<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.",
|
||||||
"sign_in": "Sign in",
|
"<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>",
|
||||||
"sign_out": "Sign out",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Create an account</0> Or <2>Access as a guest</2>",
|
||||||
"submit": "Submit",
|
"<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>",
|
||||||
"upload_file": "Upload file"
|
"<0>Oops, something's gone wrong.</0>": "<0>Oops, something's gone wrong.</0>",
|
||||||
},
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Submitting debug logs will help us track down the problem.</0>",
|
||||||
"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 <6>Cookie Policy</6>.",
|
"<0>Thanks for your feedback!</0>": "<0>Thanks for your feedback!</0>",
|
||||||
"app_selection_modal": {
|
"<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>",
|
||||||
"continue_in_browser": "Continue in browser",
|
"<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>",
|
||||||
"open_in_app": "Open in the app",
|
"Accept camera/microphone permissions to join the call.": "Accept camera/microphone permissions to join the call.",
|
||||||
"text": "Ready to join?",
|
"Accept microphone permissions to join the call.": "Accept microphone permissions to join the call.",
|
||||||
"title": "Select app"
|
"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",
|
||||||
"application_opened_another_tab": "This application has been opened in another tab.",
|
"Avatar": "Avatar",
|
||||||
"browser_media_e2ee_unsupported": "Your web browser does not support media end-to-end encryption. Supported Browsers are Chrome, Safari, Firefox >=117",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "By clicking \"Go\", you agree to our <2>Terms and conditions</2>",
|
||||||
"browser_media_e2ee_unsupported_heading": "Incompatible Browser",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>",
|
||||||
"call_ended_view": {
|
"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>.",
|
||||||
"body": "You were disconnected from the call",
|
"Call link copied": "Call link copied",
|
||||||
"create_account_button": "Create account",
|
"Call type menu": "Call type menu",
|
||||||
"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>",
|
"Camera": "Camera",
|
||||||
"feedback_done": "<0>Thanks for your feedback!</0>",
|
"Camera {{n}}": "Camera {{n}}",
|
||||||
"feedback_prompt": "<0>We'd love to hear your feedback so we can improve your experience.</0>",
|
"Camera/microphone permissions needed to join the call.": "Camera/microphone permissions needed to join the call.",
|
||||||
"headline": "{{displayName}}, your call has ended.",
|
"Change layout": "Change layout",
|
||||||
"not_now_button": "Not now, return to home screen",
|
"Close": "Close",
|
||||||
"reconnect_button": "Reconnect",
|
"Confirm password": "Confirm password",
|
||||||
"survey_prompt": "How did it go?"
|
"Connection lost": "Connection lost",
|
||||||
},
|
"Connectivity to the server has been lost.": "Connectivity to the server has been lost.",
|
||||||
"call_name": "Name of call",
|
"Copied!": "Copied!",
|
||||||
"common": {
|
"Copy": "Copy",
|
||||||
"analytics": "Analytics",
|
"Copy and share this call link": "Copy and share this call link",
|
||||||
"audio": "Audio",
|
"Create account": "Create account",
|
||||||
"avatar": "Avatar",
|
"Debug log": "Debug log",
|
||||||
"back": "Back",
|
"Debug log request": "Debug log request",
|
||||||
"camera": "Camera",
|
"Details": "Details",
|
||||||
"display_name": "Display name",
|
"Developer": "Developer",
|
||||||
"encrypted": "Encrypted",
|
"Developer Settings": "Developer Settings",
|
||||||
"error": "Error",
|
"Display name": "Display name",
|
||||||
"home": "Home",
|
"Download debug logs": "Download debug logs",
|
||||||
"loading": "Loading…",
|
"Element Call Home": "Element Call Home",
|
||||||
"microphone": "Microphone",
|
"Exit full screen": "Exit full screen",
|
||||||
"next": "Next",
|
"Expose developer settings in the settings window.": "Expose developer settings in the settings window.",
|
||||||
"options": "Options",
|
"Feedback": "Feedback",
|
||||||
"password": "Password",
|
"Fetching group call timed out.": "Fetching group call timed out.",
|
||||||
"profile": "Profile",
|
"Freedom": "Freedom",
|
||||||
"settings": "Settings",
|
"Full screen": "Full screen",
|
||||||
"unencrypted": "Not encrypted",
|
"Go": "Go",
|
||||||
"username": "Username",
|
"Grid layout menu": "Grid layout menu",
|
||||||
"video": "Video"
|
"Home": "Home",
|
||||||
},
|
"How did it go?": "How did it go?",
|
||||||
"crypto_version": "Crypto version: {{version}}",
|
"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.",
|
||||||
"device_id": "Device ID: {{id}}",
|
"Include debug logs": "Include debug logs",
|
||||||
"disconnected_banner": "Connectivity to the server has been lost.",
|
"Incompatible versions": "Incompatible versions",
|
||||||
"full_screen_view_description": "<0>Submitting debug logs will help us track down the problem.</0>",
|
"Incompatible versions!": "Incompatible versions!",
|
||||||
"full_screen_view_h1": "<0>Oops, something's gone wrong.</0>",
|
"Inspector": "Inspector",
|
||||||
"group_call_loader": {
|
"Invite": "Invite",
|
||||||
"banned_body": "You have been banned from the room.",
|
"Invite people": "Invite people",
|
||||||
"banned_heading": "Banned",
|
"Join call": "Join call",
|
||||||
"call_ended_body": "You have been removed from the call.",
|
"Join call now": "Join call now",
|
||||||
"call_ended_heading": "Call ended",
|
"Join existing call?": "Join existing call?",
|
||||||
"failed_heading": "Failed to join",
|
"Leave": "Leave",
|
||||||
"failed_text": "Call not found or is not accessible.",
|
"Loading…": "Loading…",
|
||||||
"knock_reject_body": "The room members declined your request to join.",
|
"Local volume": "Local volume",
|
||||||
"knock_reject_heading": "Not allowed to join",
|
"Logging in…": "Logging in…",
|
||||||
"reason": "Reason"
|
"Login": "Login",
|
||||||
},
|
"Login to your account": "Login to your account",
|
||||||
"hangup_button_label": "End call",
|
"Microphone": "Microphone",
|
||||||
"header_label": "Element Call Home",
|
"Microphone {{n}}": "Microphone {{n}}",
|
||||||
"header_participants_label": "Participants",
|
"Microphone permissions needed to join the call.": "Microphone permissions needed to join the call.",
|
||||||
"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",
|
||||||
},
|
"Press and hold spacebar to talk": "Press and hold spacebar to talk",
|
||||||
"layout_grid_label": "Grid",
|
"Press and hold spacebar to talk over {{name}}": "Press and hold spacebar to talk over {{name}}",
|
||||||
"layout_spotlight_label": "Spotlight",
|
"Press and hold to talk": "Press and hold to talk",
|
||||||
"lobby": {
|
"Press and hold to talk over {{name}}": "Press and hold to talk over {{name}}",
|
||||||
"ask_to_join": "Ask to join call",
|
"Profile": "Profile",
|
||||||
"join_button": "Join call",
|
"Recaptcha dismissed": "Recaptcha dismissed",
|
||||||
"leave_button": "Back to recents",
|
"Recaptcha not loaded": "Recaptcha not loaded",
|
||||||
"waiting_for_invite": "Request sent"
|
"Register": "Register",
|
||||||
},
|
"Registering…": "Registering…",
|
||||||
"log_in": "Log In",
|
"Release spacebar key to stop": "Release spacebar key to stop",
|
||||||
"logging_in": "Logging in…",
|
"Release to stop": "Release to stop",
|
||||||
"login_auth_links": "<0>Create an account</0> Or <2>Access as a guest</2>",
|
"Remove": "Remove",
|
||||||
"login_auth_links_prompt": "Not registered yet?",
|
"Return to home screen": "Return to home screen",
|
||||||
"login_subheading": "To continue to Element",
|
"Select an option": "Select an option",
|
||||||
"login_title": "Login",
|
"Send debug logs": "Send debug logs",
|
||||||
"matrix_id": "Matrix ID: {{id}}",
|
"Sending debug logs…": "Sending debug logs…",
|
||||||
"microphone_off": "Microphone off",
|
"Sending…": "Sending…",
|
||||||
"microphone_on": "Microphone on",
|
"Settings": "Settings",
|
||||||
"mute_microphone_button_label": "Mute microphone",
|
"Share screen": "Share screen",
|
||||||
"participant_count_one": "{{count, number}}",
|
"Show call inspector": "Show call inspector",
|
||||||
"participant_count_other": "{{count, number}}",
|
"Sign in": "Sign in",
|
||||||
"qr_code": "QR Code",
|
"Sign out": "Sign out",
|
||||||
"rageshake_button_error_caption": "Retry sending logs",
|
"Spatial audio": "Spatial audio",
|
||||||
"rageshake_request_modal": {
|
"Speaker": "Speaker",
|
||||||
"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.",
|
"Speaker {{n}}": "Speaker {{n}}",
|
||||||
"title": "Debug log request"
|
"Spotlight": "Spotlight",
|
||||||
},
|
"Stop sharing screen": "Stop sharing screen",
|
||||||
"rageshake_send_logs": "Send debug logs",
|
"Submit": "Submit",
|
||||||
"rageshake_sending": "Sending…",
|
"Submit feedback": "Submit feedback",
|
||||||
"rageshake_sending_logs": "Sending debug logs…",
|
"Submitting…": "Submitting…",
|
||||||
"rageshake_sent": "Thanks!",
|
"Take me Home": "Take me Home",
|
||||||
"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>",
|
"Talk over speaker": "Talk over speaker",
|
||||||
"recaptcha_dismissed": "Recaptcha dismissed",
|
"Talking…": "Talking…",
|
||||||
"recaptcha_not_loaded": "Recaptcha not loaded",
|
"Thanks, we received your feedback!": "Thanks, we received your feedback!",
|
||||||
"register": {
|
"Thanks! We'll get right on it.": "Thanks! We'll get right on it.",
|
||||||
"passwords_must_match": "Passwords must match",
|
"This call already exists, would you like to join?": "This call already exists, would you like to join?",
|
||||||
"registering": "Registering…"
|
"This feature is only supported on Firefox.": "This feature is only supported on Firefox.",
|
||||||
},
|
"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>Terms and conditions</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>Terms and conditions</12>",
|
||||||
"register_auth_links": "<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)",
|
||||||
"register_confirm_password_label": "Confirm password",
|
"Turn off camera": "Turn off camera",
|
||||||
"register_heading": "Create your account",
|
"Turn on camera": "Turn on camera",
|
||||||
"return_home_button": "Return to home screen",
|
"Unmute microphone": "Unmute microphone",
|
||||||
"room_auth_view_eula_caption": "By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
|
"Use the upcoming grid system": "Use the upcoming grid system",
|
||||||
"room_auth_view_join_button": "Join call now",
|
"User menu": "User menu",
|
||||||
"screenshare_button_label": "Share screen",
|
"Username": "Username",
|
||||||
"settings": {
|
"Version: {{version}}": "Version: {{version}}",
|
||||||
"developer_settings_label": "Developer Settings",
|
"Video": "Video",
|
||||||
"developer_settings_label_description": "Expose developer settings in the settings window.",
|
"Video call": "Video call",
|
||||||
"developer_tab_title": "Developer",
|
"Video call name": "Video call name",
|
||||||
"duplicate_tiles_label": "Number of additional tile copies per participant",
|
"Waiting for network": "Waiting for network",
|
||||||
"feedback_tab_body": "If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.",
|
"Waiting for other participants…": "Waiting for other participants…",
|
||||||
"feedback_tab_description_label": "Your feedback",
|
"Walkie-talkie call": "Walkie-talkie call",
|
||||||
"feedback_tab_h4": "Submit feedback",
|
"Walkie-talkie call name": "Walkie-talkie call name",
|
||||||
"feedback_tab_send_logs_label": "Include debug logs",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC is not supported or is being blocked in this browser.",
|
||||||
"feedback_tab_thank_you": "Thanks, we received your feedback!",
|
"Yes, join call": "Yes, join call",
|
||||||
"feedback_tab_title": "Feedback",
|
"You can't talk at the same time": "You can't talk at the same time",
|
||||||
"more_tab_title": "More",
|
"Your feedback": "Your feedback",
|
||||||
"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.",
|
"Your recent calls": "Your recent calls"
|
||||||
"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": "{{productName}} version: {{version}}",
|
|
||||||
"video_tile": {
|
|
||||||
"always_show": "Always show",
|
|
||||||
"change_fit_contain": "Fit to frame",
|
|
||||||
"collapse": "Collapse",
|
|
||||||
"expand": "Expand",
|
|
||||||
"mute_for_me": "Mute for me",
|
|
||||||
"volume": "Volume"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,96 +1,134 @@
|
|||||||
{
|
{
|
||||||
"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"
|
"Press and hold to talk over {{name}}": "Mantén pulsado para hablar por encima de {{name}}",
|
||||||
},
|
"Your recent calls": "Tus llamadas recientes",
|
||||||
"action": {
|
"WebRTC is not supported or is being blocked in this browser.": "Tu navegador no soporta o está bloqueando WebRTC.",
|
||||||
"close": "Cerrar",
|
"This call already exists, would you like to join?": "Esta llamada ya existe, ¿te gustaría unirte?",
|
||||||
"copy": "Copiar",
|
"Register": "Registrarse",
|
||||||
"go": "Comenzar",
|
"Not registered yet? <2>Create an account</2>": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
||||||
"register": "Registrarse",
|
"Login to your account": "Iniciar sesión en tu cuenta",
|
||||||
"remove": "Eliminar",
|
"Camera/microphone permissions needed to join the call.": "Se necesitan los permisos de cámara/micrófono para unirse a la llamada.",
|
||||||
"sign_in": "Iniciar sesión",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Al hacer clic en \"Unirse a la llamada ahora\", aceptarás nuestros <2>Términos y condiciones</2>",
|
||||||
"sign_out": "Cerrar sesión",
|
"Accept microphone permissions to join the call.": "Acepta el permiso del micrófono para unirte a la llamada.",
|
||||||
"submit": "Enviar"
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Al hacer clic en \"Comenzar\" aceptarás nuestros <2>Términos y condiciones</2>",
|
||||||
},
|
"You can't talk at the same time": "No podéis hablar a la vez",
|
||||||
"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 <6>Política sobre Cookies</6>.",
|
"Yes, join call": "Si, unirse a la llamada",
|
||||||
"call_ended_view": {
|
"Walkie-talkie call name": "Nombre de la llamada Walkie-talkie",
|
||||||
"create_account_button": "Crear cuenta",
|
"Walkie-talkie call": "Llamada Walkie-talkie",
|
||||||
"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>",
|
"Waiting for other participants…": "Esperando a los otros participantes…",
|
||||||
"feedback_done": "<0>¡Gracias por tus comentarios!</0>",
|
"Waiting for network": "Esperando a la red",
|
||||||
"feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
|
"Video call name": "Nombre de la videollamada",
|
||||||
"headline": "{{displayName}}, tu llamada ha finalizado.",
|
"Video call": "Videollamada",
|
||||||
"not_now_button": "Ahora no, volver a la pantalla de inicio",
|
"Video": "Video",
|
||||||
"survey_prompt": "¿Cómo ha ido?"
|
"Version: {{version}}": "Versión: {{version}}",
|
||||||
},
|
"Username": "Nombre de usuario",
|
||||||
"common": {
|
"User menu": "Menú de usuario",
|
||||||
"camera": "Cámara",
|
"Unmute microphone": "Desilenciar el micrófono",
|
||||||
"copied": "¡Copiado!",
|
"Turn on camera": "Encender la cámara",
|
||||||
"display_name": "Nombre a mostrar",
|
"Turn off camera": "Apagar la cámara",
|
||||||
"home": "Inicio",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Esto hará que el audio de la persona que hable parezca que viene de dondé esté posicionado en la pantalla. (Función experimental: esto puede afectar a la estabilidad del audio.)",
|
||||||
"loading": "Cargando…",
|
"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>Terms and conditions</12>": "Este sitio está protegido por ReCAPTCHA y se aplica <2>la Política de Privacidad</2> y <6>los Términos de Servicio</6> de Google.<9></9>Al hacer clic en \"Registrar\" aceptarás nuestros <12>Términos y condiciones</12>",
|
||||||
"microphone": "Micrófono",
|
"Thanks! We'll get right on it.": "¡Gracias! Nos encargaremos de ello.",
|
||||||
"password": "Contraseña",
|
"Talking…": "Hablando…",
|
||||||
"profile": "Perfil",
|
"Talk over speaker": "Hablar por encima",
|
||||||
"settings": "Ajustes",
|
"Take me Home": "Volver al inicio",
|
||||||
"username": "Nombre de usuario"
|
"Submit feedback": "Enviar comentarios",
|
||||||
},
|
"Stop sharing screen": "Dejar de compartir pantalla",
|
||||||
"full_screen_view_description": "<0>Subir los registros de depuración nos ayudará a encontrar el problema.</0>",
|
"Spotlight": "Foco",
|
||||||
"full_screen_view_h1": "<0>Ups, algo ha salido mal.</0>",
|
"Speaker {{n}}": "Altavoz {{n}}",
|
||||||
"header_label": "Inicio de Element Call",
|
"Speaker": "Altavoz",
|
||||||
"join_existing_call_modal": {
|
"Spatial audio": "Audio espacial",
|
||||||
"join_button": "Si, unirse a la llamada",
|
"Sign out": "Cerrar sesión",
|
||||||
"text": "Esta llamada ya existe, ¿te gustaría unirte?",
|
"Sign in": "Iniciar sesión",
|
||||||
"title": "¿Unirse a llamada existente?"
|
"Show call inspector": "Mostrar inspector de llamada",
|
||||||
},
|
"Share screen": "Compartir pantalla",
|
||||||
"layout_spotlight_label": "Foco",
|
"Settings": "Ajustes",
|
||||||
"lobby": {
|
"Sending…": "Enviando…",
|
||||||
"join_button": "Unirse a la llamada"
|
"Sending debug logs…": "Enviando registros de depuración…",
|
||||||
},
|
"Send debug logs": "Enviar registros de depuración",
|
||||||
"logging_in": "Iniciando sesión…",
|
"Select an option": "Selecciona una opción",
|
||||||
"login_auth_links": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
|
"Return to home screen": "Volver a la pantalla de inicio",
|
||||||
"login_title": "Iniciar sesión",
|
"Remove": "Eliminar",
|
||||||
"rageshake_request_modal": {
|
"Release to stop": "Suelta para parar",
|
||||||
"body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
|
"Release spacebar key to stop": "Suelta la barra espaciadora para parar",
|
||||||
"title": "Petición de registros de depuración"
|
"Registering…": "Registrando…",
|
||||||
},
|
"Recaptcha not loaded": "No se ha cargado el Recaptcha",
|
||||||
"rageshake_send_logs": "Enviar registros de depuración",
|
"Recaptcha dismissed": "Recaptcha cancelado",
|
||||||
"rageshake_sending": "Enviando…",
|
"Profile": "Perfil",
|
||||||
"rageshake_sending_logs": "Enviando registros de depuración…",
|
"Press and hold to talk": "Mantén pulsado para hablar",
|
||||||
"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>",
|
"Press and hold spacebar to talk over {{name}}": "Mantén pulsada la barra espaciadora para hablar por encima de {{name}}",
|
||||||
"recaptcha_dismissed": "Recaptcha cancelado",
|
"Press and hold spacebar to talk": "Mantén pulsada la barra espaciadora para hablar",
|
||||||
"recaptcha_not_loaded": "No se ha cargado el Recaptcha",
|
"Passwords must match": "Las contraseñas deben coincidir",
|
||||||
"register": {
|
"Password": "Contraseña",
|
||||||
"passwords_must_match": "Las contraseñas deben coincidir",
|
"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>",
|
||||||
"registering": "Registrando…"
|
"Not now, return to home screen": "Ahora no, volver a la pantalla de inicio",
|
||||||
},
|
"No": "No",
|
||||||
"register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
|
"Mute microphone": "Silenciar micrófono",
|
||||||
"register_confirm_password_label": "Confirmar contraseña",
|
"More": "Más",
|
||||||
"return_home_button": "Volver a la pantalla de inicio",
|
"Microphone permissions needed to join the call.": "Se necesitan permisos del micrófono para unirse a la llamada.",
|
||||||
"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>",
|
"Microphone {{n}}": "Micrófono {{n}}",
|
||||||
"room_auth_view_join_button": "Unirse a la llamada ahora",
|
"Microphone": "Micrófono",
|
||||||
"screenshare_button_label": "Compartir pantalla",
|
"Login": "Iniciar sesión",
|
||||||
"select_input_unset_button": "Selecciona una opción",
|
"Logging in…": "Iniciando sesión…",
|
||||||
"settings": {
|
"Local volume": "Volumen local",
|
||||||
"developer_settings_label": "Ajustes de desarrollador",
|
"Loading…": "Cargando…",
|
||||||
"developer_settings_label_description": "Muestra los ajustes de desarrollador en la ventana de ajustes.",
|
"Leave": "Abandonar",
|
||||||
"developer_tab_title": "Desarrollador",
|
"Join existing call?": "¿Unirse a llamada existente?",
|
||||||
"feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.",
|
"Join call now": "Unirse a la llamada ahora",
|
||||||
"feedback_tab_description_label": "Tus comentarios",
|
"Join call": "Unirse a la llamada",
|
||||||
"feedback_tab_h4": "Enviar comentarios",
|
"Invite people": "Invitar a gente",
|
||||||
"feedback_tab_send_logs_label": "Incluir registros de depuración",
|
"Invite": "Invitar",
|
||||||
"feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!",
|
"Inspector": "Inspector",
|
||||||
"feedback_tab_title": "Danos tu opinión",
|
"Incompatible versions!": "¡Versiones incompatibles!",
|
||||||
"more_tab_title": "Más",
|
"Incompatible versions": "Versiones incompatibles",
|
||||||
"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.",
|
"Include debug logs": "Incluir registros de depuración",
|
||||||
"show_connection_stats_label": "Mostrar estadísticas de conexión",
|
"Home": "Inicio",
|
||||||
"speaker_device_selection_label": "Altavoz"
|
"Grid layout menu": "Menú de distribución de cuadrícula",
|
||||||
},
|
"Go": "Comenzar",
|
||||||
"star_rating_input_label_one": "{{count}} estrella",
|
"Full screen": "Pantalla completa",
|
||||||
"star_rating_input_label_other": "{{count}} estrellas",
|
"Freedom": "Libre",
|
||||||
"submitting": "Enviando…",
|
"Fetching group call timed out.": "Se ha agotado el tiempo de espera para obtener la llamada grupal.",
|
||||||
"unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
|
"Exit full screen": "Salir de pantalla completa",
|
||||||
"unauthenticated_view_eula_caption": "Al hacer clic en \"Comenzar\", aceptas nuestro <2>Contrato de Licencia de Usuario Final (CLUF)</2>",
|
"Download debug logs": "Descargar registros de depuración",
|
||||||
"unauthenticated_view_login_button": "Iniciar sesión en tu cuenta",
|
"Display name": "Nombre a mostrar",
|
||||||
"version": "Versión: {{version}}",
|
"Developer": "Desarrollador",
|
||||||
"waiting_for_participants": "Esperando a los otros participantes…"
|
"Details": "Detalles",
|
||||||
|
"Debug log request": "Petición de registros de depuración",
|
||||||
|
"Debug log": "Registro de depuración",
|
||||||
|
"Create account": "Crear cuenta",
|
||||||
|
"Copy and share this call link": "Copiar y compartir el enlace de la llamada",
|
||||||
|
"Copied!": "¡Copiado!",
|
||||||
|
"Connection lost": "Conexión perdida",
|
||||||
|
"Confirm password": "Confirmar contraseña",
|
||||||
|
"Close": "Cerrar",
|
||||||
|
"Change layout": "Cambiar distribución",
|
||||||
|
"Camera {{n}}": "Cámara {{n}}",
|
||||||
|
"Camera": "Cámara",
|
||||||
|
"Call type menu": "Menú de tipo de llamada",
|
||||||
|
"Call link copied": "Enlace de la llamada copiado",
|
||||||
|
"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.",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
|
"Audio": "Audio",
|
||||||
|
"Avatar": "Avatar",
|
||||||
|
"Accept camera/microphone permissions to join the call.": "Acepta los permisos de cámara/micrófono para unirte a la llamada.",
|
||||||
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
|
||||||
|
"<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>",
|
||||||
|
"<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>",
|
||||||
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Llamada de Walkie-talkie",
|
||||||
|
"{{name}} is talking…": "{{name}} está hablando…",
|
||||||
|
"{{name}} is presenting": "{{name}} está presentando",
|
||||||
|
"{{name}} (Connecting...)": "{{name}} (Conectando...)",
|
||||||
|
"{{count}} people connected|other": "{{count}} personas conectadas",
|
||||||
|
"{{count}} people connected|one": "{{count}} persona conectada",
|
||||||
|
"Element Call Home": "Inicio de Element Call",
|
||||||
|
"Copy": "Copiar",
|
||||||
|
"{{name}} (Waiting for video...)": "{{name}} (Esperando al video...)",
|
||||||
|
"This feature is only supported on Firefox.": "Esta característica solo está disponible en Firefox.",
|
||||||
|
"<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>",
|
||||||
|
"<0>Oops, something's gone wrong.</0>": "<0>Ups, algo ha salido mal.</0>",
|
||||||
|
"Expose developer settings in the settings window.": "Muestra los ajustes de desarrollador en la ventana de ajustes.",
|
||||||
|
"Developer Settings": "Ajustes de desarrollador",
|
||||||
|
"Use the upcoming grid system": "Utilizar el próximo sistema de cuadrícula",
|
||||||
|
"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>.",
|
||||||
|
"<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,134 +1,146 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Accept camera/microphone permissions to join the call.": "Kõnega liitumiseks anna õigused kaamera/mikrofoni kasutamiseks.",
|
||||||
"user_menu": "Kasutajamenüü"
|
"Accept microphone permissions to join the call.": "Kõnega liitumiseks anna õigused mikrofoni kasutamiseks.",
|
||||||
},
|
"<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>",
|
||||||
"action": {
|
"<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>",
|
||||||
"close": "Sulge",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Loo konto</0> Või <2>Sisene külalisena</2>",
|
||||||
"copy": "Kopeeri",
|
"<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>",
|
||||||
"copy_link": "Kopeeri link",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - walkie-talkie-kõne",
|
||||||
"go": "Jätka",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"invite": "Kutsu",
|
"{{name}} is talking…": "{{nimi}} räägib…",
|
||||||
"no": "Ei",
|
"{{name}} is presenting": "{{nimi}} esitab",
|
||||||
"register": "Registreeru",
|
"{{name}} (Connecting...)": "{{nimi}} (ühendamisel...)",
|
||||||
"remove": "Eemalda",
|
"{{count}} people connected|other": "{{count}} osalejat liitunud",
|
||||||
"sign_in": "Logi sisse",
|
"{{count}} people connected|one": "{{count}} osaleja liitunud",
|
||||||
"sign_out": "Logi välja",
|
"Invite people": "Kutsu inimesi",
|
||||||
"submit": "Saada"
|
"Invite": "Kutsu",
|
||||||
},
|
"Inspector": "Inspektor",
|
||||||
"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 <6>Küpsiste kasutamise reeglitest</6>.",
|
"Incompatible versions!": "Ühildumatud versioonid!",
|
||||||
"app_selection_modal": {
|
"Incompatible versions": "Ühildumatud versioonid",
|
||||||
"continue_in_browser": "Jätka veebibrauseris",
|
"Include debug logs": "Lisa veatuvastuslogid",
|
||||||
"open_in_app": "Ava rakenduses",
|
"Home": "Avavaatesse",
|
||||||
"text": "Oled valmis liituma?",
|
"Grid layout menu": "Ruudustikvaate menüü",
|
||||||
"title": "Vali rakendus"
|
"Go": "Jätka",
|
||||||
},
|
"Full screen": "Täisekraan",
|
||||||
"browser_media_e2ee_unsupported": "Sinu veebibrauser ei toeta meedia läbivat krüptimist. Toetatud brauserid on Chrome, Chromium, Safari ja Firefox >=117",
|
"Freedom": "Vaba",
|
||||||
"call_ended_view": {
|
"Fetching group call timed out.": "Grupikõne kättesaamine aegus.",
|
||||||
"body": "Sinu ühendus kõnega katkes",
|
"Exit full screen": "Välju täisekraanivaatest",
|
||||||
"create_account_button": "Loo konto",
|
"Download debug logs": "Lae alla veatuvastuslogid",
|
||||||
"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>",
|
"Display name": "Kuvatav nimi",
|
||||||
"feedback_done": "<0>Täname Sind tagasiside eest!</0>",
|
"Developer": "Arendaja",
|
||||||
"feedback_prompt": "<0>Meie rakenduse paremaks muutmiseks me hea meelega ootame Sinu arvamusi.</0>",
|
"Details": "Täpsemalt",
|
||||||
"headline": "{{displayName}}, sinu kõne on lõppenud.",
|
"Debug log request": "Veaotsingulogi päring",
|
||||||
"not_now_button": "Mitte praegu, mine tagasi avalehele",
|
"Debug log": "Veaotsingulogi",
|
||||||
"reconnect_button": "Ühenda uuesti",
|
"Create account": "Loo konto",
|
||||||
"survey_prompt": "Kuidas sujus?"
|
"Copy and share this call link": "Kopeeri ja jaga selle kõne linki",
|
||||||
},
|
"Copied!": "Kopeeritud!",
|
||||||
"call_name": "Kõne nimi",
|
"Connection lost": "Ühendus on katkenud",
|
||||||
"common": {
|
"Confirm password": "Kinnita salasõna",
|
||||||
"audio": "Heli",
|
"Close": "Sulge",
|
||||||
"avatar": "Tunnuspilt",
|
"Change layout": "Muuda paigutust",
|
||||||
"camera": "Kaamera",
|
"Camera/microphone permissions needed to join the call.": "Kõnega liitumiseks vajalikud kaamera/mikrofoni kasutamise load.",
|
||||||
"copied": "Kopeeritud!",
|
"Camera {{n}}": "Kaamera {{n}}",
|
||||||
"display_name": "Kuvatav nimi",
|
"Camera": "Kaamera",
|
||||||
"encrypted": "Krüptitud",
|
"Call type menu": "Kõnetüübi valik",
|
||||||
"home": "Avavaatesse",
|
"Call link copied": "Kõne link on kopeeritud",
|
||||||
"loading": "Laadimine …",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Klõpsides „Liitu kõnega“nõustud sa meie <2>kasutustingimustega</2>",
|
||||||
"microphone": "Mikrofon",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Klõpsides „Jätka“nõustud sa meie <2>kasutustingimustega</2>",
|
||||||
"password": "Salasõna",
|
"Avatar": "Tunnuspilt",
|
||||||
"profile": "Profiil",
|
"Audio": "Heli",
|
||||||
"settings": "Seadistused",
|
"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.",
|
||||||
"unencrypted": "Krüptimata",
|
"Press and hold spacebar to talk": "Rääkimiseks vajuta ja hoia all tühikuklahvi",
|
||||||
"username": "Kasutajanimi"
|
"Passwords must match": "Salasõnad ei klapi",
|
||||||
},
|
"Password": "Salasõna",
|
||||||
"disconnected_banner": "Võrguühendus serveriga on katkenud.",
|
"Not registered yet? <2>Create an account</2>": "Pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
||||||
"full_screen_view_description": "<0>Kui saadad meile vealogid, siis on lihtsam vea põhjust otsida.</0>",
|
"Not now, return to home screen": "Mitte praegu, mine tagasi avalehele",
|
||||||
"full_screen_view_h1": "<0>Ohoo, midagi on nüüd katki.</0>",
|
"No": "Ei",
|
||||||
"hangup_button_label": "Lõpeta kõne",
|
"Mute microphone": "Summuta mikrofon",
|
||||||
"header_participants_label": "Osalejad",
|
"Your recent calls": "Hiljutised kõned",
|
||||||
"invite_modal": {
|
"You can't talk at the same time": "Üheaegselt ei saa rääkida",
|
||||||
"link_copied_toast": "Link on kopeeritud lõikelauale",
|
"More": "Rohkem",
|
||||||
"title": "Kutsu liituma selle kõnaga"
|
"Microphone permissions needed to join the call.": "Kõnega liitumiseks on vaja lubada mikrofoni kasutamine.",
|
||||||
},
|
"Microphone {{n}}": "Mikrofon {{n}}",
|
||||||
"join_existing_call_modal": {
|
"Microphone": "Mikrofon",
|
||||||
"join_button": "Jah, liitu kõnega",
|
"Login to your account": "Logi oma kontosse sisse",
|
||||||
"text": "See kõne on juba olemas, kas soovid liituda?",
|
"Login": "Sisselogimine",
|
||||||
"title": "Liitu juba käimasoleva kõnega?"
|
"Logging in…": "Sisselogimine …",
|
||||||
},
|
"Local volume": "Kohalik helitugevus",
|
||||||
"layout_grid_label": "Ruudustik",
|
"Loading…": "Laadimine …",
|
||||||
"layout_spotlight_label": "Rambivalgus",
|
"Leave": "Lahku",
|
||||||
"lobby": {
|
"Join existing call?": "Liitu juba käimasoleva kõnega?",
|
||||||
"join_button": "Kõnega liitumine",
|
"Join call now": "Kõnega liitumine",
|
||||||
"leave_button": "Tagasi hiljutiste kõnede juurde"
|
"Join call": "Kõnega liitumine",
|
||||||
},
|
"Turn on camera": "Lülita kaamera sisse",
|
||||||
"logging_in": "Sisselogimine …",
|
"Turn off camera": "Lülita kaamera välja",
|
||||||
"login_auth_links": "<0>Loo konto</0> Või <2>Sisene külalisena</2>",
|
"Take me Home": "Mine avalehele",
|
||||||
"login_title": "Sisselogimine",
|
"Submit feedback": "Jaga tagasisidet",
|
||||||
"microphone_off": "Mikrofon ei tööta",
|
"Stop sharing screen": "Lõpeta ekraani jagamine",
|
||||||
"microphone_on": "Mikrofon töötab",
|
"Spotlight": "Rambivalgus",
|
||||||
"mute_microphone_button_label": "Summuta mikrofon",
|
"Speaker {{n}}": "Kõlar {{n}}",
|
||||||
"rageshake_button_error_caption": "Proovi uuesti logisid saata",
|
"Speaker": "Kõlar",
|
||||||
"rageshake_request_modal": {
|
"Spatial audio": "Ruumiline heli",
|
||||||
"body": "Ühel teisel selles kõnes osalejal on lahenduse kasutamisel tekkinud probleem ning selle põhjuse leidmiseks me sooviksime koguda silumislogisid.",
|
"Sign out": "Logi välja",
|
||||||
"title": "Veaotsingulogi päring"
|
"Sign in": "Logi sisse",
|
||||||
},
|
"Show call inspector": "Näita kõneteavet",
|
||||||
"rageshake_send_logs": "Saada veaotsingulogid",
|
"Share screen": "Jaga ekraani",
|
||||||
"rageshake_sending": "Saatmine…",
|
"Settings": "Seadistused",
|
||||||
"rageshake_sending_logs": "Veaotsingulogide saatmine…",
|
"Sending…": "Saatmine…",
|
||||||
"rageshake_sent": "Tänud!",
|
"Sending debug logs…": "Veaotsingulogide saatmine…",
|
||||||
"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>",
|
"Send debug logs": "Saada veaotsingulogid",
|
||||||
"recaptcha_dismissed": "Robotilõks on vahele jäetud",
|
"Select an option": "Vali oma eelistus",
|
||||||
"recaptcha_not_loaded": "Robotilõks pole laetud",
|
"Return to home screen": "Tagasi avalehele",
|
||||||
"register": {
|
"Remove": "Eemalda",
|
||||||
"passwords_must_match": "Salasõnad ei klapi",
|
"Release to stop": "Peatamiseks vabasta klahv",
|
||||||
"registering": "Registreerimine…"
|
"Release spacebar key to stop": "Peatamiseks vabasta tühikuklahv",
|
||||||
},
|
"Registering…": "Registreerimine…",
|
||||||
"register_auth_links": "<0>On sul juba konto?</0><1><0>Logi sisse</0> Või <2>Logi sisse külalisena</2></1>",
|
"Register": "Registreeru",
|
||||||
"register_confirm_password_label": "Kinnita salasõna",
|
"Recaptcha not loaded": "Robotilõks pole laetud",
|
||||||
"return_home_button": "Tagasi avalehele",
|
"Recaptcha dismissed": "Robotilõks on vahele jäetud",
|
||||||
"room_auth_view_eula_caption": "Klõpsides „Liitu kõnega kohe“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
"Profile": "Profiil",
|
||||||
"room_auth_view_join_button": "Liitu kõnega kohe",
|
"Press and hold to talk over {{name}}": "{{name}} ülerääkimiseks vajuta ja hoia all",
|
||||||
"screenshare_button_label": "Jaga ekraani",
|
"Press and hold to talk": "Rääkimiseks vajuta ja hoia all",
|
||||||
"select_input_unset_button": "Vali oma eelistus",
|
"Press and hold spacebar to talk over {{name}}": "{{name}} ülerääkimiseks vajuta ja hoia all tühikuklahvi",
|
||||||
"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>": "Teised kasutajad üritavad selle kõnega liituda ühildumatuid versioone kasutades. Need kasutajad peaksid oma brauseris lehe uuestilaadimise tegema:<1>{userLis}</1>",
|
||||||
"developer_settings_label": "Arendaja seadistused",
|
"Waiting for other participants…": "Ootame teiste osalejate lisandumist…",
|
||||||
"developer_settings_label_description": "Näita seadistuste aknas arendajale vajalikke seadeid.",
|
"Waiting for network": "Ootame võrguühendust",
|
||||||
"developer_tab_title": "Arendaja",
|
"Video call name": "Videokõne nimi",
|
||||||
"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.",
|
"Video call": "Videokõne",
|
||||||
"feedback_tab_description_label": "Sinu tagasiside",
|
"Video": "Video",
|
||||||
"feedback_tab_h4": "Jaga tagasisidet",
|
"Version: {{version}}": "Versioon: {{version}}",
|
||||||
"feedback_tab_send_logs_label": "Lisa veatuvastuslogid",
|
"Username": "Kasutajanimi",
|
||||||
"feedback_tab_thank_you": "Tänud, me oleme sinu tagasiside kätte saanud!",
|
"This call already exists, would you like to join?": "See kõne on juba olemas, kas soovid liituda?",
|
||||||
"feedback_tab_title": "Tagasiside",
|
"Talking…": "Jutt käib…",
|
||||||
"more_tab_title": "Rohkem",
|
"Talk over speaker": "Räägi teisest kõnelejast üle",
|
||||||
"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.",
|
"Thanks! We'll get right on it.": "Tänud! Tegeleme sellega esimesel võimalusel.",
|
||||||
"show_connection_stats_label": "Näita ühenduse statistikat",
|
"Unmute microphone": "Aktiveeri mikrofon",
|
||||||
"speaker_device_selection_label": "Kõlar"
|
"User menu": "Kasutajamenüü",
|
||||||
},
|
"Yes, join call": "Jah, liitu kõnega",
|
||||||
"star_rating_input_label_one": "{{count}} tärni",
|
"Walkie-talkie call": "Walkie-talkie stiilis kõne",
|
||||||
"star_rating_input_label_other": "{{count}} tärni",
|
"Walkie-talkie call name": "Walkie-talkie stiilis kõne nimi",
|
||||||
"start_new_call": "Algata uus kõne",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC pole kas selles brauseris toetatud või on keelatud.",
|
||||||
"start_video_button_label": "Lülita videovoog sisse",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Muudab kõneleja heli nii, nagu tuleks see sealt, kus on tema pilt ekraanil. (See on katseline funktsionaalsus ja võib mõjutada heli stabiilsust.)",
|
||||||
"stop_screenshare_button_label": "Ekraanivaade on jagamisel",
|
"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>Terms and conditions</12>": "Siin saidis on kasutusel ReCAPTCHA ning kehtivad Google <2>privaatsuspoliitika</2> ja <6>teenusetingimused</6>.<9></9>Klikkides „Registreeru“, nõustud meie <12>kasutustingimustega</12>",
|
||||||
"stop_video_button_label": "Peata videovoog",
|
"Element Call Home": "Element Call Home",
|
||||||
"submitting": "Saadan…",
|
"Copy": "Kopeeri",
|
||||||
"unauthenticated_view_body": "Sa pole veel registreerunud? <2>Loo kasutajakonto</2>",
|
"{{name}} (Waiting for video...)": "{{name}} (Ootame videovoo algust...)",
|
||||||
"unauthenticated_view_eula_caption": "Klõpsides „Jätka“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)</2>",
|
"This feature is only supported on Firefox.": "See funktsionaalsus on toetatud vaid Firefoxis.",
|
||||||
"unauthenticated_view_login_button": "Logi oma kontosse sisse",
|
"<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>",
|
||||||
"unmute_microphone_button_label": "Lülita mikrofon sisse",
|
"<0>Oops, something's gone wrong.</0>": "<0>Ohoo, midagi on nüüd katki.</0>",
|
||||||
"version": "Versioon: {{version}}",
|
"Use the upcoming grid system": "Kasuta tulevast ruudustiku-põhist paigutust",
|
||||||
"video_tile": {
|
"Expose developer settings in the settings window.": "Näita seadistuste aknas arendajale vajalikke seadeid.",
|
||||||
"sfu_participant_local": "Sina"
|
"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>.",
|
||||||
"waiting_for_participants": "Ootame teiste osalejate lisandumist…"
|
"<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.",
|
||||||
|
"Your feedback": "Sinu tagasiside",
|
||||||
|
"Thanks, we received your feedback!": "Tänud, me oleme sinu tagasiside kätte saanud!",
|
||||||
|
"Submitting…": "Saadan…",
|
||||||
|
"Submit": "Saada",
|
||||||
|
"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.",
|
||||||
|
"Feedback": "Tagasiside",
|
||||||
|
"{{count}} stars|one": "{{count}} tärn",
|
||||||
|
"{{count}} stars|other": "{{count}} tärni",
|
||||||
|
"How did it go?": "Kuidas sujus?",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, sinu kõne on lõppenud.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Täname Sind tagasiside eest!</0>",
|
||||||
|
"<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>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,78 +1,126 @@
|
|||||||
{
|
{
|
||||||
"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": "نام نمایشی",
|
||||||
"header_label": "خانهٔ تماس المنت",
|
"Developer": "توسعه دهنده",
|
||||||
"join_existing_call_modal": {
|
"Details": "جزئیات",
|
||||||
"join_button": "بله، به تماس بپیوندید",
|
"Debug log request": "درخواست لاگ عیبیابی",
|
||||||
"text": "این تماس از قبل وجود دارد، میخواهید بپیوندید؟",
|
"Debug log": "لاگ عیبیابی",
|
||||||
"title": "پیوست به تماس؟"
|
"Create account": "ساخت حساب کاربری",
|
||||||
},
|
"Copy and share this call link": "لینک تماس را کپی کنید و به اشتراک بگذارید",
|
||||||
"layout_spotlight_label": "نور افکن",
|
"Copied!": "کپی شد!",
|
||||||
"lobby": {
|
"Connection lost": "ارتباط قطع شد",
|
||||||
"join_button": "پیوستن به تماس"
|
"Confirm password": "تایید رمزعبور",
|
||||||
},
|
"Close": "بستن",
|
||||||
"logging_in": "ورود…",
|
"Change layout": "تغییر طرح",
|
||||||
"login_auth_links": "<0>ساخت حساب کاربری</0> Or <2>دسترسی به عنوان میهمان</2>",
|
"Camera/microphone permissions needed to join the call.": "برای پیوستن به تماس، دسترسی به دوربین/ میکروفون نیاز است.",
|
||||||
"login_title": "ورود",
|
"Camera {{n}}": "دوربین {{n}}",
|
||||||
"rageshake_request_modal": {
|
"Camera": "دوربین",
|
||||||
"body": "کاربر دیگری در این تماس مشکلی دارد. برای تشخیص بهتر مشکل، بهتر است ما لاگ عیبیابی را جمعآوری کنیم.",
|
"Call type menu": "منوی نوع تماس",
|
||||||
"title": "درخواست لاگ عیبیابی"
|
"Call link copied": "لینک تماس کپی شد",
|
||||||
},
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "با کلیک بر روی پیوستن به تماس، شما با <2>شرایط و قوانین استفاده</2> موافقت میکنید",
|
||||||
"rageshake_send_logs": "ارسال لاگهای عیبیابی",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "با کلیک بر روی برو، شما با <2>شرایط و قوانین استفاده</2> موافقت میکنید",
|
||||||
"rageshake_sending": "در حال ارسال…",
|
"Avatar": "آواتار",
|
||||||
"rageshake_sending_logs": "در حال ارسال باگهای عیبیابی…",
|
"Audio": "صدا",
|
||||||
"recaptcha_dismissed": "ریکپچا رد شد",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "کاربر دیگری در این تماس مشکلی دارد. برای تشخیص بهتر مشکل، بهتر است ما لاگ عیبیابی را جمعآوری کنیم.",
|
||||||
"recaptcha_not_loaded": "کپچا بارگیری نشد",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"register": {
|
"Accept microphone permissions to join the call.": "پذیرفتن دسترسی به میکروفون برای پیوستن به تماس.",
|
||||||
"passwords_must_match": "رمز عبور باید همخوانی داشته باشد",
|
"Accept camera/microphone permissions to join the call.": "پذیرفتن دسترسی دوربین/ میکروفون برای پیوستن به تماس.",
|
||||||
"registering": "ثبتنام…"
|
"<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> Or <2>دسترسی به عنوان میهمان</2>",
|
||||||
"register_auth_links": "<0>از قبل حساب کاربری دارید؟</0><1><0>ورود</0> Or <2>به عنوان یک میهمان وارد شوید</2></1>",
|
"<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>",
|
||||||
"register_confirm_password_label": "تایید رمزعبور",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - تماس واکی-تاکی",
|
||||||
"return_home_button": "برگشت به صفحه اصلی",
|
"{{name}} is talking…": "{{name}} در حال صحبت است…",
|
||||||
"room_auth_view_join_button": "الان به تماس بپیوند",
|
"{{name}} is presenting": "{{name}} حاضر است",
|
||||||
"screenshare_button_label": "اشتراک گذاری صفحه نمایش",
|
"{{count}} people connected|other": "{{count}} نفر متصل هستند",
|
||||||
"select_input_unset_button": "یک گزینه را انتخاب کنید",
|
"{{count}} people connected|one": "{{count}} فرد متصل هستند",
|
||||||
"settings": {
|
"Local volume": "حجم داخلی",
|
||||||
"developer_tab_title": "توسعه دهنده",
|
"Inspector": "بازرس",
|
||||||
"feedback_tab_h4": "بازخورد ارائه دهید",
|
"Incompatible versions!": "نسخههای ناسازگار!",
|
||||||
"feedback_tab_send_logs_label": "شامل لاگهای عیبیابی",
|
"Incompatible versions": "نسخههای ناسازگار",
|
||||||
"more_tab_title": "بیشتر",
|
"Spotlight": "نور افکن",
|
||||||
"speaker_device_selection_label": "بلندگو"
|
"Speaker {{n}}": "بلندگو {{n}}",
|
||||||
},
|
"Show call inspector": "نمایش بازرس تماس",
|
||||||
"unauthenticated_view_body": "هنوز ثبتنام نکردهاید؟ <2>ساخت حساب کاربری</2>",
|
"Share screen": "اشتراک گذاری صفحه نمایش",
|
||||||
"unauthenticated_view_login_button": "به حساب کاربری خود وارد شوید",
|
"Sending…": "در حال ارسال…",
|
||||||
"version": "نسخه: {{نسخه}}",
|
"Sending debug logs…": "در حال ارسال باگهای عیبیابی…",
|
||||||
"waiting_for_participants": "در انتظار برای دیگر شرکتکنندگان…"
|
"Send debug logs": "ارسال لاگهای عیبیابی",
|
||||||
|
"Select an option": "یک گزینه را انتخاب کنید",
|
||||||
|
"Return to home screen": "برگشت به صفحه اصلی",
|
||||||
|
"Remove": "حذف",
|
||||||
|
"Release to stop": "برای توقف رها کنید",
|
||||||
|
"Release spacebar key to stop": "اسپیس بار را برای توقف رها کنید",
|
||||||
|
"Registering…": "ثبتنام…",
|
||||||
|
"Register": "ثبتنام",
|
||||||
|
"Recaptcha not loaded": "کپچا بارگیری نشد",
|
||||||
|
"Recaptcha dismissed": "ریکپچا رد شد",
|
||||||
|
"Press and hold to talk over {{name}}": "برای صحبت فشار دهید و نگهدارید {{name}}",
|
||||||
|
"Press and hold to talk": "برای صحبت فشار دهید و نگهدارید",
|
||||||
|
"Press and hold spacebar to talk over {{name}}": "برای صحبت کردن دکمه اسپیس بار را فشار دهید و نگه دارید {{name}}",
|
||||||
|
"Press and hold spacebar to talk": "برای صحبت کردن کلید فاصله را فشار داده و نگه دارید",
|
||||||
|
"Passwords must match": "رمز عبور باید همخوانی داشته باشد",
|
||||||
|
"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>",
|
||||||
|
"Not registered yet? <2>Create an account</2>": "هنوز ثبتنام نکردهاید؟ <2>ساخت حساب کاربری</2>",
|
||||||
|
"Not now, return to home screen": "الان نه، به صفحه اصلی برگردید",
|
||||||
|
"Microphone permissions needed to join the call.": "برای پیوستن به مکالمه دسترسی به میکروفون نیاز است.",
|
||||||
|
"Microphone {{n}}": "میکروفون {{n}}",
|
||||||
|
"Logging in…": "ورود…",
|
||||||
|
"Include debug logs": "شامل لاگهای عیبیابی",
|
||||||
|
"Grid layout menu": "منوی طرحبندی شبکهای",
|
||||||
|
"Fetching group call timed out.": "زمان اتصال به مکالمه گروهی تمام شد.",
|
||||||
|
"You can't talk at the same time": "نمی توانید همزمان صحبت کنید",
|
||||||
|
"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…": "در انتظار برای دیگر شرکتکنندگان…",
|
||||||
|
"Waiting for network": "در انتظار شبکه",
|
||||||
|
"Video call name": "نامِ تماسِ تصویری",
|
||||||
|
"Version: {{version}}": "نسخه: {{نسخه}}",
|
||||||
|
"User menu": "فهرست کاربر",
|
||||||
|
"Unmute microphone": "ناخموشی میکروفون",
|
||||||
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "این کار باعث میشود به نظر برسد صدای بلندگو از جایی که کاشیاش روی صفحه قرار گرفته میآید (ویژگی آزمایشی: ممکن است بر پایداری صدا تأثیر بگذارد.)",
|
||||||
|
"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>Terms and conditions</12>": "این سایت توسط ReCAPTCHA محافظت می شود و <2>خط مشی رازداری</2> و <6>شرایط خدمات</6> Google اعمال می شود.<9></9>با کلیک کردن بر روی \"ثبت نام\"، شما با <12 >شرایط و ضوابط </12> ما موافقت می کنید",
|
||||||
|
"This call already exists, would you like to join?": "این تماس از قبل وجود دارد، میخواهید بپیوندید؟",
|
||||||
|
"Thanks! We'll get right on it.": "با تشکر! ما به درستی آن را انجام خواهیم داد.",
|
||||||
|
"Talking…": "در حال صحبت کردن…",
|
||||||
|
"Talk over speaker": "روی بلندگو صحبت کنید",
|
||||||
|
"Submit feedback": "بازخورد ارائه دهید",
|
||||||
|
"Stop sharing screen": "توقف اشتراکگذاری صفحه نمایش",
|
||||||
|
"Spatial audio": "صدای جهتدار",
|
||||||
|
"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>",
|
||||||
|
"{{name}} (Waiting for video...)": "{{name}} (منتظر تصویر…)",
|
||||||
|
"{{name}} (Connecting...)": "{{name}} (وصل شدن…)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,132 +1,146 @@
|
|||||||
{
|
{
|
||||||
"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>",
|
||||||
},
|
"Accept camera/microphone permissions to join the call.": "Autorisez l’accès à votre caméra et microphone pour rejoindre l’appel.",
|
||||||
"action": {
|
"Accept microphone permissions to join the call.": "Autorisez l’accès au microphone pour rejoindre l’appel.",
|
||||||
"close": "Fermer",
|
"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.",
|
||||||
"copy": "Copier",
|
"Audio": "Audio",
|
||||||
"copy_link": "Copier le lien",
|
"Avatar": "Avatar",
|
||||||
"go": "Commencer",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "En cliquant sur « Commencer » vous acceptez nos <2>conditions d’utilisation</2>",
|
||||||
"invite": "Inviter",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "En cliquant sur « Rejoindre l’appel » vous acceptez nos <2>conditions d’utilisation</2>",
|
||||||
"no": "Non",
|
"Call link copied": "Lien de l’appel copié",
|
||||||
"register": "S’enregistrer",
|
"Call type menu": "Menu de type d’appel",
|
||||||
"remove": "Supprimer",
|
"Camera": "Caméra",
|
||||||
"sign_in": "Connexion",
|
"Camera {{n}}": "Caméra {{n}}",
|
||||||
"sign_out": "Déconnexion",
|
"Camera/microphone permissions needed to join the call.": "Accès à la caméra et au microphone requis pour rejoindre l’appel.",
|
||||||
"submit": "Envoyer"
|
"Change layout": "Changer la disposition",
|
||||||
},
|
"Close": "Fermer",
|
||||||
"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 <6>Politique de cookies</6>.",
|
"Confirm password": "Confirmer le mot de passe",
|
||||||
"app_selection_modal": {
|
"Connection lost": "Connexion interrompue",
|
||||||
"continue_in_browser": "Continuer dans le navigateur",
|
"Copied!": "Copié !",
|
||||||
"open_in_app": "Ouvrir dans l’application",
|
"Copy and share this call link": "Copier et partager le lien de cet appel",
|
||||||
"text": "Prêt à rejoindre ?",
|
"Create account": "Créer un compte",
|
||||||
"title": "Choisissez l’application"
|
"Debug log": "Journal de débogage",
|
||||||
},
|
"Debug log request": "Demande d’un journal de débogage",
|
||||||
"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",
|
"Details": "Informations",
|
||||||
"call_ended_view": {
|
"Developer": "Développeur",
|
||||||
"body": "Vous avez été déconnecté de l’appel",
|
"Display name": "Nom d’affichage",
|
||||||
"create_account_button": "Créer un compte",
|
"Download debug logs": "Télécharger 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>",
|
"Exit full screen": "Quitter le plein écran",
|
||||||
"feedback_done": "<0>Merci pour votre commentaire !</0>",
|
"Freedom": "Libre",
|
||||||
"feedback_prompt": "<0>Nous aimerions avoir vos commentaires afin que nous puissions améliorer votre expérience.</0>",
|
"Full screen": "Plein écran",
|
||||||
"headline": "{{displayName}}, votre appel est terminé.",
|
"Go": "Commencer",
|
||||||
"not_now_button": "Pas maintenant, retourner à l’accueil",
|
"Grid layout menu": "Menu en grille",
|
||||||
"reconnect_button": "Se reconnecter",
|
"Home": "Accueil",
|
||||||
"survey_prompt": "Comment cela s’est-il passé ?"
|
"Include debug logs": "Inclure les journaux de débogage",
|
||||||
},
|
"Incompatible versions": "Versions incompatibles",
|
||||||
"call_name": "Nom de l’appel",
|
"Incompatible versions!": "Versions incompatibles !",
|
||||||
"common": {
|
"Inspector": "Inspecteur",
|
||||||
"camera": "Caméra",
|
"Invite people": "Inviter des gens",
|
||||||
"copied": "Copié !",
|
"Join call": "Rejoindre l’appel",
|
||||||
"display_name": "Nom d’affichage",
|
"Join call now": "Rejoindre l’appel maintenant",
|
||||||
"encrypted": "Chiffré",
|
"Join existing call?": "Rejoindre un appel existant ?",
|
||||||
"home": "Accueil",
|
"Leave": "Partir",
|
||||||
"loading": "Chargement…",
|
"Loading…": "Chargement…",
|
||||||
"password": "Mot de passe",
|
"Local volume": "Volume local",
|
||||||
"profile": "Profil",
|
"Logging in…": "Connexion…",
|
||||||
"settings": "Paramètres",
|
"Login": "Connexion",
|
||||||
"unencrypted": "Non chiffré",
|
"Login to your account": "Connectez vous à votre compte",
|
||||||
"username": "Nom d’utilisateur",
|
"Microphone": "Microphone",
|
||||||
"video": "Vidéo"
|
"Microphone permissions needed to join the call.": "Accès au microphone requis pour rejoindre l’appel.",
|
||||||
},
|
"Microphone {{n}}": "Microphone {{n}}",
|
||||||
"disconnected_banner": "La connexion avec le serveur a été perdue.",
|
"More": "Plus",
|
||||||
"full_screen_view_description": "<0>Soumettre les journaux de débogage nous aidera à déterminer le problème.</0>",
|
"Mute microphone": "Couper le micro",
|
||||||
"full_screen_view_h1": "<0>Oups, quelque chose s’est mal passé.</0>",
|
"No": "Non",
|
||||||
"hangup_button_label": "Terminer l’appel",
|
"Not now, return to home screen": "Pas maintenant, retourner à l’accueil",
|
||||||
"header_label": "Accueil Element Call",
|
"Not registered yet? <2>Create an account</2>": "Pas encore de compte ? <2>En créer un</2>",
|
||||||
"invite_modal": {
|
"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>",
|
||||||
"link_copied_toast": "Lien copié dans le presse-papier",
|
"Password": "Mot de passe",
|
||||||
"title": "Inviter dans cet appel"
|
"Passwords must match": "Les mots de passe doivent correspondre",
|
||||||
},
|
"Press and hold spacebar to talk": "Appuyez et maintenez la barre d’espace enfoncée pour parler",
|
||||||
"join_existing_call_modal": {
|
"Press and hold spacebar to talk over {{name}}": "Appuyez et maintenez la barre d’espace enfoncée pour parler par dessus {{name}}",
|
||||||
"join_button": "Oui, rejoindre l’appel",
|
"Press and hold to talk": "Appuyez et maintenez enfoncé pour parler",
|
||||||
"text": "Cet appel existe déjà, voulez-vous le rejoindre ?",
|
"Press and hold to talk over {{name}}": "Appuyez et maintenez enfoncé pour parler par dessus {{name}}",
|
||||||
"title": "Rejoindre un appel existant ?"
|
"Profile": "Profil",
|
||||||
},
|
"Recaptcha dismissed": "Recaptcha refusé",
|
||||||
"layout_grid_label": "Grille",
|
"Recaptcha not loaded": "Recaptcha non chargé",
|
||||||
"layout_spotlight_label": "Premier plan",
|
"Register": "S’enregistrer",
|
||||||
"lobby": {
|
"Registering…": "Enregistrement…",
|
||||||
"join_button": "Rejoindre l’appel",
|
"Release spacebar key to stop": "Relâcher la barre d’espace pour arrêter",
|
||||||
"leave_button": "Revenir à l’historique des appels"
|
"Release to stop": "Relâcher pour arrêter",
|
||||||
},
|
"Remove": "Supprimer",
|
||||||
"logging_in": "Connexion…",
|
"Return to home screen": "Retour à l’accueil",
|
||||||
"login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>",
|
"Select an option": "Sélectionnez une option",
|
||||||
"login_title": "Connexion",
|
"Send debug logs": "Envoyer les journaux de débogage",
|
||||||
"microphone_off": "Microphone éteint",
|
"Sending…": "Envoi…",
|
||||||
"microphone_on": "Microphone allumé",
|
"Settings": "Paramètres",
|
||||||
"mute_microphone_button_label": "Couper le microphone",
|
"Share screen": "Partage d’écran",
|
||||||
"rageshake_button_error_caption": "Réessayer d’envoyer les journaux",
|
"Show call inspector": "Afficher l’inspecteur d’appel",
|
||||||
"rageshake_request_modal": {
|
"Sign in": "Connexion",
|
||||||
"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.",
|
"Sign out": "Déconnexion",
|
||||||
"title": "Demande d’un journal de débogage"
|
"Spatial audio": "Audio spatialisé",
|
||||||
},
|
"Spotlight": "Premier plan",
|
||||||
"rageshake_send_logs": "Envoyer les journaux de débogage",
|
"Stop sharing screen": "Arrêter le partage d’écran",
|
||||||
"rageshake_sending": "Envoi…",
|
"Submit feedback": "Envoyer des retours",
|
||||||
"rageshake_sending_logs": "Envoi des journaux de débogage…",
|
"Take me Home": "Retouner à l’accueil",
|
||||||
"rageshake_sent": "Merci !",
|
"Talk over speaker": "Parler par dessus l’intervenant",
|
||||||
"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>",
|
"Thanks! We'll get right on it.": "Merci ! Nous allons nous y attaquer.",
|
||||||
"recaptcha_dismissed": "Recaptcha refusé",
|
"This call already exists, would you like to join?": "Cet appel existe déjà, voulez-vous le rejoindre ?",
|
||||||
"recaptcha_not_loaded": "Recaptcha non chargé",
|
"{{name}} is presenting": "{{name}} est le présentateur",
|
||||||
"register": {
|
"Fetching group call timed out.": "Échec de connexion à l’appel de groupe dans le temps imparti.",
|
||||||
"passwords_must_match": "Les mots de passe doivent correspondre",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} — Appel talkie-walkie",
|
||||||
"registering": "Enregistrement…"
|
"{{name}} is talking…": "{{name}} est en train de parler…",
|
||||||
},
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
|
"{{count}} people connected|other": "{{count}} personnes connectées",
|
||||||
"register_confirm_password_label": "Confirmer le mot de passe",
|
"{{count}} people connected|one": "{{count}} personne connectée",
|
||||||
"return_home_button": "Retour à l’accueil",
|
"Your recent calls": "Appels récents",
|
||||||
"room_auth_view_eula_caption": "En cliquant sur « Rejoindre l’appel maintenant », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
"You can't talk at the same time": "Vous ne pouvez pas parler en même temps",
|
||||||
"room_auth_view_join_button": "Rejoindre l’appel maintenant",
|
"Yes, join call": "Oui, rejoindre l’appel",
|
||||||
"screenshare_button_label": "Partage d’écran",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC n’est pas pris en charge ou est bloqué par ce navigateur.",
|
||||||
"select_input_unset_button": "Sélectionnez une option",
|
"Walkie-talkie call name": "Nom de l’appel talkie-walkie",
|
||||||
"settings": {
|
"Walkie-talkie call": "Appel talkie-walkie",
|
||||||
"developer_settings_label": "Paramètres développeurs",
|
"Waiting for other participants…": "En attente d’autres participants…",
|
||||||
"developer_settings_label_description": "Affiche les paramètres développeurs dans la fenêtre des paramètres.",
|
"Waiting for network": "En attente du réseau",
|
||||||
"developer_tab_title": "Développeur",
|
"Video call name": "Nom de l’appel vidéo",
|
||||||
"feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
|
"Video call": "Appel vidéo",
|
||||||
"feedback_tab_description_label": "Votre commentaire",
|
"Video": "Vidéo",
|
||||||
"feedback_tab_h4": "Envoyer un commentaire",
|
"Version: {{version}}": "Version : {{version}}",
|
||||||
"feedback_tab_send_logs_label": "Inclure les journaux de débogage",
|
"Username": "Nom d’utilisateur",
|
||||||
"feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !",
|
"User menu": "Menu utilisateur",
|
||||||
"feedback_tab_title": "Commentaires",
|
"Unmute microphone": "Allumer le micro",
|
||||||
"more_tab_title": "Plus",
|
"Turn on camera": "Allumer la caméra",
|
||||||
"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.",
|
"Turn off camera": "Couper la caméra",
|
||||||
"show_connection_stats_label": "Afficher les statistiques de la connexion",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Cela donnera l’impression que le son de l’intervenant provient de là où leur tuile est positionnée sur l’écran. (Fonctionnalité expérimentale : ceci pourrait avoir un impact sur la stabilité du son.)",
|
||||||
"speaker_device_selection_label": "Intervenant"
|
"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>Terms and conditions</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 nos <12>conditions d’utilisation</12>",
|
||||||
},
|
"Talking…": "Vous parlez…",
|
||||||
"star_rating_input_label_one": "{{count}} favori",
|
"Speaker {{n}}": "Intervenant {{n}}",
|
||||||
"star_rating_input_label_other": "{{count}} favoris",
|
"Speaker": "Intervenant",
|
||||||
"start_new_call": "Démarrer un nouvel appel",
|
"Invite": "Inviter",
|
||||||
"start_video_button_label": "Démarrer la vidéo",
|
"<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>",
|
||||||
"stop_screenshare_button_label": "L’écran est partagé",
|
"Sending debug logs…": "Envoi des journaux de débogage…",
|
||||||
"stop_video_button_label": "Arrêter la vidéo",
|
"<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>",
|
||||||
"submitting": "Envoi…",
|
"{{name}} (Connecting...)": "{{name}} (Connexion…)",
|
||||||
"unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>",
|
"Element Call Home": "Accueil Element Call",
|
||||||
"unauthenticated_view_eula_caption": "En cliquant sur « Commencer », vous acceptez notre <2>Contrat de Licence Utilisateur Final (CLUF)</2>",
|
"Copy": "Copier",
|
||||||
"unauthenticated_view_login_button": "Connectez vous à votre compte",
|
"{{name}} (Waiting for video...)": "{{name}} (En attente de vidéo…)",
|
||||||
"unmute_microphone_button_label": "Allumer le microphone",
|
"This feature is only supported on Firefox.": "Cette fonctionnalité est prise en charge dans Firefox uniquement.",
|
||||||
"version": "Version : {{version}}",
|
"<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>",
|
||||||
"video_tile": {
|
"<0>Oops, something's gone wrong.</0>": "<0>Oups, quelque chose s’est mal passé.</0>",
|
||||||
"sfu_participant_local": "Vous"
|
"Use the upcoming grid system": "Utiliser le futur système de grille",
|
||||||
},
|
"Expose developer settings in the settings window.": "Affiche les paramètres développeurs dans la fenêtre des paramètres.",
|
||||||
"waiting_for_participants": "En attente d’autres participants…"
|
"Developer Settings": "Paramètres développeurs",
|
||||||
|
"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>.",
|
||||||
|
"<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.",
|
||||||
|
"Your feedback": "Votre commentaire",
|
||||||
|
"Thanks, we received your feedback!": "Merci, nous avons reçu vos commentaires !",
|
||||||
|
"Submitting…": "Envoi…",
|
||||||
|
"Submit": "Envoyer",
|
||||||
|
"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.",
|
||||||
|
"Feedback": "Commentaires",
|
||||||
|
"{{count}} stars|other": "{{count}} favoris",
|
||||||
|
"<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>",
|
||||||
|
"{{count}} stars|one": "{{count}} favori",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, votre appel est terminé.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Merci pour votre commentaire !</0>",
|
||||||
|
"How did it go?": "Comment cela s’est-il passé ?"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,133 +1,145 @@
|
|||||||
{
|
{
|
||||||
"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": {
|
"Accept camera/microphone permissions to join the call.": "Terima izin kamera/mikrofon untuk bergabung ke panggilan.",
|
||||||
"close": "Tutup",
|
"Accept microphone permissions to join the call.": "Terima izin mikrofon untuk bergabung ke panggilan.",
|
||||||
"copy": "Salin",
|
"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.",
|
||||||
"copy_link": "Salin tautan",
|
"Audio": "Audio",
|
||||||
"go": "Bergabung",
|
"Avatar": "Avatar",
|
||||||
"invite": "Undang",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Dengan mengeklik \"Bergabung\", Anda terima <2>syarat dan ketentuan</2> kami",
|
||||||
"no": "Tidak",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda terima <2>syarat dan ketentuan</2> kami",
|
||||||
"register": "Daftar",
|
"Call link copied": "Tautan panggilan disalin",
|
||||||
"remove": "Hapus",
|
"Call type menu": "Menu jenis panggilan",
|
||||||
"sign_in": "Masuk",
|
"Camera": "Kamera",
|
||||||
"sign_out": "Keluar",
|
"Camera {{n}}": "Kamera {{n}}",
|
||||||
"submit": "Kirim"
|
"Camera/microphone permissions needed to join the call.": "Izin kamera/mikrofon dibutuhkan untuk bergabung ke panggilan.",
|
||||||
},
|
"Change layout": "Ubah tata letak",
|
||||||
"analytics_notice": "Dengan bergabung dalam beta ini, Anda mengizinkan kami untuk mengumpulkan data anonim, yang kami gunakan untuk meningkatkan produk ini. Anda dapat mempelajari lebih lanjut tentang data apa yang kami lacak dalam <2>Kebijakan Privasi</2> dan <6>Kebijakan Kuki</6> kami.",
|
"Close": "Tutup",
|
||||||
"app_selection_modal": {
|
"Confirm password": "Konfirmasi kata sandi",
|
||||||
"continue_in_browser": "Lanjutkan dalam peramban",
|
"Connection lost": "Koneksi hilang",
|
||||||
"open_in_app": "Buka dalam aplikasi",
|
"Copied!": "Disalin!",
|
||||||
"text": "Siap untuk bergabung?",
|
"Copy and share this call link": "Salin dan bagikan tautan panggilan ini",
|
||||||
"title": "Pilih plikasi"
|
"Create account": "Buat akun",
|
||||||
},
|
"Debug log": "Catatan pengawakutuan",
|
||||||
"browser_media_e2ee_unsupported": "Peramban web Anda tidak mendukung enkripsi media ujung ke ujung. Peramban yang didukung adalah Chrome, Safari, dan Firefox >=117",
|
"Debug log request": "Permintaan catatan pengawakutuan",
|
||||||
"call_ended_view": {
|
"Details": "Detail",
|
||||||
"body": "Anda terputus dari panggilan",
|
"Developer": "Pengembang",
|
||||||
"create_account_button": "Buat akun",
|
"Display name": "Nama tampilan",
|
||||||
"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>",
|
"Download debug logs": "Unduh catatan pengawakutuan",
|
||||||
"feedback_done": "<0>Terima kasih atas masukan Anda!</0>",
|
"Exit full screen": "Keluar dari layar penuh",
|
||||||
"feedback_prompt": "<0>Kami ingin mendengar masukan Anda supaya kami bisa meningkatkan pengalaman Anda.</0>",
|
"Fetching group call timed out.": "Waktu pendapatan panggilan grup habis.",
|
||||||
"headline": "{{displayName}}, panggilan Anda telah berakhir.",
|
"Freedom": "Bebas",
|
||||||
"not_now_button": "Tidak sekarang, kembali ke layar beranda",
|
"Full screen": "Layar penuh",
|
||||||
"reconnect_button": "Hubungkan ulang",
|
"Go": "Bergabung",
|
||||||
"survey_prompt": "Bagaimana rasanya?"
|
"Grid layout menu": "Menu tata letak kisi",
|
||||||
},
|
"Home": "Beranda",
|
||||||
"call_name": "Nama panggilan",
|
"Include debug logs": "Termasuk catatan pengawakutuan",
|
||||||
"common": {
|
"Incompatible versions": "Versi tidak kompatibel",
|
||||||
"camera": "Kamera",
|
"Incompatible versions!": "Versi tidak kompatibel!",
|
||||||
"copied": "Disalin!",
|
"Inspector": "Inspektur",
|
||||||
"display_name": "Nama tampilan",
|
"Invite": "Undang",
|
||||||
"encrypted": "Terenkripsi",
|
"Invite people": "Undang orang",
|
||||||
"home": "Beranda",
|
"Join call": "Bergabung ke panggilan",
|
||||||
"loading": "Memuat…",
|
"Join call now": "Bergabung ke panggilan sekarang",
|
||||||
"microphone": "Mikrofon",
|
"Join existing call?": "Bergabung ke panggilan yang sudah ada?",
|
||||||
"password": "Kata sandi",
|
"Leave": "Keluar",
|
||||||
"profile": "Profil",
|
"Loading…": "Memuat…",
|
||||||
"settings": "Pengaturan",
|
"Local volume": "Volume lokal",
|
||||||
"unencrypted": "Tidak terenkripsi",
|
"Logging in…": "Memasuki…",
|
||||||
"username": "Nama pengguna"
|
"Login": "Masuk",
|
||||||
},
|
"Login to your account": "Masuk ke akun Anda",
|
||||||
"disconnected_banner": "Koneksi ke server telah hilang.",
|
"Microphone": "Mikrofon",
|
||||||
"full_screen_view_description": "<0>Mengirim catatan pengawakutuan akan membantu kami melacak masalahnya.</0>",
|
"Microphone permissions needed to join the call.": "Izin mikrofon dibutuhkan untuk bergabung ke panggilan ini.",
|
||||||
"full_screen_view_h1": "<0>Aduh, ada yang salah.</0>",
|
"Microphone {{n}}": "Mikrofon {{n}}",
|
||||||
"hangup_button_label": "Akhiri panggilan",
|
"More": "Lainnya",
|
||||||
"header_label": "Beranda Element Call",
|
"Mute microphone": "Bisukan mikrofon",
|
||||||
"header_participants_label": "Peserta",
|
"No": "Tidak",
|
||||||
"invite_modal": {
|
"Not now, return to home screen": "Tidak sekarang, kembali ke layar beranda",
|
||||||
"link_copied_toast": "Tautan disalin ke papan klip",
|
"Not registered yet? <2>Create an account</2>": "Belum terdaftar? <2>Buat sebuah akun</2>",
|
||||||
"title": "Undang ke panggilan ini"
|
"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>",
|
||||||
},
|
"Password": "Kata sandi",
|
||||||
"join_existing_call_modal": {
|
"Passwords must match": "Kata sandi harus cocok",
|
||||||
"join_button": "Ya, bergabung ke panggilan",
|
"Press and hold spacebar to talk": "Tekan dan tahan bilah spasi untuk berbicara",
|
||||||
"text": "Panggilan ini sudah ada, apakah Anda ingin bergabung?",
|
"Press and hold spacebar to talk over {{name}}": "Tekan dan tahan bilah spasi untuk berbicara pada {{name}}",
|
||||||
"title": "Bergabung ke panggilan yang sudah ada?"
|
"Press and hold to talk": "Tekan dan tahan untuk berbicara",
|
||||||
},
|
"Press and hold to talk over {{name}}": "Tekan dan tahan untuk berbicara pada {{name}}",
|
||||||
"layout_grid_label": "Kisi",
|
"Profile": "Profil",
|
||||||
"layout_spotlight_label": "Sorotan",
|
"Recaptcha dismissed": "Recaptcha ditutup",
|
||||||
"lobby": {
|
"Recaptcha not loaded": "Recaptcha tidak dimuat",
|
||||||
"join_button": "Bergabung ke panggilan",
|
"Register": "Daftar",
|
||||||
"leave_button": "Kembali ke terkini"
|
"Registering…": "Mendaftarkan…",
|
||||||
},
|
"Release spacebar key to stop": "Lepaskan bilah spasi untuk berhenti",
|
||||||
"logging_in": "Memasuki…",
|
"Release to stop": "Lepaskan untuk berhenti",
|
||||||
"login_auth_links": "<0>Buat akun</0> Atau <2>Akses sebagai tamu</2>",
|
"Remove": "Hapus",
|
||||||
"login_title": "Masuk",
|
"Return to home screen": "Kembali ke layar beranda",
|
||||||
"microphone_off": "Mikrofon dimatikan",
|
"Select an option": "Pilih sebuah opsi",
|
||||||
"microphone_on": "Mikrofon dinyalakan",
|
"Send debug logs": "Kirim catatan pengawakutuan",
|
||||||
"mute_microphone_button_label": "Matikan mikrofon",
|
"Sending…": "Mengirimkan…",
|
||||||
"rageshake_button_error_caption": "Kirim ulang catatan",
|
"Settings": "Pengaturan",
|
||||||
"rageshake_request_modal": {
|
"Share screen": "Bagikan layar",
|
||||||
"body": "Pengguna yang lain di panggilan ini sedang mengalami masalah. Supaya dapat mendiagnosa masalah ini, kami ingin mengumpulkan sebuah catatan pengawakutuan.",
|
"Show call inspector": "Tampilkan inspektur panggilan",
|
||||||
"title": "Permintaan catatan pengawakutuan"
|
"Sign in": "Masuk",
|
||||||
},
|
"Sign out": "Keluar",
|
||||||
"rageshake_send_logs": "Kirim catatan pengawakutuan",
|
"Spatial audio": "Audio spasial",
|
||||||
"rageshake_sending": "Mengirimkan…",
|
"Speaker": "Pembicara",
|
||||||
"rageshake_sending_logs": "Mengirimkan catatan pengawakutuan…",
|
"Speaker {{n}}": "Pembicara {{n}}",
|
||||||
"rageshake_sent": "Terima kasih!",
|
"Spotlight": "Sorotan",
|
||||||
"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",
|
"Stop sharing screen": "Berhenti membagikan layar",
|
||||||
"recaptcha_dismissed": "Recaptcha ditutup",
|
"Submit feedback": "Kirim masukan",
|
||||||
"recaptcha_not_loaded": "Recaptcha tidak dimuat",
|
"Take me Home": "Bawa saya ke Beranda",
|
||||||
"register": {
|
"Talk over speaker": "Bicara pada pembicara",
|
||||||
"passwords_must_match": "Kata sandi harus cocok",
|
"Talking…": "Berbicara…",
|
||||||
"registering": "Mendaftarkan…"
|
"Thanks! We'll get right on it.": "Terima kasih! Kami akan melihatnya.",
|
||||||
},
|
"This call already exists, would you like to join?": "Panggilan ini sudah ada, apakah Anda ingin bergabung?",
|
||||||
"register_auth_links": "<0>Sudah punya akun?</0><1><0>Masuk</0> Atau <2>Akses sebagai tamu</2></1>",
|
"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>Terms and conditions</12>": "Situs ini dilindungi oleh ReCAPTCHA dan <2>Kebijakan Privasi</2> dan <6>Ketentuan Layanan</6> Google berlaku.<9>Dengan mengeklik \"Daftar\", Anda terima <12>syarat dan ketentuan</12> kami",
|
||||||
"register_confirm_password_label": "Konfirmasi kata sandi",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Ini akan membuat suara pembicara seolah-olah berasal dari tempat ubin mereka diposisikan di layar. (Fitur uji coba: ini dapat memengaruhi stabilitas audio.)",
|
||||||
"return_home_button": "Kembali ke layar beranda",
|
"Turn off camera": "Matikan kamera",
|
||||||
"room_auth_view_eula_caption": "Dengan mengeklik \"Bergabung ke panggilan sekarang\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2> kami",
|
"Turn on camera": "Nyalakan kamera",
|
||||||
"room_auth_view_join_button": "Bergabung ke panggilan sekarang",
|
"Unmute microphone": "Suarakan mikrofon",
|
||||||
"screenshare_button_label": "Bagikan layar",
|
"User menu": "Menu pengguna",
|
||||||
"select_input_unset_button": "Pilih sebuah opsi",
|
"Username": "Nama pengguna",
|
||||||
"settings": {
|
"Version: {{version}}": "Versi: {{version}}",
|
||||||
"developer_settings_label": "Pengaturan Pengembang",
|
"Video": "Video",
|
||||||
"developer_settings_label_description": "Ekspos pengaturan pengembang dalam jendela pengaturan.",
|
"Video call": "Panggilan video",
|
||||||
"developer_tab_title": "Pengembang",
|
"Video call name": "Nama panggilan video",
|
||||||
"feedback_tab_body": "Jika Anda mengalami masalah atau hanya ingin memberikan masukan, silakan kirimkan kami deskripsi pendek di bawah.",
|
"Waiting for network": "Menunggu jaringan",
|
||||||
"feedback_tab_description_label": "Masukan Anda",
|
"Waiting for other participants…": "Menunggu peserta lain…",
|
||||||
"feedback_tab_h4": "Kirim masukan",
|
"Walkie-talkie call": "Panggilan protofon",
|
||||||
"feedback_tab_send_logs_label": "Termasuk catatan pengawakutuan",
|
"Walkie-talkie call name": "Nama panggilan protofon",
|
||||||
"feedback_tab_thank_you": "Terima kasih, kami telah menerima masukan Anda!",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC tidak didukung atau diblokir di peramban ini.",
|
||||||
"feedback_tab_title": "Masukan",
|
"Yes, join call": "Ya, bergabung ke panggilan",
|
||||||
"more_tab_title": "Lainnya",
|
"You can't talk at the same time": "Anda tidak dapat berbicara pada waktu yang sama",
|
||||||
"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.",
|
"Your recent calls": "Panggilan Anda terkini",
|
||||||
"show_connection_stats_label": "Tampilkan statistik koneksi",
|
"{{count}} people connected|one": "{{count}} orang terhubung",
|
||||||
"speaker_device_selection_label": "Pembicara"
|
"{{count}} people connected|other": "{{count}} orang terhubung",
|
||||||
},
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"star_rating_input_label_one": "{{count}} bintang",
|
"{{name}} is presenting": "{{name}} sedang mempresentasi",
|
||||||
"star_rating_input_label_other": "{{count}} bintang",
|
"{{name}} is talking…": "{{name}} sedang berbicara…",
|
||||||
"start_new_call": "Mulai panggilan baru",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Panggilan protofon",
|
||||||
"start_video_button_label": "Nyalakan video",
|
"Sending debug logs…": "Mengirimkan catatan pengawakutuan…",
|
||||||
"stop_screenshare_button_label": "Berbagi layar",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Bergabung panggilan sekarang</0><1>Atau</1><2>Salin tautan dan bergabung nanti</2>",
|
||||||
"stop_video_button_label": "Matikan video",
|
"{{name}} (Connecting...)": "{{name}} (Menghubungkan...)",
|
||||||
"submitting": "Mengirim…",
|
"Element Call Home": "Beranda Element Call",
|
||||||
"unauthenticated_view_body": "Belum terdaftar? <2>Buat sebuah akun</2>",
|
"Copy": "Salin",
|
||||||
"unauthenticated_view_eula_caption": "Dengan mengeklik \"Bergabung\", Anda menyetujui <2>Perjanjian Lisensi Pengguna Akhir (EULA)</2>",
|
"{{name}} (Waiting for video...)": "{{name}} (Menunggu video...)",
|
||||||
"unauthenticated_view_login_button": "Masuk ke akun Anda",
|
"This feature is only supported on Firefox.": "Fitur ini hanya didukung di Firefox.",
|
||||||
"unmute_microphone_button_label": "Nyalakan mikrofon",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Mengirim catatan pengawakutuan akan membantu kami melacak masalahnya.</0>",
|
||||||
"version": "Versi: {{version}}",
|
"<0>Oops, something's gone wrong.</0>": "<0>Aduh, ada yang salah.</0>",
|
||||||
"video_tile": {
|
"Use the upcoming grid system": "Gunakan sistem kisi yang akan segera datang",
|
||||||
"sfu_participant_local": "Anda"
|
"Expose developer settings in the settings window.": "Ekspos pengaturan pengembang dalam jendela pengaturan.",
|
||||||
},
|
"Developer Settings": "Pengaturan Pengembang",
|
||||||
"waiting_for_participants": "Menunggu peserta lain…"
|
"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.",
|
||||||
|
"<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.",
|
||||||
|
"Feedback": "Masukan",
|
||||||
|
"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.",
|
||||||
|
"Submit": "Kirim",
|
||||||
|
"Submitting…": "Mengirim",
|
||||||
|
"Thanks, we received your feedback!": "Terima kasih, kami telah menerima masukan Anda!",
|
||||||
|
"Your feedback": "Masukan Anda",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, panggilan Anda telah berakhir.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Terima kasih atas masukan Anda!</0>",
|
||||||
|
"How did it go?": "Bagaimana rasanya?",
|
||||||
|
"{{count}} stars|one": "{{count}} bintang",
|
||||||
|
"<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>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,130 +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'<6>informativa sui cookie</6>.",
|
|
||||||
"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.",
|
|
||||||
"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>",
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
"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": {
|
|
||||||
"sfu_participant_local": "Tu"
|
|
||||||
},
|
|
||||||
"waiting_for_participants": "In attesa di altri partecipanti…"
|
|
||||||
}
|
|
||||||
@@ -1,73 +1,106 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"{{name}} (Connecting...)": "{{name}}(接続しています…)",
|
||||||
"user_menu": "ユーザーメニュー"
|
"{{count}} people connected|other": "{{count}}人が接続済",
|
||||||
},
|
"{{count}} people connected|one": "{{count}}人が接続済",
|
||||||
"action": {
|
"{{name}} (Waiting for video...)": "{{name}}(ビデオを待機しています…)",
|
||||||
"close": "閉じる",
|
"<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>",
|
||||||
"copy": "コピー",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - トランシーバー通話",
|
||||||
"go": "続行",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>アカウントを作成</0>または<2>ゲストとしてアクセス</2>",
|
||||||
"no": "いいえ",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>今すぐ通話に参加</0><1>または</1><2>通話リンクをコピーし、後で参加</2>",
|
||||||
"register": "登録",
|
"Accept camera/microphone permissions to join the call.": "通話に参加するには、カメラ・マイクの許可が必要です。",
|
||||||
"remove": "削除",
|
"<0>Oops, something's gone wrong.</0>": "<0>何かがうまく行きませんでした。</0>",
|
||||||
"sign_in": "サインイン",
|
"Camera/microphone permissions needed to join the call.": "通話に参加する場合、カメラ・マイクの許可が必要です。",
|
||||||
"sign_out": "サインアウト"
|
"Camera": "カメラ",
|
||||||
},
|
"Call link copied": "通話リンクをコピーしました",
|
||||||
"call_ended_view": {
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "「今すぐ通話に参加」をクリックすると、<2>利用規約</2>に同意したとみなされます",
|
||||||
"create_account_button": "アカウントを作成"
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "「続行」をクリックすると、 <2>利用規約</2>に同意したとみなされます",
|
||||||
},
|
"Avatar": "アバター",
|
||||||
"common": {
|
"Accept microphone permissions to join the call.": "通話に参加するには、マイクの許可が必要です。",
|
||||||
"audio": "音声",
|
"Audio": "音声",
|
||||||
"avatar": "アバター",
|
"Connection lost": "接続が切断されました",
|
||||||
"camera": "カメラ",
|
"Confirm password": "パスワードを確認",
|
||||||
"copied": "コピーしました!",
|
"Close": "閉じる",
|
||||||
"display_name": "表示名",
|
"Change layout": "レイアウトを変更",
|
||||||
"home": "ホーム",
|
"Copied!": "コピーしました!",
|
||||||
"loading": "読み込んでいます…",
|
"Copy and share this call link": "通話リンクをコピーし共有",
|
||||||
"microphone": "マイク",
|
"Copy": "コピー",
|
||||||
"password": "パスワード",
|
"Debug log": "デバッグログ",
|
||||||
"profile": "プロフィール",
|
"Create account": "アカウントを作成",
|
||||||
"settings": "設定",
|
"Go": "続行",
|
||||||
"username": "ユーザー名",
|
"Fetching group call timed out.": "グループ通話の取得がタイムアウトしました。",
|
||||||
"video": "ビデオ"
|
"Element Call Home": "Element Call ホーム",
|
||||||
},
|
"Download debug logs": "デバッグログをダウンロード",
|
||||||
"full_screen_view_h1": "<0>何かがうまく行きませんでした。</0>",
|
"Display name": "表示名",
|
||||||
"header_label": "Element Call ホーム",
|
"Developer": "開発者",
|
||||||
"join_existing_call_modal": {
|
"Details": "詳細",
|
||||||
"join_button": "はい、通話に参加",
|
"Full screen": "全画面表示",
|
||||||
"text": "この通話は既に存在します。参加しますか?",
|
"Exit full screen": "全画面表示を終了",
|
||||||
"title": "既存の通話に参加しますか?"
|
"Include debug logs": "デバッグログを含める",
|
||||||
},
|
"Home": "ホーム",
|
||||||
"layout_spotlight_label": "スポットライト",
|
"Incompatible versions!": "互換性のないバージョンです!",
|
||||||
"lobby": {
|
"Incompatible versions": "互換性のないバージョン",
|
||||||
"join_button": "通話に参加"
|
"Join existing call?": "既存の通話に参加しますか?",
|
||||||
},
|
"Join call now": "今すぐ通話に参加",
|
||||||
"logging_in": "ログインしています…",
|
"Join call": "通話に参加",
|
||||||
"login_auth_links": "<0>アカウントを作成</0>または<2>ゲストとしてアクセス</2>",
|
"Invite": "招待",
|
||||||
"login_title": "ログイン",
|
"Invite people": "連絡先を招待",
|
||||||
"rageshake_request_modal": {
|
"Not registered yet? <2>Create an account</2>": "アカウントがありませんか? <2>アカウントを作成</2>",
|
||||||
"title": "デバッグログを要求"
|
"Mute microphone": "マイクをミュート",
|
||||||
},
|
"Microphone permissions needed to join the call.": "通話の参加にはマイクの許可が必要です。",
|
||||||
"rageshake_send_logs": "デバッグログを送信",
|
"Microphone": "マイク",
|
||||||
"rageshake_sending": "送信しています…",
|
"Login": "ログイン",
|
||||||
"rageshake_sending_logs": "デバッグログを送信しています…",
|
"Logging in…": "ログインしています…",
|
||||||
"register": {
|
"Loading…": "読み込んでいます…",
|
||||||
"passwords_must_match": "パスワードが一致する必要があります",
|
"Leave": "退出",
|
||||||
"registering": "登録しています…"
|
"Version: {{version}}": "バージョン:{{version}}",
|
||||||
},
|
"Username": "ユーザー名",
|
||||||
"register_auth_links": "<0>既にアカウントをお持ちですか?</0><1><0>ログイン</0>または<2>ゲストとしてアクセス</2></1>",
|
"User menu": "ユーザーメニュー",
|
||||||
"register_confirm_password_label": "パスワードを確認",
|
"Unmute microphone": "マイクのミュートを解除",
|
||||||
"return_home_button": "ホーム画面に戻る",
|
"Turn on camera": "カメラをつける",
|
||||||
"room_auth_view_join_button": "今すぐ通話に参加",
|
"Turn off camera": "カメラを切る",
|
||||||
"screenshare_button_label": "画面共有",
|
"Submit feedback": "フィードバックを送信",
|
||||||
"select_input_unset_button": "オプションを選択",
|
"Stop sharing screen": "画面共有を停止",
|
||||||
"settings": {
|
"Spotlight": "スポットライト",
|
||||||
"developer_tab_title": "開発者",
|
"Send debug logs": "デバッグログを送信",
|
||||||
"feedback_tab_h4": "フィードバックを送信",
|
"Sign out": "サインアウト",
|
||||||
"feedback_tab_send_logs_label": "デバッグログを含める",
|
"Sign in": "サインイン",
|
||||||
"speaker_device_selection_label": "スピーカー"
|
"Share screen": "画面共有",
|
||||||
},
|
"Settings": "設定",
|
||||||
"unauthenticated_view_body": "アカウントがありませんか? <2>アカウントを作成</2>",
|
"Sending…": "送信しています…",
|
||||||
"unauthenticated_view_login_button": "アカウントにログイン",
|
"Sending debug logs…": "デバッグログを送信しています…",
|
||||||
"version": "バージョン:{{version}}",
|
"Return to home screen": "ホーム画面に戻る",
|
||||||
"waiting_for_participants": "他の参加者を待機しています…"
|
"Registering…": "登録しています…",
|
||||||
|
"Register": "登録",
|
||||||
|
"Profile": "プロフィール",
|
||||||
|
"Press and hold spacebar to talk": "スペースを長押しで会話",
|
||||||
|
"Passwords must match": "パスワードが一致する必要があります",
|
||||||
|
"Password": "パスワード",
|
||||||
|
"Speaker": "スピーカー",
|
||||||
|
"Video call name": "ビデオ通話の名称",
|
||||||
|
"Video call": "ビデオ通話",
|
||||||
|
"Video": "ビデオ",
|
||||||
|
"Waiting for other participants…": "他の参加者を待機しています…",
|
||||||
|
"Waiting for network": "ネットワークを待機しています",
|
||||||
|
"Walkie-talkie call name": "トランシーバー通話の名称",
|
||||||
|
"Walkie-talkie call": "トランシーバー通話",
|
||||||
|
"Camera {{n}}": "カメラ {{n}}",
|
||||||
|
"{{name}} is talking…": "{{name}}が話しています…",
|
||||||
|
"Yes, join call": "はい、通話に参加",
|
||||||
|
"Spatial audio": "空間オーディオ",
|
||||||
|
"Select an option": "オプションを選択",
|
||||||
|
"Debug log request": "デバッグログを要求",
|
||||||
|
"Your recent calls": "最近の通話",
|
||||||
|
"You can't talk at the same time": "同時に会話することはできません",
|
||||||
|
"WebRTC is not supported or is being blocked in this browser.": "お使いのブラウザでWebRTCがサポートされていないか、またはブロックされています。",
|
||||||
|
"Login to your account": "アカウントにログイン",
|
||||||
|
"Freedom": "自由",
|
||||||
|
"Talking…": "話しています…",
|
||||||
|
"Remove": "削除",
|
||||||
|
"No": "いいえ",
|
||||||
|
"This feature is only supported on Firefox.": "この機能はFirefoxでのみサポートされています。",
|
||||||
|
"This call already exists, would you like to join?": "この通話は既に存在します。参加しますか?",
|
||||||
|
"Take me Home": "ホームに戻る",
|
||||||
|
"Press and hold to talk": "押し続けて会話",
|
||||||
|
"{{name}} is presenting": "{{name}}が画面を共有しています",
|
||||||
|
"{{names}}, {{name}}": "{{names}}、{{name}}"
|
||||||
}
|
}
|
||||||
|
|||||||
10
public/locales/ko/app.json
Normal file
10
public/locales/ko/app.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"<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>": "",
|
||||||
|
"{{count}} people connected|one": "{{count}}명 연결됨",
|
||||||
|
"{{count}} people connected|other": "{{count}}명 연결됨",
|
||||||
|
"{{names}}, {{name}}": "{{names}}님, {{name}}님",
|
||||||
|
"{{name}} is presenting": "{{name}}님이 발표 중",
|
||||||
|
"{{name}} is talking…": "{{name}}님이 말하는 중…",
|
||||||
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - 워키토키 전화"
|
||||||
|
}
|
||||||
@@ -1,104 +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 <6>sīkdatņu nosacījumos</6>.",
|
|
||||||
"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.",
|
|
||||||
"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>",
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
"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}}",
|
|
||||||
"waiting_for_participants": "Gaida citus dalībniekus…"
|
|
||||||
}
|
|
||||||
@@ -1,136 +1,146 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Login": "Zaloguj się",
|
||||||
"user_menu": "Menu użytkownika"
|
"Go": "Przejdź",
|
||||||
},
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Klikając \"Kontynuuj\", wyrażasz zgodę na nasze <2>Zasady i warunki</2>",
|
||||||
"action": {
|
"{{count}} people connected|other": "{{count}} osób połączonych",
|
||||||
"close": "Zamknij",
|
"Your recent calls": "Twoje ostatnie połączenia",
|
||||||
"copy": "Kopiuj",
|
"You can't talk at the same time": "Nie możesz mówić w tym samym czasie",
|
||||||
"copy_link": "Kopiuj link",
|
"Yes, join call": "Tak, dołącz do połączenia",
|
||||||
"go": "Przejdź",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC jest niewspierane lub zablokowane w tej przeglądarce.",
|
||||||
"invite": "Zaproś",
|
"Walkie-talkie call name": "Nazwa połączenia walkie-talkie",
|
||||||
"no": "Nie",
|
"Walkie-talkie call": "Połączenie walkie-talkie",
|
||||||
"register": "Zarejestruj",
|
"Waiting for other participants…": "Oczekiwanie na pozostałych uczestników…",
|
||||||
"remove": "Usuń",
|
"Waiting for network": "Oczekiwanie na sieć",
|
||||||
"sign_in": "Zaloguj się",
|
"Video call name": "Nazwa połączenia wideo",
|
||||||
"sign_out": "Wyloguj się",
|
"Video call": "Połączenie wideo",
|
||||||
"submit": "Wyślij"
|
"Video": "Wideo",
|
||||||
},
|
"Version: {{version}}": "Wersja: {{version}}",
|
||||||
"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 <6>Polityce ciasteczek</6>.",
|
"Username": "Nazwa użytkownika",
|
||||||
"app_selection_modal": {
|
"User menu": "Menu użytkownika",
|
||||||
"continue_in_browser": "Kontynuuj w przeglądarce",
|
"Unmute microphone": "Wyłącz wyciszenie mikrofonu",
|
||||||
"open_in_app": "Otwórz w aplikacji",
|
"Turn on camera": "Włącz kamerę",
|
||||||
"text": "Gotowy, by dołączyć?",
|
"Turn off camera": "Wyłącz kamerę",
|
||||||
"title": "Wybierz aplikację"
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Sprawi to, że dźwięk mówcy będzie zdawał się dochodzić z jego miejsca na ekranie. (Funkcja eksperymentalna: może mieć wpływ na stabilność dźwięku.)",
|
||||||
},
|
"This call already exists, would you like to join?": "Te połączenie już istnieje, czy chcesz do niego dołączyć?",
|
||||||
"browser_media_e2ee_unsupported": "Twoja przeglądarka nie wspiera szyfrowania end-to-end. Wspierane przeglądarki to Chrome, Safari, Firefox >=117",
|
"Thanks! We'll get right on it.": "Dziękujemy! Zaraz się tym zajmiemy.",
|
||||||
"call_ended_view": {
|
"Talking…": "Mówienie…",
|
||||||
"body": "Rozłączono Cię z połączenia",
|
"Take me Home": "Zabierz mnie do strony głównej",
|
||||||
"create_account_button": "Utwórz konto",
|
"Submit feedback": "Prześlij opinię",
|
||||||
"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>",
|
"Stop sharing screen": "Zatrzymaj udostępnianie ekranu",
|
||||||
"feedback_done": "<0>Dziękujemy za Twoją opinię!</0>",
|
"Spotlight": "Centrum uwagi",
|
||||||
"feedback_prompt": "<0>Z przyjemnością wysłuchamy Twojej opinii, aby poprawić Twoje doświadczenia.</0>",
|
"Speaker {{n}}": "Głośnik {{n}}",
|
||||||
"headline": "{{displayName}}, Twoje połączenie zostało zakończone.",
|
"Speaker": "Głośnik",
|
||||||
"not_now_button": "Nie teraz, powróć do ekranu domowego",
|
"Spatial audio": "Dźwięk przestrzenny",
|
||||||
"reconnect_button": "Połącz ponownie",
|
"Sign out": "Wyloguj się",
|
||||||
"survey_prompt": "Jak poszło?"
|
"Sign in": "Zaloguj się",
|
||||||
},
|
"Show call inspector": "Pokaż inspektora połączenia",
|
||||||
"call_name": "Nazwa połączenia",
|
"Share screen": "Udostępnij ekran",
|
||||||
"common": {
|
"Settings": "Ustawienia",
|
||||||
"audio": "Dźwięk",
|
"Sending…": "Wysyłanie…",
|
||||||
"avatar": "Awatar",
|
"Sending debug logs…": "Wysyłanie dzienników debugowania…",
|
||||||
"camera": "Kamera",
|
"Send debug logs": "Wyślij dzienniki debugowania",
|
||||||
"copied": "Skopiowano!",
|
"Select an option": "Wybierz opcję",
|
||||||
"display_name": "Nazwa wyświetlana",
|
"Return to home screen": "Powróć do strony głównej",
|
||||||
"encrypted": "Szyfrowane",
|
"Remove": "Usuń",
|
||||||
"home": "Strona domowa",
|
"Release to stop": "Puść przycisk, aby zatrzymać",
|
||||||
"loading": "Ładowanie…",
|
"Release spacebar key to stop": "Puść spację, aby zatrzymać",
|
||||||
"microphone": "Mikrofon",
|
"Registering…": "Rejestrowanie…",
|
||||||
"password": "Hasło",
|
"Register": "Zarejestruj",
|
||||||
"profile": "Profil",
|
"Recaptcha not loaded": "Recaptcha nie została załadowana",
|
||||||
"settings": "Ustawienia",
|
"Recaptcha dismissed": "Recaptcha odrzucona",
|
||||||
"unencrypted": "Nie szyfrowane",
|
"Profile": "Profil",
|
||||||
"username": "Nazwa użytkownika",
|
"Press and hold to talk over {{name}}": "Przytrzymaj, aby mówić wraz z {{name}}",
|
||||||
"video": "Wideo"
|
"Press and hold to talk": "Przytrzymaj, aby mówić",
|
||||||
},
|
"Press and hold spacebar to talk over {{name}}": "Przytrzymaj spację, aby mówić wraz z {{name}}",
|
||||||
"disconnected_banner": "Utracono połączenie z serwerem.",
|
"Press and hold spacebar to talk": "Przytrzymaj spację, aby mówić",
|
||||||
"full_screen_view_description": "<0>Wysłanie dzienników debuggowania pomoże nam ustalić przyczynę problemu.</0>",
|
"Passwords must match": "Hasła muszą pasować",
|
||||||
"full_screen_view_h1": "<0>Ojej, coś poszło nie tak.</0>",
|
"Password": "Hasło",
|
||||||
"hangup_button_label": "Zakończ połączenie",
|
"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>",
|
||||||
"header_label": "Strona główna Element Call",
|
"Not registered yet? <2>Create an account</2>": "Nie masz konta? <2>Utwórz je</2>",
|
||||||
"header_participants_label": "Uczestnicy",
|
"Not now, return to home screen": "Nie teraz, powróć do ekranu domowego",
|
||||||
"invite_modal": {
|
"No": "Nie",
|
||||||
"link_copied_toast": "Skopiowano link do schowka",
|
"Mute microphone": "Wycisz mikrofon",
|
||||||
"title": "Zaproś do połączenia"
|
"More": "Więcej",
|
||||||
},
|
"Microphone permissions needed to join the call.": "Aby dołączyć do połączenia, potrzebne są uprawnienia do mikrofonu.",
|
||||||
"join_existing_call_modal": {
|
"Microphone {{n}}": "Mikrofon {{n}}",
|
||||||
"join_button": "Tak, dołącz do połączenia",
|
"Microphone": "Mikrofon",
|
||||||
"text": "Te połączenie już istnieje, czy chcesz do niego dołączyć?",
|
"Login to your account": "Zaloguj się do swojego konta",
|
||||||
"title": "Dołączyć do istniejącego połączenia?"
|
"Logging in…": "Logowanie…",
|
||||||
},
|
"Local volume": "Głośność lokalna",
|
||||||
"layout_grid_label": "Siatka",
|
"Loading…": "Ładowanie…",
|
||||||
"layout_spotlight_label": "Centrum uwagi",
|
"Leave": "Opuść",
|
||||||
"lobby": {
|
"Join existing call?": "Dołączyć do istniejącego połączenia?",
|
||||||
"join_button": "Dołącz do połączenia",
|
"Join call now": "Dołącz do połączenia teraz",
|
||||||
"leave_button": "Wróć do ostatnie"
|
"Join call": "Dołącz do połączenia",
|
||||||
},
|
"Invite people": "Zaproś ludzi",
|
||||||
"logging_in": "Logowanie…",
|
"Invite": "Zaproś",
|
||||||
"login_auth_links": "<0>Utwórz konto</0> lub <2>Dołącz jako gość</2>",
|
"Inspector": "Inspektor",
|
||||||
"login_title": "Zaloguj się",
|
"Incompatible versions!": "Niekompatybilne wersje!",
|
||||||
"microphone_off": "Mikrofon wyłączony",
|
"Incompatible versions": "Niekompatybilne wersje",
|
||||||
"microphone_on": "Mikrofon włączony",
|
"Include debug logs": "Dołącz dzienniki debugowania",
|
||||||
"mute_microphone_button_label": "Wycisz mikrofon",
|
"Home": "Strona domowa",
|
||||||
"rageshake_button_error_caption": "Wyślij logi ponownie",
|
"Grid layout menu": "Menu układu siatki",
|
||||||
"rageshake_request_modal": {
|
"Full screen": "Pełny ekran",
|
||||||
"body": "Inny użytkownik w tym połączeniu napotkał problem. Aby lepiej zdiagnozować tę usterkę, chcielibyśmy zebrać dzienniki debugowania.",
|
"Freedom": "Wolność",
|
||||||
"title": "Prośba o dzienniki debugowania"
|
"Fetching group call timed out.": "Przekroczono limit czasu na uzyskanie połączenia grupowego.",
|
||||||
},
|
"Exit full screen": "Opuść pełny ekran",
|
||||||
"rageshake_send_logs": "Wyślij dzienniki debugowania",
|
"Download debug logs": "Pobierz dzienniki debugowania",
|
||||||
"rageshake_sending": "Wysyłanie…",
|
"Display name": "Nazwa wyświetlana",
|
||||||
"rageshake_sending_logs": "Wysyłanie dzienników debugowania…",
|
"Developer": "Programista",
|
||||||
"rageshake_sent": "Dziękujemy!",
|
"Details": "Szczegóły",
|
||||||
"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>",
|
"Debug log request": "Prośba o dzienniki debugowania",
|
||||||
"recaptcha_dismissed": "Recaptcha odrzucona",
|
"Debug log": "Dzienniki debugowania",
|
||||||
"recaptcha_not_loaded": "Recaptcha nie została załadowana",
|
"Create account": "Utwórz konto",
|
||||||
"register": {
|
"Copy and share this call link": "Skopiuj i udostępnij link do rozmowy",
|
||||||
"passwords_must_match": "Hasła muszą pasować",
|
"Copied!": "Skopiowano!",
|
||||||
"registering": "Rejestrowanie…"
|
"Connection lost": "Połączenie utracone",
|
||||||
},
|
"Confirm password": "Potwierdź hasło",
|
||||||
"register_auth_links": "<0>Masz już konto?</0><1><0>Zaloguj się</0> lub <2>Dołącz jako gość</2></1>",
|
"Close": "Zamknij",
|
||||||
"register_confirm_password_label": "Potwierdź hasło",
|
"Change layout": "Zmień układ",
|
||||||
"return_home_button": "Powróć do strony głównej",
|
"Camera/microphone permissions needed to join the call.": "Wymagane są uprawnienia do kamery/mikrofonu, aby dołączyć do rozmowy.",
|
||||||
"room_auth_view_eula_caption": "Klikając \"Dołącz teraz do rozmowy\", zgadzasz się na naszą <2>Umowę licencyjną (EULA)</2>",
|
"Camera {{n}}": "Kamera {{n}}",
|
||||||
"room_auth_view_join_button": "Dołącz do połączenia teraz",
|
"Camera": "Kamera",
|
||||||
"screenshare_button_label": "Udostępnij ekran",
|
"Call type menu": "Menu typu połączenia",
|
||||||
"select_input_unset_button": "Wybierz opcję",
|
"Call link copied": "Skopiowano link do połączenia",
|
||||||
"settings": {
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Klikając \"Dołącz do rozmowy\", wyrażasz zgodę na nasze <2>Zasady i warunki</2>",
|
||||||
"developer_settings_label": "Opcje programisty",
|
"Avatar": "Awatar",
|
||||||
"developer_settings_label_description": "Wyświetl opcje programisty w oknie ustawień.",
|
"Audio": "Dźwięk",
|
||||||
"developer_tab_title": "Programista",
|
"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.",
|
||||||
"feedback_tab_body": "Jeśli posiadasz problemy lub chciałbyś zgłosić swoją opinię, wyślij nam krótki opis.",
|
"Accept microphone permissions to join the call.": "Akceptuj uprawnienia mikrofonu, aby dołączyć do połączenia.",
|
||||||
"feedback_tab_description_label": "Twoje opinie",
|
"Accept camera/microphone permissions to join the call.": "Akceptuj uprawnienia kamery/mikrofonu, aby dołączyć do połączenia.",
|
||||||
"feedback_tab_h4": "Prześlij opinię",
|
"<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>",
|
||||||
"feedback_tab_send_logs_label": "Dołącz 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>",
|
||||||
"feedback_tab_thank_you": "Dziękujemy, otrzymaliśmy Twoją opinię!",
|
"<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>",
|
||||||
"feedback_tab_title": "Opinia użytkownika",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - połączenie walkie-talkie",
|
||||||
"more_tab_title": "Więcej",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"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.",
|
"{{name}} is talking…": "{{name}} mówi…",
|
||||||
"show_connection_stats_label": "Pokaż statystyki połączenia",
|
"{{name}} is presenting": "{{name}} prezentuje",
|
||||||
"speaker_device_selection_label": "Głośnik"
|
"{{count}} people connected|one": "{{count}} osoba połączona",
|
||||||
},
|
"This feature is only supported on Firefox.": "Ta funkcjonalność jest dostępna tylko w Firefox.",
|
||||||
"star_rating_input_label_one": "{{count}} gwiazdki",
|
"Copy": "Kopiuj",
|
||||||
"star_rating_input_label_other": "{{count}} gwiazdki",
|
"<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>",
|
||||||
"start_new_call": "Rozpocznij nowe połączenie",
|
"<0>Oops, something's gone wrong.</0>": "<0>Ojej, coś poszło nie tak.</0>",
|
||||||
"start_video_button_label": "Rozpocznij wideo",
|
"<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>",
|
||||||
"stop_screenshare_button_label": "Udostępnianie ekranu",
|
"{{name}} (Waiting for video...)": "{{name}} (Oczekiwanie na wideo...)",
|
||||||
"stop_video_button_label": "Zakończ wideo",
|
"{{name}} (Connecting...)": "{{name}} (Łączenie...)",
|
||||||
"submitting": "Wysyłanie…",
|
"Expose developer settings in the settings window.": "Wyświetl opcje programisty w oknie ustawień.",
|
||||||
"unauthenticated_view_body": "Nie masz konta? <2>Utwórz je</2>",
|
"Element Call Home": "Strona główna Element Call",
|
||||||
"unauthenticated_view_eula_caption": "Klikając \"Przejdź\", zgadzasz się na naszą <2>Umowę licencyjną (EULA)</2>",
|
"Developer Settings": "Opcje programisty",
|
||||||
"unauthenticated_view_login_button": "Zaloguj się do swojego konta",
|
"Talk over speaker": "Rozmowa przez głośnik",
|
||||||
"unmute_microphone_button_label": "Odcisz mikrofon",
|
"Use the upcoming grid system": "Użyj nadchodzącego systemu siatek",
|
||||||
"version": "Wersja: {{version}}",
|
"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>Terms and conditions</12>": "Ta strona jest chroniona przez ReCAPTCHA, więc obowiązują na niej <2>Polityka prywatności</2> i <6>Warunki świadczenia usług</6> Google.<9></9>Klikając \"Zarejestruj się\", zgadzasz się na nasze <12>Warunki świadczenia usług</12>",
|
||||||
"video_tile": {
|
"<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.",
|
||||||
"sfu_participant_local": "Ty"
|
"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.",
|
||||||
"waiting_for_participants": "Oczekiwanie na pozostałych uczestników…"
|
"Thanks, we received your feedback!": "Dziękujemy, otrzymaliśmy Twoją opinię!",
|
||||||
|
"Feedback": "Opinia użytkownika",
|
||||||
|
"Submitting…": "Wysyłanie…",
|
||||||
|
"Submit": "Wyślij",
|
||||||
|
"Your feedback": "Twoje opinie",
|
||||||
|
"{{count}} stars|other": "{{count}} gwiazdki",
|
||||||
|
"{{count}} stars|one": "{{count}} gwiazdka",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, Twoje połączenie zostało zakończone.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Dziękujemy za Twoją opinię!</0>",
|
||||||
|
"<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>",
|
||||||
|
"How did it go?": "Jak poszło?"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,97 +1,134 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Register": "Зарегистрироваться",
|
||||||
"user_menu": "Меню пользователя"
|
"Registering…": "Регистрация…",
|
||||||
},
|
"Logging in…": "Вход…",
|
||||||
"action": {
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"close": "Закрыть",
|
"Waiting for other participants…": "Ожидание других участников…",
|
||||||
"copy": "Копировать",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Эта функция балансирует звук к расположению плитки на экране. (Экспериментальная функция: может повлиять на стабильность аудио.)",
|
||||||
"go": "Далее",
|
"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>Terms and conditions</12>": "Этот сайт защищён ReCAPTCHA от Google, ознакомьтесь с их <2>Политикой конфиденциальности</2> и <6>Пользовательским соглашением</6>.<9></9>Нажимая \"Зарегистрироваться\", вы также принимаете наши <12>Положения и условия</12>.",
|
||||||
"no": "Нет",
|
"This call already exists, would you like to join?": "Этот звонок уже существует, хотите присоединиться?",
|
||||||
"register": "Зарегистрироваться",
|
"Thanks! We'll get right on it.": "Спасибо! Мы учтём ваш отзыв.",
|
||||||
"remove": "Удалить",
|
"Talking…": "Говорите…",
|
||||||
"sign_in": "Войти",
|
"Submit feedback": "Отправить отзыв",
|
||||||
"sign_out": "Выйти",
|
"Sending debug logs…": "Отправка журнала отладки…",
|
||||||
"submit": "Отправить"
|
"Select an option": "Выберите вариант",
|
||||||
},
|
"Release to stop": "Отпустите, чтобы прекратить вещание",
|
||||||
"analytics_notice": "Участвуя в этой бета-версии, вы соглашаетесь на сбор анонимных данных, которые мы используем для улучшения продукта. Более подробную информацию о том, какие данные мы отслеживаем, вы можете найти в нашей <2> Политике конфиденциальности</2> и нашей <6> Политике использования файлов cookie</6>.",
|
"Release spacebar key to stop": "Чтобы прекратить вещание, отпустите [Пробел]",
|
||||||
"call_ended_view": {
|
"Press and hold to talk over {{name}}": "Зажмите, чтобы говорить поверх участника {{name}}",
|
||||||
"create_account_button": "Создать аккаунт",
|
"Press and hold spacebar to talk over {{name}}": "Чтобы говорить поверх участника {{name}}, нажмите и удерживайте [Пробел]",
|
||||||
"create_account_prompt": "<0>Почему бы не задать пароль, тем самым сохранив аккаунт?</0><1>Так вы можете оставить своё имя и задать аватар для будущих звонков.</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>": "Другие пользователи пытаются присоединиться с неподдерживаемых версий программы. Этим участникам надо перезагрузить браузер: <1>{userLis}</1>",
|
||||||
"feedback_done": "<0>Спасибо за обратную связь!</0>",
|
"Grid layout menu": "Меню \"Расположение сеткой\"",
|
||||||
"feedback_prompt": "<0>Мы будем рады видеть ваши отзывы, чтобы мы могли улучшить ваш опыт.</0>",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Нажимая \"Присоединиться сейчас\", вы соглашаетесь с нашими <2>положениями и условиями</2>",
|
||||||
"headline": "{{displayName}}, ваш звонок окончен.",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Нажимая \"Далее\", вы соглашаетесь с нашими <2>положениями и условиями</2>",
|
||||||
"not_now_button": "Не сейчас, вернуться в Начало",
|
"<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>",
|
||||||
"survey_prompt": "Как всё прошло?"
|
"<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>",
|
||||||
"common": {
|
"Your recent calls": "Ваши недавние звонки",
|
||||||
"audio": "Аудио",
|
"You can't talk at the same time": "Вы не можете говорить одновременно",
|
||||||
"avatar": "Аватар",
|
"Yes, join call": "Да, присоединиться",
|
||||||
"camera": "Камера",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC не поддерживается или заблокирован в этом браузере.",
|
||||||
"copied": "Скопировано!",
|
"Walkie-talkie call name": "Название звонка-рации",
|
||||||
"display_name": "Видимое имя",
|
"Walkie-talkie call": "Звонок-рация",
|
||||||
"home": "Начало",
|
"Waiting for network": "Ожидание сети",
|
||||||
"loading": "Загрузка…",
|
"Video call name": "Название видео-звонка",
|
||||||
"microphone": "Микрофон",
|
"Video call": "Видео-звонок",
|
||||||
"password": "Пароль",
|
"Video": "Видео",
|
||||||
"profile": "Профиль",
|
"Version: {{version}}": "Версия: {{version}}",
|
||||||
"settings": "Настройки",
|
"Username": "Имя пользователя",
|
||||||
"username": "Имя пользователя",
|
"User menu": "Меню пользователя",
|
||||||
"video": "Видео"
|
"Unmute microphone": "Включить микрофон",
|
||||||
},
|
"Turn on camera": "Включить камеру",
|
||||||
"full_screen_view_description": "<0>Отправка журналов поможет нам найти и устранить проблему.</0>",
|
"Turn off camera": "Отключить камеру",
|
||||||
"full_screen_view_h1": "<0>Упс, что-то пошло не так.</0>",
|
"Talk over speaker": "Говорить через динамик",
|
||||||
"header_label": "Главная Element Call",
|
"Take me Home": "Перейти в Начало",
|
||||||
"join_existing_call_modal": {
|
"Stop sharing screen": "Остановить показ экрана",
|
||||||
"join_button": "Да, присоединиться",
|
"Spotlight": "Внимание",
|
||||||
"text": "Этот звонок уже существует, хотите присоединиться?",
|
"Speaker {{n}}": "Динамик {{n}}",
|
||||||
"title": "Присоединиться к существующему звонку?"
|
"Speaker": "Динамик",
|
||||||
},
|
"Spatial audio": "Пространственное аудио",
|
||||||
"layout_spotlight_label": "Внимание",
|
"Sign out": "Выйти",
|
||||||
"lobby": {
|
"Sign in": "Войти",
|
||||||
"join_button": "Присоединиться"
|
"Show call inspector": "Показать инспектор",
|
||||||
},
|
"Share screen": "Поделиться экраном",
|
||||||
"logging_in": "Вход…",
|
"Settings": "Настройки",
|
||||||
"login_auth_links": "<0>Создать аккаунт</0> или <2>Зайти как гость</2>",
|
"Sending…": "Отправка…",
|
||||||
"login_title": "Вход",
|
"Local volume": "Местная громкость",
|
||||||
"rageshake_request_modal": {
|
"Call type menu": "Меню \"Тип звонка\"",
|
||||||
"body": "У одного из участников звонка есть неполадки. Чтобы лучше диагностировать похожие проблемы, нам нужен журнал отладки.",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Звонок-рация",
|
||||||
"title": "Запрос журнала отладки"
|
"Include debug logs": "Приложить журнал отладки",
|
||||||
},
|
"Download debug logs": "Скачать журнал отладки",
|
||||||
"rageshake_send_logs": "Отправить журнал отладки",
|
"Debug log request": "Запрос журнала отладки",
|
||||||
"rageshake_sending": "Отправка…",
|
"Debug log": "Журнал отладки",
|
||||||
"rageshake_sending_logs": "Отправка журнала отладки…",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "У одного из участников звонка есть неполадки. Чтобы лучше диагностировать похожие проблемы, нам нужен журнал отладки.",
|
||||||
"recaptcha_dismissed": "Проверка не пройдена",
|
"Send debug logs": "Отправить журнал отладки",
|
||||||
"recaptcha_not_loaded": "Невозможно начать проверку",
|
"Return to home screen": "Вернуться в Начало",
|
||||||
"register": {
|
"Remove": "Удалить",
|
||||||
"passwords_must_match": "Пароли должны совпадать",
|
"Recaptcha not loaded": "Невозможно начать проверку",
|
||||||
"registering": "Регистрация…"
|
"Recaptcha dismissed": "Проверка не пройдена",
|
||||||
},
|
"Profile": "Профиль",
|
||||||
"register_auth_links": "<0>Уже есть аккаунт?</0><1><0>Войти с ним</0> или <2>Зайти как гость</2></1>",
|
"Press and hold to talk": "Зажмите, чтобы говорить",
|
||||||
"register_confirm_password_label": "Подтвердите пароль",
|
"Press and hold spacebar to talk": "Чтобы говорить, нажмите и удерживайте [Пробел]",
|
||||||
"return_home_button": "Вернуться в Начало",
|
"Passwords must match": "Пароли должны совпадать",
|
||||||
"room_auth_view_join_button": "Присоединиться сейчас",
|
"Password": "Пароль",
|
||||||
"screenshare_button_label": "Поделиться экраном",
|
"Not registered yet? <2>Create an account</2>": "Ещё не зарегистрированы? <2>Создайте аккаунт</2>",
|
||||||
"select_input_unset_button": "Выберите вариант",
|
"Not now, return to home screen": "Не сейчас, вернуться в Начало",
|
||||||
"settings": {
|
"No": "Нет",
|
||||||
"developer_settings_label": "Настройки Разработчика",
|
"Mute microphone": "Отключить микрофон",
|
||||||
"developer_settings_label_description": "Раскрыть настройки разработчика в окне настроек.",
|
"More": "Больше",
|
||||||
"developer_tab_title": "Разработчику",
|
"Microphone permissions needed to join the call.": "Нужно разрешение на доступ к микрофону для присоединения к звонку.",
|
||||||
"feedback_tab_body": "Если у вас возникли проблемы или вы просто хотите оставить отзыв, отправьте нам краткое описание ниже.",
|
"Microphone {{n}}": "Микрофон {{n}}",
|
||||||
"feedback_tab_description_label": "Ваш отзыв",
|
"Microphone": "Микрофон",
|
||||||
"feedback_tab_h4": "Отправить отзыв",
|
"Login to your account": "Войдите в свой аккаунт",
|
||||||
"feedback_tab_send_logs_label": "Приложить журнал отладки",
|
"Login": "Вход",
|
||||||
"feedback_tab_thank_you": "Спасибо. Мы получили ваш отзыв!",
|
"Loading…": "Загрузка…",
|
||||||
"feedback_tab_title": "Отзыв",
|
"Leave": "Покинуть",
|
||||||
"more_tab_title": "Больше",
|
"Join existing call?": "Присоединиться к существующему звонку?",
|
||||||
"opt_in_description": "<0></0><1></1>Вы можете отозвать согласие, сняв этот флажок. Если вы в данный момент находитесь в разговоре, эта настройка вступит в силу по окончании разговора.",
|
"Join call now": "Присоединиться сейчас",
|
||||||
"show_connection_stats_label": "Показать статистику соединения",
|
"Join call": "Присоединиться",
|
||||||
"speaker_device_selection_label": "Динамик"
|
"Invite people": "Пригласить участников",
|
||||||
},
|
"Invite": "Пригласить",
|
||||||
"star_rating_input_label_one": "{{count}} отмечен",
|
"Inspector": "Инспектор",
|
||||||
"star_rating_input_label_other": "{{count}} отмеченных",
|
"Incompatible versions!": "Несовместимые версии!",
|
||||||
"submitting": "Отправляем…",
|
"Incompatible versions": "Несовместимые версии",
|
||||||
"unauthenticated_view_body": "Ещё не зарегистрированы? <2>Создайте аккаунт</2>",
|
"Home": "Начало",
|
||||||
"unauthenticated_view_login_button": "Войдите в свой аккаунт",
|
"Go": "Далее",
|
||||||
"version": "Версия: {{version}}",
|
"Full screen": "Полноэкранный режим",
|
||||||
"waiting_for_participants": "Ожидание других участников…"
|
"Freedom": "Свобода",
|
||||||
|
"Fetching group call timed out.": "Истекло время ожидания для группового звонка.",
|
||||||
|
"Exit full screen": "Выйти из полноэкранного режима",
|
||||||
|
"Display name": "Видимое имя",
|
||||||
|
"Developer": "Разработчику",
|
||||||
|
"Details": "Подробности",
|
||||||
|
"Create account": "Создать аккаунт",
|
||||||
|
"Copy and share this call link": "Скопируйте и поделитесь этой ссылкой на звонок",
|
||||||
|
"Copied!": "Скопировано!",
|
||||||
|
"Connection lost": "Соединение потеряно",
|
||||||
|
"Confirm password": "Подтвердите пароль",
|
||||||
|
"Close": "Закрыть",
|
||||||
|
"Change layout": "Изменить расположение",
|
||||||
|
"Camera/microphone permissions needed to join the call.": "Нужны разрешения на доступ к камере/микрофону для присоединения к звонку.",
|
||||||
|
"Camera {{n}}": "Камера {{n}}",
|
||||||
|
"Camera": "Камера",
|
||||||
|
"Call link copied": "Ссылка на звонок скопирована",
|
||||||
|
"Avatar": "Аватар",
|
||||||
|
"Audio": "Аудио",
|
||||||
|
"Accept microphone permissions to join the call.": "Для присоединения к звонку разрешите доступ к микрофону.",
|
||||||
|
"Accept camera/microphone permissions to join the call.": "Для присоединения к звонку разрешите доступ к камере/микрофону.",
|
||||||
|
"{{name}} is talking…": "{{name}} говорит…",
|
||||||
|
"{{name}} is presenting": "{{name}} показывает",
|
||||||
|
"{{count}} people connected|other": "{{count}} подключилось",
|
||||||
|
"{{count}} people connected|one": "{{count}} подключился",
|
||||||
|
"Element Call Home": "Главная Element Call",
|
||||||
|
"Copy": "Копировать",
|
||||||
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Присоединиться сейчас к звонку</0><1>или<1><2>Скопировать ссылку на звонок и присоединиться позже</2>",
|
||||||
|
"{{name}} (Connecting...)": "{{name}} (Соединение...)",
|
||||||
|
"This feature is only supported on Firefox.": "Эта возможность доступна только в Firefox.",
|
||||||
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Отправка журналов поможет нам найти и устранить проблему.</0>",
|
||||||
|
"<0>Oops, something's gone wrong.</0>": "<0>Упс, что-то пошло не так.</0>",
|
||||||
|
"{{name}} (Waiting for video...)": "{{name}} (Ожидание видео...)",
|
||||||
|
"Use the upcoming grid system": "Использовать сеточный показ",
|
||||||
|
"Expose developer settings in the settings window.": "Раскрыть настройки разработчика в окне настроек.",
|
||||||
|
"Developer Settings": "Настройки Разработчика",
|
||||||
|
"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>Вы можете отозвать согласие, сняв этот флажок. Если вы в данный момент находитесь в разговоре, эта настройка вступит в силу по окончании разговора."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,134 +1,146 @@
|
|||||||
{
|
{
|
||||||
"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ť",
|
"You can't talk at the same time": "Nemôžete hovoriť naraz",
|
||||||
"copy_link": "Kopírovať odkaz",
|
"Waiting for other participants…": "Čaká sa na ďalších účastníkov…",
|
||||||
"go": "Prejsť",
|
"Waiting for network": "Čakanie na sieť",
|
||||||
"invite": "Pozvať",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Zvuk reproduktora tak bude vyzerať, akoby vychádzal z miesta, kde je na obrazovke umiestnená jeho ikona. (Experimentálna funkcia: môže to mať vplyv na stabilitu zvuku.)",
|
||||||
"no": "Nie",
|
"Thanks! We'll get right on it.": "Vďaka! Hneď sa do toho pustíme.",
|
||||||
"register": "Registrovať sa",
|
"Talking…": "Rozprávanie…",
|
||||||
"remove": "Odstrániť",
|
"Talk over speaker": "Hovor cez reproduktor",
|
||||||
"sign_in": "Prihlásiť sa",
|
"Take me Home": "Zober ma domov",
|
||||||
"sign_out": "Odhlásiť sa",
|
"Submit feedback": "Odoslať spätnú väzbu",
|
||||||
"submit": "Odoslať"
|
"Stop sharing screen": "Zastaviť zdieľanie obrazovky",
|
||||||
},
|
"Show call inspector": "Zobraziť inšpektora hovorov",
|
||||||
"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 <6>Zásadách používania súborov cookie</6>.",
|
"Share screen": "Zdieľať obrazovku",
|
||||||
"app_selection_modal": {
|
"Sending…": "Odosielanie…",
|
||||||
"continue_in_browser": "Pokračovať v prehliadači",
|
"Sending debug logs…": "Odosielanie záznamov o ladení…",
|
||||||
"open_in_app": "Otvoriť v aplikácii",
|
"Send debug logs": "Odoslať záznamy o ladení",
|
||||||
"text": "Ste pripravení sa pridať?",
|
"Select an option": "Vyberte možnosť",
|
||||||
"title": "Vybrať aplikáciu"
|
"Return to home screen": "Návrat na domovskú obrazovku",
|
||||||
},
|
"Remove": "Odstrániť",
|
||||||
"browser_media_e2ee_unsupported": "Váš webový prehliadač nepodporuje end-to-end šifrovanie médií. Podporované prehliadače sú Chrome, Safari, Firefox >=117",
|
"Release spacebar key to stop": "Pustite medzerník pre ukončenie",
|
||||||
"call_ended_view": {
|
"Release to stop": "Pustite pre ukončenie",
|
||||||
"body": "Boli ste odpojení z hovoru",
|
"Registering…": "Registrácia…",
|
||||||
"create_account_button": "Vytvoriť účet",
|
"Register": "Registrovať sa",
|
||||||
"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>",
|
"Recaptcha not loaded": "Recaptcha sa nenačítala",
|
||||||
"feedback_done": "<0> Ďakujeme za vašu spätnú väzbu!</0>",
|
"Recaptcha dismissed": "Recaptcha zamietnutá",
|
||||||
"feedback_prompt": "<0> Radi si vypočujeme vašu spätnú väzbu, aby sme mohli zlepšiť vaše skúsenosti.</0>",
|
"Profile": "Profil",
|
||||||
"headline": "{{displayName}}, váš hovor skončil.",
|
"Press and hold to talk over {{name}}": "Stlačte a podržte pre hovor cez {{name}}",
|
||||||
"not_now_button": "Teraz nie, vrátiť sa na domovskú obrazovku",
|
"Press and hold to talk": "Stlačte a podržte pre hovor",
|
||||||
"reconnect_button": "Znovu pripojiť",
|
"Press and hold spacebar to talk over {{name}}": "Stlačte a podržte medzerník, ak chcete hovoriť cez {{name}}",
|
||||||
"survey_prompt": "Ako to išlo?"
|
"Press and hold spacebar to talk": "Stlačte a podržte medzerník, ak chcete hovoriť",
|
||||||
},
|
"Passwords must match": "Heslá sa musia zhodovať",
|
||||||
"call_name": "Názov hovoru",
|
"Password": "Heslo",
|
||||||
"common": {
|
"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>",
|
||||||
"avatar": "Obrázok",
|
"Not registered yet? <2>Create an account</2>": "Ešte nie ste zaregistrovaný? <2>Vytvorte si účet</2>",
|
||||||
"camera": "Kamera",
|
"Not now, return to home screen": "Teraz nie, vrátiť sa na domovskú obrazovku",
|
||||||
"copied": "Skopírované!",
|
"No": "Nie",
|
||||||
"display_name": "Zobrazované meno",
|
"Mute microphone": "Stlmiť mikrofón",
|
||||||
"encrypted": "Šifrované",
|
"More": "Viac",
|
||||||
"home": "Domov",
|
"Microphone permissions needed to join the call.": "Povolenie mikrofónu je potrebné na pripojenie k hovoru.",
|
||||||
"loading": "Načítanie…",
|
"Microphone {{n}}": "Mikrofón {{n}}",
|
||||||
"microphone": "Mikrofón",
|
"Microphone": "Mikrofón",
|
||||||
"password": "Heslo",
|
"Login to your account": "Prihláste sa do svojho konta",
|
||||||
"profile": "Profil",
|
"Login": "Prihlásiť sa",
|
||||||
"settings": "Nastavenia",
|
"Logging in…": "Prihlasovanie…",
|
||||||
"unencrypted": "Nie je zašifrované",
|
"Loading…": "Načítanie…",
|
||||||
"username": "Meno používateľa"
|
"Leave": "Opustiť",
|
||||||
},
|
"Join existing call?": "Pripojiť sa k existujúcemu hovoru?",
|
||||||
"disconnected_banner": "Spojenie so serverom sa stratilo.",
|
"Join call now": "Pripojiť sa k hovoru teraz",
|
||||||
"full_screen_view_description": "<0>Odoslanie záznamov ladenia nám pomôže nájsť problém.</0>",
|
"Join call": "Pripojiť sa k hovoru",
|
||||||
"full_screen_view_h1": "<0>Hups, niečo sa pokazilo.</0>",
|
"Invite people": "Pozvať ľudí",
|
||||||
"hangup_button_label": "Ukončiť hovor",
|
"Invite": "Pozvať",
|
||||||
"header_label": "Domov Element Call",
|
"Inspector": "Inšpektor",
|
||||||
"header_participants_label": "Účastníci",
|
"Incompatible versions!": "Nekompatibilné verzie!",
|
||||||
"invite_modal": {
|
"Incompatible versions": "Nekompatibilné verzie",
|
||||||
"link_copied_toast": "Odkaz skopírovaný do schránky",
|
"Home": "Domov",
|
||||||
"title": "Pozvať na tento hovor"
|
"Grid layout menu": "Ponuka rozloženia mriežky",
|
||||||
},
|
"Go": "Prejsť",
|
||||||
"join_existing_call_modal": {
|
"Full screen": "Zobrazenie na celú obrazovku",
|
||||||
"join_button": "Áno, pripojiť sa k hovoru",
|
"Freedom": "Sloboda",
|
||||||
"text": "Tento hovor už existuje, chceli by ste sa k nemu pripojiť?",
|
"Exit full screen": "Ukončiť zobrazenie na celú obrazovku",
|
||||||
"title": "Pripojiť sa k existujúcemu hovoru?"
|
"Download debug logs": "Stiahnuť záznamy ladenia",
|
||||||
},
|
"Your recent calls": "Vaše nedávne hovory",
|
||||||
"layout_grid_label": "Sieť",
|
"Yes, join call": "Áno, pripojiť sa k hovoru",
|
||||||
"layout_spotlight_label": "Stredobod",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC nie je podporované alebo je v tomto prehliadači blokované.",
|
||||||
"lobby": {
|
"Walkie-talkie call name": "Názov vysielačkového hovoru",
|
||||||
"join_button": "Pripojiť sa k hovoru",
|
"Walkie-talkie call": "Vysielačkový hovor",
|
||||||
"leave_button": "Späť k nedávnym"
|
"Video call name": "Názov video hovoru",
|
||||||
},
|
"Video call": "Video hovor",
|
||||||
"logging_in": "Prihlasovanie…",
|
"Video": "Video",
|
||||||
"login_auth_links": "<0>Vytvoriť konto</0> Alebo <2>Prihlásiť sa ako hosť</2>",
|
"Version: {{version}}": "Verzia: {{version}}",
|
||||||
"login_title": "Prihlásiť sa",
|
"Username": "Meno používateľa",
|
||||||
"microphone_off": "Mikrofón vypnutý",
|
"User menu": "Používateľské menu",
|
||||||
"microphone_on": "Mikrofón zapnutý",
|
"Unmute microphone": "Zrušiť stlmenie mikrofónu",
|
||||||
"mute_microphone_button_label": "Stlmiť mikrofón",
|
"Turn on camera": "Zapnúť kameru",
|
||||||
"rageshake_button_error_caption": "Opakovať odoslanie záznamov",
|
"Turn off camera": "Vypnúť kameru",
|
||||||
"rageshake_request_modal": {
|
"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>Terms and conditions</12>": "Táto stránka je chránená systémom ReCAPTCHA a platia na ňu <2>Pravidlá ochrany osobných údajov</2> a <6>Podmienky poskytovania služieb</6> spoločnosti Google.<9></9>Kliknutím na tlačidlo \"Registrovať sa\" vyjadrujete súhlas s našimi <12>Podmienkami poskytovania služieb</12>",
|
||||||
"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í.",
|
"This call already exists, would you like to join?": "Tento hovor už existuje, chceli by ste sa k nemu pripojiť?",
|
||||||
"title": "Žiadosť o záznam ladenia"
|
"Speaker {{n}}": "Reproduktor {{n}}",
|
||||||
},
|
"Speaker": "Reproduktor",
|
||||||
"rageshake_send_logs": "Odoslať záznamy o ladení",
|
"Spatial audio": "Priestorový zvuk",
|
||||||
"rageshake_sending": "Odosielanie…",
|
"Sign out": "Odhlásiť sa",
|
||||||
"rageshake_sending_logs": "Odosielanie záznamov o ladení…",
|
"Sign in": "Prihlásiť sa",
|
||||||
"rageshake_sent": "Ďakujeme!",
|
"Settings": "Nastavenia",
|
||||||
"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>",
|
"Display name": "Zobrazované meno",
|
||||||
"recaptcha_dismissed": "Recaptcha zamietnutá",
|
"Developer": "Vývojár",
|
||||||
"recaptcha_not_loaded": "Recaptcha sa nenačítala",
|
"Details": "Podrobnosti",
|
||||||
"register": {
|
"Debug log request": "Žiadosť o záznam ladenia",
|
||||||
"passwords_must_match": "Heslá sa musia zhodovať",
|
"Debug log": "Záznam o ladení",
|
||||||
"registering": "Registrácia…"
|
"Create account": "Vytvoriť účet",
|
||||||
},
|
"Copy and share this call link": "Skopírovať a zdieľať tento odkaz na hovor",
|
||||||
"register_auth_links": "<0>Už máte konto?</0><1><0>Prihláste sa</0> Alebo <2>Prihlásiť sa ako hosť</2></1>",
|
"Copy": "Kopírovať",
|
||||||
"register_confirm_password_label": "Potvrdiť heslo",
|
"Copied!": "Skopírované!",
|
||||||
"return_home_button": "Návrat na domovskú obrazovku",
|
"Connection lost": "Strata spojenia",
|
||||||
"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>",
|
"Confirm password": "Potvrdiť heslo",
|
||||||
"room_auth_view_join_button": "Pripojiť sa k hovoru teraz",
|
"Close": "Zatvoriť",
|
||||||
"screenshare_button_label": "Zdieľať obrazovku",
|
"Change layout": "Zmeniť rozloženie",
|
||||||
"select_input_unset_button": "Vyberte možnosť",
|
"Camera/microphone permissions needed to join the call.": "Povolenie kamery/mikrofónu je potrebné na pripojenie k hovoru.",
|
||||||
"settings": {
|
"Camera {{n}}": "Kamera {{n}}",
|
||||||
"developer_settings_label": "Nastavenia pre vývojárov",
|
"Camera": "Kamera",
|
||||||
"developer_settings_label_description": "Zobraziť nastavenia pre vývojárov v okne nastavení.",
|
"Call type menu": "Ponuka typu hovoru",
|
||||||
"developer_tab_title": "Vývojár",
|
"Call link copied": "Odkaz na hovor skopírovaný",
|
||||||
"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.",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Kliknutím na \"Pripojiť sa k hovoru\" súhlasíte s našimi <2>Podmienkami</2>",
|
||||||
"feedback_tab_description_label": "Vaša spätná väzba",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Kliknutím na tlačidlo \"Prejsť\" súhlasíte s našimi <2>Podmienkami</2>",
|
||||||
"feedback_tab_h4": "Odoslať spätnú väzbu",
|
"Avatar": "Obrázok",
|
||||||
"feedback_tab_send_logs_label": "Zahrnúť záznamy o ladení",
|
"Audio": "Audio",
|
||||||
"feedback_tab_thank_you": "Ďakujeme, dostali sme vašu spätnú väzbu!",
|
"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í.",
|
||||||
"feedback_tab_title": "Spätná väzba",
|
"Accept camera/microphone permissions to join the call.": "Prijmite povolenia kamery/mikrofónu, aby ste sa mohli pripojiť k hovoru.",
|
||||||
"more_tab_title": "Viac",
|
"Accept microphone permissions to join the call.": "Prijmite povolenia mikrofónu, aby ste sa mohli pripojiť k hovoru.",
|
||||||
"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.",
|
"<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>",
|
||||||
"show_connection_stats_label": "Zobraziť štatistiky pripojenia",
|
"<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>",
|
||||||
"speaker_device_selection_label": "Reproduktor"
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Vytvoriť konto</0> Alebo <2>Prihlásiť sa ako hosť</2>",
|
||||||
},
|
"<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>",
|
||||||
"star_rating_input_label_one": "{{count}} hviezdička",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Vysielačkový hovor",
|
||||||
"star_rating_input_label_other": "{{count}} hviezdičiek",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"start_new_call": "Spustiť nový hovor",
|
"{{name}} is talking…": "{{name}} rozpráva…",
|
||||||
"start_video_button_label": "Spustiť video",
|
"{{name}} is presenting": "{{name}} prezentuje",
|
||||||
"stop_screenshare_button_label": "Zdieľanie obrazovky",
|
"{{name}} (Waiting for video...)": "{{name}} (Čaká sa na video...)",
|
||||||
"stop_video_button_label": "Zastaviť video",
|
"{{name}} (Connecting...)": "{{name}} (Pripájanie...)",
|
||||||
"submitting": "Odosielanie…",
|
"{{count}} people connected|other": "{{count}} osôb pripojených",
|
||||||
"unauthenticated_view_body": "Ešte nie ste zaregistrovaný? <2>Vytvorte si účet</2>",
|
"{{count}} people connected|one": "{{count}} osoba pripojená",
|
||||||
"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>",
|
"This feature is only supported on Firefox.": "Táto funkcia je podporovaná len v prehliadači Firefox.",
|
||||||
"unauthenticated_view_login_button": "Prihláste sa do svojho konta",
|
"<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>",
|
||||||
"unmute_microphone_button_label": "Zrušiť stlmenie mikrofónu",
|
"<0>Oops, something's gone wrong.</0>": "<0>Hups, niečo sa pokazilo.</0>",
|
||||||
"version": "Verzia: {{version}}",
|
"Use the upcoming grid system": "Použiť pripravovaný systém mriežky",
|
||||||
"video_tile": {
|
"Expose developer settings in the settings window.": "Zobraziť nastavenia pre vývojárov v okne nastavení.",
|
||||||
"sfu_participant_local": "Vy"
|
"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>.",
|
||||||
"waiting_for_participants": "Čaká sa na ďalších účastníkov…"
|
"<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.",
|
||||||
|
"Your feedback": "Vaša spätná väzba",
|
||||||
|
"Thanks, we received your feedback!": "Ďakujeme, dostali sme vašu spätnú väzbu!",
|
||||||
|
"Submitting…": "Odosielanie…",
|
||||||
|
"Submit": "Odoslať",
|
||||||
|
"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.",
|
||||||
|
"Feedback": "Spätná väzba",
|
||||||
|
"{{count}} stars|one": "{{count}} hviezdička",
|
||||||
|
"How did it go?": "Ako to išlo?",
|
||||||
|
"{{count}} stars|other": "{{count}} hviezdičiek",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, váš hovor skončil.",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0> Ďakujeme za vašu spätnú väzbu!</0>",
|
||||||
|
"<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>"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +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"
|
|
||||||
}
|
|
||||||
@@ -1,63 +1,92 @@
|
|||||||
{
|
{
|
||||||
"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",
|
"Accept camera/microphone permissions to join the call.": "Aramaya katılmanız için kamera/mikrofon erişimine izin verin.",
|
||||||
"go": "Git",
|
"Accept microphone permissions to join the call.": "Aramaya katılmak için mikrofon erişim izni verin.",
|
||||||
"no": "Hayır",
|
"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.",
|
||||||
"register": "Kaydol",
|
"Audio": "Ses",
|
||||||
"remove": "Çıkar",
|
"Avatar": "Avatar",
|
||||||
"sign_in": "Gir",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "\"Git\"e tıklayarak,<2>hükümler ve koşullar</2>ı kabul etmiş sayılırsınız",
|
||||||
"sign_out": "Çık"
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "\"Şimdi katıl\"a tıklayarak, <2>hükümler ve koşullar</2>ı kabul etmiş sayılırsınız",
|
||||||
},
|
"Call link copied": "Arama bağlantısı kopyalandı",
|
||||||
"call_ended_view": {
|
"Call type menu": "Arama tipi menüsü",
|
||||||
"create_account_button": "Hesap aç",
|
"Camera": "Kamera",
|
||||||
"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>",
|
"Camera {{n}}": "{{n}}. kamera",
|
||||||
"not_now_button": "Şimdi değil, ev ekranına dön"
|
"Camera/microphone permissions needed to join the call.": "Aramaya katılmak için kamera/mikrofon izinleri gerek.",
|
||||||
},
|
"Change layout": "Yerleşimi değiştir",
|
||||||
"common": {
|
"Close": "Kapat",
|
||||||
"audio": "Ses",
|
"Confirm password": "Parolayı tekrar edin",
|
||||||
"camera": "Kamera",
|
"Connection lost": "Bağlantı koptu",
|
||||||
"copied": "Kopyalandı",
|
"Copied!": "Kopyalandı",
|
||||||
"display_name": "Ekran adı",
|
"Copy and share this call link": "Arama bağlantısını kopyala ve paylaş",
|
||||||
"home": "Ev",
|
"Create account": "Hesap aç",
|
||||||
"loading": "Yükleniyor…",
|
"Debug log": "Hata ayıklama kütüğü",
|
||||||
"microphone": "Mikrofon",
|
"Debug log request": "Hata ayıklama kütük istemi",
|
||||||
"password": "Parola",
|
"Details": "Ayrıntı",
|
||||||
"settings": "Ayarlar"
|
"Developer": "Geliştirici",
|
||||||
},
|
"Display name": "Ekran adı",
|
||||||
"join_existing_call_modal": {
|
"Download debug logs": "Hata ayıklama kütüğünü indir",
|
||||||
"text": "Bu arama zaten var, katılmak ister misiniz?",
|
"Exit full screen": "Tam ekranı terk et",
|
||||||
"title": "Mevcut aramaya katıl?"
|
"Fetching group call timed out.": "Grup çağrısı zaman aşımına uğradı.",
|
||||||
},
|
"Freedom": "Özgürlük",
|
||||||
"lobby": {
|
"Full screen": "Tam ekran",
|
||||||
"join_button": "Aramaya katıl"
|
"Go": "Git",
|
||||||
},
|
"Grid layout menu": "Izgara plan menü",
|
||||||
"logging_in": "Giriliyor…",
|
"Home": "Ev",
|
||||||
"login_auth_links": "<0>Hesap oluştur</0> yahut <2>Konuk olarak gir</2>",
|
"Include debug logs": "Hata ayıklama kütüğünü dahil et",
|
||||||
"login_title": "Gir",
|
"Incompatible versions": "Uyumsuz sürümler",
|
||||||
"rageshake_request_modal": {
|
"Incompatible versions!": "Sürüm uyumsuz!",
|
||||||
"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.",
|
"Inspector": "Denetçi",
|
||||||
"title": "Hata ayıklama kütük istemi"
|
"Invite people": "Kişileri davet et",
|
||||||
},
|
"Join call": "Aramaya katıl",
|
||||||
"rageshake_send_logs": "Hata ayıklama kütüğünü gönder",
|
"Join call now": "Aramaya katıl",
|
||||||
"rageshake_sending": "Gönderiliyor…",
|
"Join existing call?": "Mevcut aramaya katıl?",
|
||||||
"recaptcha_dismissed": "reCAPTCHA atlandı",
|
"Leave": "Çık",
|
||||||
"recaptcha_not_loaded": "reCAPTCHA yüklenmedi",
|
"Loading…": "Yükleniyor…",
|
||||||
"register": {
|
"Local volume": "Yerel ses seviyesi",
|
||||||
"passwords_must_match": "Parolalar aynı olmalı",
|
"Logging in…": "Giriliyor…",
|
||||||
"registering": "Kaydediyor…"
|
"Login": "Gir",
|
||||||
},
|
"Login to your account": "Hesabınıza girin",
|
||||||
"register_auth_links": "<0>Mevcut hesabınız mı var?</0><1><0>Gir</0> yahut <2>Konuk girişi</2></1>",
|
"Microphone": "Mikrofon",
|
||||||
"register_confirm_password_label": "Parolayı tekrar edin",
|
"Microphone permissions needed to join the call.": "Aramaya katılmak için mikrofon erişim izni gerek.",
|
||||||
"return_home_button": "Ev ekranına geri dön",
|
"Microphone {{n}}": "{{n}}. mikrofon",
|
||||||
"room_auth_view_join_button": "Aramaya katıl",
|
"More": "Daha",
|
||||||
"screenshare_button_label": "Ekran paylaş",
|
"Mute microphone": "Mikrofonu kapat",
|
||||||
"select_input_unset_button": "Bir seçenek seç",
|
"No": "Hayır",
|
||||||
"settings": {
|
"Not now, return to home screen": "Şimdi değil, ev ekranına dön",
|
||||||
"developer_tab_title": "Geliştirici",
|
"Not registered yet? <2>Create an account</2>": "Kaydolmadınız mı? <2>Hesap açın</2>",
|
||||||
"feedback_tab_h4": "Geri bildirim ver",
|
"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.",
|
||||||
"feedback_tab_send_logs_label": "Hata ayıklama kütüğünü dahil et",
|
"Password": "Parola",
|
||||||
"more_tab_title": "Daha"
|
"Passwords must match": "Parolalar aynı olmalı",
|
||||||
},
|
"Press and hold spacebar to talk": "Konuşmak için boşluk çubuğunu basılı tutun",
|
||||||
"unauthenticated_view_body": "Kaydolmadınız mı? <2>Hesap açın</2>",
|
"Press and hold to talk": "Konuşmak için basılı tutun",
|
||||||
"unauthenticated_view_login_button": "Hesabınıza girin"
|
"Recaptcha dismissed": "reCAPTCHA atlandı",
|
||||||
|
"Recaptcha not loaded": "reCAPTCHA yüklenmedi",
|
||||||
|
"Register": "Kaydol",
|
||||||
|
"Registering…": "Kaydediyor…",
|
||||||
|
"Release spacebar key to stop": "Kesmek için boşluk tuşunu bırakın",
|
||||||
|
"Release to stop": "Kesmek için bırakın",
|
||||||
|
"Remove": "Çıkar",
|
||||||
|
"Return to home screen": "Ev ekranına geri dön",
|
||||||
|
"Select an option": "Bir seçenek seç",
|
||||||
|
"Send debug logs": "Hata ayıklama kütüğünü gönder",
|
||||||
|
"Sending…": "Gönderiliyor…",
|
||||||
|
"Settings": "Ayarlar",
|
||||||
|
"Share screen": "Ekran paylaş",
|
||||||
|
"Show call inspector": "Arama denetçisini göster",
|
||||||
|
"Sign in": "Gir",
|
||||||
|
"Sign out": "Çık",
|
||||||
|
"Spatial audio": "Uzamsal ses",
|
||||||
|
"Stop sharing screen": "Ekran paylaşmayı terk et",
|
||||||
|
"Submit feedback": "Geri bildirim ver",
|
||||||
|
"Take me Home": "Ev ekranına gir",
|
||||||
|
"Talking…": "Konuşuyor…",
|
||||||
|
"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?",
|
||||||
|
"{{count}} people connected|one": "{{count}} kişi bağlı",
|
||||||
|
"{{count}} people connected|other": "{{count}} kişi bağlı",
|
||||||
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
|
"{{name}} is presenting": "{{name}} sunuyor",
|
||||||
|
"{{name}} is talking…": "{{name}} konuşuyor…",
|
||||||
|
"<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,136 +1,146 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Loading…": "Завантаження…",
|
||||||
"user_menu": "Меню користувача"
|
"Your recent calls": "Ваші недавні виклики",
|
||||||
},
|
"You can't talk at the same time": "Не можна говорити одночасно",
|
||||||
"action": {
|
"Yes, join call": "Так, приєднатися до виклику",
|
||||||
"close": "Закрити",
|
"WebRTC is not supported or is being blocked in this browser.": "WebRTC не підтримується або блокується в цьому браузері.",
|
||||||
"copy": "Копіювати",
|
"Walkie-talkie call name": "Назва виклику-рації",
|
||||||
"copy_link": "Скопіювати посилання",
|
"Walkie-talkie call": "Виклик-рація",
|
||||||
"go": "Далі",
|
"Waiting for other participants…": "Очікування на інших учасників…",
|
||||||
"invite": "Запросити",
|
"Waiting for network": "Очікування мережі",
|
||||||
"no": "Ні",
|
"Video call name": "Назва відеовиклику",
|
||||||
"register": "Зареєструватися",
|
"Video call": "Відеовиклик",
|
||||||
"remove": "Вилучити",
|
"Video": "Відео",
|
||||||
"sign_in": "Увійти",
|
"Version: {{version}}": "Версія: {{version}}",
|
||||||
"sign_out": "Вийти",
|
"Username": "Ім'я користувача",
|
||||||
"submit": "Надіслати"
|
"User menu": "Меню користувача",
|
||||||
},
|
"Unmute microphone": "Увімкнути мікрофон",
|
||||||
"analytics_notice": "Користуючись дочасним доступом, ви даєте згоду на збір анонімних даних, які ми використовуємо для вдосконалення продукту. Ви можете знайти більше інформації про те, які дані ми відстежуємо в нашій <2>Політиці Приватності</2> і нашій <6>Політиці про куки</6>.",
|
"Turn on camera": "Увімкнути камеру",
|
||||||
"app_selection_modal": {
|
"Turn off camera": "Вимкнути камеру",
|
||||||
"continue_in_browser": "Продовжити у браузері",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "Це призведе до того, що звук мовця здаватиметься таким, ніби він надходить з того місця, де розміщено його плитку на екрані. (Експериментальна можливість: це може вплинути на стабільність звуку.)",
|
||||||
"open_in_app": "Відкрити у застосунку",
|
"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>Terms and conditions</12>": "Цей сайт захищений ReCAPTCHA і до нього застосовується <2>Політика приватності</2> і <6>Умови надання послуг</6> Google.<9></9>Натискаючи кнопку «Зареєструватися», ви погоджуєтеся з нашими <12>Умовами та положеннями</12>",
|
||||||
"text": "Готові приєднатися?",
|
"This call already exists, would you like to join?": "Цей виклик уже існує, бажаєте приєднатися?",
|
||||||
"title": "Вибрати застосунок"
|
"Thanks! We'll get right on it.": "Дякуємо! Ми зараз же візьмемося за це.",
|
||||||
},
|
"Talking…": "Говоріть…",
|
||||||
"browser_media_e2ee_unsupported": "Ваш браузер не підтримує наскрізне шифрування мультимедійних даних. Підтримувані браузери: Chrome, Safari, Firefox >=117",
|
"Talk over speaker": "Говорити через динамік",
|
||||||
"call_ended_view": {
|
"Take me Home": "Перейти до Домівки",
|
||||||
"body": "Вас від'єднано від виклику",
|
"Submit feedback": "Надіслати відгук",
|
||||||
"create_account_button": "Створити обліковий запис",
|
"Stop sharing screen": "Припинити показ екрана",
|
||||||
"create_account_prompt": "<0>Чому б не завершити, налаштувавши пароль для збереження свого облікового запису?</0><1>Ви зможете зберегти своє ім'я та встановити аватарку для подальшого користування під час майбутніх викликів</1>",
|
"Spotlight": "У центрі уваги",
|
||||||
"feedback_done": "<0>Дякуємо за ваш відгук!</0>",
|
"Speaker {{n}}": "Динамік {{n}}",
|
||||||
"feedback_prompt": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>",
|
"Speaker": "Динамік",
|
||||||
"headline": "{{displayName}}, ваш виклик завершено.",
|
"Spatial audio": "Просторовий звук",
|
||||||
"not_now_button": "Не зараз, повернутися на екран домівки",
|
"Sign out": "Вийти",
|
||||||
"reconnect_button": "Під'єднати повторно",
|
"Sign in": "Увійти",
|
||||||
"survey_prompt": "Вам усе сподобалось?"
|
"Show call inspector": "Показати інспектора виклику",
|
||||||
},
|
"Share screen": "Поділитися екраном",
|
||||||
"call_name": "Назва виклику",
|
"Settings": "Налаштування",
|
||||||
"common": {
|
"Sending…": "Надсилання…",
|
||||||
"audio": "Звук",
|
"Sending debug logs…": "Надсилання журналу налагодження…",
|
||||||
"avatar": "Аватар",
|
"Send debug logs": "Надіслати журнал налагодження",
|
||||||
"camera": "Камера",
|
"Select an option": "Вибрати опцію",
|
||||||
"copied": "Скопійовано!",
|
"Return to home screen": "Повернутися на екран домівки",
|
||||||
"display_name": "Псевдонім",
|
"Remove": "Вилучити",
|
||||||
"encrypted": "Зашифровано",
|
"Release to stop": "Відпустіть, щоб закінчити",
|
||||||
"home": "Домівка",
|
"Release spacebar key to stop": "Відпустіть пробіл, щоб закінчити",
|
||||||
"loading": "Завантаження…",
|
"Registering…": "Реєстрація…",
|
||||||
"microphone": "Мікрофон",
|
"Register": "Зареєструватися",
|
||||||
"password": "Пароль",
|
"Recaptcha not loaded": "Recaptcha не завантажено",
|
||||||
"profile": "Профіль",
|
"Recaptcha dismissed": "Recaptcha не пройдено",
|
||||||
"settings": "Налаштування",
|
"Profile": "Профіль",
|
||||||
"unencrypted": "Не зашифровано",
|
"Press and hold to talk over {{name}}": "Затисніть, щоб говорити одночасно з {{name}}",
|
||||||
"username": "Ім'я користувача",
|
"Press and hold to talk": "Затисніть, щоб говорити",
|
||||||
"video": "Відео"
|
"Press and hold spacebar to talk over {{name}}": "Щоб говорити одночасно з {{name}}, затисніть пробіл",
|
||||||
},
|
"Press and hold spacebar to talk": "Затисніть пробіл, щоб говорити",
|
||||||
"disconnected_banner": "Втрачено зв'язок з сервером.",
|
"Passwords must match": "Паролі відрізняються",
|
||||||
"full_screen_view_description": "<0>Надсилання журналів налагодження допоможе нам виявити проблему.</0>",
|
"Password": "Пароль",
|
||||||
"full_screen_view_h1": "<0>Йой, щось пішло не за планом.</0>",
|
"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>",
|
||||||
"hangup_button_label": "Завершити виклик",
|
"Not registered yet? <2>Create an account</2>": "Ще не зареєстровані? <2>Створіть обліковий запис</2>",
|
||||||
"header_label": "Домівка Element Call",
|
"Not now, return to home screen": "Не зараз, повернутися на екран домівки",
|
||||||
"header_participants_label": "Учасники",
|
"No": "Ні",
|
||||||
"invite_modal": {
|
"Mute microphone": "Заглушити мікрофон",
|
||||||
"link_copied_toast": "Посилання скопійовано до буфера обміну",
|
"More": "Докладніше",
|
||||||
"title": "Запросити до цього виклику"
|
"Microphone permissions needed to join the call.": "Для участі у виклику необхідний дозвіл на користування мікрофоном.",
|
||||||
},
|
"Microphone {{n}}": "Мікрофон {{n}}",
|
||||||
"join_existing_call_modal": {
|
"Microphone": "Мікрофон",
|
||||||
"join_button": "Так, приєднатися до виклику",
|
"Login to your account": "Увійдіть до свого облікового запису",
|
||||||
"text": "Цей виклик уже існує, бажаєте приєднатися?",
|
"Login": "Увійти",
|
||||||
"title": "Приєднатися до наявного виклику?"
|
"Logging in…": "Вхід…",
|
||||||
},
|
"Local volume": "Локальна гучність",
|
||||||
"layout_grid_label": "Сітка",
|
"Leave": "Вийти",
|
||||||
"layout_spotlight_label": "У центрі уваги",
|
"Join existing call?": "Приєднатися до наявного виклику?",
|
||||||
"lobby": {
|
"Join call now": "Приєднатися до виклику зараз",
|
||||||
"join_button": "Приєднатися до виклику",
|
"Join call": "Приєднатися до виклику",
|
||||||
"leave_button": "Повернутися до недавніх"
|
"Invite people": "Запросити людей",
|
||||||
},
|
"Invite": "Запросити",
|
||||||
"logging_in": "Вхід…",
|
"Inspector": "Інспектор",
|
||||||
"login_auth_links": "<0>Створити обліковий запис</0> або <2>Отримати доступ як гість</2>",
|
"Incompatible versions!": "Несумісні версії!",
|
||||||
"login_title": "Увійти",
|
"Incompatible versions": "Несумісні версії",
|
||||||
"microphone_off": "Мікрофон вимкнено",
|
"Include debug logs": "Долучити журнали налагодження",
|
||||||
"microphone_on": "Мікрофон увімкнено",
|
"Home": "Домівка",
|
||||||
"mute_microphone_button_label": "Вимкнути мікрофон",
|
"Grid layout menu": "Меню у вигляді сітки",
|
||||||
"rageshake_button_error_caption": "Повторити надсилання журналів",
|
"Go": "Далі",
|
||||||
"rageshake_request_modal": {
|
"Full screen": "Повноекранний режим",
|
||||||
"body": "Інший користувач у цьому виклику має проблему. Щоб краще визначити ці проблеми, ми хотіли б зібрати журнал налагодження.",
|
"Freedom": "Свобода",
|
||||||
"title": "Запит журналу налагодження"
|
"Fetching group call timed out.": "Вичерпано час очікування групового виклику.",
|
||||||
},
|
"Exit full screen": "Вийти з повноекранного режиму",
|
||||||
"rageshake_send_logs": "Надіслати журнал налагодження",
|
"Download debug logs": "Завантажити журнали налагодження",
|
||||||
"rageshake_sending": "Надсилання…",
|
"Display name": "Показуване ім'я",
|
||||||
"rageshake_sending_logs": "Надсилання журналу налагодження…",
|
"Developer": "Розробнику",
|
||||||
"rageshake_sent": "Дякуємо!",
|
"Details": "Подробиці",
|
||||||
"recaptcha_caption": "Цей сайт захищений ReCAPTCHA і до нього застосовується <2>Політика приватності</2> і <6>Умови надання послуг</6> Google.<9></9>Натискаючи \"Зареєструватися\", ви погоджуєтеся з нашою <12>Ліцензійною угодою з кінцевим користувачем (EULA)</12>",
|
"Debug log request": "Запит журналу налагодження",
|
||||||
"recaptcha_dismissed": "Recaptcha не пройдено",
|
"Debug log": "Журнал налагодження",
|
||||||
"recaptcha_not_loaded": "Recaptcha не завантажено",
|
"Create account": "Створити обліковий запис",
|
||||||
"register": {
|
"Copy and share this call link": "Скопіювати та поділитися цим посиланням на виклик",
|
||||||
"passwords_must_match": "Паролі відрізняються",
|
"Copied!": "Скопійовано!",
|
||||||
"registering": "Реєстрація…"
|
"Connection lost": "З'єднання розірвано",
|
||||||
},
|
"Confirm password": "Підтвердити пароль",
|
||||||
"register_auth_links": "<0>Уже маєте обліковий запис?</0><1><0>Увійти</0> Or <2>Отримати доступ як гість</2></1>",
|
"Close": "Закрити",
|
||||||
"register_confirm_password_label": "Підтвердити пароль",
|
"Change layout": "Змінити макет",
|
||||||
"return_home_button": "Повернутися на екран домівки",
|
"Camera/microphone permissions needed to join the call.": "Для приєднання до виклику необхідні дозволи камери/мікрофона.",
|
||||||
"room_auth_view_eula_caption": "Натискаючи \"Приєднатися до виклику зараз\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
"Camera {{n}}": "Камера {{n}}",
|
||||||
"room_auth_view_join_button": "Приєднатися до виклику зараз",
|
"Camera": "Камера",
|
||||||
"screenshare_button_label": "Поділитися екраном",
|
"Call type menu": "Меню типу виклику",
|
||||||
"select_input_unset_button": "Вибрати опцію",
|
"Call link copied": "Посилання на виклик скопійовано",
|
||||||
"settings": {
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Натиснувши «Приєднатися до виклику зараз», ви погодитеся з нашими <2>Умовами та положеннями</2>",
|
||||||
"developer_settings_label": "Налаштування розробника",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "Натиснувши «Далі», ви погодитеся з нашими <2>Умовами та положеннями</2>",
|
||||||
"developer_settings_label_description": "Відкрийте налаштування розробника у вікні налаштувань.",
|
"Avatar": "Аватар",
|
||||||
"developer_tab_title": "Розробнику",
|
"Audio": "Звук",
|
||||||
"feedback_tab_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.": "Інший користувач у цьому виклику має проблему. Щоб краще визначити ці проблеми, ми хотіли б зібрати журнал налагодження.",
|
||||||
"feedback_tab_description_label": "Ваш відгук",
|
"Accept microphone permissions to join the call.": "Надайте дозволи на використання мікрофонів для приєднання до виклику.",
|
||||||
"feedback_tab_h4": "Надіслати відгук",
|
"Accept camera/microphone permissions to join the call.": "Надайте дозвіл на використання камери/мікрофона для приєднання до виклику.",
|
||||||
"feedback_tab_send_logs_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>Ви зможете зберегти своє ім'я та встановити аватарку для подальшого користування під час майбутніх викликів</1>",
|
||||||
"feedback_tab_thank_you": "Дякуємо, ми отримали ваш відгук!",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Створити обліковий запис</0> або <2>Отримати доступ як гість</2>",
|
||||||
"feedback_tab_title": "Відгук",
|
"<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>",
|
||||||
"more_tab_title": "Докладніше",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Виклик-рація",
|
||||||
"opt_in_description": "<0></0><1></1>Ви можете відкликати згоду, прибравши цей прапорець. Якщо ви зараз розмовляєте, це налаштування застосується після завершення виклику.",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"show_connection_stats_label": "Показати стан з'єднання",
|
"{{name}} is talking…": "{{name}} балакає…",
|
||||||
"speaker_device_selection_label": "Динамік"
|
"{{name}} is presenting": "{{name}} показує",
|
||||||
},
|
"{{count}} people connected|other": "{{count}} під'єдналися",
|
||||||
"star_rating_input_label_one": "{{count}} зірок",
|
"{{count}} people connected|one": "{{count}} під'єднується",
|
||||||
"star_rating_input_label_other": "{{count}} зірок",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>Приєднатися до виклику зараз</0><1>Or</1><2>Скопіювати посилання на виклик і приєднатися пізніше</2>",
|
||||||
"start_new_call": "Розпочати новий виклик",
|
"{{name}} (Connecting...)": "{{name}} (З'єднання...)",
|
||||||
"start_video_button_label": "Розпочати відео",
|
"Element Call Home": "Домівка Element Call",
|
||||||
"stop_screenshare_button_label": "Презентація екрана",
|
"Copy": "Копіювати",
|
||||||
"stop_video_button_label": "Зупинити відео",
|
"{{name}} (Waiting for video...)": "{{name}} (Очікування на відео...)",
|
||||||
"submitting": "Надсилання…",
|
"This feature is only supported on Firefox.": "Ця функція підтримується лише в браузері Firefox.",
|
||||||
"unauthenticated_view_body": "Ще не зареєстровані? <2>Створіть обліковий запис</2>",
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>Надсилання журналів налагодження допоможе нам виявити проблему.</0>",
|
||||||
"unauthenticated_view_eula_caption": "Натискаючи \"Далі\", ви погоджуєтеся з нашою <2>Ліцензійною угодою з кінцевим користувачем (EULA)</2>",
|
"<0>Oops, something's gone wrong.</0>": "<0>Йой, щось пішло не за планом.</0>",
|
||||||
"unauthenticated_view_login_button": "Увійдіть до свого облікового запису",
|
"Use the upcoming grid system": "Використовувати майбутню сіткову систему",
|
||||||
"unmute_microphone_button_label": "Увімкнути мікрофон",
|
"Expose developer settings in the settings window.": "Відкрийте налаштування розробника у вікні налаштувань.",
|
||||||
"version": "Версія: {{version}}",
|
"Developer Settings": "Налаштування розробника",
|
||||||
"video_tile": {
|
"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>.",
|
||||||
"sfu_participant_local": "Ви"
|
"<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": "Ваш відгук",
|
||||||
"waiting_for_participants": "Очікування на інших учасників…"
|
"Thanks, we received your feedback!": "Дякуємо, ми отримали ваш відгук!",
|
||||||
|
"Submitting…": "Надсилання…",
|
||||||
|
"Submit": "Надіслати",
|
||||||
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "Якщо у вас виникли проблеми або ви просто хочете залишити відгук, надішліть нам короткий опис нижче.",
|
||||||
|
"Feedback": "Відгук",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>Дякуємо за ваш відгук!</0>",
|
||||||
|
"{{count}} stars|one": "{{count}} зірка",
|
||||||
|
"{{count}} stars|other": "{{count}} зірок",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}}, ваш виклик завершено.",
|
||||||
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>Ми будемо раді почути ваші відгуки, щоб поліпшити роботу застосунку.</0>",
|
||||||
|
"How did it go?": "Вам усе сподобалось?"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,75 +1,105 @@
|
|||||||
{
|
{
|
||||||
"action": {
|
"Login": "Đăng nhập",
|
||||||
"close": "Đóng",
|
"{{count}} people connected|other": "{{count}} người đã kết nối",
|
||||||
"copy": "Sao chép",
|
"{{name}} (Waiting for video...)": "{{name}} (Đang đợi truyền hình...)",
|
||||||
"no": "Không",
|
"Join call": "Tham gia cuộc gọi",
|
||||||
"register": "Đăng ký",
|
"Mute microphone": "Tắt micrô",
|
||||||
"sign_in": "Đăng nhập",
|
"Password": "Mật khẩu",
|
||||||
"sign_out": "Đăng xuất",
|
"Settings": "Cài đặt",
|
||||||
"submit": "Gửi"
|
"Sending…": "Đang gửi…",
|
||||||
},
|
"Sign in": "Đăng nhập",
|
||||||
"call_ended_view": {
|
"Submit": "Gửi",
|
||||||
"create_account_button": "Tạo tài khoản",
|
"Video call name": "Tên cuộc gọi 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>",
|
"Video call": "Gọi truyền hình",
|
||||||
"feedback_done": "<0>Cảm hơn vì đã phản hồi!</0>",
|
"Video": "Truyền hình",
|
||||||
"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>",
|
"Username": "Tên người dùng",
|
||||||
"headline": "{{displayName}}, cuộc gọi đã kết thúc."
|
"Yes, join call": "Vâng, tham gia cuộc gọi",
|
||||||
},
|
"Your feedback": "Phản hồi của bạn",
|
||||||
"common": {
|
"{{count}} people connected|one": "{{count}} người đã kết nối",
|
||||||
"audio": "Âm thanh",
|
"{{name}} (Connecting...)": "{{name}} (Đang kết nối...)",
|
||||||
"avatar": "Ảnh đại diện",
|
"Your recent calls": "Cuộc gọi gần đây",
|
||||||
"camera": "Máy quay",
|
"You can't talk at the same time": "Bạn không thể nói cùng thời điểm",
|
||||||
"copied": "Đã sao chép!",
|
"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.",
|
||||||
"display_name": "Tên hiển thị",
|
"Waiting for network": "Đang đợi kết nối mạng",
|
||||||
"loading": "Đang tải…",
|
"Waiting for other participants…": "Đang đợi những người khác…",
|
||||||
"microphone": "Micrô",
|
"Version: {{version}}": "Phiên bản: {{version}}",
|
||||||
"password": "Mật khẩu",
|
"Turn on camera": "Bật máy quay",
|
||||||
"profile": "Hồ sơ",
|
"Turn off camera": "Tắt máy quay",
|
||||||
"settings": "Cài đặt",
|
"Submit feedback": "Gửi phản hồi",
|
||||||
"username": "Tên người dùng",
|
"Stop sharing screen": "Ngừng chia sẻ màn hình",
|
||||||
"video": "Truyền hình"
|
"Speaker": "Loa",
|
||||||
},
|
"Sign out": "Đăng xuất",
|
||||||
"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>",
|
"Share screen": "Chia sẻ màn hình",
|
||||||
"full_screen_view_h1": "<0>Ối, có cái gì đó sai.</0>",
|
"No": "Không",
|
||||||
"join_existing_call_modal": {
|
"Invite people": "Mời mọi người",
|
||||||
"join_button": "Vâng, tham gia cuộc gọi",
|
"Join call now": "Tham gia cuộc gọi",
|
||||||
"text": "Cuộc gọi đã tồn tại, bạn có muốn tham gia không?",
|
"Create account": "Tạo tài khoản",
|
||||||
"title": "Tham gia cuộc gọi?"
|
"{{name}} is presenting": "{{name}} đang thuyết trình",
|
||||||
},
|
"{{name}} is talking…": "{{name}} đang nói…",
|
||||||
"layout_spotlight_label": "Tiêu điểm",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"lobby": {
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - Cuộc gọi thoại",
|
||||||
"join_button": "Tham gia cuộc gọi"
|
"<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>",
|
||||||
},
|
"<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>",
|
||||||
"logging_in": "Đang đăng nhập…",
|
"Accept camera/microphone permissions to join the call.": "Chấp nhận quyền sử dụng máy quay/micrô để tham gia cuộc gọi.",
|
||||||
"login_auth_links": "<0>Tạo tài khoản</0> Hay <2>Tham gia dưới tên khác</2>",
|
"<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>",
|
||||||
"login_title": "Đăng nhập",
|
"Avatar": "Ảnh đại diện",
|
||||||
"rageshake_request_modal": {
|
"Audio": "Âm thanh",
|
||||||
"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.",
|
"Camera/microphone permissions needed to join the call.": "Cần quyền máy quay/micrô để tham gia cuộc gọi.",
|
||||||
"title": "Yêu cầu nhật ký gỡ lỗi"
|
"Camera": "Máy quay",
|
||||||
},
|
"Camera {{n}}": "Máy quay {{n}}",
|
||||||
"rageshake_sending": "Đang gửi…",
|
"Call link copied": "Đã sao chép liên kết cuộc gọi",
|
||||||
"recaptcha_not_loaded": "Chưa tải được Recaptcha",
|
"Copied!": "Đã sao chép!",
|
||||||
"register": {
|
"Connection lost": "Mất kết nối",
|
||||||
"passwords_must_match": "Mật khẩu phải khớp",
|
"Confirm password": "Xác nhận mật khẩu",
|
||||||
"registering": "Đang đăng ký…"
|
"Close": "Đóng",
|
||||||
},
|
"Change layout": "Thay đổi bố cục",
|
||||||
"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>",
|
"Debug log": "Nhật ký gỡ lỗi",
|
||||||
"register_confirm_password_label": "Xác nhận mật khẩu",
|
"Copy": "Sao chép",
|
||||||
"room_auth_view_join_button": "Tham gia cuộc gọi",
|
"Copy and share this call link": "Sao chép và chia sẻ liên kết cuộc gọi này",
|
||||||
"screenshare_button_label": "Chia sẻ màn hình",
|
"Display name": "Tên hiển thị",
|
||||||
"settings": {
|
"Developer Settings": "Cài đặt phát triển",
|
||||||
"developer_settings_label": "Cài đặt phát triển",
|
"Developer": "Nhà phát triển",
|
||||||
"developer_tab_title": "Nhà phát triển",
|
"Details": "Chi tiết",
|
||||||
"feedback_tab_description_label": "Phản hồi của bạn",
|
"Download debug logs": "Tải xuống nhật ký gỡ lỗi",
|
||||||
"feedback_tab_h4": "Gửi phản hồi",
|
"Feedback": "Phản hồi",
|
||||||
"feedback_tab_send_logs_label": "Kèm theo nhật ký gỡ lỗi",
|
"Full screen": "Toàn màn hình",
|
||||||
"feedback_tab_thank_you": "Cảm ơn, chúng tôi đã nhận được phản hồi!",
|
"Incompatible versions!": "Phiên bản không tương thích!",
|
||||||
"feedback_tab_title": "Phản hồi",
|
"Incompatible versions": "Phiên bản không tương thích",
|
||||||
"speaker_device_selection_label": "Loa"
|
"Include debug logs": "Kèm theo nhật ký gỡ lỗi",
|
||||||
},
|
"Invite": "Mời",
|
||||||
"submitting": "Đang gửi…",
|
"Join existing call?": "Tham gia cuộc gọi?",
|
||||||
"unauthenticated_view_body": "Chưa đăng ký? <2>Tạo tài khoản</2>",
|
"Leave": "Rời",
|
||||||
"unauthenticated_view_login_button": "Đăng nhập vào tài khoản của bạn",
|
"Loading…": "Đang tải…",
|
||||||
"version": "Phiên bản: {{version}}",
|
"Logging in…": "Đang đăng nhập…",
|
||||||
"waiting_for_participants": "Đang đợi những người khác…"
|
"Login to your account": "Đăng nhập vào tài khoản của bạn",
|
||||||
|
"Microphone": "Micrô",
|
||||||
|
"Microphone {{n}}": "Micrô {{n}}",
|
||||||
|
"Not registered yet? <2>Create an account</2>": "Chưa đăng ký? <2>Tạo tài khoản</2>",
|
||||||
|
"Passwords must match": "Mật khẩu phải khớp",
|
||||||
|
"Press and hold spacebar to talk": "Nhấn và giữ phím space để nói",
|
||||||
|
"Press and hold to talk": "Nhấn và giữ để nói",
|
||||||
|
"Press and hold to talk over {{name}}": "Nhấn và giữ để nói qua {{name}}",
|
||||||
|
"Register": "Đăng ký",
|
||||||
|
"Release spacebar key to stop": "Nhả phím space để ngừng",
|
||||||
|
"Spotlight": "Tiêu điểm",
|
||||||
|
"Submitting…": "Đang gửi…",
|
||||||
|
"Thanks, we received your feedback!": "Cảm ơn, chúng tôi đã nhận được phản hồi!",
|
||||||
|
"Talking…": "Đang nói…",
|
||||||
|
"Walkie-talkie call": "Cuộc gọi thoại",
|
||||||
|
"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>",
|
||||||
|
"Exit full screen": "Rời chế độ toàn màn hình",
|
||||||
|
"Profile": "Hồ sơ",
|
||||||
|
"Registering…": "Đang đăng ký…",
|
||||||
|
"Unmute microphone": "Bật micrô",
|
||||||
|
"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?",
|
||||||
|
"This feature is only supported on Firefox.": "Tính năng này chỉ được hỗ trợ trên Firefox.",
|
||||||
|
"Speaker {{n}}": "Loa {{n}}",
|
||||||
|
"Recaptcha not loaded": "Chưa tải được Recaptcha",
|
||||||
|
"Debug log request": "Yêu cầu nhật ký gỡ lỗi",
|
||||||
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "Khi nhấn vào \"Tham gia cuộc gọi\", bạn đồng ý với <2>Điều khoản và điều kiện</2> của chúng tôi",
|
||||||
|
"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.",
|
||||||
|
"Accept microphone permissions to join the call.": "Chấp nhận quyền sử dụng micrô để tham gia cuộc gọ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>",
|
||||||
|
"Press and hold spacebar to talk over {{name}}": "Nhấn và giữ phím space để nói trên {{name}}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,129 +1,128 @@
|
|||||||
{
|
{
|
||||||
"a11y": {
|
"Your recent calls": "最近通话",
|
||||||
"user_menu": "用户菜单"
|
"You can't talk at the same time": "你不能在同一时间发言",
|
||||||
},
|
"Yes, join call": "是,加入通话",
|
||||||
"action": {
|
"WebRTC is not supported or is being blocked in this browser.": "此浏览器不支持WebRTC或WebRTC被浏览器阻止。",
|
||||||
"close": "关闭",
|
"Walkie-talkie call name": "对讲机通话名称",
|
||||||
"copy": "复制",
|
"Walkie-talkie call": "对讲机通话",
|
||||||
"go": "开始",
|
"Waiting for other participants…": "等待其他参与者……",
|
||||||
"no": "否",
|
"Waiting for network": "正在等待网络",
|
||||||
"register": "注册",
|
"Video call name": "视频通话名称",
|
||||||
"remove": "移除",
|
"Video call": "视频通话",
|
||||||
"sign_in": "登录",
|
"Video": "视频",
|
||||||
"sign_out": "登出",
|
"Version: {{version}}": "版本:{{version}}",
|
||||||
"submit": "提交"
|
"Username": "用户名",
|
||||||
},
|
"User menu": "用户菜单",
|
||||||
"analytics_notice": "参与测试即表示您同意我们收集匿名数据,用于改进产品。您可以在我们的<2>隐私政策</2>和<6>Cookie政策</6>中找到有关我们跟踪哪些数据以及更多信息。",
|
"Unmute microphone": "取消麦克风静音",
|
||||||
"app_selection_modal": {
|
"Turn on camera": "开启摄像头",
|
||||||
"continue_in_browser": "在浏览器中继续",
|
"Turn off camera": "关闭摄像头",
|
||||||
"open_in_app": "在应用中打开",
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "这将使发言人的音频看起来像是来自他们在屏幕上的位置。(实验性功能:这可能影响音频的稳定性)",
|
||||||
"text": "准备好加入了吗?",
|
"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>Terms and conditions</12>": "本网站受reCaptcha保护,并适用Google<2>隐私政策</2>和<6>服务条款</6>。<9></9>点击\"注册\"则表明您同意我们的<12>条款和条件</12>",
|
||||||
"title": "选择应用程序"
|
"This call already exists, would you like to join?": "该通话已存在,你想加入吗?",
|
||||||
},
|
"Thanks! We'll get right on it.": "谢谢!我们会马上去做的。",
|
||||||
"browser_media_e2ee_unsupported": "您的浏览器不支持媒体端对端加密。支持的浏览器有 Chrome、Safari、Firefox >=117",
|
"Talking…": "正在发言……",
|
||||||
"call_ended_view": {
|
"Talk over speaker": "通过扬声器发言",
|
||||||
"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 {{n}}": "发言人 {{n}}",
|
||||||
"headline": "{{displayName}},通话已结束。",
|
"Speaker": "发言人",
|
||||||
"not_now_button": "暂不,返回主页",
|
"Spatial audio": "空间音频",
|
||||||
"reconnect_button": "重新连接",
|
"Sign out": "注销登录",
|
||||||
"survey_prompt": "进展如何?"
|
"Sign in": "登录",
|
||||||
},
|
"Audio": "音频",
|
||||||
"call_name": "通话名称",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
||||||
"common": {
|
"Accept microphone permissions to join the call.": "授予麦克风权限以加入通话。",
|
||||||
"audio": "音频",
|
"Accept camera/microphone permissions to join the call.": "授予摄像头/麦克风权限以加入通话。",
|
||||||
"avatar": "头像",
|
"<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>",
|
||||||
"camera": "摄像头",
|
"<0>Join call now</0><1>Or</1><2>Copy call link and join later</2>": "<0>现在加入通话</0><1>或</1><2>复制通话链接并稍后加入</2>",
|
||||||
"copied": "已复制!",
|
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>创建账户</0> Or <2>以访客身份继续</2>",
|
||||||
"display_name": "显示名称",
|
"<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>",
|
||||||
"encrypted": "已加密",
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - 对讲机通话",
|
||||||
"home": "主页",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"loading": "加载中……",
|
"{{name}} is talking…": "{{name}}正在发言……",
|
||||||
"microphone": "麦克风",
|
"{{name}} is presenting": "{{name}}正在展示",
|
||||||
"password": "密码",
|
"{{name}} (Waiting for video...)": "{{name}}(等待视频……)",
|
||||||
"profile": "个人信息",
|
"{{name}} (Connecting...)": "{{name}} (正在连接……)",
|
||||||
"settings": "设置",
|
"{{count}} people connected|other": "{{count}}人已连接",
|
||||||
"unencrypted": "未加密",
|
"{{count}} people connected|one": "{{count}}人已连接",
|
||||||
"username": "用户名",
|
"Inspector": "检查器",
|
||||||
"video": "视频"
|
"Show call inspector": "显示通话检查器",
|
||||||
},
|
"Share screen": "屏幕共享",
|
||||||
"disconnected_banner": "与服务器的连接中断。",
|
"Settings": "设置",
|
||||||
"full_screen_view_description": "<0>提交日志以帮助我们修复问题。</0>",
|
"Sending…": "正在发送……",
|
||||||
"full_screen_view_h1": "<0>哎哟,出问题了。</0>",
|
"Sending debug logs…": "正在发送调试日志……",
|
||||||
"hangup_button_label": "通话结束",
|
"Send debug logs": "发送调试日志",
|
||||||
"header_label": "Element Call主页",
|
"Select an option": "选择一个选项",
|
||||||
"join_existing_call_modal": {
|
"Return to home screen": "返回主页",
|
||||||
"join_button": "是,加入通话",
|
"Remove": "移除",
|
||||||
"text": "该通话已存在,你想加入吗?",
|
"Release to stop": "松开后停止",
|
||||||
"title": "是否加入现有的通话?"
|
"Release spacebar key to stop": "松开空格键停止",
|
||||||
},
|
"Registering…": "正在注册……",
|
||||||
"layout_grid_label": "网格",
|
"Register": "注册",
|
||||||
"layout_spotlight_label": "聚焦模式",
|
"Recaptcha not loaded": "reCaptcha未加载",
|
||||||
"lobby": {
|
"Recaptcha dismissed": "reCaptcha验证失败",
|
||||||
"join_button": "加入通话",
|
"Profile": "个人信息",
|
||||||
"leave_button": "返回最近通话"
|
"Press and hold to talk over {{name}}": "按住不放即可与 {{name}} 通话",
|
||||||
},
|
"Press and hold to talk": "按住不放即可通话",
|
||||||
"logging_in": "登录中……",
|
"Press and hold spacebar to talk over {{name}}": "按住空格键,与 {{name}} 对话",
|
||||||
"login_auth_links": "<0>创建账户</0> Or <2>以访客身份继续</2>",
|
"Press and hold spacebar to talk": "按住空格键发言",
|
||||||
"login_title": "登录",
|
"Passwords must match": "密码必须匹配",
|
||||||
"microphone_off": "麦克风关闭",
|
"Password": "密码",
|
||||||
"microphone_on": "麦克风开启",
|
"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>",
|
||||||
"mute_microphone_button_label": "静音麦克风",
|
"Not registered yet? <2>Create an account</2>": "还没有注册? <2>创建账户<2>",
|
||||||
"rageshake_button_error_caption": "重传日志",
|
"Not now, return to home screen": "暂不,先返回主页",
|
||||||
"rageshake_request_modal": {
|
"No": "否",
|
||||||
"body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
|
"Mute microphone": "麦克风静音",
|
||||||
"title": "调试日志请求"
|
"More": "更多",
|
||||||
},
|
"Microphone permissions needed to join the call.": "加入通话需要麦克风权限。",
|
||||||
"rageshake_send_logs": "发送调试日志",
|
"Microphone {{n}}": "麦克风 {{n}}",
|
||||||
"rageshake_sending": "正在发送……",
|
"Microphone": "麦克风",
|
||||||
"rageshake_sending_logs": "正在发送调试日志……",
|
"Login to your account": "登录你的账户",
|
||||||
"rageshake_sent": "谢谢!",
|
"Login": "登录",
|
||||||
"recaptcha_caption": "该站点受 ReCAPTCHA 保护,适用于Google的 <2>隐私政策</2>和 <6>服务条款</6>。 <9></9>点击 \"注册\",即表示您同意我们的 <12>最终用户许可协议 (EULA)</12>",
|
"Logging in…": "登录中……",
|
||||||
"recaptcha_dismissed": "人机验证失败",
|
"Local volume": "本地音量",
|
||||||
"recaptcha_not_loaded": "recaptcha未加载",
|
"Loading…": "加载中……",
|
||||||
"register": {
|
"Leave": "离开",
|
||||||
"passwords_must_match": "密码必须匹配",
|
"Join existing call?": "加入现有的通话?",
|
||||||
"registering": "正在注册……"
|
"Join call now": "现在加入通话",
|
||||||
},
|
"Join call": "加入通话",
|
||||||
"register_auth_links": "<0>已有账户?</0><1><0>登录</0> Or <2>以访客身份继续</2></1>",
|
"Invite people": "邀请他人",
|
||||||
"register_confirm_password_label": "确认密码",
|
"Invite": "邀请",
|
||||||
"return_home_button": "返回主页",
|
"Incompatible versions!": "版本不兼容!",
|
||||||
"room_auth_view_eula_caption": "点击 \"加入通话\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
|
"Incompatible versions": "不兼容版本",
|
||||||
"room_auth_view_join_button": "现在加入通话",
|
"Include debug logs": "包含调试日志",
|
||||||
"screenshare_button_label": "屏幕共享",
|
"Home": "主页",
|
||||||
"select_input_unset_button": "选择一个选项",
|
"Grid layout menu": "网格布局菜单",
|
||||||
"settings": {
|
"Go": "开始",
|
||||||
"developer_settings_label": "开发者设置",
|
"Full screen": "全屏",
|
||||||
"developer_settings_label_description": "在设置中显示开发者设置。",
|
"Freedom": "自由模式",
|
||||||
"developer_tab_title": "开发者",
|
"Fetching group call timed out.": "获取群组通话超时。",
|
||||||
"feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。",
|
"Exit full screen": "退出全屏",
|
||||||
"feedback_tab_description_label": "您的反馈",
|
"Element Call Home": "Element Call 主页",
|
||||||
"feedback_tab_h4": "提交反馈",
|
"Download debug logs": "下载调试日志",
|
||||||
"feedback_tab_send_logs_label": "包含调试日志",
|
"Display name": "显示名称",
|
||||||
"feedback_tab_thank_you": "谢谢,我们收到了反馈!",
|
"Developer": "开发者",
|
||||||
"feedback_tab_title": "反馈",
|
"Details": "详情",
|
||||||
"more_tab_title": "更多",
|
"Debug log request": "调试日志请求",
|
||||||
"opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。",
|
"Debug log": "调试日志",
|
||||||
"show_connection_stats_label": "显示连接统计信息",
|
"Create account": "创建账户",
|
||||||
"speaker_device_selection_label": "发言人"
|
"Copy and share this call link": "复制并分享该链接",
|
||||||
},
|
"Copy": "复制",
|
||||||
"star_rating_input_label_one": "{{count}} 个星",
|
"Copied!": "已复制!",
|
||||||
"star_rating_input_label_other": "{{count}} 个星",
|
"Connection lost": "连接丢失",
|
||||||
"start_new_call": "开始新通话",
|
"Confirm password": "确认密码",
|
||||||
"start_video_button_label": "开始视频",
|
"Close": "关闭",
|
||||||
"stop_screenshare_button_label": "屏幕共享",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "点击开始则代表同意我们的<2>条款和条件<2>",
|
||||||
"stop_video_button_label": "停止视频",
|
"Change layout": "更改布局",
|
||||||
"submitting": "提交中…",
|
"Camera/microphone permissions needed to join the call.": "加入通话需要摄像头/麦克风权限。",
|
||||||
"unauthenticated_view_body": "还没有注册? <2>创建账户<2>",
|
"Camera {{n}}": "摄像头 {{n}}",
|
||||||
"unauthenticated_view_eula_caption": "点击 \"开始\",即表示您同意我们的<2>最终用户许可协议 (EULA)</2>",
|
"Camera": "摄像头",
|
||||||
"unauthenticated_view_login_button": "登录你的账户",
|
"Call type menu": "通话类型菜单",
|
||||||
"unmute_microphone_button_label": "取消麦克风静音",
|
"Call link copied": "链接已复制",
|
||||||
"version": "版本:{{version}}",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "点击“现在加入”则表示同意我们的<2>条款与条件<2>",
|
||||||
"video_tile": {
|
"Avatar": "头像",
|
||||||
"sfu_participant_local": "你"
|
"<0>Oops, something's gone wrong.</0>": "<0>哎哟,出问题了。</0>",
|
||||||
},
|
"<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.": ""
|
||||||
"waiting_for_participants": "等待其他参与者……"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,136 +1,146 @@
|
|||||||
{
|
{
|
||||||
"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": {
|
"{{roomName}} - Walkie-talkie call": "{{roomName}} - 對講機式通話",
|
||||||
"close": "關閉",
|
"{{names}}, {{name}}": "{{names}}, {{name}}",
|
||||||
"copy": "複製",
|
"{{name}} is talking…": "{{name}} 正在發言…",
|
||||||
"copy_link": "複製連結",
|
"{{name}} is presenting": "{{name}} 已上線",
|
||||||
"go": "前往",
|
"{{name}} (Waiting for video...)": "{{name}} (等候視訊中...)",
|
||||||
"invite": "邀請",
|
"{{name}} (Connecting...)": "{{name}} (連結中...)",
|
||||||
"no": "否",
|
"{{count}} people connected|other": "{{count}} 人已連結",
|
||||||
"register": "註冊",
|
"{{count}} people connected|one": "{{count}} 人已連結",
|
||||||
"remove": "移除",
|
"Use the upcoming grid system": "使用即將推出的網格系統",
|
||||||
"sign_in": "登入",
|
"Expose developer settings in the settings window.": "在設定視窗中顯示開發者設定。",
|
||||||
"sign_out": "登出",
|
"Developer Settings": "開發者設定",
|
||||||
"submit": "遞交"
|
"<0>Submitting debug logs will help us track down the problem.</0>": "<0>送出除錯紀錄,可幫助我們修正問題。</0>",
|
||||||
},
|
"<0>Oops, something's gone wrong.</0>": "<0>喔喔,有些地方怪怪的。</0>",
|
||||||
"analytics_notice": "參與此測試版即表示您同意蒐集匿名資料,我們使用這些資料來改進產品。您可以在我們的<2>隱私政策</2>與我們的 <6>Cookie 政策</6> 中找到關於我們追蹤哪些資料的更多資訊。",
|
"Your recent calls": "您最近的通話",
|
||||||
"app_selection_modal": {
|
"You can't talk at the same time": "您無法在同一時間發言",
|
||||||
"continue_in_browser": "在瀏覽器中繼續",
|
"Yes, join call": "是,加入對話",
|
||||||
"open_in_app": "在應用程式中開啟",
|
"WebRTC is not supported or is being blocked in this browser.": "此瀏覽器未支援 WebRTC 或 WebRTC 被瀏覽器封鎖。",
|
||||||
"text": "準備好加入了?",
|
"Walkie-talkie call name": "對講機式通話名稱",
|
||||||
"title": "選取應用程式"
|
"Walkie-talkie call": "即時通話",
|
||||||
},
|
"Waiting for other participants…": "等待其他參加者…",
|
||||||
"browser_media_e2ee_unsupported": "您的網路瀏覽器不支援媒體端到端加密。支援的瀏覽器包含了 Chrome、Safari、Firefox >=117",
|
"Waiting for network": "等待網路連線",
|
||||||
"call_ended_view": {
|
"Video call name": "視訊通話姓名",
|
||||||
"body": "您已從通話斷線",
|
"Video call": "視訊通話",
|
||||||
"create_account_button": "建立帳號",
|
"Video": "視訊",
|
||||||
"create_account_prompt": "<0>何不設定密碼以保留此帳號?</0><1>您可以保留暱稱並設定頭像,以便未來通話時使用</1>",
|
"Version: {{version}}": "版本: {{version}}",
|
||||||
"feedback_done": "<0>感謝您的回饋!</0>",
|
"Username": "使用者名稱",
|
||||||
"feedback_prompt": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>",
|
"User menu": "使用者選單",
|
||||||
"headline": "{{displayName}},您的通話已結束。",
|
"Unmute microphone": "取消麥克風靜音",
|
||||||
"not_now_button": "現在不行,回到首頁",
|
"Turn on camera": "開啟相機",
|
||||||
"reconnect_button": "重新連線",
|
"Turn off camera": "關閉相機",
|
||||||
"survey_prompt": "進展如何?"
|
"This will make a speaker's audio seem as if it is coming from where their tile is positioned on screen. (Experimental feature: this may impact the stability of audio.)": "這會使得發言者的聲音聽起來,像從他們在畫面中的位置傳來(實驗性功能:這可能會影響語音的穩定性。)",
|
||||||
},
|
"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>Terms and conditions</12>": "此網站使用Google 驗證碼技術保護,適用<2>隱私條款</2> 與<6>條款與細則</6> 。<9></9>按下「註冊」,表示您同意我們的<12>條款與細則</12>",
|
||||||
"call_name": "通話名稱",
|
"This feature is only supported on Firefox.": "只有 Firefox 支援此功能。",
|
||||||
"common": {
|
"This call already exists, would you like to join?": "通話已經開始,請問您要加入嗎?",
|
||||||
"audio": "語音",
|
"Thanks! We'll get right on it.": "謝謝您!我們會盡快處理。",
|
||||||
"avatar": "大頭照",
|
"Talking…": "對話中…",
|
||||||
"camera": "相機",
|
"Talk over speaker": "以擴音對話",
|
||||||
"copied": "已複製!",
|
"Take me Home": "帶我回主畫面",
|
||||||
"display_name": "顯示名稱",
|
"Submit feedback": "遞交回覆",
|
||||||
"encrypted": "已加密",
|
"Stop sharing screen": "停止分享螢幕畫面",
|
||||||
"home": "首頁",
|
"Spotlight": "聚焦",
|
||||||
"loading": "載入中…",
|
"Speaker {{n}}": "發言者{{n}}",
|
||||||
"microphone": "麥克風",
|
"Speaker": "發言者",
|
||||||
"password": "密碼",
|
"Spatial audio": "空間音效",
|
||||||
"profile": "個人檔案",
|
"Sign out": "登出",
|
||||||
"settings": "設定",
|
"Sign in": "登入",
|
||||||
"unencrypted": "未加密",
|
"Show call inspector": "顯示通話稽查員",
|
||||||
"username": "使用者名稱",
|
"Share screen": "分享畫面",
|
||||||
"video": "視訊"
|
"Settings": "設定",
|
||||||
},
|
"Sending…": "傳送中…",
|
||||||
"disconnected_banner": "到伺服器的連線已遺失。",
|
"Sending debug logs…": "傳送除錯記錄檔中…",
|
||||||
"full_screen_view_description": "<0>送出除錯紀錄,可幫助我們修正問題。</0>",
|
"Send debug logs": "傳送除錯紀錄",
|
||||||
"full_screen_view_h1": "<0>喔喔,有些地方怪怪的。</0>",
|
"Select an option": "選擇一個選項",
|
||||||
"hangup_button_label": "結束通話",
|
"Return to home screen": "回到首頁",
|
||||||
"header_label": "Element Call 首頁",
|
"Remove": "移除",
|
||||||
"header_participants_label": "參與者",
|
"Release to stop": "放開以停止",
|
||||||
"invite_modal": {
|
"Release spacebar key to stop": "放開空白鍵以停止",
|
||||||
"link_copied_toast": "連結已複製到剪貼簿",
|
"Registering…": "註冊中…",
|
||||||
"title": "邀請到此通話"
|
"Register": "註冊",
|
||||||
},
|
"Recaptcha not loaded": "驗證碼未載入",
|
||||||
"join_existing_call_modal": {
|
"Recaptcha dismissed": "略過驗證碼",
|
||||||
"join_button": "是,加入對話",
|
"Profile": "個人檔案",
|
||||||
"text": "通話已經開始,請問您要加入嗎?",
|
"Press and hold to talk over {{name}}": "與{{name}}對話時,請按住按鍵",
|
||||||
"title": "加入已開始的通話嗎?"
|
"Press and hold to talk": "請按住按鍵來發言",
|
||||||
},
|
"Press and hold spacebar to talk over {{name}}": "與{{name}}對話時,請按住空白鍵",
|
||||||
"layout_grid_label": "網格",
|
"Press and hold spacebar to talk": "說話時請按住空白鍵",
|
||||||
"layout_spotlight_label": "聚焦",
|
"Passwords must match": "密碼必須相符",
|
||||||
"lobby": {
|
"Password": "密碼",
|
||||||
"join_button": "加入通話",
|
"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>",
|
||||||
"leave_button": "回到最近的通話"
|
"Not registered yet? <2>Create an account</2>": "還沒註冊嗎?<2>建立帳號</2>",
|
||||||
},
|
"Not now, return to home screen": "現在不行,回到首頁",
|
||||||
"logging_in": "登入中…",
|
"No": "否",
|
||||||
"login_auth_links": "<0>建立帳號</0> 或<2>以訪客身份登入</2>",
|
"Mute microphone": "麥克風靜音",
|
||||||
"login_title": "登入",
|
"More": "更多",
|
||||||
"microphone_off": "麥克風關閉",
|
"Microphone permissions needed to join the call.": "加入通話前需要取得麥克風的權限。",
|
||||||
"microphone_on": "麥克風開啟",
|
"Microphone {{n}}": "麥克風 {{n}}",
|
||||||
"mute_microphone_button_label": "將麥克風靜音",
|
"Microphone": "麥克風",
|
||||||
"rageshake_button_error_caption": "重試傳送紀錄檔",
|
"Login to your account": "登入您的帳號",
|
||||||
"rageshake_request_modal": {
|
"Login": "登入",
|
||||||
"body": "這通對話中的另一位使用者遇到了某些問題。為了診斷問題,我們將會建立除錯紀錄。",
|
"Logging in…": "登入中…",
|
||||||
"title": "請求偵錯報告"
|
"Local volume": "您的音量",
|
||||||
},
|
"Loading…": "載入中…",
|
||||||
"rageshake_send_logs": "傳送除錯紀錄",
|
"Leave": "離開",
|
||||||
"rageshake_sending": "傳送中…",
|
"Join existing call?": "加入已開始的通話嗎?",
|
||||||
"rageshake_sending_logs": "傳送除錯記錄檔中…",
|
"Join call now": "現在加入通話",
|
||||||
"rageshake_sent": "感謝!",
|
"Join call": "加入通話",
|
||||||
"recaptcha_caption": "此網站被 ReCAPTCHA 保護,並適用 Google 的<2>隱私權政策</2>與<6>服務條款</6>。<9></9>點擊「註冊」即表示您同意我們的<12>終端使用者授權協議 (EULA)</12>",
|
"Invite people": "邀請夥伴",
|
||||||
"recaptcha_dismissed": "略過驗證碼",
|
"Invite": "邀請",
|
||||||
"recaptcha_not_loaded": "驗證碼未載入",
|
"Inspector": "稽查員",
|
||||||
"register": {
|
"Incompatible versions!": "不相容版本!",
|
||||||
"passwords_must_match": "密碼必須相符",
|
"Incompatible versions": "不相容版本",
|
||||||
"registering": "註冊中…"
|
"Include debug logs": "包含除錯紀錄",
|
||||||
},
|
"Home": "首頁",
|
||||||
"register_auth_links": "<0>已經有帳號?</0><1><0>登入</0> 或<2>以訪客身份登入</2></1>",
|
"Grid layout menu": "格框式清單",
|
||||||
"register_confirm_password_label": "確認密碼",
|
"Go": "前往",
|
||||||
"return_home_button": "回到首頁",
|
"Full screen": "全螢幕",
|
||||||
"room_auth_view_eula_caption": "點擊「立刻加入通話」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
"Freedom": "自由",
|
||||||
"room_auth_view_join_button": "現在加入通話",
|
"Fetching group call timed out.": "加入群組對話已逾時。",
|
||||||
"screenshare_button_label": "分享畫面",
|
"Exit full screen": "退出全螢幕",
|
||||||
"select_input_unset_button": "選擇一個選項",
|
"Element Call Home": "Element Call 首頁",
|
||||||
"settings": {
|
"Download debug logs": "下載偵錯報告",
|
||||||
"developer_settings_label": "開發者設定",
|
"Display name": "顯示名稱",
|
||||||
"developer_settings_label_description": "在設定視窗中顯示開發者設定。",
|
"Developer": "開發者",
|
||||||
"developer_tab_title": "開發者",
|
"Details": "詳細說明",
|
||||||
"feedback_tab_body": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。",
|
"Debug log request": "請求偵錯報告",
|
||||||
"feedback_tab_description_label": "您的回饋",
|
"Debug log": "除錯紀錄",
|
||||||
"feedback_tab_h4": "遞交回覆",
|
"Create account": "建立帳號",
|
||||||
"feedback_tab_send_logs_label": "包含除錯紀錄",
|
"Copy and share this call link": "複製並分享通話連結",
|
||||||
"feedback_tab_thank_you": "感謝,我們已經收到您的回饋了!",
|
"Copy": "複製",
|
||||||
"feedback_tab_title": "回饋",
|
"Copied!": "已複製!",
|
||||||
"more_tab_title": "更多",
|
"Connection lost": "連線中斷",
|
||||||
"opt_in_description": "<0></0><1></1>您可以透過取消核取此方塊來撤回同意。若您目前正在通話中,此設定將在通話結束時生效。",
|
"Confirm password": "確認密碼",
|
||||||
"show_connection_stats_label": "顯示連線統計資料",
|
"Close": "關閉",
|
||||||
"speaker_device_selection_label": "發言者"
|
"Change layout": "變更排列",
|
||||||
},
|
"Camera/microphone permissions needed to join the call.": "加入通話需要取得相機/麥克風的權限。",
|
||||||
"star_rating_input_label_one": "{{count}} 個星星",
|
"Camera {{n}}": "相機 {{n}}",
|
||||||
"star_rating_input_label_other": "{{count}} 個星星",
|
"Camera": "相機",
|
||||||
"start_new_call": "開始新通話",
|
"Call type menu": "通話類型選單",
|
||||||
"start_video_button_label": "開始影片",
|
"Call link copied": "已複製通話連結",
|
||||||
"stop_screenshare_button_label": "分享畫面",
|
"By clicking \"Join call now\", you agree to our <2>Terms and conditions</2>": "當您按下「加入通話」,您也同時同意了我們的條款與細則",
|
||||||
"stop_video_button_label": "停止影片",
|
"By clicking \"Go\", you agree to our <2>Terms and conditions</2>": "當您按下「前往」,你也同意了我們的條款與細則",
|
||||||
"submitting": "正在遞交……",
|
"Avatar": "大頭照",
|
||||||
"unauthenticated_view_body": "還沒註冊嗎?<2>建立帳號</2>",
|
"Audio": "語音",
|
||||||
"unauthenticated_view_eula_caption": "點擊「前往」即表示您同意我們的<2>終端使用者授權協議 (EULA)</2>",
|
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "這通對話中的另一位使用者遇到了某些問題。為了診斷問題,我們將會建立除錯紀錄。",
|
||||||
"unauthenticated_view_login_button": "登入您的帳號",
|
"Accept microphone permissions to join the call.": "請授權使用您的麥克風以加入通話。",
|
||||||
"unmute_microphone_button_label": "將麥克風取消靜音",
|
"Accept camera/microphone permissions to join the call.": "請授權使用您的相機/麥克風以加入對話。",
|
||||||
"version": "版本: {{version}}",
|
"<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>",
|
||||||
"video_tile": {
|
"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> 中找到關於我們追蹤哪些資料的更多資訊。",
|
||||||
"sfu_participant_local": "您"
|
"<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": "您的回饋",
|
||||||
"waiting_for_participants": "等待其他參加者…"
|
"Thanks, we received your feedback!": "感謝,我們已經收到您的回饋了!",
|
||||||
|
"Submitting…": "正在遞交……",
|
||||||
|
"Submit": "遞交",
|
||||||
|
"If you are experiencing issues or simply would like to provide some feedback, please send us a short description below.": "若您遇到問題或只是想提供一些回饋,請在下方傳送簡短說明給我們。",
|
||||||
|
"Feedback": "回饋",
|
||||||
|
"{{count}} stars|other": "{{count}} 個星星",
|
||||||
|
"<0>Thanks for your feedback!</0>": "<0>感謝您的回饋!</0>",
|
||||||
|
"<0>We'd love to hear your feedback so we can improve your experience.</0>": "<0>我們想要聽到您的回饋,如此我們才能改善您的體驗。</0>",
|
||||||
|
"{{count}} stars|one": "{{count}} 個星星",
|
||||||
|
"{{displayName}}, your call has ended.": "{{displayName}},您的通話已結束。",
|
||||||
|
"How did it go?": "進展如何?"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": ["config:base"],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"groupName": "all non-major dependencies",
|
|
||||||
"groupSlug": "all-minor-patch",
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"extends": ["schedule:weekly"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "GitHub Actions",
|
|
||||||
"matchDepTypes": ["action"],
|
|
||||||
"pinDigests": true,
|
|
||||||
"extends": ["schedule:monthly"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Disable Renovate for packages we want to monitor ourselves",
|
|
||||||
"groupName": "manually updated packages",
|
|
||||||
"matchDepNames": ["matrix-js-sdk"],
|
|
||||||
"enabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "matrix-widget-api",
|
|
||||||
"matchDepNames": ["matrix-widget-api"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "Compound",
|
|
||||||
"matchPackagePrefixes": ["@vector-im/compound-"],
|
|
||||||
"schedule": "before 5am on Tuesday and Friday"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "LiveKit client",
|
|
||||||
"matchDepNames": ["livekit-client"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "LiveKit components",
|
|
||||||
"matchPackagePrefixes": ["@livekit/components-"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"groupName": "Vaul",
|
|
||||||
"matchDepNames": ["vaul"],
|
|
||||||
"extends": ["schedule:monthly"],
|
|
||||||
"prHeader": "Please review modals on mobile for visual regressions."
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"semanticCommits": "disabled"
|
|
||||||
}
|
|
||||||
25
src/@types/global.d.ts
vendored
25
src/@types/global.d.ts
vendored
@@ -1,12 +1,20 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 "matrix-js-sdk/src/@types/global";
|
import "matrix-js-sdk/src/@types/global";
|
||||||
import { Controls } from "../controls";
|
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Document {
|
interface Document {
|
||||||
@@ -16,7 +24,14 @@ declare global {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface Window {
|
interface Window {
|
||||||
controls: Controls;
|
// TODO: https://gitlab.matrix.org/matrix-org/olm/-/issues/10
|
||||||
|
OLM_OPTIONS: Record<string, string>;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TypeScript doesn't know about the experimental setSinkId method, so we
|
||||||
|
// declare it ourselves
|
||||||
|
interface MediaElement extends HTMLVideoElement {
|
||||||
|
setSinkId: (id: string) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface HTMLElement {
|
interface HTMLElement {
|
||||||
|
|||||||
20
src/@types/i18next.d.ts
vendored
20
src/@types/i18next.d.ts
vendored
@@ -1,20 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
15
src/@types/modules.d.ts
vendored
15
src/@types/modules.d.ts
vendored
@@ -1,8 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// <reference types="vite/client" />
|
/// <reference types="vite/client" />
|
||||||
|
|||||||
149
src/App.tsx
149
src/App.tsx
@@ -1,115 +1,96 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2021-2024 New Vector Ltd.
|
Copyright 2021 - 2023 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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, Suspense, useEffect, useState } from "react";
|
import React, { 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 { History } from "history";
|
import { OverlayProvider } from "@react-aria/overlays";
|
||||||
import { TooltipProvider } from "@vector-im/compound-web";
|
|
||||||
import { logger } from "matrix-js-sdk/src/logger";
|
|
||||||
|
|
||||||
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 { DisconnectedBanner } from "./DisconnectedBanner";
|
||||||
import { Initializer } from "./initializer";
|
import { Initializer } from "./initializer";
|
||||||
import { MediaDevicesProvider } from "./livekit/MediaDevicesContext";
|
import { MediaHandlerProvider } from "./settings/useMediaHandler";
|
||||||
import { widget } from "./widget";
|
|
||||||
import { useTheme } from "./useTheme";
|
|
||||||
|
|
||||||
const SentryRoute = Sentry.withSentryRouting(Route);
|
const SentryRoute = Sentry.withSentryRouting(Route);
|
||||||
|
|
||||||
interface SimpleProviderProps {
|
|
||||||
children: JSX.Element;
|
|
||||||
}
|
|
||||||
|
|
||||||
const BackgroundProvider: FC<SimpleProviderProps> = ({ children }) => {
|
|
||||||
const { pathname } = useLocation();
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
let backgroundImage = "";
|
|
||||||
if (!["/login", "/register"].includes(pathname) && !widget) {
|
|
||||||
backgroundImage = "var(--background-gradient)";
|
|
||||||
}
|
|
||||||
|
|
||||||
document.getElementsByTagName("body")[0].style.backgroundImage =
|
|
||||||
backgroundImage;
|
|
||||||
}, [pathname]);
|
|
||||||
|
|
||||||
return <>{children}</>;
|
|
||||||
};
|
|
||||||
const ThemeProvider: FC<SimpleProviderProps> = ({ children }) => {
|
|
||||||
useTheme();
|
|
||||||
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(() => {
|
||||||
Initializer.init()
|
Initializer.init()?.then(() => {
|
||||||
?.then(async () => {
|
setLoaded(true);
|
||||||
if (loaded) return;
|
});
|
||||||
setLoaded(true);
|
|
||||||
await widget?.api.sendContentLoaded();
|
|
||||||
})
|
|
||||||
.catch(logger.error);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
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 ? (
|
||||||
<ThemeProvider>
|
<Suspense fallback={null}>
|
||||||
<TooltipProvider>
|
<ClientProvider>
|
||||||
{loaded ? (
|
<MediaHandlerProvider>
|
||||||
<Suspense fallback={null}>
|
<InspectorContextProvider>
|
||||||
<ClientProvider>
|
<Sentry.ErrorBoundary fallback={errorPage}>
|
||||||
<MediaDevicesProvider>
|
<OverlayProvider>
|
||||||
<Sentry.ErrorBoundary fallback={errorPage}>
|
<DisconnectedBanner />
|
||||||
<DisconnectedBanner />
|
<Switch>
|
||||||
<Switch>
|
<SentryRoute exact path="/">
|
||||||
<SentryRoute exact path="/">
|
<HomePage />
|
||||||
<HomePage />
|
</SentryRoute>
|
||||||
</SentryRoute>
|
<SentryRoute exact path="/login">
|
||||||
<SentryRoute exact path="/login">
|
<LoginPage />
|
||||||
<LoginPage />
|
</SentryRoute>
|
||||||
</SentryRoute>
|
<SentryRoute exact path="/register">
|
||||||
<SentryRoute exact path="/register">
|
<RegisterPage />
|
||||||
<RegisterPage />
|
</SentryRoute>
|
||||||
</SentryRoute>
|
<SentryRoute path="/room/:roomId?">
|
||||||
<SentryRoute path="*">
|
<RoomPage />
|
||||||
<RoomPage />
|
</SentryRoute>
|
||||||
</SentryRoute>
|
<SentryRoute path="/inspector">
|
||||||
</Switch>
|
<SequenceDiagramViewerPage />
|
||||||
</Sentry.ErrorBoundary>
|
</SentryRoute>
|
||||||
</MediaDevicesProvider>
|
<SentryRoute path="*">
|
||||||
</ClientProvider>
|
<RoomRedirect />
|
||||||
</Suspense>
|
</SentryRoute>
|
||||||
) : (
|
</Switch>
|
||||||
<LoadingView />
|
</OverlayProvider>
|
||||||
)}
|
</Sentry.ErrorBoundary>
|
||||||
</TooltipProvider>
|
</InspectorContextProvider>
|
||||||
</ThemeProvider>
|
</MediaHandlerProvider>
|
||||||
</BackgroundProvider>
|
</ClientProvider>
|
||||||
|
</Suspense>
|
||||||
|
) : (
|
||||||
|
<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;
|
||||||
|
}
|
||||||
124
src/Avatar.tsx
124
src/Avatar.tsx
@@ -1,15 +1,37 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 { useMemo, FC } from "react";
|
import React, { useMemo, CSSProperties } 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 "./utils/matrix";
|
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",
|
||||||
@@ -27,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++) {
|
||||||
src?: string;
|
sum += str.charCodeAt(i);
|
||||||
size?: Size | number;
|
}
|
||||||
|
|
||||||
|
return sum % arrLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Avatar: FC<Props> = ({
|
const resolveAvatarSrc = (client: MatrixClient, src: string, size: number) =>
|
||||||
className,
|
src?.startsWith("mxc://") ? client && getAvatarUrl(client, src, size) : src;
|
||||||
id,
|
|
||||||
name,
|
interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
||||||
|
bgKey?: string;
|
||||||
|
src?: string;
|
||||||
|
size?: Size | number;
|
||||||
|
className?: string;
|
||||||
|
style?: CSSProperties;
|
||||||
|
fallback: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Avatar: React.FC<Props> = ({
|
||||||
|
bgKey,
|
||||||
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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,33 +1,41 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2021-2024 New Vector Ltd.
|
Copyright 2021-2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 {
|
import React, {
|
||||||
FC,
|
FC,
|
||||||
useCallback,
|
useCallback,
|
||||||
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 {
|
import { ClientEvent, MatrixClient } from "matrix-js-sdk/src/client";
|
||||||
ClientEvent,
|
|
||||||
ICreateClientOpts,
|
|
||||||
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 { ISyncStateData, SyncState } from "matrix-js-sdk/src/sync";
|
||||||
import { MatrixError } from "matrix-js-sdk/src/matrix";
|
|
||||||
|
|
||||||
import { ErrorView } from "./FullScreenView";
|
import { ErrorView } from "./FullScreenView";
|
||||||
import { fallbackICEServerAllowed, initClient } from "./utils/matrix";
|
import {
|
||||||
|
initClient,
|
||||||
|
CryptoStoreIntegrityError,
|
||||||
|
fallbackICEServerAllowed,
|
||||||
|
} from "./matrix-utils";
|
||||||
import { widget } from "./widget";
|
import { widget } from "./widget";
|
||||||
import {
|
import {
|
||||||
PosthogAnalytics,
|
PosthogAnalytics,
|
||||||
@@ -40,349 +48,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 (): void => {
|
|
||||||
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: ICreateClientOpts = {
|
|
||||||
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 MatrixError && err.errcode === "M_UNKNOWN_TOKEN") {
|
|
||||||
// We can't use this session anymore, so let's log it out
|
|
||||||
logger.log(
|
|
||||||
"The session from local store is invalid; continuing without a client",
|
|
||||||
);
|
|
||||||
clearSession();
|
|
||||||
// returning null = "no client` pls register" (undefined = "loading" which is the current value when reaching this line)
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
throw err;
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
clearSession();
|
|
||||||
throw err;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -394,20 +60,341 @@ 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");
|
||||||
|
const isDisconnected = (syncState, syncData) =>
|
||||||
|
syncState === "ERROR" && syncData?.error?.name === "ConnectionError";
|
||||||
|
|
||||||
|
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;
|
||||||
|
disconnected: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
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,
|
||||||
|
disconnected,
|
||||||
|
},
|
||||||
|
setState,
|
||||||
|
] = useState<ClientProviderState>({
|
||||||
|
loading: true,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
client: undefined,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
disconnected: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
const onSync = (state: SyncState, _old: SyncState, data: ISyncStateData) => {
|
||||||
|
setState((currentState) => {
|
||||||
|
const disconnected = isDisconnected(state, data);
|
||||||
|
return disconnected === currentState.disconnected
|
||||||
|
? currentState
|
||||||
|
: { ...currentState, disconnected };
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
try {
|
||||||
|
return {
|
||||||
|
client: await initClient(
|
||||||
|
{
|
||||||
|
baseUrl: Config.defaultHomeserverUrl(),
|
||||||
|
accessToken: access_token,
|
||||||
|
userId: user_id,
|
||||||
|
deviceId: device_id,
|
||||||
|
fallbackICEServerAllowed: fallbackICEServerAllowed,
|
||||||
|
},
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
let clientWithListener: MatrixClient;
|
||||||
|
init()
|
||||||
|
.then(({ client, isPasswordlessUser }) => {
|
||||||
|
clientWithListener = client;
|
||||||
|
setState({
|
||||||
|
client,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: Boolean(client),
|
||||||
|
isPasswordlessUser,
|
||||||
|
userName: client?.getUserIdLocalpart(),
|
||||||
|
error: undefined,
|
||||||
|
disconnected: isDisconnected(
|
||||||
|
client?.getSyncState,
|
||||||
|
client?.getSyncStateData
|
||||||
|
),
|
||||||
|
});
|
||||||
|
clientWithListener?.on(ClientEvent.Sync, onSync);
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
logger.error(err);
|
||||||
|
setState({
|
||||||
|
client: undefined,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
disconnected: false,
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.finally(() => (initializing.current = false));
|
||||||
|
return () => {
|
||||||
|
clientWithListener?.removeListener(ClientEvent.Sync, onSync);
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
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,
|
||||||
|
disconnected: false,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
[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,
|
||||||
|
disconnected: isDisconnected(
|
||||||
|
newClient.getSyncState(),
|
||||||
|
newClient.getSyncStateData()
|
||||||
|
),
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
clearSession();
|
||||||
|
|
||||||
|
setState({
|
||||||
|
client: undefined,
|
||||||
|
loading: false,
|
||||||
|
isAuthenticated: false,
|
||||||
|
isPasswordlessUser: false,
|
||||||
|
userName: null,
|
||||||
|
error: undefined,
|
||||||
|
disconnected: false,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
[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,
|
||||||
|
disconnected: false,
|
||||||
|
});
|
||||||
|
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,
|
||||||
|
disconnected,
|
||||||
|
}),
|
||||||
|
[
|
||||||
|
loading,
|
||||||
|
isAuthenticated,
|
||||||
|
isPasswordlessUser,
|
||||||
|
client,
|
||||||
|
changePassword,
|
||||||
|
logout,
|
||||||
|
userName,
|
||||||
|
setClient,
|
||||||
|
disconnected,
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
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,14 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
Copyright 2023 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.banner {
|
.banner {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 29px;
|
padding: 29px;
|
||||||
background-color: var(--cpd-color-bg-subtle-primary);
|
background-color: var(--quaternary-content);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-size: var(--font-size-body);
|
font-size: var(--font-size-body);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -1,44 +1,47 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
Copyright 2023 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 classNames from "classnames";
|
||||||
import { FC, HTMLAttributes, ReactNode } from "react";
|
import React, { HTMLAttributes, ReactNode } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
import styles from "./DisconnectedBanner.module.css";
|
import styles from "./DisconnectedBanner.module.css";
|
||||||
import { ValidClientState, useClientState } from "./ClientContext";
|
import { useClient } from "./ClientContext";
|
||||||
|
|
||||||
interface Props extends HTMLAttributes<HTMLElement> {
|
interface DisconnectedBannerProps extends HTMLAttributes<HTMLElement> {
|
||||||
children?: ReactNode;
|
children?: ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DisconnectedBanner: FC<Props> = ({
|
export function DisconnectedBanner({
|
||||||
children,
|
children,
|
||||||
className,
|
className,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}: DisconnectedBannerProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const clientState = useClientState();
|
const { disconnected } = useClient();
|
||||||
let shouldShowBanner = false;
|
|
||||||
|
|
||||||
if (clientState?.state === "valid") {
|
|
||||||
const validClientState = clientState as ValidClientState;
|
|
||||||
shouldShowBanner = validClientState.disconnected;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{shouldShowBanner && (
|
{disconnected && (
|
||||||
<div className={classNames(styles.banner, className)} {...rest}>
|
<div className={classNames(styles.banner, className)} {...rest}>
|
||||||
{children}
|
{children}
|
||||||
{t("disconnected_banner")}
|
{t("Connectivity to the server has been lost.")}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
42
src/Facepile.module.css
Normal file
42
src/Facepile.module.css
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.facepile {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.facepile.xs {
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.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 React, { 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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,8 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
|
|||||||
@@ -1,40 +1,44 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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, ReactNode, useCallback, useEffect } from "react";
|
import React, { 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 { Button } from "@vector-im/compound-web";
|
|
||||||
|
|
||||||
import { Header, HeaderLogo, LeftNav, RightNav } from "./Header";
|
import { Header, HeaderLogo, LeftNav, RightNav } from "./Header";
|
||||||
import { LinkButton } 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";
|
|
||||||
import { useUrlParams } from "./UrlParams";
|
|
||||||
|
|
||||||
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,
|
|
||||||
}) => {
|
|
||||||
const { hideHeader } = useUrlParams();
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(styles.page, className)}>
|
<div className={classNames(styles.page, className)}>
|
||||||
<Header>
|
<Header>
|
||||||
<LeftNav>{!hideHeader && <HeaderLogo />}</LeftNav>
|
<LeftNav>
|
||||||
|
<HeaderLogo />
|
||||||
|
</LeftNav>
|
||||||
<RightNav />
|
<RightNav />
|
||||||
</Header>
|
</Header>
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
@@ -42,20 +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 { confineToRoom } = useUrlParams();
|
|
||||||
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(() => {
|
||||||
@@ -64,59 +66,101 @@ 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 === "/" ? (
|
||||||
{!confineToRoom &&
|
<Button
|
||||||
(location.pathname === "/" ? (
|
size="lg"
|
||||||
<Button className={styles.homeLink} onClick={onReload}>
|
variant="default"
|
||||||
{t("return_home_button")}
|
className={styles.homeLink}
|
||||||
</Button>
|
onPress={onReload}
|
||||||
) : (
|
>
|
||||||
<LinkButton className={styles.homeLink} to="/">
|
{t("Return to home screen")}
|
||||||
{t("return_home_button")}
|
</Button>
|
||||||
</LinkButton>
|
) : (
|
||||||
))}
|
<LinkButton
|
||||||
|
size="lg"
|
||||||
|
variant="default"
|
||||||
|
className={styles.homeLink}
|
||||||
|
to="/"
|
||||||
|
>
|
||||||
|
{t("Return to home screen")}
|
||||||
|
</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>
|
||||||
<Button className={styles.wideButton} onClick={onReload}>
|
{error && (
|
||||||
{t("return_home_button")}
|
<ErrorMessage error={translatedError("Couldn't send debug logs!", t)} />
|
||||||
|
)}
|
||||||
|
<Button
|
||||||
|
size="lg"
|
||||||
|
variant="default"
|
||||||
|
className={styles.wideButton}
|
||||||
|
onPress={onReload}
|
||||||
|
>
|
||||||
|
{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>
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -1,8 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@@ -12,7 +21,6 @@ Please see LICENSE in the repository root for full details.
|
|||||||
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 {
|
||||||
@@ -20,11 +28,11 @@ Please see LICENSE in the repository root for full details.
|
|||||||
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 {
|
||||||
color: var(--cpd-color-text-primary);
|
|
||||||
display: none;
|
display: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -58,55 +66,81 @@ Please see LICENSE in the repository root for full details.
|
|||||||
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;
|
|
||||||
min-width: 0;
|
|
||||||
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;
|
||||||
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;
|
||||||
color: var(--cpd-color-text-secondary);
|
}
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
.versionMismatchWarning::before {
|
||||||
gap: var(--cpd-space-1-5x);
|
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;
|
||||||
@@ -115,4 +149,8 @@ Please see LICENSE in the repository root for full details.
|
|||||||
.leftNav h3 {
|
.leftNav h3 {
|
||||||
font-size: var(--font-size-subtitle);
|
font-size: var(--font-size-subtitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav {
|
||||||
|
height: 76px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
106
src/Header.stories.jsx
Normal file
106
src/Header.stories.jsx
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
import React from "react";
|
||||||
|
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>
|
||||||
|
);
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { expect, test } from "vitest";
|
|
||||||
import { render, screen } from "@testing-library/react";
|
|
||||||
import { axe } from "vitest-axe";
|
|
||||||
import { TooltipProvider } from "@vector-im/compound-web";
|
|
||||||
|
|
||||||
import { RoomHeaderInfo } from "./Header";
|
|
||||||
|
|
||||||
test("RoomHeaderInfo is accessible", async () => {
|
|
||||||
const { container } = render(
|
|
||||||
<TooltipProvider>
|
|
||||||
<RoomHeaderInfo
|
|
||||||
id="!a:example.org"
|
|
||||||
name="Mission Control"
|
|
||||||
avatarUrl=""
|
|
||||||
encrypted
|
|
||||||
participantCount={11}
|
|
||||||
/>
|
|
||||||
</TooltipProvider>,
|
|
||||||
);
|
|
||||||
expect(await axe(container)).toHaveNoViolations();
|
|
||||||
// Check that the room name acts as a heading
|
|
||||||
screen.getByRole("heading", { name: "Mission Control" });
|
|
||||||
});
|
|
||||||
204
src/Header.tsx
204
src/Header.tsx
@@ -1,43 +1,49 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 classNames from "classnames";
|
||||||
import { FC, HTMLAttributes, ReactNode, forwardRef } from "react";
|
import React, { HTMLAttributes, ReactNode, useCallback, useRef } from "react";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
import { useButton } from "@react-aria/button";
|
||||||
|
import { AriaButtonProps } from "@react-types/button";
|
||||||
|
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/assets/web/icons";
|
|
||||||
|
|
||||||
import styles from "./Header.module.css";
|
import styles from "./Header.module.css";
|
||||||
import Logo from "./icons/Logo.svg?react";
|
import { useModalTriggerState } from "./Modal";
|
||||||
|
import { Button } from "./button";
|
||||||
|
import { ReactComponent as Logo } from "./icons/Logo.svg";
|
||||||
|
import { ReactComponent as VideoIcon } from "./icons/Video.svg";
|
||||||
|
import { Subtitle } from "./typography/Typography";
|
||||||
import { Avatar, Size } from "./Avatar";
|
import { Avatar, Size } from "./Avatar";
|
||||||
import { EncryptionLock } from "./room/EncryptionLock";
|
import { IncompatibleVersionModal } from "./IncompatibleVersionModal";
|
||||||
import { useMediaQuery } from "./useMediaQuery";
|
import { ReactComponent as ArrowLeftIcon } from "./icons/ArrowLeft.svg";
|
||||||
|
|
||||||
interface HeaderProps extends HTMLAttributes<HTMLElement> {
|
interface HeaderProps extends HTMLAttributes<HTMLElement> {
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Header = forwardRef<HTMLElement, HeaderProps>(
|
export function Header({ children, className, ...rest }: HeaderProps) {
|
||||||
({ children, className, ...rest }, ref) => {
|
return (
|
||||||
return (
|
<header className={classNames(styles.header, className)} {...rest}>
|
||||||
<header
|
{children}
|
||||||
ref={ref}
|
</header>
|
||||||
className={classNames(styles.header, className)}
|
);
|
||||||
{...rest}
|
}
|
||||||
>
|
|
||||||
{children}
|
|
||||||
</header>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
Header.displayName = "Header";
|
|
||||||
|
|
||||||
interface LeftNavProps extends HTMLAttributes<HTMLElement> {
|
interface LeftNavProps extends HTMLAttributes<HTMLElement> {
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
@@ -45,26 +51,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;
|
||||||
@@ -72,95 +78,127 @@ 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 | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const RoomHeaderInfo: FC<RoomHeaderInfoProps> = ({
|
interface RoomHeaderInfo {
|
||||||
id,
|
roomName: string;
|
||||||
name,
|
avatarUrl: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function RoomHeaderInfo({ roomName, avatarUrl }: RoomHeaderInfo) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<div className={styles.roomAvatar}>
|
||||||
|
<Avatar
|
||||||
|
size={Size.MD}
|
||||||
|
src={avatarUrl}
|
||||||
|
bgKey={roomName}
|
||||||
|
fallback={roomName.slice(0, 1).toUpperCase()}
|
||||||
|
/>
|
||||||
|
<VideoIcon width={16} height={16} />
|
||||||
|
</div>
|
||||||
|
<Subtitle data-testid="roomHeader_roomName" fontWeight="semiBold">
|
||||||
|
{roomName}
|
||||||
|
</Subtitle>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RoomSetupHeaderInfoProps extends AriaButtonProps<"button"> {
|
||||||
|
roomName: string;
|
||||||
|
avatarUrl: string;
|
||||||
|
isEmbedded: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function RoomSetupHeaderInfo({
|
||||||
|
roomName,
|
||||||
avatarUrl,
|
avatarUrl,
|
||||||
encrypted,
|
isEmbedded,
|
||||||
participantCount,
|
...rest
|
||||||
}) => {
|
}: RoomSetupHeaderInfoProps) {
|
||||||
const { t } = useTranslation();
|
const ref = useRef();
|
||||||
const size = useMediaQuery("(max-width: 550px)") ? "sm" : "lg";
|
const { buttonProps } = useButton(rest, ref);
|
||||||
|
|
||||||
|
if (isEmbedded) {
|
||||||
|
return (
|
||||||
|
<div ref={ref}>
|
||||||
|
<RoomHeaderInfo roomName={roomName} avatarUrl={avatarUrl} />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.roomHeaderInfo} data-size={size}>
|
<button className={styles.backButton} ref={ref} {...buttonProps}>
|
||||||
<Avatar
|
<ArrowLeftIcon width={16} height={16} />
|
||||||
className={styles.roomAvatar}
|
<RoomHeaderInfo roomName={roomName} avatarUrl={avatarUrl} />
|
||||||
id={id}
|
</button>
|
||||||
name={name}
|
|
||||||
size={size === "sm" ? Size.SM : 56}
|
|
||||||
src={avatarUrl ?? undefined}
|
|
||||||
/>
|
|
||||||
<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) > 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 ?? 0 })}
|
|
||||||
</Text>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
|
|
||||||
|
interface VersionMismatchWarningProps {
|
||||||
|
users: Set<string>;
|
||||||
|
room: Room;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function VersionMismatchWarning({
|
||||||
|
users,
|
||||||
|
room,
|
||||||
|
}: VersionMismatchWarningProps) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
const { modalState, modalProps } = useModalTriggerState();
|
||||||
|
|
||||||
|
const onDetailsClick = useCallback(() => {
|
||||||
|
modalState.open();
|
||||||
|
}, [modalState]);
|
||||||
|
|
||||||
|
if (users.size === 0) return null;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<span className={styles.versionMismatchWarning}>
|
||||||
|
{t("Incompatible versions!")}
|
||||||
|
<Button variant="link" onClick={onDetailsClick}>
|
||||||
|
{t("Details")}
|
||||||
|
</Button>
|
||||||
|
{modalState.isOpen && (
|
||||||
|
<IncompatibleVersionModal userIds={users} room={room} {...modalProps} />
|
||||||
|
)}
|
||||||
|
</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 React, { 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: React.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>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -1,8 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 { IndexedDBStoreWorker } from "matrix-js-sdk/src/indexeddb-worker";
|
import { IndexedDBStoreWorker } from "matrix-js-sdk/src/indexeddb-worker";
|
||||||
|
|||||||
@@ -1,8 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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 EventEmitter from "events";
|
import EventEmitter from "events";
|
||||||
@@ -54,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);
|
||||||
}
|
}
|
||||||
|
|||||||
49
src/ListBox.module.css
Normal file
49
src/ListBox.module.css
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.listBox {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
max-height: 150px;
|
||||||
|
overflow-y: auto;
|
||||||
|
list-style: none;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid var(--quinary-content);
|
||||||
|
background-color: var(--background);
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background-color: transparent;
|
||||||
|
color: var(--primary-content);
|
||||||
|
padding: 8px 16px;
|
||||||
|
outline: none;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: var(--font-size-body);
|
||||||
|
min-height: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option.focused {
|
||||||
|
background-color: rgba(111, 120, 130, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.option.disabled {
|
||||||
|
color: var(--quaternary-content);
|
||||||
|
background-color: var(--bgColor3);
|
||||||
|
}
|
||||||
105
src/ListBox.tsx
Normal file
105
src/ListBox.tsx
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
/*
|
||||||
|
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 React, { useCallback, useRef } from "react";
|
||||||
|
import { useListBox, useOption, AriaListBoxOptions } from "@react-aria/listbox";
|
||||||
|
import { ListState } from "@react-stately/list";
|
||||||
|
import { Node } from "@react-types/shared";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
|
import styles from "./ListBox.module.css";
|
||||||
|
|
||||||
|
interface ListBoxProps<T> extends AriaListBoxOptions<T> {
|
||||||
|
optionClassName: string;
|
||||||
|
state: ListState<T>;
|
||||||
|
className?: string;
|
||||||
|
listBoxRef?: React.MutableRefObject<HTMLUListElement>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ListBox<T>({
|
||||||
|
state,
|
||||||
|
optionClassName,
|
||||||
|
className,
|
||||||
|
listBoxRef,
|
||||||
|
...rest
|
||||||
|
}: ListBoxProps<T>) {
|
||||||
|
const ref = useRef<HTMLUListElement>();
|
||||||
|
if (!listBoxRef) listBoxRef = ref;
|
||||||
|
|
||||||
|
const { listBoxProps } = useListBox(rest, state, listBoxRef);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<ul
|
||||||
|
{...listBoxProps}
|
||||||
|
ref={listBoxRef}
|
||||||
|
className={classNames(styles.listBox, className)}
|
||||||
|
>
|
||||||
|
{[...state.collection].map((item) => (
|
||||||
|
<Option
|
||||||
|
key={item.key}
|
||||||
|
item={item}
|
||||||
|
state={state}
|
||||||
|
className={optionClassName}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
interface OptionProps<T> {
|
||||||
|
className: string;
|
||||||
|
state: ListState<T>;
|
||||||
|
item: Node<T>;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Option<T>({ item, state, className }: OptionProps<T>) {
|
||||||
|
const ref = useRef();
|
||||||
|
const { optionProps, isSelected, isFocused, isDisabled } = useOption(
|
||||||
|
{ key: item.key },
|
||||||
|
state,
|
||||||
|
ref
|
||||||
|
);
|
||||||
|
|
||||||
|
// Hack: remove the onPointerUp event handler and re-wire it to
|
||||||
|
// onClick. Chrome Android triggers a click event after the onpointerup
|
||||||
|
// event which leaks through to elements underneath the z-indexed select
|
||||||
|
// popover. preventDefault / stopPropagation don't have any effect, even
|
||||||
|
// adding just a dummy onClick handler still doesn't work, but it's fine
|
||||||
|
// if we handle just onClick.
|
||||||
|
// https://github.com/vector-im/element-call/issues/762
|
||||||
|
const origPointerUp = optionProps.onPointerUp;
|
||||||
|
delete optionProps.onPointerUp;
|
||||||
|
optionProps.onClick = useCallback(
|
||||||
|
(e) => {
|
||||||
|
origPointerUp(e as unknown as React.PointerEvent<HTMLElement>);
|
||||||
|
},
|
||||||
|
[origPointerUp]
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<li
|
||||||
|
{...optionProps}
|
||||||
|
ref={ref}
|
||||||
|
className={classNames(styles.option, className, {
|
||||||
|
[styles.selected]: isSelected,
|
||||||
|
[styles.focused]: isFocused,
|
||||||
|
[styles.disables]: isDisabled,
|
||||||
|
})}
|
||||||
|
>
|
||||||
|
{item.rendered}
|
||||||
|
</li>
|
||||||
|
);
|
||||||
|
}
|
||||||
69
src/Menu.module.css
Normal file
69
src/Menu.module.css
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.menu {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem {
|
||||||
|
cursor: pointer;
|
||||||
|
height: 48px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 12px;
|
||||||
|
color: var(--primary-content);
|
||||||
|
font-size: var(--font-size-body);
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem > * {
|
||||||
|
margin: 0 10px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem > :last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem.focused,
|
||||||
|
.menuItem:hover {
|
||||||
|
background-color: var(--quinary-content);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem.focused:first-child,
|
||||||
|
.menuItem:hover:first-child {
|
||||||
|
border-top-left-radius: 8px;
|
||||||
|
border-top-right-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuItem.focused:last-child,
|
||||||
|
.menuItem:hover:last-child {
|
||||||
|
border-bottom-left-radius: 8px;
|
||||||
|
border-bottom-right-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkIcon {
|
||||||
|
position: absolute;
|
||||||
|
right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkIcon * {
|
||||||
|
stroke: var(--primary-content);
|
||||||
|
}
|
||||||
97
src/Menu.tsx
Normal file
97
src/Menu.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 React, { Key, useRef, useState } from "react";
|
||||||
|
import { AriaMenuOptions, useMenu, useMenuItem } from "@react-aria/menu";
|
||||||
|
import { TreeState, useTreeState } from "@react-stately/tree";
|
||||||
|
import { mergeProps } from "@react-aria/utils";
|
||||||
|
import { useFocus } from "@react-aria/interactions";
|
||||||
|
import classNames from "classnames";
|
||||||
|
import { Node } from "@react-types/shared";
|
||||||
|
|
||||||
|
import styles from "./Menu.module.css";
|
||||||
|
|
||||||
|
interface MenuProps<T> extends AriaMenuOptions<T> {
|
||||||
|
className?: String;
|
||||||
|
onClose?: () => void;
|
||||||
|
onAction: (value: Key) => void;
|
||||||
|
label?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Menu<T extends object>({
|
||||||
|
className,
|
||||||
|
onAction,
|
||||||
|
onClose,
|
||||||
|
label,
|
||||||
|
...rest
|
||||||
|
}: MenuProps<T>) {
|
||||||
|
const state = useTreeState<T>({ ...rest, selectionMode: "none" });
|
||||||
|
const menuRef = useRef();
|
||||||
|
const { menuProps } = useMenu<T>(rest, state, menuRef);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<ul
|
||||||
|
{...mergeProps(menuProps, rest)}
|
||||||
|
ref={menuRef}
|
||||||
|
className={classNames(styles.menu, className)}
|
||||||
|
>
|
||||||
|
{[...state.collection].map((item) => (
|
||||||
|
<MenuItem
|
||||||
|
key={item.key}
|
||||||
|
item={item}
|
||||||
|
state={state}
|
||||||
|
onAction={onAction}
|
||||||
|
onClose={onClose}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
interface MenuItemProps<T> {
|
||||||
|
item: Node<T>;
|
||||||
|
state: TreeState<T>;
|
||||||
|
onAction: (value: Key) => void;
|
||||||
|
onClose: () => void;
|
||||||
|
}
|
||||||
|
|
||||||
|
function MenuItem<T>({ item, state, onAction, onClose }: MenuItemProps<T>) {
|
||||||
|
const ref = useRef();
|
||||||
|
const { menuItemProps } = useMenuItem(
|
||||||
|
{
|
||||||
|
key: item.key,
|
||||||
|
onAction,
|
||||||
|
onClose,
|
||||||
|
},
|
||||||
|
state,
|
||||||
|
ref
|
||||||
|
);
|
||||||
|
|
||||||
|
const [isFocused, setFocused] = useState(false);
|
||||||
|
const { focusProps } = useFocus({ onFocusChange: setFocused });
|
||||||
|
|
||||||
|
return (
|
||||||
|
<li
|
||||||
|
{...mergeProps(menuItemProps, focusProps)}
|
||||||
|
ref={ref}
|
||||||
|
className={classNames(styles.menuItem, {
|
||||||
|
[styles.focused]: isFocused,
|
||||||
|
})}
|
||||||
|
>
|
||||||
|
{item.rendered}
|
||||||
|
</li>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,140 +1,90 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.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;
|
||||||
.modal.tabbed .body {
|
bottom: 0;
|
||||||
padding-block-start: 0;
|
width: 100%;
|
||||||
}
|
height: 100%;
|
||||||
|
max-width: none;
|
||||||
.handle {
|
max-height: none;
|
||||||
content: "";
|
border-radius: 0;
|
||||||
position: absolute;
|
}
|
||||||
block-size: var(--handle-block-size);
|
|
||||||
inset-inline: calc((100% - var(--handle-inline-size)) / 2);
|
|
||||||
inset-block-start: var(--handle-inset-block-start);
|
|
||||||
background: var(--cpd-color-icon-secondary);
|
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
|
||||||
}
|
}
|
||||||
|
|||||||
302
src/Modal.tsx
302
src/Modal.tsx
@@ -1,155 +1,205 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
Copyright 2022 New Vector Ltd
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Please see LICENSE in the repository root for full details.
|
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, ReactNode, useCallback } from "react";
|
/* eslint-disable jsx-a11y/no-autofocus */
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
|
import React, { useRef, useMemo, ReactNode } from "react";
|
||||||
import {
|
import {
|
||||||
Root as DialogRoot,
|
useOverlay,
|
||||||
Portal as DialogPortal,
|
usePreventScroll,
|
||||||
Overlay as DialogOverlay,
|
useModal,
|
||||||
Content as DialogContent,
|
OverlayContainer,
|
||||||
Title as DialogTitle,
|
OverlayProps,
|
||||||
Close as DialogClose,
|
} from "@react-aria/overlays";
|
||||||
} from "@radix-ui/react-dialog";
|
import {
|
||||||
import { Drawer } from "vaul";
|
OverlayTriggerState,
|
||||||
import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
|
useOverlayTriggerState,
|
||||||
import { CloseIcon } from "@vector-im/compound-design-tokens/assets/web/icons";
|
} from "@react-stately/overlays";
|
||||||
|
import { useDialog } from "@react-aria/dialog";
|
||||||
|
import { FocusScope } from "@react-aria/focus";
|
||||||
|
import { ButtonAria, useButton } from "@react-aria/button";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import { Heading, Glass } from "@vector-im/compound-web";
|
import { AriaDialogProps } from "@react-types/dialog";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
|
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";
|
|
||||||
|
|
||||||
export interface Props {
|
export interface ModalProps extends OverlayProps, 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;
|
|
||||||
/**
|
|
||||||
* Whether the modal content has tabs.
|
|
||||||
*/
|
|
||||||
// TODO: Better tabs support
|
|
||||||
tabbed?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
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,
|
||||||
tabbed,
|
|
||||||
...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 },
|
||||||
{ [styles.tabbed]: tabbed },
|
className
|
||||||
)}
|
)}
|
||||||
// Suppress the warning about there being no description; the modal
|
|
||||||
// has an accessible title
|
|
||||||
aria-describedby={undefined}
|
|
||||||
{...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;
|
||||||
{/* Suppress the warning about there being no description; the modal
|
}
|
||||||
has an accessible title */}
|
|
||||||
<DialogContent asChild aria-describedby={undefined} {...rest}>
|
export function ModalContent({
|
||||||
<Glass
|
children,
|
||||||
className={classNames(
|
className,
|
||||||
className,
|
...rest
|
||||||
overlayStyles.overlay,
|
}: ModalContentProps) {
|
||||||
overlayStyles.animate,
|
return (
|
||||||
styles.modal,
|
<div className={classNames(styles.content, className)} {...rest}>
|
||||||
styles.dialog,
|
{children}
|
||||||
{ [styles.tabbed]: tabbed },
|
</div>
|
||||||
)}
|
);
|
||||||
>
|
}
|
||||||
<div className={styles.content}>
|
|
||||||
<div className={styles.header}>
|
export function useModalTriggerState(): {
|
||||||
<DialogTitle asChild>
|
modalState: OverlayTriggerState;
|
||||||
<Heading as="h2" weight="semibold" size="md">
|
modalProps: { isOpen: boolean; onClose: () => void };
|
||||||
{title}
|
} {
|
||||||
</Heading>
|
const modalState = useOverlayTriggerState({});
|
||||||
</DialogTitle>
|
const modalProps = useMemo(
|
||||||
{onDismiss !== undefined && (
|
() => ({ isOpen: modalState.isOpen, onClose: modalState.close }),
|
||||||
<DialogClose
|
[modalState]
|
||||||
className={styles.close}
|
);
|
||||||
data-testid="modal_close"
|
return { modalState, modalProps };
|
||||||
aria-label={t("action.close")}
|
}
|
||||||
>
|
|
||||||
<CloseIcon width={20} height={20} />
|
export function useToggleModalButton(
|
||||||
</DialogClose>
|
modalState: OverlayTriggerState,
|
||||||
)}
|
ref: React.RefObject<HTMLButtonElement>
|
||||||
</div>
|
): ButtonAria<React.ButtonHTMLAttributes<HTMLButtonElement>> {
|
||||||
<div className={styles.body}>{children}</div>
|
return useButton(
|
||||||
</div>
|
{
|
||||||
</Glass>
|
onPress: () => modalState.toggle(),
|
||||||
</DialogContent>
|
},
|
||||||
</DialogPortal>
|
ref
|
||||||
</DialogRoot>
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function useOpenModalButton(
|
||||||
|
modalState: OverlayTriggerState,
|
||||||
|
ref: React.RefObject<HTMLButtonElement>
|
||||||
|
): ButtonAria<React.ButtonHTMLAttributes<HTMLButtonElement>> {
|
||||||
|
return useButton(
|
||||||
|
{
|
||||||
|
onPress: () => modalState.open(),
|
||||||
|
},
|
||||||
|
ref
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function useCloseModalButton(
|
||||||
|
modalState: OverlayTriggerState,
|
||||||
|
ref: React.RefObject<HTMLButtonElement>
|
||||||
|
): ButtonAria<React.ButtonHTMLAttributes<HTMLButtonElement>> {
|
||||||
|
return useButton(
|
||||||
|
{
|
||||||
|
onPress: () => modalState.close(),
|
||||||
|
},
|
||||||
|
ref
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ModalTriggerProps {
|
||||||
|
children: ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ModalTrigger({ children }: ModalTriggerProps) {
|
||||||
|
const { modalState, modalProps } = useModalTriggerState();
|
||||||
|
const buttonRef = useRef();
|
||||||
|
const { buttonProps } = useToggleModalButton(modalState, buttonRef);
|
||||||
|
|
||||||
|
if (
|
||||||
|
!Array.isArray(children) ||
|
||||||
|
children.length > 2 ||
|
||||||
|
typeof children[1] !== "function"
|
||||||
|
) {
|
||||||
|
throw new Error(
|
||||||
|
"ModalTrigger must have two props. The first being a button and the second being a render prop."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
const [modalTrigger, modal] = children;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<modalTrigger.type
|
||||||
|
{...modalTrigger.props}
|
||||||
|
{...buttonProps}
|
||||||
|
ref={buttonRef}
|
||||||
|
/>
|
||||||
|
{modalState.isOpen && modal(modalProps)}
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,88 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.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,34 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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";
|
|
||||||
}
|
|
||||||
|
|
||||||
export const isFirefox = (): boolean => {
|
|
||||||
const { userAgent } = navigator;
|
|
||||||
return userAgent.includes("Firefox");
|
|
||||||
};
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.qrCode img {
|
|
||||||
max-width: 100%;
|
|
||||||
image-rendering: pixelated;
|
|
||||||
border-radius: var(--cpd-space-4x);
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { describe, expect, test } from "vitest";
|
|
||||||
import { render, configure } from "@testing-library/react";
|
|
||||||
|
|
||||||
import { QrCode } from "./QrCode";
|
|
||||||
|
|
||||||
configure({
|
|
||||||
defaultHidden: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
describe("QrCode", () => {
|
|
||||||
test("renders", async () => {
|
|
||||||
const { container, findByRole } = render(
|
|
||||||
<QrCode data="foo" className="bar" />,
|
|
||||||
);
|
|
||||||
(await findByRole("img")) as HTMLImageElement;
|
|
||||||
expect(container.firstChild).toMatchSnapshot();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { FC, useEffect, useState } from "react";
|
|
||||||
import { toDataURL } from "qrcode";
|
|
||||||
import classNames from "classnames";
|
|
||||||
import { t } from "i18next";
|
|
||||||
|
|
||||||
import styles from "./QrCode.module.css";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
data: string;
|
|
||||||
className?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const QrCode: FC<Props> = ({ data, className }) => {
|
|
||||||
const [url, setUrl] = useState<string | null>(null);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
let isCancelled = false;
|
|
||||||
|
|
||||||
toDataURL(data, { errorCorrectionLevel: "L" })
|
|
||||||
.then((url) => {
|
|
||||||
if (!isCancelled) {
|
|
||||||
setUrl(url);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch((reason) => {
|
|
||||||
if (!isCancelled) {
|
|
||||||
setUrl(null);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return (): void => {
|
|
||||||
isCancelled = true;
|
|
||||||
};
|
|
||||||
}, [data]);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className={classNames(styles.qrCode, className)}>
|
|
||||||
{url && <img src={url} alt={t("qr_code")} />}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
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 React, { 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,57 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2023, 2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.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);
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user