Compare commits

..

2 Commits

Author SHA1 Message Date
Dunderhams
205304b4f4 Moved to theme colours 2025-05-14 09:01:46 +12:00
Dunderhams
261d7742d9 Created company policy 2025-05-14 08:28:08 +12:00
22 changed files with 400 additions and 486 deletions

View File

@@ -1,11 +1,3 @@
## [1.13.0](https://github.com/stonith404/pingvin-share/compare/v1.12.0...v1.13.0) (2025-05-25)
### Features
* allow to use redis cache instead of memory cache ([#832](https://github.com/stonith404/pingvin-share/issues/832)) ([85f5143](https://github.com/stonith404/pingvin-share/commit/85f514316b0b808b8c063bf571df6b528a1b3de4))
* **backend:** allow to define path to the config file ([#838](https://github.com/stonith404/pingvin-share/issues/838)) ([cfdb29e](https://github.com/stonith404/pingvin-share/commit/cfdb29ed4dde875233b4bc3f510ae50976b963b8))
## [1.12.0](https://github.com/stonith404/pingvin-share/compare/v1.11.1...v1.12.0) (2025-05-07) ## [1.12.0](https://github.com/stonith404/pingvin-share/compare/v1.11.1...v1.12.0) (2025-05-07)

View File

@@ -1,15 +1,14 @@
{ {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "1.13.0", "version": "1.12.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "1.13.0", "version": "1.12.0",
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.787.0", "@aws-sdk/client-s3": "^3.787.0",
"@keyv/redis": "^4.4.0",
"@nestjs/cache-manager": "^3.0.1", "@nestjs/cache-manager": "^3.0.1",
"@nestjs/common": "^11.0.17", "@nestjs/common": "^11.0.17",
"@nestjs/config": "^4.0.2", "@nestjs/config": "^4.0.2",
@@ -26,7 +25,6 @@
"argon2": "^0.41.1", "argon2": "^0.41.1",
"body-parser": "^2.2.0", "body-parser": "^2.2.0",
"cache-manager": "^6.4.2", "cache-manager": "^6.4.2",
"cacheable": "^1.9.0",
"clamscan": "^2.4.0", "clamscan": "^2.4.0",
"class-transformer": "^0.5.1", "class-transformer": "^0.5.1",
"class-validator": "^0.14.1", "class-validator": "^0.14.1",
@@ -2575,22 +2573,6 @@
"@jridgewell/sourcemap-codec": "^1.4.10" "@jridgewell/sourcemap-codec": "^1.4.10"
} }
}, },
"node_modules/@keyv/redis": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@keyv/redis/-/redis-4.4.0.tgz",
"integrity": "sha512-n/KEj3S7crVkoykggqsMUtcjNGvjagGPlJYgO/r6m9hhGZfhp1txJElHxcdJ1ANi/LJoBuOSILj15g6HD2ucqQ==",
"license": "MIT",
"dependencies": {
"@redis/client": "^1.6.0",
"cluster-key-slot": "^1.1.2"
},
"engines": {
"node": ">= 18"
},
"peerDependencies": {
"keyv": "^5.3.3"
}
},
"node_modules/@keyv/serialize": { "node_modules/@keyv/serialize": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.3.tgz", "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.3.tgz",
@@ -3277,20 +3259,6 @@
"@prisma/debug": "6.6.0" "@prisma/debug": "6.6.0"
} }
}, },
"node_modules/@redis/client": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@redis/client/-/client-1.6.0.tgz",
"integrity": "sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==",
"license": "MIT",
"dependencies": {
"cluster-key-slot": "1.1.2",
"generic-pool": "3.9.0",
"yallist": "4.0.0"
},
"engines": {
"node": ">=14"
}
},
"node_modules/@scarf/scarf": { "node_modules/@scarf/scarf": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz",
@@ -5265,16 +5233,6 @@
"keyv": "^5.3.2" "keyv": "^5.3.2"
} }
}, },
"node_modules/cacheable": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.9.0.tgz",
"integrity": "sha512-8D5htMCxPDUULux9gFzv30f04Xo3wCnik0oOxKoRTPIBoqA7HtOcJ87uBhQTs3jCfZZTrUBGsYIZOgE0ZRgMAg==",
"license": "MIT",
"dependencies": {
"hookified": "^1.8.2",
"keyv": "^5.3.3"
}
},
"node_modules/call-bind-apply-helpers": { "node_modules/call-bind-apply-helpers": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz",
@@ -5486,15 +5444,6 @@
"node": ">=0.8" "node": ">=0.8"
} }
}, },
"node_modules/cluster-key-slot": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz",
"integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==",
"license": "Apache-2.0",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/color": { "node_modules/color": {
"version": "4.2.3", "version": "4.2.3",
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
@@ -6948,15 +6897,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/generic-pool": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz",
"integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==",
"license": "MIT",
"engines": {
"node": ">= 4"
}
},
"node_modules/get-intrinsic": { "node_modules/get-intrinsic": {
"version": "1.2.7", "version": "1.2.7",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz",
@@ -7194,12 +7134,6 @@
"node": ">= 0.4" "node": ">= 0.4"
} }
}, },
"node_modules/hookified": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.9.0.tgz",
"integrity": "sha512-2yEEGqphImtKIe1NXWEhu6yD3hlFR4Mxk4Mtp3XEyScpSt4pQ4ymmXA1zzxZpj99QkFK+nN0nzjeb2+RUi/6CQ==",
"license": "MIT"
},
"node_modules/http-errors": { "node_modules/http-errors": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
@@ -7700,10 +7634,9 @@
} }
}, },
"node_modules/keyv": { "node_modules/keyv": {
"version": "5.3.3", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.3.tgz", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.2.tgz",
"integrity": "sha512-Rwu4+nXI9fqcxiEHtbkvoes2X+QfkTRo1TMkPfwzipGsJlJO/z69vqB4FNl9xJ3xCpAcbkvmEabZfPzrwN3+gQ==", "integrity": "sha512-Lji2XRxqqa5Wg+CHLVfFKBImfJZ4pCSccu9eVWK6w4c2SDFLd8JAn1zqTuSFnsxb7ope6rMsnIHfp+eBbRBRZQ==",
"license": "MIT",
"dependencies": { "dependencies": {
"@keyv/serialize": "^1.0.3" "@keyv/serialize": "^1.0.3"
} }
@@ -10922,7 +10855,8 @@
"node_modules/yallist": { "node_modules/yallist": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
}, },
"node_modules/yaml": { "node_modules/yaml": {
"version": "2.7.1", "version": "2.7.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "1.13.0", "version": "1.12.0",
"scripts": { "scripts": {
"build": "nest build", "build": "nest build",
"dev": "cross-env NODE_ENV=development nest start --watch", "dev": "cross-env NODE_ENV=development nest start --watch",
@@ -14,7 +14,6 @@
}, },
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.787.0", "@aws-sdk/client-s3": "^3.787.0",
"@keyv/redis": "^4.4.0",
"@nestjs/cache-manager": "^3.0.1", "@nestjs/cache-manager": "^3.0.1",
"@nestjs/common": "^11.0.17", "@nestjs/common": "^11.0.17",
"@nestjs/config": "^4.0.2", "@nestjs/config": "^4.0.2",
@@ -31,7 +30,6 @@
"argon2": "^0.41.1", "argon2": "^0.41.1",
"body-parser": "^2.2.0", "body-parser": "^2.2.0",
"cache-manager": "^6.4.2", "cache-manager": "^6.4.2",
"cacheable": "^1.9.0",
"clamscan": "^2.4.0", "clamscan": "^2.4.0",
"class-transformer": "^0.5.1", "class-transformer": "^0.5.1",
"class-validator": "^0.14.1", "class-validator": "^0.14.1",

View File

@@ -76,25 +76,6 @@ export const configVariables = {
secret: false, secret: false,
}, },
}, },
cache: {
"redis-enabled": {
type: "boolean",
defaultValue: "false",
},
"redis-url": {
type: "string",
defaultValue: "redis://pingvin-redis:6379",
secret: true,
},
ttl: {
type: "number",
defaultValue: "60",
},
maxItems: {
type: "number",
defaultValue: "1000",
},
},
email: { email: {
enableShareEmailRecipients: { enableShareEmailRecipients: {
type: "boolean", type: "boolean",
@@ -399,6 +380,11 @@ export const configVariables = {
defaultValue: "", defaultValue: "",
secret: false, secret: false,
}, },
companySharingPolicy: {
type: "text",
defaultValue: "",
secret: false,
},
}, },
} satisfies ConfigVariables; } satisfies ConfigVariables;
@@ -438,11 +424,11 @@ const prisma = new PrismaClient({
async function seedConfigVariables() { async function seedConfigVariables() {
for (const [category, configVariablesOfCategory] of Object.entries( for (const [category, configVariablesOfCategory] of Object.entries(
configVariables, configVariables
)) { )) {
let order = 0; let order = 0;
for (const [name, properties] of Object.entries( for (const [name, properties] of Object.entries(
configVariablesOfCategory, configVariablesOfCategory
)) { )) {
const existingConfigVariable = await prisma.config.findUnique({ const existingConfigVariable = await prisma.config.findUnique({
where: { name_category: { name, category } }, where: { name_category: { name, category } },
@@ -488,7 +474,7 @@ async function migrateConfigVariables() {
// Update the config variable if it exists in the seed // Update the config variable if it exists in the seed
} else { } else {
const variableOrder = Object.keys( const variableOrder = Object.keys(
configVariables[existingConfigVariable.category], configVariables[existingConfigVariable.category]
).indexOf(existingConfigVariable.name); ).indexOf(existingConfigVariable.name);
await prisma.config.update({ await prisma.config.update({
where: { where: {

View File

@@ -3,9 +3,9 @@ import { Module } from "@nestjs/common";
import { ScheduleModule } from "@nestjs/schedule"; import { ScheduleModule } from "@nestjs/schedule";
import { AuthModule } from "./auth/auth.module"; import { AuthModule } from "./auth/auth.module";
import { CacheModule } from "@nestjs/cache-manager";
import { APP_GUARD } from "@nestjs/core"; import { APP_GUARD } from "@nestjs/core";
import { ThrottlerGuard, ThrottlerModule } from "@nestjs/throttler"; import { ThrottlerGuard, ThrottlerModule } from "@nestjs/throttler";
import { AppCacheModule } from "./cache/cache.module";
import { AppController } from "./app.controller"; import { AppController } from "./app.controller";
import { ClamScanModule } from "./clamscan/clamscan.module"; import { ClamScanModule } from "./clamscan/clamscan.module";
import { ConfigModule } from "./config/config.module"; import { ConfigModule } from "./config/config.module";
@@ -38,7 +38,9 @@ import { UserModule } from "./user/user.module";
ClamScanModule, ClamScanModule,
ReverseShareModule, ReverseShareModule,
OAuthModule, OAuthModule,
AppCacheModule, CacheModule.register({
isGlobal: true,
}),
], ],
controllers: [AppController], controllers: [AppController],
providers: [ providers: [

View File

@@ -1,41 +0,0 @@
import { Module } from "@nestjs/common";
import { CacheModule } from "@nestjs/cache-manager";
import { CacheableMemory } from "cacheable";
import { createKeyv } from "@keyv/redis";
import { Keyv } from "keyv";
import { ConfigModule } from "src/config/config.module";
import { ConfigService } from "src/config/config.service";
@Module({
imports: [
ConfigModule,
CacheModule.registerAsync({
isGlobal: true,
imports: [ConfigModule],
inject: [ConfigService],
useFactory: async (configService: ConfigService) => {
const useRedis = configService.get("cache.redis-enabled");
const ttl = configService.get("cache.ttl");
const max = configService.get("cache.maxItems");
let config = {
ttl,
max,
stores: [],
};
if (useRedis) {
const redisUrl = configService.get("cache.redis-url");
config.stores = [
new Keyv({ store: new CacheableMemory({ ttl, lruSize: 5000 }) }),
createKeyv(redisUrl),
];
}
return config;
},
}),
],
exports: [CacheModule],
})
export class AppCacheModule {}

View File

@@ -13,7 +13,6 @@ import { PrismaService } from "src/prisma/prisma.service";
import { stringToTimespan } from "src/utils/date.util"; import { stringToTimespan } from "src/utils/date.util";
import { parse as yamlParse } from "yaml"; import { parse as yamlParse } from "yaml";
import { YamlConfig } from "../../prisma/seed/config.seed"; import { YamlConfig } from "../../prisma/seed/config.seed";
import { CONFIG_FILE } from "src/constants";
/** /**
* ConfigService extends EventEmitter to allow listening for config updates, * ConfigService extends EventEmitter to allow listening for config updates,
@@ -43,7 +42,7 @@ export class ConfigService extends EventEmitter {
private async loadYamlConfig() { private async loadYamlConfig() {
let configFile: string = ""; let configFile: string = "";
try { try {
configFile = fs.readFileSync(CONFIG_FILE, "utf8"); configFile = fs.readFileSync("../config.yaml", "utf8");
} catch (e) { } catch (e) {
this.logger.log( this.logger.log(
"Config.yaml is not set. Falling back to UI configuration.", "Config.yaml is not set. Falling back to UI configuration.",

View File

@@ -1,7 +1,5 @@
import { LogLevel } from "@nestjs/common"; import { LogLevel } from "@nestjs/common";
export const CONFIG_FILE = process.env.CONFIG_FILE || "../config.yaml";
export const DATA_DIRECTORY = process.env.DATA_DIRECTORY || "./data"; export const DATA_DIRECTORY = process.env.DATA_DIRECTORY || "./data";
export const SHARE_DIRECTORY = `${DATA_DIRECTORY}/uploads/shares`; export const SHARE_DIRECTORY = `${DATA_DIRECTORY}/uploads/shares`;
export const DATABASE_URL = export const DATABASE_URL =

View File

@@ -29,15 +29,6 @@ share:
chunkSize: "10000000" chunkSize: "10000000"
#The share creation modal automatically appears when a user selects files, eliminating the need to manually click the button. #The share creation modal automatically appears when a user selects files, eliminating the need to manually click the button.
autoOpenShareModal: "false" autoOpenShareModal: "false"
cache:
#Normally Pingvin Share caches information in memory. If you run multiple instances of Pingvin Share, you need to enable Redis caching to share the cache between the instances.
redis-enabled: "false"
#Url to connect to the Redis instance used for caching.
redis-url: redis://pingvin-redis:6379
#Time in second to keep information inside the cache.
ttl: "60"
#Maximum number of items inside the cache.
maxItems: "1000"
email: email:
#Whether to allow email sharing with recipients. Only enable this if SMTP is activated. #Whether to allow email sharing with recipients. Only enable this if SMTP is activated.
enableShareEmailRecipients: "false" enableShareEmailRecipients: "false"
@@ -226,6 +217,8 @@ legal:
privacyPolicyText: "" privacyPolicyText: ""
#If you already have a privacy policy page you can link it here instead of using the text field. #If you already have a privacy policy page you can link it here instead of using the text field.
privacyPolicyUrl: "" privacyPolicyUrl: ""
#The text which should be shown in the company sharing policy. Supports Markdown.
companySharingPolicy: ""
#This configuration is used to create the initial user when the application is started for the first time. #This configuration is used to create the initial user when the application is started for the first time.
#Make sure to change at least the password as soon as you log in! #Make sure to change at least the password as soon as you log in!
initUser: initUser:

View File

@@ -16,9 +16,9 @@ You can change the settings in the UI (`/admin/config`)
You can set the configuration via a YAML file. If you choose this way, you won't be able to change the settings in the UI. You can set the configuration via a YAML file. If you choose this way, you won't be able to change the settings in the UI.
If you use Docker you can create a `config.yml` file based on the [`config.example.yaml`](https://github.com/stonith404/pingvin-share/blob/main/config.example.yaml) and mount it to `/opt/app/config.yaml` in the container. If you use Docker you can create a `config.yml` file based on the [`config.example.yaml`](https://github.com/stonith404/pingvin-share/blob/main/config.yaml) and mount it to `/opt/app/config.yaml` in the container.
If you run Pingvin Share without Docker, you can create a `config.yml` file based on the [`config.example.yaml`](https://github.com/stonith404/pingvin-share/blob/main/config.example.yaml) in the root directory of the project. If you run Pingvin Share without Docker, you can create a `config.yml` file based on the [`config.example.yaml`](https://github.com/stonith404/pingvin-share/blob/main/config.yaml) in the root directory of the project.
--- ---
@@ -33,7 +33,6 @@ For installation specific configuration, you can use environment variables. The
| `BACKEND_PORT` | `8080` | The port on which the backend listens. | | `BACKEND_PORT` | `8080` | The port on which the backend listens. |
| `DATABASE_URL` | `file:../data/pingvin-share.db?connection_limit=1` | The URL of the SQLite database. | | `DATABASE_URL` | `file:../data/pingvin-share.db?connection_limit=1` | The URL of the SQLite database. |
| `DATA_DIRECTORY` | `./data` | The directory where data is stored. | | `DATA_DIRECTORY` | `./data` | The directory where data is stored. |
| `CONFIG_FILE` | `../config.yaml` | Path to the configuration file |
| `CLAMAV_HOST` | `127.0.0.1` or `clamav` when running with Docker | The IP address of the ClamAV server. See the [ClamAV docs](integrations.md#clamav) for more information. | | `CLAMAV_HOST` | `127.0.0.1` or `clamav` when running with Docker | The IP address of the ClamAV server. See the [ClamAV docs](integrations.md#clamav) for more information. |
| `CLAMAV_PORT` | `3310` | The port number of the ClamAV server. | | `CLAMAV_PORT` | `3310` | The port number of the ClamAV server. |

View File

@@ -1,12 +1,12 @@
{ {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "1.13.0", "version": "1.12.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "1.13.0", "version": "1.12.0",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/server": "^11.11.0", "@emotion/server": "^11.11.0",
@@ -25,7 +25,7 @@
"markdown-to-jsx": "^7.5.0", "markdown-to-jsx": "^7.5.0",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"moment": "^2.30.1", "moment": "^2.30.1",
"next": "^14.2.26", "next": "^14.2.12",
"next-http-proxy-middleware": "^1.2.6", "next-http-proxy-middleware": "^1.2.6",
"next-pwa": "^5.6.0", "next-pwa": "^5.6.0",
"p-limit": "^6.1.0", "p-limit": "^6.1.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "1.13.0", "version": "1.12.0",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
@@ -26,7 +26,7 @@
"markdown-to-jsx": "^7.5.0", "markdown-to-jsx": "^7.5.0",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"moment": "^2.30.1", "moment": "^2.30.1",
"next": "^14.2.26", "next": "^14.2.12",
"next-http-proxy-middleware": "^1.2.6", "next-http-proxy-middleware": "^1.2.6",
"next-pwa": "^5.6.0", "next-pwa": "^5.6.0",
"p-limit": "^6.1.0", "p-limit": "^6.1.0",

View File

@@ -13,14 +13,13 @@ import Link from "next/link";
import { Dispatch, SetStateAction } from "react"; import { Dispatch, SetStateAction } from "react";
import { import {
TbAt, TbAt,
TbBinaryTree,
TbBucket,
TbMail, TbMail,
TbScale,
TbServerBolt,
TbSettings,
TbShare, TbShare,
TbSocial, TbSocial,
TbBucket,
TbBinaryTree,
TbSettings,
TbScale,
} from "react-icons/tb"; } from "react-icons/tb";
import { FormattedMessage } from "react-intl"; import { FormattedMessage } from "react-intl";
@@ -33,7 +32,6 @@ const categories = [
{ name: "LDAP", icon: <TbBinaryTree /> }, { name: "LDAP", icon: <TbBinaryTree /> },
{ name: "S3", icon: <TbBucket /> }, { name: "S3", icon: <TbBucket /> },
{ name: "Legal", icon: <TbScale /> }, { name: "Legal", icon: <TbScale /> },
{ name: "Cache", icon: <TbServerBolt /> },
]; ];
const useStyles = createStyles((theme) => ({ const useStyles = createStyles((theme) => ({

View File

@@ -1,4 +1,5 @@
import { Button, Center, createStyles, Group, Text } from "@mantine/core"; import { Anchor, Button, Center, createStyles, Group, Paper, Text, useMantineTheme } from "@mantine/core";
import Markdown from "markdown-to-jsx";
import { Dropzone as MantineDropzone } from "@mantine/dropzone"; import { Dropzone as MantineDropzone } from "@mantine/dropzone";
import { ForwardedRef, useRef } from "react"; import { ForwardedRef, useRef } from "react";
import { TbCloudUpload, TbUpload } from "react-icons/tb"; import { TbCloudUpload, TbUpload } from "react-icons/tb";
@@ -7,6 +8,7 @@ import useTranslate from "../../hooks/useTranslate.hook";
import { FileUpload } from "../../types/File.type"; import { FileUpload } from "../../types/File.type";
import { byteToHumanSizeString } from "../../utils/fileSize.util"; import { byteToHumanSizeString } from "../../utils/fileSize.util";
import toast from "../../utils/toast.util"; import toast from "../../utils/toast.util";
import useConfig from "../../hooks/config.hook";
const useStyles = createStyles((theme) => ({ const useStyles = createStyles((theme) => ({
wrapper: { wrapper: {
@@ -30,6 +32,23 @@ const useStyles = createStyles((theme) => ({
position: "absolute", position: "absolute",
bottom: -20, bottom: -20,
}, },
companysharingpolicy: {
marginTop: 50,
border: '1px dashed',
borderWidth: 1,
borderColor: theme.colorScheme === "dark"
? theme.colors.dark[3]
: theme.colors.gray[3],
borderRadius: 10,
backgroundColor: theme.colorScheme === "dark"
? theme.colors.dark[4]
: theme.colors.gray[1],
fontSize: 'small',
textAlign: 'center',
padding: 20,
}
})); }));
const Dropzone = ({ const Dropzone = ({
@@ -44,6 +63,12 @@ const Dropzone = ({
onFilesChanged: (files: FileUpload[]) => void; onFilesChanged: (files: FileUpload[]) => void;
}) => { }) => {
const t = useTranslate(); const t = useTranslate();
const config = useConfig();
const { colorScheme } = useMantineTheme();
const hasCompanySharingPolicy = !!(
config.get("legal.companySharingPolicy")
);
const companySharingPolicy = config.get("legal.companySharingPolicy");
const { classes } = useStyles(); const { classes } = useStyles();
const openRef = useRef<() => void>(); const openRef = useRef<() => void>();
@@ -88,6 +113,43 @@ const Dropzone = ({
values={{ maxSize: byteToHumanSizeString(maxShareSize) }} values={{ maxSize: byteToHumanSizeString(maxShareSize) }}
/> />
</Text> </Text>
{hasCompanySharingPolicy && (
<Group className={classes.companysharingpolicy}>
<Markdown
options={{
forceBlock: true,
overrides: {
pre: {
props: {
style: {
backgroundColor:
colorScheme == "dark"
? "rgba(50, 50, 50, 0.5)"
: "rgba(220, 220, 220, 0.5)",
padding: "0.75em",
whiteSpace: "pre-wrap",
},
},
},
table: {
props: {
className: "md",
},
},
a: {
props: {
target: "_blank",
rel: "noreferrer",
},
component: Anchor,
},
},
}}
>
{companySharingPolicy}
</Markdown>
</Group>
)}
</div> </div>
</MantineDropzone> </MantineDropzone>
<Center> <Center>

View File

@@ -3,9 +3,9 @@ export default {
"navbar.upload": "Nahrát", "navbar.upload": "Nahrát",
"navbar.signin": "Přihlásit se", "navbar.signin": "Přihlásit se",
"navbar.home": "Domů", "navbar.home": "Domů",
"navbar.signup": "Zaregistrovat se", "navbar.signup": "Sign up",
"navbar.links.shares": "Má sdílení", "navbar.links.shares": "Má sdílení",
"navbar.links.reverse": "Opačná sdílení", "navbar.links.reverse": "Zpětná sdílení",
"navbar.avatar.account": "Můj účet", "navbar.avatar.account": "Můj účet",
"navbar.avatar.admin": "Administrace", "navbar.avatar.admin": "Administrace",
"navbar.avatar.signout": "Odhlásit se", "navbar.avatar.signout": "Odhlásit se",
@@ -13,12 +13,12 @@ export default {
// / // /
"home.title": "<h>Samostatně hostovaná</h> platforma pro sdílení souborů.", "home.title": "<h>Samostatně hostovaná</h> platforma pro sdílení souborů.",
"home.description": "Opravdu chcete dát své osobní soubory do rukou třetích stran, jako je WeTransfer?", "home.description": "Opravdu chcete dát své osobní soubory do rukou třetích stran, jako je WeTransfer?",
"home.bullet.a.name": "Vlastní hosting", "home.bullet.a.name": "Self-Hosted",
"home.bullet.a.description": "Hostujte Pingvin Share na svém vlastním počítači.", "home.bullet.a.description": "Hostujte Pingvin Share na svém vlastním počítači.",
"home.bullet.b.name": "Soukromí", "home.bullet.b.name": "Soukromí",
"home.bullet.b.description": "Vaše soubory jsou Vaše a nikdy k nim nebudou mít přístup třetí strany.", "home.bullet.b.description": "Your files are yours and will never be accessed by third parties.",
"home.bullet.c.name": "Žádný otravný limit pro velikost souborů", "home.bullet.c.name": "Žádný otravný limit pro velikost souborů",
"home.bullet.c.description": "Nahrajte tak velké soubory, jak chcete. Limitem je pouze Váš pevný disk.", "home.bullet.c.description": "Upload files as big as you want. Only your hard drive will be your limit.",
"home.button.start": "Začít", "home.button.start": "Začít",
"home.button.source": "Zdrojový kód", "home.button.source": "Zdrojový kód",
// END / // END /
@@ -58,12 +58,12 @@ export default {
// /auth/reset-password // /auth/reset-password
"resetPassword.title": "Zapomněli jste heslo?", "resetPassword.title": "Zapomněli jste heslo?",
"resetPassword.description": "Zadejte svůj e-mail pro obnovení hesla.", "resetPassword.description": "Zadejte svůj e-mail pro obnovení hesla.",
"resetPassword.notify.success": "Pokud e-mail existuje, byla na něj odeslána zpráva s odkazem k obnovení hesla.", "resetPassword.notify.success": "A message with a link to reset your password has been sent if the provided email exists.",
"resetPassword.button.back": "Zpět na přihlašovací stránku", "resetPassword.button.back": "Zpět na přihlašovací stránku",
"resetPassword.text.resetPassword": "Obnovit heslo", "resetPassword.text.resetPassword": "Obnovit heslo",
"resetPassword.text.enterNewPassword": "Zadejte své nové heslo", "resetPassword.text.enterNewPassword": "Zadejte své nové heslo",
"resetPassword.input.password": "Nové heslo", "resetPassword.input.password": "Nové heslo",
"resetPassword.notify.passwordReset": "Vaše heslo bylo úspěšně obnoveno.", "resetPassword.notify.passwordReset": "Your password has been successfully reset.",
// /account // /account
"account.title": "Můj účet", "account.title": "Můj účet",
"account.card.info.title": "Informace o účtu", "account.card.info.title": "Informace o účtu",
@@ -73,7 +73,7 @@ export default {
"account.card.password.title": "Heslo", "account.card.password.title": "Heslo",
"account.card.password.old": "Staré heslo", "account.card.password.old": "Staré heslo",
"account.card.password.new": "Nové heslo", "account.card.password.new": "Nové heslo",
"account.card.password.noPasswordSet": "Heslo není nastaveno. Pro přihlášení pomocí e-mailu a hesla je potřeba vytvořit heslo.", "account.card.password.noPasswordSet": "You do not have a password set. To sign in using your email and password, you need to create a password.",
"account.notify.password.success": "Heslo bylo úspěšně změněno", "account.notify.password.success": "Heslo bylo úspěšně změněno",
"account.card.oauth.title": "Přihlášení přes sociální sítě", "account.card.oauth.title": "Přihlášení přes sociální sítě",
"account.card.oauth.github": "GitHub", "account.card.oauth.github": "GitHub",
@@ -85,7 +85,7 @@ export default {
"account.card.oauth.unlink": "Odpojit", "account.card.oauth.unlink": "Odpojit",
"account.card.oauth.unlinked": "Odpojeno", "account.card.oauth.unlinked": "Odpojeno",
"account.modal.unlink.title": "Odpojit účet", "account.modal.unlink.title": "Odpojit účet",
"account.modal.unlink.description": "Odpojení vašich sociálních účtů může způsobit ztrátu účtu, pokud si nepamatujete své uživatelské jméno a heslo", "account.modal.unlink.description": "Unlinking your social accounts may cause you to lose your account if you don't remember your login credentials",
"account.notify.oauth.unlinked.success": "Úspěšně odpojeno", "account.notify.oauth.unlinked.success": "Úspěšně odpojeno",
"account.card.security.title": "Zabezpečení", "account.card.security.title": "Zabezpečení",
"account.card.security.totp.enable.description": "Zadejte své současné heslo, abyste mohli povolit TOTP", "account.card.security.totp.enable.description": "Zadejte své současné heslo, abyste mohli povolit TOTP",
@@ -115,30 +115,30 @@ export default {
"account.shares.title": "Má sdílení", "account.shares.title": "Má sdílení",
"account.shares.title.empty": "Je tu prázdno 👀", "account.shares.title.empty": "Je tu prázdno 👀",
"account.shares.description.empty": "Nemáte žádná sdílení.", "account.shares.description.empty": "Nemáte žádná sdílení.",
"account.shares.button.create": "Vytvořit", "account.shares.button.create": "Create one",
"account.shares.info.title": "Vlastnosti", "account.shares.info.title": "Share informations",
"account.shares.table.id": "ID", "account.shares.table.id": "ID",
"account.shares.table.name": "Název", "account.shares.table.name": "Název",
"account.shares.table.description": "Popis", "account.shares.table.description": "Popis",
"account.shares.table.visitors": "Návštěvníci", "account.shares.table.visitors": "Návštěvníci",
"account.shares.table.expiresAt": "Vyprší", "account.shares.table.expiresAt": "Expires on",
"account.shares.table.createdAt": "Vytvořeno", "account.shares.table.createdAt": "Created on",
"account.shares.table.size": "Velikost", "account.shares.table.size": "Velikost",
"account.shares.table.password-protected": "Chráněno heslem", "account.shares.table.password-protected": "Password protected",
"account.shares.table.visitor-count": "{count} z {max}", "account.shares.table.visitor-count": "{count} of {max}",
"account.shares.table.expiry-never": "Nikdy", "account.shares.table.expiry-never": "Never",
"account.shares.modal.share-informations": "Vlastnosti", "account.shares.modal.share-informations": "Share informations",
"account.shares.modal.share-link": "Odkaz na sdílení", "account.shares.modal.share-link": "Odkaz na sdílení",
"account.shares.modal.delete.title": "Odstranit sdílení {share}", "account.shares.modal.delete.title": "Delete share: {share}",
"account.shares.modal.delete.description": "Opravdu chcete odstranit toto sdílení?", "account.shares.modal.delete.description": "Opravdu chcete odstranit toto sdílení?",
// END /account/shares // END /account/shares
// /account/reverseShares // /account/reverseShares
"account.reverseShares.title": "Opačná sdílení", "account.reverseShares.title": "Zpětná sdílení",
"account.reverseShares.description": "Opačné sdílení umožňuje vygenerovat jedinečné URL, které umožní externím uživatelům vytvořit sdílet soubory.", "account.reverseShares.description": "Zpětné sdílení umožňuje vygenerovat jedinečné URL, které umožní externím uživatelům vytvořit sdílet soubory.",
"account.reverseShares.title.empty": "Je tu prázdno 👀", "account.reverseShares.title.empty": "Je tu prázdno 👀",
"account.reverseShares.description.empty": "Nemáte žádná opačná sdílení.", "account.reverseShares.description.empty": "Nemáte žádná zpětná sdílení.",
// showCreateReverseShareModal.tsx // showCreateReverseShareModal.tsx
"account.reverseShares.modal.title": "Vytvořit opačné sdílení", "account.reverseShares.modal.title": "Vytvořit zpětné sdílení",
"account.reverseShares.modal.expiration.label": "Expirace", "account.reverseShares.modal.expiration.label": "Expirace",
"account.reverseShares.modal.expiration.minute-singular": "Minuta", "account.reverseShares.modal.expiration.minute-singular": "Minuta",
"account.reverseShares.modal.expiration.minute-plural": "Minut", "account.reverseShares.modal.expiration.minute-plural": "Minut",
@@ -153,16 +153,16 @@ export default {
"account.reverseShares.modal.expiration.year-singular": "Rok", "account.reverseShares.modal.expiration.year-singular": "Rok",
"account.reverseShares.modal.expiration.year-plural": "Let", "account.reverseShares.modal.expiration.year-plural": "Let",
"account.reverseShares.modal.max-size.label": "Max. velikost sdílení", "account.reverseShares.modal.max-size.label": "Max. velikost sdílení",
"account.reverseShares.modal.send-email": "Odeslat oznámení e-mailem", "account.reverseShares.modal.send-email": "Send email notifications",
"account.reverseShares.modal.send-email.description": "Odešle vám e-mailové upozornění, až bude sdílení pomocí tohoto reverzního sdíleného odkazu vytvořeno.", "account.reverseShares.modal.send-email.description": "Odešle vám e-mailové upozornění, až bude sdílení pomocí tohoto reverzního sdíleného odkazu vytvořeno.",
"account.reverseShares.modal.simplified": "Zjednodušený režim", "account.reverseShares.modal.simplified": "Zjednodušený režim",
"account.reverseShares.modal.simplified.description": "Usnadněte odesílateli sdílení souboru s Vámi. Budou moci pouze upravit název a popisek sdílení.", "account.reverseShares.modal.simplified.description": "Make it easy for the person uploading the file to share it with you. They will only be able to customize the name and description of the share.",
"account.reverseShares.modal.public-access": "Veřejný přístup", "account.reverseShares.modal.public-access": "Veřejný přístup",
"account.reverseShares.modal.public-access.description": "Zveřejnit soubory vytvořená tímto opačným sdílením. Pokud není povoleno, pouze Vy a tvůrce sdílení má práva k zobrazení.", "account.reverseShares.modal.public-access.description": "Make the shares created with this reverse share public. If disabled, only you and the share creator will have access to view it.",
"account.reverseShares.modal.max-use.label": "Max. použití", "account.reverseShares.modal.max-use.label": "Max. použití",
"account.reverseShares.modal.max-use.description": "Maximální počet sdílení, která mohou být vytvořena za pomoci tohoto URL.", "account.reverseShares.modal.max-use.description": "Maximální počet sdílení, která mohou být vytvořena za pomoci tohoto URL.",
"account.reverseShare.never-expires": "Toto opačné sdílení nikdy nevyprší.", "account.reverseShare.never-expires": "Toto zpětné sdílení nikdy nevyprší.",
"account.reverseShare.expires-on": "Toto opačné sdílení vyprší {expiration}.", "account.reverseShare.expires-on": "Toto zpětné sdílení vyprší {expiration}.",
"account.reverseShares.table.no-shares": "Zatím nebyla vytvořena žádná sdílení", "account.reverseShares.table.no-shares": "Zatím nebyla vytvořena žádná sdílení",
"account.reverseShares.table.count.singular": "sdílení", "account.reverseShares.table.count.singular": "sdílení",
"account.reverseShares.table.count.plural": "sdílení", "account.reverseShares.table.count.plural": "sdílení",
@@ -170,9 +170,9 @@ export default {
"account.reverseShares.table.remaining": "Zbývající použití", "account.reverseShares.table.remaining": "Zbývající použití",
"account.reverseShares.table.max-size": "Max. velikost sdílení", "account.reverseShares.table.max-size": "Max. velikost sdílení",
"account.reverseShares.table.expires": "Vyprší", "account.reverseShares.table.expires": "Vyprší",
"account.reverseShares.modal.reverse-share-link": "Odkaz na opačné sdílení", "account.reverseShares.modal.reverse-share-link": "Odkaz na zpětné sdílení",
"account.reverseShares.modal.delete.title": "Odstranit opačné sdílení", "account.reverseShares.modal.delete.title": "Odstranit zpětné sdílení",
"account.reverseShares.modal.delete.description": "Opravdu chcete odstranit toto opačné sdílení? Pokud tak učiníte, související sdílení budou také odstraněny.", "account.reverseShares.modal.delete.description": "Opravdu chcete odstranit toto zpětné sdílení? Pokud tak učiníte, související sdílené budou také odstraněny.",
// END /account/reverseShares // END /account/reverseShares
// /admin // /admin
"admin.title": "Administrace", "admin.title": "Administrace",
@@ -186,14 +186,14 @@ export default {
"admin.users.table.username": "Uživatelské jméno", "admin.users.table.username": "Uživatelské jméno",
"admin.users.table.email": "E-mail", "admin.users.table.email": "E-mail",
"admin.users.table.admin": "Administrátor", "admin.users.table.admin": "Administrátor",
"admin.users.edit.update.title": "Upravit uživatele {username}", "admin.users.edit.update.title": "Edit user: {username}",
"admin.users.edit.update.admin-privileges": "Administrátorská práva", "admin.users.edit.update.admin-privileges": "Administrátorská práva",
"admin.users.edit.update.change-password.title": "Změnit heslo", "admin.users.edit.update.change-password.title": "Změnit heslo",
"admin.users.edit.update.change-password.field": "Nové heslo", "admin.users.edit.update.change-password.field": "Nové heslo",
"admin.users.edit.update.change-password.button": "Uložit nové heslo", "admin.users.edit.update.change-password.button": "Uložit nové heslo",
"admin.users.edit.update.notify.password.success": "Heslo bylo úspěšně změněno", "admin.users.edit.update.notify.password.success": "Heslo bylo úspěšně změněno",
"admin.users.edit.delete.title": "Odstranit uživatele: {username}?", "admin.users.edit.delete.title": "Delete user: {username} ?",
"admin.users.edit.delete.description": "Opravdu chcete odstranit tohoto uživatele a všechny jeho soubory?", "admin.users.edit.delete.description": "Do you really want to delete this user and all their shares?",
// showCreateUserModal.tsx // showCreateUserModal.tsx
"admin.users.modal.create.title": "Vytvořit uživatele", "admin.users.modal.create.title": "Vytvořit uživatele",
"admin.users.modal.create.username": "Uživatelské jméno", "admin.users.modal.create.username": "Uživatelské jméno",
@@ -209,20 +209,20 @@ export default {
"admin.shares.table.id": "ID sdílení", "admin.shares.table.id": "ID sdílení",
"admin.shares.table.username": "Autor", "admin.shares.table.username": "Autor",
"admin.shares.table.visitors": "Návštěvníci", "admin.shares.table.visitors": "Návštěvníci",
"admin.shares.table.expires": "Vyprší", "admin.shares.table.expires": "Expires on",
"admin.shares.edit.delete.title": "Odstranit sdílení: {id}", "admin.shares.edit.delete.title": "Delete share: {id}",
"admin.shares.edit.delete.description": "Opravdu chcete smazat toto sdílení?", "admin.shares.edit.delete.description": "Opravdu chcete smazat toto sdílení?",
// END /admin/shares // END /admin/shares
// /upload // /upload
"upload.title": "Nahrát", "upload.title": "Nahrát",
"upload.notify.confirm-leave": "Opravdu chcete opustit tuto stránku? Vaše nahrávání bude zrušeno.", "upload.notify.confirm-leave": "Are you sure you want to leave this page? Your upload will be canceled.",
"upload.notify.generic-error": "Při dokončování vašeho sdílení došlo k chybě.", "upload.notify.generic-error": "Při dokončování vašeho sdílení došlo k chybě.",
"upload.notify.count-failed": "{count} souborů se nepodařilo nahrát. Zkouším to znovu.", "upload.notify.count-failed": "{count} souborů se nepodařilo nahrát. Zkouším to znovu.",
"upload.reverse-share.error.invalid.title": "Neplatný odkaz na opačné sdílení", "upload.reverse-share.error.invalid.title": "Invalid reverse share link",
"upload.reverse-share.error.invalid.description": "Toto opačné sdílení vypršelo nebo je neplatné.", "upload.reverse-share.error.invalid.description": "This reverse share has expired or is invalid.",
// Dropzone.tsx // Dropzone.tsx
"upload.dropzone.title": "Nahrát soubory", "upload.dropzone.title": "Nahrát soubory",
"upload.dropzone.description": "Pro spuštění sdílení, přetáhněte soubory sem. Můžete nahrát soubory o celkové velikosti {maxSize}.", "upload.dropzone.description": "Drag'n'drop files here to start your share. We only accept files up to {maxSize} in total.",
"upload.dropzone.notify.file-too-big": "Vaše soubory přesahují maximální velikost {maxSize}.", "upload.dropzone.notify.file-too-big": "Vaše soubory přesahují maximální velikost {maxSize}.",
// FileList.tsx // FileList.tsx
"upload.filelist.name": "Název", "upload.filelist.name": "Název",
@@ -234,8 +234,8 @@ export default {
"upload.modal.not-signed-in": "Nejste přihlášeni", "upload.modal.not-signed-in": "Nejste přihlášeni",
"upload.modal.not-signed-in-description": "Nebudete moci ručně odstranit své sdílení a zobrazit počet návštěvníků.", "upload.modal.not-signed-in-description": "Nebudete moci ručně odstranit své sdílení a zobrazit počet návštěvníků.",
"upload.modal.expires.never": "nikdy", "upload.modal.expires.never": "nikdy",
"upload.modal.expires.never-long": "Trvalé sdílení", "upload.modal.expires.never-long": "Permanent share",
"upload.modal.expires.error.too-long": "Datum vypršení platnosti překračuje maximum {max}.", "upload.modal.expires.error.too-long": "Expiration date exceeds the maximum of {max}.",
"upload.modal.link.label": "Odkaz", "upload.modal.link.label": "Odkaz",
"upload.modal.expires.label": "Expirace", "upload.modal.expires.label": "Expirace",
"upload.modal.expires.minute-singular": "Minuta", "upload.modal.expires.minute-singular": "Minuta",
@@ -265,12 +265,12 @@ export default {
"upload.modal.completed.never-expires": "Toto sdílení nikdy nevyprší.", "upload.modal.completed.never-expires": "Toto sdílení nikdy nevyprší.",
"upload.modal.completed.expires-on": "Toto sdílení vyprší {expiration}.", "upload.modal.completed.expires-on": "Toto sdílení vyprší {expiration}.",
"upload.modal.completed.share-ready": "Sdílení připraveno", "upload.modal.completed.share-ready": "Sdílení připraveno",
"upload.modal.completed.notified-reverse-share-creator": "Upozornili jsme tvůrce opačného sdílení. Můžete s nimi také ručně sdílet tento odkaz jiným způsobem.", "upload.modal.completed.notified-reverse-share-creator": "Upozornili jsme tvůrce zpětného sdílení. Můžete s nimi také ručně sdílet tento odkaz jiným způsobem.",
// END /upload // END /upload
// /share/[id] // /share/[id]
"share.title": "Sdílení {shareId}", "share.title": "Sdílení {shareId}",
"share.description": "Podívejte se, co jsem s vámi sdílel!", "share.description": "Podívejte se, co jsem s vámi sdílel!",
"share.fileCount": "{count, plural, =1 {# soubor} other {# soubory}} · {size} (Archiv může být menší díky kompresi)", "share.fileCount": "{count, plural, =1 {# file} other {# files}} · {size} (zip file may be smaller due to compression)",
"share.error.visitor-limit-exceeded.title": "Limit návštěvníků překročen", "share.error.visitor-limit-exceeded.title": "Limit návštěvníků překročen",
"share.error.visitor-limit-exceeded.description": "Limit návštěvníků tohoto sdílení byl překročen.", "share.error.visitor-limit-exceeded.description": "Limit návštěvníků tohoto sdílení byl překročen.",
"share.error.removed.title": "Sdílení bylo odstraněno", "share.error.removed.title": "Sdílení bylo odstraněno",
@@ -279,16 +279,16 @@ export default {
"share.error.access-denied.title": "Soukromé sdílení", "share.error.access-denied.title": "Soukromé sdílení",
"share.error.access-denied.description": "Aktuální účet nemá oprávnění k přístupu k tomuto sdílení", "share.error.access-denied.description": "Aktuální účet nemá oprávnění k přístupu k tomuto sdílení",
"share.modal.password.title": "Heslo vyžadováno", "share.modal.password.title": "Heslo vyžadováno",
"share.modal.password.description": "Zadejte prosím heslo pro přístup k tomuto sdíleni.", "share.modal.password.description": "Please enter the password to access this share.",
"share.modal.password": "Heslo", "share.modal.password": "Heslo",
"share.modal.error.invalid-password": "Neplatné heslo", "share.modal.error.invalid-password": "Neplatné heslo",
"share.button.download-all": "Stáhnout vše", "share.button.download-all": "Stáhnout vše",
"share.notify.download-all-preparing": "Sdílení se připravuje. Zkuste to prosím znovu za několik minut.", "share.notify.download-all-preparing": "The share is being prepared. Please try again in a few minutes.",
"share.modal.file-link": "Odkaz na soubor", "share.modal.file-link": "Odkaz na soubor",
"share.table.name": "Název", "share.table.name": "Název",
"share.table.size": "Velikost", "share.table.size": "Velikost",
"share.modal.file-preview.error.not-supported.title": "Náhled není podporován", "share.modal.file-preview.error.not-supported.title": "Náhled není podporován",
"share.modal.file-preview.error.not-supported.description": "Náhledy nejsou podporovány pro tento typ souborů. Stáhněte si soubor pro jeho zobrazení.", "share.modal.file-preview.error.not-supported.description": "Previews are not supported for this type of files. Please download the file to view it.",
// END /share/[id] // END /share/[id]
// /share/[id]/edit // /share/[id]/edit
"share.edit.title": "Upravit {shareId}", "share.edit.title": "Upravit {shareId}",
@@ -297,14 +297,14 @@ export default {
"share.edit.notify.save-success": "Sdílení úspěšně aktualizováno", "share.edit.notify.save-success": "Sdílení úspěšně aktualizováno",
// END /share/[id]/edit // END /share/[id]/edit
// /imprint // /imprint
"imprint.title": "Tiráž", "imprint.title": "Imprint",
// END /imprint // END /imprint
// /privacy // /privacy
"privacy.title": "Zásady ochrany osobních údajů", "privacy.title": "Privacy Policy",
// END /privacy // END /privacy
// /admin/config // /admin/config
"admin.config.config-file-warning.title": "Konfigurační soubor existuje", "admin.config.config-file-warning.title": "Configuration file present",
"admin.config.config-file-warning.description": "Jelikož je Pingvin Share nastaven pomocí konfiguračního souboru, nemůžete změnit nastavení přes UI.", "admin.config.config-file-warning.description": "As you have a configured Pingvin Share with a configuration file, you can't change the configuration through the UI.",
"admin.config.title": "Nastavení", "admin.config.title": "Nastavení",
"admin.config.category.general": "Obecné", "admin.config.category.general": "Obecné",
"admin.config.category.share": "Sdílení", "admin.config.category.share": "Sdílení",
@@ -316,56 +316,56 @@ export default {
"admin.config.general.app-url": "URL aplikace", "admin.config.general.app-url": "URL aplikace",
"admin.config.general.app-url.description": "Na kterém URL je Pingvin Share k dispozici", "admin.config.general.app-url.description": "Na kterém URL je Pingvin Share k dispozici",
"admin.config.general.secure-cookies": "Bezpečné cookies", "admin.config.general.secure-cookies": "Bezpečné cookies",
"admin.config.general.secure-cookies.description": "Určuje, zda se má nastavit zabezpečený příznak v cookies. Pokud je povoleno, stránka nebude přístupná přes HTTP.", "admin.config.general.secure-cookies.description": "Whether to set the secure flag on cookies. If enabled, the site will not function when accessed over HTTP.",
"admin.config.general.show-home-page": "Zobrazit domovskou stránku", "admin.config.general.show-home-page": "Zobrazit domovskou stránku",
"admin.config.general.show-home-page.description": "Zda zobrazovat domovskou stránku", "admin.config.general.show-home-page.description": "Zda zobrazovat domovskou stránku",
"admin.config.general.session-duration": "Délka trvání relace", "admin.config.general.session-duration": "Délka trvání relace",
"admin.config.general.session-duration.description": "Čas, po kterém se uživatel musí znovu přihlásit (výchozí: 3 měsíce).", "admin.config.general.session-duration.description": "Time after which a user must log in again (default: 3 months).",
"admin.config.general.logo": "Logo", "admin.config.general.logo": "Logo",
"admin.config.general.logo.description": "Změňte své logo nahráním nového obrázku. Obrázek musí být PNG a měl by mít formát 1:1.", "admin.config.general.logo.description": "Změňte své logo nahráním nového obrázku. Obrázek musí být PNG a měl by mít formát 1:1.",
"admin.config.general.logo.placeholder": "Vybrat obrázek", "admin.config.general.logo.placeholder": "Vybrat obrázek",
"admin.config.email.enable-share-email-recipients": "Sdílení přes e-mail", "admin.config.email.enable-share-email-recipients": "Enable email recipient sharing",
"admin.config.email.enable-share-email-recipients.description": "Určuje, zdali je povoleno sdílení souborů přes e-mail. Povolte pouze pokud je aktivováno SMTP.", "admin.config.email.enable-share-email-recipients.description": "Whether to allow email sharing with recipients. Only enable this if SMTP is activated.",
"admin.config.email.share-recipients-subject": "Předmět pro příjemce", "admin.config.email.share-recipients-subject": "Share recipients subject",
"admin.config.email.share-recipients-subject.description": "Předmět e-mailu, který bude odeslán adresátovi.", "admin.config.email.share-recipients-subject.description": "Subject of the email which gets sent to the share recipients.",
"admin.config.email.share-recipients-message": "Zpráva pro příjemce", "admin.config.email.share-recipients-message": "Share recipients message",
"admin.config.email.share-recipients-message.description": "Zpráva, která bude odeslána adresátům. Dostupné proměnné:\n {creator} - Uživatelské jméno tvůrce sdílení\n {shareUrl} - Odkaz sdílení\n {desc} - Popis sdílení\n {expires} - Datum vypršení platnosti sdílení\n Proměnné budou nahrazeny skutečnou hodnotou.", "admin.config.email.share-recipients-message.description": "Message which gets sent to the share recipients. Available variables:\n {creator} - The username of the creator of the share\n {creatorEmail} - The email of the creator of the share\n {shareUrl} - The URL of the share\n {desc} - The description of the share\n {expires} - The expiration date of the share\n These variables will be replaced with the actual value.",
"admin.config.email.reverse-share-subject": "Předmět e-mailu o opačném sdílení", "admin.config.email.reverse-share-subject": "Předmět e-mailu o zpětném sdílení",
"admin.config.email.reverse-share-subject.description": "Předmět e-mailu, když někdo vytvoří sdílení s Vaším odkazem na opačné sdílení.", "admin.config.email.reverse-share-subject.description": "Subject of the sent email when someone created a share with your reverse share link.",
"admin.config.email.reverse-share-message": "Zpráva o opačném sdílení", "admin.config.email.reverse-share-message": "Zpráva o zpětném sdílení",
"admin.config.email.reverse-share-message.description": "Zpráva, která bude odeslána, když někdo vytvoří sdílení s vaším odkazem na opačné sdílení. {shareUrl} bude nahrazeno jménem tvůrce a URL pro sdílení.", "admin.config.email.reverse-share-message.description": "Zpráva, která bude odeslána, když někdo vytvoří sdílení s vaším odkazem na zpětné sdílení. {shareUrl} bude nahrazeno jménem tvůrce a URL pro sdílení.",
"admin.config.email.reset-password-subject": "Předmět e-mailu pro obnovení hesla", "admin.config.email.reset-password-subject": "Předmět e-mailu pro obnovení hesla",
"admin.config.email.reset-password-subject.description": "Předmět e-mailu, když uživatel požádá o obnovení hesla.", "admin.config.email.reset-password-subject.description": "Subject of the sent email when a user requests a password reset.",
"admin.config.email.reset-password-message": "Zpráva o obnovení hesla", "admin.config.email.reset-password-message": "Zpráva o obnovení hesla",
"admin.config.email.reset-password-message.description": "Zpráva, která bude odeslána, když uživatel požádá o obnovení hesla. {url} bude nahrazeno URL pro obnovení hesla.", "admin.config.email.reset-password-message.description": "Zpráva, která bude odeslána, když uživatel požádá o obnovení hesla. {url} bude nahrazeno URL pro obnovení hesla.",
"admin.config.email.invite-subject": "Předmět pozvánky", "admin.config.email.invite-subject": "Předmět pozvánky",
"admin.config.email.invite-subject.description": "Předmět e-mailu, když administrátor pozve uživatele.", "admin.config.email.invite-subject.description": "Subject of the sent email when an admin invites a user.",
"admin.config.email.invite-message": "Zpráva pozvánky", "admin.config.email.invite-message": "Zpráva pozvánky",
"admin.config.email.invite-message.description": "Zpráva, která bude odeslána, když administrátor pozve uživatele. {url} bude nahrazeno odkazem, {email} e-mailem a {password} heslem uživatele.", "admin.config.email.invite-message.description": "Message which gets sent when an admin invites a user. {url} will be replaced with the invite URL, {email} with the email and {password} with the users password.",
"admin.config.share.allow-registration": "Povolit registraci", "admin.config.share.allow-registration": "Povolit registraci",
"admin.config.share.allow-registration.description": "Zda je registrace povolena", "admin.config.share.allow-registration.description": "Zda je registrace povolena",
"admin.config.share.allow-unauthenticated-shares": "Povolit sdílení neověřeným uživatelům", "admin.config.share.allow-unauthenticated-shares": "Povolit sdílení neověřeným uživatelům",
"admin.config.share.allow-unauthenticated-shares.description": "Zda mohou neověření uživatelé vytvářet sdílení", "admin.config.share.allow-unauthenticated-shares.description": "Zda mohou neověření uživatelé vytvářet sdílení",
"admin.config.share.max-expiration": "Max. platnost", "admin.config.share.max-expiration": "Max. platnost",
"admin.config.share.max-expiration.description": "Maximální platnost sdílení. Nastavte 0 pro neomezenou platnost.", "admin.config.share.max-expiration.description": "Maximum share expiration. Set to 0 to allow unlimited expiration.",
"admin.config.share.share-id-length": "Výchozí délka sdílení ID", "admin.config.share.share-id-length": "Default share ID length",
"admin.config.share.share-id-length.description": "Výchozí délka pro generované ID sdílení. Tato hodnota se používá také pro generování odkazů na opačné sdílení. Hodnota nižší než 8 se nepovažuje za bezpečnou.", "admin.config.share.share-id-length.description": "Default length for the generated ID of a share. This value is also used to generate links for reverse shares. A value below 8 is not considered secure.",
"admin.config.share.max-size": "Max. velikost", "admin.config.share.max-size": "Max. velikost",
"admin.config.share.max-size.description": "Maximální velikost sdílení v bajtech", "admin.config.share.max-size.description": "Maximální velikost sdílení v bajtech",
"admin.config.share.zip-compression-level": "Úroveň Zip komprese", "admin.config.share.zip-compression-level": "Úroveň Zip komprese",
"admin.config.share.zip-compression-level.description": "Upravte úroveň pro rovnováhu mezi velikostí souboru a rychlostí komprese. Platné hodnoty se pohybují od 0 do 9, přičemž 0 znamená bez komprese a 9 je maximální komprese. ", "admin.config.share.zip-compression-level.description": "Upravte úroveň pro rovnováhu mezi velikostí souboru a rychlostí komprese. Platné hodnoty se pohybují od 0 do 9, přičemž 0 znamená bez komprese a 9 je maximální komprese. ",
"admin.config.share.chunk-size": "Velikost bloku", "admin.config.share.chunk-size": "Velikost bloku",
"admin.config.share.chunk-size.description": "Upravte velikost bloku pro vaše nahrávání tak, aby byla vyvážena efektivita a spolehlivost podle vašeho internetového připojení. Menší bloky mohou zvýšit spolehlivost nestabilních spojení, zatímco větší bloky urychlují nahrávání při stabilním spojení.", "admin.config.share.chunk-size.description": "Adjust the chunk size for your uploads to balance efficiency and reliability according to your internet connection. Smaller chunks can enhance success rates for unstable connections, while larger chunks make uploads faster for stable connections.",
"admin.config.share.auto-open-share-modal": "Automaticky otevřít menu vytvoření sdílení", "admin.config.share.auto-open-share-modal": "Automaticky otevřít menu vytvoření sdílení",
"admin.config.share.auto-open-share-modal.description": "Menu vytvoření sdílení se automaticky zobrazí, když uživatel vybere soubory, čímž se eliminuje potřeba ručně kliknout na tlačítko.", "admin.config.share.auto-open-share-modal.description": "Menu vytvoření sdílení se automaticky zobrazí, když uživatel vybere soubory, čímž se eliminuje potřeba ručně kliknout na tlačítko.",
"admin.config.smtp.enabled": "Povolit", "admin.config.smtp.enabled": "Enable",
"admin.config.smtp.enabled.description": "Zda je SMTP povoleno. Povolte pouze pokud jste zadali hostitele, port, e-mail, uživatele a heslo vašeho SMTP serveru.", "admin.config.smtp.enabled.description": "Zda je SMTP povoleno. Povolte pouze pokud jste zadali hostitele, port, e-mail, uživatele a heslo vašeho SMTP serveru.",
"admin.config.smtp.host": "Hostitel", "admin.config.smtp.host": "Hostitel",
"admin.config.smtp.host.description": "Hostitel SMTP serveru", "admin.config.smtp.host.description": "Hostitel SMTP serveru",
"admin.config.smtp.port": "Port", "admin.config.smtp.port": "Port",
"admin.config.smtp.port.description": "Port SMTP serveru", "admin.config.smtp.port.description": "Port SMTP serveru",
"admin.config.smtp.email": "E-mail", "admin.config.smtp.email": "E-mail",
"admin.config.smtp.email.description": "E-mailová adresa, ze které budou e-maily odesílány", "admin.config.smtp.email.description": "Email address from which the emails get sent",
"admin.config.smtp.username": "Uživatelské jméno", "admin.config.smtp.username": "Uživatelské jméno",
"admin.config.smtp.username.description": "Uživatelské jméno SMTP serveru", "admin.config.smtp.username.description": "Uživatelské jméno SMTP serveru",
"admin.config.smtp.password": "Heslo", "admin.config.smtp.password": "Heslo",
@@ -384,104 +384,104 @@ export default {
"admin.config.oauth.github-client-id": "GitHub Client ID", "admin.config.oauth.github-client-id": "GitHub Client ID",
"admin.config.oauth.github-client-id.description": "Client ID GitHub OAuth aplikace", "admin.config.oauth.github-client-id.description": "Client ID GitHub OAuth aplikace",
"admin.config.oauth.github-client-secret": "GitHub Client secret", "admin.config.oauth.github-client-secret": "GitHub Client secret",
"admin.config.oauth.github-client-secret.description": "Client secret aplikace GitHub OAuth", "admin.config.oauth.github-client-secret.description": "Client secret of the GitHub OAuth app",
"admin.config.oauth.google-enabled": "Google", "admin.config.oauth.google-enabled": "Google",
"admin.config.oauth.google-enabled.description": "Zda je povoleno přihlášení přes Google", "admin.config.oauth.google-enabled.description": "Zda je povoleno přihlášení přes Google",
"admin.config.oauth.google-client-id": "Google Client ID", "admin.config.oauth.google-client-id": "Google Client ID",
"admin.config.oauth.google-client-id.description": "Client ID aplikace Google OAuth", "admin.config.oauth.google-client-id.description": "Client ID of the Google OAuth app",
"admin.config.oauth.google-client-secret": "Google Client secret", "admin.config.oauth.google-client-secret": "Google Client secret",
"admin.config.oauth.google-client-secret.description": "Client secret aplikace Google OAuth", "admin.config.oauth.google-client-secret.description": "Client secret of the Google OAuth app",
"admin.config.oauth.microsoft-enabled": "Microsoft", "admin.config.oauth.microsoft-enabled": "Microsoft",
"admin.config.oauth.microsoft-enabled.description": "Zda je povoleno přihlášení přes Microsoft", "admin.config.oauth.microsoft-enabled.description": "Zda je povoleno přihlášení přes Microsoft",
"admin.config.oauth.microsoft-tenant": "Microsoft Tenant", "admin.config.oauth.microsoft-tenant": "Microsoft Tenant",
"admin.config.oauth.microsoft-tenant.description": "Tenant ID aplikace Microsoft OAuth\nběžné: Uživatelé s osobním účtem Microsoft a pracovním nebo školním účtem Microsoft Entra ID se mohou přihlásit do aplikace. \n\norganizace: Do aplikace se mohou přihlásit pouze uživatelé s pracovním nebo školním účtem Microsoft Entra ID.\n\nspotřebitelé: Do aplikace se mohou přihlásit pouze uživatelé s osobním účtem Microsoft.\n\nNázev domény Microsoft Entra tenant nebo tenant ID ve formátu GUID: Do aplikace se mohou přihlásit pouze uživatelé z konkrétní Microsoft Entra tenant (členové adresáře s pracovním nebo školním účtem nebo návštěvníci adresáře s osobním účtem Microsoft).", "admin.config.oauth.microsoft-tenant.description": "Tenant ID of the Microsoft OAuth app\ncommon: Users with both a personal Microsoft account and a work or school account from Microsoft Entra ID can sign in to the application. organizations: Only users with work or school accounts from Microsoft Entra ID can sign in to the application.\nconsumers: Only users with a personal Microsoft account can sign in to the application.\ndomain name of the Microsoft Entra tenant or the tenant ID in GUID format: Only users from a specific Microsoft Entra tenant (directory members with a work or school account or directory guests with a personal Microsoft account) can sign in to the application.",
"admin.config.oauth.microsoft-client-id": "Microsoft Client ID", "admin.config.oauth.microsoft-client-id": "Microsoft Client ID",
"admin.config.oauth.microsoft-client-id.description": "Client ID Microsoft OAuth aplikace", "admin.config.oauth.microsoft-client-id.description": "Client ID of the Microsoft OAuth app",
"admin.config.oauth.microsoft-client-secret": "Microsoft Client secret", "admin.config.oauth.microsoft-client-secret": "Microsoft Client secret",
"admin.config.oauth.microsoft-client-secret.description": "Client secret Microsoft OAuth aplikace", "admin.config.oauth.microsoft-client-secret.description": "Client secret of the Microsoft OAuth app",
"admin.config.oauth.discord-enabled": "Discord", "admin.config.oauth.discord-enabled": "Discord",
"admin.config.oauth.discord-enabled.description": "Zda je povoleno přihlášení přes Discord", "admin.config.oauth.discord-enabled.description": "Zda je povoleno přihlášení přes Discord",
"admin.config.oauth.discord-limited-users": "Discord povolení uživatelé", "admin.config.oauth.discord-limited-users": "Discord limited users",
"admin.config.oauth.discord-limited-users.description": "Povolit přístup pouze uživatelům se zadanými Discord ID. Ponechte prázdné pro zakázání.", "admin.config.oauth.discord-limited-users.description": "Limit signing in to specific users by their Discord ID. Leave it blank to disable.",
"admin.config.oauth.discord-limited-guild": "Discord povolené ID serveru", "admin.config.oauth.discord-limited-guild": "Discord limited server ID",
"admin.config.oauth.discord-limited-guild.description": "Omezit přihlášení na uživatele na konkrétním serveru. Ponechte prázdné pro vypnutí.", "admin.config.oauth.discord-limited-guild.description": "Omezit přihlášení na uživatele na konkrétním serveru. Ponechte prázdné pro vypnutí.",
"admin.config.oauth.discord-client-id": "Discord Client ID", "admin.config.oauth.discord-client-id": "Discord Client ID",
"admin.config.oauth.discord-client-id.description": "Client ID Discord OAuth aplikace", "admin.config.oauth.discord-client-id.description": "Client ID of the Discord OAuth app",
"admin.config.oauth.discord-client-secret": "Discord Client secret", "admin.config.oauth.discord-client-secret": "Discord Client secret",
"admin.config.oauth.discord-client-secret.description": "Client secret Discord OAuth aplikace", "admin.config.oauth.discord-client-secret.description": "Client secret of the Discord OAuth app",
"admin.config.oauth.oidc-enabled": "OpenID Connect", "admin.config.oauth.oidc-enabled": "OpenID Connect",
"admin.config.oauth.oidc-enabled.description": "Zda je povoleno přihlášení přes OpenID Connect", "admin.config.oauth.oidc-enabled.description": "Zda je povoleno přihlášení přes OpenID Connect",
"admin.config.oauth.oidc-discovery-uri": "Adresa OpenID Connect Discovery", "admin.config.oauth.oidc-discovery-uri": "OpenID Connect Discovery URI",
"admin.config.oauth.oidc-discovery-uri.description": "Discovery URL OpenID Connect OAuth aplikace", "admin.config.oauth.oidc-discovery-uri.description": "Discovery URI of the OpenID Connect OAuth app",
"admin.config.oauth.oidc-sign-out": "Odhlásit se z OpenID Connect", "admin.config.oauth.oidc-sign-out": "Sign out from OpenID Connect",
"admin.config.oauth.oidc-sign-out.description": "Zda tlačítko \"Odhlásit\" odhlásí od poskytovatele OpenID Connect", "admin.config.oauth.oidc-sign-out.description": "Whether the “Sign out” button will sign out from the OpenID Connect provider",
"admin.config.oauth.oidc-scope": "OpenID Connect informace", "admin.config.oauth.oidc-scope": "OpenID Connect scope",
"admin.config.oauth.oidc-scope.description": "Informace, které by měly být požadovány od poskytovatele OpenID Connect.", "admin.config.oauth.oidc-scope.description": "Scopes which should be requested from the OpenID Connect provider.",
"admin.config.oauth.oidc-username-claim": "OpenID Connect požadavek uživatele", "admin.config.oauth.oidc-username-claim": "OpenID Connect username claim",
"admin.config.oauth.oidc-username-claim.description": "Požadavek uživatele v OpenID Connect ID tokenu. Ponechte prázdné, pokud netušíte.", "admin.config.oauth.oidc-username-claim.description": "Username claim in OpenID Connect ID token. Leave it blank if you don't know what this config is.",
"admin.config.oauth.oidc-role-path": "Cesta k rolím v OpenID Connect token", "admin.config.oauth.oidc-role-path": "Path to roles in OpenID Connect token",
"admin.config.oauth.oidc-role-path.description": "Musí být platná JMES cesta odkazující na pole rolí. " + "Správa přístupových práv pomocí OpenID Connect rolí je doporučena pouze v případě, že není nastaven žádný jiný poskytovatel identity a přihlášení heslem je zakázáno. " + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.", "admin.config.oauth.oidc-role-path.description": "Musí být platná JMES cesta odkazující na pole rolí. " + "Správa přístupových práv pomocí OpenID Connect rolí je doporučena pouze v případě, že není nastaven žádný jiný poskytovatel identity a přihlášení heslem je zakázáno. " + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.",
"admin.config.oauth.oidc-role-general-access": "OpenID Connect role pro obecný přístup", "admin.config.oauth.oidc-role-general-access": "OpenID Connect role pro obecný přístup",
"admin.config.oauth.oidc-role-general-access.description": "Požadovaná role pro všeobecný přístup. Musí být přítomna v uživatelských rolích, aby se mohli přihlásit." + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.", "admin.config.oauth.oidc-role-general-access.description": "Role required for general access. Must be present in a users roles for them to log in. " + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.",
"admin.config.oauth.oidc-role-admin-access": "OpenID Connect role pro přístup správce.", "admin.config.oauth.oidc-role-admin-access": "OpenID Connect role for admin access",
"admin.config.oauth.oidc-role-admin-access.description": "Požadovaná role pro přístup správce. Musí být přítomna v uživatelských rolích, pro přístup do panelu správce." + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.", "admin.config.oauth.oidc-role-admin-access.description": "Role required for administrative access. Must be present in a users roles for them to access the admin panel. " + "Ponechte prázdné, pokud nevíte, co tato konfigurace znamená.",
"admin.config.oauth.oidc-client-id": "OpenID Connect ID klienta", "admin.config.oauth.oidc-client-id": "OpenID Connect Client ID",
"admin.config.oauth.oidc-client-id.description": "ID klienta OpenID Connect OAuth aplikace", "admin.config.oauth.oidc-client-id.description": "Client ID of the OpenID Connect OAuth app",
"admin.config.oauth.oidc-client-secret": "OpenID Connect secret klienta", "admin.config.oauth.oidc-client-secret": "OpenID Connect Client secret",
"admin.config.oauth.oidc-client-secret.description": "Secret klienta OpenID Connect OAuth aplikace", "admin.config.oauth.oidc-client-secret.description": "Client secret of the OpenID Connect OAuth app",
"admin.config.category.ldap": "LDAP", "admin.config.category.ldap": "LDAP",
"admin.config.ldap.enabled": "Povolit LDAP", "admin.config.ldap.enabled": "Enable LDAP",
"admin.config.ldap.enabled.description": "Použít LDAP ověření pro přihlášení uživatele", "admin.config.ldap.enabled.description": "Use LDAP authentication for user login",
"admin.config.ldap.url": "URL serveru", "admin.config.ldap.url": "URL serveru",
"admin.config.ldap.url.description": "Adresa LDAP serveru", "admin.config.ldap.url.description": "URL of the LDAP server",
"admin.config.ldap.bind-dn": "Propojit DN", "admin.config.ldap.bind-dn": "Bind DN",
"admin.config.ldap.bind-dn.description": "Výchozí uživatel pro vyhledávání uživatelů", "admin.config.ldap.bind-dn.description": "Default user used to perform the user search",
"admin.config.ldap.bind-password": "Propojit heslo", "admin.config.ldap.bind-password": "Bind password",
"admin.config.ldap.bind-password.description": "Heslo pro vyhledávání uživatelů", "admin.config.ldap.bind-password.description": "Password used to perform the user search",
"admin.config.ldap.search-base": "Uživatelská větev", "admin.config.ldap.search-base": "User base",
"admin.config.ldap.search-base.description": "Základní umístění, kde budou prováděna hledání uživatelů", "admin.config.ldap.search-base.description": "Základní umístění, kde budou prováděna hledání uživatelů",
"admin.config.ldap.search-query": "Dotaz na uživatele", "admin.config.ldap.search-query": "User query",
"admin.config.ldap.search-query.description": "Dotaz na uživatele pro vyhledání 'Uživatelské větve' pro LDAP uživatele. %username% může být použit jako zástupce pro hodnotu zadanou uživatelem.", "admin.config.ldap.search-query.description": "The user query will be used to search the 'User base' for the LDAP user. %username% can be used as the placeholder for the user given input.",
"admin.config.ldap.admin-groups": "Skupina správců", "admin.config.ldap.admin-groups": "Admin group",
"admin.config.ldap.admin-groups.description": "Skupina potřebná pro administrativní přístup.", "admin.config.ldap.admin-groups.description": "Skupina potřebná pro administrativní přístup.",
"admin.config.ldap.field-name-member-of": "Název atributu skupin uživatelů", "admin.config.ldap.field-name-member-of": "User groups attribute name",
"admin.config.ldap.field-name-member-of.description": "LDAP název atributu pro skupiny, jejichž členem je uživatel. Používá se při kontrole skupiny správců.", "admin.config.ldap.field-name-member-of.description": "LDAP attribute name for the groups, an user is a member of. This is used when checking for the admin group.",
"admin.config.ldap.field-name-email": "Název atributu e-mailu uživatele", "admin.config.ldap.field-name-email": "User email attribute name",
"admin.config.ldap.field-name-email.description": "Název atributu LDAP pro e-mail uživatele.", "admin.config.ldap.field-name-email.description": "LDAP attribute name for the email of an user.",
"admin.config.notify.success": "Konfigurace byla úspěšně aktualizována!", "admin.config.notify.success": "Configuration updated successfully.",
"admin.config.notify.logo-success": "Logo bylo úspěšně aktualizováno. Zobrazení změny může několik minut trvat.", "admin.config.notify.logo-success": "Logo updated successfully. It may take a few minutes to update on the website.",
"admin.config.notify.no-changes": "Žádné změny k uložení.", "admin.config.notify.no-changes": "No changes to save.",
"admin.config.category.s3": "S3", "admin.config.category.s3": "S3",
"admin.config.s3.enabled": "Povoleno", "admin.config.s3.enabled": "Enabled",
"admin.config.s3.enabled.description": "Zda má být S3 použito k ukládání sdílených souborů namísto lokálního souborového systému.", "admin.config.s3.enabled.description": "Whether S3 should be used to store the shared files instead of the local file system.",
"admin.config.s3.endpoint": "Koncový bod", "admin.config.s3.endpoint": "Endpoint",
"admin.config.s3.endpoint.description": "URL bloku S3.", "admin.config.s3.endpoint.description": "The URL of the S3 bucket.",
"admin.config.s3.region": "Oblast", "admin.config.s3.region": "Region",
"admin.config.s3.region.description": "Oblast bloku S3.", "admin.config.s3.region.description": "The region of the S3 bucket.",
"admin.config.s3.bucket-name": "Název bloku", "admin.config.s3.bucket-name": "Bucket name",
"admin.config.s3.bucket-name.description": "Název bloku S3.", "admin.config.s3.bucket-name.description": "The name of the S3 bucket.",
"admin.config.s3.bucket-path": "Cesta", "admin.config.s3.bucket-path": "Path",
"admin.config.s3.bucket-path.description": "Výchozí cesta, která by měla být použita pro ukládání souborů do bloku S3.", "admin.config.s3.bucket-path.description": "The default path which should be used to store the files in the S3 bucket.",
"admin.config.s3.key": "Klíč", "admin.config.s3.key": "Key",
"admin.config.s3.key.description": "Klíč, který vám umožňuje přístup k bloku S3.", "admin.config.s3.key.description": "The key which allows you to access the S3 bucket.",
"admin.config.s3.secret": "Tajný klíč (Secret)", "admin.config.s3.secret": "Secret",
"admin.config.s3.secret.description": "Tajný kód, který vám umožňuje přístup do bloku S3.", "admin.config.s3.secret.description": "The secret which allows you to access the S3 bucket.",
"admin.config.s3.use-checksum": "Použít checksum", "admin.config.s3.use-checksum": "Použít checksum",
"admin.config.s3.use-checksum.description": "Vypněte pro backendy které nepodporují checksum (např. B2)", "admin.config.s3.use-checksum.description": "Vypněte pro backendy které nepodporují checksum (např. B2)",
"admin.config.category.legal": "Právní ustanovení", "admin.config.category.legal": "Legal",
"admin.config.legal.enabled": "Povolit právní oznámení", "admin.config.legal.enabled": "Enable legal notices",
"admin.config.legal.enabled.description": "Zda v zápatí zobrazit odkaz na tiráž a zásady ochrany osobních údajů.", "admin.config.legal.enabled.description": "Whether to show a link to imprint and privacy policy in the footer.",
"admin.config.legal.imprint-text": "Text tiráže", "admin.config.legal.imprint-text": "Imprint text",
"admin.config.legal.imprint-text.description": "Text, který by měl být zobrazen v tiráži. Podporuje Markdown. Ponechte prázdné pro odkaz na stránku s externí tiráží.", "admin.config.legal.imprint-text.description": "The text which should be shown in the imprint. Supports Markdown. Leave blank to link to an external imprint page.",
"admin.config.legal.imprint-url": "Adresa tiráže", "admin.config.legal.imprint-url": "Imprint URL",
"admin.config.legal.imprint-url.description": "Pokud již máte stránku s tiráží, můžete ji propojit zde místo použití textového pole.", "admin.config.legal.imprint-url.description": "If you already have an imprint page you can link it here instead of using the text field.",
"admin.config.legal.privacy-policy-text": "Text zásad ochrany osobních údajů", "admin.config.legal.privacy-policy-text": "Privacy policy text",
"admin.config.legal.privacy-policy-text.description": "Text, který by měl být zobrazen v zásadách ochrany osobních údajů. Podporuje Markdown. Ponechte prázdné pro odkaz na stránku s externími zásadami ochrany osobních údajů.", "admin.config.legal.privacy-policy-text.description": "The text which should be shown in the privacy policy. Supports Markdown. Leave blank to link to an external privacy policy page.",
"admin.config.legal.privacy-policy-url": "Adresa zásad ochrany soukromí", "admin.config.legal.privacy-policy-url": "Privacy policy URL",
"admin.config.legal.privacy-policy-url.description": "Pokud již máte stránku o zásadách ochrany osobních údajů, můžete ji propojit zde místo použití textového pole.", "admin.config.legal.privacy-policy-url.description": "If you already have a privacy policy page you can link it here instead of using the text field.",
// 404 // 404
"404.description": "Jejda, tato stránka neexistuje.", "404.description": "Jejda, tato stránka neexistuje.",
"404.button.home": "Návrat na hlavní stránku", "404.button.home": "Bring me back home",
// error // error
"error.title": "Chyba", "error.title": "Chyba",
"error.description": "Jejda!", "error.description": "Jejda!",
@@ -493,10 +493,10 @@ export default {
"error.msg.no_user": "Uživatel propojený s tímto účtem {0} neexistuje.", "error.msg.no_user": "Uživatel propojený s tímto účtem {0} neexistuje.",
"error.msg.no_email": "Z tohoto účtu {0} nelze získat e-mailovou adresu.", "error.msg.no_email": "Z tohoto účtu {0} nelze získat e-mailovou adresu.",
"error.msg.already_linked": "Tento účet {0} je již propojen s jiným účtem.", "error.msg.already_linked": "Tento účet {0} je již propojen s jiným účtem.",
"error.msg.not_linked": "Tento účet {0} ještě nebyl propojen s žádným účtem.", "error.msg.not_linked": "This {0} account hasn't been linked to any account yet.",
"error.msg.unverified_account": "Tento účet {0} není ověřen, zkuste to prosím znovu po ověření.", "error.msg.unverified_account": "Tento účet {0} není ověřen, zkuste to prosím znovu po ověření.",
"error.msg.user_not_allowed": "Nemáte oprávnění k přihlášení.", "error.msg.user_not_allowed": "Nemáte oprávnění k přihlášení.",
"error.msg.cannot_get_user_info": "Nelze získat informace o uživateli z tohoto účtu {0}.", "error.msg.cannot_get_user_info": "Cannot get your user info from this {0} account.",
"error.param.provider_github": "GitHub", "error.param.provider_github": "GitHub",
"error.param.provider_google": "Google", "error.param.provider_google": "Google",
"error.param.provider_microsoft": "Microsoft", "error.param.provider_microsoft": "Microsoft",
@@ -514,9 +514,9 @@ export default {
"common.button.generate": "Generovat", "common.button.generate": "Generovat",
"common.button.done": "Hotovo", "common.button.done": "Hotovo",
"common.text.link": "Odkaz", "common.text.link": "Odkaz",
"common.text.navigate-to-link": "Navštívit odkaz", "common.text.navigate-to-link": "Visit link",
"common.text.or": "nebo", "common.text.or": "nebo",
"common.text.redirecting": "Přesměrování...", "common.text.redirecting": "Redirecting...",
"common.button.go-back": "Vrátit se zpět", "common.button.go-back": "Vrátit se zpět",
"common.button.go-home": "Jít domů", "common.button.go-home": "Jít domů",
"common.notify.copied": "Váš odkaz byl zkopírován do schránky", "common.notify.copied": "Váš odkaz byl zkopírován do schránky",
@@ -524,11 +524,11 @@ export default {
"common.success": "Úspěch", "common.success": "Úspěch",
"common.error": "Chyba", "common.error": "Chyba",
"common.error.unknown": "Došlo k neznámé chybě", "common.error.unknown": "Došlo k neznámé chybě",
"common.error.invalid-email": "Neplatná e-mailová adresa", "common.error.invalid-email": "Invalid email address",
"common.error.too-short": "Musí mít alespoň {length} znaků", "common.error.too-short": "Musí mít alespoň {length} znaků",
"common.error.too-long": "Musí mít maximálně {length} znaků", "common.error.too-long": "Musí mít maximálně {length} znaků",
"common.error.number-too-small": "Musí být minimálně {min}", "common.error.number-too-small": "Must be at least {min}",
"common.error.number-too-large": "Musí být nejvýše {max}", "common.error.number-too-large": "Must be at most {max}",
"common.error.exact-length": "Musí mít přesně {length} znaků", "common.error.exact-length": "Musí mít přesně {length} znaků",
"common.error.invalid-number": "Musí být číslo", "common.error.invalid-number": "Musí být číslo",
"common.error.field-required": "Toto pole je povinné" "common.error.field-required": "Toto pole je povinné"

View File

@@ -423,7 +423,6 @@ export default {
"admin.config.title": "Configuration", "admin.config.title": "Configuration",
"admin.config.category.general": "General", "admin.config.category.general": "General",
"admin.config.category.share": "Share", "admin.config.category.share": "Share",
"admin.config.category.cache": "Cache",
"admin.config.category.email": "Email", "admin.config.category.email": "Email",
"admin.config.category.smtp": "SMTP", "admin.config.category.smtp": "SMTP",
"admin.config.category.oauth": "Social Login", "admin.config.category.oauth": "Social Login",
@@ -447,19 +446,6 @@ export default {
"Change your logo by uploading a new image. The image must be a PNG and should have the format 1:1.", "Change your logo by uploading a new image. The image must be a PNG and should have the format 1:1.",
"admin.config.general.logo.placeholder": "Pick image", "admin.config.general.logo.placeholder": "Pick image",
"admin.config.cache.ttl": "TTL",
"admin.config.cache.ttl.description":
"Time in second to keep information inside the cache.",
"admin.config.cache.max-items": "Maximum items",
"admin.config.cache.max-items.description":
"Maximum number of items inside the cache.",
"admin.config.cache.redis-enabled": "Redis enabled",
"admin.config.cache.redis-enabled.description":
"Normally Pingvin Share caches information in memory. If you run multiple instances of Pingvin Share, you need to enable Redis caching to share the cache between the instances.",
"admin.config.cache.redis-url": "Redis URL",
"admin.config.cache.redis-url.description":
"Url to connect to the Redis instance used for caching.",
"admin.config.email.enable-share-email-recipients": "admin.config.email.enable-share-email-recipients":
"Enable email recipient sharing", "Enable email recipient sharing",
"admin.config.email.enable-share-email-recipients.description": "admin.config.email.enable-share-email-recipients.description":
@@ -696,6 +682,9 @@ export default {
"admin.config.legal.privacy-policy-url": "Privacy policy URL", "admin.config.legal.privacy-policy-url": "Privacy policy URL",
"admin.config.legal.privacy-policy-url.description": "admin.config.legal.privacy-policy-url.description":
"If you already have a privacy policy page you can link it here instead of using the text field.", "If you already have a privacy policy page you can link it here instead of using the text field.",
"admin.config.legal.company-sharing-policy": "Sharing policy ",
"admin.config.legal.company-sharing-policy.description":
"A notice to be displayed to users on the upload page. This is to remind users what should and shouldn't be shared externally.",
// 404 // 404
"404.description": "Oops this page doesn't exist.", "404.description": "Oops this page doesn't exist.",

View File

@@ -270,7 +270,7 @@ export default {
// /share/[id] // /share/[id]
"share.title": "Compartilhar {shareId}", "share.title": "Compartilhar {shareId}",
"share.description": "Veja o que eu compartilhei com você!", "share.description": "Veja o que eu compartilhei com você!",
"share.fileCount": "{count, plural, one {}=1 {# arquivo} other {# arquivos}} · {size} (arquivo zip pode ser menor devido à compressão)", "share.fileCount": "{count, plural, =1 {# file} other {# files}} · {size} (zip file may be smaller due to compression)",
"share.error.visitor-limit-exceeded.title": "Limite de visitantes excedido", "share.error.visitor-limit-exceeded.title": "Limite de visitantes excedido",
"share.error.visitor-limit-exceeded.description": "O limite de visitantes deste compartilhamento foi excedido.", "share.error.visitor-limit-exceeded.description": "O limite de visitantes deste compartilhamento foi excedido.",
"share.error.removed.title": "Compartilhamento removido", "share.error.removed.title": "Compartilhamento removido",

View File

@@ -279,7 +279,7 @@ export default {
"share.error.access-denied.title": "Приватное доступ", "share.error.access-denied.title": "Приватное доступ",
"share.error.access-denied.description": "У текущей учетной записи нет разрешения на доступ к этому ресурсу", "share.error.access-denied.description": "У текущей учетной записи нет разрешения на доступ к этому ресурсу",
"share.modal.password.title": "Требуется пароль", "share.modal.password.title": "Требуется пароль",
"share.modal.password.description": "Пожалуйста, введите пароль для доступа к этому ресурсу.", "share.modal.password.description": "Please enter the password to access this share.",
"share.modal.password": "Пароль", "share.modal.password": "Пароль",
"share.modal.error.invalid-password": "Неверный пароль", "share.modal.error.invalid-password": "Неверный пароль",
"share.button.download-all": "Скачать все", "share.button.download-all": "Скачать все",

View File

@@ -3,7 +3,7 @@ export default {
"navbar.upload": "Ladda upp", "navbar.upload": "Ladda upp",
"navbar.signin": "Logga in", "navbar.signin": "Logga in",
"navbar.home": "Startsida", "navbar.home": "Startsida",
"navbar.signup": "Registrera dig", "navbar.signup": "Sign up",
"navbar.links.shares": "Mina delningar", "navbar.links.shares": "Mina delningar",
"navbar.links.reverse": "Omvända delningar", "navbar.links.reverse": "Omvända delningar",
"navbar.avatar.account": "Mitt konto", "navbar.avatar.account": "Mitt konto",
@@ -16,9 +16,9 @@ export default {
"home.bullet.a.name": "Lokalt installerad", "home.bullet.a.name": "Lokalt installerad",
"home.bullet.a.description": "Hosta Pingvin Share på din egen maskin.", "home.bullet.a.description": "Hosta Pingvin Share på din egen maskin.",
"home.bullet.b.name": "Sekretess", "home.bullet.b.name": "Sekretess",
"home.bullet.b.description": "Dina filer är dina och kommer aldrig att nås av tredje part.", "home.bullet.b.description": "Your files are yours and will never be accessed by third parties.",
"home.bullet.c.name": "Ingen irriterande filstorleksbegränsning", "home.bullet.c.name": "Ingen irriterande filstorleksbegränsning",
"home.bullet.c.description": "Ladda upp filer så stora du vill. Endast hårddisken kommer vara din begränsning.", "home.bullet.c.description": "Upload files as big as you want. Only your hard drive will be your limit.",
"home.button.start": "Kom igång", "home.button.start": "Kom igång",
"home.button.source": "Källkod", "home.button.source": "Källkod",
// END / // END /
@@ -34,7 +34,7 @@ export default {
"signIn.notify.totp-required.title": "Tvåfaktorsautentisering krävs", "signIn.notify.totp-required.title": "Tvåfaktorsautentisering krävs",
"signIn.notify.totp-required.description": "Vänligen ange din tvåfaktorsautentiseringskod", "signIn.notify.totp-required.description": "Vänligen ange din tvåfaktorsautentiseringskod",
"signIn.oauth.or": "ELLER", "signIn.oauth.or": "ELLER",
"signIn.oauth.signInWith": "Logga in med", "signIn.oauth.signInWith": "Sign in with",
"signIn.oauth.github": "GitHub", "signIn.oauth.github": "GitHub",
"signIn.oauth.google": "Google", "signIn.oauth.google": "Google",
"signIn.oauth.microsoft": "Microsoft", "signIn.oauth.microsoft": "Microsoft",
@@ -58,12 +58,12 @@ export default {
// /auth/reset-password // /auth/reset-password
"resetPassword.title": "Glömt ditt lösenord?", "resetPassword.title": "Glömt ditt lösenord?",
"resetPassword.description": "Ange din e-postadress för att återställa ditt lösenord.", "resetPassword.description": "Ange din e-postadress för att återställa ditt lösenord.",
"resetPassword.notify.success": "Ett meddelande med en länk för att återställa ditt lösenord har skickats om den angivna e-postadressen finns registrerad.", "resetPassword.notify.success": "A message with a link to reset your password has been sent if the provided email exists.",
"resetPassword.button.back": "Tillbaka till inloggningssidan", "resetPassword.button.back": "Tillbaka till inloggningssidan",
"resetPassword.text.resetPassword": "Återställ lösenord", "resetPassword.text.resetPassword": "Återställ lösenord",
"resetPassword.text.enterNewPassword": "Ange ditt nya lösenord", "resetPassword.text.enterNewPassword": "Ange ditt nya lösenord",
"resetPassword.input.password": "Nytt lösenord", "resetPassword.input.password": "Nytt lösenord",
"resetPassword.notify.passwordReset": "Ditt lösenord har återställts.", "resetPassword.notify.passwordReset": "Your password has been successfully reset.",
// /account // /account
"account.title": "Mitt konto", "account.title": "Mitt konto",
"account.card.info.title": "Kontoinformation", "account.card.info.title": "Kontoinformation",
@@ -73,7 +73,7 @@ export default {
"account.card.password.title": "Lösenord", "account.card.password.title": "Lösenord",
"account.card.password.old": "Gammalt lösenord", "account.card.password.old": "Gammalt lösenord",
"account.card.password.new": "Nytt lösenord", "account.card.password.new": "Nytt lösenord",
"account.card.password.noPasswordSet": "Du har inget lösenord. För att logga in med din e-postadress och lösenord måste du skapa ett lösenord.", "account.card.password.noPasswordSet": "You do not have a password set. To sign in using your email and password, you need to create a password.",
"account.notify.password.success": "Lösenordet har ändrats", "account.notify.password.success": "Lösenordet har ändrats",
"account.card.oauth.title": "Inloggning via sociala nätverk", "account.card.oauth.title": "Inloggning via sociala nätverk",
"account.card.oauth.github": "GitHub", "account.card.oauth.github": "GitHub",
@@ -85,7 +85,7 @@ export default {
"account.card.oauth.unlink": "Avlänka", "account.card.oauth.unlink": "Avlänka",
"account.card.oauth.unlinked": "Avlänkad", "account.card.oauth.unlinked": "Avlänkad",
"account.modal.unlink.title": "Avlänka konto", "account.modal.unlink.title": "Avlänka konto",
"account.modal.unlink.description": "Om du kopplar bort dina sociala konton kan det leda till att du förlorar ditt konto om du inte kommer ihåg dina inloggningsuppgifter", "account.modal.unlink.description": "Unlinking your social accounts may cause you to lose your account if you don't remember your login credentials",
"account.notify.oauth.unlinked.success": "Avlänkning utförd", "account.notify.oauth.unlinked.success": "Avlänkning utförd",
"account.card.security.title": "Säkerhet", "account.card.security.title": "Säkerhet",
"account.card.security.totp.enable.description": "Ange ditt nuvarande lösenord för att aktivera TOTP", "account.card.security.totp.enable.description": "Ange ditt nuvarande lösenord för att aktivera TOTP",
@@ -121,15 +121,15 @@ export default {
"account.shares.table.name": "Namn", "account.shares.table.name": "Namn",
"account.shares.table.description": "Beskrivning", "account.shares.table.description": "Beskrivning",
"account.shares.table.visitors": "Besökare", "account.shares.table.visitors": "Besökare",
"account.shares.table.expiresAt": "Förfaller", "account.shares.table.expiresAt": "Expires on",
"account.shares.table.createdAt": "Skapad", "account.shares.table.createdAt": "Created on",
"account.shares.table.size": "Storlek", "account.shares.table.size": "Storlek",
"account.shares.table.password-protected": "Lösenordsskyddad", "account.shares.table.password-protected": "Password protected",
"account.shares.table.visitor-count": "{count} av {max}", "account.shares.table.visitor-count": "{count} of {max}",
"account.shares.table.expiry-never": "Aldrig", "account.shares.table.expiry-never": "Never",
"account.shares.modal.share-informations": "Information om delning", "account.shares.modal.share-informations": "Information om delning",
"account.shares.modal.share-link": "Delningslänk", "account.shares.modal.share-link": "Delningslänk",
"account.shares.modal.delete.title": "Ta bort delning: {share}", "account.shares.modal.delete.title": "Delete share: {share}",
"account.shares.modal.delete.description": "Vill du verkligen ta bort denna delning?", "account.shares.modal.delete.description": "Vill du verkligen ta bort denna delning?",
// END /account/shares // END /account/shares
// /account/reverseShares // /account/reverseShares
@@ -153,12 +153,12 @@ export default {
"account.reverseShares.modal.expiration.year-singular": "År", "account.reverseShares.modal.expiration.year-singular": "År",
"account.reverseShares.modal.expiration.year-plural": "År", "account.reverseShares.modal.expiration.year-plural": "År",
"account.reverseShares.modal.max-size.label": "Max storlek på delning", "account.reverseShares.modal.max-size.label": "Max storlek på delning",
"account.reverseShares.modal.send-email": "Skicka e-postaviseringar", "account.reverseShares.modal.send-email": "Send email notifications",
"account.reverseShares.modal.send-email.description": "Skicka ett e-postavisering när en delning skapas med denna länk för omvänd delning.", "account.reverseShares.modal.send-email.description": "Sends you an email notification when a share is created with this reverse share link.",
"account.reverseShares.modal.simplified": "Enkelt läge", "account.reverseShares.modal.simplified": "Simple mode",
"account.reverseShares.modal.simplified.description": "Gör det enkelt för den som laddar upp filen att dela den med dig. De kommer bara att kunna anpassa namn och beskrivning av delningen.", "account.reverseShares.modal.simplified.description": "Make it easy for the person uploading the file to share it with you. They will only be able to customize the name and description of the share.",
"account.reverseShares.modal.public-access": "Allmän åtkomst", "account.reverseShares.modal.public-access": "Public access",
"account.reverseShares.modal.public-access.description": "Gör delningar skapade med denna länk för omvänd delning publik. Om inaktiverad, kommer endast du och delningsskaparen att ha tillgång till den.", "account.reverseShares.modal.public-access.description": "Make the shares created with this reverse share public. If disabled, only you and the share creator will have access to view it.",
"account.reverseShares.modal.max-use.label": "Maxanvändningar", "account.reverseShares.modal.max-use.label": "Maxanvändningar",
"account.reverseShares.modal.max-use.description": "Den maximala mängden gånger denna URL kan användas för att skapa en delning.", "account.reverseShares.modal.max-use.description": "Den maximala mängden gånger denna URL kan användas för att skapa en delning.",
"account.reverseShare.never-expires": "Denna omvända delning kommer aldrig att förfalla.", "account.reverseShare.never-expires": "Denna omvända delning kommer aldrig att förfalla.",
@@ -177,7 +177,7 @@ export default {
// /admin // /admin
"admin.title": "Administration", "admin.title": "Administration",
"admin.button.users": "Användarhantering", "admin.button.users": "Användarhantering",
"admin.button.shares": "Delningshantering", "admin.button.shares": "Share management",
"admin.button.config": "Konfiguration", "admin.button.config": "Konfiguration",
"admin.version": "Version", "admin.version": "Version",
// END /admin // END /admin
@@ -186,14 +186,14 @@ export default {
"admin.users.table.username": "Användarnamn", "admin.users.table.username": "Användarnamn",
"admin.users.table.email": "E-post", "admin.users.table.email": "E-post",
"admin.users.table.admin": "Administratör", "admin.users.table.admin": "Administratör",
"admin.users.edit.update.title": "Redigera användare: {username}", "admin.users.edit.update.title": "Edit user: {username}",
"admin.users.edit.update.admin-privileges": "Administratörsbehörigheter", "admin.users.edit.update.admin-privileges": "Administratörsbehörigheter",
"admin.users.edit.update.change-password.title": "Ändra lösenord", "admin.users.edit.update.change-password.title": "Ändra lösenord",
"admin.users.edit.update.change-password.field": "Nytt lösenord", "admin.users.edit.update.change-password.field": "Nytt lösenord",
"admin.users.edit.update.change-password.button": "Spara nytt lösenord", "admin.users.edit.update.change-password.button": "Spara nytt lösenord",
"admin.users.edit.update.notify.password.success": "Lösenordet har ändrats", "admin.users.edit.update.notify.password.success": "Lösenordet har ändrats",
"admin.users.edit.delete.title": "Ta bort användare: {username} ?", "admin.users.edit.delete.title": "Delete user: {username} ?",
"admin.users.edit.delete.description": "Vill du verkligen ta bort denna användare och alla deras delningar?", "admin.users.edit.delete.description": "Do you really want to delete this user and all their shares?",
// showCreateUserModal.tsx // showCreateUserModal.tsx
"admin.users.modal.create.title": "Skapa användare", "admin.users.modal.create.title": "Skapa användare",
"admin.users.modal.create.username": "Användarnamn", "admin.users.modal.create.username": "Användarnamn",
@@ -205,24 +205,24 @@ export default {
"admin.users.modal.create.admin.description": "Om detta markeras kommer användaren att kunna komma åt administratörspanelen.", "admin.users.modal.create.admin.description": "Om detta markeras kommer användaren att kunna komma åt administratörspanelen.",
// END /admin/users // END /admin/users
// /admin/shares // /admin/shares
"admin.shares.title": "Delningshantering", "admin.shares.title": "Share management",
"admin.shares.table.id": "Delnings ID", "admin.shares.table.id": "Share ID",
"admin.shares.table.username": "Skapare", "admin.shares.table.username": "Creator",
"admin.shares.table.visitors": "Besökare", "admin.shares.table.visitors": "Visitors",
"admin.shares.table.expires": "Förfaller", "admin.shares.table.expires": "Expires on",
"admin.shares.edit.delete.title": "Ta bort delning: {id}", "admin.shares.edit.delete.title": "Delete share: {id}",
"admin.shares.edit.delete.description": "Vill du verkligen ta bort denna delning?", "admin.shares.edit.delete.description": "Do you really want to delete this share?",
// END /admin/shares // END /admin/shares
// /upload // /upload
"upload.title": "Ladda upp", "upload.title": "Ladda upp",
"upload.notify.confirm-leave": "Är du säker på att du vill lämna denna sida? Din uppladdning kommer att avbrytas.", "upload.notify.confirm-leave": "Are you sure you want to leave this page? Your upload will be canceled.",
"upload.notify.generic-error": "Ett fel uppstod när din delning skulle slutföras.", "upload.notify.generic-error": "Ett fel uppstod när din delning skulle slutföras.",
"upload.notify.count-failed": "{count} filer kunde inte laddas upp. Försöker igen.", "upload.notify.count-failed": "{count} filer kunde inte laddas upp. Försöker igen.",
"upload.reverse-share.error.invalid.title": "Ogiltig länk för omvänd delning", "upload.reverse-share.error.invalid.title": "Invalid reverse share link",
"upload.reverse-share.error.invalid.description": "Denna omvänd delning har gått ut eller är ogiltig.", "upload.reverse-share.error.invalid.description": "This reverse share has expired or is invalid.",
// Dropzone.tsx // Dropzone.tsx
"upload.dropzone.title": "Ladda upp filer", "upload.dropzone.title": "Ladda upp filer",
"upload.dropzone.description": "Dra och släpp filer här för att starta din delning. Vi kan endast acceptera filer som är mindre än {maxSize} totalt.", "upload.dropzone.description": "Drag'n'drop files here to start your share. We only accept files up to {maxSize} in total.",
"upload.dropzone.notify.file-too-big": "Dina filer överskrider den maximala storleken på {maxSize}.", "upload.dropzone.notify.file-too-big": "Dina filer överskrider den maximala storleken på {maxSize}.",
// FileList.tsx // FileList.tsx
"upload.filelist.name": "Namn", "upload.filelist.name": "Namn",
@@ -234,8 +234,8 @@ export default {
"upload.modal.not-signed-in": "Du är inte inloggad", "upload.modal.not-signed-in": "Du är inte inloggad",
"upload.modal.not-signed-in-description": "Du kommer inte att kunna ta bort din delning manuellt och visa antalet besökare.", "upload.modal.not-signed-in-description": "Du kommer inte att kunna ta bort din delning manuellt och visa antalet besökare.",
"upload.modal.expires.never": "aldrig", "upload.modal.expires.never": "aldrig",
"upload.modal.expires.never-long": "Permanent delning", "upload.modal.expires.never-long": "Permanent share",
"upload.modal.expires.error.too-long": "Förfallodatum överskrider maximalt av {max}.", "upload.modal.expires.error.too-long": "Expiration date exceeds the maximum of {max}.",
"upload.modal.link.label": "Länk", "upload.modal.link.label": "Länk",
"upload.modal.expires.label": "Förfaller", "upload.modal.expires.label": "Förfaller",
"upload.modal.expires.minute-singular": "Minut", "upload.modal.expires.minute-singular": "Minut",
@@ -250,9 +250,9 @@ export default {
"upload.modal.expires.month-plural": "Månader", "upload.modal.expires.month-plural": "Månader",
"upload.modal.expires.year-singular": "År", "upload.modal.expires.year-singular": "År",
"upload.modal.expires.year-plural": "År", "upload.modal.expires.year-plural": "År",
"upload.modal.accordion.name-and-description.title": "Namn och beskrivning", "upload.modal.accordion.name-and-description.title": "Name and description",
"upload.modal.accordion.name-and-description.name.placeholder": "Namn", "upload.modal.accordion.name-and-description.name.placeholder": "Name",
"upload.modal.accordion.name-and-description.description.placeholder": "Anteckning till mottagare av denna delning", "upload.modal.accordion.name-and-description.description.placeholder": "Note for the recipients of this share",
"upload.modal.accordion.email.title": "E-postmottagare", "upload.modal.accordion.email.title": "E-postmottagare",
"upload.modal.accordion.email.placeholder": "Ange e-postmottagare", "upload.modal.accordion.email.placeholder": "Ange e-postmottagare",
"upload.modal.accordion.email.invalid-email": "Ogiltig e-postadress", "upload.modal.accordion.email.invalid-email": "Ogiltig e-postadress",
@@ -265,30 +265,30 @@ export default {
"upload.modal.completed.never-expires": "Denna delning kommer aldrig att upphöra.", "upload.modal.completed.never-expires": "Denna delning kommer aldrig att upphöra.",
"upload.modal.completed.expires-on": "Denna delning upphör att gälla {expiration}.", "upload.modal.completed.expires-on": "Denna delning upphör att gälla {expiration}.",
"upload.modal.completed.share-ready": "Delning redo", "upload.modal.completed.share-ready": "Delning redo",
"upload.modal.completed.notified-reverse-share-creator": "Vi har meddelat skaparen av omvänd delning. Du kan också manuellt dela denna länk med dem på andra sätt.", "upload.modal.completed.notified-reverse-share-creator": "We have notified the creator of the reverse share. You can also manually share this link with them through other means.",
// END /upload // END /upload
// /share/[id] // /share/[id]
"share.title": "Delning {shareId}", "share.title": "Delning {shareId}",
"share.description": "Titta vad jag har delat med dig!", "share.description": "Titta vad jag har delat med dig!",
"share.fileCount": "{count, plural, =1 {# fil} other {# filer}} · {size} (zip-filen kan vara mindre på grund av komprimering)", "share.fileCount": "{count, plural, =1 {# file} other {# files}} · {size} (zip file may be smaller due to compression)",
"share.error.visitor-limit-exceeded.title": "Besökargränsen överskriden", "share.error.visitor-limit-exceeded.title": "Besökargränsen överskriden",
"share.error.visitor-limit-exceeded.description": "Gränsen för antalet besökare för denna delning har överskridits.", "share.error.visitor-limit-exceeded.description": "Gränsen för antalet besökare för denna delning har överskridits.",
"share.error.removed.title": "Delning borttagen", "share.error.removed.title": "Delning borttagen",
"share.error.not-found.title": "Delningen hittades inte", "share.error.not-found.title": "Delningen hittades inte",
"share.error.not-found.description": "Delningen du letar efter existerar inte.", "share.error.not-found.description": "Delningen du letar efter existerar inte.",
"share.error.access-denied.title": "Privat delning", "share.error.access-denied.title": "Private share",
"share.error.access-denied.description": "Det aktuella kontot har inte behörighet att komma åt denna delning", "share.error.access-denied.description": "The current account does not have permission to access this share",
"share.modal.password.title": "Lösenord krävs", "share.modal.password.title": "Lösenord krävs",
"share.modal.password.description": "Ange lösenordet för att komma åt denna delning.", "share.modal.password.description": "Please enter the password to access this share.",
"share.modal.password": "Lösenord", "share.modal.password": "Lösenord",
"share.modal.error.invalid-password": "Ogiltigt lösenord", "share.modal.error.invalid-password": "Ogiltigt lösenord",
"share.button.download-all": "Ladda ner allt", "share.button.download-all": "Ladda ner allt",
"share.notify.download-all-preparing": "Delningen förbereds. Försök igen om några minuter.", "share.notify.download-all-preparing": "The share is being prepared. Please try again in a few minutes.",
"share.modal.file-link": "Fillänk", "share.modal.file-link": "Fillänk",
"share.table.name": "Namn", "share.table.name": "Namn",
"share.table.size": "Storlek", "share.table.size": "Storlek",
"share.modal.file-preview.error.not-supported.title": "Förhandsgranskning stöds ej", "share.modal.file-preview.error.not-supported.title": "Förhandsgranskning stöds ej",
"share.modal.file-preview.error.not-supported.description": "Förhandsvisningar stöds inte för denna typ av filer. Ladda ner filen för att se den.", "share.modal.file-preview.error.not-supported.description": "Previews are not supported for this type of files. Please download the file to view it.",
// END /share/[id] // END /share/[id]
// /share/[id]/edit // /share/[id]/edit
"share.edit.title": "Redigera {shareId}", "share.edit.title": "Redigera {shareId}",
@@ -297,14 +297,14 @@ export default {
"share.edit.notify.save-success": "Delningen har uppdaterats", "share.edit.notify.save-success": "Delningen har uppdaterats",
// END /share/[id]/edit // END /share/[id]/edit
// /imprint // /imprint
"imprint.title": "Avtryck", "imprint.title": "Imprint",
// END /imprint // END /imprint
// /privacy // /privacy
"privacy.title": "Integritetspolicy", "privacy.title": "Privacy Policy",
// END /privacy // END /privacy
// /admin/config // /admin/config
"admin.config.config-file-warning.title": "Konfigurationsfil finns", "admin.config.config-file-warning.title": "Configuration file present",
"admin.config.config-file-warning.description": "Eftersom du har en konfigurerad Pingvin Share med en konfigurationsfil kan du inte ändra konfigurationen genom UI.", "admin.config.config-file-warning.description": "As you have a configured Pingvin Share with a configuration file, you can't change the configuration through the UI.",
"admin.config.title": "Konfiguration", "admin.config.title": "Konfiguration",
"admin.config.category.general": "Allmänt", "admin.config.category.general": "Allmänt",
"admin.config.category.share": "Delning", "admin.config.category.share": "Delning",
@@ -315,70 +315,70 @@ export default {
"admin.config.general.app-name.description": "Namn på applikationen", "admin.config.general.app-name.description": "Namn på applikationen",
"admin.config.general.app-url": "Appens URL", "admin.config.general.app-url": "Appens URL",
"admin.config.general.app-url.description": "På vilken URL Pingvin Share finns", "admin.config.general.app-url.description": "På vilken URL Pingvin Share finns",
"admin.config.general.secure-cookies": "Skydda kakor", "admin.config.general.secure-cookies": "Secure cookies",
"admin.config.general.secure-cookies.description": "Om du vill ställa in den säkra flaggan på kakor. Om aktiverad, kommer webbplatsen inte att fungera när den används via HTTP.", "admin.config.general.secure-cookies.description": "Whether to set the secure flag on cookies. If enabled, the site will not function when accessed over HTTP.",
"admin.config.general.show-home-page": "Visa startsidan", "admin.config.general.show-home-page": "Visa startsidan",
"admin.config.general.show-home-page.description": "Om du vill visa startsidan", "admin.config.general.show-home-page.description": "Om du vill visa startsidan",
"admin.config.general.session-duration": "Sessionsvaraktighet", "admin.config.general.session-duration": "Session Duration",
"admin.config.general.session-duration.description": "Tid efter vilken en användare måste logga in igen (standard: 3 månader).", "admin.config.general.session-duration.description": "Time after which a user must log in again (default: 3 months).",
"admin.config.general.logo": "Logotyp", "admin.config.general.logo": "Logotyp",
"admin.config.general.logo.description": "Ändra din logotyp genom att ladda upp en ny bild. Bilden måste vara en PNG och bör ha formatet 1:1.", "admin.config.general.logo.description": "Ändra din logotyp genom att ladda upp en ny bild. Bilden måste vara en PNG och bör ha formatet 1:1.",
"admin.config.general.logo.placeholder": "Välj bild", "admin.config.general.logo.placeholder": "Välj bild",
"admin.config.email.enable-share-email-recipients": "Aktivera delning av e-postmottagare", "admin.config.email.enable-share-email-recipients": "Enable email recipient sharing",
"admin.config.email.enable-share-email-recipients.description": "Om du vill tillåta e-postdelning med mottagare. Aktivera endast detta om SMTP är aktiverat.", "admin.config.email.enable-share-email-recipients.description": "Whether to allow email sharing with recipients. Only enable this if SMTP is activated.",
"admin.config.email.share-recipients-subject": "Delning ämne", "admin.config.email.share-recipients-subject": "Delning ämne",
"admin.config.email.share-recipients-subject.description": "Ämne för e-postmeddelandet som skickas till delningsmottagarna.", "admin.config.email.share-recipients-subject.description": "Ämne för e-postmeddelandet som skickas till delningsmottagarna.",
"admin.config.email.share-recipients-message": "Delning meddelande", "admin.config.email.share-recipients-message": "Delning meddelande",
"admin.config.email.share-recipients-message.description": "Meddelande som skickas till delningens mottagare. Tillgängliga variabler:\n {creator} - Användarnamnet för skaparen av delningen\n {creatorEmail} - E-postadressen för skaparen av delningen\n {shareUrl} - URL för delningen\n {desc} - Beskrivningen av delningen\n {expires} - Förfallodatumet för delningen\n Variablerna kommer att ersättas med det faktiska värdet.", "admin.config.email.share-recipients-message.description": "Message which gets sent to the share recipients. Available variables:\n {creator} - The username of the creator of the share\n {creatorEmail} - The email of the creator of the share\n {shareUrl} - The URL of the share\n {desc} - The description of the share\n {expires} - The expiration date of the share\n These variables will be replaced with the actual value.",
"admin.config.email.reverse-share-subject": "Omvänd delning ämne", "admin.config.email.reverse-share-subject": "Omvänd delning ämne",
"admin.config.email.reverse-share-subject.description": "Ämne för det skickade e-postmeddelandet när någon skapade en delning med din omvända delningslänk.", "admin.config.email.reverse-share-subject.description": "Subject of the sent email when someone created a share with your reverse share link.",
"admin.config.email.reverse-share-message": "Omvänd delning meddelande", "admin.config.email.reverse-share-message": "Omvänd delning meddelande",
"admin.config.email.reverse-share-message.description": "Meddelande som skickas när någon skapade en delning med din länk för omvänd delning. {shareUrl} kommer att ersättas med skaparens namn och delningens URL.", "admin.config.email.reverse-share-message.description": "Meddelande som skickas när någon skapade en delning med din länk för omvänd delning. {shareUrl} kommer att ersättas med skaparens namn och delningens URL.",
"admin.config.email.reset-password-subject": "Återställ lösenord ämne", "admin.config.email.reset-password-subject": "Återställ lösenord ämne",
"admin.config.email.reset-password-subject.description": "Ämne för det skickade e-postmeddelandet när en användare begär en återställning av lösenordet.", "admin.config.email.reset-password-subject.description": "Subject of the sent email when a user requests a password reset.",
"admin.config.email.reset-password-message": "Återställ lösenord meddelande", "admin.config.email.reset-password-message": "Återställ lösenord meddelande",
"admin.config.email.reset-password-message.description": "Meddelande som skickas när en användare begär en lösenordsåterställning. {url} kommer att ersättas med länken för lösenordsåterställningen.", "admin.config.email.reset-password-message.description": "Meddelande som skickas när en användare begär en lösenordsåterställning. {url} kommer att ersättas med länken för lösenordsåterställningen.",
"admin.config.email.invite-subject": "Inbjudan ämne", "admin.config.email.invite-subject": "Inbjudan ämne",
"admin.config.email.invite-subject.description": "Ämne för det skickade e-postmeddelandet när en administratör bjuder in en användare.", "admin.config.email.invite-subject.description": "Subject of the sent email when an admin invites a user.",
"admin.config.email.invite-message": "Inbjudningsmeddelanden", "admin.config.email.invite-message": "Inbjudningsmeddelanden",
"admin.config.email.invite-message.description": "Meddelande som skickas när en administratör bjuder in en användare. {url} kommer att ersättas med inbjudningsadressen och {password} med lösenordet.", "admin.config.email.invite-message.description": "Message which gets sent when an admin invites a user. {url} will be replaced with the invite URL, {email} with the email and {password} with the users password.",
"admin.config.share.allow-registration": "Tillåt registrering", "admin.config.share.allow-registration": "Tillåt registrering",
"admin.config.share.allow-registration.description": "Om registrering är tillåten", "admin.config.share.allow-registration.description": "Om registrering är tillåten",
"admin.config.share.allow-unauthenticated-shares": "Tillåt oautentiserade delningar", "admin.config.share.allow-unauthenticated-shares": "Tillåt oautentiserade delningar",
"admin.config.share.allow-unauthenticated-shares.description": "Om oautentiserade användare kan skapa delningar", "admin.config.share.allow-unauthenticated-shares.description": "Om oautentiserade användare kan skapa delningar",
"admin.config.share.max-expiration": "Max utgångsdatum", "admin.config.share.max-expiration": "Max utgångsdatum",
"admin.config.share.max-expiration.description": "Max längd innan en delning förfaller. Sätt till 0 för att tillåta obegränsad förfallotid.", "admin.config.share.max-expiration.description": "Maximum share expiration. Set to 0 to allow unlimited expiration.",
"admin.config.share.share-id-length": "Standardlängd på delnings-ID", "admin.config.share.share-id-length": "Default share ID length",
"admin.config.share.share-id-length.description": "Standardlängd för genererat ID för en delning. Detta värde används också för att generera länkar för omvända delningar. Ett värde under 8 anses inte vara säkert.", "admin.config.share.share-id-length.description": "Default length for the generated ID of a share. This value is also used to generate links for reverse shares. A value below 8 is not considered secure.",
"admin.config.share.max-size": "Max storlek", "admin.config.share.max-size": "Max storlek",
"admin.config.share.max-size.description": "Maximal storlek för delning", "admin.config.share.max-size.description": "Maximal storlek för delning",
"admin.config.share.zip-compression-level": "Komprimeringsnivå för zip", "admin.config.share.zip-compression-level": "Komprimeringsnivå för zip",
"admin.config.share.zip-compression-level.description": "Justera nivån för att balansera mellan filstorlek och komprimeringshastighet. Giltiga värden varierar från 0 till 9, med 0 som ingen komprimering och 9 som maximal komprimering. ", "admin.config.share.zip-compression-level.description": "Justera nivån för att balansera mellan filstorlek och komprimeringshastighet. Giltiga värden varierar från 0 till 9, med 0 som ingen komprimering och 9 som maximal komprimering. ",
"admin.config.share.chunk-size": "Bitstorleken", "admin.config.share.chunk-size": "Bitstorleken",
"admin.config.share.chunk-size.description": "Justera bitstorleken för dina uppladdningar för att balansera effektivitet och tillförlitlighet enligt din internetanslutning. Mindre bitar kan öka framgångsgraden för instabila anslutningar, medan större bitar snabbar upp uppladdningar för stabila anslutningar.", "admin.config.share.chunk-size.description": "Adjust the chunk size for your uploads to balance efficiency and reliability according to your internet connection. Smaller chunks can enhance success rates for unstable connections, while larger chunks make uploads faster for stable connections.",
"admin.config.share.auto-open-share-modal": "Öppna automatiskt skapa delningsmodal", "admin.config.share.auto-open-share-modal": "Auto open create share modal",
"admin.config.share.auto-open-share-modal.description": "Modalen för att skapa delning visas automatiskt när en användare väljer filer, vilket tar bort behovet av att manuellt klicka på knappen.", "admin.config.share.auto-open-share-modal.description": "The share creation modal automatically appears when a user selects files, eliminating the need to manually click the button.",
"admin.config.smtp.enabled": "Aktivera", "admin.config.smtp.enabled": "Enable",
"admin.config.smtp.enabled.description": "Om SMTP skall vara aktiverat. Ange endast detta som sant om du angav adress, port, e-post, användare och lösenord för din SMTP-server.", "admin.config.smtp.enabled.description": "Om SMTP skall vara aktiverat. Ange endast detta som sant om du angav adress, port, e-post, användare och lösenord för din SMTP-server.",
"admin.config.smtp.host": "Adress", "admin.config.smtp.host": "Adress",
"admin.config.smtp.host.description": "Adress för SMTP-servern", "admin.config.smtp.host.description": "Adress för SMTP-servern",
"admin.config.smtp.port": "Port", "admin.config.smtp.port": "Port",
"admin.config.smtp.port.description": "Port för SMTP-servern", "admin.config.smtp.port.description": "Port för SMTP-servern",
"admin.config.smtp.email": "E-post", "admin.config.smtp.email": "E-post",
"admin.config.smtp.email.description": "E-postadress som e-postmeddelanden skickas från", "admin.config.smtp.email.description": "Email address from which the emails get sent",
"admin.config.smtp.username": "Användarnamn", "admin.config.smtp.username": "Användarnamn",
"admin.config.smtp.username.description": "Användarnamn för SMTP-servern", "admin.config.smtp.username.description": "Användarnamn för SMTP-servern",
"admin.config.smtp.password": "Lösenord", "admin.config.smtp.password": "Lösenord",
"admin.config.smtp.password.description": "Lösenord för SMTP-servern", "admin.config.smtp.password.description": "Lösenord för SMTP-servern",
"admin.config.smtp.button.test": "Skicka testmeddelande", "admin.config.smtp.button.test": "Skicka testmeddelande",
"admin.config.smtp.allow-unauthorized-certificates": "Lita på obehöriga SMTP-servercertifikat", "admin.config.smtp.allow-unauthorized-certificates": "Trust unauthorized SMTP server certificates",
"admin.config.smtp.allow-unauthorized-certificates.description": "Sätt endast detta till sant om du behöver lita på självsignerade certifikat.", "admin.config.smtp.allow-unauthorized-certificates.description": "Only set this to true if you need to trust self signed certificates.",
"admin.config.oauth.allow-registration": "Tillåt registrering", "admin.config.oauth.allow-registration": "Tillåt registrering",
"admin.config.oauth.allow-registration.description": "Tillåt användare att registrera sig via social inloggning", "admin.config.oauth.allow-registration.description": "Tillåt användare att registrera sig via social inloggning",
"admin.config.oauth.ignore-totp": "Ignorera TOTP", "admin.config.oauth.ignore-totp": "Ignorera TOTP",
"admin.config.oauth.ignore-totp.description": "Om du vill ignorera TOTP när användaren använder social inloggning", "admin.config.oauth.ignore-totp.description": "Om du vill ignorera TOTP när användaren använder social inloggning",
"admin.config.oauth.disable-password": "Inaktivera lösenordsinloggning", "admin.config.oauth.disable-password": "Disable password login",
"admin.config.oauth.disable-password.description": "Om du vill inaktivera lösenordsinloggning\nSe till att en OAuth leverantör är korrekt konfigurerad innan du aktiverar denna konfiguration för att undvika att bli låst.", "admin.config.oauth.disable-password.description": "Whether to disable password login\nMake sure that an OAuth provider is properly configured before activating this configuration to avoid being locked out.",
"admin.config.oauth.github-enabled": "GitHub", "admin.config.oauth.github-enabled": "GitHub",
"admin.config.oauth.github-enabled.description": "Om GitHub-inloggning är aktiverad", "admin.config.oauth.github-enabled.description": "Om GitHub-inloggning är aktiverad",
"admin.config.oauth.github-client-id": "GitHub Client ID", "admin.config.oauth.github-client-id": "GitHub Client ID",
@@ -401,8 +401,8 @@ export default {
"admin.config.oauth.microsoft-client-secret.description": "Client secret för Microsoft OAuth", "admin.config.oauth.microsoft-client-secret.description": "Client secret för Microsoft OAuth",
"admin.config.oauth.discord-enabled": "Discord", "admin.config.oauth.discord-enabled": "Discord",
"admin.config.oauth.discord-enabled.description": "Om inloggning via Discord är aktiverat", "admin.config.oauth.discord-enabled.description": "Om inloggning via Discord är aktiverat",
"admin.config.oauth.discord-limited-users": "Discord begränsade användare", "admin.config.oauth.discord-limited-users": "Discord limited users",
"admin.config.oauth.discord-limited-users.description": "Begränsa inloggning till specifika användare genom deras Discord-ID. Lämna det tomt för att inaktivera.", "admin.config.oauth.discord-limited-users.description": "Limit signing in to specific users by their Discord ID. Leave it blank to disable.",
"admin.config.oauth.discord-limited-guild": "Discord begränsa till server ID", "admin.config.oauth.discord-limited-guild": "Discord begränsa till server ID",
"admin.config.oauth.discord-limited-guild.description": "Begränsa inloggning till användare på en specifik server. Lämna tomt för att inaktivera.", "admin.config.oauth.discord-limited-guild.description": "Begränsa inloggning till användare på en specifik server. Lämna tomt för att inaktivera.",
"admin.config.oauth.discord-client-id": "Discord Client ID", "admin.config.oauth.discord-client-id": "Discord Client ID",
@@ -413,72 +413,72 @@ export default {
"admin.config.oauth.oidc-enabled.description": "Om OpenID-inloggning är aktiverat", "admin.config.oauth.oidc-enabled.description": "Om OpenID-inloggning är aktiverat",
"admin.config.oauth.oidc-discovery-uri": "OpenID Connect Discovery URI", "admin.config.oauth.oidc-discovery-uri": "OpenID Connect Discovery URI",
"admin.config.oauth.oidc-discovery-uri.description": "Discovery URI för OpenID Connect OAuth appen", "admin.config.oauth.oidc-discovery-uri.description": "Discovery URI för OpenID Connect OAuth appen",
"admin.config.oauth.oidc-sign-out": "Logga ut från OpenID Connect", "admin.config.oauth.oidc-sign-out": "Sign out from OpenID Connect",
"admin.config.oauth.oidc-sign-out.description": "Om \"Logga ut\" knappen kommer att logga ut från OpenID Connect leverantör", "admin.config.oauth.oidc-sign-out.description": "Whether the “Sign out” button will sign out from the OpenID Connect provider",
"admin.config.oauth.oidc-scope": "OpenID Connect scope", "admin.config.oauth.oidc-scope": "OpenID Connect scope",
"admin.config.oauth.oidc-scope.description": "Scopes som ska begäras från OpenID Connect-provider.", "admin.config.oauth.oidc-scope.description": "Scopes which should be requested from the OpenID Connect provider.",
"admin.config.oauth.oidc-username-claim": "OpenID Connect användarnamn claim", "admin.config.oauth.oidc-username-claim": "OpenID Connect användarnamnsanspråk",
"admin.config.oauth.oidc-username-claim.description": "Användarnamnsanspråk i OpenID Connect ID token. Lämna tomt om du inte vet vad denna konfiguration är.", "admin.config.oauth.oidc-username-claim.description": "Användarnamnsanspråk i OpenID Connect ID token. Lämna tomt om du inte vet vad denna konfiguration är.",
"admin.config.oauth.oidc-role-path": "Sökväg till roller i OpenID Connect token", "admin.config.oauth.oidc-role-path": "Path to roles in OpenID Connect token",
"admin.config.oauth.oidc-role-path.description": "Måste vara en giltig JMES-sökväg som refererar till en lista med roller. " + "Hantera åtkomsträttigheter med OpenID Connect-roller rekommenderas endast om ingen annan identitetsleverantör är konfigurerad och lösenord inloggning är inaktiverad. " + "Lämna det tomt om du inte vet vad denna konfiguration är.", "admin.config.oauth.oidc-role-path.description": "Must be a valid JMES path referencing an array of roles. " + "Managing access rights using OpenID Connect roles is only recommended if no other identity provider is configured and password login is disabled. " + "Leave it blank if you don't know what this config is.",
"admin.config.oauth.oidc-role-general-access": "OpenID Connect-roll för allmän åtkomst", "admin.config.oauth.oidc-role-general-access": "OpenID Connect role for general access",
"admin.config.oauth.oidc-role-general-access.description": "Roll som krävs för allmän åtkomst. Måste finnas i en användares roller för att de ska kunna logga in. " + "Lämna det tomt om du inte vet vad denna konfiguration är.", "admin.config.oauth.oidc-role-general-access.description": "Role required for general access. Must be present in a users roles for them to log in. " + "Leave it blank if you don't know what this config is.",
"admin.config.oauth.oidc-role-admin-access": "OpenID Connect roll för administratörsåtkomst", "admin.config.oauth.oidc-role-admin-access": "OpenID Connect role for admin access",
"admin.config.oauth.oidc-role-admin-access.description": "Roll som krävs för administratörsåtkomst. Måste finnas i en användares roller för att de ska kunna komma ät administratörspanelen. " + "Lämna det tomt om du inte vet vad denna konfiguration är.", "admin.config.oauth.oidc-role-admin-access.description": "Role required for administrative access. Must be present in a users roles for them to access the admin panel. " + "Leave it blank if you don't know what this config is.",
"admin.config.oauth.oidc-client-id": "OpenID Connect Client ID", "admin.config.oauth.oidc-client-id": "OpenID Connect Client ID",
"admin.config.oauth.oidc-client-id.description": "Client ID för OpenID OAuth", "admin.config.oauth.oidc-client-id.description": "Client ID för OpenID OAuth",
"admin.config.oauth.oidc-client-secret": "OpenID Connect Client secret", "admin.config.oauth.oidc-client-secret": "OpenID Connect Client secret",
"admin.config.oauth.oidc-client-secret.description": "Client secret för OpenID OAuth", "admin.config.oauth.oidc-client-secret.description": "Client secret för OpenID OAuth",
"admin.config.category.ldap": "LDAP", "admin.config.category.ldap": "LDAP",
"admin.config.ldap.enabled": "Aktivera LDAP", "admin.config.ldap.enabled": "Enable LDAP",
"admin.config.ldap.enabled.description": "Använd LDAP-autentisering för användarinloggning", "admin.config.ldap.enabled.description": "Use LDAP authentication for user login",
"admin.config.ldap.url": "Server-URL", "admin.config.ldap.url": "Server URL",
"admin.config.ldap.url.description": "URL till LDAP-servern", "admin.config.ldap.url.description": "URL of the LDAP server",
"admin.config.ldap.bind-dn": "Bind DN", "admin.config.ldap.bind-dn": "Bind DN",
"admin.config.ldap.bind-dn.description": "Standardanvändaren som används för att utföra användarens sökning", "admin.config.ldap.bind-dn.description": "Default user used to perform the user search",
"admin.config.ldap.bind-password": "Bind lösenord", "admin.config.ldap.bind-password": "Bind password",
"admin.config.ldap.bind-password.description": "Lösenord som används för att utföra användarsökningen", "admin.config.ldap.bind-password.description": "Password used to perform the user search",
"admin.config.ldap.search-base": "Användarbas", "admin.config.ldap.search-base": "User base",
"admin.config.ldap.search-base.description": "Bas plats, där användarsökningen kommer att utföras", "admin.config.ldap.search-base.description": "Base location, where the user search will be performed",
"admin.config.ldap.search-query": "Användar fråga", "admin.config.ldap.search-query": "User query",
"admin.config.ldap.search-query.description": "Användarfrågan kommer att användas för att söka i 'Användarbasen' för LDAP-användaren. %username% kan användas som platshållare för användaren angiven indata.", "admin.config.ldap.search-query.description": "The user query will be used to search the 'User base' for the LDAP user. %username% can be used as the placeholder for the user given input.",
"admin.config.ldap.admin-groups": "Administratörsgrupp", "admin.config.ldap.admin-groups": "Admin group",
"admin.config.ldap.admin-groups.description": "Grupp krävs för administrativ åtkomst.", "admin.config.ldap.admin-groups.description": "Group required for administrative access.",
"admin.config.ldap.field-name-member-of": "Attributnamn för användargrupper", "admin.config.ldap.field-name-member-of": "User groups attribute name",
"admin.config.ldap.field-name-member-of.description": "LDAP-attributnamn för grupperna, en användare är medlem av. Detta används när du söker efter administratörsgruppen.", "admin.config.ldap.field-name-member-of.description": "LDAP attribute name for the groups, an user is a member of. This is used when checking for the admin group.",
"admin.config.ldap.field-name-email": "Attributnamn för e-postadress", "admin.config.ldap.field-name-email": "User email attribute name",
"admin.config.ldap.field-name-email.description": "LDAP-attributnamn för e-postadress till en användare.", "admin.config.ldap.field-name-email.description": "LDAP attribute name for the email of an user.",
"admin.config.notify.success": "Konfigurationen har uppdaterats.", "admin.config.notify.success": "Configuration updated successfully.",
"admin.config.notify.logo-success": "Logotypen har uppdaterats. Det kan ta några minuter att uppdatera på webbplatsen.", "admin.config.notify.logo-success": "Logo updated successfully. It may take a few minutes to update on the website.",
"admin.config.notify.no-changes": "Inga ändringar att spara.", "admin.config.notify.no-changes": "No changes to save.",
"admin.config.category.s3": "S3", "admin.config.category.s3": "S3",
"admin.config.s3.enabled": "Aktiverad", "admin.config.s3.enabled": "Enabled",
"admin.config.s3.enabled.description": "Om S3 ska användas för att lagra de delade filerna istället för det lokala filsystemet.", "admin.config.s3.enabled.description": "Whether S3 should be used to store the shared files instead of the local file system.",
"admin.config.s3.endpoint": "Endpoint", "admin.config.s3.endpoint": "Endpoint",
"admin.config.s3.endpoint.description": "Webbadressen till S3 bucket.", "admin.config.s3.endpoint.description": "The URL of the S3 bucket.",
"admin.config.s3.region": "Region", "admin.config.s3.region": "Region",
"admin.config.s3.region.description": "Regionen av S3 bucket.", "admin.config.s3.region.description": "The region of the S3 bucket.",
"admin.config.s3.bucket-name": "Bucket namn", "admin.config.s3.bucket-name": "Bucket name",
"admin.config.s3.bucket-name.description": "Namnet på S3 bucket.", "admin.config.s3.bucket-name.description": "The name of the S3 bucket.",
"admin.config.s3.bucket-path": "Sökväg", "admin.config.s3.bucket-path": "Path",
"admin.config.s3.bucket-path.description": "Standardsökvägen som ska användas för att lagra filerna i S3 bucket.", "admin.config.s3.bucket-path.description": "The default path which should be used to store the files in the S3 bucket.",
"admin.config.s3.key": "Nyckel", "admin.config.s3.key": "Key",
"admin.config.s3.key.description": "Nyckeln som gör att du kan komma åt S3 bucket.", "admin.config.s3.key.description": "The key which allows you to access the S3 bucket.",
"admin.config.s3.secret": "Hemlighet", "admin.config.s3.secret": "Secret",
"admin.config.s3.secret.description": "Hemligheten som gör att du kan komma åt S3 bucket.", "admin.config.s3.secret.description": "The secret which allows you to access the S3 bucket.",
"admin.config.s3.use-checksum": "Använd kontrollsumma", "admin.config.s3.use-checksum": "Use checksum",
"admin.config.s3.use-checksum.description": "Stäng av för backends som inte stöder kontrollsumma (t.ex. B2).", "admin.config.s3.use-checksum.description": "Turn off for backends that do not support checksum (e.g. B2).",
"admin.config.category.legal": "Juridisk", "admin.config.category.legal": "Legal",
"admin.config.legal.enabled": "Aktivera juridiska meddelanden", "admin.config.legal.enabled": "Enable legal notices",
"admin.config.legal.enabled.description": "Om en länk till utgivarinformation och integritetspolicy ska visas i sidfoten.", "admin.config.legal.enabled.description": "Whether to show a link to imprint and privacy policy in the footer.",
"admin.config.legal.imprint-text": "Utgivarinformationstext", "admin.config.legal.imprint-text": "Imprint text",
"admin.config.legal.imprint-text.description": "Texten som ska visas i utgivarinformationen. Stödjer Markdown. Lämna tomt för att länka till en extern sida för utgivarinformation.", "admin.config.legal.imprint-text.description": "The text which should be shown in the imprint. Supports Markdown. Leave blank to link to an external imprint page.",
"admin.config.legal.imprint-url": "Länk till utgivarinformation", "admin.config.legal.imprint-url": "Imprint URL",
"admin.config.legal.imprint-url.description": "Om du redan har en sida för utgivarinformation kan du länka till den här istället för att använda textfältet.", "admin.config.legal.imprint-url.description": "If you already have an imprint page you can link it here instead of using the text field.",
"admin.config.legal.privacy-policy-text": "Integritetspolicytext", "admin.config.legal.privacy-policy-text": "Privacy policy text",
"admin.config.legal.privacy-policy-text.description": "Texten som ska visas i integritetspolicy. Stödjer Markdown. Lämna tomt för att länka till en extern sida för integritetspolicy.", "admin.config.legal.privacy-policy-text.description": "The text which should be shown in the privacy policy. Supports Markdown. Leave blank to link to an external privacy policy page.",
"admin.config.legal.privacy-policy-url": "Länk till integritetspolicy", "admin.config.legal.privacy-policy-url": "Privacy policy URL",
"admin.config.legal.privacy-policy-url.description": "Om du redan har en sida för integritetspolicy kan du länka till den här istället för att använda textfältet.", "admin.config.legal.privacy-policy-url.description": "If you already have a privacy policy page you can link it here instead of using the text field.",
// 404 // 404
"404.description": "Hoppsan den här sidan finns inte.", "404.description": "Hoppsan den här sidan finns inte.",
"404.button.home": "Ta mig tillbaka hem", "404.button.home": "Ta mig tillbaka hem",
@@ -493,10 +493,10 @@ export default {
"error.msg.no_user": "Användare som är länkad till detta {0} konto finns inte.", "error.msg.no_user": "Användare som är länkad till detta {0} konto finns inte.",
"error.msg.no_email": "Kan inte hämta e-postadress från detta {0} konto.", "error.msg.no_email": "Kan inte hämta e-postadress från detta {0} konto.",
"error.msg.already_linked": "Detta {0} konto är redan länkat till ett annat konto.", "error.msg.already_linked": "Detta {0} konto är redan länkat till ett annat konto.",
"error.msg.not_linked": "Detta {0} konto har ännu inte länkat till något konto.", "error.msg.not_linked": "This {0} account hasn't been linked to any account yet.",
"error.msg.unverified_account": "Detta {0} -konto är overifierat, försök igen efter verifiering.", "error.msg.unverified_account": "Detta {0} -konto är overifierat, försök igen efter verifiering.",
"error.msg.user_not_allowed": "Du är inte tillåten att logga in.", "error.msg.user_not_allowed": "Du är inte tillåten att logga in.",
"error.msg.cannot_get_user_info": "Kan inte hämta din användarinformation från detta {0} konto.", "error.msg.cannot_get_user_info": "Cannot get your user info from this {0} account.",
"error.param.provider_github": "GitHub", "error.param.provider_github": "GitHub",
"error.param.provider_google": "Google", "error.param.provider_google": "Google",
"error.param.provider_microsoft": "Microsoft", "error.param.provider_microsoft": "Microsoft",
@@ -514,9 +514,9 @@ export default {
"common.button.generate": "Generera", "common.button.generate": "Generera",
"common.button.done": "Klar", "common.button.done": "Klar",
"common.text.link": "Länk", "common.text.link": "Länk",
"common.text.navigate-to-link": "Besök länk", "common.text.navigate-to-link": "Visit link",
"common.text.or": "eller", "common.text.or": "eller",
"common.text.redirecting": "Omdirigerar...", "common.text.redirecting": "Redirecting...",
"common.button.go-back": "Gå tillbaka", "common.button.go-back": "Gå tillbaka",
"common.button.go-home": "Gå hem", "common.button.go-home": "Gå hem",
"common.notify.copied": "Din länk har kopierats till urklipp", "common.notify.copied": "Din länk har kopierats till urklipp",
@@ -527,8 +527,8 @@ export default {
"common.error.invalid-email": "Ogiltig e-postadress", "common.error.invalid-email": "Ogiltig e-postadress",
"common.error.too-short": "Måste minst vara {length} tecken långt", "common.error.too-short": "Måste minst vara {length} tecken långt",
"common.error.too-long": "Får högst innehålla {length} tecken", "common.error.too-long": "Får högst innehålla {length} tecken",
"common.error.number-too-small": "Måste vara minst {min}", "common.error.number-too-small": "Must be at least {min}",
"common.error.number-too-large": "Måste vara som mest {max}", "common.error.number-too-large": "Must be at most {max}",
"common.error.exact-length": "Måste vara exakt {length} tecken långt", "common.error.exact-length": "Måste vara exakt {length} tecken långt",
"common.error.invalid-number": "Måste vara ett tal", "common.error.invalid-number": "Måste vara ett tal",
"common.error.field-required": "Obligatoriskt fält" "common.error.field-required": "Obligatoriskt fält"

View File

@@ -74,6 +74,11 @@ export async function middleware(request: NextRequest) {
) { ) {
routes.disabled.routes.push("/privacy"); routes.disabled.routes.push("/privacy");
} }
if (
!getConfig("legal.companySharingPolicy")
) {
routes.disabled.routes.push("/sharing_policy");
}
} }
// prettier-ignore // prettier-ignore

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "pingvin-share", "name": "pingvin-share",
"version": "1.13.0", "version": "1.12.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pingvin-share", "name": "pingvin-share",
"version": "1.13.0", "version": "1.12.0",
"devDependencies": { "devDependencies": {
"conventional-changelog-cli": "^3.0.0" "conventional-changelog-cli": "^3.0.0"
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share", "name": "pingvin-share",
"version": "1.13.0", "version": "1.12.0",
"scripts": { "scripts": {
"format": "cd frontend && npm run format && cd ../backend && npm run format", "format": "cd frontend && npm run format && cd ../backend && npm run format",
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint", "lint": "cd frontend && npm run lint && cd ../backend && npm run lint",