Merge branch 'master' into patch-2

This commit is contained in:
Allan Nordhøy 2024-01-13 13:25:31 +00:00 committed by GitHub
commit caf19bdb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
179 changed files with 8488 additions and 15475 deletions

View File

@ -36,15 +36,15 @@ If applicable, add screenshots to help explain your problem.
**Bug occurs on official PairDrop instance https://pairdrop.net/**
No | Yes
Version: v1.9.4
Version: v1.10.5
**Bug occurs on self-hosted PairDrop instance**
No | Yes
**Self-Hosted Setup**
Proxy: Nginx | Apache2
Deployment: docker run | docker-compose | npm run start:prod
Version: v1.9.4
Deployment: docker run | docker compose | npm run start:prod
Version: v1.10.5
**Additional context**
Add any other context about the problem here.

View File

@ -1,3 +1,14 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
# Build a Docker image whenever it is pushed to master
name: Docker Image CI
on:
@ -13,6 +24,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build the Docker image
run: docker build --pull . -f Dockerfile -t pairdrop

View File

@ -7,6 +7,8 @@
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
# Create a Docker image and push it to ghcr.io whenever a new version tag is pushed
name: GHCR Image CI
on:
@ -27,16 +29,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup qemu
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2.5.0
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
@ -44,12 +46,12 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@31cebacef4805868f9ce9a0cb03ee36c32df2ac4 # v5.3.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: .
platforms: linux/amd64,linux/arm64

36
.github/workflows/zip-release.yml vendored Normal file
View File

@ -0,0 +1,36 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
# Create a new zip file from pairdrop-cli whenever a new version tag is pushed
name: Zip Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@b57d897cb5d60cb78b51a507f63fa184cfe35554 # v0.7.6
with:
filename: 'pairdrop-cli.zip'
directory: 'pairdrop-cli'
exclusions: '*.git* /*node_modules/* .editorconfig'
- name: Upload Release
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
with:
artifacts: "pairdrop-cli/pairdrop-cli.zip"
token: ${{ secrets.GITHUB_TOKEN }}

3
.gitignore vendored
View File

@ -3,3 +3,6 @@ node_modules
fqdn.env
/docker/certs
qrcode-svg/
turnserver.conf
rtc_config.json
ssl/

View File

@ -8,7 +8,12 @@ RUN npm ci
COPY . .
# environment settings
ENV NODE_ENV="production"
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3000 || exit 1
ENTRYPOINT ["npm", "start"]

View File

@ -67,6 +67,7 @@ Connect to others in complex network situations, or over the Internet.
* Multiple files are transferred at once with an overall progress indicator.
### Send Files or Text Directly From Share Menu, Context Menu or CLI
* [Send files directly from context menu on Ubuntu (using Nautilus)](/docs/how-to.md#send-multiple-files-and-directories-directly-from-context-menu-on-ubuntu-using-nautilus)
* [Send files directly from the context menu on Windows](docs/how-to.md#send-files-directly-from-context-menu-on-windows)
* [Send directly from the "Share" menu on iOS](docs/how-to.md#send-directly-from-share-menu-on-ios)
* [Send directly from the "Share" menu on Android](docs/how-to.md#send-directly-from-share-menu-on-android)

View File

@ -1,19 +1,31 @@
version: "3"
services:
node:
image: "node:lts-alpine"
user: "node"
working_dir: /home/node/app
volumes:
- ./:/home/node/app
command: ash -c "npm i && npm run start:prod"
pairdrop:
image: "lscr.io/linuxserver/pairdrop:latest"
container_name: pairdrop
restart: unless-stopped
volumes:
- ./rtc_config.json:/home/node/app/rtc_config.json
environment:
- PUID=1000 # UID to run the application as
- PGID=1000 # GID to run the application as
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
- RTC_CONFIG=/home/node/app/rtc_config.json # Set to the path of a file that specifies the STUN/TURN servers.
- DEBUG_MODE=false # Set to true to debug container and peer connections.
- TZ=Etc/UTC # Time Zone
ports:
- "3000:3000"
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000`
coturn_server:
image: "coturn/coturn"
restart: always
network_mode: "host"
restart: unless-stopped
volumes:
- ./turnserver.conf:/etc/coturn/turnserver.conf
#you need to copy turnserver_example.conf to turnserver.conf and specify domain, IP address, user and password
- ./ssl/:/etc/coturn/ssl/
ports:
- "3478:3478"
- "3478:3478/udp"
- "5349:5349"
- "5349:5349/udp"
- "10000-20000:10000-20000/udp"
# see guide at docs/host-your-own.md#coturn-and-pairdrop-via-docker-compose

View File

@ -1,12 +1,16 @@
version: "3"
services:
node:
image: "node:lts-alpine"
user: "node"
working_dir: /home/node/app
volumes:
- ./:/home/node/app
command: ash -c "npm i && npm run start:prod"
pairdrop:
image: "lscr.io/linuxserver/pairdrop:latest"
container_name: pairdrop
restart: unless-stopped
environment:
- PUID=1000 # UID to run the application as
- PGID=1000 # GID to run the application as
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
- DEBUG_MODE=false # Set to true to debug container and peer connections.
- TZ=Etc/UTC # Time Zone
ports:
- "3000:3000"
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000`

View File

@ -1,181 +1,132 @@
# Deployment Notes
The easiest way to get PairDrop up and running is by using Docker.
> <b>TURN server for Internet Transfer</b>
>
> Beware that you have to host your own TURN server to enable transfers between different networks.
>
> Follow [this guide](https://gabrieltanner.org/blog/turn-server/) to either install coturn directly on your system (Step 1) \
> or deploy it via docker-compose (Step 5).
## TURN server for Internet Transfer
> <b>PairDrop via HTTPS</b>
>
> On some browsers PairDrop must be served over TLS in order for some feautures to work properly. These may include copying an incoming message via the 'copy' button, installing PairDrop as PWA, persistent pairing of devices and changing of the display name, and notifications. Naturally, this is also recommended to increase security.
Beware that you have to host your own TURN server to enable transfers between different networks.
Follow [this guide](https://gabrieltanner.org/blog/turn-server/) to either install coturn directly on your system (Step 1)
or deploy it via Docker (Step 5).
You can use the `docker-compose-coturn.yml` in this repository. See [Coturn and PairDrop via Docker Compose](#coturn-and-pairdrop-via-docker-compose).
Alternatively, use a free, pre-configured TURN server like [OpenRelay](https://www.metered.ca/tools/openrelay/)
<br>
## PairDrop via HTTPS
On some browsers PairDrop must be served over TLS in order for some features to work properly.
These may include:
- Copying an incoming message via the 'copy' button
- Installing PairDrop as PWA
- Persistent pairing of devices
- Changing of the display name
- Notifications
Naturally, this is also recommended to increase security.
<br>
## Deployment with Docker
The easiest way to get PairDrop up and running is by using Docker.
### Docker Image from Docker Hub
```bash
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 lscr.io/linuxserver/pairdrop
```
> You must use a server proxy to set the X-Forwarded-For \
> to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> To prevent bypassing the proxy by reaching the docker container directly, \
> `127.0.0.1` is specified in the run command.
#### Options / Flags
Set options by using the following flags in the `docker run` command:
##### Port
```bash
-p 127.0.0.1:8080:3000
```
> Specify the port used by the docker image
> - 3000 -> `-p 127.0.0.1:3000:3000`
> - 8080 -> `-p 127.0.0.1:8080:3000`
##### Rate limiting requests
```bash
-e RATE_LIMIT=true
```
> Limits clients to 1000 requests per 5 min
##### IPv6 Localization
```bash
-e IPV6_LOCALIZE=4
```
> To enable Peer Discovery among IPv6 peers, you can specify a reduced number of segments \
> of the client IPv6 address to be evaluated as the peer's IP. \
> This can be especially useful when using Cloudflare as a proxy.
>
> The flag must be set to an **integer** between `1` and `7`. \
> The number represents the number of IPv6 [hextets](https://en.wikipedia.org/wiki/IPv6#Address_representation) \
> to match the client IP against. The most common value would be `4`, \
> which will group peers within the same `/64` subnet.
##### Websocket Fallback (for VPN)
```bash
-e WS_FALLBACK=true
```
> Provides PairDrop to clients with an included websocket fallback \
> if the peer to peer WebRTC connection is not available to the client.
>
> This is not used on the official https://pairdrop.net website, \
> but you can activate it on your self-hosted instance.
> This is especially useful if you connect to your instance via a VPN (as most VPN services block WebRTC completely in order to hide your real IP address). ([Read more here](https://privacysavvy.com/security/safe-browsing/disable-webrtc-chrome-firefox-safari-opera-edge/)).
>
> **Warning:** All traffic sent between devices using this fallback \
> is routed through the server and therefor not peer to peer! \
> Beware that the traffic routed via this fallback is readable by the server. \
> Only ever use this on instances you can trust. \
> Additionally, beware that all traffic using this fallback debits the servers data plan.
##### Specify STUN/TURN Servers
```bash
-e RTC_CONFIG="rtc_config.json"
```
> Specify the STUN/TURN servers PairDrop clients use by setting \
> `RTC_CONFIG` to a JSON file including the configuration. \
> You can use `pairdrop/rtc_config_example.json` as a starting point.
>
> To host your own TURN server you can follow this guide: https://gabrieltanner.org/blog/turn-server/
> Alternatively, use a free, pre-configured TURN server like [OpenRelay]([url](https://www.metered.ca/tools/openrelay/))
>
> Default configuration:
> ```json
> {
> "sdpSemantics": "unified-plan",
> "iceServers": [
> {
> "urls": "stun:stun.l.google.com:19302"
> }
> ]
> }
> ```
##### Debug Mode
```bash
-e DEBUG_MODE="true"
```
> Use this flag to enable debugging information about the connecting peers IP addresses. \
> This is quite useful to check whether the [#HTTP-Server](#http-server) \
> is configured correctly, so the auto-discovery feature works correctly. \
> Otherwise, all clients discover each other mutually, independently of their network status.
>
> If this flag is set to `"true"` each peer that connects to the PairDrop server will produce a log to STDOUT like this:
> ```
> ----DEBUGGING-PEER-IP-START----
> remoteAddress: ::ffff:172.17.0.1
> x-forwarded-for: 19.117.63.126
> cf-connecting-ip: undefined
> PairDrop uses: 19.117.63.126
> IP is private: false
> if IP is private, '127.0.0.1' is used instead
> ----DEBUGGING-PEER-IP-END----
> ```
> If the IP PairDrop uses is the public IP of your device, everything is set up correctly. \
>To find out your devices public IP visit https://www.whatismyip.com/.
>
> To preserve your clients' privacy, **never use this flag in production!**
> This image is hosted by [linuxserver.io](https://linuxserver.io). For more information visit https://hub.docker.com/r/linuxserver/pairdrop
<br>
### Docker Image from GHCR
```bash
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 ghcr.io/schlagmichdoch/pairdrop npm run start:prod
```
> You must use a server proxy to set the X-Forwarded-For to prevent \
> all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> To prevent bypassing the proxy by reaching the Docker container directly, \
> `127.0.0.1` is specified in the run command.
>
> To specify options replace `npm run start:prod` \
> according to [the documentation below.](#options--flags-1)
### Docker Image from GitHub Container Registry (ghcr.io)
> The Docker Image includes a healthcheck. \
> Read more about [Docker Swarm Usage](docker-swarm-usage.md#docker-swarm-usage).
```bash
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 ghcr.io/schlagmichdoch/pairdrop
```
<br>
### Docker Image self-built
#### Build the image
```bash
docker build --pull . -f Dockerfile -t pairdrop
```
> A GitHub action is set up to do this step automatically.
> A GitHub action is set up to do this step automatically at the release of new versions.
>
> `--pull` ensures always the latest node image is used.
#### Run the image
```bash
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 -it pairdrop npm run start:prod
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 -it pairdrop
```
> You must use a server proxy to set the X-Forwarded-For \
> You must use a server proxy to set the `X-Forwarded-For` header
> to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> To prevent bypassing the proxy by reaching the Docker container \
> directly, `127.0.0.1` is specified in the run command.
>
> To specify options replace `npm run start:prod` \
> according to [the documentation below.](#options--flags-1)
> To prevent bypassing the proxy by reaching the docker container directly,
> `127.0.0.1` is specified in the run command.
> The Docker Image includes a Healthcheck. \
Read more about [Docker Swarm Usage](docker-swarm-usage.md#docker-swarm-usage).
<br>
### Flags
Set options by using the following flags in the `docker run` command:
#### Port
```bash
-p 127.0.0.1:8080:3000
```
> Specify the port used by the docker image
>
> - 3000 -> `-p 127.0.0.1:3000:3000`
> - 8080 -> `-p 127.0.0.1:8080:3000`
#### Set Environment Variables via Docker
Environment Variables are set directly in the `docker run` command: \
e.g. `docker run -p 127.0.0.1:3000:3000 -it pairdrop -e DEBUG_MODE="true"`
Overview of available Environment Variables are found [here](#environment-variables).
Example:
```bash
docker run -d \
--name=pairdrop \
--restart=unless-stopped \
-p 127.0.0.1:3000:3000 \
-e PUID=1000 \
-e PGID=1000 \
-e WS_SERVER=false \
-e WS_FALLBACK=false \
-e RTC_CONFIG=false \
-e RATE_LIMIT=false \
-e DEBUG_MODE=false \
-e TZ=Etc/UTC \
lscr.io/linuxserver/pairdrop
```
<br>
## Deployment with Docker Compose
Here's an example docker-compose file:
Here's an example docker compose file:
```yaml
version: "2"
version: "3"
services:
pairdrop:
image: lscr.io/linuxserver/pairdrop:latest
image: "lscr.io/linuxserver/pairdrop:latest"
container_name: pairdrop
restart: unless-stopped
environment:
@ -183,22 +134,26 @@ services:
- PGID=1000 # GID to run the application as
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
- DEBUG_MODE=false # Set to true to debug container and peer connections.
- TZ=Etc/UTC # Time Zone
ports:
- 127.0.0.1:3000:3000 # Web UI
- "127.0.0.1:3000:3000" # Web UI
```
Run the compose file with `docker compose up -d`.
> You must use a server proxy to set the X-Forwarded-For \
> You must use a server proxy to set the `X-Forwarded-For` header
> to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> To prevent bypassing the proxy by reaching the Docker container \
> directly, `127.0.0.1` is specified in the run command.
> To prevent bypassing the proxy by reaching the Docker container
> directly, `127.0.0.1` is specified in the `ports` argument.
<br>
## Deployment with node
## Deployment with Node.js
Clone this repository and enter the folder
```bash
git clone https://github.com/schlagmichdoch/PairDrop.git && cd PairDrop
@ -212,56 +167,223 @@ npm install
Start the server with:
```bash
node index.js
```
or
```bash
npm start
```
> Remember to check your IP address using your OS command to see where you can access the server.
> By default, the node server listens on port 3000.
<br>
### Environment variables
#### Port
On Unix based systems
```bash
PORT=3010 npm start
```
On Windows
```bash
$env:PORT=3010; npm start
```
> Specify the port PairDrop is running on. (Default: 3000)
### Options / Flags
These are some flags only reasonable when deploying via Node.js
#### Port
```bash
PORT=3000
```
> Default: `3000`
>
> Environment variable to specify the port used by the Node.js server \
> e.g. `PORT=3010 npm start`
#### Local Run
```bash
npm start -- --localhost-only
```
> Only allow connections from localhost.
>
> You must use a server proxy to set the `X-Forwarded-For` header
> to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> Use this when deploying PairDrop with node to prevent
> bypassing the reverse proxy by reaching the Node.js server directly.
#### Automatic restart on error
```bash
npm start -- --auto-restart
```
> Restarts server automatically on error
#### Production (autostart and rate-limit)
```bash
npm run start:prod
```
> shortcut for `RATE_LIMIT=5 npm start -- --auto-restart`
#### Production (autostart, rate-limit, localhost-only)
```bash
npm run start:prod -- --localhost-only
```
> To prevent connections to the node server from bypassing \
> the proxy server you should always use "--localhost-only" on production.
#### Set Environment Variables via Node.js
To specify environment variables set them in the run command in front of `npm start`.
The syntax is different on Unix and Windows.
On Unix based systems
```bash
PORT=3000 RTC_CONFIG="rtc_config.json" npm start
```
On Windows
```bash
$env:PORT=3000 RTC_CONFIG="rtc_config.json"; npm start
```
Overview of available Environment Variables are found [here](#environment-variables).
<br>
## Environment Variables
### Debug Mode
```bash
DEBUG_MODE="true"
```
> Default: `false`
>
> Logs the used environment variables for debugging.
>
> Prints debugging information about the connecting peers IP addresses.
>
> This is quite useful to check whether the [#HTTP-Server](#http-server)
> is configured correctly, so the auto-discovery feature works correctly.
> Otherwise, all clients discover each other mutually, independently of their network status.
>
> If this flag is set to `"true"` each peer that connects to the PairDrop server will produce a log to STDOUT like this:
>
> ```
> ----DEBUGGING-PEER-IP-START----
> remoteAddress: ::ffff:172.17.0.1
> x-forwarded-for: 19.117.63.126
> cf-connecting-ip: undefined
> PairDrop uses: 19.117.63.126
> IP is private: false
> if IP is private, '127.0.0.1' is used instead
> ----DEBUGGING-PEER-IP-END----
> ```
>
> If the IP address "PairDrop uses" matches the public IP address of the client device, everything is set up correctly. \
> To find out the public IP address of the client device visit https://whatsmyip.com/.
>
> To preserve your clients' privacy: \
> **Never use this environment variable in production!**
<br>
### Rate limiting requests
```bash
RATE_LIMIT=1
```
> Default: `false`
>
> Limits clients to 1000 requests per 5 min
>
> "If you are behind a proxy/load balancer (usually the case with most hosting services, e.g. Heroku, Bluemix, AWS ELB,
> Render, Nginx, Cloudflare, Akamai, Fastly, Firebase Hosting, Rackspace LB, Riverbed Stingray, etc.), the IP address of
> the request might be the IP of the load balancer/reverse proxy (making the rate limiter effectively a global one and
> blocking all requests once the limit is reached) or undefined."
> (See: https://express-rate-limit.mintlify.app/guides/troubleshooting-proxy-issues)
>
> To find the correct number to use for this setting:
>
> 1. Start PairDrop with `DEBUG_MODE=True` and `RATE_LIMIT=1`
> 2. Make a `get` request to `/ip` of the PairDrop instance (e.g. `https://pairdrop-example.net/ip`)
> 3. Check if the IP address returned in the response matches your public IP address (find out by visiting e.g. https://whatsmyip.com/)
> 4. You have found the correct number if the IP addresses match. If not, then increase `RATE_LIMIT` by one and redo 1. - 4.
>
> e.g. on Render you must use RATE_LIMIT=5
<br>
### IPv6 Localization
#### IPv6 Localization
```bash
IPV6_LOCALIZE=4
```
> Truncate a portion of the client IPv6 address to make peers more discoverable. \
> See [Options/Flags](#options--flags) above.
#### Specify STUN/TURN Server
On Unix based systems
> Default: `false`
>
> To enable Peer Auto-Discovery among IPv6 peers, you can specify a reduced number of segments \
> of the client IPv6 address to be evaluated as the peer's IP. \
> This can be especially useful when using Cloudflare as a proxy.
>
> The flag must be set to an **integer** between `1` and `7`. \
> The number represents the number of IPv6 [hextets](https://en.wikipedia.org/wiki/IPv6#Address_representation) \
> to match the client IP against. The most common value would be `4`, \
> which will group peers within the same `/64` subnet.
<br>
### Websocket Fallback (for VPN)
```bash
RTC_CONFIG="rtc_config.json" npm start
WS_FALLBACK=true
```
On Windows
```bash
$env:RTC_CONFIG="rtc_config.json"; npm start
```
> Specify the STUN/TURN servers PairDrop clients use by setting `RTC_CONFIG` \
> to a JSON file including the configuration. \
> You can use `pairdrop/rtc_config_example.json` as a starting point.
> Default: `false`
>
> Provides PairDrop to clients with an included websocket fallback \
> if the peer to peer WebRTC connection is not available to the client.
>
> This is not used on the official https://pairdrop.net website,
> but you can activate it on your self-hosted instance.\
> This is especially useful if you connect to your instance via a VPN (as most VPN services block WebRTC completely in
> order to hide your real IP address). ([Read more here](https://privacysavvy.com/security/safe-browsing/disable-webrtc-chrome-firefox-safari-opera-edge/)).
>
> **Warning:** \
> All traffic sent between devices using this fallback
> is routed through the server and therefor not peer to peer!
>
> To host your own TURN server you can follow this guide: \
> https://gabrieltanner.org/blog/turn-server/
> Beware that the traffic routed via this fallback is readable by the server. \
> Only ever use this on instances you can trust.
>
> Additionally, beware that all traffic using this fallback debits the servers data plan.
<br>
### Specify STUN/TURN Servers
```bash
RTC_CONFIG="rtc_config.json"
```
> Default: `false`
>
> Specify the STUN/TURN servers PairDrop clients use by setting \
> `RTC_CONFIG` to a JSON file including the configuration. \
> You can use `rtc_config_example.json` as a starting point.
>
> To host your own TURN server you can follow this guide: https://gabrieltanner.org/blog/turn-server/
> Alternatively, use a free, pre-configured TURN server like [OpenRelay](<[url](https://www.metered.ca/tools/openrelay/)>)
>
> Default configuration:
>
> ```json
> {
> "sdpSemantics": "unified-plan",
@ -273,109 +395,90 @@ $env:RTC_CONFIG="rtc_config.json"; npm start
> }
> ```
#### Debug Mode
On Unix based systems
<br>
You can host an instance that uses another signaling server
This can be useful if you don't want to trust the client files that are hosted on another instance but still want to connect to devices that use https://pairdrop.net.
### Specify Signaling Server
```bash
DEBUG_MODE="true" npm start
```
On Windows
```bash
$env:DEBUG_MODE="true"; npm start
SIGNALING_SERVER="pairdrop.net"
```
> Use this flag to enable debugging info about the connecting peers IP addresses. \
> This is quite useful to check whether the [#HTTP-Server](#http-server) \
> is configured correctly, so the auto discovery feature works correctly. \
> Otherwise, all clients discover each other mutually, independently of their network status.
> Default: `false`
>
> If this flag is set to `"true"` each peer that connects to the \
> PairDrop server will produce a log to STDOUT like this:
> ```
> ----DEBUGGING-PEER-IP-START----
> remoteAddress: ::ffff:172.17.0.1
> x-forwarded-for: 19.117.63.126
> cf-connecting-ip: undefined
> PairDrop uses: 19.117.63.126
> IP is private: false
> if IP is private, '127.0.0.1' is used instead
> ----DEBUGGING-PEER-IP-END----
> ```
> If the IP PairDrop uses is the public IP of your device everything is set up correctly. \
>Find your devices public IP by visiting https://www.whatismyip.com/.
>
> Preserve your clients' privacy. **Never use this flag in production!**
### Options / Flags
#### Local Run
```bash
npm start -- --localhost-only
```
> Only allow connections from localhost.
> By default, clients connecting to your instance use the signaling server of your instance to connect to other devices.
>
> You must use a server proxy to set the X-Forwarded-For \
> to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
>
> Use this when deploying PairDrop with node to prevent \
> bypassing the proxy by reaching the Docker container directly.
#### Automatic restart on error
```bash
npm start -- --auto-restart
```
> Restarts server automatically on error
<br>
#### Rate limiting requests
```bash
npm start -- --rate-limit
```
> Limits clients to 1000 requests per 5 min
<br>
#### Websocket Fallback (for VPN)
```bash
npm start -- --include-ws-fallback
```
> Provides PairDrop to clients with an included websocket fallback \
> if the peer to peer WebRTC connection is not available to the client.
>
> This is not used on the official https://pairdrop.net, \
but you can activate it on your self-hosted instance. \
> This is especially useful if you connect to your instance \
> via a VPN as most VPN services block WebRTC completely in order to hide your real IP address.
> ([Read more](https://privacysavvy.com/security/safe-browsing/disable-webrtc-chrome-firefox-safari-opera-edge/)).
> By using `SIGNALING_SERVER`, you can host an instance that uses another signaling server.
>
> **Warning:** All traffic sent between devices using this fallback \
> is routed through the server and therefor not peer to peer! \
> Beware that the traffic routed via this fallback is readable by the server. \
> Only ever use this on instances you can trust. \
> Additionally, beware that all traffic using this fallback debits the servers data plan.
> This can be useful if you want to ensure the integrity of the client files and don't want to trust the client files that are hosted on another PairDrop instance but still want to connect to devices that use the other instance.
> E.g. host your own client files under *pairdrop.your-domain.com* but use the official signaling server under *pairdrop.net*
> This way devices connecting to *pairdrop.your-domain.com* and *pairdrop.net* can discover each other.
>
> Beware that the version of your PairDrop server must be compatible with the version of the signaling server.
>
> `SIGNALING_SERVER` must be a valid url without the protocol prefix.
> Examples of valid values: `pairdrop.net`, `pairdrop.your-domain.com:3000`, `your-domain.com/pairdrop`
<br>
#### Production (autostart and rate-limit)
### Customizable buttons for the _About PairDrop_ page
```bash
npm run start:prod
DONATION_BUTTON_ACTIVE=true
DONATION_BUTTON_LINK="https://www.buymeacoffee.com/pairdrop"
DONATION_BUTTON_TITLE="Buy me a coffee"
TWITTER_BUTTON_ACTIVE=true
TWITTER_BUTTON_LINK="https://twitter.com/account"
TWITTER_BUTTON_TITLE="Find me on Twitter"
MASTODON_BUTTON_ACTIVE=true
MASTODON_BUTTON_LINK="https://mastodon.social/account"
MASTODON_BUTTON_TITLE="Find me on Mastodon"
BLUESKY_BUTTON_ACTIVE=true
BLUESKY_BUTTON_LINK="https://bsky.app/profile/account"
BLUESKY_BUTTON_TITLE="Find me on Bluesky"
CUSTOM_BUTTON_ACTIVE=true
CUSTOM_BUTTON_LINK="https://your-custom-social-network.net/account"
CUSTOM_BUTTON_TITLE="Find me on this custom social network"
PRIVACYPOLICY_BUTTON_ACTIVE=true
PRIVACYPOLICY_BUTTON_LINK="https://link-to-your-privacy-policy.net"
PRIVACYPOLICY_BUTTON_TITLE="Open our privacy policy"
```
#### Production (autostart, rate-limit, localhost-only and websocket fallback for VPN)
```bash
npm run start:prod -- --localhost-only --include-ws-fallback
```
> To prevent connections to the node server from bypassing \
> the proxy server you should always use "--localhost-only" on production.
> Default: unset
>
> By default, clients will show the default button configuration: GitHub, BuyMeACoffee, Twitter, and FAQ on GitHub.
>
> The GitHub and FAQ on GitHub buttons are essential, so they are always shown.
>
> The other buttons can be customized:
>
> * `*_BUTTON_ACTIVE`: set this to `true` to show a natively hidden button or to `false` to hide a normally shown button
> * `*_BUTTON_LINK`: set this to any URL to overwrite the href attribute of the button
> * `*_BUTTON_TITLE`: set this to overwrite the hover title of the button. This will prevent the title from being translated.
<br>
## Healthcheck
> The Docker Image hosted on `ghcr.io` and the self-built Docker Image include a healthcheck.
>
> Read more about [Docker Swarm Usage](docker-swarm-usage.md#docker-swarm-usage).
<br>
## HTTP-Server
When running PairDrop, the `X-Forwarded-For` header has to be set by a proxy. \
Otherwise, all clients will be mutually visible.
To check if your setup is configured correctly [use the environment variable `DEBUG_MODE="true"`](#debug-mode).
### Using nginx
#### Allow http and https requests
```
server {
listen 80;
@ -409,6 +512,7 @@ server {
```
#### Automatic http to https redirect:
```
server {
listen 80;
@ -437,14 +541,21 @@ server {
}
```
<br>
### Using Apache
install modules `proxy`, `proxy_http`, `mod_proxy_wstunnel`
```bash
a2enmod proxy
```
```bash
a2enmod proxy_http
```
```bash
a2enmod proxy_wstunnel
```
@ -454,16 +565,18 @@ a2enmod proxy_wstunnel
Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
**pairdrop.conf**
#### Allow HTTP and HTTPS requests
```apacheconf
<VirtualHost *:80>
<VirtualHost *:80>
ProxyPass / http://127.0.0.1:3000/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://127.0.0.1:3000/$1" [P,L]
</VirtualHost>
<VirtualHost *:443>
<VirtualHost *:443>
ProxyPass / https://127.0.0.1:3000/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
@ -471,12 +584,14 @@ Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
RewriteRule ^/?(.*) "wws://127.0.0.1:3000/$1" [P,L]
</VirtualHost>
```
#### Automatic HTTP to HTTPS redirect:
```apacheconf
<VirtualHost *:80>
<VirtualHost *:80>
Redirect permanent / https://127.0.0.1:3000/
</VirtualHost>
<VirtualHost *:443>
<VirtualHost *:443>
ProxyPass / https://127.0.0.1:3000/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
@ -484,62 +599,120 @@ Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
RewriteRule ^/?(.*) "wws://127.0.0.1:3000/$1" [P,L]
</VirtualHost>
```
Activate the new virtual host and reload Apache:
```bash
a2ensite pairdrop
```
```bash
service apache2 reload
```
# Local Development
## Install
<br>
## Coturn and PairDrop via Docker Compose
### Setup container
To run coturn and PairDrop at once by using the `docker-compose-coturn.yml` with TURN over TLS enabled
you need to follow these steps:
1. Generate or retrieve certificates for your `<DOMAIN>` (e.g. letsencrypt / certbot)
2. Create `./ssl` folder: `mkdir ssl`
3. Copy your ssl-certificates and the privkey to `./ssl`
4. Restrict access to `./ssl`: `chown -R nobody:nogroup ./ssl`
5. Create a dh-params file: `openssl dhparam -out ./ssl/dhparams.pem 4096`
6. Copy `rtc_config_example.json` to `rtc_config.json`
7. Copy `turnserver_example.conf` to `turnserver.conf`
8. Change `<DOMAIN>` in both files to the domain where your PairDrop instance is running
9. Change `username` and `password` in `turnserver.conf` and `rtc-config.json`
10. To start the container including coturn run: \
`docker compose -f docker-compose-coturn.yml up -d`
<br>
#### Setup container
To restart the container including coturn run: \
`docker compose -f docker-compose-coturn.yml restart`
<br>
#### Setup container
To stop the container including coturn run: \
`docker compose -f docker-compose-coturn.yml stop`
<br>
### Firewall
To run PairDrop including its own coturn-server you need to punch holes in the firewall. These ports must be opened additionally:
- 3478 tcp/udp
- 5349 tcp/udp
- 10000:20000 tcp/udp
<br>
### Firewall
To run PairDrop including its own coturn-server you need to punch holes in the firewall. These ports must be opened additionally:
- 3478 tcp/udp
- 5349 tcp/udp
- 10000:20000 tcp/udp
<br>
## Local Development
### Install
All files needed for developing are available on the branch `dev`.
First, [Install docker with docker-compose.](https://docs.docker.com/compose/install/)
Then, clone the repository and run docker-compose:
```bash
git clone https://github.com/schlagmichdoch/PairDrop.git
cd PairDrop
git checkout dev
docker-compose up -d
git clone https://github.com/schlagmichdoch/PairDrop.git && cd PairDrop
```
```bash
git checkout dev
```
```bash
docker compose -f docker-compose-dev.yml up -d
```
Now point your web browser to `http://localhost:8080`.
- To restart the containers, run `docker-compose restart`.
- To stop the containers, run `docker-compose stop`.
- To debug the NodeJS server, run `docker logs pairdrop_node_1`.
- To restart the containers, run `docker compose restart`.
- To stop the containers, run `docker compose stop`.
- To debug the Node.js server, run `docker logs pairdrop`.
<br>
## Testing PWA related features
### Testing PWA related features
PWAs requires the app to be served under a correctly set up and trusted TLS endpoint.
The NGINX container creates a CA certificate and a website certificate for you. \
To correctly set the common name of the certificate, \
you need to change the FQDN environment variable in `docker/fqdn.env` \
The NGINX container creates a CA certificate and a website certificate for you.
To correctly set the common name of the certificate,
you need to change the FQDN environment variable in `docker/fqdn.env`
to the fully qualified domain name of your workstation.
If you want to test PWA features, you need to trust the CA of the certificate for your local deployment. \
For your convenience, you can download the crt file from `http://<Your FQDN>:8080/ca.crt`. \
Install that certificate to the trust store of your operating system. \
- On Windows, make sure to install it to the `Trusted Root Certification Authorities` store. \
- On macOS, double-click the installed CA certificate in `Keychain Access`, \
- expand `Trust`, and select `Always Trust` for SSL. \
- Firefox uses its own trust store. To install the CA, \
- point Firefox at `http://<Your FQDN>:8080/ca.crt`. \
- When prompted, select `Trust this CA to identify websites` and click *OK*. \
- When using Chrome, you need to restart Chrome so it reloads the trust store (`chrome://restart`). \
- Additionally, after installing a new cert, \
- you need to clear the Storage (DevTools → Application → Clear storage → Clear site data).
- On Windows, make sure to install it to the `Trusted Root Certification Authorities` store.
- On macOS, double-click the installed CA certificate in `Keychain Access`,
- expand `Trust`, and select `Always Trust` for SSL.
- Firefox uses its own trust store. To install the CA,
- point Firefox at `http://<Your FQDN>:8080/ca.crt`.
- When prompted, select `Trust this CA to identify websites` and click _OK_.
- When using Chrome, you need to restart Chrome so it reloads the trust store (`chrome://restart`).
- Additionally, after installing a new cert, you need to clear the Storage (DevTools → Application → Clear storage → Clear site data).
Please note that the certificates (CA and webserver cert) expire after a day.
Also, whenever you restart the NGINX Docker, container new certificates are created.
Also, whenever you restart the NGINX Docker container new certificates are created.
The site is served on `https://<Your FQDN>:8443`.

View File

@ -1,84 +1,142 @@
# How-To
## Send files directly from context menu on Windows
### Registering to open files with PairDrop
The [File Handling API](https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/handle-files) is implemented
This is still experimental and must be enabled via a flag **before** the PWA is installed to Windows.
1. [Enabled feature in Edge](https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/handle-files#enable-the-file-handling-api)
2. Install PairDrop by visiting https://pairdrop.net/ with the Edge web browser and install it as described [here](faq.md#help--i-cant-install-the-pwa-).
3. You are done! You can now send most files one at a time via PairDrop:
_context menu > Open with > PairDrop_
[//]: # (Todo: add screenshots)
### Sending multiple files to PairDrop
Outstandingly, it is also possible to send multiple files to PairDrop \
via the context menu by adding PairDrop to the `Send to` menu:
1. [Register PairDrop as file handler](#registering-to-open-files-with-pairdrop)
2. Hit Windows Key+R, type: `shell:programs` and hit Enter.
3. Copy the PairDrop shortcut from the directory
4. Hit Windows Key+R, type: `shell:sendto` and hit Enter.
5. Paste the copied shortcut into the directory
6. You are done! You can now send multiple files (but no directories) directly via PairDrop:
_context menu > Send to > PairDrop_
[//]: # (Todo: add screenshots)
## Send directly from share menu on iOS
I created an iOS shortcut to send images, files, folder, URLs \
or text directly from the share-menu
https://routinehub.co/shortcut/13990/
[//]: # (Todo: add doku with screenshots)
[//]: # (Todo: Add screenshots)
<br>
## Send directly from share menu on Android
The [Web Share Target API](https://developer.mozilla.org/en-US/docs/Web/Manifest/share_target) is implemented.
When the PWA is installed, it will register itself to the share-menu of the device automatically.
<br>
## Send directly via command-line interface
Send files or text with PairDrop via command-line interface.
Send files or text with PairDrop via command-line interface. \
This opens PairDrop in the default browser where you can choose the receiver.
### Usage
```bash
$ pairdrop -h
Current domain: https://pairdrop.net/
pairdrop -h
```
```
Send files or text with PairDrop via command-line interface.
Current domain: https://pairdrop-dev.onrender.com/
Usage:
Open PairDrop: pairdrop
Send files: pairdrop file/directory
Send text: pairdrop -t "text"
Specify domain: pairdrop -d "https://pairdrop.net/"
Show this help text: pairdrop (-h|--help)
Open PairDrop: pairdrop
Send files: pairdrop file1/directory1 (file2/directory2 file3/directory3 ...)
Send text: pairdrop -t "text"
Specify domain: pairdrop -d "https://pairdrop.net/"
Show this help text: pairdrop (-h|--help)
This pairdrop-cli version was released alongside v1.10.4
```
On Windows Command Prompt you need to use bash: `bash pairdrop -h`
<br>
### Setup
Download the bash file: [pairdrop-cli/pairdrop](/pairdrop-cli/pairdrop).
#### Linux
1. Put the file in a preferred folder e.g. `/usr/local/bin`
2. Make sure the bash file is executable. Otherwise, use `chmod +x pairdrop`
3. Add absolute path of the folder to PATH variable to make `pairdrop` available globally by executing
`export PATH=$PATH:/opt/pairdrop-cli`
#### Linux / Mac
1. Download the latest _pairdrop-cli.zip_ from the [releases page](https://github.com/schlagmichdoch/PairDrop/releases)
```shell
wget "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.5/pairdrop-cli.zip"
```
or
```shell
curl -LO "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.5/pairdrop-cli.zip"
```
2. Unzip the archive to a folder of your choice e.g. `/usr/share/pairdrop-cli/`
```shell
sudo unzip pairdrop-cli.zip -d /usr/share/pairdrop-cli/
```
3. Copy the file _.pairdrop-cli-config.example_ to _.pairdrop-cli-config_
```shell
sudo cp /usr/share/pairdrop-cli/.pairdrop-cli-config.example /usr/share/pairdrop-cli/.pairdrop-cli-config
```
4. Make the bash file _pairdrop_ executable
```shell
sudo chmod +x /usr/share/pairdrop-cli/pairdrop
```
5. Add a symlink to /usr/local/bin/ to include _pairdrop_ to _PATH_
```shell
sudo ln -s /usr/share/pairdrop-cli/pairdrop /usr/local/bin/pairdrop
```
#### Mac
1. add bash file to `/usr/local/bin`
<br>
#### Windows
1. Put file in a preferred folder e.g. `C:\Users\Public\pairdrop-cli`
2. Search for and open `Edit environment variables for your account`
3. Click `Environment Variables…`
4. Under *System Variables* select `Path` and click *Edit...*
5. Click *New*, insert the preferred folder (`C:\Users\Public\pairdrop-cli`), click *OK* until all windows are closed
6. Reopen Command prompt window
1. Download the latest _pairdrop-cli.zip_ from the [releases page](https://github.com/schlagmichdoch/PairDrop/releases)
2. Put file in a preferred folder e.g. `C:\Program Files\pairdrop-cli`
3. Inside this folder, copy the file _.pairdrop-cli-config.example_ to _.pairdrop-cli-config_
4. Search for and open `Edit environment variables for your account`
5. Click `Environment Variables…`
6. Under _System Variables_ select `Path` and click _Edit..._
7. Click _New_, insert the preferred folder (`C:\Program Files\pairdrop-cli`), click *OK* until all windows are closed
8. Reopen Command prompt window
**Requirements**
As Windows cannot execute bash scripts natively, you need to install [Git Bash](https://gitforwindows.org/).
Then, you can also use pairdrop-cli from the default Windows Command Prompt
by using the shell file instead of the bash file which then itself executes
_pairdrop-cli_ (the bash file) via the Git Bash.
```shell
pairdrop.sh -h
```
<br>
## Send multiple files and directories directly from context menu on Windows
### Registering to open files with PairDrop
It is possible to send multiple files with PairDrop via the context menu by adding pairdrop-cli to Windows `Send to` menu:
1. Download the latest _pairdrop-cli.zip_ from the [releases page](https://github.com/schlagmichdoch/PairDrop/releases)
2. Unzip the archive to a folder of your choice e.g. `C:\Program Files\pairdrop-cli\`
3. Inside this folder, copy the file _.pairdrop-cli-config.example_ to _.pairdrop-cli-config_
4. Copy the shortcut _send with PairDrop.lnk_
5. Hit Windows Key+R, type: `shell:sendto` and hit Enter.
6. Paste the copied shortcut into the directory
7. Open the properties window of the shortcut and edit the link field to point to _send-with-pairdrop.ps1_ located in the folder you used in step 2: \
`"C:\Program Files\PowerShell\7\pwsh.exe" -File "C:\Program Files\pairdrop-cli\send-with-pairdrop.ps1"`
8. You are done! You can now send multiple files and directories directly via PairDrop:
_context menu_ > _Send to_ > _PairDrop_
##### Requirements
As Windows cannot execute bash scripts natively, you need to install [Git Bash](https://gitforwindows.org/).
<br>
## Send multiple files and directories directly from context menu on Ubuntu using Nautilus
### Registering to open files with PairDrop
It is possible to send multiple files with PairDrop via the context menu by adding pairdrop-cli to Nautilus `Scripts` menu:
1. Register _pairdrop_ as executable via [guide above](#linux).
2. Copy the shell file _send-with-pairdrop_ to `~/.local/share/nautilus/scripts/` to include it in the context menu
```shell
cp /usr/share/pairdrop-cli/send-with-pairdrop ~/.local/share/nautilus/scripts/
```
3. Make the shell file _send-with-pairdrop_ executable
```shell
chmod +x ~/.local/share/nautilus/scripts/send-with-pairdrop`
```
4. You are done! You can now send multiple files and directories directly via PairDrop:
_context menu_ > _Scripts_ > _send-with-pairdrop_
<br>
## File Handling API
The [File Handling API](https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/handle-files)
was implemented, but it was removed as default file associations were overwritten ([#17](https://github.com/schlagmichdoch/PairDrop/issues/17),
[#116](https://github.com/schlagmichdoch/PairDrop/issues/116) [#190](https://github.com/schlagmichdoch/PairDrop/issues/190))
and it only worked with explicitly specified file types and couldn't handle directories at all.
[< Back](/README.md)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

852
index.js
View File

@ -1,852 +0,0 @@
const process = require('process')
const crypto = require('crypto')
const {spawn} = require('child_process')
const WebSocket = require('ws');
const fs = require('fs');
const parser = require('ua-parser-js');
const { uniqueNamesGenerator, animals, colors } = require('unique-names-generator');
const express = require('express');
const RateLimit = require('express-rate-limit');
const http = require('http');
// Handle SIGINT
process.on('SIGINT', () => {
console.info("SIGINT Received, exiting...")
process.exit(0)
})
// Handle SIGTERM
process.on('SIGTERM', () => {
console.info("SIGTERM Received, exiting...")
process.exit(0)
})
// Handle APP ERRORS
process.on('uncaughtException', (error, origin) => {
console.log('----- Uncaught exception -----')
console.log(error)
console.log('----- Exception origin -----')
console.log(origin)
})
process.on('unhandledRejection', (reason, promise) => {
console.log('----- Unhandled Rejection at -----')
console.log(promise)
console.log('----- Reason -----')
console.log(reason)
})
if (process.argv.includes('--auto-restart')) {
process.on(
'uncaughtException',
() => {
process.once(
'exit',
() => spawn(
process.argv.shift(),
process.argv,
{
cwd: process.cwd(),
detached: true,
stdio: 'inherit'
}
)
);
process.exit();
}
);
}
const rtcConfig = process.env.RTC_CONFIG
? JSON.parse(fs.readFileSync(process.env.RTC_CONFIG, 'utf8'))
: {
"sdpSemantics": "unified-plan",
"iceServers": [
{
"urls": "stun:stun.l.google.com:19302"
}
]
};
const app = express();
if (process.argv.includes('--rate-limit')) {
const limiter = RateLimit({
windowMs: 5 * 60 * 1000, // 5 minutes
max: 1000, // Limit each IP to 1000 requests per `window` (here, per 5 minutes)
message: 'Too many requests from this IP Address, please try again after 5 minutes.',
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
})
app.use(limiter);
// ensure correct client ip and not the ip of the reverse proxy is used for rate limiting on render.com
// see https://github.com/express-rate-limit/express-rate-limit#troubleshooting-proxy-issues
app.set('trust proxy', 5);
}
if (process.argv.includes('--include-ws-fallback')) {
app.use(express.static('public_included_ws_fallback'));
} else {
app.use(express.static('public'));
}
const debugMode = process.env.DEBUG_MODE === "true";
if (debugMode) {
console.log("DEBUG_MODE is active. To protect privacy, do not use in production.")
}
let ipv6_lcl;
if (process.env.IPV6_LOCALIZE) {
ipv6_lcl = parseInt(process.env.IPV6_LOCALIZE);
if (!ipv6_lcl || !(0 < ipv6_lcl && ipv6_lcl < 8)) {
console.error("IPV6_LOCALIZE must be an integer between 1 and 7");
return;
}
console.log("IPv6 client IPs will be localized to", ipv6_lcl, ipv6_lcl === 1 ? "segment" : "segments");
}
app.use(function(req, res) {
res.redirect('/');
});
app.get('/', (req, res) => {
res.sendFile('index.html');
});
const server = http.createServer(app);
const port = process.env.PORT || 3000;
if (process.argv.includes('--localhost-only')) {
server.listen(port, '127.0.0.1');
} else {
server.listen(port);
}
server.on('error', (err) => {
if (err.code === 'EADDRINUSE') {
console.error(err);
console.info("Error EADDRINUSE received, exiting process without restarting process...");
process.exit(0)
}
});
class PairDropServer {
constructor() {
this._wss = new WebSocket.Server({ server });
this._wss.on('connection', (socket, request) => this._onConnection(new Peer(socket, request)));
this._rooms = {}; // { roomId: peers[] }
this._roomSecrets = {}; // { pairKey: roomSecret }
this._keepAliveTimers = {};
console.log('PairDrop is running on port', port);
}
_onConnection(peer) {
peer.socket.on('message', message => this._onMessage(peer, message));
peer.socket.onerror = e => console.error(e);
this._keepAlive(peer);
this._send(peer, {
type: 'rtc-config',
config: rtcConfig
});
// send displayName
this._send(peer, {
type: 'display-name',
message: {
displayName: peer.name.displayName,
deviceName: peer.name.deviceName,
peerId: peer.id,
peerIdHash: hasher.hashCodeSalted(peer.id)
}
});
}
_onMessage(sender, message) {
// Try to parse message
try {
message = JSON.parse(message);
} catch (e) {
return; // TODO: handle malformed JSON
}
switch (message.type) {
case 'disconnect':
this._onDisconnect(sender);
break;
case 'pong':
this._setKeepAliveTimerToNow(sender);
break;
case 'join-ip-room':
this._joinIpRoom(sender);
break;
case 'room-secrets':
this._onRoomSecrets(sender, message);
break;
case 'room-secrets-deleted':
this._onRoomSecretsDeleted(sender, message);
break;
case 'pair-device-initiate':
this._onPairDeviceInitiate(sender);
break;
case 'pair-device-join':
this._onPairDeviceJoin(sender, message);
break;
case 'pair-device-cancel':
this._onPairDeviceCancel(sender);
break;
case 'regenerate-room-secret':
this._onRegenerateRoomSecret(sender, message);
break;
case 'create-public-room':
this._onCreatePublicRoom(sender);
break;
case 'join-public-room':
this._onJoinPublicRoom(sender, message);
break;
case 'leave-public-room':
this._onLeavePublicRoom(sender);
break;
case 'signal':
default:
this._signalAndRelay(sender, message);
}
}
_signalAndRelay(sender, message) {
const room = message.roomType === 'ip'
? sender.ip
: message.roomId;
// relay message to recipient
if (message.to && Peer.isValidUuid(message.to) && this._rooms[room]) {
const recipient = this._rooms[room][message.to];
delete message.to;
// add sender
message.sender = {
id: sender.id,
rtcSupported: sender.rtcSupported
};
this._send(recipient, message);
}
}
_onDisconnect(sender) {
this._disconnect(sender);
}
_disconnect(sender) {
this._removePairKey(sender.pairKey);
sender.pairKey = null;
this._cancelKeepAlive(sender);
delete this._keepAliveTimers[sender.id];
this._leaveIpRoom(sender, true);
this._leaveAllSecretRooms(sender, true);
this._leavePublicRoom(sender, true);
sender.socket.terminate();
}
_onRoomSecrets(sender, message) {
if (!message.roomSecrets) return;
const roomSecrets = message.roomSecrets.filter(roomSecret => {
return /^[\x00-\x7F]{64,256}$/.test(roomSecret);
})
if (!roomSecrets) return;
this._joinSecretRooms(sender, roomSecrets);
}
_onRoomSecretsDeleted(sender, message) {
for (let i = 0; i<message.roomSecrets.length; i++) {
this._deleteSecretRoom(message.roomSecrets[i]);
}
}
_deleteSecretRoom(roomSecret) {
const room = this._rooms[roomSecret];
if (!room) return;
for (const peerId in room) {
const peer = room[peerId];
this._leaveSecretRoom(peer, roomSecret, true);
this._send(peer, {
type: 'secret-room-deleted',
roomSecret: roomSecret,
});
}
}
_onPairDeviceInitiate(sender) {
let roomSecret = randomizer.getRandomString(256);
let pairKey = this._createPairKey(sender, roomSecret);
if (sender.pairKey) {
this._removePairKey(sender.pairKey);
}
sender.pairKey = pairKey;
this._send(sender, {
type: 'pair-device-initiated',
roomSecret: roomSecret,
pairKey: pairKey
});
this._joinSecretRoom(sender, roomSecret);
}
_onPairDeviceJoin(sender, message) {
if (sender.rateLimitReached()) {
this._send(sender, { type: 'join-key-rate-limit' });
return;
}
if (!this._roomSecrets[message.pairKey] || sender.id === this._roomSecrets[message.pairKey].creator.id) {
this._send(sender, { type: 'pair-device-join-key-invalid' });
return;
}
const roomSecret = this._roomSecrets[message.pairKey].roomSecret;
const creator = this._roomSecrets[message.pairKey].creator;
this._removePairKey(message.pairKey);
this._send(sender, {
type: 'pair-device-joined',
roomSecret: roomSecret,
peerId: creator.id
});
this._send(creator, {
type: 'pair-device-joined',
roomSecret: roomSecret,
peerId: sender.id
});
this._joinSecretRoom(sender, roomSecret);
this._removePairKey(sender.pairKey);
}
_onPairDeviceCancel(sender) {
const pairKey = sender.pairKey
if (!pairKey) return;
this._removePairKey(pairKey);
this._send(sender, {
type: 'pair-device-canceled',
pairKey: pairKey,
});
}
_onCreatePublicRoom(sender) {
let publicRoomId = randomizer.getRandomString(5, true).toLowerCase();
this._send(sender, {
type: 'public-room-created',
roomId: publicRoomId
});
this._joinPublicRoom(sender, publicRoomId);
}
_onJoinPublicRoom(sender, message) {
if (sender.rateLimitReached()) {
this._send(sender, { type: 'join-key-rate-limit' });
return;
}
if (!this._rooms[message.publicRoomId] && !message.createIfInvalid) {
this._send(sender, { type: 'public-room-id-invalid', publicRoomId: message.publicRoomId });
return;
}
this._leavePublicRoom(sender);
this._joinPublicRoom(sender, message.publicRoomId);
}
_onLeavePublicRoom(sender) {
this._leavePublicRoom(sender, true);
this._send(sender, { type: 'public-room-left' });
}
_onRegenerateRoomSecret(sender, message) {
const oldRoomSecret = message.roomSecret;
const newRoomSecret = randomizer.getRandomString(256);
// notify all other peers
for (const peerId in this._rooms[oldRoomSecret]) {
const peer = this._rooms[oldRoomSecret][peerId];
this._send(peer, {
type: 'room-secret-regenerated',
oldRoomSecret: oldRoomSecret,
newRoomSecret: newRoomSecret,
});
peer.removeRoomSecret(oldRoomSecret);
}
delete this._rooms[oldRoomSecret];
}
_createPairKey(creator, roomSecret) {
let pairKey;
do {
// get randomInt until keyRoom not occupied
pairKey = crypto.randomInt(1000000, 1999999).toString().substring(1); // include numbers with leading 0s
} while (pairKey in this._roomSecrets)
this._roomSecrets[pairKey] = {
roomSecret: roomSecret,
creator: creator
}
return pairKey;
}
_removePairKey(roomKey) {
if (roomKey in this._roomSecrets) {
this._roomSecrets[roomKey].creator.roomKey = null
delete this._roomSecrets[roomKey];
}
}
_joinIpRoom(peer) {
this._joinRoom(peer, 'ip', peer.ip);
}
_joinSecretRoom(peer, roomSecret) {
this._joinRoom(peer, 'secret', roomSecret);
// add secret to peer
peer.addRoomSecret(roomSecret);
}
_joinPublicRoom(peer, publicRoomId) {
// prevent joining of 2 public rooms simultaneously
this._leavePublicRoom(peer);
this._joinRoom(peer, 'public-id', publicRoomId);
peer.publicRoomId = publicRoomId;
}
_joinRoom(peer, roomType, roomId) {
// roomType: 'ip', 'secret' or 'public-id'
if (this._rooms[roomId] && this._rooms[roomId][peer.id]) {
// ensures that otherPeers never receive `peer-left` after `peer-joined` on reconnect.
this._leaveRoom(peer, roomType, roomId);
}
// if room doesn't exist, create it
if (!this._rooms[roomId]) {
this._rooms[roomId] = {};
}
this._notifyPeers(peer, roomType, roomId);
// add peer to room
this._rooms[roomId][peer.id] = peer;
}
_leaveIpRoom(peer, disconnect = false) {
this._leaveRoom(peer, 'ip', peer.ip, disconnect);
}
_leaveSecretRoom(peer, roomSecret, disconnect = false) {
this._leaveRoom(peer, 'secret', roomSecret, disconnect)
//remove secret from peer
peer.removeRoomSecret(roomSecret);
}
_leavePublicRoom(peer, disconnect = false) {
if (!peer.publicRoomId) return;
this._leaveRoom(peer, 'public-id', peer.publicRoomId, disconnect);
peer.publicRoomId = null;
}
_leaveRoom(peer, roomType, roomId, disconnect = false) {
if (!this._rooms[roomId] || !this._rooms[roomId][peer.id]) return;
// remove peer from room
delete this._rooms[roomId][peer.id];
// delete room if empty and abort
if (!Object.keys(this._rooms[roomId]).length) {
delete this._rooms[roomId];
return;
}
// notify all other peers that remain in room that peer left
for (const otherPeerId in this._rooms[roomId]) {
const otherPeer = this._rooms[roomId][otherPeerId];
let msg = {
type: 'peer-left',
peerId: peer.id,
roomType: roomType,
roomId: roomId,
disconnect: disconnect
};
this._send(otherPeer, msg);
}
}
_notifyPeers(peer, roomType, roomId) {
if (!this._rooms[roomId]) return;
// notify all other peers that peer joined
for (const otherPeerId in this._rooms[roomId]) {
if (otherPeerId === peer.id) continue;
const otherPeer = this._rooms[roomId][otherPeerId];
let msg = {
type: 'peer-joined',
peer: peer.getInfo(),
roomType: roomType,
roomId: roomId
};
this._send(otherPeer, msg);
}
// notify peer about peers already in the room
const otherPeers = [];
for (const otherPeerId in this._rooms[roomId]) {
if (otherPeerId === peer.id) continue;
otherPeers.push(this._rooms[roomId][otherPeerId].getInfo());
}
let msg = {
type: 'peers',
peers: otherPeers,
roomType: roomType,
roomId: roomId
};
this._send(peer, msg);
}
_joinSecretRooms(peer, roomSecrets) {
for (let i=0; i<roomSecrets.length; i++) {
this._joinSecretRoom(peer, roomSecrets[i])
}
}
_leaveAllSecretRooms(peer, disconnect = false) {
for (let i=0; i<peer.roomSecrets.length; i++) {
this._leaveSecretRoom(peer, peer.roomSecrets[i], disconnect);
}
}
_send(peer, message) {
if (!peer) return;
if (this._wss.readyState !== this._wss.OPEN) return;
message = JSON.stringify(message);
peer.socket.send(message);
}
_keepAlive(peer) {
this._cancelKeepAlive(peer);
let timeout = 1000;
if (!this._keepAliveTimers[peer.id]) {
this._keepAliveTimers[peer.id] = {
timer: 0,
lastBeat: Date.now()
};
}
if (Date.now() - this._keepAliveTimers[peer.id].lastBeat > 5 * timeout) {
// Disconnect peer if unresponsive for 10s
this._disconnect(peer);
return;
}
this._send(peer, { type: 'ping' });
this._keepAliveTimers[peer.id].timer = setTimeout(() => this._keepAlive(peer), timeout);
}
_cancelKeepAlive(peer) {
if (this._keepAliveTimers[peer.id]?.timer) {
clearTimeout(this._keepAliveTimers[peer.id].timer);
}
}
_setKeepAliveTimerToNow(peer) {
if (this._keepAliveTimers[peer.id]?.lastBeat) {
this._keepAliveTimers[peer.id].lastBeat = Date.now();
}
}
}
class Peer {
constructor(socket, request) {
// set socket
this.socket = socket;
// set remote ip
this._setIP(request);
// set peer id
this._setPeerId(request);
// is WebRTC supported ?
this.rtcSupported = request.url.indexOf('webrtc') > -1;
// set name
this._setName(request);
this.requestRate = 0;
this.roomSecrets = [];
this.roomKey = null;
this.publicRoomId = null;
}
rateLimitReached() {
// rate limit implementation: max 10 attempts every 10s
if (this.requestRate >= 10) {
return true;
}
this.requestRate += 1;
setTimeout(_ => this.requestRate -= 1, 10000);
return false;
}
_setIP(request) {
if (request.headers['cf-connecting-ip']) {
this.ip = request.headers['cf-connecting-ip'].split(/\s*,\s*/)[0];
} else if (request.headers['x-forwarded-for']) {
this.ip = request.headers['x-forwarded-for'].split(/\s*,\s*/)[0];
} else {
this.ip = request.connection.remoteAddress;
}
// remove the prefix used for IPv4-translated addresses
if (this.ip.substring(0,7) === "::ffff:")
this.ip = this.ip.substring(7);
let ipv6_was_localized = false;
if (ipv6_lcl && this.ip.includes(':')) {
this.ip = this.ip.split(':',ipv6_lcl).join(':');
ipv6_was_localized = true;
}
if (debugMode) {
console.debug("----DEBUGGING-PEER-IP-START----");
console.debug("remoteAddress:", request.connection.remoteAddress);
console.debug("x-forwarded-for:", request.headers['x-forwarded-for']);
console.debug("cf-connecting-ip:", request.headers['cf-connecting-ip']);
if (ipv6_was_localized)
console.debug("IPv6 client IP was localized to", ipv6_lcl, ipv6_lcl > 1 ? "segments" : "segment");
console.debug("PairDrop uses:", this.ip);
console.debug("IP is private:", this.ipIsPrivate(this.ip));
console.debug("if IP is private, '127.0.0.1' is used instead");
console.debug("----DEBUGGING-PEER-IP-END----");
}
// IPv4 and IPv6 use different values to refer to localhost
// put all peers on the same network as the server into the same room as well
if (this.ip === '::1' || this.ipIsPrivate(this.ip)) {
this.ip = '127.0.0.1';
}
}
ipIsPrivate(ip) {
// if ip is IPv4
if (!ip.includes(":")) {
// 10.0.0.0 - 10.255.255.255 || 172.16.0.0 - 172.31.255.255 || 192.168.0.0 - 192.168.255.255
return /^(10)\.(.*)\.(.*)\.(.*)$/.test(ip) || /^(172)\.(1[6-9]|2[0-9]|3[0-1])\.(.*)\.(.*)$/.test(ip) || /^(192)\.(168)\.(.*)\.(.*)$/.test(ip)
}
// else: ip is IPv6
const firstWord = ip.split(":").find(el => !!el); //get first not empty word
// The original IPv6 Site Local addresses (fec0::/10) are deprecated. Range: fec0 - feff
if (/^fe[c-f][0-f]$/.test(firstWord))
return true;
// These days Unique Local Addresses (ULA) are used in place of Site Local.
// Range: fc00 - fcff
else if (/^fc[0-f]{2}$/.test(firstWord))
return true;
// Range: fd00 - fcff
else if (/^fd[0-f]{2}$/.test(firstWord))
return true;
// Link local addresses (prefixed with fe80) are not routable
else if (firstWord === "fe80")
return true;
// Discard Prefix
else if (firstWord === "100")
return true;
// Any other IP address is not Unique Local Address (ULA)
return false;
}
_setPeerId(request) {
const searchParams = new URL(request.url, "http://server").searchParams;
let peerId = searchParams.get("peer_id");
let peerIdHash = searchParams.get("peer_id_hash");
if (peerId && Peer.isValidUuid(peerId) && this.isPeerIdHashValid(peerId, peerIdHash)) {
this.id = peerId;
} else {
this.id = crypto.randomUUID();
}
}
toString() {
return `<Peer id=${this.id} ip=${this.ip} rtcSupported=${this.rtcSupported}>`
}
_setName(req) {
let ua = parser(req.headers['user-agent']);
let deviceName = '';
if (ua.os && ua.os.name) {
deviceName = ua.os.name.replace('Mac OS', 'Mac') + ' ';
}
if (ua.device.model) {
deviceName += ua.device.model;
} else {
deviceName += ua.browser.name;
}
if(!deviceName)
deviceName = 'Unknown Device';
const displayName = uniqueNamesGenerator({
length: 2,
separator: ' ',
dictionaries: [colors, animals],
style: 'capital',
seed: cyrb53(this.id)
})
this.name = {
model: ua.device.model,
os: ua.os.name,
browser: ua.browser.name,
type: ua.device.type,
deviceName,
displayName
};
}
getInfo() {
return {
id: this.id,
name: this.name,
rtcSupported: this.rtcSupported
}
}
static isValidUuid(uuid) {
return /^([0-9]|[a-f]){8}-(([0-9]|[a-f]){4}-){3}([0-9]|[a-f]){12}$/.test(uuid);
}
isPeerIdHashValid(peerId, peerIdHash) {
return peerIdHash === hasher.hashCodeSalted(peerId);
}
addRoomSecret(roomSecret) {
if (!(roomSecret in this.roomSecrets)) {
this.roomSecrets.push(roomSecret);
}
}
removeRoomSecret(roomSecret) {
if (roomSecret in this.roomSecrets) {
delete this.roomSecrets[roomSecret];
}
}
}
const hasher = (() => {
let password;
return {
hashCodeSalted(salt) {
if (!password) {
// password is created on first call.
password = randomizer.getRandomString(128);
}
return crypto.createHash("sha3-512")
.update(password)
.update(crypto.createHash("sha3-512").update(salt, "utf8").digest("hex"))
.digest("hex");
}
}
})()
const randomizer = (() => {
let charCodeLettersOnly = r => 65 <= r && r <= 90;
let charCodeAllPrintableChars = r => r === 45 || 47 <= r && r <= 57 || 64 <= r && r <= 90 || 97 <= r && r <= 122;
return {
getRandomString(length, lettersOnly = false) {
const charCodeCondition = lettersOnly
? charCodeLettersOnly
: charCodeAllPrintableChars;
let string = "";
while (string.length < length) {
let arr = new Uint16Array(length);
crypto.webcrypto.getRandomValues(arr);
arr = Array.apply([], arr); /* turn into non-typed array */
arr = arr.map(function (r) {
return r % 128
})
arr = arr.filter(function (r) {
/* strip non-printables: if we transform into desirable range we have a probability bias, so I suppose we better skip this character */
return charCodeCondition(r);
});
string += String.fromCharCode.apply(String, arr);
}
return string.substring(0, length)
}
}
})()
/*
cyrb53 (c) 2018 bryc (github.com/bryc)
A fast and simple hash function with decent collision resistance.
Largely inspired by MurmurHash2/3, but with a focus on speed/simplicity.
Public domain. Attribution appreciated.
*/
const cyrb53 = function(str, seed = 0) {
let h1 = 0xdeadbeef ^ seed, h2 = 0x41c6ce57 ^ seed;
for (let i = 0, ch; i < str.length; i++) {
ch = str.charCodeAt(i);
h1 = Math.imul(h1 ^ ch, 2654435761);
h2 = Math.imul(h2 ^ ch, 1597334677);
}
h1 = Math.imul(h1 ^ (h1>>>16), 2246822507) ^ Math.imul(h2 ^ (h2>>>13), 3266489909);
h2 = Math.imul(h2 ^ (h2>>>16), 2246822507) ^ Math.imul(h1 ^ (h1>>>13), 3266489909);
return 4294967296 * (2097151 & h2) + (h1>>>0);
};
new PairDropServer();

View File

@ -0,0 +1,28 @@
BSD 3-Clause License
Copyright (c) 2023, Gildas Lormeau
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

22
licenses/MIT-NoSleep Normal file
View File

@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) Rich Tibbett
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

22
licenses/MIT-heic2any Normal file
View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2020 Alex Corvi
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

51
package-lock.json generated
View File

@ -1,19 +1,19 @@
{
"name": "pairdrop",
"version": "1.9.4",
"version": "1.10.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pairdrop",
"version": "1.9.4",
"version": "1.10.5",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"express-rate-limit": "^7.1.1",
"ua-parser-js": "^1.0.36",
"express-rate-limit": "^7.1.5",
"ua-parser-js": "^1.0.37",
"unique-names-generator": "^4.3.0",
"ws": "^8.14.2"
"ws": "^8.16.0"
},
"engines": {
"node": ">=15"
@ -204,14 +204,17 @@
}
},
"node_modules/express-rate-limit": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.1.1.tgz",
"integrity": "sha512-o5ye/a4EHCPQPju25Y4HChHybrCM9v37QtQDqXUDZGuD+HB7Cbu8ZhJP6/9RORcSNtkCpnEssa6oUgJgzc7ckQ==",
"version": "7.1.5",
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.1.5.tgz",
"integrity": "sha512-/iVogxu7ueadrepw1bS0X0kaRC/U0afwiYRSLg68Ts+p4Dc85Q5QKsOnPS/QUjPMHvOJQtBDrZgvkOzf8ejUYw==",
"engines": {
"node": ">= 16"
},
"funding": {
"url": "https://github.com/sponsors/express-rate-limit"
},
"peerDependencies": {
"express": "^4 || ^5"
"express": "4 || 5 || ^5.0.0-beta.1"
}
},
"node_modules/finalhandler": {
@ -583,9 +586,9 @@
}
},
"node_modules/ua-parser-js": {
"version": "1.0.36",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.36.tgz",
"integrity": "sha512-znuyCIXzl8ciS3+y3fHJI/2OhQIXbXw9MWC/o3qwyR+RGppjZHrM27CGFSKCJXi2Kctiz537iOu2KnXs1lMQhw==",
"version": "1.0.37",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz",
"integrity": "sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==",
"funding": [
{
"type": "opencollective",
@ -637,9 +640,9 @@
}
},
"node_modules/ws": {
"version": "8.14.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"engines": {
"node": ">=10.0.0"
},
@ -805,9 +808,9 @@
}
},
"express-rate-limit": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.1.1.tgz",
"integrity": "sha512-o5ye/a4EHCPQPju25Y4HChHybrCM9v37QtQDqXUDZGuD+HB7Cbu8ZhJP6/9RORcSNtkCpnEssa6oUgJgzc7ckQ==",
"version": "7.1.5",
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.1.5.tgz",
"integrity": "sha512-/iVogxu7ueadrepw1bS0X0kaRC/U0afwiYRSLg68Ts+p4Dc85Q5QKsOnPS/QUjPMHvOJQtBDrZgvkOzf8ejUYw==",
"requires": {}
},
"finalhandler": {
@ -1074,9 +1077,9 @@
}
},
"ua-parser-js": {
"version": "1.0.36",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.36.tgz",
"integrity": "sha512-znuyCIXzl8ciS3+y3fHJI/2OhQIXbXw9MWC/o3qwyR+RGppjZHrM27CGFSKCJXi2Kctiz537iOu2KnXs1lMQhw=="
"version": "1.0.37",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz",
"integrity": "sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ=="
},
"unique-names-generator": {
"version": "4.7.1",
@ -1099,9 +1102,9 @@
"integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="
},
"ws": {
"version": "8.14.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"requires": {}
}
}

View File

@ -1,20 +1,21 @@
{
"name": "pairdrop",
"version": "1.9.4",
"version": "1.10.5",
"type": "module",
"description": "",
"main": "index.js",
"main": "server/index.js",
"scripts": {
"start": "node index.js",
"start:prod": "node index.js --rate-limit --auto-restart"
"start": "node server/index.js",
"start:prod": "node server/index.js --rate-limit --auto-restart"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"express-rate-limit": "^7.1.1",
"ua-parser-js": "^1.0.36",
"express-rate-limit": "^7.1.5",
"ua-parser-js": "^1.0.37",
"unique-names-generator": "^4.3.0",
"ws": "^8.14.2"
"ws": "^8.16.0"
},
"engines": {
"node": ">=15"

1
pairdrop-cli/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.pairdrop-cli-config

View File

@ -0,0 +1 @@
DOMAIN=https://pairdrop.net/

View File

@ -1,6 +1,9 @@
#!/bin/bash
set -e
# PairDrop version when this file was last changed
version="v1.10.4"
############################################################
# Help #
############################################################
@ -12,10 +15,12 @@ help()
echo
echo "Usage:"
echo -e "Open PairDrop:\t\t$(basename "$0")"
echo -e "Send files:\t\t$(basename "$0") file/directory"
echo -e "Send files:\t\t$(basename "$0") file1/directory1 (file2/directory2 file3/directory3 ...)"
echo -e "Send text:\t\t$(basename "$0") -t \"text\""
echo -e "Specify domain:\t\t$(basename "$0") -d \"https://pairdrop.net/\""
echo -e "Show this help text:\t$(basename "$0") (-h|--help)"
echo
echo "This pairdrop-cli version was released alongside ${version}"
}
openPairDrop()
@ -36,7 +41,7 @@ openPairDrop()
elif [[ $OS == "WSL" || $OS == "WSL2" ]];then
powershell.exe /c "Start-Process ${url}"
else
xdg-open "$url"
xdg-open "$url" > /dev/null 2>&1
fi
@ -62,7 +67,7 @@ setOs()
specifyDomain()
{
[[ ! $1 = http* ]] || [[ ! $1 = */ ]] && echo "Incorrect format. Specify domain like https://pairdrop.net/" && exit
echo "DOMAIN=${1}" > "$CONFIGPATH"
echo "DOMAIN=${1}" > "$config_path"
echo -e "Domain is now set to:\n$1\n"
}
@ -87,75 +92,228 @@ sendText()
exit
}
escapePSPath()
{
local path=$1
# escape '[' and ']' with grave accent (`) character
pathPS=${path//[/\`[}
pathPS=${pathPS//]/\`]}
# escape single quote (') with another single quote (')
pathPS=${pathPS//\'/\'\'}
# Convert GitHub bash path "/i/path" to Windows path "I:/path"
if [[ $pathPS == /* ]]; then
# Remove preceding slash
pathPS="${pathPS#/}"
# Convert drive letter to uppercase
driveLetter=$(echo "${pathPS::1}" | tr '[:lower:]' '[:upper:]')
# Put together absolute path as used in Windows
pathPS="${driveLetter}:${pathPS:1}"
fi
echo "$pathPS"
}
sendFiles()
{
params="base64zip=hash"
if [[ $1 == */ ]]; then
path="${1::-1}"
else
path=$1
fi
zipPath="${path}_pairdrop.zip"
zipPath=${zipPath// /_}
workingDir="$(pwd)"
tmpDir="/tmp/pairdrop-cli-temp/"
tmpDirPS="\$env:TEMP/pairdrop-cli-temp/"
index=0
directoryBaseNamesUnix=()
directoryPathsUnix=()
filePathsUnix=()
directoryCount=0
fileCount=0
pathsPS=""
[[ -a "$zipPath" ]] && echo "Cannot overwrite $zipPath. Please remove first." && exit
if [[ -d $path ]]; then
zipPathTemp="${path}_pairdrop_temp.zip"
[[ -a "$zipPathTemp" ]] && echo "Cannot overwrite $zipPathTemp. Please remove first." && exit
echo "Processing directory..."
# Create zip files temporarily to send directory
if [[ $OS == "Windows" ]];then
powershell.exe -Command "Compress-Archive -Path ${path} -DestinationPath ${zipPath}"
echo "Compress-Archive -Path ${zipPath} -DestinationPath ${zipPathTemp}"
powershell.exe -Command "Compress-Archive -Path ${zipPath} -DestinationPath ${zipPathTemp}"
else
zip -q -b /tmp/ -r "$zipPath" "$path"
zip -q -b /tmp/ "$zipPathTemp" "$zipPath"
fi
if [[ $OS == "Mac" ]];then
hash=$(base64 -i "$zipPathTemp")
else
hash=$(base64 -w 0 "$zipPathTemp")
fi
# remove temporary temp file
rm "$zipPathTemp"
else
echo "Processing file..."
# Create zip file temporarily to send file
if [[ $OS == "Windows" ]];then
powershell.exe -Command "Compress-Archive -Path ${path} -DestinationPath ${zipPath} -CompressionLevel Optimal"
else
zip -q -b /tmp/ "$zipPath" "$path"
fi
if [[ $OS == "Mac" ]];then
hash=$(base64 -i "$zipPath")
else
hash=$(base64 -w 0 "$zipPath")
fi
#create tmp folder if it does not exist already
if [[ ! -d "$tmpDir" ]]; then
mkdir "$tmpDir"
fi
# remove temporary temp file
rm "$zipPath"
for arg in "$@"; do
echo "$arg"
[[ ! -e "$arg" ]] && echo "The given path $arg does not exist." && exit
if [[ $(echo -n "$hash" | wc -m) -gt 32600 ]];then
# Remove trailing slash from directory
arg="${arg%/}"
# get absolute path and basename of file/directory
absolutePath=$(realpath "$arg")
baseName=$(basename "$absolutePath")
directoryPath=$(dirname "$absolutePath")
if [[ -d $absolutePath ]]; then
# is directory
((directoryCount+=1))
# add basename and directory path to arrays
directoryBaseNamesUnix+=("$baseName")
directoryPathsUnix+=("$directoryPath")
else
# is file
((fileCount+=1))
absolutePathUnix=$absolutePath
# append new path and separate paths with space
filePathsUnix+=("$absolutePathUnix")
fi
# Prepare paths for PowerShell on Windows
if [[ $OS == "Windows" ]];then
absolutePathPS=$(escapePSPath "$absolutePath")
# append new path and separate paths with commas
pathsPS+="'${absolutePathPS}', "
fi
# set fileNames on first loop
if [[ $index == 0 ]]; then
baseNameU=${baseName// /_}
# Prevent baseNameU being empty for hidden files by removing the preceding dot
if [[ $baseNameU == .* ]]; then
baseNameU=${baseNameU#.*}
fi
# only use trunk of basename "document.txt" -> "document"
baseNameTrunk=${baseNameU%.*}
# remove all special characters
zipName=${baseNameTrunk//[^a-zA-Z0-9_]/}
zipToSendAbs="${tmpDir}${zipName}_pairdrop.zip"
wrapperZipAbs="${tmpDir}${zipName}_pairdrop_wrapper.zip"
if [[ $OS == "Windows" ]];then
zipToSendAbsPS="${tmpDirPS}${zipName}_pairdrop.zip"
wrapperZipAbsPS="${tmpDirPS}${zipName}_pairdrop_wrapper.zip"
fi
fi
((index+=1)) # somehow ((index++)) stops the script
done
# Prepare paths for PowerShell on Windows
if [[ $OS == "Windows" ]];then
# remove trailing comma
pathsPS=${pathsPS%??}
fi
echo "Preparing ${fileCount} files and ${directoryCount} directories..."
# if arguments include files only -> zip files once so files it is unzipped by sending browser
# if arguments include directories -> wrap first zip in a second wrapper zip so that after unzip by sending browser a zip file is sent to receiver
#
# Preferred zip structure:
# pairdrop "d1/d2/d3/f1" "../../d4/d5/d6/f2" "d7/" "../d8/" "f5"
# zip structure: pairdrop.zip
# |-f1
# |-f2
# |-d7/
# |-d8/
# |-f5
# -> truncate (relative) paths but keep directories
[[ -e "$zipToSendAbs" ]] && echo "Cannot overwrite $zipToSendAbs. Please remove first." && exit
if [[ $OS == "Windows" ]];then
# Powershell does preferred zip structure natively
powershell.exe -Command "Compress-Archive -Path ${pathsPS} -DestinationPath ${zipToSendAbsPS}"
else
# Workaround needed to create preferred zip structure on unix systems
# Create zip file with all single files by junking the path
if [[ $fileCount != 0 ]]; then
zip -q -b /tmp/ -j -0 -r "$zipToSendAbs" "${filePathsUnix[@]}"
fi
# Add directories recursively to zip file
index=0
while [[ $index < $directoryCount ]]; do
# workaround to keep directory name but junk the rest of the paths
# cd to path above directory
cd "${directoryPathsUnix[index]}"
# add directory to zip without junking the path
zip -q -b /tmp/ -0 -u -r "$zipToSendAbs" "${directoryBaseNamesUnix[index]}"
# cd back to working directory
cd "$workingDir"
((index+=1)) # somehow ((index++)) stops the script
done
fi
# If directories are included send as zip
# -> Create additional zip wrapper which will be unzipped by the sending browser
if [[ "$directoryCount" != 0 ]]; then
echo "Bundle as ZIP file..."
# Prevent filename from being absolute zip path by "cd"ing to directory before zipping
zipToSendDirectory=$(dirname "$zipToSendAbs")
zipToSendBaseName=$(basename "$zipToSendAbs")
cd "$zipToSendDirectory"
[[ -e "$wrapperZipAbs" ]] && echo "Cannot overwrite $wrapperZipAbs. Please remove first." && exit
if [[ $OS == "Windows" ]];then
powershell.exe -Command "Compress-Archive -Path ${zipToSendBaseName} -DestinationPath ${wrapperZipAbsPS} -CompressionLevel Optimal"
else
zip -q -b /tmp/ -0 "$wrapperZipAbs" "$zipToSendBaseName"
fi
cd "$workingDir"
# remove inner zip file and set wrapper as zipToSend (do not differentiate between OS as this is done via Git Bash on Windows)
rm "$zipToSendAbs"
zipToSendAbs=$wrapperZipAbs
fi
# base64 encode zip file
if [[ $OS == "Mac" ]];then
hash=$(base64 -i "$zipToSendAbs")
else
hash=$(base64 -w 0 "$zipToSendAbs")
fi
# remove zip file (do not differentiate between OS as this is done via Git Bash on Windows)
rm "$zipToSendAbs"
if [[ $(echo -n "$hash" | wc -m) -gt 1000 ]];then
params="base64zip=paste"
# Copy $hash to clipboard
if [[ $OS == "Windows" || $OS == "WSL" || $OS == "WSL2" ]];then
echo -n "$hash" | clip.exe
elif [[ $OS == "Mac" ]];then
echo -n "$hash" | pbcopy
elif [ -n "$WAYLAND_DISPLAY" ]; then
# Wayland
if ! command -v wl-copy &> /dev/null; then
echo -e "You need to install 'wl-copy' to send bigger filePathsUnix from cli"
echo "Try: sudo apt install wl-clipboard"
exit 1
fi
# Workaround to prevent use of Pipe which has a max letter limit
echo -n "$hash" > /tmp/pairdrop-cli-temp/pairdrop_hash_temp
wl-copy < /tmp/pairdrop-cli-temp/pairdrop_hash_temp
rm /tmp/pairdrop-cli-temp/pairdrop_hash_temp
else
(echo -n "$hash" | xclip) || echo "You need to install xclip for sending bigger files from cli"
# X11
if ! command -v xclip &> /dev/null; then
echo -e "You need to install 'xclip' to send bigger filePathsUnix from cli"
echo "Try: sudo apt install xclip"
exit 1
fi
echo -n "$hash" | xclip -sel c
fi
hash=
fi
openPairDrop
exit
}
@ -165,31 +323,35 @@ sendFiles()
# Main program #
############################################################
############################################################
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
script_path="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
pushd . > '/dev/null';
SCRIPTPATH="${BASH_SOURCE[0]:-$0}";
script_path="${BASH_SOURCE[0]:-$0}";
while [ -h "$SCRIPTPATH" ];
while [ -h "$script_path" ];
do
cd "$( dirname -- "$SCRIPTPATH"; )";
SCRIPTPATH="$( readlink -f -- "$SCRIPTPATH"; )";
cd "$( dirname -- "$script_path"; )";
script_path="$( readlink -f -- "$script_path"; )";
done
cd "$( dirname -- "$SCRIPTPATH"; )" > '/dev/null';
SCRIPTPATH="$( pwd; )";
cd "$( dirname -- "$script_path"; )" > '/dev/null';
script_path="$( pwd; )";
popd > '/dev/null';
CONFIGPATH="${SCRIPTPATH}/.pairdrop-cli-config"
config_path="${script_path}/.pairdrop-cli-config"
[ ! -f "$CONFIGPATH" ] &&
specifyDomain "https://pairdrop.net/" &&
[ ! -f "$CONFIGPATH" ] &&
echo "Could not create config file. Add 'DOMAIN=https://pairdrop.net/' to a file called .pairdrop-cli-config in the same file as this 'pairdrop' bash file"
# If config file does not exist, try to create it. If it fails log error message and exit
[ ! -f "$config_path" ] &&
specifyDomain "https://pairdrop.net/" &&
[ ! -f "$config_path" ] &&
echo "Could not create config file. Add 'DOMAIN=https://pairdrop.net/' to a file called .pairdrop-cli-config in the same file as this 'pairdrop' bash file (${script_path})" &&
exit
[ ! -f "$CONFIGPATH" ] || export "$(grep -v '^#' "$CONFIGPATH" | xargs)"
# Read config variables
export "$(grep -v '^#' "$config_path" | xargs)"
setOs
############################################################
# Process the input options. Add options as needed. #
############################################################
@ -198,24 +360,23 @@ setOs
[[ $# -eq 0 ]] && openPairDrop && exit
# display help and exit if first argument is "--help" or more than 2 arguments are given
[ "$1" == "--help" ] || [[ $# -gt 2 ]] && help && exit
[ "$1" == "--help" ] && help && exit
while getopts "d:ht:*" option; do
case $option in
d) # specify domain
specifyDomain "$2"
exit;;
t) # Send text
sendText
exit;;
h | ?) # display help and exit
help
exit;;
esac
case $option in
d) # specify domain - show help and exit if too many arguments
[[ $# -gt 2 ]] && help && exit
specifyDomain "$2"
exit;;
t) # Send text - show help and exit if too many arguments
[[ $# -gt 2 ]] && help && exit
sendText
exit;;
h | ?) # display help and exit
help
exit;;
esac
done
# Send file(s)
# display help and exit if 2 arguments are given or if file does not exist
[[ $# -eq 2 ]] || [[ ! -a $1 ]] && help && exit
sendFiles "$1"
sendFiles "$@"

6
pairdrop-cli/pairdrop.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit
./pairdrop "$@"

Binary file not shown.

View File

@ -0,0 +1,17 @@
#!/bin/bash
# Initialize an array
lines=()
# Read each line into the array
while IFS= read -r line; do
lines+=("$line")
done <<< "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
# Get the length of the array
length=${#lines[@]}
# Remove the last entry
unset 'lines[length-1]'
pairdrop "${lines[@]}"

View File

@ -0,0 +1,3 @@
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
& "$scriptDir\pairdrop.sh" $args

View File

@ -0,0 +1,93 @@
Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -0,0 +1,100 @@
Open Sans Variable Font
=======================
This download contains Open Sans as both variable fonts and static fonts.
Open Sans is a variable font with these axes:
wdth
wght
This means all the styles are contained in these files:
OpenSans-VariableFont_wdth,wght.ttf
OpenSans-Italic-VariableFont_wdth,wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that arent available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Open Sans:
static/OpenSans_Condensed-Light.ttf
static/OpenSans_Condensed-Regular.ttf
static/OpenSans_Condensed-Medium.ttf
static/OpenSans_Condensed-SemiBold.ttf
static/OpenSans_Condensed-Bold.ttf
static/OpenSans_Condensed-ExtraBold.ttf
static/OpenSans_SemiCondensed-Light.ttf
static/OpenSans_SemiCondensed-Regular.ttf
static/OpenSans_SemiCondensed-Medium.ttf
static/OpenSans_SemiCondensed-SemiBold.ttf
static/OpenSans_SemiCondensed-Bold.ttf
static/OpenSans_SemiCondensed-ExtraBold.ttf
static/OpenSans-Light.ttf
static/OpenSans-Regular.ttf
static/OpenSans-Medium.ttf
static/OpenSans-SemiBold.ttf
static/OpenSans-Bold.ttf
static/OpenSans-ExtraBold.ttf
static/OpenSans_Condensed-LightItalic.ttf
static/OpenSans_Condensed-Italic.ttf
static/OpenSans_Condensed-MediumItalic.ttf
static/OpenSans_Condensed-SemiBoldItalic.ttf
static/OpenSans_Condensed-BoldItalic.ttf
static/OpenSans_Condensed-ExtraBoldItalic.ttf
static/OpenSans_SemiCondensed-LightItalic.ttf
static/OpenSans_SemiCondensed-Italic.ttf
static/OpenSans_SemiCondensed-MediumItalic.ttf
static/OpenSans_SemiCondensed-SemiBoldItalic.ttf
static/OpenSans_SemiCondensed-BoldItalic.ttf
static/OpenSans_SemiCondensed-ExtraBoldItalic.ttf
static/OpenSans-LightItalic.ttf
static/OpenSans-Italic.ttf
static/OpenSans-MediumItalic.ttf
static/OpenSans-SemiBoldItalic.ttf
static/OpenSans-BoldItalic.ttf
static/OpenSans-ExtraBoldItalic.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them in your products & projects print or digital,
commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

View File

@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Web App Config -->
<title>PairDrop</title>
<title>PairDrop | Transfer Files Cross-Platform. No Setup, No Signup.</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#3367d6">
<meta name="color-scheme" content="dark light">
<meta name="apple-mobile-web-app-capable" content="no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="PairDrop">
<meta name="application-name" content="PairDrop">
<!-- Descriptions -->
<meta name="description" content="Instantly share images, videos, PDFs, and links with people nearby. Peer2Peer and Open Source. No Setup, No Signup.">
<meta name="keywords" content="File, Transfer, Share, Peer2Peer">
<meta name="author" content="RobinLinus">
<meta name="author" content="schlagmichdoch">
<meta property="og:title" content="PairDrop">
<meta property="og:type" content="article">
<meta property="og:url" content="https://pairdrop.net/">
@ -28,18 +28,20 @@
<link rel="icon" sizes="96x96" href="images/favicon-96x96.png">
<link rel="shortcut icon" href="images/favicon-96x96.png">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon.png">
<meta name="msapplication-TileImage" content="images/mstile-150x150.png">
<link rel="fluid-icon" type="image/png" href="images/android-chrome-192x192.png">
<meta name="twitter:image" content="images/logo_transparent_512x512.png">
<meta property="og:image" content="images/logo_transparent_512x512.png">
<!-- Resources -->
<link rel="preload" href="lang/en.json" as="fetch">
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="preload" href="fonts/OpenSans/static/OpenSans-Medium.ttf" as="font" type="font/ttf" crossorigin>
<link rel="stylesheet" type="text/css" href="styles/styles-main.css">
<link rel="manifest" href="manifest.json">
</head>
<body translate="no">
<header class="row-reverse opacity-0">
<header class="row-reverse wrap opacity-0">
<a href="#about" class="icon-button" data-i18n-key="header.about" data-i18n-attrs="title aria-label">
<svg class="icon">
<use xlink:href="#info-outline"></use>
@ -94,39 +96,79 @@
<use xlink:href="#public-room-icon"></use>
</svg>
</div>
<div id="cancel-paste-mode" class="button" data-i18n-key="header.cancel-paste-mode" data-i18n-attrs="text" hidden></div>
<div id="expand" class="icon-button" data-i18n-key="header.expand" data-i18n-attrs="title" hidden>
<svg class="icon">
<use xlink:href="#caret"></use>
</svg>
</div>
</header>
<!-- Center -->
<div id="center" class="opacity-0">
<!-- Peers -->
<div class="x-peers-filler"></div>
<x-peers class="center"></x-peers>
<x-no-peers class="no-animation-on-load" data-i18n-key="instructions.no-peers" data-i18n-attrs="data-drop-bg">
<x-peers class="center grow-5"></x-peers>
<x-no-peers class="center grow fade-in no-animation-on-load" data-i18n-key="instructions.no-peers" data-i18n-attrs="data-drop-bg">
<h2 data-i18n-key="instructions.no-peers-title" data-i18n-attrs="text"></h2>
<div data-i18n-key="instructions.no-peers-subtitle" data-i18n-attrs="text"></div>
</x-no-peers>
<x-instructions data-i18n-key="instructions.x-instructions" data-i18n-attrs="desktop mobile data-drop-peer data-drop-bg">
<p id="paste-filename"></p>
</x-instructions>
<x-instructions class="grow fade-in" data-i18n-key="instructions.x-instructions" data-i18n-attrs="desktop mobile data-drop-peer data-drop-bg"></x-instructions>
<div class="shr-panel panel column" hidden>
<div class="row">
<div class="thumb center">
<div class="text-thumb row" hidden>
<svg>
<use xlink:href="#font"></use>
</svg>
<svg>
<use xlink:href="#i-cursor"></use>
</svg>
</div>
<div class="file-thumb" hidden>
<svg>
<use xlink:href="#file"></use>
</svg>
</div>
<div class="image-thumb" hidden></div>
</div>
<div class="share-descriptor column p-1">
<span class="descriptor-item"></span>
<span class="descriptor-other" hidden></span>
</div>
</div>
<div class="center btn-row wrap">
<div class="cancel-btn btn btn-small btn-rounded btn-dark text-white" data-i18n-key="header.cancel-share-mode" data-i18n-attrs="text"></div>
<div class="edit-btn btn btn-small btn-rounded btn-dark text-white" data-i18n-key="header.edit-share-mode" data-i18n-attrs="text" hidden></div>
</div>
</div>
<div id="websocket-fallback" class="text-center" hidden>
<span data-i18n-key="footer.traffic" data-i18n-attrs="text"></span>
<span data-i18n-key="footer.routed" data-i18n-attrs="text"></span>
<span data-i18n-key="footer.webrtc" data-i18n-attrs="text"></span>
</div>
</div>
<!-- Footer -->
<footer class="column opacity-0">
<svg class="icon logo">
<use xlink:href="#wifi-tethering"></use>
<defs>
<linearGradient id="primaryGradient" gradientTransform="rotate(90)">
<stop offset="0%" class="start-color" />
<stop offset="100%" class="stop-color" />
</linearGradient>
</defs>
<use xlink:href="#wifi-tethering" style="fill: url(#primaryGradient);"></use>
</svg>
<div class="column">
<div class="known-as-wrapper">
<span data-i18n-key="footer.known-as" data-i18n-attrs="text"></span>
<div id="display-name" class="badge" data-i18n-key="footer.display-name" data-i18n-attrs="data-placeholder title" placeholder="Loading..." autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable></div>
<svg id="edit-pen" class="icon">
<svg class="icon edit-pen">
<use xlink:href="#edit-pen-icon"></use>
</svg>
</div>
<div class="discovery-wrapper row">
<div class="discovery-wrapper panel border row">
<div class="row center">
<span data-i18n-key="footer.discovery" data-i18n-attrs="text"></span>
</div>
<div class="row center">
<div class="row center wrap">
<span class="badge badge-room-ip" data-i18n-key="footer.on-this-network" data-i18n-attrs="text title"></span>
<span class="badge badge-room-secret pointer" data-i18n-key="footer.paired-devices" data-i18n-attrs="text title" hidden></span>
<span class="badge badge-room-public-id pointer" data-i18n-key="footer.public-room-devices" data-i18n-attrs="title" hidden>in room IAIAI</span>
@ -138,82 +180,99 @@
<x-dialog id="language-select-dialog">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center">
<h2 class="center" data-i18n-key="dialogs.language-selector-title" data-i18n-attrs="text"></h2>
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.language-selector-title" data-i18n-attrs="text"></h2>
</div>
<div class="language-buttons">
<button class="button fw" data-i18n-key="dialogs.system-language" data-i18n-attrs="text"></button>
<button class="button fw" value="ar">
<div class="language-buttons p2">
<button class="btn fw wrap">
<span data-i18n-key="dialogs.system-language" data-i18n-attrs="text"></span>
</button>
<button class="btn fw wrap" value="ar">
<span>العربية</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Arabic)</span>
</button>
<button class="button fw" value="de">
<button class="btn fw wrap" value="ca">
<span>Català</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Catalan)</span>
</button>
<button class="btn fw wrap" value="de">
<span>Deutsch</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(German)</span>
</button>
<button class="button fw" value="en">
<button class="btn fw wrap" value="en">
<span>English</span>
</button>
<button class="button fw" value="es">
<button class="btn fw wrap" value="es">
<span>Español</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Spanish)</span>
</button>
<button class="button fw" value="fr">
<button class="btn fw wrap" value="fr">
<span>Français</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(French)</span>
</button>
<button class="button fw" value="id">
<button class="btn fw wrap" value="id">
<span>Bahasa Indonesia</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Indonesian)</span>
</button>
<button class="button fw" value="it">
<button class="btn fw wrap" value="it">
<span>Italiano</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Italian)</span>
</button>
<button class="button fw" value="nl">
<button class="btn fw wrap" value="kn">
<span>ಕನ್ನಡ</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Kannada)</span>
</button>
<button class="btn fw wrap" value="nl">
<span>Nederlands</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Dutch)</span>
</button>
<button class="button fw" value="nb">
<button class="btn fw wrap" value="nb">
<span>Norsk</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Norwegian)</span>
</button>
<button class="button fw" value="ro">
<button class="btn fw wrap" value="pt-BR">
<span>Português do Brasil</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Brazilian Portuguese)</span>
</button>
<button class="btn fw wrap" value="ro">
<span>Română</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Romanian)</span>
</button>
<button class="button fw" value="ru">
<button class="btn fw wrap" value="ru">
<span>Русский язык</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Russian)</span>
</button>
<button class="button fw" value="tr">
<button class="btn fw wrap" value="tr">
<span>Türkçe</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Turkish)</span>
</button>
<button class="button fw" value="zh-CN">
<button class="btn fw wrap" value="zh-CN">
<span>中文</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Chinese)</span>
</button>
<button class="button fw" value="ja">
<button class="btn fw wrap" value="ja">
<span>日本語</span>
<span>-</span>
<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>
<span>(Japanese)</span>
</button>
</div>
<div class="center row-reverse button-row">
<button class="button" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
<div class="center row-reverse btn-row wrap">
<button class="btn btn-rounded btn-grey" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -223,12 +282,12 @@
<form action="#">
<x-background class="full center text-center">
<x-paper shadow="2">
<div class="row center">
<h2 class="center" data-i18n-key="dialogs.pair-devices-title" data-i18n-attrs="text"></h2>
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.pair-devices-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center">
<div class="row center p-2">
<div class="column">
<div class="center key-qr-code" data-i18n-key="dialogs.pair-devices-qr-code" data-i18n-attrs="title"></div>
<div class="center key-qr-code pointer" data-i18n-key="dialogs.pair-devices-qr-code" data-i18n-attrs="title"></div>
<h1 class="center key" dir="ltr">000 000</h1>
<p class="center text-center key-instructions">
<span class="font-subheading" data-i18n-key="dialogs.input-key-on-this-device" data-i18n-attrs="text"></span>
@ -242,8 +301,8 @@
<span data-i18n-key="dialogs.hr-or" data-i18n-attrs="text"></span>
</div>
</div>
<div class="row center">
<div class="column">
<div class="row center p-2">
<div class="column fw">
<div class="input-key-container six-chars" dir="ltr">
<input type="tel" class="textarea center" aria-label="pair-key-char-1" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" autofocus contenteditable placeholder disabled>
<input type="tel" class="textarea center" aria-label="pair-key-char-2" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder disabled>
@ -255,9 +314,9 @@
<p class="font-subheading center text-center" data-i18n-key="dialogs.enter-key-from-another-device" data-i18n-attrs="text"></p>
</div>
</div>
<div class="button-row row-reverse">
<button class="button" type="submit" data-i18n-key="dialogs.pair" data-i18n-attrs="text" disabled></button>
<button class="button" type="button" data-i18n-key="dialogs.cancel" data-i18n-attrs="text" close></button>
<div class="btn-row row-reverse wrap">
<button class="btn btn-rounded btn-grey" type="submit" data-i18n-key="dialogs.pair" data-i18n-attrs="text" disabled></button>
<button class="btn btn-rounded btn-grey" type="button" data-i18n-key="dialogs.cancel" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -268,8 +327,8 @@
<form action="#">
<x-background class="full center text-center">
<x-paper shadow="2">
<div class="row center">
<h2 class="center" data-i18n-key="dialogs.edit-paired-devices-title" data-i18n-attrs="text"></h2>
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.edit-paired-devices-title" data-i18n-attrs="text"></h2>
</div>
<div class="paired-devices-wrapper" data-i18n-key="dialogs.paired-devices-wrapper" data-i18n-attrs="data-empty"></div>
<div class="font-subheading center">
@ -279,8 +338,8 @@
<span data-i18n-key="dialogs.auto-accept-instructions-2" data-i18n-attrs="text"></span>
</p>
</div>
<div class="center row-reverse button-row">
<button class="button" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
<div class="center row-reverse btn-row wrap">
<button class="btn btn-rounded btn-grey" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -291,14 +350,12 @@
<form action="#">
<x-background class="full center text-center">
<x-paper shadow="2">
<div class="row center">
<div class="column">
<h2 class="center" data-i18n-key="dialogs.temporary-public-room-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.temporary-public-room-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center">
<div class="row center p-2">
<div class="column">
<div class="center key-qr-code" data-i18n-key="dialogs.public-room-qr-code" data-i18n-attrs="title"></div>
<div class="center key-qr-code pointer" data-i18n-key="dialogs.public-room-qr-code" data-i18n-attrs="title"></div>
<h1 class="center key" dir="ltr"></h1>
<p class="center text-center key-instructions">
<span class="font-subheading" data-i18n-key="dialogs.input-room-id-on-another-device" data-i18n-attrs="text"></span>
@ -312,8 +369,8 @@
<span data-i18n-key="dialogs.hr-or" data-i18n-attrs="text"></span>
</div>
</div>
<div class="row center">
<div class="column">
<div class="row center p-2">
<div class="column fw">
<div class="input-key-container" dir="ltr">
<input type="text" class="textarea center" aria-label="room-id-char-1" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" autofocus contenteditable placeholder disabled>
<input type="text" class="textarea center" aria-label="room-id-char-2" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder disabled>
@ -324,10 +381,12 @@
<p class="font-subheading center text-center" data-i18n-key="dialogs.enter-room-id-from-another-device" data-i18n-attrs="text"></p>
</div>
</div>
<div class="center row-reverse button-row">
<button class="button" type="submit" data-i18n-key="dialogs.join" data-i18n-attrs="text" disabled></button>
<button class="button" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
<button class="button leave-room" type="button" data-i18n-key="dialogs.leave" data-i18n-attrs="text"></button>
<div class="center row-reverse btn-row wrap">
<div class="row-reverse wrap grow-2">
<button class="btn btn-rounded btn-grey" type="submit" data-i18n-key="dialogs.join" data-i18n-attrs="text" disabled></button>
<button class="btn btn-rounded btn-grey leave-room" type="button" data-i18n-key="dialogs.leave" data-i18n-attrs="text"></button>
</div>
<button class="btn btn-rounded btn-grey" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -337,12 +396,10 @@
<x-dialog id="receive-request-dialog">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center">
<div class="column">
<h2 class="center"></h2>
</div>
<div class="row center p-2">
<h2 class="dialog-title"></h2>
</div>
<div class="row center">
<div class="row center p-2">
<div class="column center file-description">
<div>
<span class="display-name badge"></span>
@ -358,9 +415,9 @@
</div>
</div>
<div class="center file-preview"></div>
<div class="row-reverse center button-row">
<button id="accept-request" class="button" title="ENTER" data-i18n-key="dialogs.accept" data-i18n-attrs="text" autofocus></button>
<button id="decline-request" class="button" title="ESCAPE" data-i18n-key="dialogs.decline" data-i18n-attrs="text"></button>
<div class="row-reverse center btn-row wrap">
<button id="accept-request" class="btn btn-rounded btn-grey" title="ENTER" data-i18n-key="dialogs.accept" data-i18n-attrs="text" autofocus disabled></button>
<button id="decline-request" class="btn btn-rounded btn-grey" title="ESCAPE" data-i18n-key="dialogs.decline" data-i18n-attrs="text"></button>
</div>
</x-paper>
</x-background>
@ -369,12 +426,10 @@
<x-dialog id="receive-file-dialog">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center">
<div class="column">
<h2 class="center"></h2>
</div>
<div class="row center p-2">
<h2 class="dialog-title"></h2>
</div>
<div class="row center">
<div class="row center p-2">
<div class="column center file-description">
<div>
<span class="display-name badge"></span>
@ -390,10 +445,10 @@
</div>
</div>
<div class="center file-preview"></div>
<div class="row-reverse center button-row">
<button id="share-btn" class="button" data-i18n-key="dialogs.share" data-i18n-attrs="text" hidden></button>
<button id="download-btn" class="button" data-i18n-key="dialogs.download" data-i18n-attrs="text" autofocus></button>
<button class="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
<div class="row-reverse center btn-row wrap">
<button id="share-btn" class="btn btn-rounded btn-grey" data-i18n-key="dialogs.share" data-i18n-attrs="text" hidden></button>
<button id="download-btn" class="btn btn-rounded btn-grey" data-i18n-key="dialogs.download" data-i18n-attrs="text" autofocus disabled></button>
<button class="btn btn-rounded btn-grey" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -403,12 +458,10 @@
<form action="#">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center">
<div class="column">
<h2 class="center" data-i18n-key="dialogs.send-message-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.send-message-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center display-name-wrapper">
<div class="row center p-2 display-name-wrapper">
<div class="column">
<div class="text-center">
<span data-i18n-key="dialogs.send-message-to" data-i18n-attrs="text"></span>
@ -416,14 +469,14 @@
</div>
</div>
</div>
<div class="row">
<div class="row p-2">
<div class="column fw">
<div id="text-input" class="textarea" role="textbox" data-i18n-key="dialogs.message" data-i18n-attrs="title" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
<div class="fw textarea" role="textbox" data-i18n-key="dialogs.message" data-i18n-attrs="title placeholder" autofocus contenteditable></div>
</div>
</div>
<div class="button-row row-reverse">
<button class="button" type="submit" title="CTRL/⌘ + ENTER" data-i18n-key="dialogs.send" data-i18n-attrs="text" disabled></button>
<button class="button" type="button" title="ESCAPE" data-i18n-key="dialogs.cancel" data-i18n-attrs="text" close></button>
<div class="btn-row row-reverse wrap">
<button class="btn btn-rounded btn-grey" type="submit" title="CTRL/⌘ + ENTER" data-i18n-key="dialogs.send" data-i18n-attrs="text" disabled></button>
<button class="btn btn-rounded btn-grey" type="button" title="ESCAPE" data-i18n-key="dialogs.cancel" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
@ -433,23 +486,55 @@
<x-dialog id="receive-text-dialog">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center">
<h2 class="text-center" data-i18n-key="dialogs.receive-text-title" data-i18n-attrs="text"></h2>
<div class="row center p-2">
<h2 class="dialog-title" class="text-center" data-i18n-key="dialogs.receive-text-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center">
<div class="row center p-2 display-name-wrapper">
<div class="text-center">
<span class="display-name badge"></span>
<span data-i18n-key="dialogs.has-sent" data-i18n-attrs="text"></span>
</div>
</div>
<div class="row center">
<div class="row center p-2">
<div class="column fw">
<div id="text" class="textarea fw"></div>
<div id="text" class="textarea"></div>
</div>
</div>
<div class="row-reverse center button-row">
<button id="copy" class="button" title="CTRL/⌘ + C" data-i18n-key="dialogs.copy" data-i18n-attrs="text"></button>
<button id="close" class="button" title="ESCAPE" data-i18n-key="dialogs.close" data-i18n-attrs="text"></button>
<div class="row-reverse center btn-row wrap">
<button id="copy" class="btn btn-rounded btn-grey" title="CTRL/⌘ + C" data-i18n-key="dialogs.copy" data-i18n-attrs="text"></button>
<button id="close" class="btn btn-rounded btn-grey" title="ESCAPE" data-i18n-key="dialogs.close" data-i18n-attrs="text"></button>
</div>
</x-paper>
</x-background>
</x-dialog>
<!-- Share Text Dialog -->
<x-dialog id="share-text-dialog">
<x-background class="full center">
<x-paper shadow="2">
<div class="row center p-2">
<h2 class="dialog-title" data-i18n-key="dialogs.share-text-title" data-i18n-attrs="text"></h2>
</div>
<div class="row center p-2 pb-0">
<div class="column">
<div class="text-center">
<span data-i18n-key="dialogs.share-text-subtitle" data-i18n-attrs="text"></span>
</div>
</div>
</div>
<div class="row p-2">
<div class="column fw">
<div class="fw textarea" role="textbox" data-i18n-key="dialogs.message" data-i18n-attrs="title placeholder" contenteditable></div>
</div>
</div>
<div class="row p-2 center">
<span class="mx-1" data-i18n-key="dialogs.share-text-checkbox" data-i18n-attrs="text"></span>
<label class="pointer switch mx-1">
<input type="checkbox">
<div class="slider round"></div>
</label>
</div>
<div class="btn-row row-reverse wrap">
<button class="btn btn-rounded btn-grey" type="submit" title="CTRL/⌘ + ENTER" data-i18n-key="dialogs.approve" data-i18n-attrs="text" autofocus disabled></button>
</div>
</x-paper>
</x-background>
@ -458,17 +543,29 @@
<x-dialog id="base64-paste-dialog">
<x-background class="full center">
<x-paper shadow="2">
<button class="button center" id="base64-paste-btn" title="Paste"></button>
<div class="textarea" placeholder="Paste here to send files" title="CMD/⌘ + V" contenteditable hidden></div>
<div class="row-reverse center button-row">
<button class="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
<div class="row center p-2">
<h2 class="dialog-title"></h2>
</div>
<div class="row p-2">
<button class="btn btn-rounded btn-grey center" id="base64-paste-btn" title="Paste"></button>
<div class="textarea" title="CMD/⌘ + V" contenteditable hidden></div>
</div>
<div class="row-reverse center btn-row wrap">
<button class="btn btn-rounded btn-grey" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>
</x-background>
</x-dialog>
<!-- Toast -->
<div class="toast-container full center">
<x-toast id="toast" class="row center" shadow="1"></x-toast>
<x-toast id="toast" shadow="1">
<span class="center text-center"></span>
<div class="icon-button" data-i18n-key="dialogs.close-toast" data-i18n-attrs="title">
<svg class="icon">
<use xlink:href="#close-icon"></use>
</svg>
</div>
</x-toast>
</div>
<!-- About Page -->
<x-about id="about" class="full center column">
@ -485,7 +582,7 @@
</svg>
<div class="title-wrapper" dir="ltr">
<h1>PairDrop</h1>
<div class="font-subheading">v1.9.4</div>
<div class="font-subheading">v1.10.5</div>
</div>
<div class="font-subheading" data-i18n-key="about.claim" data-i18n-attrs="text"></div>
<div class="row">
@ -494,16 +591,36 @@
<use xlink:href="#github"></use>
</svg>
</a>
<a class="icon-button" target="_blank" href="https://www.buymeacoffee.com/pairdrop" rel="noreferrer" data-i18n-key="about.buy-me-a-coffee" data-i18n-attrs="title">
<a class="icon-button" id="donation-btn" target="_blank" href="https://www.buymeacoffee.com/pairdrop" rel="noreferrer" data-i18n-key="about.buy-me-a-coffee" data-i18n-attrs="title">
<svg class="icon">
<use xlink:href="#monetarization"></use>
<use xlink:href="#donation"></use>
</svg>
</a>
<a class="icon-button" target="_blank" href="https://twitter.com/intent/tweet?text=https%3A%2F%2Fpairdrop.net%20by%20https%3A%2F%2Fgithub.com%2Fschlagmichdoch%2F&amp;" rel="noreferrer" data-i18n-key="about.tweet" data-i18n-attrs="title">
<a class="icon-button" id="twitter-btn" target="_blank" href="https://twitter.com/intent/tweet?text=https%3A%2F%2Fpairdrop.net%20by%20https%3A%2F%2Fgithub.com%2Fschlagmichdoch%2F&amp;" rel="noreferrer" data-i18n-key="about.tweet" data-i18n-attrs="title">
<svg class="icon">
<use xlink:href="#twitter"></use>
</svg>
</a>
<a class="icon-button" id="mastodon-btn" target="_blank" rel="noreferrer" data-i18n-key="about.mastodon" data-i18n-attrs="title" hidden>
<svg class="icon">
<use xlink:href="#mastodon"></use>
</svg>
</a>
<a class="icon-button" id="bluesky-btn" target="_blank" rel="noreferrer" data-i18n-key="about.bluesky" data-i18n-attrs="title" hidden>
<svg class="icon">
<use xlink:href="#bluesky"></use>
</svg>
</a>
<a class="icon-button" id="custom-btn" target="_blank" rel="noreferrer" data-i18n-key="about.custom" data-i18n-attrs="title" hidden>
<svg class="icon">
<use xlink:href="#custom"></use>
</svg>
</a>
<a class="icon-button" id="privacypolicy-btn" target="_blank" rel="noreferrer" data-i18n-key="about.privacypolicy" data-i18n-attrs="title" hidden>
<svg class="icon">
<use xlink:href="#privacypolicy"></use>
</svg>
</a>
<a class="icon-button" target="_blank" href="https://github.com/schlagmichdoch/pairdrop/blob/master/docs/faq.md" rel="noreferrer" data-i18n-key="about.faq" data-i18n-attrs="title">
<svg class="icon">
<use xlink:href="#help-outline"></use>
@ -543,23 +660,25 @@
<symbol id="github">
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path>
</symbol>
<g id="notifications">
<symbol id="notifications">
<path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"></path>
</g>
</symbol>
<symbol id="homescreen">
<path fill="none" d="M0 0h24v24H0V0z"></path>
<path d="M18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM10 15h2V8H5v2h3.59L3 15.59 4.41 17 10 11.41z"></path>
<path fill="none" d="M0 0h24v24H0V0z"></path>
</symbol>
<symbol id="monetarization">
<symbol id="donation">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z"></path>
</symbol>
<symbol id="icon-theme-auto" viewBox="0 0 24 24">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-54 -54 620 620"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"></path></svg>
<symbol id="icon-theme-auto" viewBox="-54 -54 620 620">
<!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<path d="M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"></path>
</symbol>
<symbol id="icon-theme-light" viewBox="0 0 24 24">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-54 -54 620 620"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>
<symbol id="icon-theme-light" viewBox="-54 -54 620 620">
<!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<path d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path>
</symbol>
<symbol id="icon-theme-dark" viewBox="0 0 24 24">
<rect fill="none" height="24" width="24"></rect><path d="M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36c-0.98,1.37-2.58,2.26-4.4,2.26 c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path>
@ -586,17 +705,44 @@
<!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<path d="M0 128C0 92.7 28.7 64 64 64H256h48 16H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H320 304 256 64c-35.3 0-64-28.7-64-64V128zm320 0V384H576V128H320zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1h73.6l8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276H141l19-42.8zM448 164c11 0 20 9 20 20v4h44 16c11 0 20 9 20 20s-9 20-20 20h-2l-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45H448 376c-11 0-20-9-20-20s9-20 20-20h52v-4c0-11 9-20 20-20z"></path>
</symbol>
<symbol id="i-cursor" viewBox="-180 0 640 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M.1 29.3C-1.4 47 11.7 62.4 29.3 63.9l8 .7C70.5 67.3 96 95 96 128.3V224H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v95.7c0 33.3-25.5 61-58.7 63.8l-8 .7C11.7 449.6-1.4 465 .1 482.7s16.9 30.7 34.5 29.2l8-.7c34.1-2.8 64.2-18.9 85.4-42.9c21.2 24 51.2 40.1 85.4 42.9l8 .7c17.6 1.5 33.1-11.6 34.5-29.2s-11.6-33.1-29.2-34.5l-8-.7C185.5 444.7 160 417 160 383.7V288h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H160V128.3c0-33.3 25.5-61 58.7-63.8l8-.7c17.6-1.5 30.7-16.9 29.2-34.5S239-1.4 221.3 .1l-8 .7C179.2 3.6 149.2 19.7 128 43.7c-21.2-24-51.2-40-85.4-42.9l-8-.7C17-1.4 1.6 11.7 .1 29.3z"></path>
</symbol>
<symbol id="font" viewBox="-100 0 640 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32h-1.8l18-48H303.8l18 48H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H390.2L254 52.8zM279.8 304H168.2L224 155.1 279.8 304z"></path>
</symbol>
<symbol id="file" viewBox="-130 0 650 530">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z"></path>
</symbol>
<symbol id="caret" viewBox="0 0 320 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"></path>
</symbol>
<symbol id="mastodon" viewBox="0 0 448 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M433 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.6-28.4-290.5 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54a102.5 102.5 0 0 1 -.9-13.9c85.6 20.9 158.7 9.1 178.8 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H90.2c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path>
</symbol>
<symbol id="bluesky" viewBox="0 0 448 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"></path>
</symbol>
<symbol id="custom" viewBox="0 0 512 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M418.4 157.9c35.3-8.3 61.6-40 61.6-77.9c0-44.2-35.8-80-80-80c-43.4 0-78.7 34.5-80 77.5L136.2 151.1C121.7 136.8 101.9 128 80 128c-44.2 0-80 35.8-80 80s35.8 80 80 80c12.2 0 23.8-2.7 34.1-7.6L259.7 407.8c-2.4 7.6-3.7 15.8-3.7 24.2c0 44.2 35.8 80 80 80s80-35.8 80-80c0-27.7-14-52.1-35.4-66.4l37.8-207.7zM156.3 232.2c2.2-6.9 3.5-14.2 3.7-21.7l183.8-73.5c3.6 3.5 7.4 6.7 11.6 9.5L317.6 354.1c-5.5 1.3-10.8 3.1-15.8 5.5L156.3 232.2z"></path>
</symbol>
<symbol id="privacypolicy" viewBox="0 0 512 512">
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.-->
<path d="M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"></path>
</symbol>
</svg>
<!-- Scripts -->
<script src="scripts/localization.js"></script>
<script src="scripts/theme.js"></script>
<script src="scripts/network.js"></script>
<script src="scripts/ui.js"></script>
<script src="scripts/util.js"></script>
<script src="scripts/QRCode.min.js" async></script>
<script src="scripts/zip.min.js" async></script>
<script src="scripts/NoSleep.min.js" async></script>
<script src="scripts/localization.js" defer></script>
<script src="scripts/persistent-storage.js" defer></script>
<script src="scripts/ui-main.js" defer></script>
<script src="scripts/main.js" defer></script>
<!-- Sounds -->
<audio id="blop" autobuffer="true">
<source src="sounds/blop.mp3" type="audio/mpeg">

View File

@ -10,7 +10,7 @@
"paired-devices": "بواسطة الأجهزة المقترنة",
"on-this-network": "على هذه الشبكة",
"routed": "توجيهّا من خلال الخادم",
"discovery": "يمكنك اكتشاف:",
"discovery": "يمكنك اكتشافك:",
"on-this-network_title": "يمكن للجميع اكتشافك على هذه الشبكة.",
"known-as": "‌أنت معروف بأنك:"
},
@ -20,71 +20,72 @@
"message-received": "تم استلام الرابط بواسطة {{name}} - انقر للفتح",
"rate-limit-join-key": "تم الوصول إلى الحد الأقصى. انتظر 10 ثوان وحاول مرة أخرى.",
"connecting": "يتصل …",
"pairing-key-invalidated": "المفتاح {{key}} خاطئ.",
"pairing-key-invalidated": "المفتاح {{key}} خاطئ",
"pairing-key-invalid": "مُفتاح خاطئ",
"connected": "متصل.",
"pairing-not-persistent": "الأجهزة المقترنة ليست ثابتة.",
"text-content-incorrect": "محتوى النص غير صحيح.",
"message-transfer-completed": "اكتمل نقل الرسالة.",
"file-transfer-completed": "اكتمل نقل الملف.",
"file-content-incorrect": "محتوى الملف غير صحيح.",
"files-incorrect": "الملفات غير صحيحة.",
"selected-peer-left": "مُحَدد الاجهزة المقترنة.",
"connected": "متصل",
"pairing-not-persistent": "الأجهزة المقترنة ليست ثابتة",
"text-content-incorrect": "محتوى النص غير صحيح",
"message-transfer-completed": "اكتمل نقل الرسالة",
"file-transfer-completed": "اكتمل نقل الملف",
"file-content-incorrect": "محتوى الملف غير صحيح",
"files-incorrect": "الملفات غير صحيحة",
"selected-peer-left": "مُحَدد الاجهزة المقترنة",
"link-received": "تم استلام الرابط بواسطة {{name}} - انقر للفتح",
"online": "لقد عدت متصلاً بالإنترنت",
"public-room-left": "الخروج من الغرفة العامة {{publicRoomId}}",
"copied-text": "نُسِخَ النص إلى الحافظة",
"display-name-random-again": "يتم إنشاء اسم العرض بشكل عشوائي مرة أخرى.",
"display-name-changed-permanently": "يتم تغيير اسم العرض بشكل دائم.",
"display-name-random-again": "يتم إنشاء اسم العرض بشكل عشوائي مرة أخرى",
"display-name-changed-permanently": "يتم تغيير اسم العرض بشكل دائم",
"copied-to-clipboard-error": "النسخ غير ممكن. انسخ يدويًا.",
"pairing-success": "الأجهزة المقترنة.",
"clipboard-content-incorrect": "محتوى الحافظة غير صحيح.",
"display-name-changed-temporarily": "تم تغيير اسم العرض لهذه الجلسة فقط.",
"pairing-success": "الأجهزة المقترنة",
"clipboard-content-incorrect": "محتوى الحافظة غير صحيح",
"display-name-changed-temporarily": "تم تغيير اسم العرض لهذه الجلسة فقط",
"copied-to-clipboard": "تم النسخ إلى الحافظة",
"offline": "انت غير متصل",
"pairing-tabs-error": "من المستحيل إقران علامتي تبويب متصفح الويب.",
"pairing-tabs-error": "من المستحيل إقران علامتي تبويب متصفح الويب",
"public-room-id-invalid": "معرف الغرفة غير صالح",
"click-to-download": "إضغط للتحميل",
"pairing-cleared": "جميع الأجهزة غير مقترنة.",
"notifications-enabled": "تم تمكين الإشعارات.",
"online-requirement-pairing": "يجب أن تكون متصلاً بالإنترنت لإقران الأجهزة.",
"pairing-cleared": "جميع الأجهزة غير مقترنة",
"notifications-enabled": "تم تمكين الإشعارات",
"online-requirement-pairing": "يجب أن تكون متصلاً بالإنترنت لإقران الأجهزة",
"ios-memory-limit": "لا يمكن إرسال ملفات إلى iOS إلا بحجم يصل إلى 200 ميجابايت مرة واحدة",
"online-requirement-public-room": "يجب أن تكون متصلاً بالإنترنت لإنشاء غرفة عامة.",
"online-requirement-public-room": "يجب أن تكون متصلاً بالإنترنت لإنشاء غرفة عامة",
"copied-text-error": "فشلت الكتابة من الحافظة. انسخ يدويًا!",
"download-successful": "تم تحميل {{descriptor}}",
"click-to-show": "اضغط للعرض"
},
"header": {
"cancel-paste-mode": "تمّ",
"theme-auto_title": كيٌف المظهر مع النظام",
"cancel-share-mode": "تمّ",
"theme-auto_title": غيير المظهر تلقائيا من النظام",
"install_title": "تثبيت PairDrop",
"theme-dark_title": "إستخدام دائما المظهر المظلم",
"theme-dark_title": "إستخدم دائما المظهر المظلم",
"pair-device_title": "قم بإقران أجهزتك بشكل دائم",
"join-public-room_title": "انضم إلى الغرفة العامة مؤقتًا",
"notification_title": شغيل الإشعارات",
"notification_title": فعيل الإشعارات",
"edit-paired-devices_title": "تعديل الأجهزة المقترنة",
"language-selector_title": "إختر اللغةعربي",
"language-selector_title": "إختر اللغة",
"about_title": "حول PairDrop",
"about_aria-label": "افتح حول PairDrop",
"theme-light_title": "إستخدم دائماً المظهر الفاتح"
"theme-light_title": "إستخدم دائماً المظهر الفاتح",
"edit-share-mode": "ت٧ارف"
},
"instructions": {
"x-instructions_mobile": "انقر لإرسال الملفات أو انقر لفترة طويلة لإرسال رسالة",
"click-to-send": "انقر للإرسال",
"activate-paste-mode-and-other-files": "و{{count}} ملفات أخرى",
"tap-to-send": "انقر للإرسال",
"activate-paste-mode-base": "افتح PairDrop على الأجهزة الأخرى للإرسال",
"no-peers-subtitle": "قم بإقران الأجهزة أو ادخل إلى غرفة عامة لتتمكن من إكتشافها على الشبكات الأخرى",
"activate-paste-mode-shared-text": "النص المشترك",
"x-instructions_desktop": "انقر لإرسال الملفات أو انقر بزر الماوس الأيمن لإرسال رسالة",
"x-instructions-share-mode_desktop": "انقر للإرسال",
"activate-share-mode-and-other-files-plural": "و{{count}} ملفات أخرى",
"x-instructions-share-mode_mobile": "انقر للإرسال",
"activate-share-mode-base": "افتح PairDrop على الأجهزة الأخرى للإرسال",
"no-peers-subtitle": "قم بإقران الأجهزة أو ادخل إلى غرفة عامة لتتمكن من أن تكتشف على الشبكات الأخرى",
"activate-share-mode-shared-text": "النص المشترك",
"x-instructions_desktop": "انقر لإرسال الملفات أو انقر بزر الفأرة الأيمن لإرسال رسالة",
"no-peers-title": "افتح PairDrop على الأجهزة الأخرى لإرسال الملفات",
"x-instructions_data-drop-bg": "حرر لتحديد المستلم",
"no-peers_data-drop-bg": "حرر لتحديد المستلم",
"x-instructions_data-drop-peer": "قم بالتحرير لإرسالها إلى النظير"
"x-instructions_data-drop-peer": "قم بالتحرير لإرسالها إلى القرين"
},
"peer-ui": {
"processing": "مُعالجة …",
"click-to-send-paste-mode": "انقر للإرسال {{descriptor}}",
"click-to-send-share-mode": "انقر للإرسال {{descriptor}}",
"click-to-send": "انقر لإرسال الملفات أو انقر بزر الماوس الأيمن لإرسال رسالة",
"waiting": "يُرجى الإنتظار…",
"connection-hash": "للتحقق من أمان التشفير الشامل، قم بمقارنة رقم الأمان هذا على كلا الجهازين",
@ -136,7 +137,7 @@
"auto-accept": "قبول تلقائي",
"title-file-plural": "ملفات",
"send-message-title": "إرسال رسالة",
"input-room-id-on-another-device": "‌أدخل معرف الغرفة هذا على جهاز آخر ما ",
"input-room-id-on-another-device": "‌أدخل معرف الغرفة هذا على جهاز آخر",
"file-other-description-image-plural": "و{{count}} صور أخرى",
"enter-room-id-from-another-device": "أدخل معرف الغرفة من جهاز آخر للانضمام إلى الغرفة."
},

179
public/lang/ca.json Normal file
View File

@ -0,0 +1,179 @@
{
"instructions": {
"x-instructions_mobile": "Toca per enviar fitxers o mantén premut per enviar un missatge",
"no-peers-subtitle": "Vincula dispositius o entra a una sala pública per ser detectable en altres xarxes",
"x-instructions_desktop": "Fes click per enviar fitxers o click dret per enviar un missatge de text",
"no-peers-title": "Obre PairDrop a altres dispositius per enviar arxius",
"x-instructions_data-drop-peer": "Allibera per enviar a un company",
"x-instructions_data-drop-bg": "Allibera per seleccionar recipient",
"no-peers_data-drop-bg": "Allibera per seleccionar destinatari",
"activate-share-mode-base": "Obre PairDrop a altres dispositius per enviar",
"activate-share-mode-shared-files-plural": "{{count}} fitxers compartits",
"x-instructions-share-mode_desktop": "Clica per enviar {{descriptor}}",
"activate-share-mode-shared-file": "fitxer compartit",
"activate-share-mode-and-other-file": "i 1 altre fitxer",
"x-instructions-share-mode_mobile": "Toca per enviar {{descriptor}}",
"activate-share-mode-and-other-files-plural": "i {{count}} fitxers més",
"activate-share-mode-shared-text": "text compartit",
"webrtc-requirement": "Per utilitzar aquesta instància de PairDrop cal habilitar WebRTC!"
},
"header": {
"theme-auto_title": "Adapta el tema al del sistema automàticament",
"install_title": "Instal·la PairDrop",
"theme-dark_title": "Utilitza sempre el mode fosc",
"pair-device_title": "Vincula els teus dispositius permanentment",
"join-public-room_title": "Uneix-te temporalment a una sala pública",
"notification_title": "Permet les notificacions",
"edit-paired-devices_title": "Edita els dispositius vinculats",
"edit-share-mode": "Editar",
"language-selector_title": "Configurar idioma",
"cancel-share-mode": "Cancel·lar",
"about_title": "Sobre PairDrop",
"about_aria-label": "Obre Sobre PairDrop",
"theme-light_title": "Utilitza sempre el mode clar"
},
"dialogs": {
"message_placeholder": "Text",
"base64-paste-to-send": "Enganxa el contingut del porta-retalls aquí per compartir {{type}}",
"auto-accept-instructions-2": "per acceptar automàticament tots els fitxers enviats des d'aquell dispositiu.",
"receive-text-title": "Missatge Rebut",
"edit-paired-devices-title": "Edita els Dispositius Vinculats",
"cancel": "Cancel·lar",
"auto-accept-instructions-1": "Activar",
"pair-devices-title": "Vincula Dispositius Permanentment",
"download": "Descarregar",
"title-file": "Fitxer",
"close-toast_title": "Tanca notificació",
"base64-processing": "Processant…",
"decline": "Rebutjar",
"receive-title": "{{descriptor}} Rebut",
"share-text-checkbox": "Mostra sempre aquesta finestra de diàleg en compartir text",
"leave": "Marxar",
"message_title": "Introdueix el missatge a enviar",
"join": "Unir-se",
"title-image-plural": "Imatges",
"send": "Enviar",
"base64-title-files": "Compartir Fitxers",
"base64-tap-to-paste": "Toca aquí per compartir {{type}}",
"base64-text": "text",
"copy": "Copiar",
"file-other-description-image": "i 1 altra imatge",
"pair-devices-qr-code_title": "Clica per copiar l'enllaç per vincular aquest dispositiu",
"approve": "aprovar",
"temporary-public-room-title": "Sala Pública Temporal",
"base64-files": "fitxers",
"paired-device-removed": "Dispositiu vinculat eliminat.",
"has-sent": "ha enviat:",
"share-text-title": "Compartir Missatge de Text",
"file-other-description-file": "i 1 altre fitxer",
"public-room-qr-code_title": "Clica per copiar l'enllaç a la sala pública",
"close": "Tancar",
"system-language": "Idioma del Sistema",
"share-text-subtitle": "Edita el missatge abans d'enviar:",
"unpair": "Desvincular",
"title-image": "Imatge",
"file-other-description-file-plural": "i {{count}} altres fitxers",
"would-like-to-share": "voldria compartir",
"base64-title-text": "Compartir Text",
"send-message-to": "Per a:",
"language-selector-title": "Establir idioma",
"pair": "Vincular",
"hr-or": "O",
"scan-qr-code": "o escaneja el codi QR.",
"input-key-on-this-device": "Introdueix aquesta clau a un altre dispositiu",
"download-again": "Descarregar de nou",
"accept": "Acceptar",
"paired-devices-wrapper_data-empty": "No hi ha dispositius vinculats.",
"enter-key-from-another-device": "Introdueix la clau d'un altre dispositiu aquí.",
"share": "Compartir",
"auto-accept": "auto-acceptar",
"title-file-plural": "Fitxers",
"send-message-title": "Enviar Missatge",
"input-room-id-on-another-device": "Introdueix aquest ID de sala a un altre dispositiu",
"file-other-description-image-plural": "i {{count}} altres imatges",
"enter-room-id-from-another-device": "Introdueix l'ID de sala d'un altre dispositiu per unir-t'hi."
},
"footer": {
"webrtc": "si WebRTC no està disponible.",
"public-room-devices_title": "Pots ser descobert per dispositius en aquesta sala pública independentment de la xarxa.",
"display-name_data-placeholder": "Carregant…",
"display-name_title": "Edita el nom del teu dispositiu permanentment",
"traffic": "El trànsit és",
"paired-devices_title": "Pots ser descobert per dispositius emparellats en qualsevol moment, independentment de la xarxa.",
"public-room-devices": "a la sala {{roomId}}",
"paired-devices": "per dispositius vinculats",
"on-this-network": "En aquesta xarxa",
"routed": "encaminat a través del servidor",
"discovery": "Pots ser descobert:",
"on-this-network_title": "Pots ser descobert per qualsevol usuari en aquesta xarxa.",
"known-as": "Ets conegut com a:"
},
"notifications": {
"request-title": "{{name}} voldria transferir {{count}} {{descriptor}}",
"unfinished-transfers-warning": "Hi ha transferències pendents. Estàs segur que vols tancar PairDrop?",
"message-received": "Missatge rebut per {{name}} - Fes clic per copiar",
"notifications-permissions-error": "El permís per notificacions ha estat bloquejat, ja que l'usuari ha refusat la sol·licitud diverses vegades. Això es pot restablir a Informació de Pàgina, a on es pot accedir clicant la icona amb el cadenat que hi ha al costat de la barra de l'URL.",
"rate-limit-join-key": "S'ha arribat al límit de ràtio. Espera 10 segons i torna-ho a intentar.",
"pair-url-copied-to-clipboard": "Enllaç per vincular aquest dispositiu copiat al porta-retalls",
"connecting": "Connectant…",
"pairing-key-invalidated": "Clau {{key}} invalidada",
"pairing-key-invalid": "Clau no vàlida",
"connected": "Connectat",
"pairing-not-persistent": "Els dispositius vinculats no són persistents",
"text-content-incorrect": "El contingut del text és incorrecte",
"message-transfer-completed": "Transferència de missatge completada",
"file-transfer-completed": "Transferència de fitxers completada",
"file-content-incorrect": "El contingut del fitxer és incorrecte",
"files-incorrect": "Els fitxers són incorrectes",
"selected-peer-left": "L'usuari seleccionat ha marxat",
"link-received": "Enllaç rebut per {{name}} - Fes clic per obrir",
"online": "Tornes a estar en línia",
"public-room-left": "Has sortit de la sala pública {{publicRoomId}}",
"copied-text": "Text copiat al porta-retalls",
"display-name-random-again": "El nom d'usuari ha estat generat novament generat aleatòriament",
"display-name-changed-permanently": "El nom d'usuari està canviat permanentment",
"copied-to-clipboard-error": "Còpia impossible. Copiar manualment.",
"pairing-success": "Dispositius vinculats",
"clipboard-content-incorrect": "El contingut del porta-retalls és incorrecte",
"display-name-changed-temporarily": "El nom d'usuari està canviat només per aquesta sessió",
"copied-to-clipboard": "Copiat al porta-retalls",
"offline": "No estàs en línia",
"pairing-tabs-error": "No es poden vincular dues pestanyes d'un navegador",
"public-room-id-invalid": "ID de sala no vàlid",
"click-to-download": "Clica per descarregar",
"pairing-cleared": "Tots els dispositius desvinculats",
"notifications-enabled": "Notificacions habilitades",
"online-requirement-pairing": "Has d'estar en línia per vincular dispositius",
"ios-memory-limit": "Tan sols és possible enviar fitxers de fins a 200 MB a iOS",
"online-requirement-public-room": "Cal que estiguis en línia per poder crear una sala pública",
"room-url-copied-to-clipboard": "Enllaç a la sala pública copiat al porta-retalls",
"copied-text-error": "L'escriptura al porta-retalls ha fallat. Copiar manualment!",
"download-successful": "{{descriptor}} descarregat",
"click-to-show": "Clica per mostrar"
},
"peer-ui": {
"processing": "Processant…",
"click-to-send-share-mode": "Clica per enviar {{descriptor}}",
"click-to-send": "Fes clic per enviar fitxers o fes clic dret per enviar un missatge",
"waiting": "Esperant…",
"connection-hash": "Per verificar la seguretat del xifratge de punta a punta, compara aquest número de seguretat en ambdós dispositius",
"preparing": "Preparant…",
"transferring": "Transferint…"
},
"about": {
"claim": "La manera més fàcil de compartir fitxers entre dispositius",
"tweet_title": "Tuiteja sobre PairDrop",
"close-about_aria-label": "Tanca Sobre PairDrop",
"buy-me-a-coffee_title": "Convida'm a un cafè!",
"github_title": "PairDrop a GitHub",
"faq_title": "Preguntes freqüents"
},
"document-titles": {
"file-transfer-requested": "Transferència de Fitxers Sol·licitada",
"image-transfer-requested": "Transferència d'Imatges Sol·licitada",
"message-received-plural": "{{count}} Missatges Rebuts",
"message-received": "Missatge Rebut",
"file-received": "Fitxer Rebut",
"file-received-plural": "{{count}} Fitxers Rebuts"
}
}

View File

@ -4,18 +4,20 @@
"notification_title": "Benachrichtigungen aktivieren",
"about_aria-label": "Über PairDrop öffnen",
"install_title": "PairDrop installieren",
"pair-device_title": "Deine Geräte dauerhaft koppeln",
"pair-device_title": "Kopple deine Geräte dauerhaft",
"edit-paired-devices_title": "Gekoppelte Geräte bearbeiten",
"theme-auto_title": "Systemstil verwenden",
"theme-dark_title": "Immer dunklen Stil verwenden",
"theme-light_title": "Immer hellen Stil verwenden",
"cancel-paste-mode": "Fertig",
"cancel-share-mode": "Fertig",
"language-selector_title": "Sprache Wählen",
"join-public-room_title": "Öffentlichen Raum temporär betreten"
"join-public-room_title": "Öffentlichen Raum temporär betreten",
"edit-share-mode": "Bearbeiten",
"expand_title": "Schaltflächenzeile ausklappen"
},
"dialogs": {
"share": "Teilen",
"download": "Herunterladen",
"download": "Download",
"pair-devices-title": "Geräte Dauerhaft Koppeln",
"input-key-on-this-device": "Gib diesen Schlüssel auf einem anderen Gerät ein",
"enter-key-from-another-device": "Gib den Schlüssel von einem anderen Gerät hier ein.",
@ -34,24 +36,24 @@
"would-like-to-share": "möchte Folgendes teilen",
"send": "Senden",
"copy": "Kopieren",
"receive-text-title": "Textnachricht Erhalten",
"receive-text-title": "Nachricht Erhalten",
"file-other-description-image-plural": "und {{count}} andere Bilder",
"file-other-description-file-plural": "und {{count}} andere Dateien",
"auto-accept-instructions-1": "Aktiviere",
"auto-accept": "automatisch-akzeptieren",
"auto-accept-instructions-2": "um automatisch alle Dateien von diesem Gerät zu akzeptieren.",
"has-sent": "hat Folgendes gesendet:",
"send-message-title": "Textnachricht Senden",
"send-message-to": "Sende eine Textnachricht an",
"base64-tap-to-paste": "Hier tippen, um {{type}} einzufügen",
"base64-paste-to-send": "Hier einfügen, um {{type}} zu versenden",
"send-message-title": "Nachricht Senden",
"send-message-to": "An:",
"base64-tap-to-paste": "Hier tippen, um {{type}} zu teilen",
"base64-paste-to-send": "Hier einfügen, um {{type}} zu teilen",
"base64-text": "Text",
"base64-files": "Dateien",
"base64-processing": "Bearbeitung läuft…",
"file-other-description-image": "und ein anderes Bild",
"file-other-description-file": "und eine andere Datei",
"receive-title": "{{descriptor}} Erhalten",
"download-again": "Erneut herunterladen",
"download-again": "Erneuter Download",
"system-language": "Systemsprache",
"language-selector-title": "Sprache Einstellen",
"hr-or": "ODER",
@ -63,7 +65,16 @@
"temporary-public-room-title": "Temporärer Öffentlicher Raum",
"message_title": "Nachricht zum Senden hier einfügen",
"pair-devices-qr-code_title": "Klicke, um Link zum Koppeln mit diesem Gerät zu kopieren",
"public-room-qr-code_title": "Klicke, um Link zu diesem öffentlichen Raum zu kopieren"
"public-room-qr-code_title": "Klicke, um Link zu diesem öffentlichen Raum zu kopieren",
"message_placeholder": "Text",
"close-toast_title": "Benachrichtigung schließen",
"share-text-checkbox": "Diesen Dialog immer anzeigen, wenn Text geteilt wird",
"base64-title-files": "Teile Dateien",
"approve": "bestätigen",
"paired-device-removed": "Gekoppeltes Gerät wurde entfernt.",
"share-text-title": "Teile Nachricht",
"share-text-subtitle": "Bearbeite Nachricht vor dem Senden:",
"base64-title-text": "Teile Text"
},
"about": {
"tweet_title": "Über PairDrop twittern",
@ -71,11 +82,15 @@
"close-about_aria-label": "Schließe Über PairDrop",
"github_title": "PairDrop auf GitHub",
"buy-me-a-coffee_title": "Kauf mir einen Kaffee!",
"claim": "Der einfachste Weg, Dateien zwischen Geräten zu übertragen"
"claim": "Der einfachste Weg, Dateien zwischen Geräten zu übertragen",
"bluesky_title": "Folge uns auf BlueSky",
"privacypolicy_title": "Öffne unsere Datenschutzerklärung",
"mastodon_title": "Schreibe über PairDrop auf Mastodon",
"custom_title": "Folge uns"
},
"footer": {
"known-as": "Du wirst angezeigt als:",
"display-name_title": "Setze einen permanenten Gerätenamen",
"display-name_title": "Ändere deinen Gerätenamen dauerhaft",
"on-this-network": "in diesem Netzwerk",
"paired-devices": "für gekoppelte Geräte",
"traffic": "Datenverkehr wird",
@ -83,7 +98,7 @@
"routed": "durch den Server geleitet",
"webrtc": "wenn WebRTC nicht verfügbar ist.",
"display-name_data-placeholder": "Lade…",
"public-room-devices_title": "Du kannst von Geräten in diesem öffentlichen Raum gefunden werden, unabhängig von deinem Netzwerk.",
"public-room-devices_title": "Du kannst von Geräten in diesem öffentlichen Raum gefunden werden, egal in welchem Netzwerk.",
"paired-devices_title": "Du kannst immer von gekoppelten Geräten gefunden werden, egal in welchem Netzwerk.",
"public-room-devices": "in Raum {{roomId}}",
"discovery": "Du bist sichtbar:",
@ -94,72 +109,76 @@
"message-received": "Nachricht von {{name}} empfangen - Klicke um sie zu kopieren",
"click-to-download": "Klicken zum Download",
"copied-text": "Text in die Zwischenablage kopiert",
"connected": "Verbunden.",
"pairing-success": "Geräte gekoppelt.",
"display-name-random-again": "Anzeigename wird ab jetzt wieder zufällig generiert.",
"pairing-tabs-error": "Es können keine zwei Webbrowser Tabs gekoppelt werden.",
"pairing-not-persistent": "Gekoppelte Geräte sind nicht persistent.",
"connected": "Verbunden",
"pairing-success": "Geräte gekoppelt",
"display-name-random-again": "Anzeigename wird ab jetzt wieder zufällig generiert",
"pairing-tabs-error": "Es können keine zwei Webbrowser Tabs gekoppelt werden",
"pairing-not-persistent": "Gekoppelte Geräte sind nicht persistent",
"pairing-key-invalid": "Ungültiger Schlüssel",
"pairing-key-invalidated": "Schlüssel {{key}} wurde ungültig gemacht.",
"pairing-key-invalidated": "Schlüssel {{key}} wurde ungültig gemacht",
"copied-to-clipboard": "In die Zwischenablage kopiert",
"text-content-incorrect": "Textinhalt ist fehlerhaft.",
"clipboard-content-incorrect": "Inhalt der Zwischenablage ist fehlerhaft.",
"text-content-incorrect": "Textinhalt ist fehlerhaft",
"clipboard-content-incorrect": "Inhalt der Zwischenablage ist fehlerhaft",
"copied-text-error": "Konnte nicht in die Zwischenablage schreiben. Kopiere manuell!",
"file-content-incorrect": "Dateiinhalt ist fehlerhaft.",
"notifications-enabled": "Benachrichtigungen aktiviert.",
"file-content-incorrect": "Dateiinhalt ist fehlerhaft",
"notifications-enabled": "Benachrichtigungen aktiviert",
"offline": "Du bist offline",
"online": "Du bist wieder Online",
"unfinished-transfers-warning": "Es wurden noch nicht alle Übertragungen fertiggestellt. Möchtest du PairDrop wirklich schließen?",
"display-name-changed-permanently": "Anzeigename wurde dauerhaft geändert.",
"display-name-changed-permanently": "Anzeigename wurde dauerhaft geändert",
"download-successful": "{{descriptor}} heruntergeladen",
"pairing-cleared": "Alle Geräte entkoppelt.",
"pairing-cleared": "Alle Geräte entkoppelt",
"click-to-show": "Klicken zum Anzeigen",
"online-requirement": "Du musst online sein um Geräte zu koppeln.",
"display-name-changed-temporarily": "Anzeigename wurde nur für diese Session geändert.",
"display-name-changed-temporarily": "Anzeigename wurde nur für diese Session geändert",
"request-title": "{{name}} möchte {{count}}{{descriptor}} übertragen",
"connecting": "Verbindung wird hergestellt…",
"files-incorrect": "Dateien sind fehlerhaft.",
"file-transfer-completed": "Dateiübertragung abgeschlossen.",
"message-transfer-completed": "Nachrichtenübertragung fertiggestellt.",
"files-incorrect": "Dateien sind fehlerhaft",
"file-transfer-completed": "Dateitransfer abgeschlossen",
"message-transfer-completed": "Nachricht übertragen",
"rate-limit-join-key": "Rate Limit erreicht. Warte 10 Sekunden und versuche es erneut.",
"selected-peer-left": "Ausgewählter Peer ist gegangen.",
"selected-peer-left": "Ausgewählter Peer ist gegangen",
"ios-memory-limit": "Für Übertragungen an iOS Geräte beträgt die maximale Dateigröße 200 MB",
"public-room-left": "Öffentlichen Raum {{publicRoomId}} verlassen",
"copied-to-clipboard-error": "Konnte nicht kopieren. Kopiere manuell.",
"public-room-id-invalid": "Ungültige Raum-ID",
"online-requirement-pairing": "Du musst online sein, um Geräte zu koppeln.",
"online-requirement-public-room": "Du musst online sein, um öffentliche Räume erstellen zu können.",
"online-requirement-pairing": "Du musst online sein, um Geräte zu koppeln",
"online-requirement-public-room": "Du musst online sein, um öffentliche Räume erstellen zu können",
"notifications-permissions-error": "Benachrichtigungen wurden blockiert, weil der Nutzer die Berechtigungsanfrage mehrfach abgelehnt hat. Dies kann in den Einstellungen der Website zurückgesetzt werden, welche durch Klick auf das Schloss Symbol neben der URL Leiste erreicht werden können.",
"pair-url-copied-to-clipboard": "Link zum Koppeln mit diesem Gerät in Zwischenablage kopiert",
"room-url-copied-to-clipboard": "Link zu diesem öffentlichen Raum in Zwischenablage kopiert"
},
"instructions": {
"x-instructions_desktop": "Klicke, um Dateien zu senden oder benutze einen Rechtsklick, um eine Textnachricht zu senden",
"x-instructions_desktop": "Klicke, um Dateien zu senden oder benutze einen Rechtsklick, um eine Nachricht zu senden",
"no-peers-title": "Öffne PairDrop auf anderen Geräten, um Dateien zu senden",
"no-peers_data-drop-bg": "Hier ablegen, um Empfänger auszuwählen",
"no-peers-subtitle": "Kopple Geräte oder besuche einen öffentlichen Raum, damit du in anderen Netzwerken sichtbar bist",
"click-to-send": "Klicke zum Senden von",
"tap-to-send": "Tippe zum Senden von",
"no-peers-subtitle": "Kopple Geräte oder betritt einen öffentlichen Raum, um in anderen Netzwerken sichtbar zu sein",
"x-instructions-share-mode_desktop": "Klicke zum Senden von {{descriptor}}",
"x-instructions-share-mode_mobile": "Tippe zum Senden von {{descriptor}}",
"x-instructions_data-drop-peer": "Hier ablegen, um an Peer zu senden",
"x-instructions_data-drop-bg": "Loslassen um Empfänger auszuwählen",
"x-instructions_mobile": "Tippe, um Dateien zu senden oder tippe lange, um Nachrichten zu senden",
"activate-paste-mode-base": "Öffne PairDrop auf anderen Geräten zum Senden von",
"activate-paste-mode-and-other-files": "und {{count}} anderen Dateien",
"activate-paste-mode-shared-text": "freigegebenem Text"
"activate-share-mode-base": "Öffne PairDrop auf anderen Geräten zum Senden von",
"activate-share-mode-and-other-files-plural": "und {{count}} anderen Dateien",
"activate-share-mode-shared-text": "freigegebenem Text",
"webrtc-requirement": "Um diese PairDrop Instanz zu verwenden muss WebRTC aktiviert sein!",
"activate-share-mode-shared-files-plural": "{{count}} geteilte Dateien",
"activate-share-mode-shared-file": "geteilte Datei",
"activate-share-mode-and-other-file": "und 1 andere Datei"
},
"document-titles": {
"file-transfer-requested": "Dateiübertragung angefordert",
"file-transfer-requested": "Dateitransfer beantragt",
"file-received": "Datei erhalten",
"file-received-plural": "{{count}} Dateien erhalten",
"message-received": "Nachricht erhalten",
"message-received-plural": "{{count}} Nachrichten erhalten",
"image-transfer-requested": "Bilder Transfer beantragt"
"image-transfer-requested": "Transfer von Bildern beantragt"
},
"peer-ui": {
"click-to-send": "Klicke, um Dateien zu senden oder benutze einen Rechtsklick, um eine Textnachricht zu senden",
"connection-hash": "Um die Ende-zu-Ende Verschlüsselung zu verifizieren, vergleiche die Sicherheitsnummer auf beiden Geräten",
"waiting": "Warte…",
"click-to-send-paste-mode": "Klicken um {{descriptor}} zu senden",
"click-to-send-share-mode": "Klicken um {{descriptor}} zu senden",
"transferring": "Übertragung läuft…",
"processing": "Bearbeitung läuft…",
"preparing": "Vorbereitung läuft…"

View File

@ -11,7 +11,9 @@
"pair-device_title": "Pair your devices permanently",
"edit-paired-devices_title": "Edit paired devices",
"join-public-room_title": "Join public room temporarily",
"cancel-paste-mode": "Done"
"cancel-share-mode": "Cancel",
"edit-share-mode": "Edit",
"expand_title": "Expand header button row"
},
"instructions": {
"no-peers_data-drop-bg": "Release to select recipient",
@ -21,11 +23,15 @@
"x-instructions_mobile": "Tap to send files or long tap to send a message",
"x-instructions_data-drop-peer": "Release to send to peer",
"x-instructions_data-drop-bg": "Release to select recipient",
"click-to-send": "Click to send",
"tap-to-send": "Tap to send",
"activate-paste-mode-base": "Open PairDrop on other devices to send",
"activate-paste-mode-and-other-files": "and {{count}} other files",
"activate-paste-mode-shared-text": "shared text"
"x-instructions-share-mode_desktop": "Click to send {{descriptor}}",
"x-instructions-share-mode_mobile": "Tap to send {{descriptor}}",
"activate-share-mode-base": "Open PairDrop on other devices to send",
"activate-share-mode-and-other-file": "and 1 other file",
"activate-share-mode-and-other-files-plural": "and {{count}} other files",
"activate-share-mode-shared-text": "shared text",
"activate-share-mode-shared-file": "shared file",
"activate-share-mode-shared-files-plural": "{{count}} shared files",
"webrtc-requirement": "To use this PairDrop instance, WebRTC must be enabled!"
},
"footer": {
"known-as": "You are known as:",
@ -55,6 +61,7 @@
"cancel": "Cancel",
"edit-paired-devices-title": "Edit Paired Devices",
"unpair": "Unpair",
"paired-device-removed": "Paired device has been removed.",
"paired-devices-wrapper_data-empty": "No paired devices.",
"auto-accept-instructions-1": "Activate",
"auto-accept": "auto-accept",
@ -69,14 +76,17 @@
"share": "Share",
"download": "Download",
"send-message-title": "Send Message",
"send-message-to": "Send a Message to",
"send-message-to": "To:",
"message_title": "Insert message to send",
"message_placeholder": "Text",
"send": "Send",
"receive-text-title": "Message Received",
"copy": "Copy",
"base64-title-files": "Share Files",
"base64-title-text": "Share Text",
"base64-processing": "Processing…",
"base64-tap-to-paste": "Tap here to paste {{type}}",
"base64-paste-to-send": "Paste here to send {{type}}",
"base64-tap-to-paste": "Tap here to share {{type}}",
"base64-paste-to-send": "Paste clipboard here to share {{type}}",
"base64-text": "text",
"base64-files": "files",
"file-other-description-image": "and 1 other image",
@ -92,7 +102,12 @@
"language-selector-title": "Set Language",
"system-language": "System Language",
"public-room-qr-code_title": "Click to copy link to public room",
"pair-devices-qr-code_title": "Click to copy link to pair this device"
"pair-devices-qr-code_title": "Click to copy link to pair this device",
"approve": "approve",
"share-text-title": "Share Text Message",
"share-text-subtitle": "Edit message before sending:",
"share-text-checkbox": "Always show this dialog when sharing text",
"close-toast_title": "Close notification"
},
"about": {
"close-about_aria-label": "Close About PairDrop",
@ -100,29 +115,33 @@
"github_title": "PairDrop on GitHub",
"buy-me-a-coffee_title": "Buy me a coffee!",
"tweet_title": "Tweet about PairDrop",
"mastodon_title": "Write about PairDrop on Mastodon",
"bluesky_title": "Follow us on BlueSky",
"custom_title": "Follow us",
"privacypolicy_title": "Open our privacy policy",
"faq_title": "Frequently asked questions"
},
"notifications": {
"display-name-changed-permanently": "Display name is changed permanently.",
"display-name-changed-temporarily": "Display name is changed only for this session.",
"display-name-random-again": "Display name is randomly generated again.",
"display-name-changed-permanently": "Display name is changed permanently",
"display-name-changed-temporarily": "Display name is changed for this session only",
"display-name-random-again": "Display name is randomly generated again",
"download-successful": "{{descriptor}} downloaded",
"pairing-tabs-error": "Pairing two web browser tabs is impossible.",
"pairing-success": "Devices paired.",
"pairing-not-persistent": "Paired devices are not persistent.",
"pairing-tabs-error": "Pairing two web browser tabs is impossible",
"pairing-success": "Devices paired",
"pairing-not-persistent": "Paired devices are not persistent",
"pairing-key-invalid": "Invalid key",
"pairing-key-invalidated": "Key {{key}} invalidated.",
"pairing-cleared": "All Devices unpaired.",
"pairing-key-invalidated": "Key {{key}} invalidated",
"pairing-cleared": "All devices unpaired",
"public-room-id-invalid": "Invalid room ID",
"public-room-left": "Left public room {{publicRoomId}}",
"copied-to-clipboard": "Copied to clipboard",
"pair-url-copied-to-clipboard": "Link to pair this device copied to clipboard",
"room-url-copied-to-clipboard": "Link to public room copied to clipboard",
"copied-to-clipboard-error": "Copying not possible. Copy manually.",
"text-content-incorrect": "Text content is incorrect.",
"file-content-incorrect": "File content is incorrect.",
"clipboard-content-incorrect": "Clipboard content is incorrect.",
"notifications-enabled": "Notifications enabled.",
"text-content-incorrect": "Text content is incorrect",
"file-content-incorrect": "File content is incorrect",
"clipboard-content-incorrect": "Clipboard content is incorrect",
"notifications-enabled": "Notifications enabled",
"notifications-permissions-error": "Notifications permission has been blocked as the user has dismissed the permission prompt several times. This can be reset in Page Info which can be accessed by clicking the lock icon next to the URL bar.",
"link-received": "Link received by {{name}} - Click to open",
"message-received": "Message received by {{name}} - Click to copy",
@ -133,17 +152,17 @@
"copied-text-error": "Writing to clipboard failed. Copy manually!",
"offline": "You are offline",
"online": "You are back online",
"connected": "Connected.",
"online-requirement-pairing": "You need to be online to pair devices.",
"online-requirement-public-room": "You need to be online to create a public room.",
"connected": "Connected",
"online-requirement-pairing": "You need to be online to pair devices",
"online-requirement-public-room": "You need to be online to create a public room",
"connecting": "Connecting…",
"files-incorrect": "Files are incorrect.",
"file-transfer-completed": "File transfer completed.",
"files-incorrect": "Files are incorrect",
"file-transfer-completed": "File transfer completed",
"ios-memory-limit": "Sending files to iOS is only possible up to 200 MB at once",
"message-transfer-completed": "Message transfer completed.",
"message-transfer-completed": "Message transfer completed",
"unfinished-transfers-warning": "There are unfinished transfers. Are you sure you want to close PairDrop?",
"rate-limit-join-key": "Rate limit reached. Wait 10 seconds and try again.",
"selected-peer-left": "Selected peer left."
"selected-peer-left": "Selected peer left"
},
"document-titles": {
"file-received": "File Received",
@ -154,7 +173,7 @@
"message-received-plural": "{{count}} Messages Received"
},
"peer-ui": {
"click-to-send-paste-mode": "Click to send {{descriptor}}",
"click-to-send-share-mode": "Click to send {{descriptor}}",
"click-to-send": "Click to send files or right click to send a message",
"connection-hash": "To verify the security of the end-to-end encryption, compare this security number on both devices",
"preparing": "Preparing…",

View File

@ -4,14 +4,16 @@
"language-selector_title": "Configurar Idioma",
"about_title": "Sobre PairDrop",
"about_aria-label": "Abrir Sobre PairDrop",
"cancel-paste-mode": "Listo",
"cancel-share-mode": "Listo",
"install_title": "Instalar PairDrop",
"theme-dark_title": "Siempre usar tema oscuro",
"pair-device_title": "Empareja tus dispositivos permanentemente",
"join-public-room_title": "Unirse a una sala pública temporalmente",
"notification_title": "Activar notificaciones",
"edit-paired-devices_title": "Editar dispositivos emparejados",
"theme-light_title": "Siempre usar tema claro"
"theme-light_title": "Siempre usar tema claro",
"expand_title": "Ampliar la fila de botones de la cabecera",
"edit-share-mode": "Editar"
},
"footer": {
"webrtc": "si WebRTC no está disponible.",
@ -34,36 +36,36 @@
"message-received": "Mensaje recibido por {{name}} - Haga clic para copiar",
"rate-limit-join-key": "Límite de intentos alcanzado. Espere 10 segundos y vuelva a intentarlo.",
"connecting": "Conectando…",
"pairing-key-invalidated": "Clave {{key}} invalidada.",
"pairing-key-invalidated": "Clave {{key}} invalidada",
"pairing-key-invalid": "Clave inválida",
"connected": "Connectado.",
"pairing-not-persistent": "Los dispositivos emparejados no son persistentes.",
"text-content-incorrect": "El contenido del texto es incorrecto.",
"message-transfer-completed": "Transferencia de mensaje completada.",
"file-transfer-completed": "Transferencia de archivos completada.",
"file-content-incorrect": "El contenido del archivo es incorrecto.",
"files-incorrect": "Los archivos son incorrectos.",
"selected-peer-left": "El dispositivo seleccionado se fue.",
"connected": "Connectado",
"pairing-not-persistent": "Los dispositivos emparejados no son persistentes",
"text-content-incorrect": "El contenido del texto es incorrecto",
"message-transfer-completed": "Transferencia del mensaje completada",
"file-transfer-completed": "Transferencia de archivos completada",
"file-content-incorrect": "El contenido del archivo es incorrecto",
"files-incorrect": "Los archivos son incorrectos",
"selected-peer-left": "Dispositivos seleccionados restantes",
"link-received": "Link recibido por {{name}} - Haga clic para abrir",
"online": "Estás de nuevo en línea",
"public-room-left": "Salió de la sala pública {{publicRoomId}}",
"copied-text": "Texto copiado al portapapeles",
"display-name-random-again": "El nombre mostrado se genera aleatoriamente nuevamente.",
"display-name-changed-permanently": "El nombre para mostrar se ha cambiado permanentemente.",
"display-name-random-again": "El nombre mostrado se genera aleatoriamente nuevamente",
"display-name-changed-permanently": "El nombre para mostrar se ha cambiado permanentemente",
"copied-to-clipboard-error": "No es posible copiarlo. Cópielo manualmente.",
"pairing-success": "Dispositivos emparejados.",
"clipboard-content-incorrect": "El contenido del portapapeles es incorrecto.",
"display-name-changed-temporarily": "El nombre mostrado se cambia solo para esta sesión.",
"pairing-success": "Dispositivos emparejados",
"clipboard-content-incorrect": "El contenido del portapapeles es incorrecto",
"display-name-changed-temporarily": "El nombre para mostrar se cambia sólo para esta sesión",
"copied-to-clipboard": "Copiado al portapapeles",
"offline": "Estás desconectado",
"pairing-tabs-error": "Emparejar dos pestañas del navegador es imposible.",
"pairing-tabs-error": "Emparejar dos pestañas del navegador es imposible",
"public-room-id-invalid": "ID de sala no válido",
"click-to-download": "Haga clic para descargar",
"pairing-cleared": "Todos los dispositivos han sido desemparejados.",
"notifications-enabled": "Notificaciones habilitadas.",
"online-requirement-pairing": "Debes estar en línea para emparejar dispositivos.",
"pairing-cleared": "Todos los dispositivos han sido desemparejados",
"notifications-enabled": "Notificaciones habilitadas",
"online-requirement-pairing": "Debes estar en línea para emparejar dispositivos",
"ios-memory-limit": "Enviar archivos a iOS sólo admite hasta 200 MB a la vez",
"online-requirement-public-room": "Debes estar en línea para crear una sala pública.",
"online-requirement-public-room": "Debes estar en línea para crear una sala pública",
"copied-text-error": "Error al escribir en el portapapeles. ¡Cópielo manualmente!",
"download-successful": "{{descriptor}} descargado",
"click-to-show": "Click para mostrar",
@ -73,21 +75,25 @@
},
"instructions": {
"x-instructions_mobile": "Toque para enviar archivos o toque prologádamente para enviar un mensaje",
"click-to-send": "Haga clic para enviar",
"activate-paste-mode-and-other-files": "y {{count}} archivos diferentes",
"tap-to-send": "Toca para enviar",
"activate-paste-mode-base": "Abra PairDrop en otros dispositivos para enviar",
"x-instructions-share-mode_desktop": "Haga clic para enviar {{descriptor}}",
"activate-share-mode-and-other-files-plural": "y {{count}} archivos diferentes",
"x-instructions-share-mode_mobile": "Toque para enviar {{descriptor}}",
"activate-share-mode-base": "Abra PairDrop en otros dispositivos para enviar",
"no-peers-subtitle": "Empareje dispositivos o ingrese a una sala pública para que lo puedan encontrar en otras redes",
"activate-paste-mode-shared-text": "texto compartido",
"activate-share-mode-shared-text": "texto compartido",
"x-instructions_desktop": "Haga clic para enviar archivos o haga clic derecho para enviar un mensaje",
"no-peers-title": "Abra PairDrop en otros dispositivos para enviar archivos",
"x-instructions_data-drop-peer": "Liberar para enviar a un par",
"x-instructions_data-drop-bg": "Liberar para seleccionar destinatario",
"no-peers_data-drop-bg": "Liberar para seleccionar destinatario"
"no-peers_data-drop-bg": "Liberar para seleccionar destinatario",
"webrtc-requirement": "Para utilizar esta instancia de PairDrop, ¡WebRTC debe estar activado!",
"activate-share-mode-shared-files-plural": "{{count}} archivos compartidos",
"activate-share-mode-shared-file": "archivo compartido",
"activate-share-mode-and-other-file": "y 1 archivo más"
},
"peer-ui": {
"processing": "Procesando…",
"click-to-send-paste-mode": "Haga clic para enviar {{descriptor}}",
"click-to-send-share-mode": "Haga clic para enviar {{descriptor}}",
"click-to-send": "Haga clic para enviar archivos o haga clic derecho para enviar un mensaje",
"waiting": "Esperando…",
"connection-hash": "Para verificar la seguridad del cifrado de extremo a extremo, compare este número de seguridad en ambos dispositivos",
@ -95,7 +101,7 @@
"transferring": "Transferiendo…"
},
"dialogs": {
"base64-paste-to-send": "Pegar aquí para enviar {{type}}",
"base64-paste-to-send": "Pegar el portapapeles aquí para compartir {{type}}",
"auto-accept-instructions-2": "para aceptar automáticamente todos los archivos enviados desde ese dispositivo.",
"receive-text-title": "Mensaje Recibido",
"edit-paired-devices-title": "Editar Dispositivos Emparejados",
@ -111,7 +117,7 @@
"join": "Unirse",
"title-image-plural": "Imágenes",
"send": "Enviar",
"base64-tap-to-paste": "Toca aquí para pegar {{type}}",
"base64-tap-to-paste": "Pulse aquí para compartir {{type}}",
"base64-text": "texto",
"copy": "Copiar",
"file-other-description-image": "y una imagen mas",
@ -125,7 +131,7 @@
"title-image": "Imagen",
"file-other-description-file-plural": "y {{count}} archivos más",
"would-like-to-share": "quisiera compartir",
"send-message-to": "Enviar un Mensaje a",
"send-message-to": "Para:",
"language-selector-title": "Configurar Idioma",
"pair": "Emparejar",
"hr-or": "O",
@ -144,7 +150,16 @@
"enter-room-id-from-another-device": "Ingresa el ID de la sala desde otro dispositivo para unirte a la sala.",
"message_title": "Insertar el mensaje a enviar",
"pair-devices-qr-code_title": "Haz clic para copiar el enlace para emparejar este dispositivo",
"public-room-qr-code_title": "Haz clic para copiar el enlace a la sala pública"
"public-room-qr-code_title": "Haz clic para copiar el enlace a la sala pública",
"message_placeholder": "Texto",
"close-toast_title": "Cerrar la notificación",
"share-text-checkbox": "Mostrar siempre este cuadro de diálogo al compartir texto",
"base64-title-files": "Compartir archivos",
"approve": "aprobar",
"paired-device-removed": "Se ha eliminado el dispositivo emparejado.",
"share-text-title": "Compartir un mensaje de texto",
"share-text-subtitle": "Edita el mensaje antes de enviarlo:",
"base64-title-text": "Compartir el texto"
},
"about": {
"claim": "La forma más sencilla de transferir archivos entre dispositivos",
@ -152,7 +167,11 @@
"close-about_aria-label": "Cerrar Sobre PairDrop",
"buy-me-a-coffee_title": "¡Cómprame un café!",
"github_title": "PairDrop en GitHub",
"faq_title": "Preguntas frecuentes"
"faq_title": "Preguntas frecuentes",
"bluesky_title": "Síganos en BlueSky",
"privacypolicy_title": "Abrir nuestra política de privacidad",
"mastodon_title": "Escriba sobre PairDrop en Mastodon",
"custom_title": "Síguenos en"
},
"document-titles": {
"file-transfer-requested": "Transferencia de archivos solicitada",

View File

@ -11,7 +11,7 @@
"pair-device_title": "Associez vos appareils de manière permanente",
"edit-paired-devices_title": "Gérer les appareils couplés",
"join-public-room_title": "Rejoindre temporairement la salle publique",
"cancel-paste-mode": "Terminé"
"cancel-share-mode": "Terminé"
},
"instructions": {
"no-peers_data-drop-bg": "Déposer pour choisir le destinataire",
@ -21,11 +21,11 @@
"x-instructions_mobile": "Appuyez pour envoyer des fichiers ou appuyez longuement pour envoyer un message",
"x-instructions_data-drop-peer": "Déposer pour envoyer au destinataire",
"x-instructions_data-drop-bg": "Lâcher pour choisir le destinataire",
"click-to-send": "Cliquez pour envoyer",
"tap-to-send": "Appuyez pour envoyer",
"activate-paste-mode-base": "Ouvrez PairDrop sur d'autres appareils pour envoyer",
"activate-paste-mode-and-other-files": "et {{count}} autres fichiers",
"activate-paste-mode-shared-text": "texte partagé"
"x-instructions-share-mode_desktop": "Cliquez pour envoyer",
"x-instructions-share-mode_mobile": "Appuyez pour envoyer",
"activate-share-mode-base": "Ouvrez PairDrop sur d'autres appareils pour envoyer",
"activate-share-mode-and-other-files-plural": "et {{count}} autres fichiers",
"activate-share-mode-shared-text": "texte partagé"
},
"footer": {
"known-as": "Vous êtes connu comme :",
@ -90,35 +90,38 @@
"receive-title": "{{descriptor}} Reçu",
"download-again": "Télécharger à nouveau",
"language-selector-title": "Définir la langue",
"system-language": "Langue du système"
"system-language": "Langue du système",
"message_title": "Insérer un message à envoyer",
"pair-devices-qr-code_title": "Cliquer pour copier pour appairer l'appareil",
"public-room-qr-code_title": "Cliquez pour copier le lien vers le salon public"
},
"about": {
"close-about_aria-label": "Fermer à propos de PairDrop",
"claim": "Le moyen le plus simple de transférer des fichiers entre appareils",
"github_title": "PairDrop sur GitHub",
"buy-me-a-coffee_title": "Acheté-moi un café!",
"buy-me-a-coffee_title": "Achetez-moi un café!",
"tweet_title": "Tweet à propos de PairDrop",
"faq_title": "Questions fréquemment posées"
},
"notifications": {
"display-name-changed-permanently": "Le nom d'affichage est modifié de manière permanente.",
"display-name-changed-temporarily": "Le nom d'affichage est modifié uniquement pour cette session.",
"display-name-random-again": "Le nom d'affichage est à nouveau généré aléatoirement.",
"display-name-changed-permanently": "Le nom d'affichage est modifié de manière permanente",
"display-name-changed-temporarily": "Le nom d'affichage est modifié uniquement pour cette session",
"display-name-random-again": "Le nom d'affichage est à nouveau généré aléatoirement",
"download-successful": "{{descriptor}} téléchargé",
"pairing-tabs-error": "Le couplage de deux onglets de navigateur Web est impossible.",
"pairing-success": "Appareils couplés.",
"pairing-not-persistent": "Les appareils couplés ne sont pas persistants.",
"pairing-tabs-error": "Le couplage de deux onglets de navigateur Web est impossible",
"pairing-success": "Appareils couplés",
"pairing-not-persistent": "Les appareils couplés ne sont pas persistants",
"pairing-key-invalid": "Clé invalide",
"pairing-key-invalidated": "Clé {{key}} invalidée.",
"pairing-cleared": "Tous les appareils ne sont plus appairés.",
"pairing-key-invalidated": "Clé {{key}} invalidée",
"pairing-cleared": "Tous les appareils ne sont plus appairés",
"public-room-id-invalid": "ID de salle non valide",
"public-room-left": "Salle publique {{publicRoomId}} quittée",
"copied-to-clipboard": "Copié dans le presse-papier",
"copied-to-clipboard-error": "Copie impossible. Copier manuellement.",
"text-content-incorrect": "Le contenu du texte est incorrect.",
"file-content-incorrect": "Le contenu du fichier est incorrect.",
"clipboard-content-incorrect": "Le contenu du presse-papiers est incorrect.",
"notifications-enabled": "Notifications activées.",
"text-content-incorrect": "Le contenu du texte est incorrect",
"file-content-incorrect": "Le contenu du fichier est incorrect",
"clipboard-content-incorrect": "Le contenu du presse-papiers est incorrect",
"notifications-enabled": "Notifications activées",
"link-received": "Lien reçu par {{name}} - Cliquez pour ouvrir",
"message-received": "Message reçu par {{name}} - Cliquez pour copier",
"click-to-download": "Cliquez pour télécharger",
@ -128,17 +131,20 @@
"copied-text-error": "L'écriture dans le presse-papiers a échoué. Copiez manuellement !",
"offline": "Vous êtes hors ligne",
"online": "Vous êtes de nouveau en ligne",
"connected": "Connecté.",
"online-requirement-pairing": "Vous devez être en ligne pour coupler des appareils.",
"online-requirement-public-room": "Vous devez être en ligne pour créer une salle publique.",
"connected": "Connecté",
"online-requirement-pairing": "Vous devez être en ligne pour coupler des appareils",
"online-requirement-public-room": "Vous devez être en ligne pour créer une salle publique",
"connecting": "Connexion…",
"files-incorrect": "Les fichiers sont incorrects.",
"file-transfer-completed": "Transfert de fichier terminé.",
"files-incorrect": "Les fichiers sont incorrects",
"file-transfer-completed": "Transfert de fichier terminé",
"ios-memory-limit": "L'envoi de fichiers vers iOS n'est possible que jusqu'à 200 Mo à la fois",
"message-transfer-completed": "Transfert de message terminé.",
"message-transfer-completed": "Transfert de message terminé",
"unfinished-transfers-warning": "Il y a des transferts inachevés. Êtes-vous sûr de vouloir fermer PairDrop ?",
"rate-limit-join-key": "Limite de débit atteinte. Attendez 10 secondes et réessayez.",
"selected-peer-left": "Appareils sélectionnés restants."
"selected-peer-left": "Appareils sélectionnés restants",
"pair-url-copied-to-clipboard": "Lien de couplage de cet appareil copié dans le presse-papier",
"room-url-copied-to-clipboard": "Lien vers la salle publique copié dans le presse-papier",
"notifications-permissions-error": "Permission de notification bloquées car l'utilisateur a plusieurs fois rejeté la demande d'autorisation. Cela peut être réinitialisé via la Page d'Information en cliquant licône de cadenas à coté de l'URL."
},
"document-titles": {
"file-received": "Fichier reçu",
@ -149,7 +155,7 @@
"message-received-plural": "{{count}} Messages reçus"
},
"peer-ui": {
"click-to-send-paste-mode": "Cliquez pour envoyer {{descriptor}}",
"click-to-send-share-mode": "Cliquez pour envoyer {{descriptor}}",
"click-to-send": "Cliquez pour envoyer des fichiers ou faites un clic droit pour envoyer un message",
"connection-hash": "Pour vérifier la sécurité du chiffrement de bout en bout, comparez ce numéro de sécurité sur les deux appareils",
"preparing": "Préparation…",

View File

@ -20,36 +20,36 @@
"message-received": "Pesan diterima dari {{name}} - Klik untuk menyalin",
"rate-limit-join-key": "Batasan tercapai. Tunggu 10 detik dan coba lagi.",
"connecting": "Menghubungkan…",
"pairing-key-invalidated": "Kunci {{key}} tidak valid.",
"pairing-key-invalidated": "Kunci {{key}} tidak valid",
"pairing-key-invalid": "Kunci tidak valid",
"connected": "Tersambung.",
"pairing-not-persistent": "Perangkat dipasangkan tidak akan bertahan lama.",
"text-content-incorrect": "Isi teks keliru.",
"message-transfer-completed": "Transfer pesan selesai.",
"file-transfer-completed": "Transfer file selesai.",
"file-content-incorrect": "Isi file keliru.",
"files-incorrect": "File tidak benar.",
"selected-peer-left": "Rekan terpilih keluar.",
"connected": "Tersambung",
"pairing-not-persistent": "Perangkat dipasangkan tidak akan bertahan lama",
"text-content-incorrect": "Isi teks keliru",
"message-transfer-completed": "Transfer pesan selesai",
"file-transfer-completed": "Transfer file selesai",
"file-content-incorrect": "Isi file keliru",
"files-incorrect": "File tidak benar",
"selected-peer-left": "Rekan terpilih keluar",
"link-received": "Tautan diterima dari {{name}} - Klik untuk membuka",
"online": "Anda kembali online",
"public-room-left": "Keluar dari ruang publik {{publicRoomId}}",
"copied-text": "Teks disalin ke papan klip",
"display-name-random-again": "Nama tampilan dibuat secara acak lagi.",
"display-name-changed-permanently": "Nama tampilan diubah secara permanen.",
"display-name-random-again": "Nama tampilan dibuat secara acak lagi",
"display-name-changed-permanently": "Nama tampilan diubah secara permanen",
"copied-to-clipboard-error": "Penyalinan tak dapat dilakukan. Salinlah secara manual.",
"pairing-success": "Perangkat dipasangkan.",
"clipboard-content-incorrect": "Isi papan klip keliru.",
"display-name-changed-temporarily": "Nama tampilan hanya diubah untuk sesi ini.",
"pairing-success": "Perangkat dipasangkan",
"clipboard-content-incorrect": "Isi papan klip keliru",
"display-name-changed-temporarily": "Nama tampilan hanya diubah untuk sesi ini",
"copied-to-clipboard": "Disalin ke papan klip",
"offline": "Anda sedang offline",
"pairing-tabs-error": "Memasangkan dua tab browser web tidak mungkin dilakukan.",
"pairing-tabs-error": "Memasangkan dua tab browser web tidak mungkin dilakukan",
"public-room-id-invalid": "Room ID tidak valid",
"click-to-download": "Klik untuk mengunduh",
"pairing-cleared": "Semua Perangkat dilepaskan.",
"notifications-enabled": "Notifikasi diaktifkan.",
"online-requirement-pairing": "Anda harus online untuk memasangkan perangkat.",
"pairing-cleared": "Semua Perangkat dilepaskan",
"notifications-enabled": "Notifikasi diaktifkan",
"online-requirement-pairing": "Anda harus online untuk memasangkan perangkat",
"ios-memory-limit": "Mengirim file ke iOS hanya dapat dilakukan hingga 200 MB sekaligus",
"online-requirement-public-room": "Anda harus online untuk membuat ruang publik.",
"online-requirement-public-room": "Anda harus online untuk membuat ruang publik",
"copied-text-error": "Menyalin ke papan klip gagal. Salinlah secara manual!",
"download-successful": "{{descriptor}} diunduh",
"click-to-show": "Klik untuk menampilkan",
@ -58,7 +58,7 @@
"room-url-copied-to-clipboard": "Tautan ke ruang publik disalin ke papan klip"
},
"header": {
"cancel-paste-mode": "Selesai",
"cancel-share-mode": "Batalkan",
"theme-auto_title": "Sesuaikan tema dengan sistem",
"install_title": "Instal PairDrop",
"theme-dark_title": "Selalu gunakan tema gelap",
@ -73,12 +73,12 @@
},
"instructions": {
"x-instructions_mobile": "Ketuk untuk mengirim file atau ketuk lama untuk mengirim pesan",
"click-to-send": "Klik untuk mengirim",
"activate-paste-mode-and-other-files": "dan {{count}} file lainnya",
"tap-to-send": "Ketuk untuk mengirim",
"activate-paste-mode-base": "Buka PairDrop di perangkat lain untuk berkirim",
"x-instructions-share-mode_desktop": "Klik untuk mengirim",
"activate-share-mode-and-other-files-plural": "dan {{count}} file lainnya",
"x-instructions-share-mode_mobile": "Ketuk untuk mengirim",
"activate-share-mode-base": "Buka PairDrop di perangkat lain untuk berkirim",
"no-peers-subtitle": "Pasangkan perangkat atau masuk ke ruang publik agar dapat terdeteksi di jaringan lain",
"activate-paste-mode-shared-text": "teks bersama",
"activate-share-mode-shared-text": "teks bersama",
"x-instructions_desktop": "Klik untuk mengirim file atau klik kanan untuk mengirim pesan",
"no-peers-title": "Buka PairDrop di perangkat lain untuk berkirim file",
"x-instructions_data-drop-peer": "Lepaskan untuk mengirim ke rekan",
@ -87,7 +87,7 @@
},
"peer-ui": {
"processing": "Memproses…",
"click-to-send-paste-mode": "Klik untuk mengirim {{descriptor}}",
"click-to-send-share-mode": "Klik untuk mengirim {{descriptor}}",
"click-to-send": "Klik untuk mengirim file atau klik kanan untuk mengirim pesan",
"waiting": "Menunggu…",
"connection-hash": "Untuk memverifikasi keamanan enkripsi end-to-end, bandingkan nomor keamanan ini pada kedua perangkat",

View File

@ -15,7 +15,7 @@
"known-as": "Sei visibile come:"
},
"header": {
"cancel-paste-mode": "Fatto",
"cancel-share-mode": "Fatto",
"theme-auto_title": "Adatta il tema al sistema automaticamente",
"install_title": "Installa PairDrop",
"theme-dark_title": "Usa sempre il tema scuro",
@ -30,17 +30,18 @@
},
"instructions": {
"x-instructions_mobile": "Tocca per inviare file o tocco prolungato per inviare un messaggio",
"click-to-send": "Clicca per inviare",
"activate-paste-mode-and-other-files": "e altri {{count}} files",
"tap-to-send": "Tocca per inviare",
"activate-paste-mode-base": "Apri PairDrop su altri dispositivi per inviare",
"x-instructions-share-mode_desktop": "Clicca per inviare",
"activate-share-mode-and-other-files-plural": "e altri {{count}} files",
"x-instructions-share-mode_mobile": "Tocca per inviare",
"activate-share-mode-base": "Apri PairDrop su altri dispositivi per inviare",
"no-peers-subtitle": "Abbina dispositivi o entra in una stanza pubblica per essere rilevabile su altre reti",
"activate-paste-mode-shared-text": "testo condiviso",
"activate-share-mode-shared-text": "testo condiviso",
"x-instructions_desktop": "Clicca per inviare files o usa il tasto destro per inviare un messaggio",
"no-peers-title": "Apri PairDrop su altri dispositivi per inviare files",
"x-instructions_data-drop-peer": "Rilascia per inviare al peer",
"x-instructions_data-drop-bg": "Rilascia per selezionare il destinatario",
"no-peers_data-drop-bg": "Rilascia per selezionare il destinatario"
"no-peers_data-drop-bg": "Rilascia per selezionare il destinatario",
"webrtc-requirement": "Per usare questa istanza di PairDrop, devi attivare WebRTC!"
},
"dialogs": {
"auto-accept-instructions-2": "per accettare automaticamente tutti i files inviati da quel dispositivo.",
@ -90,7 +91,7 @@
"title-file-plural": "Files",
"send-message-title": "Invia Messaggio",
"file-other-description-image-plural": "e {{count}} altre immagini",
"message_title": "Inserisci il messaggio da inviare",
"message_title": "Inserire messaggio da inviare",
"pair-devices-qr-code_title": "Clicca per copiare il link di abbinamento di questo dispositivo",
"public-room-qr-code_title": "Clicca per copirare il link della stanza pubblica"
},
@ -100,36 +101,36 @@
"message-received": "Messaggio ricevuto da {{name}} - Clicca per copiare",
"rate-limit-join-key": "Limite raggiunto. Aspetta 10 secondi e riprova.",
"connecting": "Connessione…",
"pairing-key-invalidated": "Il codice {{key}} è stato invalidato.",
"pairing-key-invalidated": "Il codice {{key}} è stato invalidato",
"pairing-key-invalid": "Codice non valido",
"connected": "Connesso.",
"pairing-not-persistent": "I dispositivi abbinati non sono persistenti.",
"text-content-incorrect": "Il contenuto testuale non è corretto.",
"message-transfer-completed": "Trasferimento del messaggio completato.",
"file-transfer-completed": "Trasferimento file completato.",
"file-content-incorrect": "Il contenuto del file non è corretto.",
"files-incorrect": "I file non sono corretti.",
"selected-peer-left": "Peer selezionato ha abbandonato.",
"connected": "Connesso",
"pairing-not-persistent": "I dispositivi abbinati non sono persistenti",
"text-content-incorrect": "Il contenuto testuale non è corretto",
"message-transfer-completed": "Trasferimento del messaggio completato",
"file-transfer-completed": "Trasferimento file completato",
"file-content-incorrect": "Il contenuto del file non è corretto",
"files-incorrect": "I file non sono corretti",
"selected-peer-left": "Peer selezionato ha abbandonato",
"link-received": "Link ricevuto da {{name}} - Clicca per aprire",
"online": "Sei di nuovo online",
"public-room-left": "Ha lasciato la stanza pubblica {{publicRoomId}}",
"copied-text": "Testo copiato negli appunti",
"display-name-random-again": "Il nome visualizzato è generato casualmente un'altra volta.",
"display-name-changed-permanently": "Il nome visualizzato è cambiato permanentemente.",
"display-name-random-again": "Il nome visualizzato è generato casualmente un'altra volta",
"display-name-changed-permanently": "Il nome visualizzato è cambiato permanentemente",
"copied-to-clipboard-error": "La copia non è possibile. Copia manualmente.",
"pairing-success": "Dispositivi abbinati.",
"clipboard-content-incorrect": "Il contenuto copiato non è corretto.",
"display-name-changed-temporarily": "Il nome visualizzato è cambiato solo per questa sessione.",
"pairing-success": "Dispositivi abbinati",
"clipboard-content-incorrect": "Il contenuto copiato non è corretto",
"display-name-changed-temporarily": "Il nome visualizzato è cambiato solo per questa sessione",
"copied-to-clipboard": "Copiato negli appunti",
"offline": "Sei offline",
"pairing-tabs-error": "Abbinare due schede del browser è impossibile.",
"pairing-tabs-error": "Abbinare due schede del browser è impossibile",
"public-room-id-invalid": "ID stanza non valido",
"click-to-download": "Clicca per scaricare",
"pairing-cleared": "Tutti i dispositivi sono stati dissociati.",
"notifications-enabled": "Notifiche attivate.",
"online-requirement-pairing": "Devi essere online per abbinare dispositivi.",
"pairing-cleared": "Tutti i dispositivi sono stati dissociati",
"notifications-enabled": "Notifiche attivate",
"online-requirement-pairing": "Devi essere online per abbinare dispositivi",
"ios-memory-limit": "L'invio di file a dispositivi iOS è possibile solo 200 MB alla volta",
"online-requirement-public-room": "Devi essere online per creare una stanza pubblica.",
"online-requirement-public-room": "Devi essere online per creare una stanza pubblica",
"copied-text-error": "Scrittura negli appunti fallita. Copia manualmente!",
"download-successful": "{{descriptor}} scaricato",
"click-to-show": "Clicca per mostrare",
@ -139,7 +140,7 @@
},
"peer-ui": {
"processing": "Elaborazione…",
"click-to-send-paste-mode": "Clicca per inviare {{descriptor}}",
"click-to-send-share-mode": "Clicca per inviare {{descriptor}}",
"click-to-send": "Clicca per inviare files o tasto destro per inviare un messaggio",
"waiting": "In attesa…",
"connection-hash": "Per verificare la sicurezza della crittografia end-to-end, confronta questo numero di sicurezza su entrambi i dispositivi",

View File

@ -20,36 +20,36 @@
"message-received": "{{name}}から受信したメッセージ(クリックしてコピー)",
"rate-limit-join-key": "レート制限に到達しました。10秒待ってから再度お試しください。",
"connecting": "接続中…",
"pairing-key-invalidated": "コード{{key}}が失効しました",
"pairing-key-invalidated": "コード{{key}}が失効しました",
"pairing-key-invalid": "無効なコード",
"connected": "接続しました",
"pairing-not-persistent": "ペア設定されたデバイスは永続化されていません",
"text-content-incorrect": "テキストの内容が不正です",
"message-transfer-completed": "メッセージの送信が完了しました",
"file-transfer-completed": "ファイルの転送が完了しました",
"file-content-incorrect": "ファイルの内容が不正です",
"files-incorrect": "ファイルが間違っています",
"selected-peer-left": "選択した相手が退出しました",
"connected": "接続しました",
"pairing-not-persistent": "ペア設定されたデバイスは永続化されていません",
"text-content-incorrect": "テキストの内容が不正です",
"message-transfer-completed": "メッセージの送信が完了しました",
"file-transfer-completed": "ファイルの転送が完了しました",
"file-content-incorrect": "ファイルの内容が不正です",
"files-incorrect": "ファイルが間違っています",
"selected-peer-left": "選択した相手が退出しました",
"link-received": "{{name}}から受信したリンク(クリックして開く)",
"online": "オンラインに復帰しました",
"public-room-left": "パブリックルーム{{publicRoomId}}から退出しました",
"copied-text": "テキストをクリップボードにコピーしました",
"display-name-random-again": "表示名がもう一度ランダムに生成されました",
"display-name-changed-permanently": "永続的な表示名が変更されました",
"display-name-random-again": "表示名がもう一度ランダムに生成されました",
"display-name-changed-permanently": "永続的な表示名が変更されました",
"copied-to-clipboard-error": "コピーできませんでした。手動でコピーしてください。",
"pairing-success": "デバイスがペア設定されました",
"clipboard-content-incorrect": "クリップボードの内容が不正です",
"display-name-changed-temporarily": "このセッションでの表示名が変更されました",
"pairing-success": "デバイスがペア設定されました",
"clipboard-content-incorrect": "クリップボードの内容が不正です",
"display-name-changed-temporarily": "このセッションでの表示名が変更されました",
"copied-to-clipboard": "クリップボードにコピーしました",
"offline": "オフラインです",
"pairing-tabs-error": "同じWebブラウザーの2つのタブをペア設定することはできません",
"pairing-tabs-error": "同じWebブラウザーの2つのタブをペア設定することはできません",
"public-room-id-invalid": "無効なルームID",
"click-to-download": "クリックしてダウンロード",
"pairing-cleared": "全てのデバイスのペア設定を解除しました",
"notifications-enabled": "通知が有効です",
"online-requirement-pairing": "デバイスをペア設定するにはオンラインである必要があります",
"pairing-cleared": "全てのデバイスのペア設定を解除しました",
"notifications-enabled": "通知が有効です",
"online-requirement-pairing": "デバイスをペア設定するにはオンラインである必要があります",
"ios-memory-limit": "iOSへのファイル送信は一度に200MBまでしかできません",
"online-requirement-public-room": "パブリックルームを作成するにはオンラインである必要があります",
"online-requirement-public-room": "パブリックルームを作成するにはオンラインである必要があります",
"copied-text-error": "クリップボードにコピーできませんでした。手動でコピーしてください。",
"download-successful": "{{descriptor}}をダウンロードしました",
"click-to-show": "クリックして表示",
@ -58,7 +58,7 @@
"room-url-copied-to-clipboard": "パブリックルームへのリンクをクリップボードにコピーしました"
},
"header": {
"cancel-paste-mode": "完了",
"cancel-share-mode": "完了",
"theme-auto_title": "テーマをシステムの設定に自動的に合わせる",
"install_title": "PairDropをインストール",
"theme-dark_title": "常にダークテーマを使用する",
@ -73,12 +73,12 @@
},
"instructions": {
"x-instructions_mobile": "タップしてファイルを送信または長押ししてメッセージを送信します",
"click-to-send": "クリックして送信",
"activate-paste-mode-and-other-files": "とその他{{count}}個のファイル",
"tap-to-send": "タップして送信",
"activate-paste-mode-base": "他のデバイスでPairDropを開いて送信します",
"x-instructions-share-mode_desktop": "クリックして送信",
"activate-share-mode-and-other-files-plural": "とその他{{count}}個のファイル",
"x-instructions-share-mode_mobile": "タップして送信",
"activate-share-mode-base": "他のデバイスでPairDropを開いて送信します",
"no-peers-subtitle": "デバイスをペア設定するかパブリックルームに参加すると、他のネットワーク上からも見つけられるようになります",
"activate-paste-mode-shared-text": "共有されたテキスト",
"activate-share-mode-shared-text": "共有されたテキスト",
"x-instructions_desktop": "左クリックしてファイルを送信または右クリックしてメッセージを送信します",
"no-peers-title": "他のデバイスでPairDropを開いてファイルを送信します",
"x-instructions_data-drop-peer": "離すとこの相手に送信します",
@ -87,7 +87,7 @@
},
"peer-ui": {
"processing": "処理中…",
"click-to-send-paste-mode": "クリックして{{descriptor}}を送信",
"click-to-send-share-mode": "クリックして{{descriptor}}を送信",
"click-to-send": "クリックしてファイルを送信または右クリックしてメッセージを送信します",
"waiting": "待機中…",
"connection-hash": "エンドツーエンド暗号化のセキュリティを確認するには、両方のデバイスのセキュリティナンバーを確認します",

191
public/lang/kn.json Normal file
View File

@ -0,0 +1,191 @@
{
"header": {
"about_title": "PairDrop ಕುರಿತು",
"cancel-paste-mode": "ಮಾಡಿದ",
"theme-auto_title": "ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಸಿಸ್ಟಮ್‌ಗೆ ಥೀಮ್ ಅನ್ನು ಹೊಂದಿಸಿ",
"install_title": "PairDrop ಅನ್ನು ಇನ್ಸ್ಟಾಲ್ ಮಾಡಿ",
"theme-dark_title": "ಯಾವಾಗಲೂ ಡಾರ್ಕ್ ಥೀಮ್ ಅನ್ನು ಬಳಸಿ",
"pair-device_title": "ನಿಮ್ಮ ಸಾಧನಗಳನ್ನು ಶಾಶ್ವತವಾಗಿ ಜೋಡಿ ಮಾಡಿ",
"join-public-room_title": "ತಾತ್ಕಾಲಿಕವಾಗಿ ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ಸೇರಿರಿ",
"notification_title": "ಸೂಚನೆಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ",
"edit-paired-devices_title": "ಜೋಡಿಯಾಗಿರುವ ಸಾಧನಗಳನ್ನು ಎಡಿಟ್ ಮಾಡಿ",
"language-selector_title": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆ ಮಾಡಿ",
"about_aria-label": "PairDrop ಕುರಿತು ಪುಟವನ್ನು ತೆರೆಯಿರಿ",
"theme-light_title": "ಯಾವಾಗಲೂ ಲೈಟ್ ಥೀಮ್ ಅನ್ನು ಬಳಸಿ",
"edit-share-mode": "ಎಡಿಟ್ ಮಾಡಿ",
"cancel-share-mode": "ರದ್ದುಗೊಳಿಸಿ",
"expand_title": "ಹೆಡರ್ ಬಟನ್ ಸಾಲನ್ನು ವಿಸ್ತರಿಸಿ"
},
"dialogs": {
"message_placeholder": "ಪಠ್ಯ",
"base64-paste-to-send": "{{type}} ಅನ್ನು ಹಂಚಿಕೊಳ್ಳಲು ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ ಅನ್ನು ಇಲ್ಲಿ ಅಂಟಿಸಿ",
"auto-accept-instructions-2": "ಆ ಸಾಧನದಿಂದ ಕಳುಹಿಸಲಾದ ಎಲ್ಲಾ ಫೈಲ್‌ಗಳನ್ನು ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಸ್ವೀಕರಿಸಲು.",
"receive-text-title": "ಸಂದೇಶವನ್ನು ಸ್ವೀಕರಿಸಲಾಗಿದೆ",
"edit-paired-devices-title": "ಜೋಡಿಯಾಗಿರುವ ಸಾಧನಗಳನ್ನು ಎಡಿಟ್ ಮಾಡಿ",
"cancel": "ರದ್ದುಗೊಳಿಸಿ",
"auto-accept-instructions-1": "ಸಕ್ರಿಯಗೊಳಿಸಿ",
"pair-devices-title": "ಸಾಧನಗಳನ್ನು ಶಾಶ್ವತವಾಗಿ ಜೋಡಿಸಿ",
"download": "ಡೌನ್‌ಲೋಡ್ ಮಾಡಿ",
"title-file": "ಫೈಲ್",
"base64-processing": "ಪ್ರಕ್ರಿಯೆಗೊಳಿಸಲಾಗುತ್ತಿದೆ…",
"decline": "ನಿರಾಕರಿಸಿ",
"receive-title": "{{descriptor}} ಸ್ವೀಕರಿಸಲಾಗಿದೆ",
"leave": "ಬಿಡಿ",
"message_title": "ಕಳುಹಿಸಲು ಸಂದೇಶವನ್ನು ನಮೂದಿಸಿ",
"join": "ಸೇರಿಕೊಳ್ಳಿ",
"title-image-plural": "ಚಿತ್ರಗಳು",
"send": "ಕಳುಹಿಸಿ",
"base64-tap-to-paste": "{{type}} ಹಂಚಿಕೊಳ್ಳಲು ಇಲ್ಲಿ ಟ್ಯಾಪ್ ಮಾಡಿ",
"base64-text": "ಪಠ್ಯ",
"copy": "ನಕಲು ಮಾಡಿ",
"file-other-description-image": "ಮತ್ತು ಇನ್ನೊಂದು ಚಿತ್ರ",
"pair-devices-qr-code_title": "ಈ ಸಾಧನವನ್ನು ಜೋಡಿಸಲು ಬಳಸುವ ಲಿಂಕ್ ನಕಲಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"temporary-public-room-title": "ತಾತ್ಕಾಲಿಕ ಸಾರ್ವಜನಿಕ ಕೊಠಡಿ",
"base64-files": "ಫೈಲ್‌ಗಳು",
"has-sent": "ಕಳುಹಿಸಿದ್ದಾರೆ:",
"file-other-description-file": "ಮತ್ತು ಇನ್ನೊಂದು ಫೈಲ್",
"public-room-qr-code_title": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಗೆ ಲಿಂಕ್ ಅನ್ನು ನಕಲಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"close": "ಮುಚ್ಚಿ",
"system-language": "ಸಿಸ್ಟಮ್ ಭಾಷೆ",
"unpair": "ಜೋಡಿಯನ್ನು ತೆಗೆಯಿರಿ",
"title-image": "ಚಿತ್ರ",
"file-other-description-file-plural": "ಮತ್ತು {{count}} ಇತರ ಫೈಲ್‌ಗಳು",
"would-like-to-share": "ಹಂಚಿಕೊಳ್ಳಲು ಬಯಸುತ್ತಾರೆ",
"send-message-to": "ಇವರಿಗೆ:",
"language-selector-title": "ಭಾಷೆಯನ್ನು ಹೊಂದಿಸಿ",
"pair": "ಜೋಡಿ",
"hr-or": "ಅಥವಾ",
"scan-qr-code": "ಅಥವಾ QR-ಕೋಡ್ ಅನ್ನು ಸ್ಕ್ಯಾನ್ ಮಾಡಿ.",
"input-key-on-this-device": "ಇನ್ನೊಂದು ಸಾಧನದಲ್ಲಿ ಈ ಕೀಲಿಯನ್ನು ನಮೂದಿಸಿ",
"download-again": "ಮತ್ತೊಮ್ಮೆ ಡೌನ್ಲೋಡ್ ಮಾಡಿ",
"accept": "ಒಪ್ಪಿಕೊಳ್ಳಿ",
"paired-devices-wrapper_data-empty": "ಜೋಡಿಯಾಗಿರುವ ಸಾಧನಗಳಿಲ್ಲ.",
"enter-key-from-another-device": "ಇನ್ನೊಂದು ಸಾಧನದಿಂದ ಕೀಲಿಯನ್ನು ಇಲ್ಲಿ ನಮೂದಿಸಿ.",
"share": "ಹಂಚಿಕೊಳ್ಳಿ",
"auto-accept": "ಸ್ವಯಂ ಸ್ವೀಕರಿಸು",
"title-file-plural": "ಫೈಲ್‌ಗಳು",
"send-message-title": "ಸಂದೇಶ ಕಳುಹಿಸಿ",
"input-room-id-on-another-device": "ಇನ್ನೊಂದು ಸಾಧನದಲ್ಲಿ ಈ ರೂಮ್ ಐಡಿಯನ್ನು ನಮೂದಿಸಿ",
"file-other-description-image-plural": "ಮತ್ತು {{count}} ಇತರ ಚಿತ್ರಗಳು",
"enter-room-id-from-another-device": "ಕೊಠಡಿ ಸೇರಲು ಇನ್ನೊಂದು ಸಾಧನದಿಂದ ರೂಮ್ ಐಡಿ ನಮೂದಿಸಿ.",
"close-toast_title": "ಅಧಿಸೂಚನೆಯನ್ನು ಮುಚ್ಚಿರಿ",
"share-text-checkbox": "ಪಠ್ಯವನ್ನು ಹಂಚಿಕೊಳ್ಳುವಾಗ ಯಾವಾಗಲೂ ಈ ಡೈಲಾಗ್ ಅನ್ನು ತೋರಿಸಿ",
"base64-title-files": "ಫೈಲ್‌ಗಳನ್ನು ಹಂಚಿಕೊಳ್ಳಿ",
"approve": "ಅನುಮೋದಿಸಿ",
"paired-device-removed": "ಜೋಡಿಸಲಾದ ಸಾಧನವನ್ನು ತೆಗೆದುಹಾಕಲಾಗಿದೆ.",
"share-text-title": "ಪಠ್ಯ ಸಂದೇಶವನ್ನು ಹಂಚಿಕೊಳ್ಳಿ",
"share-text-subtitle": "ಸಂದೇಶವನ್ನು ಕಳುಹಿಸುವ ಮೊದಲು ಎಡಿಟ್ ಮಾಡಿ:",
"base64-title-text": "ಪಠ್ಯವನ್ನು ಹಂಚಿಕೊಳ್ಳಿ"
},
"footer": {
"webrtc": "WebRTC ಲಭ್ಯವಿಲ್ಲದಿದ್ದರೆ.",
"public-room-devices_title": "ನೆಟ್‌ವರ್ಕ್‌ನಿಂದ ಸ್ವತಂತ್ರವಾದ ಈ ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯಲ್ಲಿನ ಸಾಧನಗಳ ಮೂಲಕ ನಿಮ್ಮನ್ನು ಕಂಡುಹಿಡಿಯಬಹುದು.",
"display-name_data-placeholder": "ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ…",
"display-name_title": "ನಿಮ್ಮ ಸಾಧನದ ಹೆಸರನ್ನು ಶಾಶ್ವತವಾಗಿ ಎಡಿಟ್ ಮಾಡಿ",
"traffic": "ಟ್ರಾಫಿಕ್ ಅನ್ನು",
"paired-devices_title": "ನೆಟ್‌ವರ್ಕ್‌ನಿಂದ ಸ್ವತಂತ್ರವಾಗಿ ಎಲ್ಲಾ ಸಮಯದಲ್ಲೂ ಜೋಡಿಸಲಾದ ಸಾಧನಗಳಿಂದ ನಿಮ್ಮನ್ನು ಕಂಡುಹಿಡಿಯಬಹುದು.",
"public-room-devices": "{{roomId}} ಕೊಠಡಿಯಲ್ಲಿ",
"paired-devices": "ಜೋಡಿಸಲಾದ ಸಾಧನಗಳ ಮೂಲಕ",
"on-this-network": "ಈ ನೆಟ್ವರ್ಕ್ನಲ್ಲಿ",
"routed": "ಸರ್ವರ್ ಮೂಲಕ ರವಾನಿಸಲಾಗಿದೆ",
"discovery": "ನಿಮ್ಮನ್ನು ಕಂಡುಹಿಡಿಯಲಾಗುವುದು:",
"on-this-network_title": "ಈ ನೆಟ್‌ವರ್ಕ್‌ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಬ್ಬರಿಂದ ನಿಮ್ಮನ್ನು ಕಂಡುಹಿಡಿಯಬಹುದು.",
"known-as": "ನಿಮ್ಮನ್ನು ಹೀಗೆ ಕರೆಯಲಾಗುತ್ತದೆ:"
},
"notifications": {
"request-title": "{{name}} ಅವರು {{count}} {{descriptor}} ಅನ್ನು ವರ್ಗಾಯಿಸಲು ಬಯಸುತ್ತಾರೆ",
"unfinished-transfers-warning": "ಅಪೂರ್ಣ ವರ್ಗಾವಣೆಗಳಿವೆ. PairDrop ಅನ್ನು ಮುಚ್ಚಲು ನೀವು ಖಚಿತವಾಗಿ ಬಯಸುವಿರಾ?",
"message-received": "{{name}} ಅವರಿಂದ ಸಂದೇಶವನ್ನು ಸ್ವೀಕರಿಸಲಾಗಿದೆ - ನಕಲಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"notifications-permissions-error": "ಬಳಕೆದಾರರು ಹಲವಾರು ಬಾರಿ ಅನುಮತಿ ಪ್ರಾಂಪ್ಟ್ ಅನ್ನು ವಜಾಗೊಳಿಸಿರುವುದರಿಂದ ಸೂಚನೆಗಳ ಅನುಮತಿಯನ್ನು ನಿರ್ಬಂಧಿಸಲಾಗಿದೆ. ಇದನ್ನು ಪುಟ ಮಾಹಿತಿಯಲ್ಲಿ ಮರುಹೊಂದಿಸಬಹುದು, URL ಬಾರ್‌ನ ಪಕ್ಕದಲ್ಲಿರುವ ಬೀಗದ ಐಕಾನ್ ಕ್ಲಿಕ್ ಮಾಡುವ ಮೂಲಕ ಪ್ರವೇಶಿಸಬಹುದು.",
"rate-limit-join-key": "ದರದ ಮಿತಿ ತಲುಪಿದೆ. ೧೦ ಸೆಕೆಂಡುಗಳು ನಿರೀಕ್ಷಿಸಿ ಮತ್ತು ಪುನಃ ಪ್ರಯತ್ನಿಸಿ.",
"pair-url-copied-to-clipboard": "ಈ ಸಾಧನವನ್ನು ಜೋಡಿಸಲು ಬಳಸುವ ಲಿಂಕ್ ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಲಾಗಿದೆ",
"connecting": "ಸಂಪರ್ಕಿಸಲಾಗುತ್ತಿದೆ…",
"pairing-key-invalidated": "ಕೀಲಿ {{key}} ಅಮಾನ್ಯಗೊಂಡಿದೆ",
"pairing-key-invalid": "ಅಮಾನ್ಯವಾದ ಕೀಲಿ",
"connected": "ಸಂಪರ್ಕಿಸಲಾಗಿದೆ",
"pairing-not-persistent": "ಜೋಡಿಯಾಗಿರುವ ಸಾಧನಗಳು ನಿರಂತರವಾಗಿರುವುದಿಲ್ಲ",
"text-content-incorrect": "ಪಠ್ಯದ ವಿಷಯ ತಪ್ಪಾಗಿದೆ",
"message-transfer-completed": "ಸಂದೇಶ ವರ್ಗಾವಣೆ ಪೂರ್ಣಗೊಂಡಿದೆ",
"file-transfer-completed": "ಫೈಲ್ ವರ್ಗಾವಣೆ ಮುಗಿದಿದೆ",
"file-content-incorrect": "ಫೈಲ್ ವಿಷಯವು ತಪ್ಪಾಗಿದೆ",
"files-incorrect": "ಫೈಲ್‌ಗಳು ಸರಿಯಾಗಿಲ್ಲ",
"selected-peer-left": "ಆಯ್ದ ಪೀರ್ ತೊರೆದಿದ್ದಾರೆ",
"link-received": "{{name}} ಮೂಲಕ ಲಿಂಕ್ ಸ್ವೀಕರಿಸಲಾಗಿದೆ - ತೆರೆಯಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"online": "ನೀವು ಆನ್‌ಲೈನ್‌ ಮರಳಿದಿರಿ",
"public-room-left": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿ {{publicRoomId}} ಯನ್ನು ತೊರೆದಿರುವಿರಿ",
"copied-text": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ಪಠ್ಯವನ್ನು ನಕಲಿಸಲಾಗಿದೆ",
"display-name-random-again": "ಪ್ರದರ್ಶನದ ಹೆಸರನ್ನು ಯಾದೃಚ್ಛಿಕವಾಗಿ ಮತ್ತೆ ರಚಿಸಲಾಗಿದೆ",
"display-name-changed-permanently": "ಪ್ರದರ್ಶನದ ಹೆಸರನ್ನು ಶಾಶ್ವತವಾಗಿ ಬದಲಾಯಿಸಲಾಗಿದೆ",
"copied-to-clipboard-error": "ನಕಲು ಮಾಡುವುದು ಅಸಾಧ್ಯ. ಕೈಯಾರೆ ನಕಲಿಸಿ.",
"pairing-success": "ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಲಾಗಿದೆ",
"clipboard-content-incorrect": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ನ ವಿಷಯವು ತಪ್ಪಾಗಿದೆ",
"display-name-changed-temporarily": "ಪ್ರದರ್ಶನದ ಹೆಸರನ್ನು ಈ ಸೆಶನ್‌ಗೆ ಮಾತ್ರ ಬದಲಾಯಿಸಲಾಗಿದೆ",
"copied-to-clipboard": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಲಾಗಿದೆ",
"offline": "ನೀವು ಆಫ್‌ಲೈನ್‌ ಇದ್ದೀರಿ",
"pairing-tabs-error": "ಎರಡು ವೆಬ್ ಬ್ರೌಸರ್ ಟ್ಯಾಬ್‌ಗಳನ್ನು ಜೋಡಿಸುವುದು ಅಸಾಧ್ಯ",
"public-room-id-invalid": "ಅಮಾನ್ಯವಾದ ಕೊಠಡಿ ಐಡಿ",
"click-to-download": "ಡೌನ್ಲೋಡ್ ಮಾಡಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"pairing-cleared": "ಎಲ್ಲಾ ಸಾಧನಗಳನ್ನು ಜೋಡಿಯಾಗಿ ತೆಗೆಯಲಾಗಿದೆ",
"notifications-enabled": "ಸೂಚನೆಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ",
"online-requirement-pairing": "ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಲು ನೀವು ಆನ್‌ಲೈನ್‌ ಇರಬೇಕು",
"ios-memory-limit": "iOSಗೆ ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸುವುದು ಒಂದೇ ಬಾರಿಗೆ 200 MB ವರೆಗೆ ಮಾತ್ರ ಸಾಧ್ಯವಾಗಿದೆ",
"online-requirement-public-room": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ರಚಿಸಲು ನೀವು ಆನ್‌ಲೈನ್‌ ಇರಬೇಕು",
"room-url-copied-to-clipboard": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯ ಲಿಂಕ್ ಅನ್ನು ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಲಾಗಿದೆ",
"copied-text-error": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ಬರೆಯುವುದು ವಿಫಲವಾಗಿದೆ. ಕೈಯಾರೆ ನಕಲಿಸಿ!",
"download-successful": "{{descriptor}} ಅನ್ನು ಡೌನ್‌ಲೋಡ್ ಮಾಡಲಾಗಿದೆ",
"click-to-show": "ತೋರಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ"
},
"instructions": {
"x-instructions_mobile": "ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸಲು ಟ್ಯಾಪ್ ಮಾಡಿ ಅಥವಾ ಸಂದೇಶವನ್ನು ಕಳುಹಿಸಲು ದೀರ್ಘವಾಗಿ ಟ್ಯಾಪ್ ಮಾಡಿ",
"click-to-send": "ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"activate-paste-mode-and-other-files": "ಮತ್ತು ಇತರ {{count}} ಫೈಲ್‌ಗಳು",
"tap-to-send": "ಕಳುಹಿಸಲು ಟ್ಯಾಪ್ ಮಾಡಿ",
"activate-paste-mode-base": "ಕಳುಹಿಸಲು ಇತರ ಸಾಧನಗಳಲ್ಲಿ PairDrop ತೆರೆಯಿರಿ",
"no-peers-subtitle": "ಇತರ ನೆಟ್‌ವರ್ಕ್‌ಗಳಲ್ಲಿ ಅನ್ವೇಷಿಸಲು ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಿ ಅಥವಾ ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ನಮೂದಿಸಿ",
"activate-paste-mode-shared-text": "ಹಂಚಿದ ಪಠ್ಯ",
"x-instructions_desktop": "ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ ಅಥವಾ ಸಂದೇಶ ಕಳುಹಿಸಲು ಬಲ ಕ್ಲಿಕ್ ಮಾಡಿ",
"no-peers-title": "ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸಲು PairDrop ಅನ್ನು ಇತರ ಸಾಧನಗಳಲ್ಲಿ ತೆರೆಯಿರಿ",
"x-instructions_data-drop-peer": "ಪೀರ್‌ಗೆ ಕಳುಹಿಸಲು ಬಿಡುಗಡೆ ಮಾಡಿ",
"x-instructions_data-drop-bg": "ಸ್ವೀಕರಿಸುವವರನ್ನು ಆಯ್ಕೆ ಮಾಡಲು ಬಿಡುಗಡೆ ಮಾಡಿ",
"no-peers_data-drop-bg": "ಸ್ವೀಕರಿಸುವವರನ್ನು ಆಯ್ಕೆ ಮಾಡಲು ಬಿಡುಗಡೆ ಮಾಡಿ",
"webrtc-requirement": "ಈ PairDrop ನಿದರ್ಶನವನ್ನು ಬಳಸಲು, WebRTC ಅನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಬೇಕು!",
"activate-share-mode-base": "ಕಳುಹಿಸಲು ಇತರ ಸಾಧನಗಳಲ್ಲಿ PairDrop ತೆರೆಯಿರಿ",
"activate-share-mode-shared-files-plural": "{{count}} ಹಂಚಿದ ಫೈಲ್‌ಗಳು",
"x-instructions-share-mode_desktop": "{{descriptor}} ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"activate-share-mode-shared-file": "ಹಂಚಿದ ಫೈಲ್",
"activate-share-mode-and-other-file": "ಮತ್ತು ಇತರ 1 ಫೈಲ್",
"x-instructions-share-mode_mobile": "{{descriptor}} ಕಳುಹಿಸಲು ಟ್ಯಾಪ್ ಮಾಡಿ",
"activate-share-mode-and-other-files-plural": "ಮತ್ತು ಇತರ {{count}} ಫೈಲ್‌ಗಳು",
"activate-share-mode-shared-text": "ಹಂಚಿದ ಪಠ್ಯ"
},
"peer-ui": {
"processing": "ಪ್ರಕ್ರಿಯೆಗೊಳಿಸಲಾಗುತ್ತಿದೆ…",
"click-to-send-paste-mode": "{{descriptor}} ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ",
"click-to-send": "ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ ಅಥವಾ ಸಂದೇಶ ಕಳುಹಿಸಲು ಬಲ ಕ್ಲಿಕ್ ಮಾಡಿ",
"waiting": "ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ…",
"connection-hash": "ಎಂಡ್-ಟು-ಎಂಡ್ ಎನ್‌ಕ್ರಿಪ್ಶನ್‌ನ ಭದ್ರತೆಯನ್ನು ಪರಿಶೀಲಿಸಲು, ಎರಡೂ ಸಾಧನಗಳಲ್ಲಿ ಈ ಭದ್ರತಾ ಸಂಖ್ಯೆಯನ್ನು ಹೋಲಿಸಿ",
"preparing": "ಸಿದ್ಧಪಡಿಸಲಾಗುತ್ತಿದೆ…",
"transferring": "ವರ್ಗಾಯಿಸಲಾಗುತ್ತಿದೆ…",
"click-to-send-share-mode": "{{descriptor}} ಕಳುಹಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ"
},
"about": {
"claim": "ಸಾಧನಗಳಾದ್ಯಂತ ಫೈಲ್‌ಗಳನ್ನು ವರ್ಗಾಯಿಸಲು ಸುಲಭವಾದ ಮಾರ್ಗ",
"tweet_title": "PairDrop ಕುರಿತು ಟ್ವೀಟ್ ಮಾಡಿ",
"close-about_aria-label": "PairDrop ಕುರಿತು ಪುಟವನ್ನು ಮುಚ್ಚಿ",
"buy-me-a-coffee_title": "ನನಗೆ ಕಾಫಿ ಖರೀದಿಸಿ!",
"github_title": "GitHub ನಲ್ಲಿ PairDrop",
"faq_title": "ಪದೇ ಪದೇ ಕೇಳಲಾಗುವ ಪ್ರಶ್ನೆಗಳು",
"bluesky_title": "BlueSky ನಲ್ಲಿ ನಮ್ಮನ್ನು ಅನುಸರಿಸಿ",
"privacypolicy_title": "ನಮ್ಮ ಗೌಪ್ಯತೆ ನೀತಿ ತೆರೆಯಿರಿ",
"mastodon_title": "Mastodon ನಲ್ಲಿ PairDrop ಕುರಿತು ಬರೆಯಿರಿ",
"custom_title": "ನಮ್ಮನ್ನು ಅನುಸರಿಸಿ"
},
"document-titles": {
"file-transfer-requested": "ಫೈಲ್ ವರ್ಗಾವಣೆಗೆ ವಿನಂತಿಸಲಾಗಿದೆ",
"image-transfer-requested": "ಚಿತ್ರದ ವರ್ಗಾವಣೆಯನ್ನು ವಿನಂತಿಸಲಾಗಿದೆ",
"message-received-plural": "{{count}} ಸಂದೇಶಗಳನ್ನು ಸ್ವೀಕರಿಸಲಾಗಿದೆ",
"message-received": "ಸಂದೇಶವನ್ನು ಸ್ವೀಕರಿಸಲಾಗಿದೆ",
"file-received": "ಫೈಲ್ ಸ್ವೀಕರಿಸಲಾಗಿದೆ",
"file-received-plural": "{{count}} ಫೈಲ್‌ಗಳನ್ನು ಸ್ವೀಕರಿಸಲಾಗಿದೆ"
}
}

View File

@ -6,10 +6,11 @@
"theme-auto_title": "Juster drakt til system",
"theme-light_title": "Alltid bruk lys drakt",
"theme-dark_title": "Alltid bruk mørk drakt",
"notification_title": "Skru på merknader",
"cancel-paste-mode": "Ferdig",
"notification_title": "Skru på varslinger",
"cancel-share-mode": "Ferdig",
"install_title": "Installer PairDrop",
"pair-device_title": "Sammenkoble enhet"
"pair-device_title": "Sammenkoble enhet",
"language-selector_title": "Velg språk"
},
"footer": {
"webrtc": "hvis WebRTC ikke er tilgjengelig.",
@ -25,15 +26,15 @@
"x-instructions_desktop": "Klikk for å sende filer, eller høyreklikk for å sende en melding",
"x-instructions_mobile": "Trykk for å sende filer, eller lang-trykk for å sende en melding",
"x-instructions_data-drop-bg": "Slipp for å velge mottager",
"click-to-send": "Klikk for å sende",
"x-instructions-share-mode_desktop": "Klikk for å sende",
"no-peers_data-drop-bg": "Slipp for å velge mottager",
"no-peers-title": "Åpne PairDrop på andre enheter for å sende filer",
"no-peers-subtitle": "Sammenkoble enheter for å kunne oppdages på andre nettverk",
"x-instructions_data-drop-peer": "Slipp for å sende til likemann",
"tap-to-send": "Trykk for å sende",
"activate-paste-mode-base": "Åpne PairDrop på andre enheter for å sende",
"activate-paste-mode-and-other-files": "og {{count}} andre filer",
"activate-paste-mode-shared-text": "delt tekst"
"x-instructions-share-mode_mobile": "Trykk for å sende",
"activate-share-mode-base": "Åpne PairDrop på andre enheter for å sende",
"activate-share-mode-and-other-files-plural": "og {{count}} andre filer",
"activate-share-mode-shared-text": "delt tekst"
},
"dialogs": {
"input-key-on-this-device": "Skriv inn denne nøkkelen på en annen enhet",
@ -79,43 +80,43 @@
"close-about_aria-label": "Lukk «Om PairDrop»",
"faq_title": "Ofte stilte spørsmål",
"claim": "Den enkleste måten å overføre filer mellom enheter",
"buy-me-a-coffee_title": "Spander drikke.",
"buy-me-a-coffee_title": "Spander drikke!",
"tweet_title": "Tvitre om PairDrop",
"github_title": "PairDrop på GitHub"
},
"notifications": {
"copied-to-clipboard": "Kopiert til utklippstavlen",
"pairing-tabs-error": "Sammenkobling av to nettleserfaner er ikke mulig.",
"notifications-enabled": "Merknader påskrudd.",
"pairing-tabs-error": "Sammenkobling av to nettleserfaner er ikke mulig",
"notifications-enabled": "Merknader påskrudd",
"click-to-show": "Klikk for å vise",
"copied-text": "Tekst kopiert til utklippstavlen",
"connected": "Tilkoblet.",
"connected": "Tilkoblet",
"online": "Du er tilbake på nett",
"file-transfer-completed": "Filoverføring utført.",
"selected-peer-left": "Valgt likemann dro.",
"file-transfer-completed": "Filoverføring utført",
"selected-peer-left": "Valgt likemann dro",
"pairing-key-invalid": "Ugyldig nøkkel",
"connecting": "Kobler til …",
"pairing-not-persistent": "Sammenkoblede enheter er ikke vedvarende.",
"pairing-not-persistent": "Sammenkoblede enheter er ikke vedvarende",
"offline": "Du er frakoblet",
"online-requirement": "Du må være på nett for å koble sammen enheter.",
"display-name-random-again": "Visningsnavnet er tilfeldig generert igjen.",
"display-name-changed-permanently": "Visningsnavnet er endret for godt.",
"display-name-changed-temporarily": "Visningsnavnet er endret kun for denne økten.",
"text-content-incorrect": "Tekstinnholdet er uriktig.",
"file-content-incorrect": "Filinnholdet er uriktig.",
"display-name-random-again": "Visningsnavnet er tilfeldig generert igjen",
"display-name-changed-permanently": "Visningsnavnet er endret for godt",
"display-name-changed-temporarily": "Visningsnavnet er endret kun for denne økten",
"text-content-incorrect": "Tekstinnholdet er uriktig",
"file-content-incorrect": "Filinnholdet er uriktig",
"click-to-download": "Klikk for å laste ned",
"message-transfer-completed": "Meldingsoverføring utført.",
"message-transfer-completed": "Meldingsoverføring utført",
"download-successful": "{{descriptor}} nedlastet",
"pairing-success": "Enheter sammenkoblet.",
"pairing-cleared": "Sammenkobling av alle enheter opphevet.",
"pairing-key-invalidated": "Nøkkel {{key}} ugyldiggjort.",
"pairing-success": "Enheter sammenkoblet",
"pairing-cleared": "Sammenkobling av alle enheter opphevet",
"pairing-key-invalidated": "Nøkkel {{key}} ugyldiggjort",
"copied-text-error": "Kunne ikke legge innhold i utklkippstavlen. Kopier manuelt!",
"clipboard-content-incorrect": "Utklippstavleinnholdet er uriktig.",
"link-received": "Lenke mottatt av {{name}} - Klikk for å åpne.",
"clipboard-content-incorrect": "Utklippstavleinnholdet er uriktig",
"link-received": "Lenke mottatt av {{name}} - Klikk for å åpne",
"request-title": "{{name}} ønsker å overføre {{count}} {{descriptor}}",
"message-received": "Melding mottatt av {{name}} - Klikk for å åpne",
"files-incorrect": "Filene er uriktige.",
"ios-memory-limit": "Forsendelse av filer til iOS er kun mulig opptil 200 MB av gangen.",
"files-incorrect": "Filene er uriktige",
"ios-memory-limit": "Forsendelse av filer til iOS er kun mulig opptil 200 MB av gangen",
"unfinished-transfers-warning": "Lukk med ufullførte overføringer?",
"rate-limit-join-key": "Forsøksgrense overskredet. Vent 10 sek. og prøv igjen."
},
@ -132,7 +133,7 @@
"processing": "Behandler …",
"transferring": "Overfører …",
"click-to-send": "Klikk for å sende filer, eller høyreklikk for å sende en melding",
"click-to-send-paste-mode": "Klikk for å sende {{descriptor}}",
"connection-hash": "Sammenlign dette sikkerhetsnummeret på begge enhetene for å bekrefte ende-til-ende -krypteringen."
"click-to-send-share-mode": "Klikk for å sende {{descriptor}}",
"connection-hash": "Sammenlign dette sikkerhetsnummeret på begge enhetene for å bekrefte ende-til-ende -krypteringen"
}
}

View File

@ -20,42 +20,42 @@
"message-received": "Bericht ontvangen van {{name}} - Klik om te kopiëren",
"rate-limit-join-key": "Tempolimiet bereikt. Wacht 10 seconde en probeer opnieuw.",
"connecting": "Verbinden…",
"pairing-key-invalidated": "Sleutel {{key}} ongeldig.",
"pairing-key-invalidated": "Sleutel {{key}} ongeldig",
"pairing-key-invalid": "Ongeldige sleutel",
"connected": "Verbonden.",
"pairing-not-persistent": "Gekoppelde apparaten zijn niet persistent.",
"text-content-incorrect": "Tekst inhoud is incorrect.",
"message-transfer-completed": "Berichtsoverdracht compleet.",
"file-transfer-completed": "Bestandsoverdracht compleet.",
"file-content-incorrect": "Bestandsinhoud is incorrect.",
"files-incorrect": "Bestanden zijn incorrect.",
"selected-peer-left": "Gekozen peer is vertrokken.",
"connected": "Verbonden",
"pairing-not-persistent": "Gekoppelde apparaten zijn niet persistent",
"text-content-incorrect": "Tekst inhoud is incorrect",
"message-transfer-completed": "Berichtsoverdracht compleet",
"file-transfer-completed": "Bestandsoverdracht compleet",
"file-content-incorrect": "Bestandsinhoud is incorrect",
"files-incorrect": "Bestanden zijn incorrect",
"selected-peer-left": "Gekozen peer is vertrokken",
"link-received": "Link van {{name}} ontvangen - Klik om te openen",
"online": "U bent terug online",
"public-room-left": "Openbare ruimte {{publicRoomId}} verlaten",
"copied-text": "Tekst naar klembord gekopieërd",
"display-name-random-again": "De weergavenaam is opnieuw willekeurig gegenereerd.",
"display-name-changed-permanently": "De weergavenaam is permanent gewijzigd.",
"display-name-random-again": "De weergavenaam is opnieuw willekeurig gegenereerd",
"display-name-changed-permanently": "De weergavenaam is permanent gewijzigd",
"copied-to-clipboard-error": "Kopiëren is niet mogelijk. Kopieer handmatig.",
"pairing-success": "Apparaten gekoppeld.",
"clipboard-content-incorrect": "De inhoud van het klembord is incorrect.",
"display-name-changed-temporarily": "De weergavenaam is alleen voor deze sessie gewijzigd.",
"pairing-success": "Apparaten gekoppeld",
"clipboard-content-incorrect": "De inhoud van het klembord is incorrect",
"display-name-changed-temporarily": "De weergavenaam is alleen voor deze sessie gewijzigd",
"copied-to-clipboard": "Gekopieerd naar klembord",
"offline": "U bent offline",
"pairing-tabs-error": "Twee webbrowser tabbladen koppelen in is onmogelijk.",
"pairing-tabs-error": "Twee webbrowser tabbladen koppelen in is onmogelijk",
"public-room-id-invalid": "Ongeldig kamer ID",
"click-to-download": "Klik om te downloaden",
"pairing-cleared": "Alle apparaten ontkoppeld.",
"notifications-enabled": "Meldingen geactiveerd.",
"online-requirement-pairing": "U moet online zijn om apparaten te koppelen.",
"pairing-cleared": "Alle apparaten ontkoppeld",
"notifications-enabled": "Meldingen geactiveerd",
"online-requirement-pairing": "U moet online zijn om apparaten te koppelen",
"ios-memory-limit": "Bestandsoverdrachten naar iOS kunnen slechts met 200 MB per keer",
"online-requirement-public-room": "U moet online zijn om een openbare kamer te maken.",
"online-requirement-public-room": "U moet online zijn om een openbare kamer te maken",
"copied-text-error": "Schrijven naar klembord mislukt. Kopieer handmatig!",
"download-successful": "{{descriptor}} downloaden",
"click-to-show": "Klik om te tonen"
},
"header": {
"cancel-paste-mode": "Klaar",
"cancel-share-mode": "Klaar",
"theme-auto_title": "Gebruik systeemstijl",
"install_title": "PairDrop installeren",
"theme-dark_title": "Altijd donkere modus gebruiken",
@ -70,12 +70,12 @@
},
"instructions": {
"x-instructions_mobile": "Tik om bestanden te versturen of houdt vast om een bericht te sturen",
"click-to-send": "Klik om te verzenden",
"activate-paste-mode-and-other-files": "en {{count}} andere bestanden",
"tap-to-send": "Tik om te verzenden",
"activate-paste-mode-base": "Open PairDrop op andere apparaten om te verzenden",
"x-instructions-share-mode_desktop": "Klik om te verzenden",
"activate-share-mode-and-other-files-plural": "en {{count}} andere bestanden",
"x-instructions-share-mode_mobile": "Tik om te verzenden",
"activate-share-mode-base": "Open PairDrop op andere apparaten om te verzenden",
"no-peers-subtitle": "Koppel apparaten of betreed een openbare ruimte om op andere netwerken zichtbaar te worden",
"activate-paste-mode-shared-text": "gedeelde tekst",
"activate-share-mode-shared-text": "gedeelde tekst",
"x-instructions_desktop": "Klik om bestanden te versturen of rechtsklik om een bericht te sturen",
"no-peers-title": "Open PairDrop op andere apparaten om bestanden te versturen",
"x-instructions_data-drop-peer": "Laat los om naar peer te versturen",
@ -84,7 +84,7 @@
},
"peer-ui": {
"processing": "Verwerken…",
"click-to-send-paste-mode": "Klik om {{descriptor}} te versturen",
"click-to-send-share-mode": "Klik om {{descriptor}} te versturen",
"click-to-send": "Klik om bestanden te versturen of rechtsklik om een bericht te versturen",
"waiting": "Wachten…",
"connection-hash": "Vergelijk dit veiligheidsnummer op beide apparaten, om de beveiliging van de eind-tot-eind versleuteling te verifiëren",

179
public/lang/pt-BR.json Normal file
View File

@ -0,0 +1,179 @@
{
"header": {
"about_title": "Sobre o PairDrop",
"language-selector_title": "Definir idioma",
"about_aria-label": "Abrir Sobre o PairDrop",
"theme-auto_title": "Adaptar o tema ao sistema automaticamente",
"theme-light_title": "Sempre usar o tema claro",
"theme-dark_title": "Sempre usar o tema escuro",
"notification_title": "Ativar notificações",
"install_title": "Instalar o PairDrop",
"pair-device_title": "Emparelhar seus dispositivos permanentemente",
"edit-paired-devices_title": "Editar dispositivos emparelhados",
"join-public-room_title": "Entrar em uma sala pública temporariamente",
"cancel-share-mode": "Concluído",
"edit-share-mode": "Editar"
},
"instructions": {
"no-peers_data-drop-bg": "Solte para selecionar o destinatário",
"no-peers-title": "Abra o PairDrop em outros dispositivos para enviar arquivos",
"no-peers-subtitle": "Emparelhe dispositivos ou entre em uma sala pública para ser descoberto em outras redes",
"x-instructions_desktop": "Clique para enviar arquivos ou clique com o botão direito para enviar uma mensagem",
"x-instructions_mobile": "Toque para enviar arquivos ou toque e segure para enviar uma mensagem",
"x-instructions_data-drop-peer": "Solte para enviar para o par",
"x-instructions_data-drop-bg": "Solte para selecionar o destinatário",
"x-instructions-share-mode_desktop": "Clique para enviar",
"x-instructions-share-mode_mobile": "Toque para enviar",
"activate-share-mode-base": "Abra o PairDrop em outros dispositivos para enviar",
"activate-share-mode-and-other-files-plural": "e {{count}} outros arquivos",
"activate-share-mode-shared-text": "texto compartilhado",
"activate-share-mode-shared-files-plural": "{{count}} arquivos compartilhados",
"activate-share-mode-shared-file": "arquivo compartilhado",
"activate-share-mode-and-other-file": "e 1 outro arquivo",
"webrtc-requirement": "Para usar essa instância do PairDrop, o WebRTC deve estar habilitado!"
},
"footer": {
"known-as": "Você é conhecido como:",
"display-name_data-placeholder": "Carregando…",
"display-name_title": "Edite o nome do seu dispositivo permanentemente",
"discovery": "Você pode ser descoberto:",
"on-this-network": "nesta rede",
"on-this-network_title": "Você pode ser descoberto por todos nesta rede.",
"paired-devices": "por dispositivos emparelhados",
"paired-devices_title": "Você pode ser descoberto por dispositivos emparelhados a qualquer momento, independentemente da rede.",
"public-room-devices": "na sala {{roomId}}",
"public-room-devices_title": "Você pode ser descoberto por dispositivos nesta sala pública, independentemente da rede.",
"traffic": "O tráfego é",
"routed": "roteado pelo servidor",
"webrtc": "se o WebRTC não estiver disponível."
},
"dialogs": {
"pair-devices-title": "Emparelhar Dispositivos Permanentemente",
"input-key-on-this-device": "Insira esta chave em outro dispositivo",
"scan-qr-code": "ou escaneie o código QR.",
"enter-key-from-another-device": "Insira a chave de outro dispositivo aqui.",
"temporary-public-room-title": "Sala Pública Temporária",
"input-room-id-on-another-device": "Insira este ID de sala em outro dispositivo",
"enter-room-id-from-another-device": "Insira o ID da sala de outro dispositivo para entrar na sala.",
"hr-or": "OU",
"pair": "Emparelhar",
"cancel": "Cancelar",
"edit-paired-devices-title": "Editar Dispositivos Emparelhados",
"unpair": "Desemparelhar",
"paired-devices-wrapper_data-empty": "Nenhum dispositivo emparelhado.",
"auto-accept-instructions-1": "Ative",
"auto-accept": "auto-aceitar",
"auto-accept-instructions-2": "para aceitar automaticamente todos os arquivos enviados por esse dispositivo.",
"close": "Fechar",
"join": "Entrar",
"leave": "Sair",
"would-like-to-share": "gostaria de compartilhar",
"accept": "Aceitar",
"decline": "Recusar",
"has-sent": "enviou:",
"share": "Compartilhar",
"download": "Baixar",
"send-message-title": "Enviar Mensagem",
"send-message-to": "Para:",
"message_title": "Insira a mensagem a ser enviada",
"send": "Enviar",
"receive-text-title": "Mensagem Recebida",
"copy": "Copiar",
"base64-processing": "Processando…",
"base64-tap-to-paste": "Toque aqui para compartilhar {{type}}",
"base64-paste-to-send": "Cole da área de transferência aqui para compartilhar {{type}}",
"base64-text": "texto",
"base64-files": "arquivos",
"file-other-description-image": "e mais 1 imagem",
"file-other-description-file": "e mais 1 arquivo",
"file-other-description-image-plural": "e mais {{count}} imagens",
"file-other-description-file-plural": "e mais {{count}} arquivos",
"title-image": "Imagem",
"title-file": "Arquivo",
"title-image-plural": "Imagens",
"title-file-plural": "Arquivos",
"receive-title": "{{descriptor}} Recebido",
"download-again": "Baixar novamente",
"language-selector-title": "Definir idioma",
"system-language": "Idioma do sistema",
"public-room-qr-code_title": "Clique para copiar o link da sala pública",
"pair-devices-qr-code_title": "Clique para copiar o link para emparelhar este dispositivo",
"message_placeholder": "Texto",
"close-toast_title": "Fechar notificação",
"share-text-checkbox": "Sempre exibir essa mensagem ao compartilhar texto",
"base64-title-files": "Compartilhar arquivos",
"approve": "aprovar",
"paired-device-removed": "Dispositivo pareado foi removido.",
"share-text-title": "Compartilhar Mensagem de Texto",
"share-text-subtitle": "Editar mensagem antes de enviar:",
"base64-title-text": "Compartilhar texto"
},
"about": {
"close-about_aria-label": "Fechar Sobre o PairDrop",
"claim": "A maneira mais fácil de transferir arquivos entre dispositivos",
"github_title": "PairDrop no GitHub",
"buy-me-a-coffee_title": "Me compre um café!",
"tweet_title": "Tweet sobre o PairDrop",
"faq_title": "Perguntas frequentes"
},
"notifications": {
"display-name-changed-permanently": "O nome de exibição é alterado permanentemente",
"display-name-changed-temporarily": "O nome de exibição é alterado apenas para esta sessão",
"display-name-random-again": "O nome de exibição é gerado aleatoriamente novamente",
"download-successful": "{{descriptor}} baixado",
"pairing-tabs-error": "Emparelhar duas abas do navegador web é impossível",
"pairing-success": "Dispositivos emparelhados",
"pairing-not-persistent": "Dispositivos emparelhados não são persistentes",
"pairing-key-invalid": "Chave inválida",
"pairing-key-invalidated": "Chave {{key}} invalidada",
"pairing-cleared": "Todos os dispositivos desemparelhados",
"public-room-id-invalid": "ID da sala inválido",
"public-room-left": "Saiu da sala pública {{publicRoomId}}",
"copied-to-clipboard": "Copiado para a área de transferência",
"pair-url-copied-to-clipboard": "Link para emparelhar este dispositivo copiado para a área de transferência",
"room-url-copied-to-clipboard": "Link para a sala pública copiado para a área de transferência",
"copied-to-clipboard-error": "Cópia não possível. Copie manualmente.",
"text-content-incorrect": "O conteúdo do texto está incorreto",
"file-content-incorrect": "O conteúdo do arquivo está incorreto",
"clipboard-content-incorrect": "O conteúdo da área de transferência está incorreto",
"notifications-enabled": "Notificações ativadas",
"notifications-permissions-error": "A permissão de notificações foi bloqueada porque o usuário dispensou o prompt de permissão várias vezes. Isso pode ser redefinido nas Informações da Página, que podem ser acessadas clicando no ícone de cadeado ao lado da barra de URL.",
"link-received": "Link recebido por {{name}} - Clique para abrir",
"message-received": "Mensagem recebida por {{name}} - Clique para copiar",
"click-to-download": "Clique para baixar",
"request-title": "{{name}} gostaria de transferir {{count}} {{descriptor}}",
"click-to-show": "Clique para mostrar",
"copied-text": "Texto copiado para a área de transferência",
"copied-text-error": "Escrever na área de transferência falhou. Copie manualmente!",
"offline": "Você está offline",
"online": "Você está online novamente",
"connected": "Conectado",
"online-requirement-pairing": "Você precisa estar online para emparelhar dispositivos",
"online-requirement-public-room": "Você precisa estar online para criar uma sala pública",
"connecting": "Conectando…",
"files-incorrect": "Os arquivos estão incorretos",
"file-transfer-completed": "Transferência de arquivo concluída",
"ios-memory-limit": "Enviar arquivos para iOS só é possível até 200 MB de uma vez",
"message-transfer-completed": "Transferência de mensagem concluída",
"unfinished-transfers-warning": "Há transferências inacabadas. Tem certeza de que deseja fechar o PairDrop?",
"rate-limit-join-key": "Limite de taxa atingido. Aguarde 10 segundos e tente novamente.",
"selected-peer-left": "Par selecionado saiu"
},
"document-titles": {
"file-received": "Arquivo recebido",
"file-received-plural": "{{count}} Arquivos recebidos",
"file-transfer-requested": "Transferência de arquivo solicitada",
"image-transfer-requested": "Transferência de imagem solicitada",
"message-received": "Mensagem recebida",
"message-received-plural": "{{count}} mensagens recebidas"
},
"peer-ui": {
"click-to-send-share-mode": "Clique para enviar {{descriptor}}",
"click-to-send": "Clique para enviar arquivos ou clique com o botão direito para enviar uma mensagem",
"connection-hash": "Para verificar a segurança da criptografia de ponta a ponta, compare este número de segurança em ambos os dispositivos",
"preparing": "Preparando…",
"waiting": "Aguardando…",
"processing": "Processando…",
"transferring": "Transferindo…"
}
}

Some files were not shown because too many files have changed in this diff Show More