diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..8a6781470 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +node_modules +Dockerfile +docker-compose.* diff --git a/.erb/configs/webpack.config.renderer.dev.ts b/.erb/configs/webpack.config.renderer.dev.ts index f6ca25d83..46e51530d 100644 --- a/.erb/configs/webpack.config.renderer.dev.ts +++ b/.erb/configs/webpack.config.renderer.dev.ts @@ -16,7 +16,7 @@ import webpackPaths from './webpack.paths'; // When an ESLint server is running, we can't set the NODE_ENV so we'll check if it's // at the dev webpack config is not accidentally run in a production environment if (process.env.NODE_ENV === 'production') { - checkNodeEnv('development'); + checkNodeEnv('development'); } const port = process.env.PORT || 4343; @@ -28,171 +28,174 @@ const requiredByDLLConfig = module.parent!.filename.includes('webpack.config.ren * Warn if the DLL is not built */ if (!requiredByDLLConfig && !(fs.existsSync(webpackPaths.dllPath) && fs.existsSync(manifest))) { - console.log( - chalk.black.bgYellow.bold( - 'The DLL files are missing. Sit back while we build them for you with "npm run build-dll"', - ), - ); - execSync('npm run postinstall'); + console.log( + chalk.black.bgYellow.bold( + 'The DLL files are missing. Sit back while we build them for you with "npm run build-dll"', + ), + ); + execSync('npm run postinstall'); } const configuration: webpack.Configuration = { - devtool: 'inline-source-map', + devtool: 'inline-source-map', - mode: 'development', + mode: 'development', - target: ['web', 'electron-renderer'], + target: ['web', 'electron-renderer'], - entry: [ - `webpack-dev-server/client?http://localhost:${port}/dist`, - 'webpack/hot/only-dev-server', - path.join(webpackPaths.srcRendererPath, 'index.tsx'), - ], + entry: [ + `webpack-dev-server/client?http://localhost:${port}/dist`, + 'webpack/hot/only-dev-server', + path.join(webpackPaths.srcRendererPath, 'index.tsx'), + ], - output: { - path: webpackPaths.distRendererPath, - publicPath: '/', - filename: 'renderer.dev.js', - library: { - type: 'umd', + output: { + path: webpackPaths.distRendererPath, + publicPath: '/', + filename: 'renderer.dev.js', + library: { + type: 'umd', + }, }, - }, - - module: { - rules: [ - { - test: /\.s?css$/, - use: [ - 'style-loader', - { - loader: 'css-loader', - options: { - modules: { - localIdentName: '[name]__[local]--[hash:base64:5]', - exportLocalsConvention: 'camelCaseOnly', - }, - sourceMap: true, - importLoaders: 1, + + module: { + rules: [ + { + test: /\.s?css$/, + use: [ + 'style-loader', + { + loader: 'css-loader', + options: { + modules: { + localIdentName: '[name]__[local]--[hash:base64:5]', + exportLocalsConvention: 'camelCaseOnly', + }, + sourceMap: true, + importLoaders: 1, + }, + }, + 'sass-loader', + ], + include: /\.module\.s?(c|a)ss$/, + }, + { + test: /\.s?css$/, + use: ['style-loader', 'css-loader', 'sass-loader'], + exclude: /\.module\.s?(c|a)ss$/, + }, + // Fonts + { + test: /\.(woff|woff2|eot|ttf|otf)$/i, + type: 'asset/resource', + }, + // Images + { + test: /\.(png|svg|jpg|jpeg|gif)$/i, + type: 'asset/resource', }, - }, - 'sass-loader', ], - include: /\.module\.s?(c|a)ss$/, - }, - { - test: /\.s?css$/, - use: ['style-loader', 'css-loader', 'sass-loader'], - exclude: /\.module\.s?(c|a)ss$/, - }, - // Fonts - { - test: /\.(woff|woff2|eot|ttf|otf)$/i, - type: 'asset/resource', - }, - // Images - { - test: /\.(png|svg|jpg|jpeg|gif)$/i, - type: 'asset/resource', - }, - ], - }, - plugins: [ - ...(requiredByDLLConfig - ? [] - : [ - new webpack.DllReferencePlugin({ - context: webpackPaths.dllPath, - manifest: require(manifest), - sourceType: 'var', - }), - ]), - - new webpack.NoEmitOnErrorsPlugin(), - - /** - * Create global constants which can be configured at compile time. - * - * Useful for allowing different behaviour between development builds and - * release builds - * - * NODE_ENV should be production so that modules do not perform certain - * development checks - * - * By default, use 'development' as NODE_ENV. This can be overriden with - * 'staging', for example, by changing the ENV variables in the npm scripts - */ - new webpack.EnvironmentPlugin({ - NODE_ENV: 'development', - }), - - new webpack.LoaderOptionsPlugin({ - debug: true, - }), - - new ReactRefreshWebpackPlugin(), - - new HtmlWebpackPlugin({ - filename: path.join('index.html'), - template: path.join(webpackPaths.srcRendererPath, 'index.ejs'), - minify: { - collapseWhitespace: true, - removeAttributeQuotes: true, - removeComments: true, - }, - isBrowser: false, - env: process.env.NODE_ENV, - isDevelopment: process.env.NODE_ENV !== 'production', - nodeModules: webpackPaths.appNodeModulesPath, - }), - ], - - node: { - __dirname: false, - __filename: false, - }, - - devServer: { - port, - compress: true, - hot: true, - headers: { 'Access-Control-Allow-Origin': '*' }, - static: { - publicPath: '/', }, - historyApiFallback: { - verbose: true, + plugins: [ + ...(requiredByDLLConfig + ? [] + : [ + new webpack.DllReferencePlugin({ + context: webpackPaths.dllPath, + manifest: require(manifest), + sourceType: 'var', + }), + ]), + + new webpack.NoEmitOnErrorsPlugin(), + + /** + * Create global constants which can be configured at compile time. + * + * Useful for allowing different behaviour between development builds and + * release builds + * + * NODE_ENV should be production so that modules do not perform certain + * development checks + * + * By default, use 'development' as NODE_ENV. This can be overriden with + * 'staging', for example, by changing the ENV variables in the npm scripts + */ + new webpack.EnvironmentPlugin({ + NODE_ENV: 'development', + }), + + new webpack.LoaderOptionsPlugin({ + debug: true, + }), + + new ReactRefreshWebpackPlugin(), + + new HtmlWebpackPlugin({ + filename: path.join('index.html'), + template: path.join(webpackPaths.srcRendererPath, 'index.ejs'), + minify: { + collapseWhitespace: true, + removeAttributeQuotes: true, + removeComments: true, + }, + isBrowser: false, + env: process.env.NODE_ENV, + isDevelopment: process.env.NODE_ENV !== 'production', + nodeModules: webpackPaths.appNodeModulesPath, + templateParameters: { + web: false, + }, + }), + ], + + node: { + __dirname: false, + __filename: false, }, - setupMiddlewares(middlewares) { - console.log('Starting preload.js builder...'); - const preloadProcess = spawn('npm', ['run', 'start:preload'], { - shell: true, - stdio: 'inherit', - }) - .on('close', (code: number) => process.exit(code!)) - .on('error', (spawnError) => console.error(spawnError)); - - console.log('Starting remote.js builder...'); - const remoteProcess = spawn('npm', ['run', 'start:remote'], { - shell: true, - stdio: 'inherit', - }) - .on('close', (code: number) => process.exit(code!)) - .on('error', (spawnError) => console.error(spawnError)); - - console.log('Starting Main Process...'); - spawn('npm', ['run', 'start:main'], { - shell: true, - stdio: 'inherit', - }) - .on('close', (code: number) => { - preloadProcess.kill(); - remoteProcess.kill(); - process.exit(code!); - }) - .on('error', (spawnError) => console.error(spawnError)); - return middlewares; + + devServer: { + port, + compress: true, + hot: true, + headers: { 'Access-Control-Allow-Origin': '*' }, + static: { + publicPath: '/', + }, + historyApiFallback: { + verbose: true, + }, + setupMiddlewares(middlewares) { + console.log('Starting preload.js builder...'); + const preloadProcess = spawn('npm', ['run', 'start:preload'], { + shell: true, + stdio: 'inherit', + }) + .on('close', (code: number) => process.exit(code!)) + .on('error', (spawnError) => console.error(spawnError)); + + console.log('Starting remote.js builder...'); + const remoteProcess = spawn('npm', ['run', 'start:remote'], { + shell: true, + stdio: 'inherit', + }) + .on('close', (code: number) => process.exit(code!)) + .on('error', (spawnError) => console.error(spawnError)); + + console.log('Starting Main Process...'); + spawn('npm', ['run', 'start:main'], { + shell: true, + stdio: 'inherit', + }) + .on('close', (code: number) => { + preloadProcess.kill(); + remoteProcess.kill(); + process.exit(code!); + }) + .on('error', (spawnError) => console.error(spawnError)); + return middlewares; + }, }, - }, }; export default merge(baseConfig, configuration); diff --git a/.erb/configs/webpack.config.renderer.prod.ts b/.erb/configs/webpack.config.renderer.prod.ts index 324630a74..379bb2d02 100644 --- a/.erb/configs/webpack.config.renderer.prod.ts +++ b/.erb/configs/webpack.config.renderer.prod.ts @@ -21,114 +21,117 @@ checkNodeEnv('production'); deleteSourceMaps(); const devtoolsConfig = - process.env.DEBUG_PROD === 'true' - ? { - devtool: 'source-map', - } - : {}; + process.env.DEBUG_PROD === 'true' + ? { + devtool: 'source-map', + } + : {}; const configuration: webpack.Configuration = { - ...devtoolsConfig, + ...devtoolsConfig, - mode: 'production', + mode: 'production', - target: ['web', 'electron-renderer'], + target: ['web', 'electron-renderer'], - entry: [path.join(webpackPaths.srcRendererPath, 'index.tsx')], + entry: [path.join(webpackPaths.srcRendererPath, 'index.tsx')], - output: { - path: webpackPaths.distRendererPath, - publicPath: './', - filename: 'renderer.js', - library: { - type: 'umd', + output: { + path: webpackPaths.distRendererPath, + publicPath: './', + filename: 'renderer.js', + library: { + type: 'umd', + }, }, - }, - - module: { - rules: [ - { - test: /\.s?(a|c)ss$/, - use: [ - MiniCssExtractPlugin.loader, - { - loader: 'css-loader', - options: { - modules: { - localIdentName: '[name]__[local]--[hash:base64:5]', - exportLocalsConvention: 'camelCaseOnly', - }, - sourceMap: true, - importLoaders: 1, + + module: { + rules: [ + { + test: /\.s?(a|c)ss$/, + use: [ + MiniCssExtractPlugin.loader, + { + loader: 'css-loader', + options: { + modules: { + localIdentName: '[name]__[local]--[hash:base64:5]', + exportLocalsConvention: 'camelCaseOnly', + }, + sourceMap: true, + importLoaders: 1, + }, + }, + 'sass-loader', + ], + include: /\.module\.s?(c|a)ss$/, + }, + { + test: /\.s?(a|c)ss$/, + use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'], + exclude: /\.module\.s?(c|a)ss$/, + }, + // Fonts + { + test: /\.(woff|woff2|eot|ttf|otf)$/i, + type: 'asset/resource', + }, + // Images + { + test: /\.(png|svg|jpg|jpeg|gif)$/i, + type: 'asset/resource', }, - }, - 'sass-loader', ], - include: /\.module\.s?(c|a)ss$/, - }, - { - test: /\.s?(a|c)ss$/, - use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'], - exclude: /\.module\.s?(c|a)ss$/, - }, - // Fonts - { - test: /\.(woff|woff2|eot|ttf|otf)$/i, - type: 'asset/resource', - }, - // Images - { - test: /\.(png|svg|jpg|jpeg|gif)$/i, - type: 'asset/resource', - }, - ], - }, - - optimization: { - minimize: true, - minimizer: [ - new TerserPlugin({ - parallel: true, - }), - new CssMinimizerPlugin(), + }, + + optimization: { + minimize: true, + minimizer: [ + new TerserPlugin({ + parallel: true, + }), + new CssMinimizerPlugin(), + ], + }, + + plugins: [ + /** + * Create global constants which can be configured at compile time. + * + * Useful for allowing different behaviour between development builds and + * release builds + * + * NODE_ENV should be production so that modules do not perform certain + * development checks + */ + new webpack.EnvironmentPlugin({ + NODE_ENV: 'production', + DEBUG_PROD: false, + }), + + new MiniCssExtractPlugin({ + filename: 'style.css', + }), + + new BundleAnalyzerPlugin({ + analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled', + }), + + new HtmlWebpackPlugin({ + filename: 'index.html', + template: path.join(webpackPaths.srcRendererPath, 'index.ejs'), + minify: { + collapseWhitespace: true, + removeAttributeQuotes: true, + removeComments: true, + }, + isBrowser: false, + isDevelopment: process.env.NODE_ENV !== 'production', + templateParameters: { + web: false, + }, + }), ], - }, - - plugins: [ - /** - * Create global constants which can be configured at compile time. - * - * Useful for allowing different behaviour between development builds and - * release builds - * - * NODE_ENV should be production so that modules do not perform certain - * development checks - */ - new webpack.EnvironmentPlugin({ - NODE_ENV: 'production', - DEBUG_PROD: false, - }), - - new MiniCssExtractPlugin({ - filename: 'style.css', - }), - - new BundleAnalyzerPlugin({ - analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled', - }), - - new HtmlWebpackPlugin({ - filename: 'index.html', - template: path.join(webpackPaths.srcRendererPath, 'index.ejs'), - minify: { - collapseWhitespace: true, - removeAttributeQuotes: true, - removeComments: true, - }, - isBrowser: false, - isDevelopment: process.env.NODE_ENV !== 'production', - }), - ], }; export default merge(baseConfig, configuration); diff --git a/.erb/configs/webpack.config.renderer.web.ts b/.erb/configs/webpack.config.renderer.web.ts index 39fca511f..82b5f79ad 100644 --- a/.erb/configs/webpack.config.renderer.web.ts +++ b/.erb/configs/webpack.config.renderer.web.ts @@ -116,6 +116,9 @@ const configuration: webpack.Configuration = { env: process.env.NODE_ENV, isDevelopment: process.env.NODE_ENV !== 'production', nodeModules: webpackPaths.appNodeModulesPath, + templateParameters: { + web: false, // with hot reload, we don't have NGINX injecting variables + }, }), ], diff --git a/.erb/configs/webpack.config.web.prod.ts b/.erb/configs/webpack.config.web.prod.ts index 73cc32fc4..ed935fd62 100644 --- a/.erb/configs/webpack.config.web.prod.ts +++ b/.erb/configs/webpack.config.web.prod.ts @@ -128,6 +128,9 @@ const configuration: webpack.Configuration = { }, isBrowser: false, isDevelopment: process.env.NODE_ENV !== 'production', + templateParameters: { + web: true, + }, }), ], }; diff --git a/.github/workflows/publish-docker-auto.yml b/.github/workflows/publish-docker-auto.yml index 6c7a0b04a..06b347768 100644 --- a/.github/workflows/publish-docker-auto.yml +++ b/.github/workflows/publish-docker-auto.yml @@ -37,6 +37,10 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Setup Docker buildx + uses: docker/setup-buildx-action@v3 - name: Build and push Docker image uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: @@ -44,3 +48,7 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: | + linux/amd64 + linux/arm/v7 + linux/arm64/v8 diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index c189d619a..d12a631d6 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -29,6 +29,10 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest,enable={{is_default_branch}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Setup Docker buildx + uses: docker/setup-buildx-action@v3 - name: Build and push Docker image uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: @@ -36,3 +40,7 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: | + linux/amd64 + linux/arm/v7 + linux/arm64/v8 diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml index 4d2d03985..d7172d302 100644 --- a/.github/workflows/publish-linux.yml +++ b/.github/workflows/publish-linux.yml @@ -37,3 +37,17 @@ jobs: npm run build npm exec electron-builder -- --publish always --linux on_retry_command: npm cache clean --force + + - name: Publish releases (arm64) + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: nick-invision/retry@v2.8.2 + with: + timeout_minutes: 30 + max_attempts: 3 + retry_on: error + command: | + npm run postinstall + npm run build + npm exec electron-builder -- --publish always --arm64 + on_retry_command: npm cache clean --force diff --git a/.vscode/settings.json b/.vscode/settings.json index 75840e71e..041453776 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,10 +11,10 @@ ], "typescript.tsserver.experimental.enableProjectDiagnostics": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.fixAll.stylelint": true, - "source.organizeImports": false, - "source.formatDocument": true + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit", + "source.organizeImports": "never", + "source.formatDocument": "explicit" }, "css.validate": true, "less.validate": false, diff --git a/Dockerfile b/Dockerfile index 856af4d29..fdf2c6caf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,20 @@ # --- Builder stage FROM node:18-alpine as builder WORKDIR /app -COPY . /app +#Copy package.json first to cache node_modules +COPY package.json package-lock.json . # Scripts include electron-specific dependencies, which we don't need RUN npm install --legacy-peer-deps --ignore-scripts +#Copy code and build with cached modules +COPY . . RUN npm run build:web # --- Production stage FROM nginx:alpine-slim COPY --chown=nginx:nginx --from=builder /app/release/app/dist/web /usr/share/nginx/html +COPY ./settings.js.template /etc/nginx/templates/settings.js.template COPY ng.conf.template /etc/nginx/templates/default.conf.template ENV PUBLIC_PATH="/" diff --git a/README.md b/README.md index e079643e5..a4a286520 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,12 @@ Rewrite of [Sonixd](https://github.com/jeffvli/sonixd). Download the [latest desktop client](https://github.com/jeffvli/feishin/releases). The desktop client is the recommended way to use Feishin. It supports both the MPV and web player backends, as well as includes built-in fetching for lyrics. +#### MacOS Notes + If you're using a device running macOS 12 (Monterey) or higher, [check here](https://github.com/jeffvli/feishin/issues/104#issuecomment-1553914730) for instructions on how to remove the app from quarantine. +For media keys to work, you will be prompted to allow Feishin to be a Trusted Accessibility Client. After allowing, you will need to restart Feishin for the privacy settings to take effect. + ### Web and Docker Visit [https://feishin.vercel.app](https://feishin.vercel.app) to use the hosted web version of Feishin. The web client only supports the web player backend. @@ -59,11 +63,11 @@ Feishin is also available as a Docker image. The images are hosted via `ghcr.io` ```bash # Run the latest version -docker run --name feishin --port 9180:9180 ghcr.io/jeffvli/feishin:latest +docker run --name feishin -p 9180:9180 ghcr.io/jeffvli/feishin:latest # Build the image locally docker build -t feishin . -docker run --name feishin --port 9180:9180 feishin +docker run --name feishin -p 9180:9180 feishin ``` ### Configuration @@ -73,9 +77,12 @@ docker run --name feishin --port 9180:9180 feishin 2. After restarting the app, you will be prompted to select a server. Click the `Open menu` button and select `Manage servers`. Click the `Add server` button in the popup and fill out all applicable details. You will need to enter the full URL to your server, including the protocol and port if applicable (e.g. `https://navidrome.my-server.com` or `http://192.168.0.1:4533`). - **Navidrome** - For the best experience, select "Save password" when creating the server and configure the `SessionTimeout` setting in your Navidrome config to a larger value (e.g. 72h). + - **Linux users** - The default password store uses `libsecret`. `kwallet4/5/6` are also supported, but must be explicitly set in Settings > Window > Passwords/secret score. 3. _Optional_ - If you want to host Feishin on a subpath (not `/`), then pass in the following environment variable: `PUBLIC_PATH=PATH`. For example, to host on `/feishin`, pass in `PUBLIC_PATH=/feishin`. +4. _Optional_ - To hard code the server url, pass the following environment variables: `SERVER_NAME`, `SERVER_TYPE` (one of `jellyfin` or `navidrome`), `SERVER_URL`. To prevent users from changing these settings, pass `SERVER_LOCK=true`. This can only be set if all three of the previous values are set. + ## FAQ ### MPV is either not working or is rapidly switching between pause/play states @@ -86,7 +93,7 @@ First thing to do is check that your MPV binary path is correct. Navigate to the Feishin supports any music server that implements a [Navidrome](https://www.navidrome.org/) or [Jellyfin](https://jellyfin.org/) API. **Subsonic API is not currently supported**. This will likely be added in [later when the new Subsonic API is decided on](https://support.symfonium.app/t/subsonic-servers-participation/1233). -- [Navidrome](https://github.com/navidrome/navidrome) +- [Navidrome](https://github.com/navidrome/navidrome) version 0.48.0 and newer - [Jellyfin](https://github.com/jellyfin/jellyfin) - [Funkwhale](https://funkwhale.audio/) - TBD - Subsonic-compatible servers - TBD @@ -97,6 +104,10 @@ Built and tested using Node `v16.15.0`. This project is built off of [electron-react-boilerplate](https://github.com/electron-react-boilerplate/electron-react-boilerplate) v4.6.0. +## Translation + +This project uses [Weblate](https://hosted.weblate.org/projects/feishin/) for translations. If you would like to contribute, please visit the link and submit a translation. + ## License [GNU General Public License v3.0 ©](https://github.com/jeffvli/feishin/blob/dev/LICENSE) diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 000000000..443083810 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,13 @@ +version: '3.5' +services: + feishin: + container_name: feishin + image: jeffvli/feishin + restart: unless-stopped + ports: + - 9180:9180 + environment: + - SERVER_NAME=jellyfin # pre defined server name + - SERVER_LOCK=true # When true AND name/type/url are set, only username/password can be toggled + - SERVER_TYPE=jellyfin # navidrome also works + - SERVER_URL= # http://address:port diff --git a/ng.conf.template b/ng.conf.template index 3fed35b8d..eb46ff72a 100644 --- a/ng.conf.template +++ b/ng.conf.template @@ -16,4 +16,12 @@ server { alias /usr/share/nginx/html/; try_files $uri $uri/ /index.html =404; } + + location ${PUBLIC_PATH}settings.js { + alias /etc/nginx/conf.d/settings.js; + } + + location ${PUBLIC_PATH}/settings.js { + alias /etc/nginx/conf.d/settings.js; + } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d80a2202a..fca89bf20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "feishin", - "version": "0.4.1", + "version": "0.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "feishin", - "version": "0.4.1", + "version": "0.5.3", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -27,13 +27,14 @@ "@tanstack/react-query-devtools": "^4.32.1", "@tanstack/react-query-persist-client": "^4.32.1", "@ts-rest/core": "^3.23.0", - "axios": "^1.4.0", + "@xhayper/discord-rpc": "^1.0.24", + "axios": "^1.6.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", "dayjs": "^1.11.6", "electron-debug": "^3.2.0", "electron-localshortcut": "^3.2.1", - "electron-log": "^4.4.6", + "electron-log": "^5.1.1", "electron-store": "^8.1.0", "electron-updater": "^4.6.5", "fast-average-color": "^9.3.0", @@ -41,7 +42,7 @@ "framer-motion": "^10.13.0", "fuse.js": "^6.6.2", "history": "^5.3.0", - "i18next": "^21.6.16", + "i18next": "^21.10.0", "idb-keyval": "^6.2.1", "immer": "^9.0.21", "is-electron": "^2.2.2", @@ -56,7 +57,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^3.1.4", - "react-i18next": "^11.16.7", + "react-i18next": "^11.18.6", "react-icons": "^4.10.1", "react-player": "^2.11.0", "react-router": "^6.16.0", @@ -67,7 +68,7 @@ "react-window-infinite-loader": "^1.0.9", "styled-components": "^6.0.8", "swiper": "^9.3.1", - "zod": "^3.21.4", + "zod": "^3.22.3", "zustand": "^4.3.9" }, "devDependencies": { @@ -102,8 +103,8 @@ "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^3.4.1", "detect-port": "^1.3.0", - "electron": "^25.8.1", - "electron-builder": "^24.6.3", + "electron": "^27.1.0", + "electron-builder": "^24.9.0", "electron-devtools-installer": "^3.2.0", "electron-notarize": "^1.2.1", "electronmon": "^2.0.2", @@ -112,7 +113,7 @@ "eslint-config-erb": "^4.0.3", "eslint-import-resolver-typescript": "^2.7.1", "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-compat": "^4.0.2", + "eslint-plugin-compat": "^4.2.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^26.1.3", "eslint-plugin-jsx-a11y": "^6.5.1", @@ -124,7 +125,7 @@ "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", "husky": "^7.0.4", - "i18next-parser": "^6.3.0", + "i18next-parser": "^6.6.0", "identity-obj-proxy": "^3.0.0", "jest": "^27.5.1", "lint-staged": "^12.3.7", @@ -285,11 +286,11 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "dependencies": { - "@babel/highlight": "^7.22.13", + "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" }, "engines": { @@ -406,11 +407,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.15.tgz", - "integrity": "sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "dependencies": { - "@babel/types": "^7.22.15", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -547,20 +548,20 @@ } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "dependencies": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" }, "engines": { "node": ">=6.9.0" @@ -702,17 +703,17 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.19.tgz", - "integrity": "sha512-Tinq7ybnEPFFXhlYOYFiSjespWQk0dq2dRNAiMdRTOYQzEGqnnNyrTxPYHP5r6wGjlF1rFgABdDV0g8EwD6Qbg==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "engines": { "node": ">=6.9.0" } @@ -752,11 +753,11 @@ } }, "node_modules/@babel/highlight": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.13.tgz", - "integrity": "sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, @@ -829,9 +830,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.22.16", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.16.tgz", - "integrity": "sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", "bin": { "parser": "bin/babel-parser.js" }, @@ -2177,19 +2178,19 @@ } }, "node_modules/@babel/traverse": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.19.tgz", - "integrity": "sha512-ZCcpVPK64krfdScRbpxF6xA5fz7IOsfMwx1tcACvCzt6JY+0aHkBk7eIU8FRDSZRU5Zei6Z4JfgAxN1bqXGECg==", - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.22.15", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz", + "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==", + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.22.16", - "@babel/types": "^7.22.19", - "debug": "^4.1.0", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -2205,12 +2206,12 @@ } }, "node_modules/@babel/types": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.19.tgz", - "integrity": "sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.19", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, "engines": { @@ -2357,12 +2358,11 @@ } }, "node_modules/@electron/asar": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.4.tgz", - "integrity": "sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==", + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.8.tgz", + "integrity": "sha512-cmskk5M06ewHMZAplSiF4AlME3IrnnZhKnWbtwKVLRkdJkKyUVjMLhDIiPIx/+6zQWVlKX/LtmK9xDme7540Sg==", "dev": true, "dependencies": { - "chromium-pickle-js": "^0.2.0", "commander": "^5.0.0", "glob": "^7.1.6", "minimatch": "^3.0.4" @@ -2405,13 +2405,14 @@ } }, "node_modules/@electron/notarize": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.4.tgz", - "integrity": "sha512-W5GQhJEosFNafewnS28d3bpQ37/s91CDWqxVchHfmv2dQSTWpOzNlUVQwYzC1ay5bChRV/A9BTL68yj0Pa+TSg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-2.1.0.tgz", + "integrity": "sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA==", "dev": true, "dependencies": { "debug": "^4.1.1", - "fs-extra": "^9.0.1" + "fs-extra": "^9.0.1", + "promise-retry": "^2.0.1" }, "engines": { "node": ">= 10.0.0" @@ -2445,18 +2446,18 @@ } }, "node_modules/@electron/notarize/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" } }, "node_modules/@electron/osx-sign": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.4.tgz", - "integrity": "sha512-xfhdEcIOfAZg7scZ9RQPya1G1lWo8/zMCwUXAulq0SfY7ONIW+b9qGyKdMyuMctNYwllrIS+vmxfijSfjeh97g==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.5.tgz", + "integrity": "sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==", "dev": true, "dependencies": { "compare-version": "^0.1.2", @@ -2513,9 +2514,9 @@ } }, "node_modules/@electron/osx-sign/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -2906,9 +2907,9 @@ } }, "node_modules/@electron/universal": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.4.tgz", - "integrity": "sha512-BdhBgm2ZBnYyYRLRgOjM5VHkyFItsbggJ0MHycOjKWdFGYwK97ZFXH54dTvUWEfha81vfvwr5On6XBjt99uDcg==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.4.1.tgz", + "integrity": "sha512-lE/U3UNw1YHuowNbTmKNs9UlS3En3cPgwM5MI+agIgr/B1hSze9NdOP0qn7boZaI9Lph8IDv3/24g9IxnJP7aQ==", "dev": true, "dependencies": { "@electron/asar": "^3.2.1", @@ -2951,9 +2952,9 @@ } }, "node_modules/@electron/universal/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -3735,9 +3736,9 @@ } }, "node_modules/@malept/flatpak-bundler/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -3860,9 +3861,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.3.5.tgz", - "integrity": "sha512-aGZ/OZCv96fEvUNuOoHbWN9ySODB1Xf04+TFgK3QO/PaM1NI95INaf0YUBLUbbK9lMKWqUzyJk2TPLe3ybFFXg==", + "version": "5.5.10", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.10.tgz", + "integrity": "sha512-s2GGND9oLhEuksOFtICYOBZdMWPANBXTMqAXh89q6g1Mi3+OuWEmp9WFzw2v/nmS175vqeewpC1kDJA7taaxyA==", "dev": true }, "node_modules/@nicolo-ribaudo/chokidar-2": { @@ -4778,9 +4779,9 @@ } }, "node_modules/@types/debug": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", - "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, "dependencies": { "@types/ms": "*" @@ -4979,9 +4980,9 @@ "dev": true }, "node_modules/@types/ms": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", - "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", "dev": true }, "node_modules/@types/node": { @@ -5002,9 +5003,9 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "node_modules/@types/plist": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.2.tgz", - "integrity": "sha512-ULqvZNGMv0zRFvqn8/4LSPtnmN4MfhlPNtJCTpKuIIxGVGZ2rYWzFXrvEBoh9CVyqSE7D6YFRJ1hydLHI6kbWw==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.5.tgz", + "integrity": "sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==", "dev": true, "optional": true, "dependencies": { @@ -5195,9 +5196,9 @@ } }, "node_modules/@types/verror": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.6.tgz", - "integrity": "sha512-NNm+gdePAX1VGvPcGZCDKQZKYSiAWigKhKaz5KF94hG6f2s8de9Ow5+7AbXoeKxL8gavZfk4UquSAygOF2duEQ==", + "version": "1.10.9", + "resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.9.tgz", + "integrity": "sha512-MLx9Z+9lGzwEuW16ubGeNkpBDE84RpB/NyGgg6z2BTpWzKkGU451cAY3UkUzZEp72RHF585oJ3V8JVNqIplcAQ==", "dev": true, "optional": true }, @@ -5613,6 +5614,38 @@ } } }, + "node_modules/@xhayper/discord-rpc": { + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/@xhayper/discord-rpc/-/discord-rpc-1.0.24.tgz", + "integrity": "sha512-gzC8OaOSz7cGALSHyyq6nANQvBfyfntbSq+Qh+cNanoKX8ybOj+jWKmDP6PbLVDWoBftTU3JYsWXrLml2df2Hw==", + "dependencies": { + "axios": "^1.5.1", + "ws": "^8.14.2" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/@xhayper/discord-rpc/node_modules/ws": { + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/@xmldom/xmldom": { "version": "0.8.10", "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", @@ -5635,9 +5668,9 @@ "dev": true }, "node_modules/7zip-bin": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.1.1.tgz", - "integrity": "sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.2.0.tgz", + "integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==", "dev": true }, "node_modules/abab": { @@ -5918,26 +5951,26 @@ "dev": true }, "node_modules/app-builder-lib": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.6.3.tgz", - "integrity": "sha512-++0Zp7vcCHfXMBGVj7luFxpqvMPk5mcWeTuw7OK0xNAaNtYQTTN0d9YfWRsb1MvviTOOhyHeULWz1CaixrdrDg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.0.tgz", + "integrity": "sha512-eqxC5QZQoZzwqBkd9Rd0O3T/VaSOmgW9pgNc+tXrEktpQ56cEFt4s1AaQjGrLSajamXerVj6bZM5yZFp+CCyqA==", "dev": true, "dependencies": { "@develar/schema-utils": "~2.6.5", - "@electron/notarize": "^1.2.3", - "@electron/osx-sign": "^1.0.4", - "@electron/universal": "1.3.4", + "@electron/notarize": "2.1.0", + "@electron/osx-sign": "1.0.5", + "@electron/universal": "1.4.1", "@malept/flatpak-bundler": "^0.4.0", "@types/fs-extra": "9.0.13", - "7zip-bin": "~5.1.1", + "7zip-bin": "~5.2.0", "async-exit-hook": "^2.0.1", "bluebird-lst": "^1.0.9", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chromium-pickle-js": "^0.2.0", "debug": "^4.3.4", "ejs": "^3.1.8", - "electron-publish": "24.5.0", + "electron-publish": "24.8.1", "form-data": "^4.0.0", "fs-extra": "^10.1.0", "hosted-git-info": "^4.1.0", @@ -5966,9 +5999,9 @@ } }, "node_modules/app-builder-lib/node_modules/builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -6017,9 +6050,9 @@ } }, "node_modules/app-builder-lib/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -6234,9 +6267,9 @@ } }, "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", "dev": true }, "node_modules/async-exit-hook": { @@ -6292,9 +6325,9 @@ } }, "node_modules/axios": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -6842,16 +6875,16 @@ "dev": true }, "node_modules/builder-util": { - "version": "24.5.0", - "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.5.0.tgz", - "integrity": "sha512-STnBmZN/M5vGcv01u/K8l+H+kplTaq4PAIn3yeuufUKSpcdro0DhJWxPI81k5XcNfC//bjM3+n9nr8F9uV4uAQ==", + "version": "24.8.1", + "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz", + "integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==", "dev": true, "dependencies": { "@types/debug": "^4.1.6", - "7zip-bin": "~5.1.1", + "7zip-bin": "~5.2.0", "app-builder-bin": "4.0.0", "bluebird-lst": "^1.0.9", - "builder-util-runtime": "9.2.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "cross-spawn": "^7.0.3", "debug": "^4.3.4", @@ -6878,9 +6911,9 @@ } }, "node_modules/builder-util/node_modules/builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -6917,9 +6950,9 @@ } }, "node_modules/builder-util/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -7064,9 +7097,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "version": "1.0.30001585", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz", + "integrity": "sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==", "funding": [ { "type": "opencollective", @@ -8596,14 +8629,14 @@ } }, "node_modules/dmg-builder": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.6.3.tgz", - "integrity": "sha512-O7KNT7OKqtV54fMYUpdlyTOCP5DoPuRMLqMTgxxV2PO8Hj/so6zOl5o8GTs8pdDkeAhJzCFOUNB3BDhgXbUbJg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.0.tgz", + "integrity": "sha512-0fQdxPtYQYyjj2BScYGhjG6KHp7kcL4+5+X1Kug3zD7IIS7ROv2PV2H3HgGSh9NtUYeY9FLLPKSfggrzj5ZC4Q==", "dev": true, "dependencies": { - "app-builder-lib": "24.6.3", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "app-builder-lib": "24.9.0", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "fs-extra": "^10.1.0", "iconv-lite": "^0.6.2", "js-yaml": "^4.1.0" @@ -8613,9 +8646,9 @@ } }, "node_modules/dmg-builder/node_modules/builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -8652,9 +8685,9 @@ } }, "node_modules/dmg-builder/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -8887,9 +8920,9 @@ } }, "node_modules/electron": { - "version": "25.8.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.1.tgz", - "integrity": "sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ==", + "version": "27.1.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-27.1.0.tgz", + "integrity": "sha512-XPdJiO475QJ8cx59/goWNNWnlV0vab+Ut3occymos7VDxkHV5mFrlW6tcGi+M3bW6gBfwpJocWMng8tw542vww==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -8905,16 +8938,16 @@ } }, "node_modules/electron-builder": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.6.3.tgz", - "integrity": "sha512-O6PqhRXwfxCNTXI4BlhELSeYYO6/tqlxRuy+4+xKBokQvwDDjDgZMMoSgAmanVSCuzjE7MZldI9XYrKFk+EQDw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.0.tgz", + "integrity": "sha512-jA+jYCZlwYzeJEkb82eZNbdMVTUIh99+JQL3yCZjeV3J1N+pdpDrS0P8wZX8vOGpR310TU0tqgjpkxVgE+38tg==", "dev": true, "dependencies": { - "app-builder-lib": "24.6.3", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "app-builder-lib": "24.9.0", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", - "dmg-builder": "24.6.3", + "dmg-builder": "24.9.0", "fs-extra": "^10.1.0", "is-ci": "^3.0.0", "lazy-val": "^1.0.5", @@ -8931,9 +8964,9 @@ } }, "node_modules/electron-builder/node_modules/builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -9065,9 +9098,12 @@ } }, "node_modules/electron-log": { - "version": "4.4.6", - "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-4.4.6.tgz", - "integrity": "sha512-nirYgRdY+F+vclr8ijdwy2vW03IzFpDHTaKNWu76dEN21Y76+smcES5knS7cgHUUB0qNLOi8vZO36taakjbSXA==" + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-5.1.1.tgz", + "integrity": "sha512-If7HU4Slbh2xfjOXOLxifkbgu6HmWDNJyXPLW+XNTOHMfFKisg0trA3d/7syyu25S+lHosfsd0VMfDSjGn1+Pw==", + "engines": { + "node": ">= 14" + } }, "node_modules/electron-notarize": { "version": "1.2.1", @@ -9120,14 +9156,14 @@ } }, "node_modules/electron-publish": { - "version": "24.5.0", - "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.5.0.tgz", - "integrity": "sha512-zwo70suH15L15B4ZWNDoEg27HIYoPsGJUF7xevLJLSI7JUPC8l2yLBdLGwqueJ5XkDL7ucYyRZzxJVR8ElV9BA==", + "version": "24.8.1", + "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz", + "integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==", "dev": true, "dependencies": { "@types/fs-extra": "^9.0.11", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "fs-extra": "^10.1.0", "lazy-val": "^1.0.5", @@ -9135,9 +9171,9 @@ } }, "node_modules/electron-publish/node_modules/builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -9174,9 +9210,9 @@ } }, "node_modules/electron-publish/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -9916,19 +9952,18 @@ } }, "node_modules/eslint-plugin-compat": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.1.4.tgz", - "integrity": "sha512-RxySWBmzfIROLFKgeJBJue2BU/6vM2KJWXWAUq+oW4QtrsZXRxbjgxmO1OfF3sHcRuuIenTS/wgo3GyUWZF24w==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.2.0.tgz", + "integrity": "sha512-RDKSYD0maWy5r7zb5cWQS+uSPc26mgOzdORJ8hxILmWM7S/Ncwky7BcAtXVY5iRbKjBdHsWU8Yg7hfoZjtkv7w==", "dev": true, "dependencies": { - "@mdn/browser-compat-data": "^5.2.47", - "@tsconfig/node14": "^1.0.3", + "@mdn/browser-compat-data": "^5.3.13", "ast-metadata-inferer": "^0.8.0", - "browserslist": "^4.21.5", - "caniuse-lite": "^1.0.30001473", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001524", "find-up": "^5.0.0", - "lodash.memoize": "4.1.2", - "semver": "7.3.8" + "lodash.memoize": "^4.1.2", + "semver": "^7.5.4" }, "engines": { "node": ">=14.x" @@ -11023,9 +11058,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -11838,7 +11873,8 @@ "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true }, "node_modules/html-minifier-terser": { "version": "6.1.0", @@ -12096,9 +12132,9 @@ } }, "node_modules/i18next": { - "version": "21.6.16", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.6.16.tgz", - "integrity": "sha512-xJlzrVxG9CyAGsbMP1aKuiNr1Ed2m36KiTB7hjGMG2Zo4idfw3p9THUEu+GjBwIgEZ7F11ZbCzJcfv4uyfKNuw==", + "version": "21.10.0", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz", + "integrity": "sha512-YeuIBmFsGjUfO3qBmMOc0rQaun4mIpGKET5WDwvu8lU7gvwpcariZLNtL0Fzj+zazcHUrlXHiptcFhBMFaxzfg==", "funding": [ { "type": "individual", @@ -12519,9 +12555,9 @@ } }, "node_modules/ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz", + "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==", "dev": true }, "node_modules/ipaddr.js": { @@ -15049,9 +15085,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "funding": [ { "type": "github", @@ -15108,9 +15144,9 @@ } }, "node_modules/node-abi": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.45.0.tgz", - "integrity": "sha512-iwXuFrMAcFVi/ZoZiqq8BzAdsLw9kxDfTC0HMyjXfSL/6CSDAGD5UmR7azrAgWV1zKYq7dUUMj4owusBWKLsiQ==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.51.0.tgz", + "integrity": "sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==", "dev": true, "dependencies": { "semver": "^7.3.5" @@ -15936,9 +15972,9 @@ } }, "node_modules/postcss": { - "version": "8.4.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", - "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", + "version": "8.4.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", "funding": [ { "type": "opencollective", @@ -15954,7 +15990,7 @@ } ], "dependencies": { - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -16935,12 +16971,11 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" }, "node_modules/react-i18next": { - "version": "11.16.7", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.16.7.tgz", - "integrity": "sha512-7yotILJLnKfvUfrl/nt9eK9vFpVFjZPLWAwBzWL6XppSZZEvlmlKk0GBGDCAPfLfs8oND7WAbry8wGzdoiW5Nw==", + "version": "11.18.6", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.18.6.tgz", + "integrity": "sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==", "dependencies": { "@babel/runtime": "^7.14.5", - "html-escaper": "^2.0.2", "html-parse-stringify": "^3.0.1" }, "peerDependencies": { @@ -17919,9 +17954,9 @@ } }, "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -18218,21 +18253,6 @@ "node": ">=10" } }, - "node_modules/simple-update-notifier/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/sirv": { "version": "1.0.19", "resolved": "https://registry.npmjs.org/sirv/-/sirv-1.0.19.tgz", @@ -19406,9 +19426,9 @@ } }, "node_modules/temp-file/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -19946,9 +19966,9 @@ } }, "node_modules/tslib": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -21354,9 +21374,9 @@ } }, "node_modules/zod": { - "version": "3.21.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz", - "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==", + "version": "3.22.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.3.tgz", + "integrity": "sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==", "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -21477,11 +21497,11 @@ } }, "@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "requires": { - "@babel/highlight": "^7.22.13", + "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" }, "dependencies": { @@ -21571,11 +21591,11 @@ } }, "@babel/generator": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.15.tgz", - "integrity": "sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "requires": { - "@babel/types": "^7.22.15", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -21682,17 +21702,17 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==" + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==" }, "@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "requires": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" } }, "@babel/helper-hoist-variables": { @@ -21789,14 +21809,14 @@ } }, "@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==" + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==" }, "@babel/helper-validator-identifier": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.19.tgz", - "integrity": "sha512-Tinq7ybnEPFFXhlYOYFiSjespWQk0dq2dRNAiMdRTOYQzEGqnnNyrTxPYHP5r6wGjlF1rFgABdDV0g8EwD6Qbg==" + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" }, "@babel/helper-validator-option": { "version": "7.22.15", @@ -21824,11 +21844,11 @@ } }, "@babel/highlight": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.13.tgz", - "integrity": "sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "requires": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, @@ -21885,9 +21905,9 @@ } }, "@babel/parser": { - "version": "7.22.16", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.16.tgz", - "integrity": "sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==" + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.22.15", @@ -22756,19 +22776,19 @@ } }, "@babel/traverse": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.19.tgz", - "integrity": "sha512-ZCcpVPK64krfdScRbpxF6xA5fz7IOsfMwx1tcACvCzt6JY+0aHkBk7eIU8FRDSZRU5Zei6Z4JfgAxN1bqXGECg==", - "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.22.15", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz", + "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==", + "requires": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.22.16", - "@babel/types": "^7.22.19", - "debug": "^4.1.0", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" }, "dependencies": { @@ -22780,12 +22800,12 @@ } }, "@babel/types": { - "version": "7.22.19", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.19.tgz", - "integrity": "sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "requires": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.19", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } }, @@ -22854,12 +22874,11 @@ "dev": true }, "@electron/asar": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.4.tgz", - "integrity": "sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==", + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.8.tgz", + "integrity": "sha512-cmskk5M06ewHMZAplSiF4AlME3IrnnZhKnWbtwKVLRkdJkKyUVjMLhDIiPIx/+6zQWVlKX/LtmK9xDme7540Sg==", "dev": true, "requires": { - "chromium-pickle-js": "^0.2.0", "commander": "^5.0.0", "glob": "^7.1.6", "minimatch": "^3.0.4" @@ -22890,13 +22909,14 @@ } }, "@electron/notarize": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.4.tgz", - "integrity": "sha512-W5GQhJEosFNafewnS28d3bpQ37/s91CDWqxVchHfmv2dQSTWpOzNlUVQwYzC1ay5bChRV/A9BTL68yj0Pa+TSg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-2.1.0.tgz", + "integrity": "sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA==", "dev": true, "requires": { "debug": "^4.1.1", - "fs-extra": "^9.0.1" + "fs-extra": "^9.0.1", + "promise-retry": "^2.0.1" }, "dependencies": { "fs-extra": { @@ -22922,17 +22942,17 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } }, "@electron/osx-sign": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.4.tgz", - "integrity": "sha512-xfhdEcIOfAZg7scZ9RQPya1G1lWo8/zMCwUXAulq0SfY7ONIW+b9qGyKdMyuMctNYwllrIS+vmxfijSfjeh97g==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.5.tgz", + "integrity": "sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==", "dev": true, "requires": { "compare-version": "^0.1.2", @@ -22971,9 +22991,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -23268,9 +23288,9 @@ } }, "@electron/universal": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.4.tgz", - "integrity": "sha512-BdhBgm2ZBnYyYRLRgOjM5VHkyFItsbggJ0MHycOjKWdFGYwK97ZFXH54dTvUWEfha81vfvwr5On6XBjt99uDcg==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.4.1.tgz", + "integrity": "sha512-lE/U3UNw1YHuowNbTmKNs9UlS3En3cPgwM5MI+agIgr/B1hSze9NdOP0qn7boZaI9Lph8IDv3/24g9IxnJP7aQ==", "dev": true, "requires": { "@electron/asar": "^3.2.1", @@ -23305,9 +23325,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -23934,9 +23954,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -24022,9 +24042,9 @@ "requires": {} }, "@mdn/browser-compat-data": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.3.5.tgz", - "integrity": "sha512-aGZ/OZCv96fEvUNuOoHbWN9ySODB1Xf04+TFgK3QO/PaM1NI95INaf0YUBLUbbK9lMKWqUzyJk2TPLe3ybFFXg==", + "version": "5.5.10", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.10.tgz", + "integrity": "sha512-s2GGND9oLhEuksOFtICYOBZdMWPANBXTMqAXh89q6g1Mi3+OuWEmp9WFzw2v/nmS175vqeewpC1kDJA7taaxyA==", "dev": true }, "@nicolo-ribaudo/chokidar-2": { @@ -24701,9 +24721,9 @@ } }, "@types/debug": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", - "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, "requires": { "@types/ms": "*" @@ -24902,9 +24922,9 @@ "dev": true }, "@types/ms": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", - "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", "dev": true }, "@types/node": { @@ -24925,9 +24945,9 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "@types/plist": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.2.tgz", - "integrity": "sha512-ULqvZNGMv0zRFvqn8/4LSPtnmN4MfhlPNtJCTpKuIIxGVGZ2rYWzFXrvEBoh9CVyqSE7D6YFRJ1hydLHI6kbWw==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.5.tgz", + "integrity": "sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==", "dev": true, "optional": true, "requires": { @@ -25117,9 +25137,9 @@ } }, "@types/verror": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.6.tgz", - "integrity": "sha512-NNm+gdePAX1VGvPcGZCDKQZKYSiAWigKhKaz5KF94hG6f2s8de9Ow5+7AbXoeKxL8gavZfk4UquSAygOF2duEQ==", + "version": "1.10.9", + "resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.9.tgz", + "integrity": "sha512-MLx9Z+9lGzwEuW16ubGeNkpBDE84RpB/NyGgg6z2BTpWzKkGU451cAY3UkUzZEp72RHF585oJ3V8JVNqIplcAQ==", "dev": true, "optional": true }, @@ -25433,6 +25453,23 @@ "dev": true, "requires": {} }, + "@xhayper/discord-rpc": { + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/@xhayper/discord-rpc/-/discord-rpc-1.0.24.tgz", + "integrity": "sha512-gzC8OaOSz7cGALSHyyq6nANQvBfyfntbSq+Qh+cNanoKX8ybOj+jWKmDP6PbLVDWoBftTU3JYsWXrLml2df2Hw==", + "requires": { + "axios": "^1.5.1", + "ws": "^8.14.2" + }, + "dependencies": { + "ws": { + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", + "requires": {} + } + } + }, "@xmldom/xmldom": { "version": "0.8.10", "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", @@ -25452,9 +25489,9 @@ "dev": true }, "7zip-bin": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.1.1.tgz", - "integrity": "sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.2.0.tgz", + "integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==", "dev": true }, "abab": { @@ -25659,26 +25696,26 @@ "dev": true }, "app-builder-lib": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.6.3.tgz", - "integrity": "sha512-++0Zp7vcCHfXMBGVj7luFxpqvMPk5mcWeTuw7OK0xNAaNtYQTTN0d9YfWRsb1MvviTOOhyHeULWz1CaixrdrDg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.0.tgz", + "integrity": "sha512-eqxC5QZQoZzwqBkd9Rd0O3T/VaSOmgW9pgNc+tXrEktpQ56cEFt4s1AaQjGrLSajamXerVj6bZM5yZFp+CCyqA==", "dev": true, "requires": { "@develar/schema-utils": "~2.6.5", - "@electron/notarize": "^1.2.3", - "@electron/osx-sign": "^1.0.4", - "@electron/universal": "1.3.4", + "@electron/notarize": "2.1.0", + "@electron/osx-sign": "1.0.5", + "@electron/universal": "1.4.1", "@malept/flatpak-bundler": "^0.4.0", "@types/fs-extra": "9.0.13", - "7zip-bin": "~5.1.1", + "7zip-bin": "~5.2.0", "async-exit-hook": "^2.0.1", "bluebird-lst": "^1.0.9", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chromium-pickle-js": "^0.2.0", "debug": "^4.3.4", "ejs": "^3.1.8", - "electron-publish": "24.5.0", + "electron-publish": "24.8.1", "form-data": "^4.0.0", "fs-extra": "^10.1.0", "hosted-git-info": "^4.1.0", @@ -25704,9 +25741,9 @@ } }, "builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "requires": { "debug": "^4.3.4", @@ -25744,9 +25781,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -25911,9 +25948,9 @@ "dev": true }, "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", "dev": true }, "async-exit-hook": { @@ -25951,9 +25988,9 @@ "dev": true }, "axios": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -26374,16 +26411,16 @@ "dev": true }, "builder-util": { - "version": "24.5.0", - "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.5.0.tgz", - "integrity": "sha512-STnBmZN/M5vGcv01u/K8l+H+kplTaq4PAIn3yeuufUKSpcdro0DhJWxPI81k5XcNfC//bjM3+n9nr8F9uV4uAQ==", + "version": "24.8.1", + "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz", + "integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==", "dev": true, "requires": { "@types/debug": "^4.1.6", - "7zip-bin": "~5.1.1", + "7zip-bin": "~5.2.0", "app-builder-bin": "4.0.0", "bluebird-lst": "^1.0.9", - "builder-util-runtime": "9.2.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "cross-spawn": "^7.0.3", "debug": "^4.3.4", @@ -26398,9 +26435,9 @@ }, "dependencies": { "builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "requires": { "debug": "^4.3.4", @@ -26429,9 +26466,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -26547,9 +26584,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==" + "version": "1.0.30001585", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz", + "integrity": "sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==" }, "chalk": { "version": "4.1.2", @@ -27674,14 +27711,14 @@ } }, "dmg-builder": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.6.3.tgz", - "integrity": "sha512-O7KNT7OKqtV54fMYUpdlyTOCP5DoPuRMLqMTgxxV2PO8Hj/so6zOl5o8GTs8pdDkeAhJzCFOUNB3BDhgXbUbJg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.0.tgz", + "integrity": "sha512-0fQdxPtYQYyjj2BScYGhjG6KHp7kcL4+5+X1Kug3zD7IIS7ROv2PV2H3HgGSh9NtUYeY9FLLPKSfggrzj5ZC4Q==", "dev": true, "requires": { - "app-builder-lib": "24.6.3", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "app-builder-lib": "24.9.0", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "dmg-license": "^1.0.11", "fs-extra": "^10.1.0", "iconv-lite": "^0.6.2", @@ -27689,9 +27726,9 @@ }, "dependencies": { "builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "requires": { "debug": "^4.3.4", @@ -27720,9 +27757,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -27908,9 +27945,9 @@ } }, "electron": { - "version": "25.8.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.1.tgz", - "integrity": "sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ==", + "version": "27.1.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-27.1.0.tgz", + "integrity": "sha512-XPdJiO475QJ8cx59/goWNNWnlV0vab+Ut3occymos7VDxkHV5mFrlW6tcGi+M3bW6gBfwpJocWMng8tw542vww==", "dev": true, "requires": { "@electron/get": "^2.0.0", @@ -27927,16 +27964,16 @@ } }, "electron-builder": { - "version": "24.6.3", - "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.6.3.tgz", - "integrity": "sha512-O6PqhRXwfxCNTXI4BlhELSeYYO6/tqlxRuy+4+xKBokQvwDDjDgZMMoSgAmanVSCuzjE7MZldI9XYrKFk+EQDw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.0.tgz", + "integrity": "sha512-jA+jYCZlwYzeJEkb82eZNbdMVTUIh99+JQL3yCZjeV3J1N+pdpDrS0P8wZX8vOGpR310TU0tqgjpkxVgE+38tg==", "dev": true, "requires": { - "app-builder-lib": "24.6.3", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "app-builder-lib": "24.9.0", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", - "dmg-builder": "24.6.3", + "dmg-builder": "24.9.0", "fs-extra": "^10.1.0", "is-ci": "^3.0.0", "lazy-val": "^1.0.5", @@ -27946,9 +27983,9 @@ }, "dependencies": { "builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "requires": { "debug": "^4.3.4", @@ -28059,9 +28096,9 @@ } }, "electron-log": { - "version": "4.4.6", - "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-4.4.6.tgz", - "integrity": "sha512-nirYgRdY+F+vclr8ijdwy2vW03IzFpDHTaKNWu76dEN21Y76+smcES5knS7cgHUUB0qNLOi8vZO36taakjbSXA==" + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-5.1.1.tgz", + "integrity": "sha512-If7HU4Slbh2xfjOXOLxifkbgu6HmWDNJyXPLW+XNTOHMfFKisg0trA3d/7syyu25S+lHosfsd0VMfDSjGn1+Pw==" }, "electron-notarize": { "version": "1.2.1", @@ -28104,14 +28141,14 @@ } }, "electron-publish": { - "version": "24.5.0", - "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.5.0.tgz", - "integrity": "sha512-zwo70suH15L15B4ZWNDoEg27HIYoPsGJUF7xevLJLSI7JUPC8l2yLBdLGwqueJ5XkDL7ucYyRZzxJVR8ElV9BA==", + "version": "24.8.1", + "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz", + "integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==", "dev": true, "requires": { "@types/fs-extra": "^9.0.11", - "builder-util": "24.5.0", - "builder-util-runtime": "9.2.1", + "builder-util": "24.8.1", + "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "fs-extra": "^10.1.0", "lazy-val": "^1.0.5", @@ -28119,9 +28156,9 @@ }, "dependencies": { "builder-util-runtime": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz", - "integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz", + "integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==", "dev": true, "requires": { "debug": "^4.3.4", @@ -28150,9 +28187,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -28730,19 +28767,18 @@ } }, "eslint-plugin-compat": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.1.4.tgz", - "integrity": "sha512-RxySWBmzfIROLFKgeJBJue2BU/6vM2KJWXWAUq+oW4QtrsZXRxbjgxmO1OfF3sHcRuuIenTS/wgo3GyUWZF24w==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.2.0.tgz", + "integrity": "sha512-RDKSYD0maWy5r7zb5cWQS+uSPc26mgOzdORJ8hxILmWM7S/Ncwky7BcAtXVY5iRbKjBdHsWU8Yg7hfoZjtkv7w==", "dev": true, "requires": { - "@mdn/browser-compat-data": "^5.2.47", - "@tsconfig/node14": "^1.0.3", + "@mdn/browser-compat-data": "^5.3.13", "ast-metadata-inferer": "^0.8.0", - "browserslist": "^4.21.5", - "caniuse-lite": "^1.0.30001473", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001524", "find-up": "^5.0.0", - "lodash.memoize": "4.1.2", - "semver": "7.3.8" + "lodash.memoize": "^4.1.2", + "semver": "^7.5.4" }, "dependencies": { "ast-metadata-inferer": { @@ -29539,9 +29575,9 @@ } }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "form-data": { "version": "4.0.0", @@ -30183,7 +30219,8 @@ "html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true }, "html-minifier-terser": { "version": "6.1.0", @@ -30369,9 +30406,9 @@ "dev": true }, "i18next": { - "version": "21.6.16", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.6.16.tgz", - "integrity": "sha512-xJlzrVxG9CyAGsbMP1aKuiNr1Ed2m36KiTB7hjGMG2Zo4idfw3p9THUEu+GjBwIgEZ7F11ZbCzJcfv4uyfKNuw==", + "version": "21.10.0", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz", + "integrity": "sha512-YeuIBmFsGjUfO3qBmMOc0rQaun4mIpGKET5WDwvu8lU7gvwpcariZLNtL0Fzj+zazcHUrlXHiptcFhBMFaxzfg==", "requires": { "@babel/runtime": "^7.17.2" } @@ -30667,9 +30704,9 @@ } }, "ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz", + "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==", "dev": true }, "ipaddr.js": { @@ -32552,9 +32589,9 @@ } }, "nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" }, "natural-compare": { "version": "1.4.0", @@ -32596,9 +32633,9 @@ } }, "node-abi": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.45.0.tgz", - "integrity": "sha512-iwXuFrMAcFVi/ZoZiqq8BzAdsLw9kxDfTC0HMyjXfSL/6CSDAGD5UmR7azrAgWV1zKYq7dUUMj4owusBWKLsiQ==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.51.0.tgz", + "integrity": "sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==", "dev": true, "requires": { "semver": "^7.3.5" @@ -33222,11 +33259,11 @@ } }, "postcss": { - "version": "8.4.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", - "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", + "version": "8.4.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", "requires": { - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } @@ -33902,12 +33939,11 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" }, "react-i18next": { - "version": "11.16.7", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.16.7.tgz", - "integrity": "sha512-7yotILJLnKfvUfrl/nt9eK9vFpVFjZPLWAwBzWL6XppSZZEvlmlKk0GBGDCAPfLfs8oND7WAbry8wGzdoiW5Nw==", + "version": "11.18.6", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.18.6.tgz", + "integrity": "sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==", "requires": { "@babel/runtime": "^7.14.5", - "html-escaper": "^2.0.2", "html-parse-stringify": "^3.0.1" } }, @@ -34600,9 +34636,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "requires": { "lru-cache": "^6.0.0" } @@ -34845,17 +34881,6 @@ "dev": true, "requires": { "semver": "^7.5.3" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "sirv": { @@ -35771,9 +35796,9 @@ } }, "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true } } @@ -36170,9 +36195,9 @@ } }, "tslib": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "tsutils": { "version": "3.21.0", @@ -37205,9 +37230,9 @@ "dev": true }, "zod": { - "version": "3.21.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz", - "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==" + "version": "3.22.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.3.tgz", + "integrity": "sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==" }, "zustand": { "version": "4.3.9", diff --git a/package.json b/package.json index 890af11fd..93e71ab16 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,14 @@ "name": "feishin", "productName": "Feishin", "description": "Feishin music server", - "version": "0.4.1", + "version": "0.5.3", "scripts": { "build": "concurrently \"npm run build:main\" \"npm run build:renderer\" \"npm run build:remote\"", "build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts", "build:remote": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.remote.prod.ts", "build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts", "build:web": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.web.prod.ts", - "build:docker": "npm run build:web && docker build -t jeffvli/feishin .", + "build:docker": "docker build -t jeffvli/feishin .", "rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app", "lint": "concurrently \"npm run lint:code\" \"npm run lint:styles\"", "lint:code": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx --fix", @@ -26,7 +26,7 @@ "start:web": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.web.ts", "test": "jest", "prepare": "husky install", - "i18next": "i18next -c src/renderer/i18n/i18next-parser.config.js", + "i18next": "i18next -c src/i18n/i18next-parser.config.js", "prod:buildserver": "pwsh -c \"./scripts/server-build.ps1\"", "prod:publishserver": "pwsh -c \"./scripts/server-publish.ps1\"" }, @@ -56,7 +56,7 @@ "package.json" ], "afterSign": ".erb/scripts/notarize.js", - "electronVersion": "25.8.1", + "electronVersion": "27.1.0", "mac": { "target": { "target": "default", @@ -93,13 +93,46 @@ ], "icon": "assets/icons/icon.ico" }, + "deb": { + "depends": [ + "libgssapi_krb5.so.2", + "libavahi-common.so.3", + "libavahi-client.so.3", + "libkrb5.so.3", + "libkrb5support.so.0", + "libkeyutils.so.1", + "libcups.so.2" + ] + }, + "rpm": { + "depends": [ + "libgssapi_krb5.so.2", + "libavahi-common.so.3", + "libavahi-client.so.3", + "libkrb5.so.3", + "libkrb5support.so.0", + "libkeyutils.so.1", + "libcups.so.2" + ] + }, + "freebsd": { + "depends": [ + "libgssapi_krb5.so.2", + "libavahi-common.so.3", + "libavahi-client.so.3", + "libkrb5.so.3", + "libkrb5support.so.0", + "libkeyutils.so.1", + "libcups.so.2" + ] + }, "linux": { "target": [ "AppImage", "tar.xz" ], "icon": "assets/icons/icon.png", - "category": "Development" + "category": "AudioVideo;Audio;Player" }, "directories": { "app": "release/app", @@ -197,8 +230,8 @@ "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^3.4.1", "detect-port": "^1.3.0", - "electron": "^25.8.1", - "electron-builder": "^24.6.3", + "electron": "^27.1.0", + "electron-builder": "^24.9.0", "electron-devtools-installer": "^3.2.0", "electron-notarize": "^1.2.1", "electronmon": "^2.0.2", @@ -207,7 +240,7 @@ "eslint-config-erb": "^4.0.3", "eslint-import-resolver-typescript": "^2.7.1", "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-compat": "^4.0.2", + "eslint-plugin-compat": "^4.2.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^26.1.3", "eslint-plugin-jsx-a11y": "^6.5.1", @@ -219,7 +252,7 @@ "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", "husky": "^7.0.4", - "i18next-parser": "^6.3.0", + "i18next-parser": "^6.6.0", "identity-obj-proxy": "^3.0.0", "jest": "^27.5.1", "lint-staged": "^12.3.7", @@ -273,13 +306,14 @@ "@tanstack/react-query-devtools": "^4.32.1", "@tanstack/react-query-persist-client": "^4.32.1", "@ts-rest/core": "^3.23.0", - "axios": "^1.4.0", + "@xhayper/discord-rpc": "^1.0.24", + "axios": "^1.6.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", "dayjs": "^1.11.6", "electron-debug": "^3.2.0", "electron-localshortcut": "^3.2.1", - "electron-log": "^4.4.6", + "electron-log": "^5.1.1", "electron-store": "^8.1.0", "electron-updater": "^4.6.5", "fast-average-color": "^9.3.0", @@ -287,7 +321,7 @@ "framer-motion": "^10.13.0", "fuse.js": "^6.6.2", "history": "^5.3.0", - "i18next": "^21.6.16", + "i18next": "^21.10.0", "idb-keyval": "^6.2.1", "immer": "^9.0.21", "is-electron": "^2.2.2", @@ -302,7 +336,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^3.1.4", - "react-i18next": "^11.16.7", + "react-i18next": "^11.18.6", "react-icons": "^4.10.1", "react-player": "^2.11.0", "react-router": "^6.16.0", @@ -313,7 +347,7 @@ "react-window-infinite-loader": "^1.0.9", "styled-components": "^6.0.8", "swiper": "^9.3.1", - "zod": "^3.21.4", + "zod": "^3.22.3", "zustand": "^4.3.9" }, "resolutions": { diff --git a/release/app/package-lock.json b/release/app/package-lock.json index c0c67d4e1..11e7b9ad9 100644 --- a/release/app/package-lock.json +++ b/release/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "feishin", - "version": "0.4.1", + "version": "0.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "feishin", - "version": "0.4.1", + "version": "0.5.3", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -15,7 +15,7 @@ "ws": "^8.13.0" }, "devDependencies": { - "electron": "25.3.0" + "electron": "25.8.4" } }, "node_modules/@electron/get": { @@ -453,9 +453,9 @@ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" }, "node_modules/electron": { - "version": "25.3.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.3.0.tgz", - "integrity": "sha512-cyqotxN+AroP5h2IxUsJsmehYwP5LrFAOO7O7k9tILME3Sa1/POAg3shrhx4XEnaAMyMqMLxzGvkzCVxzEErnA==", + "version": "25.8.4", + "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.4.tgz", + "integrity": "sha512-hUYS3RGdaa6E1UWnzeGnsdsBYOggwMMg4WGxNGvAoWtmRrr6J1BsjFW/yRq4WsJHJce2HdzQXtz4OGXV6yUCLg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -647,9 +647,9 @@ } }, "node_modules/global-agent/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "optional": true, "dependencies": { @@ -1166,9 +1166,9 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -1672,9 +1672,9 @@ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" }, "electron": { - "version": "25.3.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.3.0.tgz", - "integrity": "sha512-cyqotxN+AroP5h2IxUsJsmehYwP5LrFAOO7O7k9tILME3Sa1/POAg3shrhx4XEnaAMyMqMLxzGvkzCVxzEErnA==", + "version": "25.8.4", + "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.4.tgz", + "integrity": "sha512-hUYS3RGdaa6E1UWnzeGnsdsBYOggwMMg4WGxNGvAoWtmRrr6J1BsjFW/yRq4WsJHJce2HdzQXtz4OGXV6yUCLg==", "dev": true, "requires": { "@electron/get": "^2.0.0", @@ -1818,9 +1818,9 @@ }, "dependencies": { "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "optional": true, "requires": { @@ -2198,9 +2198,9 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true }, "semver-compare": { diff --git a/release/app/package.json b/release/app/package.json index 0ceba24c2..14c28c461 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "feishin", - "version": "0.4.1", + "version": "0.5.3", "description": "", "main": "./dist/main/main.js", "author": { @@ -18,7 +18,7 @@ "ws": "^8.13.0" }, "devDependencies": { - "electron": "25.3.0" + "electron": "25.8.4" }, "license": "GPL-3.0" } diff --git a/settings.js.template b/settings.js.template new file mode 100644 index 000000000..782f0d7e8 --- /dev/null +++ b/settings.js.template @@ -0,0 +1 @@ +"use strict";window.SERVER_URL="${SERVER_URL}";window.SERVER_NAME="${SERVER_NAME}";window.SERVER_TYPE="${SERVER_TYPE}";window.SERVER_LOCK=${SERVER_LOCK}; diff --git a/src/i18n/i18n.js b/src/i18n/i18n.js deleted file mode 100644 index 1683c700b..000000000 --- a/src/i18n/i18n.js +++ /dev/null @@ -1,32 +0,0 @@ -import i18n from 'i18next'; -import { initReactI18next } from 'react-i18next'; -const en = require('./locales/en.json'); - -const resources = { - en: { translation: en }, -}; - -export const Languages = [ - { - label: 'English', - value: 'en', - }, -]; - -i18n - .use(initReactI18next) // passes i18n down to react-i18next - .init({ - fallbackLng: 'en', - // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources - // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage - // if you're using a language detector, do not define the lng option - interpolation: { - escapeValue: false, // react already safes from xss - }, - - lng: 'en', - - resources, - }); - -export default i18n; diff --git a/src/i18n/i18n.ts b/src/i18n/i18n.ts new file mode 100644 index 000000000..60d4a24ab --- /dev/null +++ b/src/i18n/i18n.ts @@ -0,0 +1,161 @@ +import { PostProcessorModule, TOptions, StringMap } from 'i18next'; +import i18n from 'i18next'; +import { initReactI18next } from 'react-i18next'; +import en from './locales/en.json'; +import es from './locales/es.json'; +import fr from './locales/fr.json'; +import ja from './locales/ja.json'; +import pl from './locales/pl.json'; +import zhHans from './locales/zh-Hans.json'; +import de from './locales/de.json'; +import it from './locales/it.json'; +import ru from './locales/ru.json'; +import ptBr from './locales/pt-BR.json'; +import sr from './locales/sr.json'; +import sv from './locales/sv.json'; +import cs from './locales/cs.json'; +import nbNO from './locales/nb-NO.json'; +import nl from './locales/nl.json'; + +const resources = { + en: { translation: en }, + es: { translation: es }, + de: { translation: de }, + it: { translation: it }, + ru: { translation: ru }, + 'pt-BR': { translation: ptBr }, + fr: { translation: fr }, + ja: { translation: ja }, + pl: { translation: pl }, + 'zh-Hans': { translation: zhHans }, + sr: { translation: sr }, + sv: { translation: sv }, + cs: { translation: cs }, + nl: { translation: nl }, + 'nb-NO': { translation: nbNO }, +}; + +export const languages = [ + { + label: 'English', + value: 'en', + }, + { + label: 'Čeština', + value: 'cs', + }, + { + label: 'Español', + value: 'es', + }, + { + label: 'Deutsch', + value: 'de', + }, + { + label: 'Français', + value: 'fr', + }, + { + label: 'Italiano', + value: 'it', + }, + { + label: '日本語', + value: 'ja', + }, + { + label: 'Nederlands', + value: 'nl', + }, + { + label: 'Norsk (Bokmål)', + value: 'nb-NO', + }, + + { + label: 'Português (Brasil)', + value: 'pt-BR', + }, + { + label: 'Polski', + value: 'pl', + }, + { + label: 'Русский', + value: 'ru', + }, + { + label: 'Srpski', + value: 'sr', + }, + { + label: 'Svenska', + value: 'sv', + }, + { + label: '简体中文', + value: 'zh-Hans', + }, +]; + +const lowerCasePostProcessor: PostProcessorModule = { + type: 'postProcessor', + name: 'lowerCase', + process: (value: string) => { + return value.toLocaleLowerCase(); + }, +}; + +const upperCasePostProcessor: PostProcessorModule = { + type: 'postProcessor', + name: 'upperCase', + process: (value: string) => { + return value.toLocaleUpperCase(); + }, +}; + +const titleCasePostProcessor: PostProcessorModule = { + type: 'postProcessor', + name: 'titleCase', + process: (value: string) => { + return value.replace(/\S\S*/g, (txt) => { + return txt.charAt(0).toLocaleUpperCase() + txt.slice(1).toLowerCase(); + }); + }, +}; + +const ignoreSentenceCaseLanguages = ['de'] + +const sentenceCasePostProcessor: PostProcessorModule = { + type: 'postProcessor', + name: 'sentenceCase', + process: (value: string, _key: string, _options: TOptions, translator: any) => { + const sentences = value.split('. '); + + return sentences + .map((sentence) => { + return ( + sentence.charAt(0).toLocaleUpperCase() + (!ignoreSentenceCaseLanguages.includes(translator.language) ? sentence.slice(1).toLocaleLowerCase() : sentence.slice(1)) + ); + }) + .join('. '); + }, +}; +i18n.use(lowerCasePostProcessor) + .use(upperCasePostProcessor) + .use(titleCasePostProcessor) + .use(sentenceCasePostProcessor) + .use(initReactI18next) // passes i18n down to react-i18next + .init({ + fallbackLng: 'en', + // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources + // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage + // if you're using a language detector, do not define the lng option + interpolation: { + escapeValue: false, // react already safes from xss + }, + resources, + }); + +export default i18n; diff --git a/src/i18n/i18next-parser.config.js b/src/i18n/i18next-parser.config.js index d3d12e0ed..22071636c 100644 --- a/src/i18n/i18next-parser.config.js +++ b/src/i18n/i18next-parser.config.js @@ -1,117 +1,44 @@ -// i18next-parser.config.js +// Reference: https://github.com/i18next/i18next-parser#options module.exports = { - contextSeparator: '_', - // Key separator used in your translation keys - - createOldCatalogs: true, - - // Exit with an exit code of 1 when translations are updated (for CI purpose) - customValueTemplate: null, - - // Save the \_old files - defaultNamespace: 'translation', - - // Default namespace used in your i18next config - defaultValue: '', - - // Exit with an exit code of 1 on warnings - failOnUpdate: false, - - // Display info about the parsing including some stats - failOnWarnings: false, - - // The locale to compare with default values to determine whether a default value has been changed. - // If this is set and a default value differs from a translation in the specified locale, all entries - // for that key across locales are reset to the default value, and existing translations are moved to - // the `_old` file. - i18nextOptions: null, - - // Default value to give to empty keys - // You may also specify a function accepting the locale, namespace, and key as arguments - indentation: 2, - - // Plural separator used in your translation keys - // If you want to use plain english keys, separators such as `_` might conflict. You might want to set `pluralSeparator` to a different string that does not occur in your keys. - input: [ - '../components/**/*.{js,jsx,ts,tsx}', - '../features/**/*.{js,jsx,ts,tsx}', - '../layouts/**/*.{js,jsx,ts,tsx}', - '!../../src/node_modules/**', - '!../../src/**/*.prod.js', - ], - - // Indentation of the catalog files - keepRemoved: false, - - // Keep keys from the catalog that are no longer in code - keySeparator: '.', - - // Key separator used in your translation keys - // If you want to use plain english keys, separators such as `.` and `:` will conflict. You might want to set `keySeparator: false` and `namespaceSeparator: false`. That way, `t('Status: Loading...')` will not think that there are a namespace and three separator dots for instance. - // see below for more details - lexers: { - default: ['JavascriptLexer'], - handlebars: ['HandlebarsLexer'], - - hbs: ['HandlebarsLexer'], - htm: ['HTMLLexer'], - - html: ['HTMLLexer'], - js: ['JavascriptLexer'], - jsx: ['JsxLexer'], - - mjs: ['JavascriptLexer'], - // if you're writing jsx inside .js files, change this to JsxLexer - ts: ['JavascriptLexer'], - - tsx: ['JsxLexer'], - }, - - lineEnding: 'auto', - - // Control the line ending. See options at https://github.com/ryanve/eol - locales: ['en'], - - // An array of the locales in your applications - namespaceSeparator: false, - - // Namespace separator used in your translation keys - // If you want to use plain english keys, separators such as `.` and `:` will conflict. You might want to set `keySeparator: false` and `namespaceSeparator: false`. That way, `t('Status: Loading...')` will not think that there are a namespace and three separator dots for instance. - output: 'src/renderer/i18n/locales/$LOCALE.json', - - // Supports $LOCALE and $NAMESPACE injection - // Supports JSON (.json) and YAML (.yml) file formats - // Where to write the locale files relative to process.cwd() - pluralSeparator: '_', - - // If you wish to customize the value output the value as an object, you can set your own format. - // ${defaultValue} is the default value you set in your translation function. - // Any other custom property will be automatically extracted. - // - // Example: - // { - // message: "${defaultValue}", - // description: "${maxLength}", // - // } - resetDefaultValueLocale: 'en', - - // Whether or not to sort the catalog. Can also be a [compareFunction](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#parameters) - skipDefaultValues: false, - - // An array of globs that describe where to look for source files - // relative to the location of the configuration file - sort: true, - - // Whether to ignore default values - // You may also specify a function accepting the locale and namespace as arguments - useKeysAsDefaultValue: true, - - // Whether to use the keys as the default value; ex. "Hello": "Hello", "World": "World" - // This option takes precedence over the `defaultValue` and `skipDefaultValues` options - // You may also specify a function accepting the locale and namespace as arguments - verbose: false, - // If you wish to customize options in internally used i18next instance, you can define an object with any - // configuration property supported by i18next (https://www.i18next.com/overview/configuration-options). - // { compatibilityJSON: 'v3' } can be used to generate v3 compatible plurals. + contextSeparator: '_', + createOldCatalogs: true, + customValueTemplate: null, + defaultNamespace: 'translation', + defaultValue: '', + failOnUpdate: false, + failOnWarnings: false, + i18nextOptions: null, + indentation: 4, + input: [ + '../renderer/components/**/*.{js,jsx,ts,tsx}', + '../renderer/features/**/*.{js,jsx,ts,tsx}', + '../renderer/layouts/**/*.{js,jsx,ts,tsx}', + '!../src/node_modules/**', + '!../src/**/*.prod.js', + ], + keepRemoved: false, + keySeparator: '.', + lexers: { + default: ['JavascriptLexer'], + handlebars: ['HandlebarsLexer'], + hbs: ['HandlebarsLexer'], + htm: ['HTMLLexer'], + html: ['HTMLLexer'], + js: ['JavascriptLexer'], + jsx: ['JsxLexer'], + mjs: ['JavascriptLexer'], + ts: ['JavascriptLexer'], + tsx: ['JsxLexer'], + }, + lineEnding: 'auto', + locales: ['en'], + namespaceSeparator: false, + output: 'src/renderer/i18n/locales/$LOCALE.json', + pluralSeparator: '_', + resetDefaultValueLocale: 'en', + skipDefaultValues: false, + sort: true, + useKeysAsDefaultValue: true, + verbose: false, }; diff --git a/src/i18n/locales/cs.json b/src/i18n/locales/cs.json new file mode 100644 index 000000000..0ee357e6a --- /dev/null +++ b/src/i18n/locales/cs.json @@ -0,0 +1,632 @@ +{ + "player": { + "repeat_all": "opakovat vše", + "stop": "zastavit", + "repeat": "opakovat", + "queue_remove": "odebrat vybrané", + "playRandom": "přehrát náhodné", + "skip": "přeskočit", + "previous": "předchozí", + "toggleFullscreenPlayer": "přepnout celoobrazovkový přehrávač", + "skip_back": "přeskočit dozadu", + "favorite": "oblíbené", + "next": "další", + "shuffle": "náhodně", + "playbackFetchNoResults": "nenalezeny žádné skladby", + "playbackFetchInProgress": "načítání skladeb…", + "addNext": "přidat další", + "playbackSpeed": "rychlost přehrávání", + "playbackFetchCancel": "chvíli to trvá… zavřete oznámení pro zrušení akce", + "play": "přehrát", + "repeat_off": "opakování zakázáno", + "pause": "pozastavit", + "queue_clear": "vymazat frontu", + "muted": "ztlumeno", + "unfavorite": "odebrat z oblíbených", + "queue_moveToTop": "přesunout vybrané dolů", + "queue_moveToBottom": "přesunout vybrané nahoru", + "shuffle_off": "náhodně zakázáno", + "addLast": "přidat poslední", + "mute": "ztlumit", + "skip_forward": "přeskočit dopředu" + }, + "setting": { + "crossfadeStyle_description": "vyberte způsob prolnutí u přehrávače zvuku", + "remotePort_description": "nastavení portu pro server vzdáleného ovládání", + "hotkey_skipBackward": "přeskočení zpět", + "replayGainMode_description": "úprava zesílení hlasitosti podle hodnot {{ReplayGain}} uložených v metadatech souborů", + "volumeWheelStep_description": "počet procent, o které má být hlasitost posunuta při přejetí kolečkem myši na posuvníku hlasitosti", + "audioDevice_description": "vyberte zvukové zařízení k přehrávání (pouze webový přehrávač)", + "theme_description": "nastavení motivu použitého v aplikaci", + "hotkey_playbackPause": "pozastavení", + "replayGainFallback": "fallback {{ReplayGain}}", + "sidebarCollapsedNavigation_description": "zobrazit nebo skrýt navigaci ve sbaleném postranním panelu", + "mpvExecutablePath_help": "jedna na řádek", + "hotkey_volumeUp": "zvýšení hlasitosti", + "skipDuration": "doba k přeskočení", + "discordIdleStatus_description": "při povolení bude upraven stav když je přehrávač nečinný", + "showSkipButtons": "zobrazit tlačítka k přeskočení", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "minimální doba pro scrobblování (v procentech)", + "lyricFetch": "načtení textů z internetu", + "scrobble": "scrobblování", + "skipDuration_description": "nastavení doby k přeskočení při použití tlačítek k přeskočení na liště přehrávače", + "enableRemote_description": "povolí vzdálený ovládací server pro umožnění ostatním zařízením ovládat aplikaci", + "fontType_optionSystem": "systémové písmo", + "mpvExecutablePath_description": "nastavení cesty ke spustitelnému souboru mpv", + "replayGainClipping_description": "Zabránění clippingu způsobenému funkcí {{ReplayGain}} automatickým snížením zesílení", + "replayGainPreamp": "před-zesílení {{ReplayGain}} (dB)", + "hotkey_favoriteCurrentSong": "oblíbit $t(common.currentSong)", + "sampleRate": "vzorkovací frekvence", + "crossfadeStyle": "způsob prolnutí", + "sidePlayQueueStyle_optionAttached": "připojené", + "sidebarConfiguration": "nastavení postranního panelu", + "sampleRate_description": "vyberte výstupní vzorkovací frekvenci k použití, když je vybraná vzorkovací frekvence jiná, než ta u aktuálního média", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainClipping": "clipping {{ReplayGain}}", + "hotkey_zoomIn": "přiblížení", + "scrobble_description": "scrobblovat přehrání na váš multimediální server", + "hotkey_browserForward": "vpřed v prohlížeči", + "audioExclusiveMode_description": "zapnout režim výhradního výstupu. V tomto režimu bude obvykle v systému schopný přehrávat zvuk pouze přehrávač mpv", + "discordUpdateInterval": "interval aktualizací {{discord}} rich presence", + "themeLight": "motiv (světlý)", + "fontType_optionBuiltIn": "vestavěné písmo", + "hotkey_playbackPlayPause": "přehrání / pozastavení", + "hotkey_rate1": "hodnocení 1 hvězdou", + "hotkey_skipForward": "přeskočení vpřed", + "disableLibraryUpdateOnStartup": "vypnout kontrolu nových verzí při spuštění", + "discordApplicationId_description": "id aplikace pro {{discord}} rich presence (výchozí je {{defaultId}})", + "sidePlayQueueStyle": "styl postranní fronty přehrávání", + "gaplessAudio": "zvuk bez mezer", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "zoom": "procento přiblížení", + "minimizeToTray_description": "minimalizovat aplikaci do systémové lišty", + "hotkey_playbackPlay": "přehrání", + "hotkey_togglePreviousSongFavorite": "přepnutí oblíbení u $t(common.previousSong)", + "hotkey_volumeDown": "snížení hlasitosti", + "hotkey_unfavoritePreviousSong": "zrušení oblíbení u $t(common.previousSong)", + "audioPlayer_description": "vyberte zvukový přehrávač pro použití k přehrávání", + "globalMediaHotkeys": "globální klávesové zkratky médií", + "hotkey_globalSearch": "globální vyhledávání", + "gaplessAudio_description": "nastavení přehrávače mpv pro přehrávání bez mezer", + "remoteUsername_description": "nastavení uživatelského jména pro server vzdáleného ovládání. pokud je jméno i heslo prázdné, bude autentifikace zakázána", + "disableAutomaticUpdates": "vypnout automatické aktualizace", + "exitToTray_description": "ukončit aplikaci do systémové lišty", + "followLyric_description": "přesouvat texty s aktuální pozicí přehrávání", + "hotkey_favoritePreviousSong": "oblíbit $t(common.previousSong)", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "odsazení textů (ms)", + "discordUpdateInterval_description": "čas v sekundách mezi každou aktualizací (minimálně 15 sekund)", + "fontType_optionCustom": "vlastní písmo", + "themeDark_description": "nastavit použití tmavého motivu v aplikaci", + "audioExclusiveMode": "režim výhradního výstupu", + "remotePassword": "heslo serveru pro vzdálené ovládání", + "lyricFetchProvider": "poskytovatelé textů", + "language_description": "nastavení jazyka aplikace ($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "křížové prolnutí", + "hotkey_rate3": "hodnocení 3 hvězdami", + "font": "písmo", + "mpvExtraParameters": "parametry mpv", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "nastavit použití světlého motivu v aplikaci", + "hotkey_toggleFullScreenPlayer": "přepnutí přehrávače na celou obrazovku", + "hotkey_localSearch": "vyhledávání na stránce", + "hotkey_toggleQueue": "přepnutí fronty", + "zoom_description": "nastavte procento přiblížení aplikace", + "remotePassword_description": "nastavení hesla pro server vzdáleného ovládání. Tyto údaje jsou ve výchozím nastavení přenášeny nezabezpečeným spojením, takže doporučujeme použití unikátního hesla, na kterém vám nezáleží", + "hotkey_rate5": "hodnocení 5 hvězdami", + "hotkey_playbackPrevious": "předchozí skladba", + "showSkipButtons_description": "zobrazit nebo skrýt tlačítka k přeskočení na liště přehrávače", + "crossfadeDuration_description": "nastavte trvání efektu prolnutí", + "language": "jazyk", + "playbackStyle": "způsob přehrávání", + "hotkey_toggleShuffle": "přepnutí náhodného přehrávání", + "theme": "motiv", + "playbackStyle_description": "nastavení způsobu přehrávání pro přehrávač zvuku", + "discordRichPresence_description": "povolit stav přehrávání v {{discord}} rich presence. Klíče obrázků jsou: {{icon}}, {{playing}}, {{paused}} ", + "mpvExecutablePath": "cesta ke spustitelnému souboru mpv", + "audioDevice": "zvukové zařízení", + "hotkey_rate2": "hodnocení 2 hvězdami", + "playButtonBehavior_description": "nastavení výchozího chování tlačítka přehrávání při přidávání skladeb do fronty", + "minimumScrobblePercentage_description": "minimální procento skladby, které musí být přehráno před jejím scrobblováním", + "exitToTray": "ukončit do lišty", + "hotkey_rate4": "hodnocení 4 hvězdami", + "enableRemote": "povolit vzdálený ovládací server", + "showSkipButton_description": "zobrazit nebo skrýt tlačítka k přeskočení na liště přehrávače", + "savePlayQueue": "uložit frontu přehrávání", + "minimumScrobbleSeconds_description": "minimální doba v sekundách, která musí být přehrána před scrobblováním skladby", + "skipPlaylistPage_description": "při navigaci na playlist přejít na stránku seznamu skladeb v playlistu namísto výchozí stránky", + "fontType_description": "vestavěné písmo vybere jedno z písem poskytovaných programem Feishin. systémové písmo vám umožní vybrat si jakékoli písmo poskytované vaším operačním systémem. vlastní vám umožňuje použít vaše vlastní písmo", + "playButtonBehavior": "chování tlačítka přehrávání", + "volumeWheelStep": "krok kolečka hlasitosti", + "sidebarPlaylistList_description": "zobrazit nebo skrýt seznam playlistů v postranním panelu", + "accentColor": "barva", + "sidePlayQueueStyle_description": "nastavení stylu postranní fronty přehrávání", + "accentColor_description": "nastaví barvu aplikace", + "replayGainMode": "režim {{ReplayGain}}", + "playbackStyle_optionNormal": "normální", + "windowBarStyle": "styl záhlaví okna", + "floatingQueueArea": "zobrazit plovoucí oblast přejetí nad frontou", + "replayGainFallback_description": "zesílení v db k použití, když nemá soubor žádné značky {{ReplayGain}}", + "replayGainPreamp_description": "úprava předběžného zesílení použitého na hodnoty {{ReplayGain}}", + "hotkey_toggleRepeat": "přepnutí opakování", + "lyricOffset_description": "odsazení textů o určité množství milisekund", + "sidebarConfiguration_description": "vyberte položky a pořadí, ve kterém budou v postranním panelu", + "fontType": "typ písma", + "remotePort": "port serveru vzdáleného ovládání", + "applicationHotkeys": "aplikační zkratky", + "hotkey_playbackNext": "další skladba", + "useSystemTheme_description": "následovat systémovou předvolbu světlého nebo tmavého motivu", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "načtení textů z různých internetových zdrojů", + "lyricFetchProvider_description": "vyberte poskytovatele textů. pořadí poskytovatelů je pořadí, ve kterém budou načítány", + "globalMediaHotkeys_description": "zapnout nebo vypnout použití vašich systémových zkratek médií pro ovládání přehrávače", + "customFontPath": "vlastní cesta k písmům", + "followLyric": "zobrazit aktuální texty", + "crossfadeDuration": "trvání prolnutí", + "discordIdleStatus": "zobrazit stav nečinnosti v rich presence", + "sidePlayQueueStyle_optionDetached": "odpojené", + "audioPlayer": "zvukový přehrávač", + "hotkey_zoomOut": "oddálení", + "hotkey_unfavoriteCurrentSong": "zrušení oblíbení u $t(common.currentSong)", + "hotkey_rate0": "vymazání hodnocení", + "discordApplicationId": "aplikační id pro {{discord}}", + "applicationHotkeys_description": "nastavení klávesových zkratek aplikace. přepněte pole pro nastavení jako globální zkratku (pouze na počítači)", + "floatingQueueArea_description": "zobrazit ikonu přejetí myší na pravé straně obrazovky pro zobrazení fronty", + "hotkey_volumeMute": "ztlumení", + "hotkey_toggleCurrentSongFavorite": "přepnutí oblíbení u $t(common.currentSong)", + "remoteUsername": "uživatelské jméno serveru vzdáleného ovládání", + "hotkey_browserBack": "zpět v prohlížeči", + "showSkipButton": "zobrazit tlačítka k přeskočení", + "sidebarPlaylistList": "postranní seznam playlistů", + "minimizeToTray": "minimalizovat do lišty", + "skipPlaylistPage": "přeskočit stránku playlistu", + "themeDark": "motiv (tmavý)", + "sidebarCollapsedNavigation": "postranní (sbalená) navigace", + "customFontPath_description": "nastavení cesty k vlastnímu písmu k využití v aplikaci", + "gaplessAudio_optionWeak": "slabý (doporučeno)", + "minimumScrobbleSeconds": "minimální scrobblování (v sekundách)", + "hotkey_playbackStop": "zastavení", + "windowBarStyle_description": "vyberte styl záhlaví okna", + "discordRichPresence": "{{discord}} rich presence", + "font_description": "nastavení písma použitého v aplikaci", + "savePlayQueue_description": "uložit frontu přehrávání, když je aplikace zavřena a obnovit ji při otevření aplikace", + "useSystemTheme": "použít systémový motiv" + }, + "action": { + "editPlaylist": "upravit $t(entity.playlist_one)", + "goToPage": "přejít na stránku", + "moveToTop": "přesunout nahoru", + "clearQueue": "vymazat frontu", + "addToFavorites": "přidat do $t(entity.favorite_other)", + "addToPlaylist": "přidat do $t(entity.playlist_one)", + "createPlaylist": "vytvořit $t(entity.playlist_one)", + "removeFromPlaylist": "odebrat z $t(entity.playlist_one)", + "viewPlaylists": "zobrazit $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "odstranit $t(entity.playlist_one)", + "removeFromQueue": "odebrat z fronty", + "deselectAll": "zrušit výběr všeho", + "moveToBottom": "přesunout dolů", + "setRating": "nastavit hodnocení", + "toggleSmartPlaylistEditor": "přepnout editor $t(entity.smartPlaylist)", + "removeFromFavorites": "odebrat z $t(entity.favorite_other)" + }, + "common": { + "backward": "zpátky", + "increase": "zvýčit", + "rating": "hodnocení", + "bpm": "bpm", + "refresh": "obnovit", + "unknown": "neznámý", + "areYouSure": "opravdu?", + "edit": "upravit", + "favorite": "oblíbený", + "left": "vlevo", + "save": "uložit", + "right": "vpravo", + "currentSong": "aktuální $t(entity.track_one)", + "collapse": "sbalit", + "trackNumber": "stopa", + "descending": "sestupně", + "add": "přidat", + "gap": "mezera", + "ascending": "vzestupně", + "dismiss": "zavřít", + "year": "rok", + "manage": "správa", + "limit": "limit", + "minimize": "minimalizovat", + "modified": "upraveno", + "duration": "trvání", + "name": "název", + "maximize": "maximalizovat", + "decrease": "snížit", + "ok": "ok", + "description": "popis", + "configure": "nastavit", + "path": "cesta", + "center": "uprostřed", + "no": "ne", + "owner": "majitel", + "enable": "zapnout", + "clear": "vymazat", + "forward": "vpřed", + "delete": "odstranit", + "cancel": "zrušit", + "forceRestartRequired": "restartujte pro použití změn… zavřete oznámení pro restartování", + "setting": "nastavení", + "version": "verze", + "title": "název", + "filter_one": "filtr", + "filter_few": "filtry", + "filter_other": "filtrů", + "filters": "filtry", + "create": "vytvořit", + "bitrate": "datový tok", + "saveAndReplace": "uložit a nahradit", + "action_one": "akce", + "action_few": "akce", + "action_other": "akcí", + "playerMustBePaused": "přehrávač musí být pozastaven", + "confirm": "potvrdit", + "resetToDefault": "resetovat na výchozí", + "home": "domů", + "comingSoon": "již brzy…", + "reset": "resetovat", + "channel_one": "kanál", + "channel_few": "kanály", + "channel_other": "kanálů", + "disable": "vypnout", + "sortOrder": "pořadí", + "none": "žádný", + "menu": "nabídka", + "restartRequired": "vyžadován restart", + "previousSong": "předchozí $t(entity.track_one)", + "noResultsFromQuery": "nebyly nalezeny žádné výsledky", + "quit": "ukončit", + "expand": "rozbalit", + "search": "hledat", + "saveAs": "uložit jako", + "disc": "disk", + "yes": "ano", + "random": "náhodně", + "size": "velikost", + "biography": "biografie", + "note": "poznámka" + }, + "table": { + "config": { + "view": { + "card": "karta", + "table": "tabulka", + "poster": "plakát" + }, + "general": { + "displayType": "typ zobrazení", + "gap": "$t(common.gap)", + "tableColumns": "sloupce tabulky", + "autoFitColumns": "automaticky přizpůsobit sloupce", + "size": "$t(common.size)" + }, + "label": { + "releaseDate": "datum vydání", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (kombinovaný)", + "dateAdded": "datum přidání", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "naposledy přehráno", + "trackNumber": "číslo stopy", + "rowIndex": "index řádku", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "počet přehrání", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "číslo disku", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "comment": "komentář", + "album": "album", + "rating": "hodnocení", + "favorite": "oblíbené", + "playCount": "přehrání", + "albumCount": "$t(entity.album_other)", + "releaseYear": "rok", + "lastPlayed": "naposledy přehráno", + "biography": "biografie", + "releaseDate": "datum vydání", + "bitrate": "datový tok", + "title": "název", + "bpm": "bpm", + "dateAdded": "datum přidání", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "skladba", + "genre": "$t(entity.genre_one)", + "albumArtist": "umělec alba", + "path": "cesta", + "discNumber": "disk", + "channels": "$t(common.channel_other)" + } + }, + "error": { + "remotePortWarning": "restartujte server pro použití nového portu", + "systemFontError": "při pokusu o získání systémových písem se vyskytla chyba", + "playbackError": "při pokusu o přehrání médií se vyskytla chyba", + "endpointNotImplementedError": "endpoint {{endpoint}} není u serveru {{serverType}} implementován", + "remotePortError": "při pokusu o nastavení portu vzdáleného serveru se vyskytla chyba", + "serverRequired": "vyžadován server", + "authenticationFailed": "ověření selhalo", + "apiRouteError": "nepodařilo se přesměrovat žádost", + "genericError": "vyskytla se chyba", + "credentialsRequired": "vyžadovány údaje", + "sessionExpiredError": "vaše relace vypršela", + "remoteEnableError": "při pokusu $t(common.enable) vzdálený server se vyskytla chyba", + "localFontAccessDenied": "přístup k místním písmům zakázán", + "serverNotSelectedError": "není vybrán žádný server", + "remoteDisableError": "při pokusu $t(common.disable) vzdálený server se vyskytla chyba", + "mpvRequired": "vyžadován přehrávač MPV", + "audioDeviceFetchError": "při pokusu o přístup ke zvukovým zařízením se vyskytla chyba", + "invalidServer": "neplatný server", + "loginRateError": "příliš mnoho pokusů o přihlášení, zkuste to znovu za pár vteřin" + }, + "filter": { + "mostPlayed": "nejvíce přehráváno", + "comment": "komentář", + "playCount": "počet přehrání", + "recentlyUpdated": "nedávno upraveno", + "channels": "$t(common.channel_other)", + "isCompilation": "je kompilace", + "recentlyPlayed": "nedávno přehráno", + "isRated": "je hodnoceno", + "owner": "$t(common.owner)", + "title": "název", + "rating": "hodnocení", + "search": "hledat", + "bitrate": "datový tok", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "nedávno přidáno", + "note": "poznámka", + "name": "název", + "dateAdded": "datum přidání", + "releaseDate": "datum vydání", + "albumCount": "počet $t(entity.album_other)", + "communityRating": "komunitní hodnocení", + "path": "cesta", + "favorited": "oblíbené", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "je nedávno přehráno", + "isFavorited": "je oblíbené", + "bpm": "bpm", + "releaseYear": "rok vydání", + "id": "id", + "disc": "disk", + "biography": "biografie", + "songCount": "počet skladeb", + "artist": "$t(entity.artist_one)", + "duration": "trvání", + "isPublic": "je veřejné", + "random": "náhodně", + "lastPlayed": "naposledy přehráno", + "toYear": "do roku", + "fromYear": "z roku", + "criticRating": "hodnocení kritiků", + "album": "$t(entity.album_one)", + "trackNumber": "skladba" + }, + "page": { + "sidebar": { + "nowPlaying": "právě hraje", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "zobrazit shodu textů", + "dynamicBackground": "dynamické pozadí", + "synchronized": "synchronizováno", + "followCurrentLyric": "následovat aktuální text", + "opacity": "neprůhlednost", + "lyricSize": "velikost textů", + "showLyricProvider": "zobrazit poskytovatele textů", + "unsynchronized": "nesynchronizováno", + "lyricAlignment": "zarovnání textů", + "useImageAspectRatio": "použít poměr stran obrázku", + "lyricGap": "mezera textů" + }, + "upNext": "další", + "lyrics": "texty", + "related": "související" + }, + "appMenu": { + "selectServer": "vybrat server", + "version": "verze {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "správce serverů", + "expandSidebar": "rozbalit postranní panel", + "collapseSidebar": "sbalit postranní panel", + "openBrowserDevtools": "otevřít vývojářské nástroje", + "quit": "$t(common.quit)", + "goBack": "přejít zpět", + "goForward": "přejít vpřed" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "vybráno {{count}}", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "nejpřehrávanější", + "newlyAdded": "nově přidáno", + "title": "$t(common.home)", + "explore": "procházet z vaší knihovny", + "recentlyPlayed": "nedávno přehráno" + }, + "albumDetail": { + "moreFromArtist": "více od tohoto umělce", + "moreFromGeneric": "více od {{item}}" + }, + "setting": { + "playbackTab": "přehrávání", + "generalTab": "obecné", + "hotkeysTab": "klávesové zkratky", + "windowTab": "okno" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "příkazy serveru", + "goToPage": "přejít na stránku", + "searchFor": "hledání {{query}}" + }, + "title": "příkazy" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "odstranit $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) úspěšně odstraněn", + "input_confirm": "pro potvrzení zadejte název $t(entity.playlist_one)u" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "vytvořit $t(entity.playlist_one)", + "input_public": "veřejné", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) úspěšně vytvořen", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "přidat server", + "input_username": "uživatelské jméno", + "input_url": "adresa url", + "input_password": "heslo", + "input_legacyAuthentication": "zapnout zastaralé ověřování", + "input_name": "název serveru", + "success": "server úspěšně přidán", + "input_savePassword": "uložit heslo", + "ignoreSsl": "ignorovat SSL $t(common.restartRequired)", + "ignoreCors": "ignorovat CORS $t(common.restartRequired)", + "error_savePassword": "při ukládání hesla se vyskytla chyba" + }, + "addToPlaylist": { + "success": "přidáno {{message}} $t(entity.track_other) do {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "přidat do $t(entity.playlist_one)", + "input_skipDuplicates": "přeskočit duplicity", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "upravit server", + "success": "server úspěšně upraven" + }, + "queryEditor": { + "input_optionMatchAll": "shoda všeho", + "input_optionMatchAny": "shoda libovolného" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "Hledat texty" + }, + "editPlaylist": { + "title": "upravit $t(entity.playlist_one)" + } + }, + "entity": { + "genre_one": "žánr", + "genre_few": "žánry", + "genre_other": "žánry", + "playlistWithCount_one": "{{count}} playlist", + "playlistWithCount_few": "{{count}} playlisty", + "playlistWithCount_other": "{{count}} playlistů", + "playlist_one": "playlist", + "playlist_few": "playlisty", + "playlist_other": "playlisty", + "artist_one": "umělec", + "artist_few": "umělci", + "artist_other": "umělci", + "folderWithCount_one": "{{count}} složka", + "folderWithCount_few": "{{count}} složky", + "folderWithCount_other": "{{count}} složek", + "albumArtist_one": "umělec alba", + "albumArtist_few": "umělci alba", + "albumArtist_other": "umělců alba", + "track_one": "skladba", + "track_few": "skladby", + "track_other": "skladby", + "albumArtistCount_one": "{{count}} umělec alba", + "albumArtistCount_few": "{{count}} umělci alba", + "albumArtistCount_other": "{{count}} umělců alba", + "albumWithCount_one": "{{count}} album", + "albumWithCount_few": "{{count}} alba", + "albumWithCount_other": "{{count}} alb", + "favorite_one": "oblíbená", + "favorite_few": "oblíbené", + "favorite_other": "oblíbených", + "artistWithCount_one": "{{count}} umělec", + "artistWithCount_few": "{{count}} umělci", + "artistWithCount_other": "{{count}} umělců", + "folder_one": "složka", + "folder_few": "složky", + "folder_other": "složek", + "smartPlaylist": "chytrý $t(entity.playlist_one)", + "album_one": "album", + "album_few": "alba", + "album_other": "alba", + "genreWithCount_one": "{{count}} žánr", + "genreWithCount_few": "{{count}} žánry", + "genreWithCount_other": "{{count}} žánrů", + "trackWithCount_one": "{{count}} skladba", + "trackWithCount_few": "{{count}} skladby", + "trackWithCount_other": "{{count}} skladeb" + } +} diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json new file mode 100644 index 000000000..e80de296d --- /dev/null +++ b/src/i18n/locales/de.json @@ -0,0 +1,557 @@ +{ + "action": { + "editPlaylist": "bearbeiten $t(entity.playlist_one)", + "clearQueue": "Warteschlange löschen", + "addToFavorites": "hinzufügen zu $t(entity.favorite_other)", + "addToPlaylist": "hinzufügen zu $t(entity.playlist_one)", + "createPlaylist": "erstelle $t(entity.playlist_one)", + "deletePlaylist": "löschen $t(entity.playlist_one)", + "deselectAll": "Alle abwählen", + "goToPage": "Gehe zur Seite", + "moveToTop": "Nach oben", + "moveToBottom": "Nach unten", + "removeFromPlaylist": "Entfernen von $t(entity.playlist_one)", + "viewPlaylists": "Ansicht $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "removeFromQueue": "Von Warteschlange entfernen", + "setRating": "Bewertung festlegen", + "toggleSmartPlaylistEditor": "Editor $t(entity.smartPlaylist) umschalten", + "removeFromFavorites": "Entfernen von $t(entity.favorite_other)" + }, + "common": { + "backward": "rückwärts", + "increase": "erhöhen", + "rating": "Wertung", + "bpm": "bpm", + "refresh": "Aktualisieren", + "unknown": "Unbekannt", + "areYouSure": "Bist Du sicher?", + "edit": "Bearbeiten", + "favorite": "Favorit", + "left": "links", + "save": "Speichern", + "right": "rechts", + "currentSong": "momentaner $t(entity.track_one)", + "collapse": "Zusammenklappen", + "trackNumber": "Track", + "descending": "absteigend", + "add": "Hinzufügen", + "gap": "Lücke", + "ascending": "aufsteigend", + "dismiss": "Verwerfen", + "year": "Jahr", + "manage": "Verwalten", + "limit": "Limit", + "minimize": "minimieren", + "modified": "geändert", + "duration": "Laufzeit", + "name": "Name", + "maximize": "maximieren", + "decrease": "verringern", + "ok": "okay", + "description": "Beschreibung", + "configure": "Konfigurieren", + "path": "Pfad", + "center": "Zentrieren", + "no": "Nein", + "owner": "Eigentümer", + "enable": "Aktivieren", + "clear": "Bereinigen", + "forward": "vorwärts", + "delete": "Löschen", + "cancel": "Abbrechen", + "forceRestartRequired": "Neustarten um die Änderungen zu übernehmen... Schließe die Benachrichtigung zum Neustarten", + "setting": "Einstellungen", + "setting_other": "Einstellungen", + "version": "Version", + "title": "Titel", + "filter_one": "Filter", + "filter_other": "Filter", + "filters": "Filter", + "create": "Erstellen", + "bitrate": "Bitrate", + "saveAndReplace": "Speichern und Ersetzen", + "action_one": "Aktion", + "action_other": "Aktionen", + "playerMustBePaused": "Player muss pausiert sein", + "confirm": "Bestätigen", + "resetToDefault": "Auf Standard zurücksetzen", + "home": "Home", + "comingSoon": "Kommt bald…", + "reset": "zurücksetzen", + "channel_one": "Kanal", + "channel_other": "Kanäle", + "disable": "Deaktivieren", + "sortOrder": "Reihenfolge", + "none": "keine", + "menu": "Menü", + "restartRequired": "(Neustart benötigt)", + "previousSong": "vorheriger $t(entity.track_one)", + "noResultsFromQuery": "Die Abfrage brachte keine Ergebnisse", + "quit": "Verlassen", + "expand": "expandieren", + "search": "Suchen", + "saveAs": "Speichern unter", + "disc": "Disk", + "yes": "Ja", + "random": "zufällig", + "size": "Größe", + "biography": "Biografie", + "note": "Hinweis" + }, + "error": { + "remotePortWarning": "Starten Sie den Server neu, um den neuen Port anzuwenden", + "systemFontError": "Beim Versuch, Systemschriftarten abzurufen, ist ein Fehler aufgetreten", + "playbackError": "Beim Versuch, das Medium abzuspielen, ist ein Fehler aufgetreten", + "endpointNotImplementedError": "Endgerät {{endpoint}} ist nicht für {{serverType}} implementiert", + "remotePortError": "Beim Versuch, den Remote-Server-Port festzulegen, ist ein Fehler aufgetreten", + "serverRequired": "Server benötigt", + "authenticationFailed": "Authentifizierung fehlgeschlagen", + "apiRouteError": "Anforderung kann nicht weitergeleitet werden", + "genericError": "Ein Fehler ist aufgetreten", + "credentialsRequired": "Anmeldeinformationen erforderlich", + "sessionExpiredError": "Deine Sitzung ist abgelaufen", + "remoteEnableError": "Beim Versuch, den Remote-Server mit $t(common.enable), ist ein Fehler aufgetreten", + "localFontAccessDenied": "Zugriff auf lokale Schriftarten verweigert", + "serverNotSelectedError": "Kein Server ausgewählt", + "remoteDisableError": "Beim Versuch, den Remote-Server mit $t(common.disable), ist ein Fehler aufgetreten", + "mpvRequired": "MPV benötigt", + "audioDeviceFetchError": "Beim Versuch, Audiogeräte abzurufen, ist ein Fehler aufgetreten", + "invalidServer": "Ungültiger Server", + "loginRateError": "Zu viele Anmeldeversuche, bitte versuche es in einigen Sekunden erneut" + }, + "filter": { + "mostPlayed": "Meistgespielt", + "comment": "Kommentar", + "playCount": "Anzahl abgespielt", + "recentlyUpdated": "kürzlich aktualisiert", + "isCompilation": "ist Zusammenstellung", + "recentlyPlayed": "kürzlich gespielt", + "isRated": "ist bewertet", + "title": "Titel", + "rating": "Bewertung", + "search": "Suche", + "bitrate": "Bitrate", + "recentlyAdded": "kürzlich hinzugefügt", + "note": "Hinweis", + "name": "Name", + "dateAdded": "Datum hinzugefügt", + "releaseDate": "Veröffentlichungsdatum", + "albumCount": "$t(entity.album_other) Anzahl", + "communityRating": "Community-Wertung", + "path": "Pfad", + "favorited": "favorisiert", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "wurde kürzlich gespielt", + "isFavorited": "wird favorisiert", + "bpm": "bpm", + "releaseYear": "Erscheinungsjahr", + "id": "ID", + "disc": "Disk", + "biography": "Biografie", + "songCount": "Anzahl Lieder", + "duration": "Dauer", + "isPublic": "ist öffentlich", + "random": "zufällig", + "lastPlayed": "Zuletzt gespielt", + "toYear": "bis Jahr", + "fromYear": "ab Jahr", + "criticRating": "Kritikerbewertung", + "album": "$t(entity.album_one)", + "trackNumber": "Track", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "artist": "$t(entity.artist_one)" + }, + "form": { + "deletePlaylist": { + "title": "Lösche $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) erfolgreich gelöscht", + "input_confirm": "Geben Sie zur Bestätigung den Namen von $t(entity.playlist_one) ein" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "Erstellen $t(entity.playlist_one)", + "input_public": "öffentlich", + "success": "$t(entity.playlist_one) erfolgreich erstellt", + "input_name": "$t(common.name)", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "Server hinzufügen", + "input_username": "Benutzername", + "input_url": "URL", + "input_password": "Passwort", + "input_legacyAuthentication": "Aktivieren der Legacy-Authentifizierung", + "input_name": "Server Name", + "success": "Server erfolgreich hinzugefügt", + "input_savePassword": "Passwort speichern", + "ignoreSsl": "ignoriere ssl $t(common.restartRequired)", + "ignoreCors": "ignoriere cors $t(common.restartRequired)", + "error_savePassword": "Beim Versuch, das Passwort zu speichern, ist ein Fehler aufgetreten" + }, + "addToPlaylist": { + "success": "{{message}} $t(entity.track_other) zu {{numOfPlaylists}} $t(entity.playlist_other) hinzugefügt", + "title": "Zu $t(entity.playlist_one) hinzufügen", + "input_skipDuplicates": "Duplikate überspringen", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "Server aktualisieren", + "success": "Server erfolgreich aktualisiert" + }, + "queryEditor": { + "input_optionMatchAll": "Treffer Alle", + "input_optionMatchAny": "Treffer Einige" + }, + "editPlaylist": { + "title": "Bearbeite $t(entity.playlist_one)" + }, + "lyricSearch": { + "title": "Songtext Suche", + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)" + } + }, + "entity": { + "genre_one": "Genre", + "genre_other": "Genres", + "playlistWithCount_one": "{{count}} Wiedergabeliste", + "playlistWithCount_other": "{{count}} Wiedergabelisten", + "playlist_one": "Wiedergabeliste", + "playlist_other": "Wiedergabelisten", + "artist_one": "Interpret", + "artist_other": "Interpreten", + "folderWithCount_one": "{{count}} Verzeichnis", + "folderWithCount_other": "{{count}} Verzeichnisse", + "albumArtist_one": "Albuminterpret", + "albumArtist_other": "Albuminterpreten", + "track_one": "Track", + "track_other": "Tracks", + "albumArtistCount_one": "{{count}} Albuminterpret", + "albumArtistCount_other": "{{count}} Albuminterpreten", + "albumWithCount_one": "{{count}} Album", + "albumWithCount_other": "{{count}} Alben", + "favorite_one": "Favorit", + "favorite_other": "Favoriten", + "artistWithCount_one": "{{count}} Interpret", + "artistWithCount_other": "{{count}} Interpreten", + "folder_one": "Verzeichnis", + "folder_other": "Verzeichnisse", + "album_one": "Album", + "album_other": "Alben", + "genreWithCount_one": "{{count}} Genre", + "genreWithCount_other": "{{count}} Genres", + "trackWithCount_one": "{{count}} Track", + "trackWithCount_other": "{{count}} Tracks", + "smartPlaylist": "Smart $t(entity.playlist_one)" + }, + "table": { + "config": { + "view": { + "table": "Tabelle" + }, + "general": { + "tableColumns": "Tabellenspalten" + } + }, + "column": { + "releaseYear": "Jahr", + "biography": "Biografie", + "releaseDate": "Veröffentlichungsdatum", + "bitrate": "Bitrate", + "title": "Titel", + "path": "Pfad" + } + }, + "page": { + "fullscreenPlayer": { + "config": { + "showLyricMatch": "Textübereinstimmung anzeigen", + "dynamicBackground": "Dynamischer Hintergrund", + "synchronized": "synchronisiert", + "followCurrentLyric": "dem Songtext folgen", + "opacity": "Deckkraft", + "lyricSize": "Songtext-Größe", + "showLyricProvider": "Songtext-Anbieter anzeigen", + "unsynchronized": "nicht synchronisiert", + "lyricAlignment": "Songtext-Ausrichtung", + "useImageAspectRatio": "Bildseitenverhältnis verwenden", + "lyricGap": "Songtext-Lücke" + }, + "upNext": "als nächstes", + "lyrics": "Songtexte", + "related": "Ähnliche" + }, + "appMenu": { + "selectServer": "Server auswählen", + "version": "Version {{version}}", + "manageServers": "Server verwalten", + "expandSidebar": "Seitenleiste erweitern", + "collapseSidebar": "Seitenleiste einklappen", + "openBrowserDevtools": "Browser-Entwicklungswerkzeuge öffnen", + "goBack": "Gehe zurück", + "goForward": "Gehe vorwärts", + "settings": "$t(common.setting_other)", + "quit": "$t(common.quit)" + }, + "home": { + "mostPlayed": "Meistgespielt", + "newlyAdded": "Neu hinzugefügte Veröffentlichungen", + "explore": "Entdecke deine Bibliothek", + "recentlyPlayed": "Kürzlich gespielt", + "title": "$t(common.home)" + }, + "albumDetail": { + "moreFromArtist": "Mehr von diesem $t(entity.genre_one)", + "moreFromGeneric": "Mehr von {{item}}" + }, + "globalSearch": { + "commands": { + "serverCommands": "Serverbefehle", + "goToPage": "Gehe zur Seite", + "searchFor": "Suche nach {{query}}" + }, + "title": "Befehle" + }, + "contextMenu": { + "numberSelected": "{{count}} Ausgewählte", + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "sidebar": { + "nowPlaying": "läuft gerade", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "setting": { + "playbackTab": "Wiedergabe", + "generalTab": "allgemein", + "hotkeysTab": "Kurzbefehle", + "windowTab": "Fenster" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "player": { + "next": "Nächster", + "addNext": "Als Nächstes einfügen", + "play": "Abspielen", + "muted": "Stummgeschaltet", + "addLast": "Ans Ende einzufügen", + "mute": "Stumm", + "playRandom": "Zufällige Wiedergabe", + "previous": "Vorheriger", + "favorite": "Favorit", + "playbackFetchNoResults": "Keine Lieder gefunden", + "playbackFetchInProgress": "Lieder werden geladen…", + "playbackSpeed": "Wiedergabegeschwindigkeit", + "playbackFetchCancel": "Das dauert eine Weile. Schließen Sie die Benachrichtigung, um den Vorgang abzubrechen", + "queue_clear": "Bereinige Warteschlange", + "repeat_all": "Alle wiederholen", + "repeat": "Wiederholen", + "queue_remove": "Ausgewählte entfernen", + "shuffle": "Zufallswiedergabe", + "repeat_off": "Nicht wiederholen", + "queue_moveToTop": "Ausgewählte nach unten verschieben", + "queue_moveToBottom": "Ausgewählte nach oben verschieben", + "shuffle_off": "Zufallswiedergabe deaktiviert", + "stop": "Stopp", + "toggleFullscreenPlayer": "Vollbildmodus", + "skip_back": "Zurückspulen", + "pause": "Pause", + "unfavorite": "Aus Favoriten entfernen", + "skip_forward": "Vorspulen", + "skip": "Überspringen" + }, + "setting": { + "audioDevice_description": "Wählen Sie das Audiogerät aus, das für die Wiedergabe verwendet werden soll (nur Webplayer).", + "audioExclusiveMode": "Audio Exklusiver Modus", + "audioDevice": "Audiogerät", + "accentColor": "Akzentfarbe", + "accentColor_description": "Legt die Akzentfarbe für die Anwendung fest", + "applicationHotkeys": "Tastenkombinationen der Anwendung", + "applicationHotkeys_description": "Konfiguriere die Tastenkombinationen der Anwendung. Setze einen Haken, um die Tastenkombination global zu verwenden (nur für die Desktopanwendung)", + "crossfadeStyle_description": "Wählen Sie Art des Überblendungseffekts aus, welcher für den Audioplayer verwendet werden soll", + "discordIdleStatus_description": "Wenn aktiviert wird der Rich Presence Status aktiviert, wenn sich der Player im Leerlauf befindet", + "crossfadeStyle": "Art der Überblendung", + "audioExclusiveMode_description": "Aktivieren Sie den exklusiven Ausgabemodus. In diesem Modus ist das System normalerweise gesperrt und nur MPV ist in der Lage Audio ausgeben", + "disableLibraryUpdateOnStartup": "Beim Start nicht nach neuen Versionen suchen", + "discordApplicationId_description": "Die Application-ID für {{discord}} Rich Presence (Standard: {{defaultId}})", + "audioPlayer_description": "Wählen Sie den Audioplayer aus, der für die Wiedergabe verwendet werden soll", + "disableAutomaticUpdates": "Automatische Updates deaktivieren", + "crossfadeDuration_description": "Legt die Dauer der Überblendung fest", + "customFontPath": "Benutzerdefinierter Pfad für Schriftarten", + "crossfadeDuration": "Dauer der Überblendung", + "discordIdleStatus": "Rich Presence Status im Leerlauf", + "audioPlayer": "Audio-Player", + "discordApplicationId": "{{discord}} Anwendungs ID", + "customFontPath_description": "Legt den Pfad zur benutzerdefinierten Schriftart fest, welche für die Anwendung verwendet werden soll", + "discordRichPresence": "{{discord}} Rich Presence", + "remotePort_description": "Legt den Port des Fernsteuerungsserver fest", + "hotkey_skipBackward": "rückwärts springen", + "replayGainMode_description": "Passen Sie die Lautstärkeverstärkung entsprechend den in den Dateimetadaten gespeicherten {{ReplayGain}}-Werten an", + "volumeWheelStep_description": "die Lautstärke, die beim Scrollen des Mausrads auf dem Lautstärkeregler geändert werden soll", + "theme_description": "Legt das für die Anwendung zu verwendende Thema fest", + "hotkey_playbackPause": "Pause", + "sidebarCollapsedNavigation_description": "Zeigt die Navigation in der minimierten Seitenleiste an oder verbirgt sie", + "mpvExecutablePath_help": "eine pro Zeile", + "hotkey_volumeUp": "Lauter", + "skipDuration": "Sprungdauer", + "showSkipButtons": "Schaltflächen zum Überspringen anzeigen", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "minimale Scrobble-Dauer (Prozentsatz)", + "lyricFetch": "Songtexte aus dem Internet abrufen", + "scrobble": "Scrobbeln", + "skipDuration_description": "Legt die zu überspringende Dauer fest, wenn die Überspringen-Schaltflächen in der Player-Leiste verwendet werden", + "mpvExecutablePath_description": "Legt den Pfad zur ausführbaren MPV-Datei fest", + "replayGainClipping_description": "Verhindern Sie durch {{ReplayGain}} verursachtes Clipping, indem Sie die Verstärkung automatisch verringern", + "replayGainPreamp": "{{ReplayGain}} Vorverstärker (db)", + "hotkey_favoriteCurrentSong": "Favorit $t(common.currentSong)", + "sampleRate": "Abtastrate", + "sidePlayQueueStyle_optionAttached": "angefügt", + "sidebarConfiguration": "Seitenleistenkonfiguration", + "sampleRate_description": "Wählen Sie die auszugebende Abtastrate aus, wenn sich die ausgewählte Abtastfrequenz von der des aktuellen Mediums unterscheidet", + "replayGainMode_optionNone": "$t(common.none)", + "hotkey_zoomIn": "Hineinzoomen", + "scrobble_description": "Scrobble wird auf Ihrem Medienserver abgespielt", + "hotkey_browserForward": "Browser vor", + "hotkey_playbackPlayPause": "Wiedergabe / Pause", + "hotkey_rate1": "Bewertung 1 Stern", + "hotkey_skipForward": "vorwärts springen", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "minimizeToTray_description": "Minimieren der Anwendung in die Taskleiste", + "hotkey_playbackPlay": "Wiedergabe", + "hotkey_volumeDown": "Leiser", + "hotkey_unfavoritePreviousSong": "$t(common.previousSong) aus Favoriten entfernen", + "globalMediaHotkeys": "Globale Medien Kurzbefehle", + "hotkey_globalSearch": "Globale Suche", + "gaplessAudio_description": "Legt die lückenlose Audioeinstellung für MPV fest", + "remoteUsername_description": "Legt den Benutzernamen für den Fernsteuerungsserver fest. Wenn sowohl Benutzername als auch Passwort leer sind, wird die Authentifizierung deaktiviert", + "hotkey_favoritePreviousSong": "Favorit $t(common.previousSong)", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "Liedtext-Versatz (ms)", + "themeDark_description": "Legt das dunkle Design fest, das für die Anwendung verwendet werden soll", + "remotePassword": "Passwort des Fernsteuerungsservers", + "lyricFetchProvider": "Anbieter, von denen Liedtexte abgerufen werden können", + "language_description": "Legt die Sprache für die Anwendung fest $t(common.restartRequired)", + "playbackStyle_optionCrossFade": "Überblendung", + "hotkey_rate3": "Bewertung 3 Sterne", + "mpvExtraParameters": "mpv Parameter", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "Legt das helle Thema fest, das für die Anwendung verwendet werden soll", + "hotkey_toggleFullScreenPlayer": "Vollbildmodus umschalten", + "hotkey_localSearch": "Suche auf Seite", + "hotkey_toggleQueue": "Warteschlange umschalten", + "remotePassword_description": "Legt das Passwort für den Fernsteuerungsserver fest. Diese Anmeldeinformationen werden standardmäßig unsicher übertragen, daher sollten Sie ein eindeutiges Passwort verwenden, das Ihnen egal ist", + "hotkey_rate5": "Bewertung 5 Sterne", + "hotkey_playbackPrevious": "Vorheriger Track", + "showSkipButtons_description": "Ein- oder Ausblenden der Überspringen-Schaltflächen in der Player-Leiste", + "language": "Sprache", + "playbackStyle": "Wiedergabestil", + "hotkey_toggleShuffle": "Zufallswiedergabe umschalten", + "theme": "Thema", + "playbackStyle_description": "Wählen Sie den Wiedergabestil aus, der für den Audioplayer verwendet werden soll", + "mpvExecutablePath": "Pfad der ausführbaren MPV-Datei", + "hotkey_rate2": "Bewertung 2 Sterne", + "playButtonBehavior_description": "Legt das Standardverhalten der Wiedergabeschaltfläche fest, wenn Songs zur Warteschlange hinzugefügt werden", + "minimumScrobblePercentage_description": "Der Mindestprozentsatz des Songs, der gespielt werden muss, bevor er gescrobbelt wird", + "hotkey_rate4": "Bewertung 4 Sterne", + "showSkipButton_description": "Ein- oder Ausblenden der Überspringen-Schaltflächen in der Player-Leiste", + "savePlayQueue": "Wiedergabe-Warteschlange speichern", + "minimumScrobbleSeconds_description": "die Mindestdauer in Sekunden, die das Lied abspielen muss, bevor es gescrobbelt wird", + "skipPlaylistPage_description": "Gehen Sie beim Navigieren zu einer Wiedergabeliste zur Titelseite der Wiedergabeliste und nicht zur Standardseite", + "fontType_description": "Die integrierte Schriftart wählt eine der von Feishin bereitgestellten Schriftarten aus. Mit der Systemschriftart können Sie jede von Ihrem Betriebssystem bereitgestellte Schriftart auswählen. Benutzerdefiniert erlaubt es eine eigene Schriftart bereitzustellen", + "playButtonBehavior": "Verhalten der Wiedergabetaste", + "volumeWheelStep": "Lautstärkeregler Stufe", + "sidebarPlaylistList_description": "Ein- oder Ausblenden der Playlisten-Liste in der Seitenleiste", + "sidePlayQueueStyle_description": "Legt den Stil der Wiedergabewarteliste in der Seitenleiste fest", + "replayGainMode": "{{ReplayGain}} Modus", + "playbackStyle_optionNormal": "Normal", + "windowBarStyle": "Fensterleistenstil", + "replayGainFallback_description": "Verstärkung in db, die angewendet werden soll, wenn die Datei keine {{ReplayGain}}-Tags hat", + "replayGainPreamp_description": "Passen Sie die Vorverstärkerverstärkung an, die auf die {{ReplayGain}}-Werte angewendet wird", + "hotkey_toggleRepeat": "Wiederholung umschalten", + "lyricOffset_description": "Versetzen Sie den Liedtext um die angegebene Anzahl von Millisekunden", + "sidebarConfiguration_description": "Wählen Sie die Elemente und die Reihenfolge aus, in der sie in der Seitenleiste angezeigt werden", + "remotePort": "Port des Fernsteuerungsserver", + "hotkey_playbackNext": "Nächster Track", + "useSystemTheme_description": "der systemdefinierten Hell- oder Dunkelpräferenz folgen", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "Songtexte aus verschiedenen Internetquellen abrufen", + "lyricFetchProvider_description": "Wählen Sie die Anbieter aus, von denen Sie Liedtexte abrufen möchten. Die Reihenfolge der Anbieter ist die Reihenfolge, in der sie abgefragt werden", + "globalMediaHotkeys_description": "Aktivieren oder deaktivieren Sie die Verwendung der Medien-Kurzbefehle Ihres Systems zur Steuerung der Wiedergabe", + "hotkey_zoomOut": "Herauszoomen", + "hotkey_unfavoriteCurrentSong": "$t(common.currentSong) aus Favoriten entfernen", + "hotkey_rate0": "Bewertung löschen", + "hotkey_volumeMute": "Lautstärke stumm", + "remoteUsername": "Benutzername des Fernsteuerungsserver", + "hotkey_browserBack": "Browser zurück", + "showSkipButton": "Schaltflächen zum Überspringen anzeigen", + "sidebarPlaylistList": "Seitenleiste Playlisten-Liste", + "minimizeToTray": "Zur Taskleiste minimieren", + "skipPlaylistPage": "Playlisten-Seite überspringen", + "themeDark": "Thema (dunkel)", + "sidebarCollapsedNavigation": "Navigation in der Seitenleiste (komprimiert)", + "gaplessAudio_optionWeak": "schwach (empfohlen)", + "minimumScrobbleSeconds": "minimales Scrobble (Sekunden)", + "hotkey_playbackStop": "Stoppen", + "savePlayQueue_description": "Speichert Wiedergabewarteschlange, wenn die Anwendung geschlossen wird, und stellt sie wieder her, wenn die Anwendung geöffnet wird", + "useSystemTheme": "Systemdesign verwenden", + "enableRemote_description": "Aktiviere den eingebauten Webserver, um die Anwendung von anderen Geräten aus zu steuern", + "fontType_optionSystem": "Systemschriftart", + "discordUpdateInterval": "{{discord}} Rich Presence Aktualisierungsintervall", + "fontType_optionBuiltIn": "Eingebaute Schriftart", + "gaplessAudio": "Unterbrechungsfreie Wiedergabe", + "exitToTray_description": "Die Anwendung beim Schließen in die Taskleiste minimieren", + "followLyric_description": "Der Songtext scrollt automatisch mir der Wiedergabe", + "discordUpdateInterval_description": "Zeit in Sekunden zwischen den Statusupdates (Minimum: 15s)", + "fontType_optionCustom": "Benutzerdefinierte Schriftart", + "font": "Schriftart", + "exitToTray": "In die Taskleiste minimieren", + "enableRemote": "Server für Fernzugriff aktivieren", + "floatingQueueArea": "Beim Darüberfahren schwebende Warteschlange anzeigen", + "fontType": "Schriftartenquelle", + "followLyric": "Songtext synchronisieren", + "floatingQueueArea_description": "Zeige ein Icon auf der rechten Seite, um beim Darüberfahren die Wartschlange anzuzeigen", + "font_description": "Wähle die Schriftart für die Anwendung", + "themeLight": "Thema (hell)", + "sidePlayQueueStyle_optionDetached": "lösgelöst", + "windowBarStyle_description": "Wähle den Stil der Windows-Leiste" + } +} diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 147e95db7..9377d5e61 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -1,9 +1,661 @@ { - "player": { - "next": "player.next", - "play": "player.play", - "prev": "player.prev", - "seekBack": "player.seekBack", - "seekForward": "player.seekForward" - } + "action": { + "addToFavorites": "add to $t(entity.favorite_other)", + "addToPlaylist": "add to $t(entity.playlist_one)", + "clearQueue": "clear queue", + "createPlaylist": "create $t(entity.playlist_one)", + "deletePlaylist": "delete $t(entity.playlist_one)", + "deselectAll": "deselect all", + "editPlaylist": "edit $t(entity.playlist_one)", + "goToPage": "go to page", + "moveToBottom": "move to bottom", + "moveToTop": "move to top", + "refresh": "$t(common.refresh)", + "removeFromFavorites": "remove from $t(entity.favorite_other)", + "removeFromPlaylist": "remove from $t(entity.playlist_one)", + "removeFromQueue": "remove from queue", + "setRating": "set rating", + "toggleSmartPlaylistEditor": "toggle $t(entity.smartPlaylist) editor", + "viewPlaylists": "view $t(entity.playlist_other)", + "openIn": { + "lastfm": "Open in Last.fm", + "musicbrainz": "Open in MusicBrainz" + } + }, + "common": { + "action_one": "action", + "action_other": "actions", + "add": "add", + "areYouSure": "are you sure?", + "ascending": "ascending", + "backward": "backward", + "biography": "biography", + "bitrate": "bitrate", + "bpm": "bpm", + "cancel": "cancel", + "center": "center", + "channel_one": "channel", + "channel_other": "channels", + "clear": "clear", + "close": "close", + "codec": "codec", + "collapse": "collapse", + "comingSoon": "coming soon…", + "configure": "configure", + "confirm": "confirm", + "create": "create", + "currentSong": "current $t(entity.track_one)", + "decrease": "decrease", + "delete": "delete", + "descending": "descending", + "description": "description", + "disable": "disable", + "disc": "disc", + "dismiss": "dismiss", + "duration": "duration", + "edit": "edit", + "enable": "enable", + "expand": "expand", + "favorite": "favorite", + "filter_one": "filter", + "filter_other": "filters", + "filters": "filters", + "forceRestartRequired": "restart to apply changes… close the notification to restart", + "forward": "forward", + "gap": "gap", + "home": "home", + "increase": "increase", + "left": "left", + "limit": "limit", + "manage": "manage", + "maximize": "maximize", + "menu": "menu", + "minimize": "minimize", + "modified": "modified", + "name": "name", + "no": "no", + "none": "none", + "noResultsFromQuery": "the query returned no results", + "note": "note", + "ok": "ok", + "owner": "owner", + "path": "path", + "playerMustBePaused": "player must be paused", + "previousSong": "previous $t(entity.track_one)", + "quit": "quit", + "random": "random", + "rating": "rating", + "refresh": "refresh", + "reload": "reload", + "reset": "reset", + "resetToDefault": "reset to default", + "restartRequired": "restart required", + "right": "right", + "save": "save", + "saveAndReplace": "save and replace", + "saveAs": "save as", + "search": "search", + "setting": "setting", + "setting_one": "setting", + "setting_other": "settings", + "size": "size", + "sortOrder": "order", + "title": "title", + "trackNumber": "track", + "unknown": "unknown", + "version": "version", + "year": "year", + "yes": "yes" + }, + "entity": { + "album_one": "album", + "album_other": "albums", + "albumArtist_one": "album artist", + "albumArtist_other": "album artists", + "albumArtistCount_one": "{{count}} album artist", + "albumArtistCount_other": "{{count}} album artists", + "albumWithCount_one": "{{count}} album", + "albumWithCount_other": "{{count}} albums", + "artist_one": "artist", + "artist_other": "artists", + "artistWithCount_one": "{{count}} artist", + "artistWithCount_other": "{{count}} artists", + "favorite_one": "favorite", + "favorite_other": "favorites", + "folder_one": "folder", + "folder_other": "folders", + "folderWithCount_one": "{{count}} folder", + "folderWithCount_other": "{{count}} folders", + "genre_one": "genre", + "genre_other": "genres", + "genreWithCount_one": "{{count}} genre", + "genreWithCount_other": "{{count}} genres", + "playlist_one": "playlist", + "playlist_other": "playlists", + "playlistWithCount_one": "{{count}} playlist", + "playlistWithCount_other": "{{count}} playlists", + "smartPlaylist": "smart $t(entity.playlist_one)", + "track_one": "track", + "track_other": "tracks", + "trackWithCount_one": "{{count}} track", + "trackWithCount_other": "{{count}} tracks" + }, + "error": { + "apiRouteError": "unable to route request", + "audioDeviceFetchError": "an error occurred when trying to get audio devices", + "authenticationFailed": "authentication failed", + "credentialsRequired": "credentials required", + "endpointNotImplementedError": "endpoint {{endpoint}} is not implemented for {{serverType}}", + "genericError": "an error occurred", + "invalidServer": "invalid server", + "localFontAccessDenied": "access denied to local fonts", + "loginRateError": "too many login attempts, please try again in a few seconds", + "mpvRequired": "MPV required", + "networkError": "a network error occurred", + "playbackError": "an error occurred when trying to play the media", + "remoteDisableError": "an error occurred when trying to $t(common.disable) the remote server", + "remoteEnableError": "an error occurred when trying to $t(common.enable) the remote server", + "remotePortError": "an error occurred when trying to set the remote server port", + "remotePortWarning": "restart the server to apply the new port", + "serverNotSelectedError": "no server selected", + "serverRequired": "server required", + "sessionExpiredError": "your session has expired", + "systemFontError": "an error occurred when trying to get system fonts" + }, + "filter": { + "album": "$t(entity.album_one)", + "albumArtist": "$t(entity.albumArtist_one)", + "albumCount": "$t(entity.album_other) count", + "artist": "$t(entity.artist_one)", + "biography": "biography", + "bitrate": "bitrate", + "bpm": "bpm", + "channels": "$t(common.channel_other)", + "comment": "comment", + "communityRating": "community rating", + "criticRating": "critic rating", + "dateAdded": "date added", + "disc": "disc", + "duration": "duration", + "favorited": "favorited", + "fromYear": "from year", + "genre": "$t(entity.genre_one)", + "id": "id", + "isCompilation": "is compilation", + "isFavorited": "is favorited", + "isPublic": "is public", + "isRated": "is rated", + "isRecentlyPlayed": "is recently played", + "lastPlayed": "last played", + "mostPlayed": "most played", + "name": "name", + "note": "note", + "owner": "$t(common.owner)", + "path": "path", + "playCount": "play count", + "random": "random", + "rating": "rating", + "recentlyAdded": "recently added", + "recentlyPlayed": "recently played", + "recentlyUpdated": "recently updated", + "releaseDate": "release date", + "releaseYear": "release year", + "search": "search", + "songCount": "song count", + "title": "title", + "toYear": "to year", + "trackNumber": "track" + }, + "form": { + "addServer": { + "error_savePassword": "an error occurred when trying to save the password", + "ignoreCors": "ignore cors ($t(common.restartRequired))", + "ignoreSsl": "ignore ssl ($t(common.restartRequired))", + "input_legacyAuthentication": "enable legacy authentication", + "input_name": "server name", + "input_password": "password", + "input_savePassword": "save password", + "input_url": "url", + "input_username": "username", + "success": "server added successfully", + "title": "add server" + }, + "addToPlaylist": { + "input_playlists": "$t(entity.playlist_other)", + "input_skipDuplicates": "skip duplicates", + "success": "added $t(entity.trackWithCount, {\"count\": {{message}} }) to $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })", + "title": "add to $t(entity.playlist_one)" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "input_name": "$t(common.name)", + "input_owner": "$t(common.owner)", + "input_public": "public", + "success": "$t(entity.playlist_one) created successfully", + "title": "create $t(entity.playlist_one)" + }, + "deletePlaylist": { + "input_confirm": "type the name of the $t(entity.playlist_one) to confirm", + "success": "$t(entity.playlist_one) deleted successfully", + "title": "delete $t(entity.playlist_one)" + }, + "editPlaylist": { + "title": "edit $t(entity.playlist_one)" + }, + "lyricSearch": { + "input_artist": "$t(entity.artist_one)", + "input_name": "$t(common.name)", + "title": "lyric search" + }, + "queryEditor": { + "input_optionMatchAll": "match all", + "input_optionMatchAny": "match any" + }, + "updateServer": { + "success": "server updated successfully", + "title": "update server" + } + }, + "page": { + "albumArtistDetail": { + "about": "About {{artist}}", + "appearsOn": "appears on", + "recentReleases": "recent releases", + "viewDiscography": "view discography", + "relatedArtists": "related $t(entity.artist_other)", + "topSongs": "top songs", + "topSongsFrom": "Top songs from {{title}}", + "viewAll": "view all", + "viewAllTracks": "view all $t(entity.track_other)" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "albumDetail": { + "moreFromArtist": "more from this $t(entity.artist_one)", + "moreFromGeneric": "more from {{item}}" + }, + "albumList": { + "title": "$t(entity.album_other)" + }, + "appMenu": { + "collapseSidebar": "collapse sidebar", + "expandSidebar": "expand sidebar", + "goBack": "go back", + "goForward": "go forward", + "manageServers": "manage servers", + "openBrowserDevtools": "open browser devtools", + "quit": "$t(common.quit)", + "selectServer": "select server", + "settings": "$t(common.setting_other)", + "version": "version {{version}}" + }, + "contextMenu": { + "addFavorite": "$t(action.addToFavorites)", + "addLast": "$t(player.addLast)", + "addNext": "$t(player.addNext)", + "addToFavorites": "$t(action.addToFavorites)", + "addToPlaylist": "$t(action.addToPlaylist)", + "createPlaylist": "$t(action.createPlaylist)", + "deletePlaylist": "$t(action.deletePlaylist)", + "deselectAll": "$t(action.deselectAll)", + "moveToBottom": "$t(action.moveToBottom)", + "moveToTop": "$t(action.moveToTop)", + "numberSelected": "{{count}} selected", + "play": "$t(player.play)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromQueue": "$t(action.removeFromQueue)", + "setRating": "$t(action.setRating)" + }, + "fullscreenPlayer": { + "config": { + "dynamicBackground": "dynamic background", + "followCurrentLyric": "follow current lyric", + "lyricAlignment": "lyric alignment", + "lyricGap": "lyric gap", + "lyricSize": "lyric size", + "opacity": "opacity", + "showLyricMatch": "show lyric match", + "showLyricProvider": "show lyric provider", + "synchronized": "synchronized", + "unsynchronized": "unsynchronized", + "useImageAspectRatio": "use image aspect ratio" + }, + "lyrics": "lyrics", + "related": "related", + "upNext": "up next" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "globalSearch": { + "commands": { + "goToPage": "go to page", + "searchFor": "search for {{query}}", + "serverCommands": "server commands" + }, + "title": "commands" + }, + "home": { + "explore": "explore from your library", + "mostPlayed": "most played", + "newlyAdded": "newly added releases", + "recentlyPlayed": "recently played", + "title": "$t(common.home)" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "setting": { + "generalTab": "general", + "hotkeysTab": "hotkeys", + "playbackTab": "playback", + "windowTab": "window" + }, + "sidebar": { + "albumArtists": "$t(entity.albumArtist_other)", + "albums": "$t(entity.album_other)", + "artists": "$t(entity.artist_other)", + "folders": "$t(entity.folder_other)", + "genres": "$t(entity.genre_other)", + "home": "$t(common.home)", + "nowPlaying": "now playing", + "playlists": "$t(entity.playlist_other)", + "rescan": "rescan", + "search": "$t(common.search)", + "settings": "$t(common.setting_other)", + "tracks": "$t(entity.track_other)" + }, + "trackList": { + "artistTracks": "Tracks by {{artist}}", + "genreTracks": "\"{{genre}}\" $t(entity.track_other)", + "title": "$t(entity.track_other)" + } + }, + "player": { + "addLast": "add last", + "addNext": "add next", + "favorite": "favorite", + "mute": "mute", + "muted": "muted", + "next": "next", + "play": "play", + "playbackFetchCancel": "this is taking a while… close the notification to cancel", + "playbackFetchInProgress": "loading songs…", + "playbackFetchNoResults": "no songs found", + "playbackSpeed": "playback speed", + "playRandom": "play random", + "previous": "previous", + "queue_clear": "clear queue", + "queue_moveToBottom": "move selected to top", + "queue_moveToTop": "move selected to bottom", + "queue_remove": "remove selected", + "repeat": "repeat", + "repeat_all": "repeat all", + "repeat_off": "repeat disabled", + "repeat_one": "repeat one", + "repeat_other": "", + "shuffle": "shuffle", + "shuffle_off": "shuffle disabled", + "skip": "skip", + "skip_back": "skip backwards", + "skip_forward": "skip forwards", + "stop": "stop", + "toggleFullscreenPlayer": "toggle fullscreen player", + "unfavorite": "unfavorite", + "pause": "pause" + }, + "setting": { + "accentColor": "accent color", + "accentColor_description": "sets the accent color for the application", + "applicationHotkeys": "application hotkeys", + "applicationHotkeys_description": "configure application hotkeys. toggle the checkbox to set as a global hotkey (desktop only)", + "audioDevice": "audio device", + "audioDevice_description": "select the audio device to use for playback (web player only)", + "audioExclusiveMode": "audio exclusive mode", + "audioExclusiveMode_description": "enable exclusive output mode. In this mode, the system is usually locked out, and only mpv will be able to output audio", + "audioPlayer": "audio player", + "audioPlayer_description": "select the audio player to use for playback", + "buttonSize": "player bar button size", + "buttonSize_description": "the size of the player bar buttons", + "clearCache": "clear browser cache", + "clearCache_description": "a 'hard clear' of feishin. in addition to clearing feishin's cache, empty the browser cache (saved images and other assets). server credentials and settings are preserved", + "clearQueryCache": "clear feishin cache", + "clearQueryCache_description": "a 'soft clear' of feishin. this will refresh playlists, track metadata, and reset saved lyrics. settings, server credentials and cached images are preserved", + "clearCacheSuccess": "cache cleared successfully", + "crossfadeDuration": "crossfade duration", + "crossfadeDuration_description": "sets the duration of the crossfade effect", + "crossfadeStyle": "crossfade style", + "crossfadeStyle_description": "select the crossfade style to use for the audio player", + "customFontPath": "custom font path", + "customFontPath_description": "sets the path to the custom font to use for the application", + "disableAutomaticUpdates": "disable automatic updates", + "disableLibraryUpdateOnStartup": "disable checking for new versions on startup", + "discordApplicationId": "{{discord}} application id", + "discordApplicationId_description": "the application id for {{discord}} rich presence (defaults to {{defaultId}})", + "discordIdleStatus": "show rich presence idle status", + "discordIdleStatus_description": "when enabled, update status while player is idle", + "discordRichPresence": "{{discord}} rich presence", + "discordRichPresence_description": "enable playback status in {{discord}} rich presence. Image keys are: {{icon}}, {{playing}}, and {{paused}} ", + "discordUpdateInterval": "{{discord}} rich presence update interval", + "discordUpdateInterval_description": "the time in seconds between each update (minimum 15 seconds)", + "enableRemote": "enable remote control server", + "enableRemote_description": "enables the remote control server to allow other devices to control the application", + "externalLinks": "show external links", + "externalLinks_description": "enables showing external links (Last.fm, MusicBrainz) on artist/album pages", + "exitToTray": "exit to tray", + "exitToTray_description": "exit the application to the system tray", + "floatingQueueArea": "show floating queue hover area", + "floatingQueueArea_description": "display a hover icon on the right side of the screen to view the play queue", + "followLyric": "follow current lyric", + "followLyric_description": "scroll the lyric to the current playing position", + "font": "font", + "font_description": "sets the font to use for the application", + "fontType": "font type", + "fontType_description": "built-in font selects one of the fonts provided by Feishin. system font allows you to select any font provided by your operating system. custom allows you to provide your own font", + "fontType_optionBuiltIn": "built-in font", + "fontType_optionCustom": "custom font", + "fontType_optionSystem": "system font", + "gaplessAudio": "gapless audio", + "gaplessAudio_description": "sets the gapless audio setting for mpv", + "gaplessAudio_optionWeak": "weak (recommended)", + "globalMediaHotkeys": "global media hotkeys", + "globalMediaHotkeys_description": "enable or disable the usage of your system media hotkeys to control playback", + "homeConfiguration": "home page configuration", + "homeConfiguration_description": "configure what items are shown, and in what order, on the home page", + "hotkey_browserBack": "browser back", + "hotkey_browserForward": "browser forward", + "hotkey_favoriteCurrentSong": "favorite $t(common.currentSong)", + "hotkey_favoritePreviousSong": "favorite $t(common.previousSong)", + "hotkey_globalSearch": "global search", + "hotkey_localSearch": "in-page search", + "hotkey_playbackNext": "next track", + "hotkey_playbackPause": "pause", + "hotkey_playbackPlay": "play", + "hotkey_playbackPlayPause": "play / pause", + "hotkey_playbackPrevious": "previous track", + "hotkey_playbackStop": "stop", + "hotkey_rate0": "rating clear", + "hotkey_rate1": "rating 1 star", + "hotkey_rate2": "rating 2 stars", + "hotkey_rate3": "rating 3 stars", + "hotkey_rate4": "rating 4 stars", + "hotkey_rate5": "rating 5 stars", + "hotkey_skipBackward": "skip backward", + "hotkey_skipForward": "skip forward", + "hotkey_toggleCurrentSongFavorite": "toggle $t(common.currentSong) favorite", + "hotkey_toggleFullScreenPlayer": "toggle full screen player", + "hotkey_togglePreviousSongFavorite": "toggle $t(common.previousSong) favorite", + "hotkey_toggleQueue": "toggle queue", + "hotkey_toggleRepeat": "toggle repeat", + "hotkey_toggleShuffle": "toggle shuffle", + "hotkey_unfavoriteCurrentSong": "unfavorite $t(common.currentSong)", + "hotkey_unfavoritePreviousSong": "unfavorite $t(common.previousSong)", + "hotkey_volumeDown": "volume down", + "hotkey_volumeMute": "volume mute", + "hotkey_volumeUp": "volume up", + "hotkey_zoomIn": "zoom in", + "hotkey_zoomOut": "zoom out", + "language": "language", + "language_description": "sets the language for the application ($t(common.restartRequired))", + "lyricFetch": "fetch lyrics from the internet", + "lyricFetch_description": "fetch lyrics from various internet sources", + "lyricFetchProvider": "providers to fetch lyrics from", + "lyricFetchProvider_description": "select the providers to fetch lyrics from. the order of the providers is the order in which they will be queried", + "lyricOffset": "lyric offset (ms)", + "lyricOffset_description": "offset the lyric by the specified amount of milliseconds", + "minimizeToTray": "minimize to tray", + "minimizeToTray_description": "minimize the application to the system tray", + "minimumScrobblePercentage": "minimum scrobble duration (percentage)", + "minimumScrobblePercentage_description": "the minimum percentage of the song that must be played before it is scrobbled", + "minimumScrobbleSeconds": "minimum scrobble (seconds)", + "minimumScrobbleSeconds_description": "the minimum duration in seconds of the song that must be played before it is scrobbled", + "mpvExecutablePath": "mpv executable path", + "mpvExecutablePath_description": "sets the path to the mpv executable. if left empty, the default path will be used", + "mpvExtraParameters": "mpv parameters", + "mpvExtraParameters_help": "one per line", + "passwordStore": "passwords/secret store", + "passwordStore_description": "what password/secret store to use. change this if you are having issues storing passwords.", + "playbackStyle": "playback style", + "playbackStyle_description": "select the playback style to use for the audio player", + "playbackStyle_optionCrossFade": "crossfade", + "playbackStyle_optionNormal": "normal", + "playButtonBehavior": "play button behavior", + "playButtonBehavior_description": "sets the default behavior of the play button when adding songs to the queue", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "playButtonBehavior_optionPlay": "$t(player.play)", + "playerAlbumArtResolution": "player album art resolution", + "playerAlbumArtResolution_description": "the resolution for the large player's album art preview. larger makes it look more crisp, but may slow loading down. defaults to 0, meaning auto", + "remotePassword": "remote control server password", + "remotePassword_description": "sets the password for the remote control server. These credentials are by default transferred insecurely, so you should use a unique password that you do not care about", + "remotePort": "remote control server port", + "remotePort_description": "sets the port for the remote control server", + "remoteUsername": "remote control server username", + "remoteUsername_description": "sets the username for the remote control server. if both username and password are empty, authentication will be disabled", + "replayGainClipping": "{{ReplayGain}} clipping", + "replayGainClipping_description": "Prevent clipping caused by {{ReplayGain}} by automatically lowering the gain", + "replayGainFallback": "{{ReplayGain}} fallback", + "replayGainFallback_description": "gain in db to apply if the file has no {{ReplayGain}} tags", + "replayGainMode": "{{ReplayGain}} mode", + "replayGainMode_description": "adjust volume gain according to {{ReplayGain}} values stored in the file metadata", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "replayGainPreamp": "{{ReplayGain}} preamp (dB)", + "replayGainPreamp_description": "adjust the preamp gain applied to the {{ReplayGain}} values", + "sampleRate": "sample rate", + "sampleRate_description": "select the output sample rate to be used if the sample frequency selected is different from that of the current media. a value less than 8000 will use the default frequency", + "savePlayQueue": "save play queue", + "savePlayQueue_description": "save the play queue when the application is closed and restore it when the application is opened", + "scrobble": "scrobble", + "scrobble_description": "scrobble plays to your media server", + "showSkipButton": "show skip buttons", + "showSkipButton_description": "show or hide the skip buttons on the player bar", + "showSkipButtons": "show skip buttons", + "showSkipButtons_description": "show or hide the skip buttons on the player bar", + "sidebarCollapsedNavigation": "sidebar (collapsed) navigation", + "sidebarCollapsedNavigation_description": "show or hide the navigation in the collapsed sidebar", + "sidebarConfiguration": "sidebar configuration", + "sidebarConfiguration_description": "select the items and order in which they appear in the sidebar", + "sidebarPlaylistList": "sidebar playlist list", + "sidebarPlaylistList_description": "show or hide the playlist list in the sidebar", + "sidePlayQueueStyle": "side play queue style", + "sidePlayQueueStyle_description": "sets the style of the side play queue", + "sidePlayQueueStyle_optionAttached": "attached", + "sidePlayQueueStyle_optionDetached": "detached", + "skipDuration": "skip duration", + "skipDuration_description": "sets the duration to skip when using the skip buttons on the player bar", + "skipPlaylistPage": "skip playlist page", + "skipPlaylistPage_description": "when navigating to a playlist, go to the playlist song list page instead of the default page", + "startMinimized": "start minimized", + "startMinimized_description": "start the application in system tray", + "theme": "theme", + "theme_description": "sets the theme to use for the application", + "themeDark": "theme (dark)", + "themeDark_description": "sets the dark theme to use for the application", + "themeLight": "theme (light)", + "themeLight_description": "sets the light theme to use for the application", + "useSystemTheme": "use system theme", + "useSystemTheme_description": "follow the system-defined light or dark preference", + "volumeWheelStep": "volume wheel step", + "volumeWheelStep_description": "the amount of volume to change when scrolling the mouse wheel on the volume slider", + "windowBarStyle": "window bar style", + "windowBarStyle_description": "select the style of the window bar", + "zoom": "zoom percentage", + "zoom_description": "sets the zoom percentage for the application" + }, + "table": { + "column": { + "album": "album", + "albumArtist": "album artist", + "albumCount": "$t(entity.album_other)", + "artist": "$t(entity.artist_one)", + "biography": "biography", + "bitrate": "bitrate", + "bpm": "bpm", + "channels": "$t(common.channel_other)", + "codec": "$t(common.codec)", + "comment": "comment", + "dateAdded": "date added", + "discNumber": "disc", + "favorite": "favorite", + "genre": "$t(entity.genre_one)", + "lastPlayed": "last played", + "path": "path", + "playCount": "plays", + "rating": "rating", + "releaseDate": "release date", + "releaseYear": "year", + "songCount": "$t(entity.track_other)", + "title": "title", + "trackNumber": "track" + }, + "config": { + "general": { + "autoFitColumns": "auto fit columns", + "displayType": "display type", + "gap": "$t(common.gap)", + "itemGap": "item gap (px)", + "itemSize": "item size (px)", + "size": "$t(common.size)", + "tableColumns": "table columns" + }, + "label": { + "actions": "$t(common.action_other)", + "album": "$t(entity.album_one)", + "albumArtist": "$t(entity.albumArtist_one)", + "artist": "$t(entity.artist_one)", + "biography": "$t(common.biography)", + "bitrate": "$t(common.bitrate)", + "bpm": "$t(common.bpm)", + "channels": "$t(common.channel_other)", + "codec": "$t(common.codec)", + "dateAdded": "date added", + "discNumber": "disc number", + "duration": "$t(common.duration)", + "favorite": "$t(common.favorite)", + "genre": "$t(entity.genre_one)", + "lastPlayed": "last played", + "note": "$t(common.note)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "playCount": "play count", + "rating": "$t(common.rating)", + "releaseDate": "release date", + "rowIndex": "row index", + "size": "$t(common.size)", + "title": "$t(common.title)", + "titleCombined": "$t(common.title) (combined)", + "trackNumber": "track number", + "year": "$t(common.year)" + }, + "view": { + "card": "card", + "poster": "poster", + "table": "table" + } + } + } } diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json new file mode 100644 index 000000000..e7a4b6685 --- /dev/null +++ b/src/i18n/locales/es.json @@ -0,0 +1,632 @@ +{ + "player": { + "repeat_all": "repetir todo", + "stop": "detener", + "repeat": "repetir", + "queue_remove": "eliminar seleccionado", + "playRandom": "reproducción aleatoria", + "skip": "saltar", + "previous": "anterior", + "toggleFullscreenPlayer": "activar el reproductor a pantalla completa", + "skip_back": "saltar hacia atrás", + "favorite": "favorito", + "next": "siguiente", + "shuffle": "mezclar", + "playbackFetchNoResults": "ninguna canción encontrada", + "playbackFetchInProgress": "cargando canciones…", + "addNext": "añadir siguiente", + "playbackSpeed": "velocidad de reproducción", + "playbackFetchCancel": "esto está tomando un tiempo... cierra la notificación para cancelar", + "play": "reproducir", + "repeat_off": "repetir desactivado", + "queue_clear": "limpiar cola", + "muted": "silenciado", + "unfavorite": "no favorito", + "queue_moveToTop": "mover seleccionado al fondo", + "queue_moveToBottom": "mover seleccionado al principio", + "shuffle_off": "mezclar desactivado", + "addLast": "añadir último", + "mute": "silencio", + "skip_forward": "saltar hacia delante", + "pause": "pausa" + }, + "setting": { + "crossfadeStyle_description": "selecciona el estilo de crossfade a usar por el reproductor de audio", + "remotePort_description": "establece el puerto para el control remoto del servidor", + "hotkey_skipBackward": "saltar hacia atrás", + "replayGainMode_description": "ajusta el volumen de ganancia acorde a los valores de {{ReplayGain}} almacenados en los metadatos del archivo", + "audioDevice_description": "selecciona el dispositivo de audio para usar en la reproducción (solo reproductor web)", + "theme_description": "establece el tema a usar por la aplicación", + "hotkey_playbackPause": "pausa", + "replayGainFallback": "{{ReplayGain}} alternativa", + "sidebarCollapsedNavigation_description": "mostrar u ocultar la navegación en la barra lateral contraída", + "mpvExecutablePath_help": "uno por línea", + "hotkey_volumeUp": "subir volumen", + "skipDuration": "duración de salto", + "discordIdleStatus_description": "cuando se activa, actualiza el estado mientras el reproductor está inactivo", + "showSkipButtons": "mostrar botones de saltar", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "mínima duración de scrobble (porcentaje)", + "lyricFetch": "busca letras en Internet", + "scrobble": "scrobble", + "skipDuration_description": "establece la duración a saltar cuando se usa los botones de saltar en la barra del reproductor", + "enableRemote_description": "activa el control remoto del servidor para permitir a otros dispositivos controlar la aplicación", + "fontType_optionSystem": "fuente del sistema", + "mpvExecutablePath_description": "establece la ruta del ejecutable mpv", + "replayGainClipping_description": "previene el recorte causado por {{ReplayGain}} bajando automáticamente la ganancia", + "replayGainPreamp": "preamplificador (dB) de {{ReplayGain}}", + "hotkey_favoriteCurrentSong": "$t(common.currentSong) favorita", + "sampleRate": "ratio de muestreo", + "crossfadeStyle": "estilo de crossfade", + "sidePlayQueueStyle_optionAttached": "acoplada", + "sidebarConfiguration": "configuración de la barra lateral", + "sampleRate_description": "selecciona el ratio de muestreo de salida a ser usado si la frecuencia de muestreo seleccionada es diferente de la del medio actual", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainClipping": "recortar {{ReplayGain}}", + "hotkey_zoomIn": "ampliar", + "scrobble_description": "hace scrobble de las reproducciones en tu servidor de medios", + "audioExclusiveMode_description": "activa el modo de audio exclusivo. En este modo, el sistema es normalmente bloqueado, y solo se permitirá mpv en la salida de audio", + "discordUpdateInterval": "intervalo de actualización del estado de actividad de {{discord}}", + "themeLight": "tema (luminoso)", + "fontType_optionBuiltIn": "fuente incorporada", + "hotkey_playbackPlayPause": "play / pausa", + "hotkey_rate1": "calificar con 1 estrella", + "hotkey_skipForward": "saltar hacia delante", + "disableLibraryUpdateOnStartup": "desactiva la comprobación de nuevas versiones al inicio", + "discordApplicationId_description": "el id de aplicación para el estado de actividad de {{discord}} (por defecto es {{defaultId}})", + "sidePlayQueueStyle": "estilo de la cola de reproducción lateral", + "gaplessAudio": "audio sin pausas", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "minimizeToTray_description": "minimiza la aplicación a la bandeja del sistema", + "hotkey_playbackPlay": "reproducir", + "hotkey_togglePreviousSongFavorite": "cambia $t(common.previousSong) a favorito", + "hotkey_volumeDown": "bajar volumen", + "hotkey_unfavoritePreviousSong": "$t(common.previousSong) no favorito", + "audioPlayer_description": "selecciona el reproductor de audio a usar en la reproducción", + "globalMediaHotkeys": "teclas de acceso rápido globales a medios", + "hotkey_globalSearch": "búsqueda global", + "gaplessAudio_description": "establece la configuración de audio sin pausas para mpv", + "remoteUsername_description": "establece el nombre de usuario para el control remoto del servidor. si el usuario y la contraseña están vacíos, la autenticación será deshabilitada", + "disableAutomaticUpdates": "desactiva las actualizaciones automáticas", + "exitToTray_description": "sale de la aplicación a la bandeja del sistema", + "followLyric_description": "desplaza la letra a la posición de reproducción actual", + "hotkey_favoritePreviousSong": "$t(common.previousSong) favorita", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "desfase de letra (ms)", + "discordUpdateInterval_description": "el tiempo en segundos entre cada actualización (mínimo 15 segundos)", + "fontType_optionCustom": "fuente personalizada", + "themeDark_description": "establece el tema oscuro a usar por la aplicación", + "audioExclusiveMode": "modo de audio exclusivo", + "remotePassword": "contraseña del control remoto del servidor", + "lyricFetchProvider": "proveedores para buscar letras", + "language_description": "establece el idioma de la aplicación ($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "crossfade", + "hotkey_rate3": "calificar con 3 estrellas", + "font": "fuente", + "mpvExtraParameters": "parámetros de mpv", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "establece el tema luminoso a usar por la aplicación", + "hotkey_toggleFullScreenPlayer": "cambia el reproductor a pantalla completa", + "hotkey_localSearch": "búsqueda en la página", + "hotkey_toggleQueue": "cambia la cola", + "remotePassword_description": "establece la contraseña para el control remoto del servidor. Esas credenciales son transferidas de forma insegura por defecto, por lo que deberías usar una contraseña única para que no tengas nada de qué preocuparte", + "hotkey_rate5": "calificar con 5 estrellas", + "hotkey_playbackPrevious": "pista anterior", + "showSkipButtons_description": "muestra o esconde los botones de saltar en la barra del reproductor", + "crossfadeDuration_description": "establece la duración del efecto de crossfade", + "language": "idioma", + "playbackStyle": "estilo de reproducción", + "hotkey_toggleShuffle": "alterna aleatorio", + "theme": "tema", + "playbackStyle_description": "selecciona el estilo de reproducción a usar por el reproductor de audio", + "discordRichPresence_description": "activa el estado de reproducción en el estado de actividad de {{discord}}. Las teclas de imagen son: {{icon}}, {{playing}}, y {{paused}} ", + "mpvExecutablePath": "ruta del ejecutable mpv", + "audioDevice": "dispositivo de audio", + "hotkey_rate2": "calificar con 2 estrellas", + "playButtonBehavior_description": "establece el comportamiento por defecto del botón de reproducción cuando se añaden canciones a la cola", + "minimumScrobblePercentage_description": "el porcentaje mínimo de la canción que debe ser reproducido antes de hacer scrobble", + "exitToTray": "salida a bandeja", + "hotkey_rate4": "calificar con 4 estrellas", + "enableRemote": "activar control remoto del servidor", + "showSkipButton_description": "muestra o esconde los botones de saltar en la barra del reproductor", + "savePlayQueue": "guardar cola de reproducción", + "minimumScrobbleSeconds_description": "la duración mínima en segundos de la canción que debe ser reproducida antes de hacer scrobble", + "fontType_description": "fuente incorporada selecciona una de las fuentes proporcionadas por Feishin. fuente del sistema te permite seleccionar cualquier fuente proporcionada por tu sistema operativo. personalizada te permite proporcionar tu propia fuente", + "playButtonBehavior": "comportamiento del botón de reproducción", + "sidebarPlaylistList_description": "muestra o esconde las listas de reproducción en la barra lateral", + "sidePlayQueueStyle_description": "establece el estilo de la cola de reproducción lateral", + "replayGainMode": "modo de {{ReplayGain}}", + "playbackStyle_optionNormal": "normal", + "floatingQueueArea": "mostrar área flotante de cola", + "replayGainFallback_description": "ganancia en db a aplicar si el archivo no tiene etiquetas de {{ReplayGain}}", + "replayGainPreamp_description": "ajusta la ganancia del preamplificador aplicada a los valores de {{ReplayGain}}", + "hotkey_toggleRepeat": "alterna repetir", + "lyricOffset_description": "desfasa la letra por la cantidad de milisegundos especificada", + "sidebarConfiguration_description": "selecciona los elementos y el orden en que aparecerán en la barra lateral", + "fontType": "tipo de fuente", + "remotePort": "puerto del control remoto del servidor", + "applicationHotkeys": "teclas de acceso rápido de la aplicación", + "hotkey_playbackNext": "pista siguiente", + "useSystemTheme_description": "sigue la preferencia luminosa u oscura definida por el sistema", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "busca letras en varias fuentes de Internet", + "lyricFetchProvider_description": "selecciona los proveedores para buscar letras. el orden de los proveedores es el orden en el que se consultarán", + "globalMediaHotkeys_description": "activa o desactiva el uso de las teclas de acceso rápidas del sistema a medios para controlar la reproducción", + "customFontPath": "ruta de fuente personalizada", + "followLyric": "seguir la letra actual", + "crossfadeDuration": "duración del crossfade", + "discordIdleStatus": "mostrar el estado inactivo en el estado de actividad", + "sidePlayQueueStyle_optionDetached": "separada", + "audioPlayer": "reproductor de audio", + "hotkey_zoomOut": "reducir", + "hotkey_unfavoriteCurrentSong": "$t(common.currentSong) no favorito", + "hotkey_rate0": "limpiar calificación", + "discordApplicationId": "id de aplicación {{discord}}", + "applicationHotkeys_description": "configura las teclas de acceso rápido de la aplicación. marca la casilla para establecerlas como teclas de acceso rápido globales (solo escritorio)", + "floatingQueueArea_description": "muestra un icono flotante en el lado derecho de la pantalla para ver la cola de reproducción", + "hotkey_volumeMute": "silenciar volumen", + "hotkey_toggleCurrentSongFavorite": "cambia $t(common.currentSong) a favorito", + "remoteUsername": "nombre de usuario del control remoto del servidor", + "showSkipButton": "mostrar botones de saltar", + "sidebarPlaylistList": "listas de reproducción de la barra lateral", + "minimizeToTray": "minimizar a la bandeja", + "themeDark": "tema (oscuro)", + "sidebarCollapsedNavigation": "navegación de barra lateral (contraída)", + "customFontPath_description": "establece la ruta de la fuente personalizada a usar por la aplicación", + "gaplessAudio_optionWeak": "débil (recomendado)", + "minimumScrobbleSeconds": "mínimo scrobble (segundos)", + "hotkey_playbackStop": "parar", + "discordRichPresence": "estado de actividad de {{discord}}", + "font_description": "establece la fuente a usar por la aplicación", + "savePlayQueue_description": "guarda la cola de reproducción cuando se cierra la aplicación y la restaura cuando se abre", + "useSystemTheme": "usar tema del sistema", + "volumeWheelStep_description": "la cantidad de volumen a cambiar cuando se desplaza la rueda del ratón en el control deslizante del volumen", + "zoom": "porcentaje de zoom", + "zoom_description": "establece el porcentaje de zoom de la aplicación", + "volumeWheelStep": "paso de rueda del volumen", + "windowBarStyle": "estilo de la barra de ventana", + "windowBarStyle_description": "selecciona el estilo de la barra de ventana", + "skipPlaylistPage_description": "cuando se navega a una lista de reproducción, se va a la página de lista de canciones de la lista de reproducción en lugar de a la página por defecto", + "accentColor": "color de realce", + "accentColor_description": "establece el color de realce de la aplicación", + "skipPlaylistPage": "saltar página de lista de reproducción", + "hotkey_browserForward": "avance", + "hotkey_browserBack": "retroceso" + }, + "action": { + "editPlaylist": "editar $t(entity.playlist_one)", + "goToPage": "ir a la página", + "moveToTop": "mover al principio", + "clearQueue": "limpiar cola", + "addToFavorites": "añadir a $t(entity.favorite_other)", + "addToPlaylist": "añadir a $t(entity.playlist_one)", + "createPlaylist": "crear $t(entity.playlist_one)", + "removeFromPlaylist": "eliminar de $t(entity.playlist_one)", + "viewPlaylists": "ver $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "eliminar $t(entity.playlist_one)", + "removeFromQueue": "eliminar de la cola", + "deselectAll": "desmarcar todo", + "moveToBottom": "mover al fondo", + "setRating": "establecer calificación", + "toggleSmartPlaylistEditor": "cambiar editor $t(entity.smartPlaylist)", + "removeFromFavorites": "eliminar de $t(entity.favorite_other)" + }, + "common": { + "backward": "hacia atrás", + "increase": "aumentar", + "rating": "calificación", + "bpm": "bpm", + "refresh": "actualizar", + "unknown": "desconocido", + "areYouSure": "estás seguro?", + "edit": "editar", + "favorite": "favorito", + "left": "izquierda", + "save": "guardar", + "right": "derecha", + "currentSong": "actual $t(entity.track_one)", + "collapse": "contraer", + "trackNumber": "pista", + "descending": "descendiente", + "add": "añadir", + "ascending": "ascendente", + "dismiss": "descartar", + "year": "año", + "manage": "gestionar", + "limit": "limitar", + "minimize": "minimizar", + "modified": "modificado", + "duration": "duración", + "name": "nombre", + "maximize": "maximizar", + "decrease": "reducir", + "ok": "vale", + "description": "descripción", + "configure": "configurar", + "path": "ruta", + "center": "centrar", + "no": "no", + "owner": "propietario", + "enable": "activar", + "clear": "limpiar", + "forward": "hacia delante", + "delete": "eliminar", + "cancel": "cancelar", + "forceRestartRequired": "reiniciar para aplicar cambios... cerrar la notificación para reiniciar", + "setting": "configuración", + "version": "versión", + "title": "título", + "filters": "filtros", + "create": "crear", + "bitrate": "tasa de bits", + "saveAndReplace": "guardar y reemplazar", + "playerMustBePaused": "el reproductor debe pausarse", + "confirm": "confirmar", + "resetToDefault": "restablecer a valor por defecto", + "home": "inicio", + "comingSoon": "próximamente…", + "reset": "restablecer", + "disable": "desactivar", + "sortOrder": "ordenar", + "none": "ninguno", + "menu": "menú", + "restartRequired": "reinicio requerido", + "previousSong": "anterior $t(entity.track_one)", + "noResultsFromQuery": "la petición no devolvió resultados", + "quit": "salir", + "expand": "ampliar", + "search": "buscar", + "saveAs": "guardar como", + "disc": "disco", + "yes": "sí", + "random": "aleatorio", + "size": "tamaño", + "biography": "biografía", + "note": "nota", + "gap": "desfase", + "filter_one": "filtro", + "filter_many": "filtros", + "filter_other": "filtros", + "action_one": "acción", + "action_many": "acciones", + "action_other": "acciones", + "channel_one": "Canal", + "channel_many": "Canales", + "channel_other": "Canales" + }, + "error": { + "remotePortWarning": "reiniciar el servidor para aplicar el nuevo puerto", + "systemFontError": "un error ocurrió cuando se intentó obtener las fuentes del sistema", + "playbackError": "un error ocurrió cuando se intentó reproducir el medio", + "endpointNotImplementedError": "el punto final {{endpoint}} no está implementado para {{serverType}}", + "remotePortError": "un error ocurrió cuando se intentó establecer el puerto del servidor remoto", + "serverRequired": "servidor requerido", + "authenticationFailed": "autenticación fallida", + "apiRouteError": "no se puede encaminar la solicitud", + "genericError": "sucedió un error", + "credentialsRequired": "credenciales requeridas", + "sessionExpiredError": "tu sesión ha expirado", + "remoteEnableError": "un error ocurrió cuando se intentó $t(common.enable) el servidor remoto", + "localFontAccessDenied": "acceso denegado a las fuentes locales", + "serverNotSelectedError": "ningún servidor seleccionado", + "remoteDisableError": "un error ocurrió cuando se intentó $t(common.disable) el servidor remoto", + "mpvRequired": "MPV requerido", + "audioDeviceFetchError": "un error ocurrió cuando se intentó obtener los dispositivos de audio", + "invalidServer": "servidor inválido", + "loginRateError": "demasiados intentos de inicio de sesión, por favor inténtalo en unos segundos" + }, + "filter": { + "mostPlayed": "más reproducido", + "isCompilation": "es compilación", + "recentlyPlayed": "recientemente reproducido", + "isRated": "es clasificado", + "title": "título", + "rating": "calificación", + "search": "buscar", + "bitrate": "tasa de bits", + "recentlyAdded": "recientemente añadido", + "note": "nota", + "name": "nombre", + "dateAdded": "fecha añadida", + "releaseDate": "fecha de lanzamiento", + "communityRating": "calificación de la comunidad", + "path": "ruta", + "favorited": "favoritos", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "reproducido recientemente", + "isFavorited": "es favorito", + "bpm": "bpm", + "releaseYear": "año de lanzamiento", + "disc": "disco", + "biography": "biografía", + "artist": "$t(entity.artist_one)", + "duration": "duración", + "random": "aleatorio", + "lastPlayed": "última reproducción", + "toYear": "hasta el año", + "fromYear": "desde el año", + "criticRating": "calificación de la crítica", + "trackNumber": "pista", + "comment": "comentarios", + "playCount": "número de reproducción", + "recentlyUpdated": "actualizado recientemente", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "id": "id", + "songCount": "número de canción", + "isPublic": "es público", + "album": "$t(entity.album_one)", + "albumCount": "Contar $t(entity.album_other)" + }, + "page": { + "sidebar": { + "nowPlaying": "en reproducción", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "appMenu": { + "selectServer": "seleccionar servidor", + "version": "versión {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "gestionar servidores", + "expandSidebar": "ampliar barra lateral", + "collapseSidebar": "contraer barra lateral", + "openBrowserDevtools": "abrir herramientas de desarrollador del navegador", + "quit": "$t(common.quit)", + "goBack": "retroceder", + "goForward": "avanzar" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} seleccionado", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "más reproducidos", + "newlyAdded": "nuevos lanzamientos añadidos", + "title": "$t(common.home)", + "explore": "explorar desde tu biblioteca", + "recentlyPlayed": "recientemente reproducidos" + }, + "fullscreenPlayer": { + "upNext": "siguiente", + "config": { + "dynamicBackground": "fondo dinámico", + "synchronized": "sincronizado", + "followCurrentLyric": "seguir la letra actual", + "opacity": "opacidad", + "lyricSize": "tamaño de letra", + "showLyricProvider": "mostrar proveedor de letra", + "unsynchronized": "no sincronizado", + "lyricAlignment": "alineación de letra", + "useImageAspectRatio": "usar ratio de aspecto de imagen", + "showLyricMatch": "mostrar coincidencia de letras", + "lyricGap": "desfase de letra" + }, + "lyrics": "letras", + "related": "relacionado" + }, + "albumDetail": { + "moreFromArtist": "más de este $t(entity.artist_one)", + "moreFromGeneric": "más de {{item}}" + }, + "setting": { + "playbackTab": "reproducción", + "generalTab": "general", + "hotkeysTab": "teclas de acceso rápido", + "windowTab": "ventana" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "comandos del servidor", + "goToPage": "ir a la página", + "searchFor": "buscar por {{query}}" + }, + "title": "comandos" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "eliminar $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) eliminado correctamente", + "input_confirm": "escribe el nombre de $t(entity.playlist_one) para confirmar" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "crear $t(entity.playlist_one)", + "input_public": "público", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) creado correctamente", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "añadir servidor", + "input_username": "nombre de usuario", + "input_url": "url", + "input_password": "contraseña", + "input_legacyAuthentication": "permitir autenticación heredada", + "input_name": "nombre del servidor", + "success": "servidor añadido correctamente", + "input_savePassword": "guardar contraseña", + "ignoreSsl": "ignorar ssl ($t(common.restartRequired))", + "ignoreCors": "ignorar cors ($t(common.restartRequired))", + "error_savePassword": "un error ocurrió cuando se intentó guardar la contraseña" + }, + "addToPlaylist": { + "success": "añadido {{message}} $t(entity.track_other) a {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "añadir a $t(entity.playlist_one)", + "input_skipDuplicates": "saltar duplicados", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "actualizar servidor", + "success": "servidor actualizado correctamente" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "buscar letras" + }, + "editPlaylist": { + "title": "editar $t(entity.playlist_one)" + }, + "queryEditor": { + "input_optionMatchAll": "coincidir todos", + "input_optionMatchAny": "coincidir cualquiera" + } + }, + "table": { + "column": { + "rating": "calificación", + "comment": "comentarios", + "album": "álbum", + "favorite": "favorito", + "playCount": "reproducciones", + "albumCount": "$t(entity.album_other)", + "releaseYear": "año", + "lastPlayed": "última reproducción", + "biography": "biografía", + "releaseDate": "fecha de lanzamiento", + "bitrate": "tasa de bits", + "title": "título", + "bpm": "bpm", + "dateAdded": "fecha de adición", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "pista", + "genre": "$t(entity.genre_one)", + "albumArtist": "artista de álbum", + "path": "ruta", + "discNumber": "disco", + "channels": "$t(common.channel_other)" + }, + "config": { + "label": { + "rating": "$t(common.rating)", + "dateAdded": "fecha de adición", + "bpm": "$t(common.bpm)", + "lastPlayed": "última reproducción", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "biography": "$t(common.biography)", + "channels": "$t(common.channel_other)", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "albumArtist": "$t(entity.albumArtist_one)", + "discNumber": "número de disco", + "releaseDate": "fecha de lanzamiento", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (combinado)", + "size": "$t(common.size)", + "trackNumber": "número de pista", + "rowIndex": "índice de filas", + "note": "$t(common.note)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "playCount": "número de reproducción", + "genre": "$t(entity.genre_one)", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)" + }, + "general": { + "gap": "$t(common.gap)", + "tableColumns": "columnas de la tabla", + "autoFitColumns": "ajuste automático de columnas", + "size": "$t(common.size)", + "displayType": "tipo de visualización" + }, + "view": { + "card": "tarjeta", + "table": "tabla", + "poster": "cartel" + } + } + }, + "entity": { + "smartPlaylist": "$t(entity.playlist_one) inteligente", + "genre_one": "género", + "genre_many": "géneros", + "genre_other": "géneros", + "playlistWithCount_one": "{{count}} lista de reproducción", + "playlistWithCount_many": "{{count}} listas de reproducción", + "playlistWithCount_other": "{{count}} listas de reproducción", + "playlist_one": "lista de reproducción", + "playlist_many": "listas de reproducción", + "playlist_other": "listas de reproducción", + "artist_one": "artista", + "artist_many": "artistas", + "artist_other": "artistas", + "folderWithCount_one": "{{count}} carpeta", + "folderWithCount_many": "{{count}} carpetas", + "folderWithCount_other": "{{count}} carpetas", + "albumArtist_one": "artista de álbum", + "albumArtist_many": "artistas de álbum", + "albumArtist_other": "artistas de álbum", + "track_one": "pista", + "track_many": "pistas", + "track_other": "pistas", + "albumArtistCount_one": "{{count}} artista de álbum", + "albumArtistCount_many": "{{count}} artistas de álbum", + "albumArtistCount_other": "{{count}} artistas de álbum", + "albumWithCount_one": "{{count}} álbum", + "albumWithCount_many": "{{count}} álbumes", + "albumWithCount_other": "{{count}} álbumes", + "favorite_one": "favorito", + "favorite_many": "favoritos", + "favorite_other": "favoritos", + "artistWithCount_one": "{{count}} artista", + "artistWithCount_many": "{{count}} artistas", + "artistWithCount_other": "{{count}} artistas", + "folder_one": "carpeta", + "folder_many": "carpetas", + "folder_other": "carpetas", + "album_one": "álbum", + "album_many": "álbumes", + "album_other": "álbumes", + "genreWithCount_one": "{{count}} género", + "genreWithCount_many": "{{count}} géneros", + "genreWithCount_other": "{{count}} géneros", + "trackWithCount_one": "{{count}} pista", + "trackWithCount_many": "{{count}} pistas", + "trackWithCount_other": "{{count}} pistas" + } +} diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json new file mode 100644 index 000000000..eb31ba844 --- /dev/null +++ b/src/i18n/locales/fr.json @@ -0,0 +1,632 @@ +{ + "player": { + "repeat_all": "répète tout", + "stop": "stop", + "repeat": "répéter", + "queue_remove": "effacer la sélection", + "playRandom": "lecture aléatoire", + "skip": "sauter", + "previous": "précédant", + "toggleFullscreenPlayer": "plein écran", + "skip_back": "reculer", + "favorite": "favori", + "next": "suivant", + "shuffle": "aléatoire", + "playbackFetchNoResults": "aucune chansons trouvées", + "playbackFetchInProgress": "chargement des chansons…", + "addNext": "ajouter ensuite", + "playbackSpeed": "vitesse de lecture", + "playbackFetchCancel": "cela prend du temps… fermez la notification pour annuler", + "play": "lecture", + "repeat_off": "répétition désactivée", + "queue_clear": "effacer la file d'attente", + "muted": "en sourdine", + "queue_moveToTop": "déplacer la sélection vers le bas", + "queue_moveToBottom": "déplacer la sélection vers le haut", + "shuffle_off": "aléatoire désactivée", + "addLast": "ajouter en dernier", + "mute": "muet", + "skip_forward": "avancer", + "pause": "pause", + "unfavorite": "dé-favori" + }, + "action": { + "editPlaylist": "éditer $t(entity.playlist_one)", + "goToPage": "aller à la page", + "moveToTop": "déplacer en haut", + "clearQueue": "effacer la liste de lecture", + "addToFavorites": "ajouter aux $t(entity.favorite_other)", + "addToPlaylist": "ajouter à $t(entity.playlist_one)", + "createPlaylist": "créer $t(entity.playlist_one)", + "removeFromPlaylist": "supprimer des $t(entity.playlist_one)", + "viewPlaylists": "voir $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "supprimer de $t(entity.playlist_one)", + "removeFromQueue": "retirer de la file d'attente", + "deselectAll": "désélectionner tout", + "moveToBottom": "déplacer en bas", + "setRating": "noter", + "toggleSmartPlaylistEditor": "basculer l'éditeur de $t(entity.smartPlaylist)", + "removeFromFavorites": "retirer des $t(entity.favorite_other)" + }, + "common": { + "backward": "reculer", + "increase": "augmenter", + "rating": "note", + "bpm": "bpm", + "refresh": "rafraichir", + "unknown": "inconnu", + "areYouSure": "êtes vous sûr ?", + "edit": "éditer", + "favorite": "favoris", + "left": "gauche", + "save": "sauvegarder", + "right": "droite", + "currentSong": "$t(entity.track_one) actuelle", + "collapse": "réduire", + "trackNumber": "piste", + "descending": "décroisant", + "add": "ajouter", + "gap": "écart", + "ascending": "croissant", + "dismiss": "rejeter", + "year": "année", + "manage": "gérer", + "limit": "limite", + "minimize": "minimiser", + "modified": "modifier", + "duration": "durée", + "name": "nom", + "maximize": "agrandir", + "decrease": "baisser", + "ok": "ok", + "description": "description", + "configure": "configurer", + "path": "chemin", + "center": "centre", + "no": "non", + "owner": "propriétaire", + "enable": "activer", + "clear": "effacer", + "forward": "avancer", + "delete": "supprimer", + "cancel": "annuler", + "forceRestartRequired": "redémarrer pour appliquer les changements… fermer la notification pour redémarrer", + "setting": "paramètre", + "version": "version", + "title": "titre", + "filter_one": "filtre", + "filter_many": "filtres", + "filter_other": "filtres", + "filters": "filtres", + "create": "créer", + "bitrate": "bitrate", + "saveAndReplace": "sauvegarder et remplacer", + "action_one": "action", + "action_many": "actions", + "action_other": "actions", + "playerMustBePaused": "le lecteur doit être en pause", + "confirm": "confirmer", + "resetToDefault": "réinitialiser par défaut", + "home": "accueil", + "comingSoon": "prochainement…", + "reset": "réinitialiser", + "channel_one": "canal", + "channel_many": "canaux", + "channel_other": "canaux", + "disable": "désactiver", + "sortOrder": "ordre", + "none": "aucun", + "menu": "menu", + "restartRequired": "redémarrage requis", + "previousSong": "précédant $t(entity.track_one)", + "noResultsFromQuery": "la requête n'a retourné aucun résultat", + "quit": "quitter", + "expand": "étendre", + "search": "recherche", + "saveAs": "sauvegarder en tant que", + "disc": "disque", + "yes": "oui", + "random": "aléatoire", + "size": "taille", + "biography": "biographie", + "note": "note" + }, + "error": { + "remotePortWarning": "redémarrer le serveur pour appliquer le nouveau port", + "systemFontError": "une erreur s’est produite lors de la tentative d’obtenir les polices système", + "playbackError": "une erreur s'est produite lors de la tentative de lecture du média", + "endpointNotImplementedError": "endpoint {{endpoint}} n'est pas implémenté pour {{serverType}}", + "remotePortError": "une erreur s'est produite lors de la tentative de définir le port du serveur distant", + "serverRequired": "serveur requis", + "authenticationFailed": "l'authentification à échoué", + "apiRouteError": "incapable d’acheminer la demande", + "genericError": "une erreur s'est produite", + "credentialsRequired": "identifiants requis", + "sessionExpiredError": "votre session a expiré", + "remoteEnableError": "une erreur s'est produite lors de la tentative de $t(common.enable) le serveur distant", + "localFontAccessDenied": "accès refusé aux polices locales", + "serverNotSelectedError": "aucun serveur sélectionner", + "remoteDisableError": "une erreur s'est produite lors de la tentative de $t(common.disable) le serveur distant", + "mpvRequired": "MPV requis", + "audioDeviceFetchError": "une erreur s’est produite lors de la tentative d’obtenir les périphériques audio", + "invalidServer": "serveur invalide", + "loginRateError": "trop de tentative de connexion, merci d'essayer dans quelque secondes" + }, + "filter": { + "mostPlayed": "plus joués", + "playCount": "nombre d'écoutes", + "isCompilation": "est une compilation", + "recentlyPlayed": "récemment joué", + "isRated": "est noté", + "title": "titre", + "rating": "note", + "search": "recherche", + "bitrate": "bitrate", + "recentlyAdded": "ajout récent", + "note": "note", + "name": "nom", + "dateAdded": "date d'ajout", + "releaseDate": "date de sortie", + "communityRating": "note de la communauté", + "path": "chemin", + "favorited": "favoris", + "isRecentlyPlayed": "est récemment joué", + "isFavorited": "est favoris", + "bpm": "bpm", + "releaseYear": "année de sortie", + "disc": "disque", + "biography": "biographie", + "songCount": "nombre de chansons", + "duration": "durée", + "random": "aléatoire", + "lastPlayed": "dernière joué", + "toYear": "à l'année", + "fromYear": "depuis l'année", + "criticRating": "note des critiques", + "trackNumber": "piste", + "albumArtist": "$t(entity.albumArtist_one)", + "comment": "commentaire", + "recentlyUpdated": "mis à jour récemment", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "albumCount": "$t(entity.album_other) total", + "id": "id", + "artist": "$t(entity.artist_one)", + "isPublic": "est public", + "album": "$t(entity.album_one)" + }, + "page": { + "sidebar": { + "nowPlaying": "lecture en cours", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "afficher la correspondance des paroles", + "dynamicBackground": "arrière-plan dynamique", + "synchronized": "synchronisé", + "followCurrentLyric": "suivre les paroles", + "showLyricProvider": "afficher la source des paroles", + "unsynchronized": "désynchronisé", + "lyricAlignment": "alignement des paroles", + "useImageAspectRatio": "utiliser le ratio de l'image", + "opacity": "opacitée", + "lyricSize": "Taille des paroles", + "lyricGap": "espacement des lettres" + }, + "upNext": "à suivre", + "lyrics": "paroles", + "related": "similaire" + }, + "appMenu": { + "selectServer": "sélectionner le serveur", + "manageServers": "gérer les serveurs", + "expandSidebar": "développer la barre latérale", + "collapseSidebar": "réduire la barre latérale", + "openBrowserDevtools": "ouvrir les outils de développement du navigateur", + "goBack": "retour arrière", + "goForward": "avancer", + "version": "version {{version}}", + "settings": "$t(common.setting_other)", + "quit": "$t(common.quit)" + }, + "home": { + "mostPlayed": "plus joués", + "newlyAdded": "versions récemment ajoutés", + "explore": "explorer depuis votre bibliothèque", + "recentlyPlayed": "récemment joué", + "title": "$t(common.home)" + }, + "albumDetail": { + "moreFromArtist": "plus de $t(entity.artist_one)", + "moreFromGeneric": "plus de {{item}}" + }, + "setting": { + "generalTab": "générale", + "hotkeysTab": "raccourci", + "windowTab": "fenêtre", + "playbackTab": "lecteur" + }, + "globalSearch": { + "commands": { + "serverCommands": "commandes du serveur", + "goToPage": "aller à la page", + "searchFor": "recherche pour {{query}}" + }, + "title": "commandes" + }, + "contextMenu": { + "numberSelected": "{{count}} sélectionné", + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "setting": { + "audioDevice_description": "sélectionnez le périphérique audio à utiliser pour la lecture (lecteur Web uniquement)", + "crossfadeStyle": "style du fondu enchaîné", + "audioExclusiveMode_description": "activer le mode de sortie exclusif. Dans ce mode, le système est généralement verrouillé et seul mpv pourra émettre de l'audio", + "audioPlayer_description": "sélectionnez le lecteur audio à utiliser pour la lecture", + "crossfadeDuration_description": "définit la durée du fondu enchaîné", + "audioDevice": "périphérique audio", + "accentColor": "couleur d'accentuation", + "accentColor_description": "définit la couleur d'accentuation de l'application", + "applicationHotkeys": "raccourcis clavier d'application", + "crossfadeDuration": "durée de fondue enchaînée", + "audioPlayer": "lecteur audio", + "applicationHotkeys_description": "configurer les raccourcis clavier d’application. activer la case à cocher pour définir comme raccourci clavier global (bureau uniquement)", + "crossfadeStyle_description": "sélectionnez le style du fondu enchaîné à utiliser pour le lecteur audio", + "customFontPath": "chemin de police personnalisé", + "disableAutomaticUpdates": "désactiver les mises à jour automatique", + "customFontPath_description": "définit le chemin de police personnalisé pour l'application", + "remotePort_description": "définit le port du serveur de contrôle à distance", + "hotkey_skipBackward": "reculer", + "hotkey_playbackPause": "pause", + "mpvExecutablePath_help": "line par line", + "hotkey_volumeUp": "monter le volume", + "discordIdleStatus_description": "quand activé, mettre à jour le status pendant que le lecteur est inactif", + "showSkipButtons": "affiche les boutons suivants et précédents", + "minimumScrobblePercentage": "durée minimal du scobble (pourcentage)", + "lyricFetch": "récupère les paroles depuis internet", + "scrobble": "scrobble", + "enableRemote_description": "activer le serveur de contrôle à distance, qui permet à d'autres appareils de contrôler l'application", + "fontType_optionSystem": "police système", + "mpvExecutablePath_description": "définit le chemin vers l'exécutable mpv", + "hotkey_favoriteCurrentSong": "favori $t(common.currentSong)", + "sampleRate": "taux d'échantillonnage", + "sampleRate_description": "sélectionnez le taux d'échantillonnage de sortie utilisé si la fréquence d'échantillonnage sélectionnée est différente de celle du média actuel", + "hotkey_zoomIn": "zoom avant", + "scrobble_description": "scrobble les lectures à votre serveur multimédia", + "hotkey_browserForward": "avancer", + "discordUpdateInterval": "interval de mise à jour de {{discord}} rich presence", + "fontType_optionBuiltIn": "police intégrée", + "hotkey_playbackPlayPause": "lecture / pause", + "hotkey_rate1": "noter 1 étoile", + "hotkey_skipForward": "avancer", + "disableLibraryUpdateOnStartup": "désactive la recherche de mise à jour au démarrage", + "gaplessAudio": "audio sans interruption", + "minimizeToTray_description": "réduit l'application vers la barre des tâches", + "hotkey_playbackPlay": "lecture", + "hotkey_togglePreviousSongFavorite": "basculer $t(common.previousSong) favoris", + "hotkey_volumeDown": "baisser le volume", + "hotkey_unfavoritePreviousSong": "défavorisé $t(common.previousSong)", + "globalMediaHotkeys": "raccourci clavier multimédia global", + "hotkey_globalSearch": "recherche globale", + "gaplessAudio_description": "définit les paramètres d'audio sans interruption pour mpv", + "remoteUsername_description": "définit le nom d'utilisateur du serveur de contrôle à distance. si le nom d'utilisateur et le mot de passe sont vides, l'authentification sera désactivée", + "exitToTray_description": "quitte l'application vers la barre des tâches", + "followLyric_description": "faire défiler les paroles jusqu'à la position de lecture actuelle", + "hotkey_favoritePreviousSong": "favori $t(common.previousSong)", + "lyricOffset": "décalage des paroles (ms)", + "discordUpdateInterval_description": "temps en seconde entre chaque mise à jour (minimum de 15 secondes)", + "fontType_optionCustom": "police personnalisée", + "remotePassword": "mot de passe du serveur de contrôle à distance", + "lyricFetchProvider": "fournisseur depuis lequel récupérer les paroles", + "language_description": "définit la langue de l'application $t(common.restartRequired)", + "playbackStyle_optionCrossFade": "fondu enchaîné", + "hotkey_rate3": "noter 3 étoiles", + "font": "police", + "mpvExtraParameters": "paramètres de mpv", + "hotkey_toggleFullScreenPlayer": "basculer en plein écran", + "hotkey_localSearch": "recherche dans la page", + "hotkey_toggleQueue": "basculer la liste de lecteur", + "remotePassword_description": "définit le mot de passe du serveur de contrôle à distance. Ces identifiants sont par défaut transmises de façon non sécurisées, donc vous devriez utiliser un mot de passe unique dont vous n'avez pas grand-chose à faire", + "hotkey_rate5": "noter 5 étoiles", + "hotkey_playbackPrevious": "piste précédente", + "showSkipButtons_description": "affiche ou cache les boutons suivants et précédents de la barre de lecture", + "language": "language", + "playbackStyle": "style de lecture", + "hotkey_toggleShuffle": "basculer la lecture aléatoire", + "playbackStyle_description": "sélectionnez le style de lecture à utiliser pour le lecteur audio", + "discordRichPresence_description": "active l'état de lecteur dans le status d'activité {{discord}}. Les images clés sont : {{icon}}, {{playing}}, et {{paused}} ", + "mpvExecutablePath": "chemin de l'exécutable mpv", + "hotkey_rate2": "noter 2 étoiles", + "playButtonBehavior_description": "définit le comportement par défaut du bouton play, lors de l'ajout de chanson à la file d'attente", + "minimumScrobblePercentage_description": "le pourcentage minimum de la chanson qui doit être joué avant qu'elle ne soit scrobbleée", + "exitToTray": "quitter vers la barre des tâches", + "hotkey_rate4": "noter 4 étoiles", + "enableRemote": "activer le serveur de contrôle à distance", + "showSkipButton_description": "affiche ou cache les boutons suivants et précédents de la barre de lecture", + "savePlayQueue": "sauvegarder la liste de lecture", + "minimumScrobbleSeconds_description": "la durée minimale en secondes de la chanson qui doit être jouée avant qu'elle ne soit scrobbleée", + "fontType_description": "police intégré vous permet de sélectionner une des polices fourni par Feishin. Police système vous permet de sélectionner une des polices fourni par votre système d'éxploitation. personnalisé vous permet de fournir votre propre police", + "playButtonBehavior": "comportement du bouton play", + "playbackStyle_optionNormal": "normale", + "floatingQueueArea": "afficher le zone de file d'attente flottante", + "hotkey_toggleRepeat": "basculer la répétition", + "lyricOffset_description": "décale les paroles par le nombre de millisecondes spécifiées", + "fontType": "type de police", + "remotePort": "port du serveur de contrôle à distance", + "hotkey_playbackNext": "piste suivante", + "lyricFetch_description": "récupère les paroles depuis divers source d'internet", + "lyricFetchProvider_description": "sélectionnez le fournisseur auprès desquels récupérer les paroles. l'ordre des fournisseurs et l'ordre dans lequel ils seront interrogés", + "globalMediaHotkeys_description": "active ou désactive l'utilisation des raccourcis clavier multimédia système pour contrôler la lecture", + "followLyric": "suivre les paroles actuelles", + "discordIdleStatus": "afficher l'état d'inactivité dans le status de l'activité", + "hotkey_zoomOut": "zoom arrière", + "hotkey_unfavoriteCurrentSong": "retirer des favoris la $t(common.currentSong)", + "hotkey_rate0": "supprimer la note", + "hotkey_volumeMute": "couper le son", + "hotkey_toggleCurrentSongFavorite": "basculer favori de la $t(common.currentSong)", + "remoteUsername": "nom d'utilisateur du serveur de contrôle à distance", + "hotkey_browserBack": "retour arrière", + "showSkipButton": "affiche les boutons suivants et précédents", + "minimizeToTray": "réduire vers la barre des tâches", + "gaplessAudio_optionWeak": "faible (recommandée)", + "minimumScrobbleSeconds": "scrobble minimum (secondes)", + "hotkey_playbackStop": "stop", + "font_description": "définit la police à utiliser pour l'application", + "savePlayQueue_description": "sauvegarde la liste de lecture quand l'application est fermée et la restaure quand l'application est ouverte", + "sidebarCollapsedNavigation_description": "affiche ou cache la navigation dans la barre latérale réduite", + "sidebarConfiguration": "configuration de la barre latérale", + "sidebarConfiguration_description": "sélectionnez les items et l'ordre dans lesquels ils seront affichaient dans la barre latérale", + "sidebarPlaylistList": "liste de playlist de la barre latérale", + "sidebarCollapsedNavigation": "navigation de la barre latéral (réduite)", + "skipDuration": "durée de l'avance rapide", + "sidePlayQueueStyle_optionAttached": "attaché", + "sidePlayQueueStyle": "style de la liste de lecture latérale", + "sidebarPlaylistList_description": "affiche ou cache la liste de playlist de la barre latérale", + "sidePlayQueueStyle_description": "définit le style de la liste de lecture latérale", + "sidePlayQueueStyle_optionDetached": "détaché", + "volumeWheelStep_description": "la valeur de volume à modifier lors du défilement de la molette de la souris sur le curseur de volume", + "theme_description": "définit le thème à utiliser pour l'application", + "skipDuration_description": "définit le durée du saut rapide, lors de l'utilisation des boutons avancer/reculer de la barre de lecture", + "themeLight": "thème (clair)", + "zoom": "pourcentage de zoom", + "themeDark_description": "définit le thème sombre à utiliser pour l'application", + "themeLight_description": "définit le thème clair à utiliser pour l'application", + "zoom_description": "définit le pourcentage de zoom de l'application", + "theme": "thème", + "skipPlaylistPage_description": "lors de la navigation dans une playlist, aller directement vers le liste des morceaux, au lieu de la page par défaut", + "volumeWheelStep": "valeur du pas de volume", + "windowBarStyle": "style de la barre de la fenêtre", + "useSystemTheme_description": "suivre les préférence du système (sombre ou clair)", + "skipPlaylistPage": "sauter la page de playlist", + "themeDark": "thème (sombre)", + "windowBarStyle_description": "sélectionner le style de la barre de la fenêtre", + "useSystemTheme": "utiliser le thème du système", + "discordApplicationId_description": "l'identifiant de l'application pour le statut d'activité {{discord}} (par défaut à {{defaultId}})", + "audioExclusiveMode": "mode de sortie audio exclusif", + "discordApplicationId": "identifiant d'application {{discord}}", + "floatingQueueArea_description": "afficher une icon flottante sur le côté droit de l'écran pour afficher la liste d'attente", + "discordRichPresence": "status d'activité de {{discord}}", + "playButtonBehavior_optionPlay": "$t(player.play)", + "replayGainMode_optionNone": "$t(common.none)", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "replayGainMode_description": "ajuste le gain de volume accordement à la valeur de {{ReplayGain}} sauvegardé dans les métadonnées du fichier", + "replayGainFallback": "{{ReplayGain}} fallback", + "replayGainClipping_description": "Préviens le clipping causé par {{ReplayGain}} en baissant automatiquement le gain", + "replayGainPreamp": "préamplificateur (dB) de {{ReplayGain}}", + "replayGainClipping": "{{ReplayGain}} clipping", + "replayGainMode": "mode de {{ReplayGain}}", + "replayGainFallback_description": "gain en dB à appliquer si le fichier n'a pas de tag {{ReplayGain}}", + "replayGainPreamp_description": "ajuste le gain de préampli appliqué a la valeur de {{ReplayGain}}" + }, + "form": { + "deletePlaylist": { + "title": "supprimer de $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) supprimée avec succès", + "input_confirm": "taper le nom de la $t(entity.playlist_one) pour confirmer" + }, + "addServer": { + "title": "ajouter un serveur", + "input_username": "nom d'utilisateur", + "input_url": "url", + "input_password": "mot de passe", + "input_legacyAuthentication": "activer l'authtication legacy", + "input_name": "nom du serveur", + "success": "serveur ajouté avec succès", + "input_savePassword": "enregister le mot de passe", + "ignoreSsl": "ignorer ssl $t(common.restartRequired)", + "ignoreCors": "ignorer cors $t(common.restartRequired)", + "error_savePassword": "une erreur s’est produite lors de la tentative de sauvegarde du mot de passe" + }, + "addToPlaylist": { + "success": "{{message}} $t(entity.track_other) ajouté à {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "ajouter à $t(entity.playlist_one)", + "input_skipDuplicates": "sauter les doublons", + "input_playlists": "$t(entity.playlist_other)" + }, + "createPlaylist": { + "title": "créer $t(entity.playlist_one)", + "input_public": "publique", + "success": "$t(entity.playlist_one) créée avec succès", + "input_description": "$t(common.description)", + "input_name": "$t(common.name)", + "input_owner": "$t(common.owner)" + }, + "updateServer": { + "title": "mise à jour du serveur", + "success": "serveur mis à jour avec succès" + }, + "queryEditor": { + "input_optionMatchAll": "correspondre à tous", + "input_optionMatchAny": "correspondre à n'importe quel" + }, + "editPlaylist": { + "title": "modifier $t(entity.playlist_one)" + }, + "lyricSearch": { + "title": "rechercher parole", + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)" + } + }, + "entity": { + "genre_one": "genre", + "genre_many": "genres", + "genre_other": "genres", + "playlistWithCount_one": "{{count}} playlist", + "playlistWithCount_many": "{{count}} playlists", + "playlistWithCount_other": "{{count}} playlists", + "playlist_one": "playlist", + "playlist_many": "playlists", + "playlist_other": "playlists", + "artist_one": "artiste", + "artist_many": "artistes", + "artist_other": "artistes", + "folderWithCount_one": "{{count}} dossier", + "folderWithCount_many": "{{count}} dossiers", + "folderWithCount_other": "{{count}} dossiers", + "albumArtist_one": "artiste de l'album", + "albumArtist_many": "artistes d'albums", + "albumArtist_other": "artistes d'albums", + "track_one": "piste", + "track_many": "pistes", + "track_other": "pistes", + "albumArtistCount_one": "{{count}} artiste de l'album", + "albumArtistCount_many": "{{count}} artistes d'albums", + "albumArtistCount_other": "{{count}} artistes d'albums", + "albumWithCount_one": "{{count}} album", + "albumWithCount_many": "{{count}} albums", + "albumWithCount_other": "{{count}} albums", + "favorite_one": "favori", + "favorite_many": "favoris", + "favorite_other": "favoris", + "artistWithCount_one": "{{count}} artiste", + "artistWithCount_many": "{{count}} artistes", + "artistWithCount_other": "{{count}} artistes", + "folder_one": "dossier", + "folder_many": "dossiers", + "folder_other": "dossiers", + "smartPlaylist": "$t(entity.playlist_one) intelligente", + "album_one": "album", + "album_many": "albums", + "album_other": "albums", + "genreWithCount_one": "{{count}} genre", + "genreWithCount_many": "{{count}} genres", + "genreWithCount_other": "{{count}} genres", + "trackWithCount_one": "{{count}} piste", + "trackWithCount_many": "{{count}} pistes", + "trackWithCount_other": "{{count}} pistes" + }, + "table": { + "config": { + "general": { + "displayType": "Type d'affichage", + "tableColumns": "colonnes de la liste", + "autoFitColumns": "colonnes à ajustement automatique", + "gap": "$t(common.gap)", + "size": "$t(common.size)" + }, + "view": { + "table": "liste", + "poster": "poster", + "card": "Carte" + }, + "label": { + "releaseDate": "date de sortie", + "titleCombined": "$t(common.title) (combiné)", + "dateAdded": "date d'ajout", + "lastPlayed": "dernière écoute", + "trackNumber": "numéro de piste", + "rowIndex": "index de ligne", + "playCount": "nombre de lecture", + "discNumber": "disque n°", + "duration": "$t(common.duration)", + "bpm": "$t(common.bpm)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "biography": "$t(common.biography)", + "channels": "$t(common.channel_other)", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "favorite": "$t(common.favorite)", + "albumArtist": "$t(entity.albumArtist_one)", + "rating": "$t(common.rating)", + "note": "$t(common.note)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "title": "$t(common.title)", + "size": "$t(common.size)", + "genre": "$t(entity.genre_one)", + "year": "$t(common.year)" + } + }, + "column": { + "comment": "commentaire", + "album": "album", + "rating": "note", + "favorite": "favori", + "playCount": "lectures", + "releaseYear": "année", + "biography": "biographie", + "releaseDate": "date de sortie", + "bitrate": "bitrate", + "title": "titre", + "bpm": "bpm", + "dateAdded": "date d'ajout", + "trackNumber": "piste", + "albumArtist": "artiste de l'album", + "path": "chemin", + "discNumber": "disque", + "albumCount": "$t(entity.album_other)", + "lastPlayed": "dernière lecture", + "artist": "$t(entity.artist_one)", + "genre": "$t(entity.genre_one)", + "songCount": "$t(entity.track_other)", + "channels": "$t(common.channel_other)" + } + } +} diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json new file mode 100644 index 000000000..d830ab1ec --- /dev/null +++ b/src/i18n/locales/it.json @@ -0,0 +1,627 @@ +{ + "action": { + "editPlaylist": "modifica $t(entity.playlist_one)", + "goToPage": "vai alla pagina", + "clearQueue": "cancella la coda", + "addToFavorites": "aggiungi a $t(entity.favorite_other)", + "addToPlaylist": "aggiungi a $t(entity.playlist_one)", + "createPlaylist": "crea $t(entity.playlist_one)", + "removeFromPlaylist": "rimuovi da $t(entity.playlist_one)", + "viewPlaylists": "visualizza $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "elimina $t(entity.playlist_one)", + "removeFromQueue": "rimuovi dalla coda", + "deselectAll": "deseleziona tutto", + "setRating": "vota", + "toggleSmartPlaylistEditor": "attiva/disattiva editor $t(entity.smartPlaylist)", + "removeFromFavorites": "rimuovi da $t(entity.favorite_other)", + "moveToTop": "sposta in cima", + "moveToBottom": "sposta in fondo" + }, + "common": { + "backward": "indietro", + "areYouSure": "sei sicurə?", + "add": "aggiungi", + "ascending": "crescente", + "bitrate": "bitrate", + "action_one": "azione", + "action_many": "azioni", + "action_other": "azioni", + "biography": "biografia", + "bpm": "bpm", + "center": "centrale", + "cancel": "annulla", + "channel_one": "canale", + "channel_many": "canali", + "channel_other": "canali", + "collapse": "collassa", + "configure": "configura", + "comingSoon": "a seguire…", + "increase": "incrementa", + "rating": "voto", + "refresh": "ricarica", + "unknown": "sconosciuto", + "edit": "modifica", + "favorite": "preferito", + "left": "sinistra", + "save": "salva", + "right": "destra", + "currentSong": "$t(entity.track_one) corrente", + "trackNumber": "traccia", + "descending": "decrescente", + "gap": "gap", + "dismiss": "dimetti", + "year": "anno", + "manage": "gestisci", + "limit": "limite", + "minimize": "minimizza", + "modified": "modificato", + "duration": "durata", + "name": "nome", + "maximize": "massimizza", + "decrease": "decrementa", + "ok": "ok", + "description": "descrizione", + "path": "percorso", + "no": "no", + "owner": "proprietariə", + "enable": "abilita", + "clear": "svuota", + "forward": "successivo", + "delete": "elimina", + "forceRestartRequired": "riavvia per applicare le modifiche... chiudi la notifica per riavviare", + "setting": "impostazione", + "version": "versione", + "title": "titolo", + "filter_one": "filtro", + "filter_many": "filtri", + "filter_other": "filtri", + "filters": "filtri", + "create": "crea", + "saveAndReplace": "salva e sovrascrivi", + "playerMustBePaused": "il player deve essere messo in pausa", + "confirm": "conferma", + "resetToDefault": "ripristina ai valori di default", + "home": "home", + "reset": "ripristina", + "disable": "disabilita", + "sortOrder": "ordine", + "none": "nessuno", + "menu": "menù", + "restartRequired": "riavvio richiesto", + "previousSong": "$t(entity.track_one) precedente", + "noResultsFromQuery": "la query non ha ritornato risultati", + "quit": "esci", + "expand": "espandi", + "search": "cerca", + "saveAs": "salva come", + "disc": "disco", + "yes": "si", + "random": "casuale", + "size": "dimensione", + "note": "nota" + }, + "player": { + "repeat_all": "ripeti coda", + "stop": "ferma", + "repeat": "ripeti traccia", + "queue_remove": "rimuovi selezionati", + "playRandom": "riproduci casuale", + "skip": "salta", + "previous": "precedente", + "toggleFullscreenPlayer": "attiva/disattiva player a schermo intero", + "skip_back": "salta indietro", + "favorite": "preferito", + "next": "successivo", + "shuffle": "mescola", + "playbackFetchNoResults": "nessuna canzone trovata", + "playbackFetchInProgress": "caricamento canzoni…", + "addNext": "aggiungi successivo", + "playbackSpeed": "velocità di riproduzione", + "playbackFetchCancel": "ci sta mettendo un po'... chiudi la notifica per annullare", + "play": "riproduci", + "repeat_off": "non ripetere", + "pause": "pausa", + "queue_clear": "cancella coda", + "muted": "silenziato", + "unfavorite": "togli dai preferiti", + "queue_moveToTop": "sposta selezionati in fondo", + "queue_moveToBottom": "sposta selezionati in cima", + "shuffle_off": "non mescolare", + "addLast": "aggiungi in coda", + "mute": "silenzia", + "skip_forward": "salta avanti" + }, + "setting": { + "crossfadeStyle_description": "seleziona lo stile dissolvenza da usare per il player audio", + "remotePort_description": "imposta la porta del server di controllo remoto", + "hotkey_skipBackward": "salta a precedente", + "volumeWheelStep_description": "la quantità di volume da cambiare quando si scorre la rotellina del mouse sullo slider del volume", + "audioDevice_description": "seleziona il device audioda usare per la riproduzione (solo web player)", + "theme_description": "imposta il tema da usare per l'applicazione", + "hotkey_playbackPause": "pausa", + "mpvExecutablePath_help": "uno per linea", + "hotkey_volumeUp": "alza volume", + "skipDuration": "salta durata", + "discordIdleStatus_description": "quando è attivo, aggiorna lo stato mentre il player è inattivo", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "durata minima scrobble (percentuale)", + "lyricFetch": "ottieni testi da internet", + "scrobble": "scrobble", + "skipDuration_description": "imposta la durata da saltare quando vengono usati i pulsanti di salto nella barra del player", + "enableRemote_description": "abilita il controllo remoto del server per permettere ad altri dispositivi di controllare l'applicazione", + "fontType_optionSystem": "font di sistema", + "mpvExecutablePath_description": "imposta il percorso dell'eseguibile di mpv", + "hotkey_favoriteCurrentSong": "$t(common.currentSong) preferita", + "crossfadeStyle": "stile dissolvenza", + "sidebarConfiguration": "configurazione barra laterale", + "replayGainMode_optionNone": "$t(common.none)", + "hotkey_zoomIn": "ingrandisci layout", + "scrobble_description": "invia lo scrobble delle riproduzioni al tuo media server", + "audioExclusiveMode_description": "abilità modalità output esclusiva. In questa modalità il sistema è di solito chiuso fuori, e solo mpv potrà riprodurre audio", + "discordUpdateInterval": "intervallo aggiornamento stato attività {{discord}}", + "themeLight": "tema (chiaro)", + "fontType_optionBuiltIn": "font built-in", + "hotkey_playbackPlayPause": "riproduci / pausa", + "hotkey_rate1": "voto 1 stella", + "hotkey_skipForward": "salta a successivo", + "disableLibraryUpdateOnStartup": "disabilita il controllo di nuove versioni all'avvio", + "discordApplicationId_description": "l'application id per lo stato attività di {{discord}} ({{defaultId}} è il valore predefinito)", + "gaplessAudio": "audio gapless", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "zoom": "percentuale zoom", + "minimizeToTray_description": "riduce a icona nella barra di sistema", + "hotkey_playbackPlay": "riproduci", + "hotkey_volumeDown": "abbassa volume", + "audioPlayer_description": "seleziona il player audio da usare per la riproduzione", + "globalMediaHotkeys": "tasti media globali", + "hotkey_globalSearch": "ricerca globale", + "gaplessAudio_description": "imposta l'audio gapless per mpv", + "remoteUsername_description": "imposta l'username del server di controllo remoto. Se username e password sono vuoti, l'autenticazione sarà disattivata", + "disableAutomaticUpdates": "disabilita aggiornamenti automatici", + "exitToTray_description": "riduce a icona nella barra di sistema all'uscita", + "followLyric_description": "scorre il testo alla posizione di riproduzione corrente", + "hotkey_favoritePreviousSong": "$t(common.previousSong) preferita", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "offset testi (ms)", + "discordUpdateInterval_description": "il tempo in secondi tra ogni aggiornamento (minimo 15 secondi)", + "fontType_optionCustom": "font personalizzato", + "themeDark_description": "imposta il tema scuro da usare per l'applicazione", + "audioExclusiveMode": "modalità audio esclusiva", + "remotePassword": "password server controllo remoto", + "lyricFetchProvider": "providers da dove ottenere testi", + "language_description": "imposta la lingua dell'applicazione ($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "dissolvenza", + "hotkey_rate3": "voto 3 stelle", + "font": "font", + "mpvExtraParameters": "parametri mpv", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "imposta il tema chiaro da usare per l'applicazione", + "hotkey_toggleFullScreenPlayer": "attiva/disattiva player a schermo intero", + "hotkey_localSearch": "ricerca in-pagina", + "hotkey_toggleQueue": "attiva/disattiva coda", + "zoom_description": "imposta la percentuale zoom per l'applicazione", + "remotePassword_description": "imposta la password del server di controllo remoto. Queste credenziali sono di default trasferite in modo non sicuro, quindi dovresti usare una password unica di cui non ti importa", + "hotkey_rate5": "voto 5 stelle", + "hotkey_playbackPrevious": "traccia precedente", + "crossfadeDuration_description": "imposta la durata dell'effetto di dissolvenza", + "language": "lingua", + "playbackStyle": "stile riproduzione", + "hotkey_toggleShuffle": "attiva/disattiva mescolamento", + "theme": "tema", + "playbackStyle_description": "selezione lo stile di riproduzione da usare per il player audio", + "discordRichPresence_description": "abilita lo status del playback nello stato attività di {{discord}}. Le chiavi immagine sono: {{icon}}, {{playing}} e {{paused}} ", + "mpvExecutablePath": "percorso eseguibile mpv", + "audioDevice": "device audio", + "hotkey_rate2": "voto 2 stelle", + "playButtonBehavior_description": "imposta il comportamente di default del pulsante di riproduzione quando viene aggiunta una canzone alla coda", + "minimumScrobblePercentage_description": "la minima percentuale di una canzone che deve essere riprodutta prima di eseguire lo scrobble", + "exitToTray": "riduci a icona all'uscita", + "hotkey_rate4": "voto 4 stelle", + "enableRemote": "abilita controllo remoto server", + "savePlayQueue": "salva coda di riproduzione", + "minimumScrobbleSeconds_description": "la minima durata in secondi di una canzone che deve essere riprodutta prima di eseguire lo scrobble", + "fontType_description": "Font built-in seleziona uno dei font forniti da Feishin. Font di sistema ti permette di selezionare ogni font fornito dal tuo sistema operativo. Custom ti permette di fornire il tuo font", + "playButtonBehavior": "comportamento pulsante riproduzione", + "volumeWheelStep": "step rotellina volume", + "sidebarPlaylistList_description": "mostra o nascondi la lista delle playlist nella barra laterale", + "accentColor": "colore d'accento", + "accentColor_description": "imposta colore d'accento per l'applicazione", + "playbackStyle_optionNormal": "normale", + "windowBarStyle": "stile barra della finestra", + "floatingQueueArea": "mostra l'area di passaggio della coda fluttante", + "hotkey_toggleRepeat": "attiva/disattiva ripeti", + "lyricOffset_description": "aumenta/dimuisce l'offset del testo di una specifica quantità di millisecondi", + "sidebarConfiguration_description": "seleziona gli elementi e l'ordine in cui appaiono nella barra laterale", + "fontType": "tipo font", + "remotePort": "porta del server di controllo remoto", + "applicationHotkeys": "tasti a scelta rapida applicazione", + "hotkey_playbackNext": "traccia successiva", + "useSystemTheme_description": "segui le preferenze del tema definite dal sistema", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "ottieni testi da varie sorgenti internet", + "lyricFetchProvider_description": "seleziona i provider da dove prendere i testi. l'ordine dei provider è l'ordine in cui vengono fatte le richieste", + "globalMediaHotkeys_description": "attiva/disattiva l'uso dei tasti media globali per controllare la riproduzione", + "customFontPath": "percorso font personalizzato", + "followLyric": "segui testo corrente", + "crossfadeDuration": "durata dissolvenza", + "discordIdleStatus": "visualizza lo stato attività in stato inattivo", + "audioPlayer": "player audio", + "hotkey_zoomOut": "rimpicciolisci layout", + "hotkey_rate0": "rimuovi voto", + "discordApplicationId": "application id {{discord}}", + "applicationHotkeys_description": "configura tasti a scelta rapida dell'applicazione. attiva/disattiva la casella per impostare un tasto a scelta rapida globale (solo desktop)", + "floatingQueueArea_description": "visualizza l'icona di passaggio sul lato destro dello schermo per mostrare la coda di riproduzione", + "hotkey_volumeMute": "silenzia volume", + "remoteUsername": "username server di controllo remoto", + "sidebarPlaylistList": "lista playlist nella barra laterale", + "minimizeToTray": "riduci a icona", + "themeDark": "tema (scuro)", + "customFontPath_description": "imposta il percorso al font personalizzato da usare per l'applicazione", + "gaplessAudio_optionWeak": "debole (raccomandato)", + "minimumScrobbleSeconds": "durata minima scrobble (secondi)", + "hotkey_playbackStop": "ferma", + "windowBarStyle_description": "seleziona lo stile della barra della finestra", + "discordRichPresence": "stato attività {{discord}}", + "font_description": "imposta il font da usare per l'applicazione", + "savePlayQueue_description": "salva la coda di riproduzione quando l'applicazione viene chiusa e ripristina quando l'applicazione viene riaperta", + "useSystemTheme": "usa il tema di sistema", + "replayGainMode_description": "aggiusta il volume secondo i valori {{ReplayGain}} salvati nei metadati del file", + "showSkipButtons": "mostra pulsanti per saltare", + "sampleRate": "frequenza di campionamento", + "sampleRate_description": "seleziona la frequenza di campionamento di output da usare se la frequenza di campionamento selezionata è diversa da quella della del media attuale", + "hotkey_togglePreviousSongFavorite": "imposta/rimuovi $t(common.previousSong) favorito", + "hotkey_unfavoritePreviousSong": "rimuovi $t(common.previousSong) dai preferiti", + "showSkipButton_description": "mostra o nascondi i pulsanti per saltare nella barra del player", + "hotkey_unfavoriteCurrentSong": "rimuovi $t(common.currentSong) dai preferiti", + "hotkey_toggleCurrentSongFavorite": "imposta/rimuovi $t(common.currentSong) favorito", + "showSkipButton": "mostra pulsanti per saltare", + "hotkey_browserForward": "Vai avanti di una pagina", + "hotkey_browserBack": "Torna indietro di una pagina", + "sidebarCollapsedNavigation_description": "mostra o nascondi la navigazione nella barra laterale collassata", + "replayGainClipping_description": "Previeni il clipping causato da {{ReplayGain}} abbassando automaticamente il gain", + "replayGainPreamp": "preamplificazione {{ReplayGain}} (dB)", + "sidePlayQueueStyle": "stile della coda di riproduzione laterale", + "showSkipButtons_description": "mostra o nascondi i pulsanti per saltare dalla barra di riproduzione", + "skipPlaylistPage_description": "quando si naviga in una playlist, si va alla pagina dell'elenco dei brani della playlist invece che alla pagina predefinita", + "sidePlayQueueStyle_description": "imposta lo stile della coda di riproduzione laterale", + "replayGainMode": "modalità {{ReplayGain}}", + "replayGainFallback_description": "gain in db da applicare se il file non possiede tag {{ReplayGain}}", + "replayGainPreamp_description": "aggiusta la preamplificazione del gain applicato sui valori {{ReplayGain}}", + "skipPlaylistPage": "Salta la pagina playlist", + "sidebarCollapsedNavigation": "navigazione con barra laterale (collassata)" + }, + "error": { + "remotePortWarning": "riavvia il server per applicare la nuova porta", + "systemFontError": "si è verificato un errore nell'otternere i font di sistema", + "playbackError": "si è verificato un errore nel provare a riprodurre il media", + "endpointNotImplementedError": "l'endpoint {{endpoint}} non è implementato per {{serverType}}", + "remotePortError": "si è verificato un errore nel provare a impostare la porta del server remoto", + "serverRequired": "server richiesto", + "authenticationFailed": "autenticazione fallita", + "apiRouteError": "impossibile indirizzare la richiesta", + "genericError": "si è verificato un errore", + "credentialsRequired": "credenziali richieste", + "sessionExpiredError": "la tua sessione è scaduta", + "remoteEnableError": "si è verificato un errore nel $t(common.enable) il server remoto", + "localFontAccessDenied": "accesso non consentito ai font locali", + "serverNotSelectedError": "nessun server selezionato", + "remoteDisableError": "si è verificato un errore nel $t(common.disable) il server remoto", + "mpvRequired": "MPV richiesto", + "audioDeviceFetchError": "si è verificato un errore nel provare ad ottenre i device audio", + "invalidServer": "server non valido", + "loginRateError": "troppi tentativi di accesso, per favore riprova tra qualche secondo" + }, + "filter": { + "mostPlayed": "più riprodotti", + "comment": "commento", + "playCount": "numero di riproduzioni", + "recentlyUpdated": "aggiornati recentemente", + "channels": "$t(common.channel_other)", + "isCompilation": "è una compilation", + "recentlyPlayed": "riprodotti recentemente", + "isRated": "è valutato", + "owner": "$t(common.owner)", + "title": "titolo", + "rating": "voto", + "search": "cerca", + "bitrate": "bitrate", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "aggiunti recentemente", + "note": "nota", + "name": "nome", + "dateAdded": "data aggiunta", + "releaseDate": "data di rilascio", + "albumCount": "numero $t(entity.album_other)", + "communityRating": "voto della community", + "path": "percorso", + "favorited": "preferito", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "è stato recentemente riprodotto", + "isFavorited": "è preferito", + "bpm": "bpm", + "releaseYear": "anno di rilascio", + "id": "id", + "disc": "disco", + "biography": "biografia", + "songCount": "conteggio canzoni", + "artist": "$t(entity.artist_one)", + "duration": "durata", + "isPublic": "è pubblico", + "random": "casuale", + "lastPlayed": "ultima riproduzione", + "toYear": "fino all'anno", + "fromYear": "dall'anno", + "criticRating": "voto della critica", + "album": "$t(entity.album_one)", + "trackNumber": "traccia" + }, + "page": { + "sidebar": { + "nowPlaying": "in riproduzione", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "mostra corrispondenza testi", + "dynamicBackground": "background dinamico", + "synchronized": "sincronizzato", + "followCurrentLyric": "segui testo corrente", + "opacity": "opacità", + "lyricSize": "dimensione testo", + "showLyricProvider": "mostra provider testi", + "unsynchronized": "non sinncronizzato", + "lyricAlignment": "allineamento testo", + "useImageAspectRatio": "usa le proporzioni dell'immagine", + "lyricGap": "gap testo" + }, + "upNext": "successivamente", + "lyrics": "testi", + "related": "correlati" + }, + "appMenu": { + "selectServer": "seleziona server", + "version": "versione {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "gestisci server", + "expandSidebar": "espandi barra laterale", + "collapseSidebar": "collassa barra laterale", + "openBrowserDevtools": "apri devtools browser", + "quit": "$t(common.quit)", + "goBack": "torna indietro", + "goForward": "vai avanti" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} selezionati", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "più riprodotti", + "newlyAdded": "nuovi rilasci aggiunti", + "title": "$t(common.home)", + "explore": "esplora dalla tua libreria", + "recentlyPlayed": "riprodotti recentemente" + }, + "albumDetail": { + "moreFromArtist": "di più da questo $t(entity.artist_one)", + "moreFromGeneric": "di più da {{item}}" + }, + "setting": { + "playbackTab": "riproduzione", + "generalTab": "generale", + "hotkeysTab": "tasti a scelta rapida", + "windowTab": "finestra" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "comandi server", + "goToPage": "vai alla pagina", + "searchFor": "cerca per {{query}}" + }, + "title": "comandi" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "elimina $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) eliminata correttamente", + "input_confirm": "digita il nome della $t(entity.playlist_one) per confermare" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "crea $t(entity.playlist_one)", + "input_public": "publico", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) creata con successo", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "aggiungi server", + "input_username": "nome utente", + "input_url": "url", + "input_password": "password", + "input_legacyAuthentication": "abilita autenticazione legacy", + "input_name": "nome server", + "success": "server aggiunto con successo", + "input_savePassword": "salva password", + "ignoreSsl": "ignora ssl ($t(common.restartRequired))", + "ignoreCors": "ignora cors ($t(common.restartRequired))", + "error_savePassword": "si è verificato un errore quando si è provato a salvare la password" + }, + "addToPlaylist": { + "success": "aggiunto {{message}} $t(entity.track_other) a {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "aggiungi a $t(entity.playlist_one)", + "input_skipDuplicates": "salta duplicati", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "aggiorna server", + "success": "server aggiornato con successo" + }, + "queryEditor": { + "input_optionMatchAll": "soddisfa tutti", + "input_optionMatchAny": "soddisfa qualsiasi" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "cerca testi" + }, + "editPlaylist": { + "title": "modifica $t(entity.playlist_one)" + } + }, + "table": { + "config": { + "general": { + "displayType": "mostra tipo", + "gap": "$t(common.gap)", + "tableColumns": "tabella colonne", + "autoFitColumns": "adatta colonne automaticamente", + "size": "$t(common.size)" + }, + "view": { + "table": "tabella", + "card": "Scheda" + }, + "label": { + "releaseDate": "data rilascio", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (combinati)", + "dateAdded": "data aggiunta", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "ultima riproduzione", + "trackNumber": "numero traccia", + "rowIndex": "indice riga", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "numero riproduzioni", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "numero disco", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "comment": "commento", + "album": "album", + "rating": "voto", + "favorite": "preferito", + "playCount": "riproduzioni", + "albumCount": "$t(entity.album_other)", + "releaseYear": "anno", + "lastPlayed": "ultima riproduzione", + "biography": "biografia", + "releaseDate": "data di rilascio", + "bitrate": "bitrate", + "title": "titolo", + "bpm": "bpm", + "dateAdded": "data aggiunta", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "traccia", + "genre": "$t(entity.genre_one)", + "albumArtist": "artista album", + "path": "percorso", + "discNumber": "disco", + "channels": "$t(common.channel_other)" + } + }, + "entity": { + "genre_one": "genere", + "genre_many": "generi", + "genre_other": "generi", + "playlistWithCount_one": "{{count}} playlist", + "playlistWithCount_many": "{{count}} playlist", + "playlistWithCount_other": "{{count}} playlist", + "playlist_one": "playlist", + "playlist_many": "playlist", + "playlist_other": "playlist", + "artist_one": "artista", + "artist_many": "artisti", + "artist_other": "artisti", + "folderWithCount_one": "{{count}} cartella", + "folderWithCount_many": "{{count}} cartelle", + "folderWithCount_other": "{{count}} cartelle", + "albumArtist_one": "artista album", + "albumArtist_many": "artisti album", + "albumArtist_other": "artisti album", + "track_one": "traccia", + "track_many": "tracce", + "track_other": "tracce", + "albumArtistCount_one": "{{count}} artista album", + "albumArtistCount_many": "{{count}} artisti album", + "albumArtistCount_other": "{{count}} artisti album", + "albumWithCount_one": "{{count}} album", + "albumWithCount_many": "{{count}} album", + "albumWithCount_other": "{{count}} album", + "favorite_one": "preferito", + "favorite_many": "preferiti", + "favorite_other": "preferiti", + "artistWithCount_one": "{{count}} artista", + "artistWithCount_many": "{{count}} artisti", + "artistWithCount_other": "{{count}} artisti", + "folder_one": "cartella", + "folder_many": "cartelle", + "folder_other": "cartelle", + "smartPlaylist": "$t(entity.playlist_one) smart", + "album_one": "album", + "album_many": "album", + "album_other": "album", + "genreWithCount_one": "{{count}} genere", + "genreWithCount_many": "{{count}} generi", + "genreWithCount_other": "{{count}} generi", + "trackWithCount_one": "{{count}} traccia", + "trackWithCount_many": "{{count}} tracce", + "trackWithCount_other": "{{count}} tracce" + } +} diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json new file mode 100644 index 000000000..08e36d917 --- /dev/null +++ b/src/i18n/locales/ja.json @@ -0,0 +1,596 @@ +{ + "player": { + "repeat_all": "全曲リピート", + "stop": "停止", + "repeat": "リピート", + "queue_remove": "選択項目を削除", + "playRandom": "ランダム再生", + "skip": "スキップ", + "previous": "前へ", + "toggleFullscreenPlayer": "フルスクリーンプレーヤーの切り替え", + "skip_back": "前へスキップ", + "favorite": "お気に入り", + "next": "次へ", + "shuffle": "シャッフル", + "playbackFetchNoResults": "曲が見つかりません", + "playbackFetchInProgress": "曲を読み込み中…", + "addNext": "次へ追加", + "playbackSpeed": "再生速度", + "playbackFetchCancel": "処理に時間がかかります… 通知を閉じるとキャンセルします", + "play": "再生", + "repeat_off": "リピート無効", + "queue_clear": "キューをクリア", + "muted": "ミュート中", + "unfavorite": "お気に入り解除", + "queue_moveToTop": "選択項目を先末尾に移動", + "queue_moveToBottom": "選択項目を先頭に移動", + "shuffle_off": "シャッフル無効", + "addLast": "最後へ追加", + "mute": "ミュート", + "skip_forward": "次へスキップ", + "pause": "一時停止" + }, + "setting": { + "crossfadeStyle_description": "オーディオプレーヤーが使用するクロスフェードのスタイルを選択します", + "remotePort_description": "リモートコントロール サーバーのポートを設定します", + "hotkey_skipBackward": "前にスキップ", + "replayGainMode_description": "ファイルのメタデータに保存されている {{ReplayGain}} 値に従って音量ゲインを調整します", + "volumeWheelStep_description": "音量スライダーでマウスホイールをスクロールしたときに変化する音量を設定します", + "audioDevice_description": "再生に使用するオーディオデバイスを選択します (Webプレーヤーのみ)", + "theme_description": "アプリケーションに使用するテーマを設定します", + "hotkey_playbackPause": "一時停止", + "replayGainFallback": "{{ReplayGain}} フォールバック", + "sidebarCollapsedNavigation_description": "折りたたみサイドバーのナビゲーションを表示/非表示にします", + "mpvExecutablePath_help": "1行ごとに1アイテム", + "hotkey_volumeUp": "音量を上げる", + "skipDuration": "スキップの長さ", + "discordIdleStatus_description": "プレイヤーがアイドル状態でもステータスを更新します", + "showSkipButtons": "スキップボタンを表示", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "最小 Scrobble 時間 (%)", + "lyricFetch": "インターネットから歌詞を取得", + "scrobble": "Scrobble", + "skipDuration_description": "プレーヤーバーのスキップボタンでスキップする時間を設定します", + "enableRemote_description": "リモートコントロール サーバーを有効化し、他のデバイスからアプリケーションを制御できるようにします", + "fontType_optionSystem": "システムフォント", + "mpvExecutablePath_description": "mpvの実行ファイルが存在するパスを設定します", + "replayGainClipping_description": "自動的にゲインを下げて {{ReplayGain}} によるクリッピングを防ぎます", + "replayGainPreamp": "{{ReplayGain}} プリアンプ (dB)", + "hotkey_favoriteCurrentSong": "$t(common.currentSong) をお気に入り", + "sampleRate": "サンプルレート", + "crossfadeStyle": "クロスフェードスタイル", + "sidePlayQueueStyle_optionAttached": "結合", + "sidebarConfiguration": "サイドバー設定", + "sampleRate_description": "設定とメディアのサンプル周波数が異なる場合に使用する出力サンプルレートを選択します", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainClipping": "{{ReplayGain}} クリッピング", + "hotkey_zoomIn": "拡大", + "scrobble_description": "再生した音楽をメディアサーバーから Scrobble します", + "hotkey_browserForward": "ブラウザ 進む", + "audioExclusiveMode_description": "専用の排他出力モードを有効にします。 このモードでは、システムの他の出力がロックされ、mpvだけがオーディオを出力できるようになります", + "discordUpdateInterval": "{{discord}} Rich Presenceアップデート間隔", + "themeLight": "テーマ (ライト)", + "fontType_optionBuiltIn": "組み込みフォント", + "hotkey_playbackPlayPause": "再生 / 一時停止", + "hotkey_rate1": "1つ星で評価", + "hotkey_skipForward": "次へスキップ", + "disableLibraryUpdateOnStartup": "起動時の新バージョンチェックを無効にします", + "discordApplicationId_description": "{{discord}} にRich Presenceステータスを表示するためのアプリケーションID (デフォルトは {{defaultId}} です)", + "sidePlayQueueStyle": "サイド再生キュースタイル", + "gaplessAudio": "ギャップレス再生", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "zoom": "ズーム率", + "minimizeToTray_description": "最小化ボタンが押された際、システムトレイに格納します", + "hotkey_playbackPlay": "再生", + "hotkey_togglePreviousSongFavorite": "$t(common.previousSong) をお気に入り登録/解除", + "hotkey_volumeDown": "音量を下げる", + "hotkey_unfavoritePreviousSong": "$t(common.previousSong) をお気に入り解除", + "audioPlayer_description": "再生に使用するオーディオプレーヤーを選択します", + "globalMediaHotkeys": "グローバルメディアホットキー", + "hotkey_globalSearch": "グローバル検索", + "gaplessAudio_description": "mpv用にギャップレス再生を設定します", + "remoteUsername_description": "リモートコントロール サーバーのユーザ名を設定します。 ユーザー名とパスワードの両方が空の場合、認証は無効になります", + "disableAutomaticUpdates": "自動更新を無効化", + "exitToTray_description": "アプリケーション終了ボタンが押された際、システムトレイに格納します", + "followLyric_description": "現在の再生位置に歌詞をスクロールします", + "hotkey_favoritePreviousSong": "$t(common.previousSong) をお気に入り", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "歌詞オフセット (ミリ秒)", + "discordUpdateInterval_description": "更新間隔 (秒単位, 最小15秒)", + "fontType_optionCustom": "カスタムフォント", + "themeDark_description": "アプリケーションに使用するダークテーマを設定します", + "audioExclusiveMode": "オーディオ排他モード", + "remotePassword": "リモートコントロール サーバー パスワード", + "lyricFetchProvider": "歌詞取得先", + "language_description": "アプリケーションの言語を設定します ($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "クロスフェード", + "hotkey_rate3": "3つ星で評価", + "font": "フォント", + "mpvExtraParameters": "mpv パラメーター", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "アプリケーションに使用するライトテーマを設定します", + "hotkey_toggleFullScreenPlayer": "フルスクリーンプレーヤーの切り替え", + "hotkey_localSearch": "ページ内検索", + "hotkey_toggleQueue": "キューの切り替え", + "zoom_description": "アプリケーションのズーム率を設定します", + "remotePassword_description": "リモートコントロール サーバーのパスワードを設定します。 ログイン情報はデフォルトでセキュアな通信がされないため、個人情報と関係ないランダムなパスワードを利用してください", + "hotkey_rate5": "5つ星で評価", + "hotkey_playbackPrevious": "前のトラック", + "showSkipButtons_description": "プレーヤーバーのスキップボタンを表示/非表示にします", + "crossfadeDuration_description": "クロスフェード効果の時間を設定します", + "language": "言語", + "playbackStyle": "再生スタイル", + "hotkey_toggleShuffle": "シャッフルの切り替え", + "theme": "テーマ", + "playbackStyle_description": "オーディオプレーヤーに使用する再生スタイルを選択します", + "discordRichPresence_description": "{{discord}} のRich Presenceに再生ステータスを表示するようにします。画像キー: {{icon}}, {{playing}}, {{paused}} ", + "mpvExecutablePath": "mpv 実行ファイルパス", + "audioDevice": "オーディオデバイス", + "hotkey_rate2": "2つ星で評価", + "playButtonBehavior_description": "キューに曲を追加するときの再生ボタンのデフォルトの動作を設定します", + "minimumScrobblePercentage_description": "Scrobbleされるために必要な最短の再生時間(%)", + "exitToTray": "終了時にシステムトレイに格納", + "hotkey_rate4": "4つ星で評価", + "enableRemote": "リモートコントロール サーバーを有効化", + "showSkipButton_description": "プレーヤーバーのスキップボタンを表示/非表示にします", + "savePlayQueue": "再生キューを保存", + "minimumScrobbleSeconds_description": "Scrobbleされるために必要な最短の再生時間(秒)", + "skipPlaylistPage_description": "プレイリストに移動するときに、デフォルトページではなくプレイリストの曲リストページに移動します", + "fontType_description": "組み込みフォントの場合、Feishin が提供するフォントから1つを選択します。 システムフォントの場合、OSにインストール済みの任意のフォントを選択できます。 カスタムフォントの場合、フォントファイルを自身で選択できます", + "playButtonBehavior": "再生ボタンの動作", + "volumeWheelStep": "音量ホイールステップ", + "sidebarPlaylistList_description": "サイドバーでプレイリストのリストを表示/非表示にします", + "accentColor": "アクセントカラー", + "sidePlayQueueStyle_description": "サイド再生キューのスタイルを設定します", + "accentColor_description": "アプリケーションが利用するアクセントカラーを設定します", + "replayGainMode": "{{ReplayGain}} モード", + "playbackStyle_optionNormal": "通常", + "windowBarStyle": "ウィンドウバースタイル", + "floatingQueueArea": "フローティング再生キューエリアの表示", + "replayGainFallback_description": "ファイルに{{ReplayGain}}タグがない場合に適用するゲイン (dB単位)", + "replayGainPreamp_description": "{{ReplayGain}}の値に適用されるプリアンプゲインを調整します", + "hotkey_toggleRepeat": "リピートの切り替え", + "lyricOffset_description": "歌詞のオフセットをミリ秒単位で指定します", + "sidebarConfiguration_description": "サイドバーに表示されるアイテムと並び順を選択します", + "fontType": "フォントタイプ", + "remotePort": "リモートコントロール サーバー ポート", + "applicationHotkeys": "アプリケーションホットキー", + "hotkey_playbackNext": "次のトラック", + "useSystemTheme_description": "システム設定のライト/ダークテーマに従います", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "様々なインターネットソースから歌詞を取得します", + "lyricFetchProvider_description": "歌詞を取得するサービスを選択します。サービスの並び順に検索されます", + "globalMediaHotkeys_description": "システムのメディアホットキーでの再生コントロールを有効/無効化します", + "customFontPath": "カスタムフォントパス", + "followLyric": "歌詞を再生位置に追従", + "crossfadeDuration": "クロスフェードの長さ", + "discordIdleStatus": "アイドル状態でRich Presenceステータスを表示", + "sidePlayQueueStyle_optionDetached": "分離", + "audioPlayer": "オーディオプレーヤー", + "hotkey_zoomOut": "縮小", + "hotkey_unfavoriteCurrentSong": "$t(common.currentSong) をお気に入り解除", + "hotkey_rate0": "評価をクリア", + "discordApplicationId": "{{discord}} アプリケーション ID", + "applicationHotkeys_description": "アプリケーションのホットキーを設定します。 チェックボックスを切り替えて、グローバルホットキー(デスクトップのみ)として設定できます", + "floatingQueueArea_description": "画面右側に、再生キューをフローティング表示するためのホバーアイコンが表示されます", + "hotkey_volumeMute": "音量をミュート", + "hotkey_toggleCurrentSongFavorite": "$t(common.currentSong) をお気に入り登録/解除", + "remoteUsername": "リモートコントロール サーバー ユーザー名", + "hotkey_browserBack": "ブラウザ 戻る", + "showSkipButton": "スキップボタンを表示", + "sidebarPlaylistList": "サイドバー プレイリスト リスト", + "minimizeToTray": "最小化時にシステムトレイに格納", + "skipPlaylistPage": "プレイリストページをスキップ", + "themeDark": "テーマ (ダーク)", + "sidebarCollapsedNavigation": "サイドバー (折りたたみ) ナビゲーション", + "customFontPath_description": "アプリケーションが使用するカスタムフォントへのパスを設定します", + "gaplessAudio_optionWeak": "弱 (推奨)", + "minimumScrobbleSeconds": "最小 Scrobble 時間 (秒)", + "hotkey_playbackStop": "停止", + "windowBarStyle_description": "ウィンドウバーのスタイルを選択します", + "discordRichPresence": "{{discord}} Rich Presence ステータス表示", + "font_description": "アプリケーションに使用するフォントを設定します", + "savePlayQueue_description": "アプリケーション終了時に再生キューを保存し、アプリケーション開始時に復元します", + "useSystemTheme": "システムテーマを使用" + }, + "action": { + "editPlaylist": "$t(entity.playlist_one) を編集", + "goToPage": "ページへ移動", + "moveToTop": "先頭に移動", + "clearQueue": "キューをクリア", + "addToFavorites": "$t(entity.favorite_other) に追加", + "addToPlaylist": "$t(entity.playlist_one) に追加", + "createPlaylist": "$t(entity.playlist_one) を作成", + "removeFromPlaylist": "$t(entity.playlist_one) から削除", + "viewPlaylists": "$t(entity.playlist_other) を表示", + "refresh": "$t(common.refresh)", + "deletePlaylist": "$t(entity.playlist_one) を削除", + "removeFromQueue": "キューから削除", + "deselectAll": "すべて選択解除", + "moveToBottom": "末尾に移動", + "setRating": "評価", + "toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) エディタの切り替え", + "removeFromFavorites": "$t(entity.favorite_other) から削除" + }, + "common": { + "backward": "戻る", + "increase": "増加", + "rating": "評価", + "bpm": "BPM", + "refresh": "再読み込み", + "unknown": "不明", + "areYouSure": "実行しますか?", + "edit": "編集", + "favorite": "お気に入り", + "left": "左側", + "save": "保存", + "right": "右側", + "currentSong": "現在の $t(entity.track_one)", + "collapse": "折りたたみ", + "trackNumber": "トラック", + "descending": "降順", + "add": "追加", + "gap": "ギャップ", + "ascending": "昇順", + "dismiss": "無視", + "year": "年", + "manage": "管理", + "limit": "制限", + "minimize": "最小化", + "modified": "変更済み", + "duration": "長さ", + "name": "名前", + "maximize": "最大化", + "decrease": "減少", + "ok": "OK", + "description": "説明", + "configure": "設定", + "path": "パス", + "center": "中央", + "no": "いいえ", + "owner": "所有者", + "enable": "有効", + "clear": "クリア", + "forward": "進む", + "delete": "削除", + "cancel": "キャンセル", + "forceRestartRequired": "変更を適用するために再起動が必要です… 通知を閉じると再起動します", + "setting": "設定", + "version": "バージョン", + "title": "タイトル", + "filter_other": "フィルタ", + "filters": "フィルタ", + "create": "作成", + "bitrate": "ビットレート", + "saveAndReplace": "保存して変更", + "action_other": "アクション", + "playerMustBePaused": "プレイヤーを一時停止する必要があります", + "confirm": "確認", + "resetToDefault": "デフォルトにリセット", + "home": "ホーム", + "comingSoon": "近日利用可能になる予定です…", + "reset": "リセット", + "channel_other": "チャンネル", + "disable": "無効", + "sortOrder": "順序", + "none": "なし", + "menu": "メニュー", + "restartRequired": "再起動が必要です", + "previousSong": "前の $t(entity.track_one)", + "noResultsFromQuery": "条件にマッチするものがありません", + "quit": "終了", + "expand": "展開", + "search": "検索", + "saveAs": "名前を付けて保存", + "disc": "ディスク", + "yes": "はい", + "random": "ランダム", + "size": "サイズ", + "biography": "バイオグラフィー", + "note": "ノート" + }, + "table": { + "config": { + "view": { + "card": "カード", + "table": "テーブル", + "poster": "ポスター" + }, + "general": { + "displayType": "表示タイプ", + "gap": "$t(common.gap)", + "tableColumns": "テーブル カラム", + "autoFitColumns": "カラム長を自動調整", + "size": "$t(common.size)" + }, + "label": { + "releaseDate": "リリース日時", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (結合)", + "dateAdded": "追加された日時", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "最後に再生", + "trackNumber": "トラック番号", + "rowIndex": "行インデックス", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "再生回数", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "ディスク番号", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "comment": "コメント", + "album": "アルバム", + "rating": "評価", + "favorite": "お気に入り", + "playCount": "再生回数", + "albumCount": "$t(entity.album_other)", + "releaseYear": "年", + "lastPlayed": "最後に再生", + "biography": "バイオグラフィー", + "releaseDate": "リリース日時", + "bitrate": "ビットレート", + "title": "タイトル", + "bpm": "BPM", + "dateAdded": "追加された日時", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "トラック", + "genre": "$t(entity.genre_one)", + "albumArtist": "アルバムアーティスト", + "path": "パス", + "discNumber": "ディスク", + "channels": "$t(common.channel_other)" + } + }, + "error": { + "remotePortWarning": "新たなポート設定を適用するためサーバーを再起動してください", + "systemFontError": "システムフォントを取得する際にエラーが発生しました", + "playbackError": "メディアの再生開始時にエラーが発生しました", + "remotePortError": "リモートサーバーのポート設定時にエラーが発生しました", + "serverRequired": "サーバーが必要です", + "authenticationFailed": "認証に失敗しました", + "apiRouteError": "リクエストをルーティングできません", + "genericError": "エラーが発生しました", + "credentialsRequired": "ログイン情報が必要です", + "sessionExpiredError": "セッションの有効期限が切れました", + "remoteEnableError": "リモートサーバーを $t(common.enable) にする際にエラーが発生しました", + "localFontAccessDenied": "ローカルフォントへのアクセスが拒否されました", + "serverNotSelectedError": "サーバーが選択されていません", + "remoteDisableError": "リモートサーバーを $t(common.disable) にする際にエラーが発生しました", + "mpvRequired": "MPVが必要です", + "audioDeviceFetchError": "オーディオデバイスの取得時にエラーが発生しました", + "invalidServer": "無効なサーバー", + "loginRateError": "ログイン試行回数が多すぎます、数秒後に再試行してください", + "endpointNotImplementedError": "{{serverType}} にはエンドポイント {{endpoint}} が実装されていません" + }, + "filter": { + "mostPlayed": "最も多く再生", + "playCount": "再生回数", + "isCompilation": "コンピレーションアルバム", + "recentlyPlayed": "最近の再生", + "isRated": "評価済み", + "title": "タイトル", + "rating": "評価", + "search": "検索", + "bitrate": "ビットレート", + "recentlyAdded": "最近の追加", + "note": "ノート", + "name": "名前", + "dateAdded": "追加された日時", + "releaseDate": "リリース日時", + "communityRating": "コミュニティの評価", + "path": "パス", + "favorited": "お気に入り", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "最近再生済み", + "isFavorited": "お気に入り済み", + "bpm": "BPM", + "releaseYear": "リリース年", + "disc": "ディスク", + "biography": "バイオグラフィー", + "songCount": "曲数", + "artist": "$t(entity.artist_one)", + "duration": "長さ", + "random": "ランダム", + "lastPlayed": "最後に再生", + "toYear": "年まで", + "fromYear": "年から", + "criticRating": "批評家の評価", + "trackNumber": "トラック", + "comment": "コメント", + "recentlyUpdated": "新規更新", + "isPublic": "共有済み", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "albumCount": "$t(entity.album_other) 個", + "id": "id", + "album": "$t(entity.album_one)" + }, + "page": { + "sidebar": { + "nowPlaying": "再生中", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "歌詞のマッチを表示", + "dynamicBackground": "ダイナミック背景", + "synchronized": "同期", + "followCurrentLyric": "歌詞を再生位置に追従", + "opacity": "非透過率", + "lyricSize": "歌詞のサイズ", + "showLyricProvider": "歌詞の提供元を表示", + "unsynchronized": "非同期", + "lyricAlignment": "歌詞の位置", + "useImageAspectRatio": "画像のアスペクト比を使用する", + "lyricGap": "歌詞の間隔" + }, + "upNext": "次へ", + "lyrics": "歌詞", + "related": "関連" + }, + "appMenu": { + "selectServer": "サーバを選択", + "version": "バージョン {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "サーバーの管理", + "expandSidebar": "サイドバーを展開", + "collapseSidebar": "サイドバーを折りたたむ", + "openBrowserDevtools": "ブラウザの開発者ツールを開く", + "quit": "$t(common.quit)", + "goBack": "戻る", + "goForward": "進む" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} 個 選択", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "最も多く再生", + "newlyAdded": "新規追加リリース", + "title": "$t(common.home)", + "explore": "ライブラリから検索", + "recentlyPlayed": "最近の再生" + }, + "albumDetail": { + "moreFromArtist": "$t(entity.artist_one) の他の項目", + "moreFromGeneric": "{{item}} の他の項目" + }, + "setting": { + "playbackTab": "再生", + "generalTab": "一般", + "hotkeysTab": "ホットキー", + "windowTab": "ウィンドウ" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "サーバーコマンド", + "goToPage": "ページへ移動", + "searchFor": "{{query}} を検索" + }, + "title": "コマンド" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "$t(entity.playlist_one) を削除", + "success": "$t(entity.playlist_one) が削除されました", + "input_confirm": "確認のため $t(entity.playlist_one) の名前を入力してください" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "$t(entity.playlist_one) を作成", + "input_public": "公開", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) を作成しました", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "サーバーを追加", + "input_username": "ユーザー名", + "input_url": "URL", + "input_password": "パスワード", + "input_legacyAuthentication": "レガシー認証を有効化", + "input_name": "サーバー名", + "success": "サーバーが追加されました", + "input_savePassword": "パスワードを保存", + "ignoreSsl": "SSLを無視 ($t(common.restartRequired))", + "ignoreCors": "CORSを無視 ($t(common.restartRequired))", + "error_savePassword": "パスワードを保存する際にエラーが発生しました" + }, + "addToPlaylist": { + "success": "{{message}} $t(entity.track_other) を {{numOfPlaylists}} $t(entity.playlist_other) に追加しました", + "title": "$t(entity.playlist_one) に追加", + "input_skipDuplicates": "重複をスキップ", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "サーバーをアップデート", + "success": "サーバーがアップデートされました" + }, + "queryEditor": { + "input_optionMatchAll": "すべて一致", + "input_optionMatchAny": "一部一致" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "歌詞検索" + }, + "editPlaylist": { + "title": "$t(entity.playlist_one) を編集" + } + }, + "entity": { + "genre_other": "ジャンル", + "playlistWithCount_other": "{{count}} プレイリスト", + "playlist_other": "プレイリスト", + "artist_other": "アーティスト", + "folderWithCount_other": "{{count}} フォルダ", + "albumArtist_other": "アルバムアーティスト", + "track_other": "トラック", + "albumArtistCount_other": "{{count}} アルバムアーティスト", + "albumWithCount_other": "{{count}} アルバム", + "favorite_other": "お気に入り", + "artistWithCount_other": "{{count}} アーティスト", + "folder_other": "フォルダ", + "smartPlaylist": "スマート $t(entity.playlist_one)", + "album_other": "アルバム", + "genreWithCount_other": "{{count}} ジャンル", + "trackWithCount_other": "{{count}} トラック" + } +} diff --git a/src/i18n/locales/nb-NO.json b/src/i18n/locales/nb-NO.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/src/i18n/locales/nb-NO.json @@ -0,0 +1 @@ +{} diff --git a/src/i18n/locales/nl.json b/src/i18n/locales/nl.json new file mode 100644 index 000000000..78bdf5a60 --- /dev/null +++ b/src/i18n/locales/nl.json @@ -0,0 +1,232 @@ +{ + "action": { + "editPlaylist": "pas $t(entity.playlist_one) aan", + "goToPage": "ga naar pagina", + "moveToTop": "verplaats naar top", + "addToFavorites": "toevoegen aan $t(entity.favorite_other)", + "addToPlaylist": "toevoegen aan $t(entity.playlist_one)", + "createPlaylist": "maak $t(entity.playlist_one)", + "removeFromPlaylist": "verwijder van $t(entity.playlist_one)", + "viewPlaylists": "bekijk $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "verwijder $t(entity.playlist_one)", + "removeFromQueue": "verwijder van lijst", + "deselectAll": "deselecteer alles", + "moveToBottom": "verplaats naar bodem", + "setRating": "selecteer rating", + "toggleSmartPlaylistEditor": "editor $t(entity.smartPlaylist) schakelen", + "removeFromFavorites": "verwijder van $t(entity.favorite_other)", + "clearQueue": "lijst leegmaken" + }, + "common": { + "backward": "achteruit", + "increase": "verhogen", + "rating": "rating", + "bpm": "bpm", + "areYouSure": "weet je het zeker?", + "edit": "aanpassen", + "favorite": "favoriet", + "left": "links", + "currentSong": "huidig $t(entity.track_one)", + "collapse": "samenvouwen", + "descending": "aflopend", + "add": "toevoegen", + "gap": "gat", + "ascending": "oplopend", + "dismiss": "negeren", + "manage": "beheren", + "limit": "limiet", + "minimize": "minimaliseren", + "modified": "aangepast", + "duration": "duur", + "name": "naam", + "maximize": "maximaliseren", + "decrease": "verminder", + "ok": "ok", + "description": "beschrijving", + "configure": "configureren", + "path": "pad", + "center": "centreren", + "no": "nee", + "owner": "eigenaar", + "enable": "activeren", + "clear": "opschonen", + "forward": "vooruit", + "delete": "verwijder", + "cancel": "annuleer", + "forceRestartRequired": "herstart om aanpassingen toe te passen... wanneer de notificatie gesloten wordt zal de applicatie herstarten", + "filter_one": "filter", + "filter_other": "filters", + "filters": "filters", + "create": "aanmaken", + "bitrate": "bitrate", + "action_one": "actie", + "action_other": "acties", + "playerMustBePaused": "player moet gepauzeerd zijn", + "confirm": "bevestig", + "home": "home", + "comingSoon": "komt binnenkort…", + "channel_one": "kanaal", + "channel_other": "kanalen", + "disable": "deactiveren", + "none": "geen", + "menu": "menu", + "previousSong": "vorige $t(entity.track_one)", + "noResultsFromQuery": "de zoekopdracht leverde geen resultaten op", + "quit": "sluiten", + "expand": "vergroten", + "disc": "disk", + "random": "willekeurig", + "biography": "biografie", + "note": "Opmerking", + "refresh": "verversen", + "unknown": "onbekend", + "save": "opslaan", + "right": "rechts", + "trackNumber": "track", + "year": "jaar", + "version": "versie", + "title": "titel", + "saveAndReplace": "opslaan en vervangen", + "resetToDefault": "herstellen naar standaard", + "reset": "terugzetten", + "sortOrder": "volgorde", + "restartRequired": "herstart is nodig", + "search": "zoeken", + "saveAs": "opslaan als", + "yes": "ja", + "size": "grootte" + }, + "filter": { + "rating": "rating", + "communityRating": "community rating", + "criticRating": "criticus rating", + "mostPlayed": "meest gespeeld", + "comment": "commentaar", + "playCount": "aantal keer afgespeeld", + "recentlyUpdated": "recentelijk geüpdate", + "channels": "$t(common.channel_other)", + "isCompilation": "is compilatie", + "recentlyPlayed": "recentelijk afgespeeld", + "isRated": "is rated", + "owner": "$t(common.owner)", + "bitrate": "bitrate", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "recentelijk toegevoegd", + "note": "notitie", + "name": "naam", + "dateAdded": "datum toegevoegd", + "albumCount": "$t(entity.album_other) totaal", + "path": "pad", + "favorited": "favoriet", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "is recentelijk afgespeeld", + "isFavorited": "is favoriet", + "bpm": "bpm", + "id": "id", + "disc": "disk", + "biography": "biografie", + "artist": "$t(entity.artist_one)", + "duration": "duratie", + "isPublic": "is publiek", + "random": "willekeurig", + "lastPlayed": "laatst gespeeld", + "fromYear": "van jaar", + "album": "$t(entity.album_one)", + "title": "titel", + "search": "zoeken", + "releaseDate": "releasedatum", + "releaseYear": "release jaar", + "songCount": "aantal nummers", + "toYear": "tot jaar", + "trackNumber": "track" + }, + "page": { + "contextMenu": { + "setRating": "$t(action.setRating)" + } + }, + "error": { + "remotePortWarning": "herstart de server om de nieuwe poort in te stellen", + "systemFontError": "er is iets fout gegaan tijdens het verkrijgen van systeem fonts", + "playbackError": "er is iets fout gegaan bij het afspelen van de media", + "endpointNotImplementedError": "endpoint {{endpoint}} is niet geïmplementeerd voor {{serverType}}", + "remotePortError": "er is iets fout gegaan tijdens het selecteren van de remote server", + "serverRequired": "server vereist", + "authenticationFailed": "authenticatie mislukt", + "apiRouteError": "verzoek kan niet doorgestuurd worden", + "genericError": "er is iets fout gegaan", + "credentialsRequired": "inloggegevens vereist", + "sessionExpiredError": "jouw sessie is verlopen", + "remoteEnableError": "er is iets fout gegaan tijdens het $t(common.enable) van de remote server", + "localFontAccessDenied": "toegang geweigerd tot lokale fonts", + "serverNotSelectedError": "geen server geselecteerd", + "remoteDisableError": "er is iets fout gegaan tijdens het $t(common.disable) van de remote server", + "mpvRequired": "MPV vereist", + "audioDeviceFetchError": "er is iets mis gegaan met het ophalen van de audioapparaten", + "invalidServer": "ongeldige server", + "loginRateError": "te veel login pogingen, probeer het opnieuw in een paar seconde" + }, + "entity": { + "genre_one": "genre", + "genre_other": "genres", + "playlistWithCount_one": "{{count}} afspeellijst", + "playlistWithCount_other": "{{count}} afspeellijsten", + "playlist_one": "afspeellijst", + "playlist_other": "afspeellijsten", + "artist_one": "artiest", + "artist_other": "artiesten", + "folderWithCount_one": "{{count}} folder", + "folderWithCount_other": "{{count}} folders", + "albumArtist_one": "album artiest", + "albumArtist_other": "album artiesten", + "track_one": "track", + "track_other": "tracks", + "albumArtistCount_one": "{{count}} album artiest", + "albumArtistCount_other": "{{count}} album artiesten", + "albumWithCount_one": "{{count}} album", + "albumWithCount_other": "{{count}} albums", + "favorite_one": "favoriet", + "favorite_other": "favorieten", + "artistWithCount_one": "{{count}} artiest", + "artistWithCount_other": "{{count}} artiesten", + "folder_one": "folder", + "folder_other": "folders", + "smartPlaylist": "smart $t(entity.playlist_one)", + "album_one": "album", + "album_other": "albums", + "genreWithCount_one": "{{count}} genre", + "genreWithCount_other": "{{count}} genres", + "trackWithCount_one": "{{count}} track", + "trackWithCount_other": "{{count}} tracks" + }, + "table": { + "column": { + "rating": "rating" + }, + "config": { + "label": { + "rating": "$t(common.rating)" + } + } + }, + "setting": { + "hotkey_rate5": "rating 5 sterren", + "hotkey_rate4": "rating 4 sterren" + }, + "form": { + "addServer": { + "title": "server toevoegen", + "input_username": "gebruikersnaam", + "input_url": "url", + "input_password": "wachtwoord", + "input_legacyAuthentication": "activeer legacy authenticatie", + "input_name": "server naam", + "success": "server met succes toegevoegd", + "input_savePassword": "wachtwoord opslaan", + "ignoreSsl": "negeer ssl $t(common.restartRequired)", + "ignoreCors": "negeer cors $t(common.restartRequired)", + "error_savePassword": "er is iets mis gegaan met het opslaan van het wachtwoord" + } + } +} diff --git a/src/i18n/locales/pl.json b/src/i18n/locales/pl.json new file mode 100644 index 000000000..747ff0163 --- /dev/null +++ b/src/i18n/locales/pl.json @@ -0,0 +1,632 @@ +{ + "action": { + "editPlaylist": "edytuj $t(entity.playlist_one)", + "goToPage": "idź do strony", + "clearQueue": "wyczyść kolejkę", + "addToFavorites": "dodaj do $t(entity.favorite_other)", + "removeFromPlaylist": "usuń z $t(entity.playlist_one)", + "viewPlaylists": "zobacz $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "removeFromQueue": "usuń z kolejki", + "deselectAll": "odznacz wszystko", + "toggleSmartPlaylistEditor": "przełącz edytor $t(entity.smartPlaylist)", + "removeFromFavorites": "usuń z $t(entity.favorite_other)", + "moveToTop": "przesuń na górę", + "addToPlaylist": "dodaj do $t(entity.playlist_one)", + "createPlaylist": "utwórz $t(entity.playlist_one)", + "deletePlaylist": "usuń $t(entity.playlist_one)", + "moveToBottom": "przesuń na dół", + "setRating": "oceń" + }, + "common": { + "increase": "zwiększ", + "rating": "ocena", + "bpm": "bpm", + "refresh": "odśwież", + "unknown": "nieznany", + "areYouSure": "czy jesteś pewien?", + "edit": "edytuj", + "favorite": "ulubiony", + "save": "zapisz", + "right": "prawo", + "trackNumber": "utwór", + "descending": "malejąco", + "add": "dodaj", + "ascending": "rosnąco", + "dismiss": "anuluj", + "year": "rok", + "limit": "limit", + "minimize": "zminimalizuj", + "modified": "zmodyfikowany", + "duration": "długość", + "name": "nazwa", + "maximize": "zmaksymalizuj", + "ok": "ok", + "description": "opis", + "configure": "konfiguruj", + "no": "nie", + "owner": "właściciel", + "enable": "włącz", + "clear": "wyczyść", + "forward": "do przodu", + "delete": "usuń", + "cancel": "cofnij", + "forceRestartRequired": "zrestartuj aby zastosować zmiany... zamknij powiadomienie aby zrestartować", + "setting": "ustawienia", + "version": "wersja", + "title": "tytuł", + "filter_one": "filtr", + "filter_few": "filtry", + "filter_many": "filtrów", + "filters": "filtry", + "create": "stwórz", + "bitrate": "bitrate", + "saveAndReplace": "zapisz i zamień", + "action_one": "akcja", + "action_few": "akcje", + "action_many": "akcji", + "playerMustBePaused": "odtwarzacz musi być zapauzowany", + "confirm": "potwierdź", + "resetToDefault": "przywróć do domyślnych", + "home": "główna", + "comingSoon": "już wkrótce…", + "reset": "zresetuj", + "channel_one": "kanał", + "channel_few": "kanałów", + "channel_many": "kanałów", + "disable": "wyłącz", + "sortOrder": "kolejność", + "none": "żaden", + "menu": "menu", + "restartRequired": "wymagany restart", + "previousSong": "poprzedni $t(entity.track_one)", + "noResultsFromQuery": "kolejka zwróciła brak wyników", + "quit": "wyjdź", + "expand": "rozszerz", + "search": "szukaj", + "saveAs": "zapisz jako", + "disc": "płyta", + "yes": "tak", + "random": "losowy", + "size": "wielkość", + "biography": "biografia", + "backward": "wstecz", + "left": "lewo", + "currentSong": "obecnie $t(entity.track_one)", + "collapse": "zwiń", + "gap": "luka", + "manage": "zarządzaj", + "decrease": "obniż", + "path": "ścieżka", + "center": "środkowy", + "note": "notatka" + }, + "entity": { + "genre_one": "gatunek", + "genre_few": "gatunków", + "genre_many": "gatunków", + "artist_one": "artysta", + "artist_few": "artystów", + "artist_many": "artystów", + "albumArtist_one": "artysta albumu", + "albumArtist_few": "artysta albumów", + "albumArtist_many": "artysta albumów", + "albumWithCount_one": "{{count}} album", + "albumWithCount_few": "{{count}} albumów", + "albumWithCount_many": "{{count}} albumów", + "favorite_one": "ulubiony", + "favorite_few": "ulubione", + "favorite_many": "ulubione", + "artistWithCount_one": "{{count}} artysta", + "artistWithCount_few": "{{count}} artystów", + "artistWithCount_many": "{{count}} artystów", + "folder_one": "katalog", + "folder_few": "katalogi", + "folder_many": "katalogów", + "album_one": "album", + "album_few": "albumów", + "album_many": "albumów", + "playlistWithCount_one": "{{count}} lista odtwarzania", + "playlistWithCount_few": "{{count}} listy odtwarzania", + "playlistWithCount_many": "{{count}} list odtwarzania", + "playlist_one": "lista odtwarzania", + "playlist_few": "listy odtwarzania", + "playlist_many": "list odtwarzania", + "folderWithCount_one": "{{count}} katalog", + "folderWithCount_few": "{{count}} katalogi", + "folderWithCount_many": "{{count}} katalogów", + "track_one": "utwór", + "track_few": "utwory", + "track_many": "utworów", + "albumArtistCount_one": "{{count}} wykonawca albumu", + "albumArtistCount_few": "{{count}} wykonawców albumu", + "albumArtistCount_many": "{{count}} wykonawców albumu", + "smartPlaylist": "inteligentna $t(entity.playlist_one)", + "genreWithCount_one": "{{count}} gatunek", + "genreWithCount_few": "{{count}} gatunki", + "genreWithCount_many": "{{count}} gatunków", + "trackWithCount_one": "{{count}} utwór", + "trackWithCount_few": "{{count}} utwory", + "trackWithCount_many": "{{count}} utworów" + }, + "error": { + "remotePortWarning": "uruchom ponownie serwer aby używać nowego portu", + "systemFontError": "wystąpił błąd podczas próby pobrania czcionek systemowych", + "playbackError": "wystąpił błąd podczas próby odtwarzania mediów", + "endpointNotImplementedError": "punkt końcowy {{endpoint}} nie został zaimplementowany dla {{serverType}}", + "remotePortError": "wystąpił problem podczas ustawiania portu dla zdalnego serwera", + "serverRequired": "wymagany serwer", + "authenticationFailed": "uwierzytelnianie nie powiodło się", + "apiRouteError": "nie można wykonać żądania", + "genericError": "wystąpił błąd", + "credentialsRequired": "wymagane poświadczenia", + "sessionExpiredError": "twoja sesja wygasła", + "remoteEnableError": "wystąpił błąd podczas próby $t(common.enable) zdalnego serwera", + "localFontAccessDenied": "dostęp do lokalnych czcionek odrzucony", + "serverNotSelectedError": "nie zaznaczono serwera", + "remoteDisableError": "wystąpił błąd podczas próby $t(common.disable) zdalnego serwera", + "mpvRequired": "wymagane MPV", + "audioDeviceFetchError": "wystąpił błąd podczas próby znalezienia urządzeń dźwiękowych", + "invalidServer": "nieprawidłowy serwer", + "loginRateError": "zbyt dużo prób logowania, poczekaj chwilę i spróbuj ponownie" + }, + "filter": { + "mostPlayed": "najczęściej odtwarzane", + "playCount": "liczba odtworzeń", + "isCompilation": "jest kompilacją", + "recentlyPlayed": "ostatnio odtwarzane", + "isRated": "jest ocenione", + "title": "tytuł", + "rating": "ocena", + "search": "wyszukaj", + "bitrate": "bitrate", + "recentlyAdded": "ostatnio dodane", + "note": "notatka", + "name": "nazwa", + "dateAdded": "dodano datę", + "releaseDate": "data premiery", + "communityRating": "ocena społeczności", + "path": "ścieżka", + "favorited": "ulubione", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "było niedawno odtwarzane", + "isFavorited": "jest ulubione", + "bpm": "bpm", + "releaseYear": "rok wydania", + "disc": "płyta", + "biography": "biografia", + "songCount": "liczba utworów", + "artist": "$t(entity.artist_one)", + "duration": "długość", + "random": "losowy", + "lastPlayed": "ostatnio odtwarzane", + "toYear": "do roku", + "fromYear": "od roku", + "criticRating": "ocena krytyków", + "trackNumber": "utwór", + "comment": "komentarz", + "recentlyUpdated": "ostatnio aktualizowane", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "albumCount": "liczba $t(entity.album_other)", + "id": "id", + "isPublic": "jest publiczny", + "album": "$t(entity.album_one)" + }, + "form": { + "deletePlaylist": { + "title": "usuń $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) usunięto pomyślnie", + "input_confirm": "wpisz nazwę $t(entity.playlist_one) aby potwierdzić" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "utwórz $t(entity.playlist_one)", + "input_public": "publiczny", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) utworzono pomyślnie", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "dodaj serwer", + "input_username": "nazwa użytkownika", + "input_url": "adres", + "input_password": "hasło", + "input_legacyAuthentication": "umożliw starsze uwierzytelnianie", + "input_name": "nazwa serwera", + "success": "serwer dodany pomyślnie", + "input_savePassword": "zapisz hasło", + "ignoreSsl": "zignoruj ssl ($t(common.restartRequired))", + "ignoreCors": "zignoruj cors ($t(common.restartRequired))", + "error_savePassword": "wystąpił błąd podczas próby zapisania hasła" + }, + "addToPlaylist": { + "success": "dodano {{message}} $t(entity.track_other) do {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "dodano do $t(entity.playlist_one)", + "input_skipDuplicates": "pomiń duplikaty", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "uaktualnij serwer", + "success": "serwer zaaktualizowany pomyślnie" + }, + "queryEditor": { + "input_optionMatchAll": "dopasuj wszystkie", + "input_optionMatchAny": "dopasuj dowolne" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "wyszukiwanie tekstów" + }, + "editPlaylist": { + "title": "edytuj $t(entity.playlist_one)" + } + }, + "page": { + "fullscreenPlayer": { + "config": { + "showLyricMatch": "pokaż dopasowanie tekstu", + "dynamicBackground": "dynamiczne tło", + "synchronized": "zsynchronizowane", + "followCurrentLyric": "podążaj za aktualnym tekstem", + "opacity": "przezroczystość", + "lyricSize": "rozmiar tekstu", + "showLyricProvider": "pokaż dostawce tekstu", + "unsynchronized": "niezsynchronizowane", + "lyricAlignment": "wyrównaj tekst", + "useImageAspectRatio": "użyj współczynnika proporcji obrazu", + "lyricGap": "odstępy tekstu" + }, + "upNext": "następny", + "lyrics": "tekst", + "related": "powiązane" + }, + "appMenu": { + "selectServer": "wybierz serwer", + "version": "wersja {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "zarządzaj serwerami", + "expandSidebar": "rozwiń pasek boczny", + "collapseSidebar": "zwiń pasek boczny", + "openBrowserDevtools": "otwórz narzędzia deweloperskie przeglądarki", + "quit": "$t(common.quit)", + "goBack": "do tyłu", + "goForward": "do przodu" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "zaznaczono {{count}}", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "albumDetail": { + "moreFromArtist": "więcej od $t(entity.artist_one)", + "moreFromGeneric": "więcej od {{item}}" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + }, + "sidebar": { + "nowPlaying": "teraz odtwarzane", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "home": { + "mostPlayed": "najczęściej odtwarzane", + "newlyAdded": "niedawno dodane", + "title": "$t(common.home)", + "explore": "przeglądaj z biblioteki", + "recentlyPlayed": "ostatnio odtwarzane" + }, + "setting": { + "playbackTab": "odtworzenia", + "generalTab": "ogólne", + "hotkeysTab": "skróty klawiszowe", + "windowTab": "okno" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "komendy serwera", + "goToPage": "przejdź do strony", + "searchFor": "wyszukaj {{query}}" + }, + "title": "komendy" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + } + }, + "player": { + "repeat_all": "powtarzaj wszystkie", + "stop": "stop", + "repeat": "powtarzaj jeden", + "queue_remove": "usuń zaznaczone", + "playRandom": "odtwarzaj losowe", + "skip": "pomiń", + "previous": "poprzedni", + "toggleFullscreenPlayer": "przełącz odtwarzacz pełnoekranowy", + "skip_back": "przeskocz do tyłu", + "favorite": "ulubione", + "next": "następny", + "shuffle": "losowa kolejność", + "playbackFetchNoResults": "nie znaleziono utworów", + "playbackFetchInProgress": "wczytywanie utworów…", + "addNext": "dodaj następny", + "playbackSpeed": "prędkość odtwarzania", + "playbackFetchCancel": "to potrwa chwilę... zamknij powiadomienie aby anulować", + "play": "odtwarzaj", + "repeat_off": "powtarzanie wyłączone", + "pause": "wstrzymaj", + "queue_clear": "wyczyść kolejke", + "muted": "wyciszone", + "unfavorite": "usuń z ulubionych", + "queue_moveToTop": "przesuń zaznaczone na dół", + "queue_moveToBottom": "przesuń zaznaczone na górę", + "shuffle_off": "losowa kolejność wyłączona", + "addLast": "dodaj na końcu", + "mute": "wycisz", + "skip_forward": "przeskocz do przodu" + }, + "setting": { + "crossfadeStyle_description": "wybierz styl przenikania, który ma być używany do odtwarzania dźwięku", + "hotkey_skipBackward": "przeskocz do tyłu", + "audioDevice_description": "wybierz urządzenie dźwiękowe używane do odtwarzania (tylko odtwarzacz przeglądarkowy)", + "hotkey_playbackPause": "wstrzymaj", + "hotkey_volumeUp": "podgłoś", + "discordIdleStatus_description": "kiedy włączony, aktualizuje stan kiedy odtwarzacz jest bezczynny", + "lyricFetch": "pobierz teksty z internetu", + "enableRemote_description": "umożliwia serwerowi zdalnego sterowania zezwalanie innym urządzeniom na sterowanie aplikacją", + "fontType_optionSystem": "czcionka systemowa", + "hotkey_favoriteCurrentSong": "ulubiona $t(common.currentSong)", + "crossfadeStyle": "styl przenikania", + "hotkey_zoomIn": "przybliż", + "hotkey_browserForward": "przeglądarka w przód", + "audioExclusiveMode_description": "włącz wyłączny tryb wyjścia. W tym trybie, system zwykle jest zablokowany i może odtwarzać tylko poprzez mpv", + "discordUpdateInterval": "{{discord}} interwał aktualizacji obszernej obecności", + "fontType_optionBuiltIn": "wbudowana czcionka", + "hotkey_playbackPlayPause": "odtwarzaj / wstrzymaj", + "hotkey_rate1": "oceń na 1 gwiazdkę", + "hotkey_skipForward": "przeskocz do przodu", + "disableLibraryUpdateOnStartup": "wyłącz wyszukiwanie aktualizacji podczas uruchamiania aplikacji", + "discordApplicationId_description": "id dla aplikacji {{discord}} obszernie obecne (domyślnie {{defaultId}})", + "gaplessAudio": "dźwięk bez przerw", + "hotkey_playbackPlay": "odtwarzaj", + "hotkey_togglePreviousSongFavorite": "dodaj $t(common.previousSong) do ulubionych", + "hotkey_volumeDown": "przycisz", + "hotkey_unfavoritePreviousSong": "usuń $t(common.previousSong) z ulubionych", + "audioPlayer_description": "wybierz odtwarzacz dźwięku który ma być używany do odtwarzania", + "globalMediaHotkeys": "globalne skróty klawiszowe multimediów", + "hotkey_globalSearch": "globalne wyszukiwanie", + "gaplessAudio_description": "ustaw dźwięk bez przerw dla mpv", + "disableAutomaticUpdates": "wyłącz automatyczne aktualizacje", + "exitToTray_description": "zamknij aplikację do zasobnika systemowego", + "followLyric_description": "przewiń tekst do obecnego momentu", + "hotkey_favoritePreviousSong": "ulubiona $t(common.previousSong)", + "lyricOffset": "opóźnienie tekstu (ms)", + "discordUpdateInterval_description": "czas w sekundach pomiędzy każdą aktualizacją (minimalnie 15 sekund)", + "fontType_optionCustom": "czcionka niestandardowa", + "audioExclusiveMode": "wyłączny tryb audio", + "lyricFetchProvider": "dostawcy tekstów internetowych", + "language_description": "ustaw język dla aplikacji ($t(common.restartRequired))", + "hotkey_rate3": "oceń na 3 gwiazdki", + "font": "czcionka", + "hotkey_toggleFullScreenPlayer": "przełącz tryb pełnoekranowy", + "hotkey_localSearch": "wyszukiwanie na stronie", + "hotkey_toggleQueue": "przełącz kolejkę", + "hotkey_rate5": "oceń na 5 gwiazdek", + "hotkey_playbackPrevious": "poprzedni utwór", + "crossfadeDuration_description": "ustaw czas trwania efektu przenikania", + "language": "język", + "hotkey_toggleShuffle": "przełącz kolejność losową", + "discordRichPresence_description": "włącz status odtwarzania w {{discord}} obszernie obecny. Klucze obrazów to {{icon}}, {{playing}} i {{paused}}. ", + "audioDevice": "urządzenia dźwiękowe", + "hotkey_rate2": "oceń na 2 gwiazdki", + "exitToTray": "zamknij do zasobnika", + "hotkey_rate4": "oceń na 4 gwiazdki", + "enableRemote": "włącz zdalną kontrolę serwera", + "fontType_description": "wbudowana czcionka pozwala na wybranie czcionki dostarczonej z Feishin. systemowa czcionka pozwala na wybranie czcionki dostarczonej przez system operacyjny. niestandardowa czcionka pozwala na wybranie własnej czcionki", + "accentColor": "kolor akcentujący", + "accentColor_description": "ustaw kolor akcentujący dla aplikacji", + "floatingQueueArea": "pokaż pływającą kolejkę podczas najechania kursorem", + "hotkey_toggleRepeat": "przełącz powtarzanie", + "lyricOffset_description": "opóźnienie tekstu przez podaną liczbę milisekund", + "fontType": "typ czcionki", + "applicationHotkeys": "skróty klawiszowe aplikacji", + "hotkey_playbackNext": "następny utwór", + "lyricFetch_description": "pobierz teksty z rozmaitych źródeł internetowych", + "lyricFetchProvider_description": "wybierz dostawców internetowych dla tekstów. zapytania będą wykonywane według podanej kolejności", + "globalMediaHotkeys_description": "włącz lub wyłącz używanie systemowych skrótów klawiszowych do kontroli odtwarzania", + "customFontPath": "niestandardowa ścieżka czcionki", + "followLyric": "podążaj za tekstem", + "crossfadeDuration": "czas trwania przenikania", + "discordIdleStatus": "pokaż obszerne informacje w stanie bezczynności", + "audioPlayer": "odtwarzacz dźwięku", + "hotkey_zoomOut": "oddal", + "hotkey_unfavoriteCurrentSong": "usuń $t(common.currentSong) z ulubionych", + "hotkey_rate0": "wyczyść oceny", + "discordApplicationId": "id aplikacji {{discord}}", + "applicationHotkeys_description": "ustaw skróty klawiszowe aplikacji. przełącz pole wyboru aby ustawić skrót globalny (tylko komputery)", + "floatingQueueArea_description": "wyświetl ikonę najechania kursorem po prawej stronie ekranu, aby wyświetlić kolejkę odtwarzania", + "hotkey_volumeMute": "wycisz", + "hotkey_toggleCurrentSongFavorite": "dodaj $t(common.currentSong) do ulubionych", + "hotkey_browserBack": "przeglądarka wstecz", + "minimizeToTray": "zminimalizuj do zasobnika", + "customFontPath_description": "ustaw ścieżkę dla niestandardowych czcionek dla aplikacji", + "gaplessAudio_optionWeak": "słabe (rekomendowane)", + "hotkey_playbackStop": "zatrzymaj", + "discordRichPresence": "{{discord}} obszernie obecny", + "font_description": "ustaw czcionkę dla aplikacji", + "mpvExecutablePath_help": "jedna na linnię", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "minimalny czas trwania scrobble (procentowy)", + "mpvExecutablePath_description": "ustaw ścieżkę dla plików wykonywalnych mpv", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "minimizeToTray_description": "zminimalizuj aplikację do zasobnika systemowego", + "remotePassword": "hasło dla serwera zdalnej kontroli", + "playbackStyle_optionCrossFade": "przenikanie", + "mpvExtraParameters": "parametry mpv", + "playbackStyle": "styl odtwarzania", + "playbackStyle_description": "wybierz styl odtwarzania dla odtwarzacza dźwięku", + "mpvExecutablePath": "ścieżka pliku wykonywalnego mpv", + "playButtonBehavior_description": "ustaw domyślne zachowanie dla przycisku odtwarzania kiedy piosenka zostanie dodana do kolejki", + "minimumScrobblePercentage_description": "minimalny czas odtwarzania piosenki który musi upłynąć aby uznać ją za scrobble", + "minimumScrobbleSeconds_description": "minimalny czas odtwarzania piosenki w sekundach jaki musi upłynąć aby uznać ją za scrobbling", + "playButtonBehavior": "zachowanie przycisku odtwarzania", + "playbackStyle_optionNormal": "normalny", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "minimumScrobbleSeconds": "minimalne scrobble (w sekundach)", + "remotePort_description": "ustaw port dla serwera zdalnej kontroli", + "replayGainMode_description": "dostosuj wzmocnienie dźwięku zgodnie z wartościami {{ReplayGain}} przechowywanymi w metadanych do pliku", + "replayGainFallback": "rezerwowy {{ReplayGain}}", + "sidebarCollapsedNavigation_description": "pokaż lub ukryj nawigację na zwiniętym pasku bocznym", + "skipDuration": "czas trwania pominięcia", + "showSkipButtons": "pokaż przyciski pomijania", + "scrobble": "scrobbling", + "skipDuration_description": "ustaw czas pominięcia kiedy zostanie użyty przycisk pominięcia na pasku odtwarzania", + "replayGainClipping_description": "Zapobiegaj wzmocnieniu spowodowanemu przez {{ReplayGain}} na automatyczne obniżanie wzmocnienia", + "replayGainPreamp": "przedwzmacniacz {{ReplayGain}} (db)", + "sampleRate": "częstotliwość próbkowania", + "sidePlayQueueStyle_optionAttached": "przyłączony", + "sidebarConfiguration": "konfiguracja paska bocznego", + "sampleRate_description": "wybierz wyjściową częstotliwość próbkowania, która ma być używana, jeśli wybrana częstotliwość próbkowania różni się od częstotliwości bieżącego utworu", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainClipping": "wzmocnienie {{ReplayGain}}", + "scrobble_description": "odtwarzanie scrobble na serwerze multimediów", + "sidePlayQueueStyle": "boczny styl kolejki odtwarzania", + "remoteUsername_description": "ustaw nazwę użytkownika dla serwera zdalnej kontroli. Jeśli nazwa użytkownika i hasło są puste, autoryzacja będzie wyłączona", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "remotePassword_description": "ustawia hasło dla serwera zdalnego sterowania. Te poświadczenia są domyślnie przesyłane w sposób niezabezpieczony, dlatego należy użyć unikalnego hasła na którym ci nie zależy", + "showSkipButtons_description": "pokaż lub ukryj przyciski pomijania na pasku odtwarzacza", + "showSkipButton_description": "pokaż lub ukryj przyciski pomijania na pasku odtwarzacza", + "savePlayQueue": "zapisz kolejkę odtwarzania", + "sidebarPlaylistList_description": "pokaż lub ukryj listę odtwarzania na pasku bocznym", + "sidePlayQueueStyle_description": "ustaw boczny styl kolejki odtwarzania", + "replayGainMode": "tryb {{ReplayGain}}", + "replayGainFallback_description": "wzmocnienie w db do użycia w przypadku kiedy plik nie ma tagu {{ReplayGain}}", + "replayGainPreamp_description": "dostosuj wzmocnienie przedwzmacniacza zastosowane do wartości {{ReplayGain}}", + "sidebarConfiguration_description": "wybierz pozycje i ustaw je w kolejności w jakiej mają się pokazywać na pasku bocznym", + "remotePort": "port dla serwera zdalnej kontroli", + "sidePlayQueueStyle_optionDetached": "odłączony", + "remoteUsername": "nazwa użytkownika serwera zdalnej kontroli", + "showSkipButton": "pokaż przyciski pomijania", + "sidebarPlaylistList": "lista odtwarzania na pasku bocznym", + "sidebarCollapsedNavigation": "nawigacja na pasku bocznym (zwinięta)", + "savePlayQueue_description": "zapisz kolejkę odtwarzania kiedy aplikacja jest zamykana i wznów ją kiedy aplikacja jest otwierana", + "volumeWheelStep_description": "wartość zmiany glośności w czasie używania pokrętła myszy na pasku głośności", + "theme_description": "ustaw motyw dla aplikacji", + "themeLight": "motyw (jasny)", + "zoom": "procentowe przybliżenie", + "themeDark_description": "ustaw ciemny motyw do używania w aplikacji", + "themeLight_description": "ustaw jasny motyw do używania w aplikacji", + "zoom_description": "ustaw procentowe przybliżenie dla aplikacji", + "theme": "motyw", + "skipPlaylistPage_description": "przechodząc do listy odtwarzania, przejdź do strony listy odtwarzania zamiast do strony domyślnej", + "volumeWheelStep": "krok pokrętła głośności", + "windowBarStyle": "styl paska okna", + "useSystemTheme_description": "podążaj za systemem z ustawieniami jasnego lub ciemnego motywu", + "skipPlaylistPage": "pomiń stronę list odtwarzania", + "themeDark": "motyw (ciemny)", + "windowBarStyle_description": "wybierz styl paska okna", + "useSystemTheme": "użyj motywu systemowego" + }, + "table": { + "config": { + "view": { + "card": "karta", + "table": "tabela", + "poster": "plakat" + }, + "general": { + "displayType": "typ wyświetlania", + "gap": "$t(common.gap)", + "tableColumns": "kolumny tabeli", + "autoFitColumns": "automatyczne dopasowanie kolumn", + "size": "$t(common.size)" + }, + "label": { + "releaseDate": "data premiery", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (połączony)", + "dateAdded": "data dodania", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "ostatnio odtwarzane", + "trackNumber": "numer utworu", + "rowIndex": "indeks wiersza", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "liczba odtworzeń", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "numer płyty", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "comment": "komentarz", + "album": "album", + "rating": "ocena", + "favorite": "ulubione", + "playCount": "odtwarzane", + "albumCount": "$t(entity.album_other)", + "releaseYear": "rok", + "lastPlayed": "ostatnio odtwarzane", + "biography": "biografia", + "releaseDate": "data premiery", + "bitrate": "bitrate", + "title": "tytuł", + "bpm": "bpm", + "dateAdded": "data dodania", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "utwór", + "genre": "$t(entity.genre_one)", + "albumArtist": "artysta albumu", + "path": "ścieżka", + "discNumber": "płyta", + "channels": "$t(common.channel_other)" + } + } +} diff --git a/src/i18n/locales/pt-BR.json b/src/i18n/locales/pt-BR.json new file mode 100644 index 000000000..56446a481 --- /dev/null +++ b/src/i18n/locales/pt-BR.json @@ -0,0 +1,246 @@ +{ + "common": { + "backward": "voltar", + "areYouSure": "tem certeza?", + "add": "adicionar", + "ascending": "ascendente", + "center": "centro", + "cancel": "cancelar", + "bitrate": "taxa de bits", + "action_one": "ação", + "action_many": "ações", + "action_other": "ações", + "biography": "biografia", + "bpm": "bpm", + "edit": "editar", + "favorite": "favorito", + "currentSong": "$t(entity.track_one) atual", + "descending": "abaixar", + "dismiss": "liberar", + "duration": "duração", + "decrease": "diminuir", + "description": "descrição", + "configure": "configurar", + "enable": "habilitar", + "clear": "limpar", + "delete": "deletar", + "title": "titulo", + "create": "criar", + "confirm": "confirmar", + "home": "inicio", + "comingSoon": "em breve…", + "channel_one": "canal", + "channel_many": "canais", + "channel_other": "canais", + "disable": "desabilitar", + "expand": "expandir", + "disc": "disco", + "increase": "incrementar", + "rating": "classificação", + "refresh": "atualizar", + "unknown": "desconhecido", + "left": "esquerda", + "save": "salvar", + "right": "direita", + "collapse": "minimizar", + "trackNumber": "faixa", + "gap": "intervalo", + "year": "ano", + "manage": "gerenciar", + "limit": "limite", + "minimize": "minimizar", + "modified": "modificado", + "name": "nome", + "maximize": "maximizar", + "ok": "ok", + "path": "caminho", + "no": "não", + "owner": "dono", + "forward": "avançar", + "forceRestartRequired": "reinicie para aplicar as alterações… feche a notificação para reiniciar", + "setting": "contexto", + "version": "versão", + "filter_one": "filtro", + "filter_many": "filtros", + "filter_other": "filtros", + "filters": "filtros", + "saveAndReplace": "salvar e substituir", + "playerMustBePaused": "o player deve estar pausado", + "resetToDefault": "restaurar ao padrão", + "reset": "reiniciar", + "sortOrder": "ordem", + "none": "nenhum", + "menu": "menu", + "restartRequired": "é necessário reiniciar", + "previousSong": "anterior $t(entity.track_one)", + "noResultsFromQuery": "a consulta não retornou resultados", + "quit": "abandonar", + "search": "procurar", + "saveAs": "salvar como", + "yes": "sim", + "random": "aleatório", + "size": "tamanho", + "note": "observação" + }, + "action": { + "goToPage": "vá para página", + "addToFavorites": "adicionar em $t(entity.favorite_other)", + "viewPlaylists": "ver $t(entity.playlist_other)", + "setRating": "definir classificação", + "moveToTop": "mover para o topo", + "refresh": "$t(common.refresh)", + "removeFromQueue": "remover da fila", + "moveToBottom": "mover para baixo", + "editPlaylist": "editar $t(entity.playlist_one)", + "clearQueue": "limpar fila", + "addToPlaylist": "adicionar à $t(entity.playlist_one)", + "createPlaylist": "criar $t(entity.playlist_one)", + "removeFromPlaylist": "remover da $t(entity.playlist_one)", + "deletePlaylist": "deletar $t(entity.playlist_one)", + "deselectAll": "desmarcar todos", + "removeFromFavorites": "remover de $t(entity.favorite_other)" + }, + "form": { + "deletePlaylist": { + "title": "deletar $t(entity.playlist_one)" + }, + "addServer": { + "title": "adicionar servidor" + }, + "createPlaylist": { + "title": "criar $t(entity.playlist_one)" + }, + "updateServer": { + "title": "atualizar servidor" + }, + "editPlaylist": { + "title": "editar $t(entity.playlist_one)" + }, + "addToPlaylist": { + "title": "adicionar à $t(entity.playlist_one)" + }, + "lyricSearch": { + "title": "pesquisa de letras" + } + }, + "setting": { + "discordIdleStatus_description": "quando ativado, atualiza o status enquanto o player está ocioso", + "discordUpdateInterval_description": "o tempo em segundos entre cada atualização (mínimo 15 segundos)", + "playButtonBehavior_description": "define o comportamento padrão do botão play ao adicionar músicas à fila", + "discordApplicationId": "{{discord}} ID do aplicativo" + }, + "table": { + "config": { + "label": { + "title": "$t(common.title)", + "titleCombined": "$t(common.title) (combinado)", + "discNumber": "numero do disco" + } + }, + "column": { + "title": "titulo", + "discNumber": "disco" + } + }, + "page": { + "home": { + "mostPlayed": "mais tocado", + "newlyAdded": "lançamentos recém-adicionados", + "title": "$t(common.home)", + "explore": "explore a sua biblioteca", + "recentlyPlayed": "tocado recentemente" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "title": "comandos" + }, + "sidebar": { + "home": "$t(common.home)" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "filter": { + "title": "titulo", + "disc": "disco", + "mostPlayed": "mais tocado" + }, + "player": { + "playbackFetchNoResults": "nenhuma música encontrada", + "playbackFetchInProgress": "carregando músicas…" + }, + "entity": { + "albumArtist_one": "artista do álbum", + "albumArtist_many": "artistas do álbum", + "albumArtist_other": "artistas do álbum", + "albumArtistCount_one": "{{count}} artista do álbum", + "albumArtistCount_many": "{{count}} artistas do álbum", + "albumArtistCount_other": "{{count}} artistas do álbum", + "album_one": "álbum", + "album_many": "álbuns", + "album_other": "álbuns", + "artist_one": "artista", + "artist_many": "artistas", + "artist_other": "artistas", + "albumWithCount_one": "{{count}} álbum", + "albumWithCount_many": "{{count}} álbuns", + "albumWithCount_other": "{{count}} álbuns", + "favorite_one": "favorito", + "favorite_many": "favoritos", + "favorite_other": "favoritos", + "artistWithCount_one": "{{count}} artista", + "artistWithCount_many": "{{count}} artistas", + "artistWithCount_other": "{{count}} artistas", + "folder_one": "pasta", + "folder_many": "pastas", + "folder_other": "pastas", + "genre_one": "gênero", + "genre_many": "gêneros", + "genre_other": "gêneros", + "playlistWithCount_one": "{{count}} playlist", + "playlistWithCount_many": "{{count}} playlists", + "playlistWithCount_other": "{{count}} playlists", + "playlist_one": "playlist", + "playlist_many": "playlists", + "playlist_other": "playlists", + "folderWithCount_one": "{{count}} pasta", + "folderWithCount_many": "{{count}} pastas", + "folderWithCount_other": "{{count}} pastas", + "genreWithCount_one": "{{count}} gênero", + "genreWithCount_many": "{{count}} gêneros", + "genreWithCount_other": "{{count}} gêneros" + }, + "error": { + "remotePortWarning": "reinicie o servidor para aplicar a nova porta", + "systemFontError": "ocorreu um erro ao tentar obter fontes do sistema", + "playbackError": "ocorreu um erro ao tentar reproduzir a mídia", + "endpointNotImplementedError": "endpoint {{endpoint}} não está implementado para {{serverType}}", + "remotePortError": "ocorreu um erro ao tentar definir a porta do servidor remoto", + "serverRequired": "servidor necessário", + "authenticationFailed": "falha na autenticação", + "apiRouteError": "não é possível encaminhar a solicitação", + "genericError": "um erro ocorreu", + "credentialsRequired": "credenciais necessárias", + "sessionExpiredError": "sua sessão expirou", + "remoteEnableError": "ocorreu um erro ao tentar $t(common.enable) o servidor remoto", + "localFontAccessDenied": "acesso negado a fontes locais", + "serverNotSelectedError": "nenhum servidor selecionado", + "remoteDisableError": "ocorreu um erro ao tentar $t(common.disable) o servidor remoto", + "mpvRequired": "MPV necessário", + "audioDeviceFetchError": "ocorreu um erro ao tentar obter dispositivos de áudio", + "invalidServer": "servidor inválido", + "loginRateError": "muitas tentativas de login, tente novamente em alguns segundos" + } +} diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json new file mode 100644 index 000000000..5c008ee72 --- /dev/null +++ b/src/i18n/locales/ru.json @@ -0,0 +1,488 @@ +{ + "action": { + "editPlaylist": "редактировать $t(entity.playlist_one)", + "goToPage": "перейти на страницу", + "moveToTop": "вверх", + "clearQueue": "очистить очередь", + "addToFavorites": "добавить в $t(entity.favorite_other)", + "addToPlaylist": "добавить в $t(entity.playlist_one)", + "createPlaylist": "создать $t(entity.playlist_one)", + "removeFromPlaylist": "удалить из $t(entity.playlist_one)", + "viewPlaylists": "просмотреть $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "удалить $t(entity.playlist_one)", + "removeFromQueue": "удалить из очереди", + "deselectAll": "снять выделение", + "moveToBottom": "вниз", + "setRating": "оценить", + "toggleSmartPlaylistEditor": "вкл/выкл $t(entity.smartPlaylist) редактор", + "removeFromFavorites": "удалить из $t(entity.favorite_other)" + }, + "common": { + "backward": "назад", + "increase": "увеличить", + "rating": "рейтинг", + "bpm": "ударов в мин.", + "refresh": "обновить", + "unknown": "неизвестно", + "areYouSure": "вы уверены?", + "edit": "изменить", + "favorite": "любимый", + "left": "лево", + "save": "сохранить", + "right": "право", + "currentSong": "текущий $t(entity.track_one)", + "collapse": "закрыть", + "trackNumber": "трек", + "descending": "убывающий", + "add": "добавить", + "gap": "промежуток", + "ascending": "возрастающий", + "dismiss": "отклонить", + "year": "год", + "manage": "управлять", + "limit": "лимит", + "minimize": "минимизировать", + "modified": "изменено", + "duration": "продолжительность", + "name": "имя", + "maximize": "максимизировать", + "decrease": "уменьшить", + "ok": "ок", + "description": "описание", + "configure": "настроить", + "path": "путь", + "center": "центр", + "no": "нет", + "owner": "владелец", + "enable": "включить", + "clear": "очистить", + "forward": "вперёд", + "delete": "удалить", + "cancel": "отменить", + "forceRestartRequired": "перезапустите приложение, чтобы применить изменения... закройте уведомление, чтобы перезапустить приложение", + "setting": "настройка", + "version": "версия", + "title": "название", + "filter_one": "фильтр", + "filter_few": "фильтра", + "filter_many": "фильтров", + "filters": "фильтры", + "create": "создать", + "bitrate": "битрейт", + "saveAndReplace": "сохранить и заменить", + "action_one": "действие", + "action_few": "действия", + "action_many": "действий", + "playerMustBePaused": "воспроизведение должно быть остановлено", + "confirm": "подтвердить", + "resetToDefault": "сбросить к настройкам по умолчанию", + "home": "Главная страница", + "comingSoon": "скоро будет…", + "reset": "сбросить", + "channel_one": "канал", + "channel_few": "канала", + "channel_many": "каналов", + "disable": "выключить", + "sortOrder": "порядок", + "menu": "меню", + "restartRequired": "необходим перезапуск приложения", + "previousSong": "предыдущий $t(entity.track_one)", + "noResultsFromQuery": "нет результатов", + "quit": "выйти", + "expand": "расширить", + "search": "Поиск", + "saveAs": "сохранить как", + "disc": "диск", + "yes": "да", + "random": "случайный", + "size": "размер", + "biography": "биография", + "note": "заметка", + "none": "нет" + }, + "entity": { + "album_one": "альбом", + "album_few": "альбома", + "album_many": "альбомов", + "genre_one": "жанр", + "genre_few": "жанра", + "genre_many": "жанров", + "playlistWithCount_one": "{{count}} плейлист", + "playlistWithCount_few": "{{count}} плейлиста", + "playlistWithCount_many": "{{count}} плейлистов", + "playlist_one": "плейлист", + "playlist_few": "плейлиста", + "playlist_many": "плейлистов", + "artist_one": "автор", + "artist_few": "автора", + "artist_many": "авторов", + "folderWithCount_one": "{{count}} папка", + "folderWithCount_few": "{{count}} папки", + "folderWithCount_many": "{{count}} папок", + "albumArtist_one": "автор альбома", + "albumArtist_few": "автора альбома", + "albumArtist_many": "авторов альбома", + "track_one": "трек", + "track_few": "трека", + "track_many": "треков", + "albumArtistCount_one": "{{count}} автор альбома", + "albumArtistCount_few": "{{count}} автора альбома", + "albumArtistCount_many": "{{count}} авторов альбома", + "albumWithCount_one": "{{count}} альбом", + "albumWithCount_few": "{{count}} альбома", + "albumWithCount_many": "{{count}} альбомов", + "favorite_one": "любимый", + "favorite_few": "любимых", + "favorite_many": "любимые", + "artistWithCount_one": "{{count}} автор", + "artistWithCount_few": "{{count}} автора", + "artistWithCount_many": "{{count}} авторов", + "folder_one": "папка", + "folder_few": "папки", + "folder_many": "папок", + "smartPlaylist": "умный $t(entity.playlist_one)", + "genreWithCount_one": "{{count}} жанр", + "genreWithCount_few": "{{count}} жанра", + "genreWithCount_many": "{{count}} жанров", + "trackWithCount_one": "{{count}} трек", + "trackWithCount_few": "{{count}} трека", + "trackWithCount_many": "{{count}} треков" + }, + "table": { + "config": { + "view": { + "card": "карта", + "table": "таблица", + "poster": "постер" + }, + "general": { + "displayType": "тип отображения", + "gap": "$t(common.gap)", + "tableColumns": "столбцы таблицы", + "autoFitColumns": "автоматически расставить столбцы", + "size": "$t(common.size)" + }, + "label": { + "releaseDate": "дата выхода", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (комбинированный)", + "dateAdded": "дата добавления", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "последний", + "trackNumber": "номер трека", + "rowIndex": "индекс ряда", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "количество воспроизведений", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "номер диска", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "rating": "рейтинг", + "favorite": "любимый", + "playCount": "воспроизведений", + "releaseYear": "год", + "lastPlayed": "последний", + "releaseDate": "дата выхода", + "title": "название", + "songCount": "$t(entity.track_other)", + "trackNumber": "трек", + "genre": "$t(entity.genre_one)", + "path": "путь", + "discNumber": "диск" + } + }, + "error": { + "remotePortWarning": "перезапустить сервер для применения нового порта", + "systemFontError": "произошла ошибка при попытке получить системные шрифты", + "playbackError": "произошла ошибка при попытке проиграть медиа", + "endpointNotImplementedError": "запрос {{endpoint}} is not implemented for {{serverType}}", + "remotePortError": "произошла ошибка при попытке установить порт удаленного сервера", + "serverRequired": "необходим сервер", + "authenticationFailed": "аутентификация завершилась с ошибкой", + "apiRouteError": "невозможно выполнить запрос", + "genericError": "произошла ошибка", + "credentialsRequired": "необходимы учётные данные", + "sessionExpiredError": "ваш сеанс истек", + "remoteEnableError": "ошибка произошла при попытке $t(common.enable) удаленного сервера", + "localFontAccessDenied": "не получилось получить доступ к шрифтам", + "serverNotSelectedError": "не выбран сервер", + "remoteDisableError": "ошибка произошла при попытке $t(common.disable) удаленного сервера", + "mpvRequired": "Необходим MPV", + "audioDeviceFetchError": "произошла ошибка с аудиоустройством", + "invalidServer": "недействительный сервер", + "loginRateError": "слишком много попыток входа, пожалуйста, попробуйте еще раз через несколько секунд" + }, + "filter": { + "isCompilation": "сборник", + "isRated": "оценён", + "bitrate": "битрейт", + "dateAdded": "дата добавления", + "communityRating": "рейтинг сообщества", + "favorited": "любимый", + "albumArtist": "$t(entity.albumArtist_one)", + "isFavorited": "любимый", + "bpm": "ударов в мин.", + "disc": "диск", + "biography": "биография", + "artist": "$t(entity.artist_one)", + "duration": "продолжительность", + "fromYear": "из года", + "criticRating": "рейтинг критиков", + "mostPlayed": "наибольшое кол-во воспроизведений", + "comment": "комментировать", + "playCount": "кол-во воспроизведений", + "recentlyUpdated": "недавно обновлено", + "channels": "$t(common.channel_other)", + "recentlyPlayed": "недавно проиграно", + "owner": "$t(common.owner)", + "title": "название", + "rating": "рейтинг", + "search": "Поиск", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "недавно добавлено", + "note": "заметка", + "name": "название", + "releaseDate": "дата выхода", + "albumCount": "$t(entity.album_other) кол-во", + "path": "путь", + "isRecentlyPlayed": "недавно проигрывалась", + "releaseYear": "год выхода", + "id": "#", + "songCount": "кол-во песен", + "isPublic": "публичный", + "random": "случайный", + "lastPlayed": "последний раз проигрывалась", + "toYear": "до года", + "album": "$t(entity.album_one)", + "trackNumber": "трек" + }, + "player": { + "repeat_all": "повтор всех", + "stop": "остановить", + "repeat": "повтор", + "queue_remove": "удалить выделенные", + "playRandom": "случайные песни", + "skip": "пропустить", + "previous": "предыдущий", + "toggleFullscreenPlayer": "включить полноэкранный режим", + "skip_back": "назад", + "favorite": "любимый", + "next": "следующее", + "shuffle": "перемешать", + "playbackFetchNoResults": "нет песен", + "playbackFetchInProgress": "загрузка песен..", + "addNext": "добавить следующий", + "playbackSpeed": "скорость воспроизведения", + "playbackFetchCancel": "это занимает некоторое время... закрыть уведомление для отмены", + "play": "прослушать", + "repeat_off": "повтор выключен", + "pause": "пауза", + "queue_clear": "очистить очередь", + "muted": "звук отключён", + "unfavorite": "убрать из любимых", + "queue_moveToTop": "переместить выделение вниз", + "queue_moveToBottom": "переместить выделение вверх", + "shuffle_off": "перемешивание выключено", + "addLast": "добавить последний", + "mute": "отключить звук", + "skip_forward": "вперёд" + }, + "page": { + "sidebar": { + "nowPlaying": "Cейчас проигрывается", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "показать слова песни", + "dynamicBackground": "динамический фон", + "synchronized": "синхронизировано", + "followCurrentLyric": "следовать за текущими словами песни", + "opacity": "непрозрачность", + "lyricSize": "размер слов", + "showLyricProvider": "показать провайдера слов", + "unsynchronized": "несинхронизировано", + "lyricAlignment": "выравнивание слов песни", + "useImageAspectRatio": "использовать соотношение сторон изображения", + "lyricGap": "пробел между словами" + }, + "upNext": "следующее", + "lyrics": "слова песни", + "related": "схожие" + }, + "appMenu": { + "selectServer": "выбрать сервер", + "version": "версия {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "настроить список серверов", + "expandSidebar": "развернуть", + "collapseSidebar": "Скрыть боковую панель", + "openBrowserDevtools": "открыть инструменты разработчика", + "quit": "$t(common.quit)", + "goBack": "назад", + "goForward": "вперёд" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} выбрано", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "наибольшее кол-во воспроизведений", + "newlyAdded": "недавно добавленные релизы", + "title": "$t(common.home)", + "explore": "изучите вашу медиатеку", + "recentlyPlayed": "недавно прослушано" + }, + "albumDetail": { + "moreFromArtist": "больше из жанра $t(entity.genre_one)", + "moreFromGeneric": "больше из {{item}}" + }, + "setting": { + "playbackTab": "воспроизведение", + "generalTab": "общее", + "hotkeysTab": "горячие клавиши", + "windowTab": "окно" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "команды сервера", + "goToPage": "перейти на страницу", + "searchFor": "поиск {{query}}" + }, + "title": "комманды" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "удалить $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) успешно удалён", + "input_confirm": "напишите название $t(entity.playlist_one), чтобы подтвердить действие" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "создать $t(entity.playlist_one)", + "input_public": "публичный", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) успешно создан", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "добавить сервер", + "input_username": "пользователь", + "input_url": "url", + "input_password": "пароль", + "input_legacyAuthentication": "включить старую аутентификацию", + "input_name": "название сервера", + "success": "сервер добавлен успешно", + "input_savePassword": "сохранить пароль", + "ignoreSsl": "ignore ssl $t(common.restartRequired)", + "ignoreCors": "$t(common.restartRequired)", + "error_savePassword": "произошла ошибка во время попытки сохранения пароля" + }, + "addToPlaylist": { + "success": "добавлено(а) {{message}} $t(entity.track_other) в {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "добавить в $t(entity.playlist_one)", + "input_skipDuplicates": "пропустить дубликаты", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "обновить сервер", + "success": "сервер успешно обновлён" + }, + "queryEditor": { + "input_optionMatchAll": "сопоставить все", + "input_optionMatchAny": "сопоставить любой" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "поиск слов песни" + }, + "editPlaylist": { + "title": "редактировать $t(entity.playlist_one)" + } + }, + "setting": { + "accentColor": "цвет акцента", + "accentColor_description": "устанавливает цвет акцента для приложения", + "applicationHotkeys": "горячие клавиши приложения", + "crossfadeStyle_description": "Выберите вид эффекта crossfade для аудиоплеера", + "enableRemote_description": "Включает сервер удалённого управления для управления воспроизведением с помощью других устройств", + "fontType_optionSystem": "Системный шрифт", + "mpvExecutablePath_description": "Укажите папку, в которой находится исполняющий файл аудиоплеера MPV", + "crossfadeStyle": "Вид эффекта crossfade", + "fontType_optionBuiltIn": "Встроенный в приложение", + "disableLibraryUpdateOnStartup": "Отключить проверку новых версий при запуске приложения", + "minimizeToTray_description": "Сворачивать приложение в панель уведомлений", + "audioPlayer_description": "Укажите - какой аудиоплеер использовать для воспроизведения", + "disableAutomaticUpdates": "Отключить проверку обновлений", + "exitToTray_description": "При закрытии приложения - оно останется в панели уведомлений", + "fontType_optionCustom": "Пользовательский шрифт", + "remotePassword": "Пароль к серверу удалённого управления", + "font": "Шрифт", + "crossfadeDuration_description": "Укажите длительность эффекта crossfade", + "mpvExecutablePath": "Папка с аудиоплеером MPV", + "exitToTray": "Сворачивать в панель уведомлений при закрытии", + "enableRemote": "Включить сервер удалённого управления", + "fontType": "Источник шрифта", + "crossfadeDuration": "Длительность эффекта crossfade", + "audioPlayer": "Аудиоплеер", + "minimizeToTray": "Сворачивать в панель уведомлений", + "font_description": "Выберите - какой шрифт использовать в приложении", + "remoteUsername": "Имя пользователя для доступа к серверу удалённого управления" + } +} diff --git a/src/i18n/locales/sr.json b/src/i18n/locales/sr.json new file mode 100644 index 000000000..7706514da --- /dev/null +++ b/src/i18n/locales/sr.json @@ -0,0 +1,632 @@ +{ + "player": { + "repeat_all": "ponavljaj sve", + "stop": "zaustavi", + "repeat": "ponavljaj jednu", + "queue_remove": "ukloni izabrane", + "playRandom": "slučajna reprodukcija", + "skip": "preskoči", + "previous": "prethodna", + "toggleFullscreenPlayer": "prebaci u puni ekran", + "skip_back": "preskoči unazad", + "favorite": "omiljeno", + "next": "sledeća", + "shuffle": "mešaj", + "playbackFetchNoResults": "nema pronađenih pesama", + "playbackFetchInProgress": "učitavanje pesama…", + "addNext": "dodaj sledeći", + "playbackSpeed": "brzina reprodukcije", + "playbackFetchCancel": "ovo traje... zatvorite obaveštenje da biste otkazali", + "play": "pusti", + "repeat_off": "ponavljanje isključeno", + "pause": "pauziraj", + "queue_clear": "isprazni red", + "muted": "isključeno", + "unfavorite": "ukloni iz omiljenih", + "queue_moveToTop": "pomeri izabrane na dno", + "queue_moveToBottom": "pomeri izabrane na vrh", + "shuffle_off": "mešanje isključeno", + "addLast": "dodaj poslednji", + "mute": "isključi ton", + "skip_forward": "preskoči unapred" + }, + "setting": { + "crossfadeStyle_description": "izaberite stil prelaska za audio plejer", + "remotePort_description": "postavlja port za daljinsku kontrolu servera", + "hotkey_skipBackward": "preskoči unazad", + "replayGainMode_description": "prilagođava jačinu glasnoće prema vrednostima {{ReplayGain}} koje se nalaze u metapodacima datoteke", + "volumeWheelStep_description": "količina promene glasnoće pri okretanju točkića miša na traci za glasnoću", + "audioDevice_description": "izaberite audio uređaj za reprodukciju (samo veb plejer)", + "theme_description": "postavlja temu za aplikaciju", + "hotkey_playbackPause": "pauza", + "replayGainFallback": "{{ReplayGain}} alternativa", + "sidebarCollapsedNavigation_description": "prikaži ili sakrij navigaciju u sklopljenoj bočnoj traci", + "mpvExecutablePath_help": "po jedna po liniji", + "hotkey_volumeUp": "pojačaj glasnoću", + "skipDuration": "dužina preskakanja", + "discordIdleStatus_description": "kada je omogućeno, ažurira status dok je plejer u mirovanju", + "showSkipButtons": "prikaži dugmad za preskakanje", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "minimum trajanja za bilježenje (u procentima)", + "lyricFetch": "preuzimanje tekstova sa interneta", + "scrobble": "bilježi", + "skipDuration_description": "postavlja dužinu preskakanja kada koristite dugmad za preskakanje na traci za reprodukciju", + "enableRemote_description": "omogućava daljinsku kontrolu servera kako bi omogućili drugim uređajima da kontrolišu aplikaciju", + "fontType_optionSystem": "sistemski font", + "mpvExecutablePath_description": "postavlja putanju do izvršne datoteke mpv player-a", + "replayGainClipping_description": "Smanjuje preklapanje uzrokovano {{ReplayGain}} automatskim smanjenjem glasnoće", + "replayGainPreamp": "{{ReplayGain}} pojačalo (dB)", + "hotkey_favoriteCurrentSong": "omiljena $t(common.currentSong)", + "sampleRate": "sample rate", + "crossfadeStyle": "stil prelaza", + "sidePlayQueueStyle_optionAttached": "priložena", + "sidebarConfiguration": "konfiguracija bočne trake", + "sampleRate_description": "izaberite izlazni sample rate koji će se koristiti ako je sample rate drugačiji od onog u trenutnom mediju", + "replayGainMode_optionNone": "$t(common.none)", + "replayGainClipping": "{{ReplayGain}} smanjenje", + "hotkey_zoomIn": "uvećaj", + "scrobble_description": "bilježi reprodukciju na vašem serverskom uređaju", + "hotkey_browserForward": "napred u pregledaču", + "audioExclusiveMode_description": "omogućava ekskluzivan režim izlaza. U ovom režimu, sistem je obično zaključan, i samo mpv će moći da izlazi zvuk", + "discordUpdateInterval": "{{discord}} interval ažuriranja bogatog prikaza", + "themeLight": "tema (svetla)", + "fontType_optionBuiltIn": "ugrađeni font", + "hotkey_playbackPlayPause": "reprodukcija / pauza", + "hotkey_rate1": "oceni sa 1 zvezdicom", + "hotkey_skipForward": "preskoči unapred", + "disableLibraryUpdateOnStartup": "onemogući proveru za nove verzije pri pokretanju", + "discordApplicationId_description": "ID aplikacije za {{discord}} bogat prikaz (podrazumevano je {{defaultId}})", + "sidePlayQueueStyle": "stil bočne liste za reprodukciju", + "gaplessAudio": "bez pauze zvuka", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "zoom": "stepen zumiranja", + "minimizeToTray_description": "minimizira aplikaciju u sistemsku traku kada se zatvori i vraća je kada se ponovo otvori", + "hotkey_playbackPlay": "pusti", + "hotkey_togglePreviousSongFavorite": "promeni omiljenu pesmu $t(common.previousSong)", + "hotkey_volumeDown": "smanji glasnoću", + "hotkey_unfavoritePreviousSong": "ukloni omiljenu pesmu $t(common.previousSong)", + "audioPlayer_description": "izaberite audio plejer za reprodukciju", + "globalMediaHotkeys": "globalni medijski tasteri", + "hotkey_globalSearch": "globalno pretraživanje", + "gaplessAudio_description": "postavlja opciju bez pauze zvuka za mpv (preporučeno: slabo)", + "remoteUsername_description": "postavlja korisničko ime za daljinsku kontrolu servera. Ako su i korisničko ime i lozinka prazni, autentifikacija će biti onemogućena", + "disableAutomaticUpdates": "onemogući automatsko ažuriranje", + "exitToTray_description": "izlazak aplikacije u sistemsku traku", + "followLyric_description": "pomera tekst pesme na trenutnu poziciju reprodukcije", + "hotkey_favoritePreviousSong": "omiljena $t(common.previousSong)", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "pomeraj teksta (ms)", + "discordUpdateInterval_description": "vreme u sekundama između svakog ažuriranja (minimum 15 sekundi)", + "fontType_optionCustom": "prilagođeni font", + "themeDark_description": "postavlja tamnu temu za aplikaciju", + "audioExclusiveMode": "ekskluzivni audio režim", + "remotePassword": "lozinka za daljinsku kontrolu servera", + "lyricFetchProvider": "pružatelji tekstova za preuzimanje", + "language_description": "postavlja jezik za aplikaciju ($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "prelazak sa preklapanjem", + "hotkey_rate3": "oceni sa 3 zvezdice", + "font": "font", + "mpvExtraParameters": "mpv parametri", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "postavlja svetlu temu za aplikaciju", + "hotkey_toggleFullScreenPlayer": "prebaci na prikaz na celom ekranu", + "hotkey_localSearch": "pretraživanje na stranici", + "hotkey_toggleQueue": "promeni listu za reprodukciju", + "zoom_description": "postavlja stepen zumiranja za aplikaciju", + "remotePassword_description": "postavlja lozinku za daljinsku kontrolu servera. Ove informacije se prenose nezaštićeno, pa biste trebali koristiti jedinstvenu lozinku koja vam nije važna.", + "hotkey_rate5": "oceni sa 5 zvezdica", + "hotkey_playbackPrevious": "prethodna pesma", + "showSkipButtons_description": "prikaži ili sakrij dugmad za preskakanje na traci za reprodukciju", + "crossfadeDuration_description": "postavi trajanje efekta prelaza", + "language": "jezik", + "playbackStyle": "stil reprodukcije", + "hotkey_toggleShuffle": "promeni slučajan redosled", + "theme": "tema", + "playbackStyle_description": "izaberite stil reprodukcije za audio plejer", + "discordRichPresence_description": "omogućava status reprodukcije u {{discord}} bogatom prikazu. Ključevi slika su: {{icon}}, {{playing}}, i {{paused}} ", + "mpvExecutablePath": "putanja do mpv izvršne datoteke", + "audioDevice": "audio uređaj", + "hotkey_rate2": "oceni sa 2 zvezdice", + "playButtonBehavior_description": "postavlja zadano ponašanje dugmeta za reprodukciju pri dodavanju pesama u listu za reprodukciju", + "minimumScrobblePercentage_description": "minimalni procenat pesme koji mora da bude reprodukovan pre nego što se zabeleži", + "exitToTray": "izlazak u oblast za traku", + "hotkey_rate4": "oceni sa 4 zvezdice", + "enableRemote": "omogući daljinsku kontrolu servera", + "showSkipButton_description": "prikaži ili sakrij dugmad za preskakanje na traci za reprodukciju", + "savePlayQueue": "sačuvaj listu za reprodukciju", + "minimumScrobbleSeconds_description": "minimalno trajanje pesme u sekundama koje mora biti reprodukovano pre nego što se zabeleži", + "skipPlaylistPage_description": "kada idete na plejlistu, idi na stranicu sa pesmama plejliste umesto na podrazumevanu stranicu", + "fontType_description": "ugrađeni font bira jedan od fontova koje pruža Feishin. sistemski font vam omogućava da izaberete bilo koji font koji nudi vaš operativni sistem. prilagođeni vam omogućava da koristite svoj font", + "playButtonBehavior": "ponašanje dugmeta za reprodukciju", + "volumeWheelStep": "korak točkića za glasnoću", + "sidebarPlaylistList_description": "prikaži ili sakrij listu plejlista na bočnoj traci", + "accentColor": "akcentna boja", + "sidePlayQueueStyle_description": "postavlja stil bočne liste za reprodukciju", + "accentColor_description": "postavi akcentnu boju za aplikaciju", + "replayGainMode": "{{ReplayGain}} režim", + "playbackStyle_optionNormal": "normalno", + "windowBarStyle": "stil trake prozora", + "floatingQueueArea": "prikaži područje plutajuće liste za reprodukciju", + "replayGainFallback_description": "jačina u dB koja će se primeniti ako datoteka nema {{ReplayGain}} oznake", + "replayGainPreamp_description": "prilagođava pojačalo za {{ReplayGain}} vrednosti", + "hotkey_toggleRepeat": "promeni ponavljanje", + "lyricOffset_description": "pomera tekst za navedeni broj milisekundi", + "sidebarConfiguration_description": "izaberite stavke i redosled u kojem se pojavljuju u bočnoj traci", + "fontType": "tip fonta", + "remotePort": "port za daljinsku kontrolu servera", + "applicationHotkeys": "prečice za aplikaciju", + "hotkey_playbackNext": "sledeća pesma", + "useSystemTheme_description": "prati sistemski određene postavke za svetlu ili tamnu temu", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "preuzimanje tekstova sa različitih izvora na internetu", + "lyricFetchProvider_description": "izaberite pružatelje tekstova za preuzimanje. Redosled pružatelja je redosled upita.", + "globalMediaHotkeys_description": "omogućava ili onemogućava korišćenje medijskih tastera sistema za kontrolu reprodukcije", + "customFontPath": "prilagođena putanja fonta", + "followLyric": "prati trenutni tekst pesme", + "crossfadeDuration": "trajanje prelaza", + "discordIdleStatus": "prikaži status u mirovanju na Diskordu", + "sidePlayQueueStyle_optionDetached": "odvojena", + "audioPlayer": "audio plejer", + "hotkey_zoomOut": "umanji", + "hotkey_unfavoriteCurrentSong": "ukloni omiljenu pesmu $t(common.currentSong)", + "hotkey_rate0": "obrisati ocenu", + "discordApplicationId": "{{discord}} ID aplikacije", + "applicationHotkeys_description": "konfiguriši prečice za aplikaciju. uključite opciju za postavljanje kao globalne prečice (samo na radnoj površini)", + "floatingQueueArea_description": "prikaz ikone na desnoj strani ekrana za pregled liste za reprodukciju", + "hotkey_volumeMute": "isključi zvuk", + "hotkey_toggleCurrentSongFavorite": "promeni omiljenu pesmu $t(common.currentSong)", + "remoteUsername": "korisničko ime za daljinsku kontrolu servera", + "hotkey_browserBack": "nazad u pregledaču", + "showSkipButton": "prikaži dugmad za preskakanje", + "sidebarPlaylistList": "lista plejlista na bočnoj traci", + "minimizeToTray": "minimiziraj u sistemsku traku", + "skipPlaylistPage": "preskoči stranicu plejliste", + "themeDark": "tema (tamna)", + "sidebarCollapsedNavigation": "navigacija (skupljena bočna traka)", + "customFontPath_description": "postavlja putanju do prilagođenog fonta za aplikaciju", + "gaplessAudio_optionWeak": "slabo (preporučeno)", + "minimumScrobbleSeconds": "minimalno trajanje za bilježenje (u sekundama)", + "hotkey_playbackStop": "zaustavi", + "windowBarStyle_description": "izaberite stil trake prozora", + "discordRichPresence": "{{discord}} bogat prikaz", + "font_description": "postavlja font koji se koristi za aplikaciju", + "savePlayQueue_description": "sačuva listu za reprodukciju kada se aplikacija zatvori i obnovi je pri ponovnom otvaranju aplikacije", + "useSystemTheme": "koristi sistemsku temu" + }, + "action": { + "editPlaylist": "izmeni $t(entity.playlist_one)", + "goToPage": "idi na stranu", + "moveToTop": "idi na vrh", + "clearQueue": "očisti listu", + "addToFavorites": "dodaj u $t(entity.favorite_other)", + "addToPlaylist": "dodaj u $t(entity.playlist_one)", + "createPlaylist": "napravi $t(entity.playlist_one)", + "removeFromPlaylist": "ukloni iz $t(entity.playlist_one)", + "viewPlaylists": "vidi $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "obriši $t(entity.playlist_one)", + "removeFromQueue": "ukloni iz liste", + "deselectAll": "deselektuj sve", + "moveToBottom": "idi na dno", + "setRating": "oceni", + "toggleSmartPlaylistEditor": "pokreni $t(entity.smartPlaylist) editor", + "removeFromFavorites": "ukloni iz $t(entity.favorite_other)" + }, + "common": { + "backward": "nazad", + "increase": "povećaj", + "rating": "ocena", + "bpm": "bpm", + "refresh": "osveži", + "unknown": "nepoznato", + "areYouSure": "da li si siguran/na?", + "edit": "izmeni", + "favorite": "favorit", + "left": "levo", + "save": "sačuvaj", + "right": "desno", + "currentSong": "trenutno $t(entity.track_one)", + "collapse": "sklopi", + "trackNumber": "pesma", + "descending": "silazno", + "add": "dodaj", + "gap": "procep", + "ascending": "uzlazno", + "dismiss": "odbaci", + "year": "godina", + "manage": "upravljaj", + "limit": "limit", + "minimize": "minimiziraj", + "modified": "modifikovan", + "duration": "trajanje", + "name": "ime", + "maximize": "maksimiziraj", + "decrease": "smanji", + "ok": "ok", + "description": "opis", + "configure": "konfiguriši", + "path": "putanja", + "center": "centar", + "no": "ne", + "owner": "vlasnik", + "enable": "uključi", + "clear": "očisti", + "forward": "napred", + "delete": "obriši", + "cancel": "otkaži", + "forceRestartRequired": "restartuj da primeniš izmene… zatvori notifikaciju za restart", + "setting": "podešavanje", + "version": "verzija", + "title": "naziv", + "filter_one": "filter", + "filter_few": "filteri", + "filter_other": "filtera", + "filters": "filteri", + "create": "napravi", + "bitrate": "bitrejt", + "saveAndReplace": "sačuvaj i zameni", + "action_one": "akcija", + "action_few": "akcije", + "action_other": "akcija", + "playerMustBePaused": "plejer mora biti pauziran", + "confirm": "potvrdi", + "resetToDefault": "reset na fabrička podešavanja", + "home": "kuća", + "comingSoon": "stiže uskoro…", + "reset": "reset", + "channel_one": "kanal", + "channel_few": "kanali", + "channel_other": "kanala", + "disable": "onemogući", + "sortOrder": "redosled", + "none": "nijedan", + "menu": "meni", + "restartRequired": "restart potreban", + "previousSong": "prethodna $t(entity.track_one)", + "noResultsFromQuery": "upit je bez rezultata", + "quit": "izađi", + "expand": "proširi", + "search": "pretraga", + "saveAs": "sačuvaj kao", + "disc": "disk", + "yes": "da", + "random": "nasumično", + "size": "veličina", + "biography": "biografija", + "note": "notacija" + }, + "table": { + "config": { + "view": { + "card": "kartica", + "table": "tabela", + "poster": "poster" + }, + "general": { + "displayType": "tip prikaza", + "gap": "$t(common.gap)", + "tableColumns": "tabela kolona", + "autoFitColumns": "automatski uklopi kolone", + "size": "$t(common.size)" + }, + "label": { + "releaseDate": "datum objavljivanja", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "titleCombined": "$t(common.title) (kombinovano)", + "dateAdded": "datum dodavanja", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "zadnje puštana", + "trackNumber": "broj pesme", + "rowIndex": "indeks reda", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "broj puštanja", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "disk broj", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)" + } + }, + "column": { + "comment": "komentar", + "album": "album", + "rating": "rejting", + "favorite": "favorit", + "playCount": "puštanja", + "albumCount": "$t(entity.album_other)", + "releaseYear": "godina", + "lastPlayed": "zadnje puštana", + "biography": "biografija", + "releaseDate": "datum objavljivanja", + "bitrate": "bitrate", + "title": "naziv", + "bpm": "bpm", + "dateAdded": "datum dodavanja", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "pesma", + "genre": "$t(entity.genre_one)", + "albumArtist": "album artist", + "path": "putanja", + "discNumber": "disk", + "channels": "$t(common.channel_other)" + } + }, + "error": { + "remotePortWarning": "ponovo pokrenite server kako biste primenili novi port", + "systemFontError": "došlo je do greške prilikom pokušaja dobijanja sistema fontova", + "playbackError": "došlo je do greške prilikom pokušaja reprodukcije medija", + "endpointNotImplementedError": "krajnja tačka {{endpoint}} nije implementirana za {{serverType}}", + "remotePortError": "došlo je do greške prilikom postavljanja porta udaljenog servera", + "serverRequired": "potreban je server", + "authenticationFailed": "neuspešna autentikacija", + "apiRouteError": "nije moguće usmeriti zahtev", + "genericError": "došlo je do greške", + "credentialsRequired": "potrebni su pristupni podaci", + "sessionExpiredError": "vaša sesija je istekla", + "remoteEnableError": "došlo je do greške prilikom pokušaja omogućavanja udaljenog servera", + "localFontAccessDenied": "pristup lokalnim fontovima odbijen", + "serverNotSelectedError": "nije izabran nijedan server", + "remoteDisableError": "došlo je do greške prilikom pokušaja onemogućavanja udaljenog servera", + "mpvRequired": "MPV je obavezan", + "audioDeviceFetchError": "došlo je do greške prilikom pokušaja dobijanja audio uređaja", + "invalidServer": "neispravan server", + "loginRateError": "previše pokušaja prijave, molimo pokušajte ponovo za nekoliko sekundi" + }, + "filter": { + "mostPlayed": "najviše puštana", + "comment": "komentar", + "playCount": "broj slušanja", + "recentlyUpdated": "skorije ažurirana", + "channels": "$t(common.channel_other)", + "isCompilation": "je kompilacija", + "recentlyPlayed": "skorije puštana", + "isRated": "je ocenjena", + "owner": "$t(common.owner)", + "title": "naziv", + "rating": "rejting", + "search": "pretraga", + "bitrate": "bitrejt", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "skorije dodata", + "note": "notacija", + "name": "ime", + "dateAdded": "datum dodavanja", + "releaseDate": "datum izdavanja", + "albumCount": "$t(entity.album_other) albuma", + "communityRating": "ocena zajednice", + "path": "putanja", + "favorited": "favoriti", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "je skorije puštana", + "isFavorited": "je favorit", + "bpm": "bpm", + "releaseYear": "godina izdavanja", + "id": "id", + "disc": "disk", + "biography": "biografija", + "songCount": "broj pesama", + "artist": "$t(entity.artist_one)", + "duration": "trajanje", + "isPublic": "je javna", + "random": "nasumično", + "lastPlayed": "zadnje puštana", + "toYear": "do godine", + "fromYear": "iz godine", + "criticRating": "ocena kritičara", + "album": "$t(entity.album_one)", + "trackNumber": "pesma" + }, + "page": { + "sidebar": { + "nowPlaying": "trenutno pušta", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "prikaži poklapanje teksta", + "dynamicBackground": "dinamička pozadina", + "synchronized": "s sinhronizacijom", + "followCurrentLyric": "prati trenutni tekst pesme", + "opacity": "providnost", + "lyricSize": "veličina teksta pesme", + "showLyricProvider": "prikaži pružatelja teksta pesme", + "unsynchronized": "bez sinhronizacije", + "lyricAlignment": "poravnanje teksta pesme", + "useImageAspectRatio": "koristi odnos stranica slike", + "lyricGap": "razmak između stihova" + }, + "upNext": "sledi", + "lyrics": "tekst pesme", + "related": "povezano" + }, + "appMenu": { + "selectServer": "izaberi server", + "version": "verzija {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "upravljaj serverima", + "expandSidebar": "proširi bočnu traku", + "collapseSidebar": "skloni bočnu traku", + "openBrowserDevtools": "otvori alatke za razvoj pretraživača", + "quit": "$t(common.quit)", + "goBack": "idi nazad", + "goForward": "idi napred" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} izabrano", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "home": { + "mostPlayed": "najviše puštano", + "newlyAdded": "nedavno dodate pesme", + "title": "$t(common.home)", + "explore": "istraži iz tvoje biblioteke", + "recentlyPlayed": "nedavno puštane pesme" + }, + "albumDetail": { + "moreFromArtist": "još od ovog $t(entity.genre_one)", + "moreFromGeneric": "još od {{item}}" + }, + "setting": { + "playbackTab": "reprodukcija", + "generalTab": "opšte", + "hotkeysTab": "prečice", + "windowTab": "prozor" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "globalSearch": { + "commands": { + "serverCommands": "komande servera", + "goToPage": "idi na stranicu", + "searchFor": "pretraži za {{query}}" + }, + "title": "komande" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "obriši $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) uspešno obrisan", + "input_confirm": "unesite ime $t(entity.playlist_one) za potvrdu" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "kreiraj $t(entity.playlist_one)", + "input_public": "javno", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) uspešno kreiran", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "dodaj server", + "input_username": "korisničko ime", + "input_url": "URL", + "input_password": "lozinka", + "input_legacyAuthentication": "omogući staru autentikaciju", + "input_name": "ime servera", + "success": "server uspešno dodat", + "input_savePassword": "sačuvaj lozinku", + "ignoreSsl": "ignoriši SSL ($t(common.restartRequired))", + "ignoreCors": "ignoriši CORS ($t(common.restartRequired))", + "error_savePassword": "došlo je do greške prilikom pokušaja čuvanja lozinke" + }, + "addToPlaylist": { + "success": "dodato {{message}} $t(entity.track_other) u {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "dodaj u $t(entity.playlist_one)", + "input_skipDuplicates": "preskoči duplikate", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "ažuriraj server", + "success": "server uspešno ažuriran" + }, + "queryEditor": { + "input_optionMatchAll": "pronađi sve", + "input_optionMatchAny": "pronađi bilo koji" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "pretraga teksta pesme" + }, + "editPlaylist": { + "title": "izmeni $t(entity.playlist_one)" + } + }, + "entity": { + "genre_one": "žanr", + "genre_few": "žanrova", + "genre_other": "žanrova", + "playlistWithCount_one": "{{count}} plejlista", + "playlistWithCount_few": "{{count}} plejlista", + "playlistWithCount_other": "{{count}} plejlista", + "playlist_one": "plejlista", + "playlist_few": "plejlista", + "playlist_other": "plejlista", + "artist_one": "umetnik", + "artist_few": "umetnika", + "artist_other": "umetnika", + "folderWithCount_one": "{{count}} folder", + "folderWithCount_few": "{{count}} foldera", + "folderWithCount_other": "{{count}} foldera", + "albumArtist_one": "album umetnika", + "albumArtist_few": "albuma umetnika", + "albumArtist_other": "albuma umetnika", + "track_one": "pesma", + "track_few": "pesama", + "track_other": "pesama", + "albumArtistCount_one": "{{count}} album umetnika", + "albumArtistCount_few": "{{count}} albuma umetnika", + "albumArtistCount_other": "{{count}} albuma umetnika", + "albumWithCount_one": "{{count}} album", + "albumWithCount_few": "{{count}} albuma", + "albumWithCount_other": "{{count}} albuma", + "favorite_one": "favorit", + "favorite_few": "favorita", + "favorite_other": "favorita", + "artistWithCount_one": "{{count}} umetnik", + "artistWithCount_few": "{{count}} umetnika", + "artistWithCount_other": "{{count}} umetnika", + "folder_one": "folder", + "folder_few": "foldera", + "folder_other": "foldera", + "smartPlaylist": "pametna $t(entity.playlist_one)", + "album_one": "album", + "album_few": "albumi", + "album_other": "albuma", + "genreWithCount_one": "{{count}} žanr", + "genreWithCount_few": "{{count}} žanrova", + "genreWithCount_other": "{{count}} žanrova", + "trackWithCount_one": "{{count}} pesma", + "trackWithCount_few": "{{count}} pesama", + "trackWithCount_other": "{{count}} pesama" + } +} diff --git a/src/i18n/locales/sv.json b/src/i18n/locales/sv.json new file mode 100644 index 000000000..587dc3a10 --- /dev/null +++ b/src/i18n/locales/sv.json @@ -0,0 +1,345 @@ +{ + "action": { + "editPlaylist": "redigera $t(entity.playlist_one)", + "goToPage": "gå till sida", + "moveToTop": "flytta till toppen", + "clearQueue": "rensa kö", + "addToFavorites": "lägg till $t(entity.favorite_other)", + "addToPlaylist": "lägg till $t(entity.playlist_one)", + "createPlaylist": "skapa $t(entity.playlist_one)", + "removeFromPlaylist": "ta bort från $t(entity.playlist_one)", + "viewPlaylists": "visa $t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "ta bort $t(entity.playlist_one)", + "removeFromQueue": "ta bort från kö", + "deselectAll": "avmarkera alla", + "moveToBottom": "flytta till botten", + "setRating": "sätt betyg", + "toggleSmartPlaylistEditor": "växla $t(entity.smartPlaylist) redigerare", + "removeFromFavorites": "ta bort från $t(entity.favorite_other)" + }, + "common": { + "backward": "bakåt", + "increase": "öka", + "rating": "betyg", + "bpm": "bpm", + "refresh": "laddaom", + "unknown": "okänd", + "areYouSure": "är du säker?", + "edit": "redigera", + "favorite": "favorit", + "left": "vänster", + "save": "spara", + "right": "höger", + "currentSong": "aktuell $t(entity.track_one)", + "collapse": "kollaps", + "trackNumber": "spår", + "descending": "fallande", + "add": "lägg till", + "gap": "avstånd", + "ascending": "stigande", + "dismiss": "avskeda", + "year": "år", + "manage": "hantera", + "limit": "gräns", + "minimize": "minimera", + "modified": "modifierad", + "duration": "längd", + "name": "namn", + "maximize": "maximera", + "decrease": "minska", + "ok": "ok", + "description": "beskrivning", + "configure": "konfigurera", + "path": "sökväg", + "no": "nej", + "owner": "ägare", + "enable": "aktivera", + "clear": "töm", + "forward": "framåt", + "delete": "ta bort", + "cancel": "avbryt", + "forceRestartRequired": "starta om för att tillämpa ändringar... Stäng meddelandet för att starta om", + "setting": "inställning", + "version": "version", + "title": "titel", + "filter_one": "filter", + "filter_other": "filter", + "filters": "filter", + "create": "skapa", + "bitrate": "bithastighet", + "saveAndReplace": "spara och skrivöver", + "action_one": "handling", + "action_other": "handlingar", + "playerMustBePaused": "spelaren måste pausas", + "confirm": "bekräfta", + "resetToDefault": "återställ till standard", + "home": "hem", + "comingSoon": "kommer snart…", + "reset": "nollställ", + "channel_one": "kanal", + "channel_other": "kanaler", + "disable": "inaktivera", + "sortOrder": "ordning", + "none": "ingen", + "menu": "meny", + "restartRequired": "omstart krävs", + "previousSong": "föregående $t(entity.track_one)", + "noResultsFromQuery": "frågan returnerade inga resultat", + "quit": "avsluta", + "expand": "expandera", + "search": "sök", + "saveAs": "spara som", + "disc": "skiva", + "yes": "ja", + "random": "slumpmässig", + "size": "storlek", + "biography": "biografi", + "note": "anteckning", + "center": "center" + }, + "error": { + "remotePortWarning": "starta om servern för att tillämpa den nya porten", + "systemFontError": "ett fel uppstod vid försök att hämta systemteckensnitt", + "playbackError": "ett fel uppstod vid försök att spela upp media", + "endpointNotImplementedError": "endpoint {{endpoint}} är inte implementerad för {{serverType}}", + "remotePortError": "ett fel uppstod vid försök att ange serverporten", + "serverRequired": "server krävs", + "authenticationFailed": "autentiseringen misslyckades", + "apiRouteError": "det går inte att dirigera begäran", + "genericError": "ett fel uppstod", + "credentialsRequired": "autentiseringsuppgifter som krävs", + "sessionExpiredError": "din session har löpt ut", + "remoteEnableError": "Ett fel uppstod vid försök att $t(common.enable) servern", + "localFontAccessDenied": "åtkomst nekad till lokala teckensnitt", + "serverNotSelectedError": "ingen server vald", + "remoteDisableError": "ett fel uppstod vid försök av $t(common.disable) servern", + "mpvRequired": "MPV krävs", + "audioDeviceFetchError": "ett fel uppstod vid hämtning av ljudenheter", + "invalidServer": "ogiltig server", + "loginRateError": "för många inloggningsförsök, försök igen om några sekunder" + }, + "filter": { + "mostPlayed": "mest spelade", + "comment": "kommentar", + "playCount": "antal spelningar", + "recentlyUpdated": "nyligen uppdaterad", + "channels": "$t(common.channel_other)", + "isCompilation": "är kompilering", + "recentlyPlayed": "nyligen spelad", + "isRated": "är betygsatt", + "owner": "$t(common.owner)", + "title": "titel", + "rating": "betyg", + "search": "sök", + "bitrate": "bithastighet", + "genre": "$t(entity.genre_one)", + "recentlyAdded": "nyligen tillagda", + "note": "anteckning", + "name": "namn", + "dateAdded": "datum tillagt", + "releaseDate": "utgivningsdag", + "communityRating": "betyg från communityn", + "path": "sökväg", + "favorited": "favoritmärkt", + "albumArtist": "$t(entity.albumArtist_one)", + "isRecentlyPlayed": "spelas nyligen", + "isFavorited": "är favoritmärkt", + "bpm": "bpm", + "releaseYear": "utgivningsår", + "id": "id", + "disc": "skiva", + "biography": "biografi", + "artist": "$t(entity.artist_one)", + "duration": "längd", + "isPublic": "är offentlig", + "random": "slumpmässig", + "lastPlayed": "senast spelad", + "toYear": "till år", + "fromYear": "från år", + "album": "$t(entity.album_one)", + "trackNumber": "spår", + "songCount": "sångräkning", + "criticRating": "kritikerbetyg" + }, + "form": { + "deletePlaylist": { + "title": "ta bort $t(entity.playlist_one)", + "success": "$t(entity.playlist_one) har tagits bort", + "input_confirm": "Skriv namnet på $t(entity.playlist_one) för att bekräfta" + }, + "createPlaylist": { + "input_description": "$t(common.description)", + "title": "skapa $t(entity.playlist_one)", + "input_public": "offentlig", + "input_name": "$t(common.name)", + "success": "$t(entity.playlist_one) skapad", + "input_owner": "$t(common.owner)" + }, + "addServer": { + "title": "lägg till server", + "input_username": "användarnamn", + "input_url": "länk", + "input_password": "lösenord", + "input_legacyAuthentication": "aktivera äldre autentisering", + "input_name": "server namn", + "success": "servern har lagts till", + "input_savePassword": "spara lösenord", + "ignoreSsl": "ignorera ssl ($t(common.restartRequired))", + "ignoreCors": "ignorera cors ($t(common.restartRequired))", + "error_savePassword": "ett fel uppstod när lösenordet skulle sparas" + }, + "addToPlaylist": { + "success": "tillade {{message}} $t(entity.track_other) til {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "lägg till i $t(entity.playlist_one)", + "input_skipDuplicates": "hoppa över dubbletter", + "input_playlists": "$t(entity.playlist_other)" + }, + "updateServer": { + "title": "uppdatera server", + "success": "servern har uppdaterats" + }, + "queryEditor": { + "input_optionMatchAll": "matcha alla", + "input_optionMatchAny": "matcha något" + }, + "lyricSearch": { + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)", + "title": "sångtext sök" + }, + "editPlaylist": { + "title": "redigera $t(entity.playlist_one)" + } + }, + "page": { + "fullscreenPlayer": { + "config": { + "showLyricMatch": "Visa låttext matchning", + "dynamicBackground": "dynamisk bakgrund", + "followCurrentLyric": "följ aktuell låttext", + "opacity": "ogenomskinlighet", + "lyricSize": "låttext storlek", + "lyricAlignment": "låttext justering", + "lyricGap": "låttext mellanrum", + "synchronized": "synkroniserad", + "showLyricProvider": "visa sångtextleverantör", + "unsynchronized": "osynkroniserad" + }, + "lyrics": "sångtext", + "related": "relaterad" + }, + "appMenu": { + "selectServer": "välj server", + "version": "version {{version}}", + "settings": "$t(common.setting_other)", + "manageServers": "hantera servrar", + "expandSidebar": "expandera sidofältet", + "openBrowserDevtools": "öppna webbläsarens utvecklingsverktyg", + "quit": "$t(common.quit)", + "goBack": "gå tillbaka", + "goForward": "gå framåt", + "collapseSidebar": "växla sidofältet" + }, + "contextMenu": { + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "setRating": "$t(action.setRating)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} vald", + "removeFromQueue": "$t(action.removeFromQueue)" + }, + "albumDetail": { + "moreFromArtist": "mer från $t(entity.genre_one)", + "moreFromGeneric": "mer från {{item}}" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + }, + "sidebar": { + "nowPlaying": "nu spelas" + }, + "home": { + "mostPlayed": "mest spelade", + "newlyAdded": "nytillkomna utgåvor", + "explore": "utforska från ditt bibliotek", + "recentlyPlayed": "nyligen spelat" + }, + "setting": { + "playbackTab": "uppspelning", + "generalTab": "allmänt", + "hotkeysTab": "snabbtangenter", + "windowTab": "fönster" + }, + "globalSearch": { + "commands": { + "serverCommands": "serverkommandon", + "goToPage": "gå till sidan", + "searchFor": "sök efter {{query}}" + }, + "title": "kommandon" + } + }, + "entity": { + "playlist_one": "spellista", + "playlist_other": "spellistor", + "artist_one": "artist", + "artist_other": "artister", + "albumArtist_one": "albumartist", + "albumArtist_other": "albumartister", + "albumArtistCount_one": "{{count}} Albumartist", + "albumArtistCount_other": "{{count}} Albumartister", + "albumWithCount_one": "{{count}} album", + "albumWithCount_other": "{{count}} album", + "favorite_one": "favorit", + "favorite_other": "favoriter", + "folder_one": "mapp", + "folder_other": "mappar", + "album_one": "album", + "album_other": "album", + "playlistWithCount_one": "{{count}} spellista", + "playlistWithCount_other": "{{count}} spellistor", + "folderWithCount_one": "{{count}} mapp", + "folderWithCount_other": "{{count}} mappar", + "track_one": "spår", + "track_other": "spår", + "trackWithCount_one": "{{count}} spår", + "trackWithCount_other": "{{count}} spår" + }, + "player": { + "repeat_all": "repetera alla", + "repeat": "repetera", + "queue_remove": "ta bort markerad", + "playRandom": "spela slumpmässigt", + "previous": "föregående", + "favorite": "favorit", + "next": "nästa", + "shuffle": "blanda", + "playbackFetchNoResults": "inga låtar hittades", + "playbackFetchInProgress": "laddar låtar…", + "addNext": "lägg till nästa", + "playbackSpeed": "uppspelningshastighet", + "playbackFetchCancel": "det här tar ett tag... stäng aviseringen för att avbryta", + "play": "spela", + "repeat_off": "repetera inaktiverad", + "queue_clear": "rensa kö", + "muted": "mutad", + "queue_moveToTop": "flytta markerad till botten", + "queue_moveToBottom": "flytta markerad till toppen", + "addLast": "lägg till sist", + "mute": "muta" + } +} diff --git a/src/i18n/locales/zh-Hans.json b/src/i18n/locales/zh-Hans.json new file mode 100644 index 000000000..896fea67e --- /dev/null +++ b/src/i18n/locales/zh-Hans.json @@ -0,0 +1,596 @@ +{ + "action": { + "editPlaylist": "编辑 $t(entity.playlist_one)", + "moveToTop": "跳至顶部", + "clearQueue": "清空播放队列", + "addToFavorites": "添加到$t(entity.favorite_other)", + "addToPlaylist": "添加到$t(entity.playlist_one)", + "createPlaylist": "创建$t(entity.playlist_one)", + "removeFromPlaylist": "从$t(entity.playlist_one)移除", + "viewPlaylists": "查看$t(entity.playlist_other)", + "refresh": "$t(common.refresh)", + "deletePlaylist": "删除$t(entity.playlist_one)", + "removeFromQueue": "从播放队列中移除", + "deselectAll": "取消全选", + "moveToBottom": "跳至底部", + "setRating": "评分", + "toggleSmartPlaylistEditor": "切换$t(entity.smartPlaylist)编辑器", + "removeFromFavorites": "从$t(entity.favorite_other)移除", + "goToPage": "转到页面" + }, + "common": { + "increase": "增高", + "rating": "评分", + "bpm": "bpm", + "refresh": "刷新", + "unknown": "未知", + "edit": "编辑", + "favorite": "收藏", + "left": "左", + "save": "保存", + "right": "右", + "currentSong": "当前$t(entity.track_one)", + "collapse": "折叠", + "trackNumber": "音轨编号", + "descending": "降序", + "add": "添加", + "ascending": "升序", + "dismiss": "忽略", + "year": "年份", + "manage": "管理", + "minimize": "最小化", + "modified": "已修改", + "name": "名称", + "maximize": "最大化", + "decrease": "降低", + "description": "描述", + "configure": "配置", + "path": "路径", + "center": "中央", + "owner": "所有者", + "enable": "启用", + "clear": "清空", + "forward": "前进", + "delete": "删除", + "cancel": "取消", + "forceRestartRequired": "重启应用使更改生效…关闭通知即可重启", + "setting": "设置", + "version": "版本", + "title": "标题", + "filter_other": "筛选", + "filters": "筛选", + "create": "创建", + "bitrate": "比特率", + "saveAndReplace": "保存并替换", + "action_other": "操作", + "confirm": "确认", + "resetToDefault": "重置为默认", + "home": "主页", + "comingSoon": "即将上线…", + "reset": "重置", + "disable": "禁用", + "menu": "菜单", + "restartRequired": "需要重启应用", + "previousSong": "上一首$t(entity.track_one)", + "noResultsFromQuery": "未查询到匹配结果", + "quit": "退出", + "expand": "展开", + "search": "搜索", + "saveAs": "保存为", + "random": "随机", + "biography": "简介", + "sortOrder": "顺序", + "backward": "返回", + "gap": "空隙", + "limit": "限制", + "duration": "时长", + "ok": "好", + "no": "否", + "playerMustBePaused": "播放器须被暂停", + "channel_other": "频道", + "none": "无", + "disc": "盘", + "yes": "是", + "size": "大小", + "areYouSure": "是否继续?", + "note": "注释" + }, + "entity": { + "albumArtist_other": "专辑艺术家", + "albumArtistCount_other": "{{count}} 位专辑艺术家", + "albumWithCount_other": "{{count}} 张专辑", + "album_other": "专辑", + "genre_other": "流派", + "playlistWithCount_other": "{{count}} 个播放列表", + "playlist_other": "播放列表", + "artist_other": "艺术家", + "folderWithCount_other": "{{count}} 个文件夹", + "track_other": "乐曲", + "favorite_other": "收藏", + "artistWithCount_other": "{{count}} 位艺术家", + "folder_other": "文件夹", + "smartPlaylist": "智能$t(entity.playlist_one)", + "genreWithCount_other": "{{count}} 种流派", + "trackWithCount_other": "{{count}} 首乐曲" + }, + "player": { + "repeat_all": "全部循环", + "stop": "停止", + "repeat": "循环", + "queue_remove": "移除所选", + "playRandom": "随机播放", + "skip": "跳过", + "previous": "上一首", + "toggleFullscreenPlayer": "全屏", + "skip_back": "向后跳过", + "favorite": "收藏", + "next": "下一首", + "shuffle": "随机播放", + "playbackFetchNoResults": "未找到歌曲", + "playbackFetchInProgress": "正在加载歌曲…", + "addNext": "添加为播放列表下一首", + "playbackFetchCancel": "请稍等…关闭通知以取消操作", + "play": "播放", + "repeat_off": "不循环", + "queue_clear": "清空播放队列", + "muted": "已静音", + "unfavorite": "取消收藏", + "queue_moveToTop": "使所选置底", + "queue_moveToBottom": "使所选置顶", + "shuffle_off": "未启用随机播放", + "addLast": "添加到播放列表末尾", + "mute": "静音", + "skip_forward": "向前跳过", + "playbackSpeed": "播放速度", + "pause": "暂停" + }, + "setting": { + "crossfadeStyle_description": "选择用于音频播放器的淡入淡出风格", + "hotkey_favoriteCurrentSong": "收藏 $t(common.currentSong)", + "crossfadeStyle": "淡入淡出风格", + "audioExclusiveMode_description": "启用独占输出模式。在此模式下,系统通常被锁定,只有 mpv 能够输出音频", + "disableLibraryUpdateOnStartup": "禁用启动时查找新版本", + "gaplessAudio": "无缝音频", + "audioPlayer_description": "选择用于播放的音频播放器", + "globalMediaHotkeys": "全局媒体快捷键", + "gaplessAudio_description": "调整 mpv 无缝音频设置", + "disableAutomaticUpdates": "禁用自动更新", + "followLyric_description": "滚动歌词到当前播放位置", + "audioExclusiveMode": "音频独占模式", + "font": "字体", + "crossfadeDuration_description": "设置淡入淡出持续时间", + "audioDevice": "音频设备", + "enableRemote": "启用远程控制服务器", + "fontType": "字体类型", + "applicationHotkeys": "应用快捷键", + "globalMediaHotkeys_description": "启用或禁用系统媒体快捷键以控制播放", + "customFontPath": "自定义字体路径", + "followLyric": "跟随当前歌词", + "crossfadeDuration": "淡入淡出持续时间", + "audioPlayer": "音频播放器", + "discordApplicationId": "{{discord}} 应用 id", + "applicationHotkeys_description": "配置应用快捷键。勾选设为全局快捷键(仅桌面端)", + "customFontPath_description": "设置应用使用的自定义字体路径", + "gaplessAudio_optionWeak": "弱(推荐)", + "font_description": "设置应用使用的字体", + "audioDevice_description": "选择用于播放的音频设备(仅 web 播放器)", + "enableRemote_description": "启用远程控制服务器,以允许其他设备控制此应用", + "remotePort_description": "设置远程服务器端口", + "hotkey_skipBackward": "向回跳过", + "replayGainMode_description": "根据乐曲元数据中存储的{{ReplayGain}}值调整音量增益", + "volumeWheelStep_description": "在音量滑块上滚动鼠标滚轮时要更改的音量大小", + "theme_description": "设置应用的主题", + "hotkey_playbackPause": "暂停", + "replayGainFallback": "{{ReplayGain}}后备替代", + "sidebarCollapsedNavigation_description": "在折叠的侧边栏中显示或隐藏导航", + "hotkey_volumeUp": "音量增高", + "skipDuration": "跳过时长", + "showSkipButtons": "显示跳过按钮", + "playButtonBehavior_optionPlay": "$t(player.play)", + "minimumScrobblePercentage": "最小 scrobble 时长(百分比)", + "lyricFetch": "从互联网获取歌词", + "scrobble": "记录播放信息(Scrobble)", + "skipDuration_description": "设置每次按下跳过按钮将会跳过的时长", + "fontType_optionSystem": "系统字体", + "mpvExecutablePath_description": "设置 mpv 二进制文件的路径", + "sampleRate": "采样率", + "sidePlayQueueStyle_optionAttached": "吸附", + "sidebarConfiguration": "侧边栏设定", + "sampleRate_description": "所选的采样率与当前媒体的频率不同时,用于输出的采样率", + "replayGainMode_optionNone": "$t(common.none)", + "hotkey_zoomIn": "放大", + "scrobble_description": "在你的社交媒体中记录播放信息", + "hotkey_browserForward": "浏览器前进", + "themeLight": "主题(浅色)", + "fontType_optionBuiltIn": "内置字体", + "hotkey_playbackPlayPause": "播放/暂停", + "hotkey_rate1": "评为 1 星", + "hotkey_skipForward": "向后跳过", + "sidePlayQueueStyle": "侧边播放列表样式", + "playButtonBehavior_optionAddLast": "$t(player.addLast)", + "zoom": "缩放率", + "minimizeToTray_description": "将应用程序最小化到系统托盘", + "hotkey_playbackPlay": "播放", + "hotkey_togglePreviousSongFavorite": "收藏 / 取消收藏$t(common.previousSong)", + "hotkey_volumeDown": "音量降低", + "hotkey_unfavoritePreviousSong": "取消收藏$t(common.previousSong)", + "hotkey_globalSearch": "全局搜索", + "remoteUsername_description": "设置远程控制服务器的用户名。如果用户名和密码都为空,则身份验证将被禁用", + "exitToTray_description": "退出应用时最小化到系统托盘而非关闭", + "hotkey_favoritePreviousSong": "收藏 $t(common.previousSong)", + "replayGainMode_optionAlbum": "$t(entity.album_one)", + "lyricOffset": "歌词偏移(毫秒)", + "fontType_optionCustom": "自定义字体", + "themeDark_description": "应用将使用深色主题", + "remotePassword": "远程控制服务器密码", + "lyricFetchProvider": "歌词源", + "language_description": "设置应用的语言($t(common.restartRequired))", + "playbackStyle_optionCrossFade": "交叉淡入淡出", + "hotkey_rate3": "评为 3 星", + "mpvExtraParameters": "mpv 参数", + "replayGainMode_optionTrack": "$t(entity.track_one)", + "themeLight_description": "应用将使用浅色主题", + "hotkey_toggleFullScreenPlayer": "全屏播放", + "hotkey_localSearch": "页面内搜索", + "hotkey_toggleQueue": "显示 / 隐藏播放队列", + "zoom_description": "设置应用程序的缩放率", + "remotePassword_description": "设置远程控制服务器的密码。这些凭据默认以不安全的方式传输,因此您应该使用一个您不在意的唯一密码", + "hotkey_rate5": "评为 5 星", + "hotkey_playbackPrevious": "上一曲", + "showSkipButtons_description": "在播放条显示/隐藏播放按钮", + "language": "语言", + "playbackStyle": "播放风格", + "hotkey_toggleShuffle": "切换随机播放设定", + "theme": "主题", + "playbackStyle_description": "选择播放器的播放风格", + "mpvExecutablePath": "mpv 二进制文件路径", + "hotkey_rate2": "评为 2 星", + "playButtonBehavior_description": "设置将歌曲添加到队列时播放按钮的默认行为", + "minimumScrobblePercentage_description": "歌曲被记录为已播放(scrobble)所需的最小播放百分比", + "exitToTray": "退出时最小化到托盘", + "hotkey_rate4": "评为 4 星", + "showSkipButton_description": "在播放条上显示/隐藏跳过按钮", + "savePlayQueue": "保存播放列表", + "minimumScrobbleSeconds_description": "歌曲被记录为已播放(scrobble)所需的最小播放时间", + "skipPlaylistPage_description": "打开歌单时,直接查看歌曲列表而非查看默认页面", + "fontType_description": "内置字体可以选择 Feishin 提供的字体之一。系统字体允许您选择操作系统提供的任何字体。自定义选项允许您使用自己的字体", + "playButtonBehavior": "播放按钮行为", + "volumeWheelStep": "音量滚轮步长", + "sidebarPlaylistList_description": "显示或隐藏侧边栏歌单列表", + "sidePlayQueueStyle_description": "设置侧边播放列表样式", + "replayGainMode": "{{ReplayGain}}模式", + "playbackStyle_optionNormal": "通常", + "windowBarStyle": "窗口顶栏风格", + "floatingQueueArea": "显示浮动队列悬停区域", + "replayGainFallback_description": "乐曲没有{{ReplayGain}}标签时应用的增益(以分贝为单位)", + "hotkey_toggleRepeat": "切换循环播放设定", + "lyricOffset_description": "将歌词偏移指定的毫秒数", + "sidebarConfiguration_description": "选择侧边栏包含的项目与顺序", + "remotePort": "远程服务器端口", + "hotkey_playbackNext": "下一曲", + "useSystemTheme_description": "使用系统定义的浅色或深色主题", + "playButtonBehavior_optionAddNext": "$t(player.addNext)", + "lyricFetch_description": "从多个互联网源获取歌词", + "lyricFetchProvider_description": "选择歌词源。 歌词源顺序与查询顺序一致", + "sidePlayQueueStyle_optionDetached": "不吸附", + "hotkey_zoomOut": "缩小", + "hotkey_unfavoriteCurrentSong": "取消收藏$t(common.currentSong)", + "hotkey_rate0": "清除评分", + "floatingQueueArea_description": "在屏幕右侧显示一个悬停图标,以查看播放队列", + "hotkey_volumeMute": "静音", + "hotkey_toggleCurrentSongFavorite": "收藏 / 取消收藏$t(common.currentSong)", + "remoteUsername": "远程服务器用户名", + "hotkey_browserBack": "浏览器后退", + "showSkipButton": "显示跳过按钮", + "sidebarPlaylistList": "侧边栏歌单列表", + "minimizeToTray": "最小化到托盘", + "skipPlaylistPage": "跳过歌单页面", + "themeDark": "主题(深色)", + "sidebarCollapsedNavigation": "侧边栏(已折叠)导航", + "minimumScrobbleSeconds": "最小 scrobble 时间(秒)", + "hotkey_playbackStop": "停止", + "windowBarStyle_description": "选择窗口顶栏的风格", + "savePlayQueue_description": "当应用程序关闭时保存播放队列,并在应用程序打开时恢复它", + "useSystemTheme": "跟随系统", + "mpvExecutablePath_help": "每行一个", + "discordIdleStatus_description": "启用后将会在播放器闲置时更新状态", + "replayGainClipping_description": "自动降低增益以防止{{ReplayGain}}造成削波", + "replayGainPreamp": "{{ReplayGain}}前置放大(分贝)", + "replayGainClipping": "{{ReplayGain}}削波", + "discordUpdateInterval": "{{discord}} rich presence 更新间隔", + "discordApplicationId_description": "{{discord}} rich presence 应用 id(默认为 {{defaultId}})", + "discordUpdateInterval_description": "更新间隔秒数(至少 15 秒)", + "discordRichPresence_description": "在 {{discord}} rich presence 中显示播放状态。图片键为:{{icon}}、{{playing}} 和 {{paused}} ", + "accentColor": "强调色", + "accentColor_description": "设置应用的强调色", + "replayGainPreamp_description": "调整应用在{{ReplayGain}}值上的前置放大增益", + "discordIdleStatus": "显示 rich presence 闲置状态", + "discordRichPresence": "{{discord}} rich presence" + }, + "error": { + "remotePortWarning": "重启服务器使新端口生效", + "systemFontError": "获取系统字体时出现错误", + "playbackError": "无法播放媒体", + "endpointNotImplementedError": "{{serverType}} 尚未实现端点 {{endpoint}}", + "remotePortError": "设置远程服务器端口时发生错误", + "serverRequired": "需要服务器", + "authenticationFailed": "认证失败", + "apiRouteError": "请求失败:无法路由", + "genericError": "发生了错误", + "credentialsRequired": "需要凭证", + "sessionExpiredError": "会话已过期", + "remoteEnableError": "$t(common.enable)远程服务器时出现错误", + "localFontAccessDenied": "无法获取本地字体", + "serverNotSelectedError": "未选择服务器", + "remoteDisableError": "$t(common.disable)远程服务器时出现错误", + "mpvRequired": "需要 MPV", + "audioDeviceFetchError": "无法获取音频设备", + "invalidServer": "无效的服务器", + "loginRateError": "登录请求尝试次数过多,请稍后再试" + }, + "filter": { + "mostPlayed": "播放最多", + "playCount": "播放次数", + "recentlyPlayed": "最近播放", + "title": "标题", + "rating": "评分", + "search": "搜索", + "bitrate": "比特率", + "recentlyAdded": "最近添加", + "name": "名称", + "dateAdded": "已添加日期", + "releaseDate": "发布日期", + "communityRating": "社区评分", + "path": "路径", + "favorited": "已收藏", + "albumArtist": "$t(entity.albumArtist_one)", + "releaseYear": "发布年份", + "biography": "个人简介", + "songCount": "曲目数", + "random": "随机", + "lastPlayed": "上次播放过", + "toYear": "从年份", + "fromYear": "从年份", + "criticRating": "评论家评分", + "trackNumber": "曲目", + "bpm": "bpm", + "artist": "$t(entity.artist_one)", + "comment": "评论", + "isCompilation": "为合辑", + "isFavorited": "已收藏", + "isPublic": "已公开", + "recentlyUpdated": "最近更新", + "isRated": "已评分", + "isRecentlyPlayed": "最近播放过", + "channels": "$t(common.channel_other)", + "owner": "$t(common.owner)", + "genre": "$t(entity.genre_one)", + "note": "注释", + "albumCount": "$t(entity.album_other)数", + "id": "id", + "disc": "盘", + "duration": "时长", + "album": "$t(entity.album_one)" + }, + "page": { + "sidebar": { + "nowPlaying": "正在播放", + "playlists": "$t(entity.playlist_other)", + "search": "$t(common.search)", + "tracks": "$t(entity.track_other)", + "albums": "$t(entity.album_other)", + "genres": "$t(entity.genre_other)", + "folders": "$t(entity.folder_other)", + "settings": "$t(common.setting_other)", + "home": "$t(common.home)", + "artists": "$t(entity.artist_other)", + "albumArtists": "$t(entity.albumArtist_other)" + }, + "fullscreenPlayer": { + "config": { + "showLyricMatch": "显示匹配的歌词", + "dynamicBackground": "动态背景", + "synchronized": "已同步", + "opacity": "透明度", + "lyricSize": "歌词字体大小", + "showLyricProvider": "显示歌词提供者", + "unsynchronized": "未同步", + "lyricAlignment": "歌词对齐", + "useImageAspectRatio": "使用图片纵横比", + "lyricGap": "歌词间距", + "followCurrentLyric": "跟随当前歌词" + }, + "lyrics": "歌词", + "related": "相关", + "upNext": "即将播放" + }, + "appMenu": { + "selectServer": "选择服务器", + "version": "版本 {{version}}", + "manageServers": "管理服务器", + "expandSidebar": "展开侧边栏", + "collapseSidebar": "折叠侧边栏", + "openBrowserDevtools": "打开浏览器开发者工具", + "goBack": "返回", + "goForward": "前进", + "settings": "$t(common.setting_other)", + "quit": "$t(common.quit)" + }, + "home": { + "mostPlayed": "最多播放", + "newlyAdded": "最近添加的发布", + "explore": "从库中搜索", + "recentlyPlayed": "最近播放", + "title": "$t(common.home)" + }, + "albumDetail": { + "moreFromArtist": "更多该$t(entity.artist_one)作品", + "moreFromGeneric": "更多{{item}}作品" + }, + "setting": { + "playbackTab": "播放", + "generalTab": "通用", + "hotkeysTab": "快捷键", + "windowTab": "窗口" + }, + "globalSearch": { + "commands": { + "serverCommands": "服务器命令", + "goToPage": "跳至页面", + "searchFor": "搜索 {{query}}" + }, + "title": "命令" + }, + "contextMenu": { + "setRating": "$t(action.setRating)", + "removeFromPlaylist": "$t(action.removeFromPlaylist)", + "removeFromFavorites": "$t(action.removeFromFavorites)", + "play": "$t(player.play)", + "numberSelected": "{{count}} 已选择", + "removeFromQueue": "$t(action.removeFromQueue)", + "addToPlaylist": "$t(action.addToPlaylist)", + "addToFavorites": "$t(action.addToFavorites)", + "moveToTop": "$t(action.moveToTop)", + "deletePlaylist": "$t(action.deletePlaylist)", + "moveToBottom": "$t(action.moveToBottom)", + "createPlaylist": "$t(action.createPlaylist)", + "addNext": "$t(player.addNext)", + "deselectAll": "$t(action.deselectAll)", + "addLast": "$t(player.addLast)", + "addFavorite": "$t(action.addToFavorites)" + }, + "trackList": { + "title": "$t(entity.track_other)" + }, + "albumArtistList": { + "title": "$t(entity.albumArtist_other)" + }, + "albumList": { + "title": "$t(entity.album_other)" + }, + "genreList": { + "title": "$t(entity.genre_other)" + }, + "playlistList": { + "title": "$t(entity.playlist_other)" + } + }, + "form": { + "deletePlaylist": { + "title": "删除$t(entity.playlist_one)", + "success": "$t(entity.playlist_one)已成功删除", + "input_confirm": "输入$t(entity.playlist_one)的名称进行确认" + }, + "addServer": { + "title": "添加服务器", + "input_username": "用户名", + "input_password": "密码", + "input_legacyAuthentication": "启用旧版认证方式", + "input_name": "服务器名", + "success": "服务器添加成功", + "input_savePassword": "保存密码", + "ignoreSsl": "忽略 ssl $t(common.restartRequired)", + "ignoreCors": "忽略 cors $t(common.restartRequired)", + "error_savePassword": "保存密码时出现错误", + "input_url": "url" + }, + "addToPlaylist": { + "success": "添加 {{message}} $t(entity.track_other) 到 {{numOfPlaylists}} $t(entity.playlist_other)", + "title": "添加到$t(entity.playlist_one)", + "input_skipDuplicates": "跳过重复", + "input_playlists": "$t(entity.playlist_other)" + }, + "createPlaylist": { + "title": "创建$t(entity.playlist_one)", + "input_public": "公开", + "success": "已成功创建 $t(entity.playlist_one)", + "input_description": "$t(common.description)", + "input_name": "$t(common.name)", + "input_owner": "$t(common.owner)" + }, + "updateServer": { + "title": "更新服务器", + "success": "服务器已更新成功" + }, + "queryEditor": { + "input_optionMatchAll": "匹配全部", + "input_optionMatchAny": "匹配任何" + }, + "editPlaylist": { + "title": "编辑$t(entity.playlist_one)" + }, + "lyricSearch": { + "title": "搜索歌词", + "input_name": "$t(common.name)", + "input_artist": "$t(entity.artist_one)" + } + }, + "table": { + "config": { + "general": { + "displayType": "显示风格", + "gap": "$t(common.gap)", + "tableColumns": "列", + "autoFitColumns": "列宽自适应", + "size": "$t(common.size)" + }, + "view": { + "table": "表格", + "poster": "海报", + "card": "卡片" + }, + "label": { + "releaseDate": "发布日期", + "title": "$t(common.title)", + "duration": "$t(common.duration)", + "dateAdded": "添加日期", + "size": "$t(common.size)", + "bpm": "$t(common.bpm)", + "lastPlayed": "最后播放", + "trackNumber": "音轨编号", + "rowIndex": "行号", + "rating": "$t(common.rating)", + "artist": "$t(entity.artist_one)", + "album": "$t(entity.album_one)", + "note": "$t(common.note)", + "biography": "$t(common.biography)", + "owner": "$t(common.owner)", + "path": "$t(common.path)", + "channels": "$t(common.channel_other)", + "playCount": "播放数", + "bitrate": "$t(common.bitrate)", + "actions": "$t(common.action_other)", + "genre": "$t(entity.genre_one)", + "discNumber": "碟片编号", + "favorite": "$t(common.favorite)", + "year": "$t(common.year)", + "albumArtist": "$t(entity.albumArtist_one)", + "titleCombined": "$t(common.title)(合并)" + } + }, + "column": { + "comment": "评论", + "album": "专辑", + "rating": "评价", + "favorite": "收藏", + "playCount": "播放次数", + "albumCount": "$t(entity.album_other)", + "releaseYear": "年份", + "lastPlayed": "最后播放", + "biography": "简介", + "releaseDate": "发布日期", + "bitrate": "比特率", + "title": "标题", + "bpm": "bpm", + "dateAdded": "添加日期", + "artist": "$t(entity.artist_one)", + "songCount": "$t(entity.track_other)", + "trackNumber": "音轨编号", + "genre": "$t(entity.genre_one)", + "albumArtist": "专辑艺术家", + "path": "路径", + "channels": "$t(common.channel_other)", + "discNumber": "盘" + } + } +} diff --git a/src/i18n/locales/zh-Hant.json b/src/i18n/locales/zh-Hant.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/src/i18n/locales/zh-Hant.json @@ -0,0 +1 @@ +{} diff --git a/src/main/features/core/discord-rpc/index.ts b/src/main/features/core/discord-rpc/index.ts new file mode 100644 index 000000000..22737f4f4 --- /dev/null +++ b/src/main/features/core/discord-rpc/index.ts @@ -0,0 +1,63 @@ +import { Client, SetActivity } from '@xhayper/discord-rpc'; +import { ipcMain } from 'electron'; + +const FEISHIN_DISCORD_APPLICATION_ID = '1165957668758900787'; + +let client: Client | null = null; + +const createClient = (clientId?: string) => { + client = new Client({ + clientId: clientId || FEISHIN_DISCORD_APPLICATION_ID, + }); + + client.login(); + + return client; +}; + +const setActivity = (activity: SetActivity) => { + if (client) { + client.user?.setActivity({ + ...activity, + }); + } +}; + +const clearActivity = () => { + if (client) { + client.user?.clearActivity(); + } +}; + +const quit = () => { + if (client) { + client?.destroy(); + } +}; + +ipcMain.handle('discord-rpc-initialize', (_event, clientId?: string) => { + createClient(clientId); +}); + +ipcMain.handle('discord-rpc-set-activity', (_event, activity: SetActivity) => { + if (client) { + setActivity(activity); + } +}); + +ipcMain.handle('discord-rpc-clear-activity', () => { + if (client) { + clearActivity(); + } +}); + +ipcMain.handle('discord-rpc-quit', () => { + quit(); +}); + +export const discordRpc = { + clearActivity, + createClient, + quit, + setActivity, +}; diff --git a/src/main/features/core/index.ts b/src/main/features/core/index.ts index e2b2455be..1846db0db 100644 --- a/src/main/features/core/index.ts +++ b/src/main/features/core/index.ts @@ -2,3 +2,4 @@ import './lyrics'; import './player'; import './remote'; import './settings'; +import './discord-rpc'; diff --git a/src/main/features/core/player/index.ts b/src/main/features/core/player/index.ts index facd1b1a1..f6d6f4b3e 100644 --- a/src/main/features/core/player/index.ts +++ b/src/main/features/core/player/index.ts @@ -1,7 +1,11 @@ import console from 'console'; -import { ipcMain } from 'electron'; -import { getMpvInstance } from '../../../main'; +import { app, ipcMain } from 'electron'; +import uniq from 'lodash/uniq'; +import MpvAPI from 'node-mpv'; +import { getMainWindow, sendToastToRenderer } from '../../../main'; import { PlayerData } from '/@/renderer/store'; +import { createLog, isWindows } from '../../../utils'; +import { store } from '../settings'; declare module 'node-mpv'; @@ -13,6 +17,208 @@ declare module 'node-mpv'; // }); // } +let mpvInstance: MpvAPI | null = null; + +const NodeMpvErrorCode = { + 0: 'Unable to load file or stream', + 1: 'Invalid argument', + 2: 'Binary not found', + 3: 'IPC command invalid', + 4: 'Unable to bind IPC socket', + 5: 'Connection timeout', + 6: 'MPV is already running', + 7: 'Could not send IPC message', + 8: 'MPV is not running', + 9: 'Unsupported protocol', +}; + +type NodeMpvError = { + errcode: number; + method: string; + stackTrace: string; + verbose: string; +}; + +const mpvLog = ( + data: { action: string; toast?: 'info' | 'success' | 'warning' }, + err?: NodeMpvError, +) => { + const { action, toast } = data; + + if (err) { + const message = `[AUDIO PLAYER] ${action} - mpv errorcode ${err.errcode} - ${ + NodeMpvErrorCode[err.errcode as keyof typeof NodeMpvErrorCode] + }`; + + sendToastToRenderer({ message, type: 'error' }); + createLog({ message, type: 'error' }); + } + + const message = `[AUDIO PLAYER] ${action}`; + createLog({ message, type: 'error' }); + if (toast) { + sendToastToRenderer({ message, type: toast }); + } +}; + +const MPV_BINARY_PATH = store.get('mpv_path') as string | undefined; +const isDevelopment = process.env.NODE_ENV === 'development' || process.env.DEBUG_PROD === 'true'; + +const prefetchPlaylistParams = [ + '--prefetch-playlist=no', + '--prefetch-playlist=yes', + '--prefetch-playlist', +]; + +const DEFAULT_MPV_PARAMETERS = (extraParameters?: string[]) => { + const parameters = ['--idle=yes', '--no-config', '--load-scripts=no']; + + if (!extraParameters?.some((param) => prefetchPlaylistParams.includes(param))) { + parameters.push('--prefetch-playlist=yes'); + } + + return parameters; +}; + +const createMpv = async (data: { + binaryPath?: string; + extraParameters?: string[]; + properties?: Record; +}): Promise => { + const { extraParameters, properties, binaryPath } = data; + + const params = uniq([...DEFAULT_MPV_PARAMETERS(extraParameters), ...(extraParameters || [])]); + + const extra = isDevelopment ? '-dev' : ''; + + const mpv = new MpvAPI( + { + audio_only: true, + auto_restart: false, + binary: binaryPath || MPV_BINARY_PATH || undefined, + socket: isWindows() ? `\\\\.\\pipe\\mpvserver${extra}` : `/tmp/node-mpv${extra}.sock`, + time_update: 1, + }, + params, + ); + + try { + await mpv.start(); + } catch (error: any) { + console.log('mpv failed to start', error); + } finally { + await mpv.setMultipleProperties(properties || {}); + } + + mpv.on('status', (status) => { + if (status.property === 'playlist-pos') { + if (status.value === -1) { + mpv?.stop(); + } + + if (status.value !== 0) { + getMainWindow()?.webContents.send('renderer-player-auto-next'); + } + } + }); + + // Automatically updates the play button when the player is playing + mpv.on('resumed', () => { + getMainWindow()?.webContents.send('renderer-player-play'); + }); + + // Automatically updates the play button when the player is stopped + mpv.on('stopped', () => { + getMainWindow()?.webContents.send('renderer-player-stop'); + }); + + // Automatically updates the play button when the player is paused + mpv.on('paused', () => { + getMainWindow()?.webContents.send('renderer-player-pause'); + }); + + // Event output every interval set by time_update, used to update the current time + mpv.on('timeposition', (time: number) => { + getMainWindow()?.webContents.send('renderer-player-current-time', time); + }); + + return mpv; +}; + +export const getMpvInstance = () => { + return mpvInstance; +}; + +const setAudioPlayerFallback = (isError: boolean) => { + getMainWindow()?.webContents.send('renderer-player-fallback', isError); +}; + +ipcMain.on('player-set-properties', async (_event, data: Record) => { + mpvLog({ action: `Setting properties: ${JSON.stringify(data)}` }); + if (data.length === 0) { + return; + } + + try { + if (data.length === 1) { + getMpvInstance()?.setProperty(Object.keys(data)[0], Object.values(data)[0]); + } else { + getMpvInstance()?.setMultipleProperties(data); + } + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to set properties: ${JSON.stringify(data)}` }, err); + } +}); + +ipcMain.handle( + 'player-restart', + async (_event, data: { extraParameters?: string[]; properties?: Record }) => { + try { + mpvLog({ + action: `Attempting to initialize mpv with parameters: ${JSON.stringify(data)}`, + }); + + // Clean up previous mpv instance + getMpvInstance()?.stop(); + getMpvInstance()?.quit(); + mpvInstance = null; + + mpvInstance = await createMpv(data); + mpvLog({ action: 'Restarted mpv', toast: 'success' }); + setAudioPlayerFallback(false); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to restart mpv, falling back to web player' }, err); + setAudioPlayerFallback(true); + } + }, +); + +ipcMain.handle( + 'player-initialize', + async (_event, data: { extraParameters?: string[]; properties?: Record }) => { + try { + mpvLog({ + action: `Attempting to initialize mpv with parameters: ${JSON.stringify(data)}`, + }); + mpvInstance = await createMpv(data); + setAudioPlayerFallback(false); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to initialize mpv, falling back to web player' }, err); + setAudioPlayerFallback(true); + } + }, +); + +ipcMain.on('player-quit', async () => { + try { + getMpvInstance()?.stop(); + getMpvInstance()?.quit(); + mpvInstance = null; + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to quit mpv' }, err); + } +}); + ipcMain.handle('player-is-running', async () => { return getMpvInstance()?.isRunning(); }); @@ -23,99 +229,93 @@ ipcMain.handle('player-clean-up', async () => { }); ipcMain.on('player-start', async () => { - await getMpvInstance() - ?.play() - .catch((err) => { - console.log('MPV failed to play', err); - }); + try { + await getMpvInstance()?.play(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to start mpv playback' }, err); + } }); // Starts the player ipcMain.on('player-play', async () => { - await getMpvInstance() - ?.play() - .catch((err) => { - console.log('MPV failed to play', err); - }); + try { + await getMpvInstance()?.play(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to start mpv playback' }, err); + } }); // Pauses the player ipcMain.on('player-pause', async () => { - await getMpvInstance() - ?.pause() - .catch((err) => { - console.log('MPV failed to pause', err); - }); + try { + await getMpvInstance()?.pause(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to pause mpv playback' }, err); + } }); // Stops the player ipcMain.on('player-stop', async () => { - await getMpvInstance() - ?.stop() - .catch((err) => { - console.log('MPV failed to stop', err); - }); + try { + await getMpvInstance()?.stop(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to stop mpv playback' }, err); + } }); // Goes to the next track in the playlist ipcMain.on('player-next', async () => { - await getMpvInstance() - ?.next() - .catch((err) => { - console.log('MPV failed to go to next', err); - }); + try { + await getMpvInstance()?.next(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to go to next track' }, err); + } }); // Goes to the previous track in the playlist ipcMain.on('player-previous', async () => { - await getMpvInstance() - ?.prev() - .catch((err) => { - console.log('MPV failed to go to previous', err); - }); + try { + await getMpvInstance()?.prev(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: 'Failed to go to previous track' }, err); + } }); // Seeks forward or backward by the given amount of seconds ipcMain.on('player-seek', async (_event, time: number) => { - await getMpvInstance() - ?.seek(time) - .catch((err) => { - console.log('MPV failed to seek', err); - }); + try { + await getMpvInstance()?.seek(time); + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to seek by ${time} seconds` }, err); + } }); // Seeks to the given time in seconds ipcMain.on('player-seek-to', async (_event, time: number) => { - await getMpvInstance() - ?.goToPosition(time) - .catch((err) => { - console.log(`MPV failed to seek to ${time}`, err); - }); + try { + await getMpvInstance()?.goToPosition(time); + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to seek to ${time} seconds` }, err); + } }); // Sets the queue in position 0 and 1 to the given data. Used when manually starting a song or using the next/prev buttons ipcMain.on('player-set-queue', async (_event, data: PlayerData, pause?: boolean) => { if (!data.queue.current && !data.queue.next) { - await getMpvInstance() - ?.clearPlaylist() - .catch((err) => { - console.log('MPV failed to clear playlist', err); - }); - - await getMpvInstance() - ?.pause() - .catch((err) => { - console.log('MPV failed to pause', err); - }); - return; + try { + await getMpvInstance()?.clearPlaylist(); + await getMpvInstance()?.pause(); + return; + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to clear play queue` }, err); + } } try { if (data.queue.current) { await getMpvInstance() ?.load(data.queue.current.streamUrl, 'replace') - .catch((err) => { - console.log('MPV failed to load song', err); + .catch(() => { getMpvInstance()?.play(); }); @@ -123,41 +323,36 @@ ipcMain.on('player-set-queue', async (_event, data: PlayerData, pause?: boolean) await getMpvInstance()?.load(data.queue.next.streamUrl, 'append'); } } - } catch (err) { - console.error(err); - } - if (pause) { - getMpvInstance()?.pause(); + if (pause) { + await getMpvInstance()?.pause(); + } else if (pause === false) { + // Only force play if pause is explicitly false + await getMpvInstance()?.play(); + } + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to set play queue` }, err); } }); // Replaces the queue in position 1 to the given data ipcMain.on('player-set-queue-next', async (_event, data: PlayerData) => { - const size = await getMpvInstance() - ?.getPlaylistSize() - .catch((err) => { - console.log('MPV failed to get playlist size', err); - }); + try { + const size = await getMpvInstance()?.getPlaylistSize(); - if (!size) { - return; - } + if (!size) { + return; + } - if (size > 1) { - await getMpvInstance() - ?.playlistRemove(1) - .catch((err) => { - console.log('MPV failed to remove song from playlist', err); - }); - } + if (size > 1) { + await getMpvInstance()?.playlistRemove(1); + } - if (data.queue.next) { - await getMpvInstance() - ?.load(data.queue.next.streamUrl, 'append') - .catch((err) => { - console.log('MPV failed to load next song', err); - }); + if (data.queue.next) { + await getMpvInstance()?.load(data.queue.next.streamUrl, 'append'); + } + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to set play queue` }, err); } }); @@ -166,40 +361,57 @@ ipcMain.on('player-auto-next', async (_event, data: PlayerData) => { // Always keep the current song as position 0 in the mpv queue // This allows us to easily set update the next song in the queue without // disturbing the currently playing song - await getMpvInstance() - ?.playlistRemove(0) - .catch((err) => { - console.log('MPV failed to remove song from playlist', err); - getMpvInstance()?.pause(); - }); - - if (data.queue.next) { + try { await getMpvInstance() - ?.load(data.queue.next.streamUrl, 'append') - .catch((err) => { - console.log('MPV failed to load next song', err); + ?.playlistRemove(0) + .catch(() => { + getMpvInstance()?.pause(); }); + + if (data.queue.next) { + await getMpvInstance()?.load(data.queue.next.streamUrl, 'append'); + } + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to load next song` }, err); } }); // Sets the volume to the given value (0-100) ipcMain.on('player-volume', async (_event, value: number) => { - await getMpvInstance() - ?.volume(value) - .catch((err) => { - console.log('MPV failed to set volume', err); - }); + try { + if (!value || value < 0 || value > 100) { + return; + } + + await getMpvInstance()?.volume(value); + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to set volume to ${value}` }, err); + } }); // Toggles the mute status ipcMain.on('player-mute', async (_event, mute: boolean) => { - await getMpvInstance() - ?.mute(mute) - .catch((err) => { - console.log('MPV failed to toggle mute', err); - }); + try { + await getMpvInstance()?.mute(mute); + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to set mute status` }, err); + } }); ipcMain.handle('player-get-time', async (): Promise => { - return getMpvInstance()?.getTimePosition(); + try { + return getMpvInstance()?.getTimePosition(); + } catch (err: NodeMpvError | any) { + mpvLog({ action: `Failed to get current time` }, err); + return 0; + } +}); + +app.on('before-quit', () => { + getMpvInstance()?.stop(); + getMpvInstance()?.quit(); +}); + +app.on('window-all-closed', () => { + getMpvInstance()?.quit(); }); diff --git a/src/main/features/core/player/media-keys.ts b/src/main/features/core/player/media-keys.ts index 2aefd7fd6..bac8c2ca1 100644 --- a/src/main/features/core/player/media-keys.ts +++ b/src/main/features/core/player/media-keys.ts @@ -1,7 +1,26 @@ /* eslint-disable promise/always-return */ -import { BrowserWindow, globalShortcut } from 'electron'; +import { BrowserWindow, globalShortcut, systemPreferences } from 'electron'; +import { isMacOS } from '../../../utils'; +import { store } from '../settings'; export const enableMediaKeys = (window: BrowserWindow | null) => { + if (isMacOS()) { + const shouldPrompt = store.get('should_prompt_accessibility', true) as boolean; + const trusted = systemPreferences.isTrustedAccessibilityClient(shouldPrompt); + + if (shouldPrompt) { + store.set('should_prompt_accessibility', false); + } + + if (!trusted) { + window?.webContents.send('toast-from-main', { + message: + 'Feishin is not a trusted accessibility client. Media keys will not work until this setting is changed', + type: 'warning', + }); + } + } + globalShortcut.register('MediaStop', () => { window?.webContents.send('renderer-player-stop'); }); diff --git a/src/main/features/core/settings/index.ts b/src/main/features/core/settings/index.ts index f45addea5..f829ea588 100644 --- a/src/main/features/core/settings/index.ts +++ b/src/main/features/core/settings/index.ts @@ -1,5 +1,6 @@ -import { ipcMain, safeStorage } from 'electron'; +import { ipcMain, nativeTheme, safeStorage } from 'electron'; import Store from 'electron-store'; +import type { TitleTheme } from '/@/renderer/types'; export const store = new Store(); @@ -48,3 +49,8 @@ ipcMain.handle('password-set', (_event, password: string, server: string) => { } return false; }); + +ipcMain.on('theme-set', (_event, theme: TitleTheme) => { + store.set('theme', theme); + nativeTheme.themeSource = theme; +}); diff --git a/src/main/features/linux/mpris.ts b/src/main/features/linux/mpris.ts index bc21595ce..4fe285d0c 100644 --- a/src/main/features/linux/mpris.ts +++ b/src/main/features/linux/mpris.ts @@ -70,6 +70,8 @@ mprisPlayer.on('volume', (vol: number) => { getMainWindow()?.webContents.send('request-volume', { volume, }); + + mprisPlayer.volume = volume / 100; }); mprisPlayer.on('shuffle', (event: boolean) => { @@ -154,12 +156,19 @@ ipcMain.on('update-song', (_event, args: SongUpdate) => { ? song.albumArtists.map((artist) => artist.name) : null, 'xesam:artist': song.artists?.length ? song.artists.map((artist) => artist.name) : null, + 'xesam:audioBpm': song.bpm, + // Comment is a `list of strings` type + 'xesam:comment': song.comment ? [song.comment] : null, + 'xesam:contentCreated': song.releaseDate, 'xesam:discNumber': song.discNumber ? song.discNumber : null, 'xesam:genre': song.genres?.length ? song.genres.map((genre: any) => genre.name) : null, + 'xesam:lastUsed': song.lastPlayedAt, 'xesam:title': song.name || null, 'xesam:trackNumber': song.trackNumber ? song.trackNumber : null, 'xesam:useCount': song.playCount !== null && song.playCount !== undefined ? song.playCount : null, + // User ratings are only on Navidrome/Subsonic and are on a scale of 1-5 + 'xesam:userRating': song.userRating ? song.userRating / 5 : null, }; } catch (err) { console.log(err); diff --git a/src/main/main.ts b/src/main/main.ts index 1d2932971..107c6562b 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -20,29 +20,41 @@ import { Tray, Menu, nativeImage, + nativeTheme, BrowserWindowConstructorOptions, + protocol, + net, } from 'electron'; import electronLocalShortcut from 'electron-localshortcut'; -import log from 'electron-log'; +import log from 'electron-log/main'; import { autoUpdater } from 'electron-updater'; -import uniq from 'lodash/uniq'; -import MpvAPI from 'node-mpv'; import { disableMediaKeys, enableMediaKeys } from './features/core/player/media-keys'; import { store } from './features/core/settings/index'; import MenuBuilder from './menu'; -import { hotkeyToElectronAccelerator, isLinux, isMacOS, isWindows, resolveHtmlPath } from './utils'; +import { + hotkeyToElectronAccelerator, + isLinux, + isMacOS, + isWindows, + resolveHtmlPath, + createLog, + autoUpdaterLogInterface, +} from './utils'; import './features'; +import type { TitleTheme } from '/@/renderer/types'; declare module 'node-mpv'; export default class AppUpdater { constructor() { log.transports.file.level = 'info'; - autoUpdater.logger = log; + autoUpdater.logger = autoUpdaterLogInterface; autoUpdater.checkForUpdatesAndNotify(); } } +protocol.registerSchemesAsPrivileged([{ privileges: { bypassCSP: true }, scheme: 'feishin' }]); + process.on('uncaughtException', (error: any) => { console.log('Error in main process', error); }); @@ -51,6 +63,12 @@ if (store.get('ignore_ssl')) { app.commandLine.appendSwitch('ignore-certificate-errors'); } +// From https://github.com/tutao/tutanota/commit/92c6ed27625fcf367f0fbcc755d83d7ff8fde94b +if (isLinux() && !process.argv.some((a) => a.startsWith('--password-store='))) { + const paswordStore = store.get('password_store', 'gnome-libsecret') as string; + app.commandLine.appendSwitch('password-store', paswordStore); +} + let mainWindow: BrowserWindow | null = null; let tray: Tray | null = null; let exitFromTray = false; @@ -80,16 +98,6 @@ const installExtensions = async () => { .catch(console.log); }; -const singleInstance = app.requestSingleInstanceLock(); - -if (!singleInstance) { - app.quit(); -} else { - app.on('second-instance', () => { - mainWindow?.show(); - }); -} - const RESOURCES_PATH = app.isPackaged ? path.join(process.resourcesPath, 'assets') : path.join(__dirname, '../../assets'); @@ -102,6 +110,19 @@ export const getMainWindow = () => { return mainWindow; }; +export const sendToastToRenderer = ({ + message, + type, +}: { + message: string; + type: 'success' | 'error' | 'warning' | 'info'; +}) => { + getMainWindow()?.webContents.send('toast-from-main', { + message, + type, + }); +}; + const createWinThumbarButtons = () => { if (isWindows()) { getMainWindow()?.setThumbarButtons([ @@ -185,7 +206,7 @@ const createTray = () => { tray.setContextMenu(contextMenu); }; -const createWindow = async () => { +const createWindow = async (first = true) => { if (isDevelopment) { await installExtensions(); } @@ -200,8 +221,8 @@ const createWindow = async () => { }, macOS: { autoHideMenuBar: true, - frame: false, - titleBarStyle: 'hidden', + frame: true, + titleBarStyle: 'default', trafficLightPosition: { x: 10, y: 10 }, }, windows: { @@ -264,6 +285,10 @@ const createWindow = async () => { app.exit(); }); + ipcMain.handle('window-clear-cache', async () => { + return mainWindow?.webContents.session.clearCache(); + }); + ipcMain.on('app-restart', () => { // Fix for .AppImage if (process.env.APPIMAGE) { @@ -310,34 +335,36 @@ const createWindow = async () => { } const queue = JSON.parse(data.toString()); - getMainWindow()?.webContents.send('renderer-player-restore-queue', queue); + getMainWindow()?.webContents.send('renderer-restore-queue', queue); }); }); }); } }); - const globalMediaKeysEnabled = store.get('global_media_hotkeys') as boolean; + const globalMediaKeysEnabled = store.get('global_media_hotkeys', true) as boolean; - if (globalMediaKeysEnabled !== false) { + if (globalMediaKeysEnabled) { enableMediaKeys(mainWindow); } mainWindow.loadURL(resolveHtmlPath('index.html')); + const startWindowMinimized = store.get('window_start_minimized', false) as boolean; + mainWindow.on('ready-to-show', () => { if (!mainWindow) { throw new Error('"mainWindow" is not defined'); } - if (process.env.START_MINIMIZED) { - mainWindow.minimize(); - } else { + + if (!first || !startWindowMinimized) { mainWindow.show(); createWinThumbarButtons(); } }); mainWindow.on('closed', () => { + ipcMain.removeHandler('window-clear-cache'); mainWindow = null; }); @@ -356,7 +383,7 @@ const createWindow = async () => { event.preventDefault(); saved = true; - getMainWindow()?.webContents.send('renderer-player-save-queue'); + getMainWindow()?.webContents.send('renderer-save-queue'); ipcMain.once('player-save-queue', async (_event, data: Record) => { const queueLocation = join(app.getPath('userData'), 'queue'); @@ -420,139 +447,12 @@ const createWindow = async () => { // eslint-disable-next-line new AppUpdater(); } -}; - -app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService'); - -const MPV_BINARY_PATH = store.get('mpv_path') as string | undefined; - -const prefetchPlaylistParams = [ - '--prefetch-playlist=no', - '--prefetch-playlist=yes', - '--prefetch-playlist', -]; -const DEFAULT_MPV_PARAMETERS = (extraParameters?: string[]) => { - const parameters = ['--idle=yes', '--no-config', '--load-scripts=no']; - - if (!extraParameters?.some((param) => prefetchPlaylistParams.includes(param))) { - parameters.push('--prefetch-playlist=yes'); - } - - return parameters; + const theme = store.get('theme') as TitleTheme | undefined; + nativeTheme.themeSource = theme || 'dark'; }; -let mpvInstance: MpvAPI | null = null; - -const createMpv = (data: { extraParameters?: string[]; properties?: Record }) => { - const { extraParameters, properties } = data; - - const params = uniq([...DEFAULT_MPV_PARAMETERS(extraParameters), ...(extraParameters || [])]); - console.log('Setting mpv params: ', params); - - const extra = isDevelopment ? '-dev' : ''; - - const mpv = new MpvAPI( - { - audio_only: true, - auto_restart: false, - binary: MPV_BINARY_PATH || '', - socket: isWindows() ? `\\\\.\\pipe\\mpvserver${extra}` : `/tmp/node-mpv${extra}.sock`, - time_update: 1, - }, - params, - ); - - // eslint-disable-next-line promise/catch-or-return - mpv.start() - .catch((error) => { - console.log('MPV failed to start', error); - }) - .finally(() => { - console.log('Setting MPV properties: ', properties); - mpv.setMultipleProperties(properties || {}); - }); - - mpv.on('status', (status, ...rest) => { - console.log('MPV Event: status', status.property, status.value, rest); - if (status.property === 'playlist-pos') { - if (status.value === -1) { - mpv?.stop(); - } - - if (status.value !== 0) { - getMainWindow()?.webContents.send('renderer-player-auto-next'); - } - } - }); - - // Automatically updates the play button when the player is playing - mpv.on('resumed', () => { - console.log('MPV Event: resumed'); - getMainWindow()?.webContents.send('renderer-player-play'); - }); - - // Automatically updates the play button when the player is stopped - mpv.on('stopped', () => { - console.log('MPV Event: stopped'); - getMainWindow()?.webContents.send('renderer-player-stop'); - }); - - // Automatically updates the play button when the player is paused - mpv.on('paused', () => { - console.log('MPV Event: paused'); - getMainWindow()?.webContents.send('renderer-player-pause'); - }); - - // Event output every interval set by time_update, used to update the current time - mpv.on('timeposition', (time: number) => { - getMainWindow()?.webContents.send('renderer-player-current-time', time); - }); - - mpv.on('quit', () => { - console.log('MPV Event: quit'); - }); - - return mpv; -}; - -export const getMpvInstance = () => { - return mpvInstance; -}; - -ipcMain.on('player-set-properties', async (_event, data: Record) => { - if (data.length === 0) { - return; - } - - if (data.length === 1) { - getMpvInstance()?.setProperty(Object.keys(data)[0], Object.values(data)[0]); - } else { - getMpvInstance()?.setMultipleProperties(data); - } -}); - -ipcMain.on( - 'player-restart', - async (_event, data: { extraParameters?: string[]; properties?: Record }) => { - mpvInstance?.quit(); - mpvInstance = createMpv(data); - }, -); - -ipcMain.on( - 'player-initialize', - async (_event, data: { extraParameters?: string[]; properties?: Record }) => { - console.log('Initializing MPV with data: ', data); - mpvInstance = createMpv(data); - }, -); - -ipcMain.on('player-quit', async () => { - mpvInstance?.stop(); - mpvInstance?.quit(); - mpvInstance = null; -}); +app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService'); // Must duplicate with the one in renderer process settings.store.ts enum BindingActions { @@ -628,7 +528,7 @@ ipcMain.on( } } - const globalMediaKeysEnabled = store.get('global_media_hotkeys') as boolean; + const globalMediaKeysEnabled = store.get('global_media_hotkeys', true) as boolean; if (globalMediaKeysEnabled) { enableMediaKeys(mainWindow); @@ -636,31 +536,85 @@ ipcMain.on( }, ); -app.on('before-quit', () => { - getMpvInstance()?.stop(); - getMpvInstance()?.quit(); -}); +ipcMain.on( + 'logger', + ( + _event, + data: { + message: string; + type: 'debug' | 'verbose' | 'success' | 'error' | 'warning' | 'info'; + }, + ) => { + createLog(data); + }, +); app.on('window-all-closed', () => { globalShortcut.unregisterAll(); - getMpvInstance()?.quit(); // Respect the OSX convention of having the application in memory even // after all windows have been closed if (isMacOS()) { + ipcMain.removeHandler('window-clear-cache'); mainWindow = null; } else { app.quit(); } }); -app.whenReady() - .then(() => { - createWindow(); - createTray(); - app.on('activate', () => { - // On macOS it's common to re-create a window in the app when the - // dock icon is clicked and there are no other windows open. - if (mainWindow === null) createWindow(); - }); - }) - .catch(console.log); +const FONT_HEADERS = [ + 'font/collection', + 'font/otf', + 'font/sfnt', + 'font/ttf', + 'font/woff', + 'font/woff2', +]; + +const singleInstance = app.requestSingleInstanceLock(); + +if (!singleInstance) { + app.quit(); +} else { + app.on('second-instance', () => { + if (mainWindow) { + if (mainWindow.isMinimized()) { + mainWindow.restore(); + } + + mainWindow.focus(); + } + }); + + app.whenReady() + .then(() => { + protocol.handle('feishin', async (request) => { + const filePath = `file://${request.url.slice('feishin://'.length)}`; + const response = await net.fetch(filePath); + const contentType = response.headers.get('content-type'); + + if (!contentType || !FONT_HEADERS.includes(contentType)) { + getMainWindow()?.webContents.send('custom-font-error', filePath); + + return new Response(null, { + status: 403, + statusText: 'Forbidden', + }); + } + + return response; + }); + + createWindow(); + createTray(); + app.on('activate', () => { + // On macOS it's common to re-create a window in the app when the + // dock icon is clicked and there are no other windows open. + if (mainWindow === null) createWindow(false); + else if (!mainWindow.isVisible()) { + mainWindow.show(); + createWinThumbarButtons(); + } + }); + }) + .catch(console.log); +} diff --git a/src/main/preload.ts b/src/main/preload.ts index c87e5877b..d21837853 100644 --- a/src/main/preload.ts +++ b/src/main/preload.ts @@ -1,5 +1,6 @@ import { contextBridge } from 'electron'; import { browser } from './preload/browser'; +import { discordRpc } from './preload/discord-rpc'; import { ipc } from './preload/ipc'; import { localSettings } from './preload/local-settings'; import { lyrics } from './preload/lyrics'; @@ -10,6 +11,7 @@ import { utils } from './preload/utils'; contextBridge.exposeInMainWorld('electron', { browser, + discordRpc, ipc, localSettings, lyrics, diff --git a/src/main/preload/browser.ts b/src/main/preload/browser.ts index d24e739a6..bf7b58812 100644 --- a/src/main/preload/browser.ts +++ b/src/main/preload/browser.ts @@ -24,7 +24,12 @@ const devtools = () => { ipcRenderer.send('window-dev-tools'); }; +const clearCache = (): Promise => { + return ipcRenderer.invoke('window-clear-cache'); +}; + export const browser = { + clearCache, devtools, exit, maximize, @@ -32,3 +37,5 @@ export const browser = { quit, unmaximize, }; + +export type Browser = typeof browser; diff --git a/src/main/preload/discord-rpc.ts b/src/main/preload/discord-rpc.ts new file mode 100644 index 000000000..560a20f23 --- /dev/null +++ b/src/main/preload/discord-rpc.ts @@ -0,0 +1,28 @@ +import { SetActivity } from '@xhayper/discord-rpc'; +import { ipcRenderer } from 'electron'; + +const initialize = (clientId: string) => { + const client = ipcRenderer.invoke('discord-rpc-initialize', clientId); + return client; +}; + +const clearActivity = () => { + ipcRenderer.invoke('discord-rpc-clear-activity'); +}; + +const setActivity = (activity: SetActivity) => { + ipcRenderer.invoke('discord-rpc-set-activity', activity); +}; + +const quit = () => { + ipcRenderer.invoke('discord-rpc-quit'); +}; + +export const discordRpc = { + clearActivity, + initialize, + quit, + setActivity, +}; + +export type DiscordRpc = typeof discordRpc; diff --git a/src/main/preload/local-settings.ts b/src/main/preload/local-settings.ts index ee8044e0b..c6269411d 100644 --- a/src/main/preload/local-settings.ts +++ b/src/main/preload/local-settings.ts @@ -1,9 +1,18 @@ -import { ipcRenderer, webFrame } from 'electron'; +import { IpcRendererEvent, ipcRenderer, webFrame } from 'electron'; import Store from 'electron-store'; +import { toServerType, type TitleTheme } from '/@/renderer/types'; const store = new Store(); -const set = (property: string, value: string | Record | boolean | string[]) => { +const set = ( + property: string, + value: string | Record | boolean | string[] | undefined, +) => { + if (value === undefined) { + store.delete(property); + return; + } + store.set(`${property}`, value); }; @@ -39,9 +48,29 @@ const setZoomFactor = (zoomFactor: number) => { webFrame.setZoomFactor(zoomFactor / 100); }; +const fontError = (cb: (event: IpcRendererEvent, file: string) => void) => { + ipcRenderer.on('custom-font-error', cb); +}; + +const themeSet = (theme: TitleTheme): void => { + ipcRenderer.send('theme-set', theme); +}; + +const SERVER_TYPE = toServerType(process.env.SERVER_TYPE); + +const env = { + SERVER_LOCK: + SERVER_TYPE !== null ? process.env.SERVER_LOCK?.toLocaleLowerCase() === 'true' : false, + SERVER_NAME: process.env.SERVER_NAME ?? '', + SERVER_TYPE, + SERVER_URL: process.env.SERVER_URL ?? 'http://', +}; + export const localSettings = { disableMediaKeys, enableMediaKeys, + env, + fontError, get, passwordGet, passwordRemove, @@ -49,6 +78,7 @@ export const localSettings = { restart, set, setZoomFactor, + themeSet, }; export type LocalSettings = typeof localSettings; diff --git a/src/main/preload/mpv-player.ts b/src/main/preload/mpv-player.ts index 49c1e34ce..78108e296 100644 --- a/src/main/preload/mpv-player.ts +++ b/src/main/preload/mpv-player.ts @@ -1,12 +1,16 @@ import { ipcRenderer, IpcRendererEvent } from 'electron'; -import { PlayerData, PlayerState } from '/@/renderer/store'; +import { PlayerData } from '/@/renderer/store'; const initialize = (data: { extraParameters?: string[]; properties?: Record }) => { - ipcRenderer.send('player-initialize', data); + return ipcRenderer.invoke('player-initialize', data); }; -const restart = (data: { extraParameters?: string[]; properties?: Record }) => { - ipcRenderer.send('player-restart', data); +const restart = (data: { + binaryPath?: string; + extraParameters?: string[]; + properties?: Record; +}) => { + return ipcRenderer.invoke('player-restart', data); }; const isRunning = () => { @@ -18,7 +22,6 @@ const cleanup = () => { }; const setProperties = (data: Record) => { - console.log('Setting property :>>', data); ipcRenderer.send('player-set-properties', data); }; @@ -50,14 +53,6 @@ const previous = () => { ipcRenderer.send('player-previous'); }; -const restoreQueue = () => { - ipcRenderer.send('player-restore-queue'); -}; - -const saveQueue = (data: Record) => { - ipcRenderer.send('player-save-queue', data); -}; - const seek = (seconds: number) => { ipcRenderer.send('player-seek', seconds); }; @@ -154,20 +149,14 @@ const rendererQuit = (cb: (event: IpcRendererEvent) => void) => { ipcRenderer.on('renderer-player-quit', cb); }; -const rendererSaveQueue = (cb: (event: IpcRendererEvent) => void) => { - ipcRenderer.on('renderer-player-save-queue', cb); -}; - -const rendererRestoreQueue = ( - cb: (event: IpcRendererEvent, data: Partial) => void, -) => { - ipcRenderer.on('renderer-player-restore-queue', cb); -}; - const rendererError = (cb: (event: IpcRendererEvent, data: string) => void) => { ipcRenderer.on('renderer-player-error', cb); }; +const rendererPlayerFallback = (cb: (event: IpcRendererEvent, data: boolean) => void) => { + ipcRenderer.on('renderer-player-fallback', cb); +}; + export const mpvPlayer = { autoNext, cleanup, @@ -182,8 +171,6 @@ export const mpvPlayer = { previous, quit, restart, - restoreQueue, - saveQueue, seek, seekTo, setProperties, @@ -201,10 +188,9 @@ export const mpvPlayerListener = { rendererPause, rendererPlay, rendererPlayPause, + rendererPlayerFallback, rendererPrevious, rendererQuit, - rendererRestoreQueue, - rendererSaveQueue, rendererSkipBackward, rendererSkipForward, rendererStop, diff --git a/src/main/preload/utils.ts b/src/main/preload/utils.ts index 77bc4dade..12f83ba73 100644 --- a/src/main/preload/utils.ts +++ b/src/main/preload/utils.ts @@ -1,9 +1,59 @@ +import { IpcRendererEvent, ipcRenderer } from 'electron'; import { isMacOS, isWindows, isLinux } from '../utils'; +import { PlayerState } from '/@/renderer/store'; + +const saveQueue = (data: Record) => { + ipcRenderer.send('player-save-queue', data); +}; + +const restoreQueue = () => { + ipcRenderer.send('player-restore-queue'); +}; + +const onSaveQueue = (cb: (event: IpcRendererEvent) => void) => { + ipcRenderer.on('renderer-save-queue', cb); +}; + +const onRestoreQueue = (cb: (event: IpcRendererEvent, data: Partial) => void) => { + ipcRenderer.on('renderer-restore-queue', cb); +}; + +const playerErrorListener = (cb: (event: IpcRendererEvent, data: { code: number }) => void) => { + ipcRenderer.on('player-error-listener', cb); +}; + +const mainMessageListener = ( + cb: ( + event: IpcRendererEvent, + data: { message: string; type: 'success' | 'error' | 'warning' | 'info' }, + ) => void, +) => { + ipcRenderer.on('toast-from-main', cb); +}; + +const logger = ( + cb: ( + event: IpcRendererEvent, + data: { + message: string; + type: 'debug' | 'verbose' | 'error' | 'warning' | 'info'; + }, + ) => void, +) => { + ipcRenderer.send('logger', cb); +}; export const utils = { isLinux, isMacOS, isWindows, + logger, + mainMessageListener, + onRestoreQueue, + onSaveQueue, + playerErrorListener, + restoreQueue, + saveQueue, }; export type Utils = typeof utils; diff --git a/src/main/utils.ts b/src/main/utils.ts index 5ca169b38..8a29f6ef6 100644 --- a/src/main/utils.ts +++ b/src/main/utils.ts @@ -2,6 +2,7 @@ import path from 'path'; import process from 'process'; import { URL } from 'url'; +import log from 'electron-log/main'; export let resolveHtmlPath: (htmlFileName: string) => string; @@ -50,3 +51,46 @@ export const hotkeyToElectronAccelerator = (hotkey: string) => { return accelerator; }; + +const logMethod = { + debug: log.debug, + error: log.error, + info: log.info, + success: log.info, + verbose: log.verbose, + warning: log.warn, +}; + +const logColor = { + debug: 'blue', + error: 'red', + info: 'blue', + success: 'green', + verbose: 'blue', + warning: 'yellow', +}; + +export const createLog = (data: { + message: string; + type: 'debug' | 'verbose' | 'success' | 'error' | 'warning' | 'info'; +}) => { + logMethod[data.type](`%c${data.message}`, `color: ${logColor[data.type]}`); +}; + +export const autoUpdaterLogInterface = { + debug: (message: string) => { + createLog({ message: `[SYSTEM] ${message}`, type: 'debug' }); + }, + + error: (message: string) => { + createLog({ message: `[SYSTEM] ${message}`, type: 'error' }); + }, + + info: (message: string) => { + createLog({ message: `[SYSTEM] ${message}`, type: 'info' }); + }, + + warn: (message: string) => { + createLog({ message: `[SYSTEM] ${message}`, type: 'warning' }); + }, +}; diff --git a/src/remote/components/remote-container.tsx b/src/remote/components/remote-container.tsx index 24a0154a2..2213fcbb3 100644 --- a/src/remote/components/remote-container.tsx +++ b/src/remote/components/remote-container.tsx @@ -1,5 +1,5 @@ import { useCallback } from 'react'; -import { Group, Image, Rating, Text, Title } from '@mantine/core'; +import { Group, Image, Text, Title } from '@mantine/core'; import { useInfo, useSend, useShowImage } from '/@/remote/store'; import { RemoteButton } from '/@/remote/components/buttons/remote-button'; import formatDuration from 'format-duration'; @@ -18,6 +18,7 @@ import { import { PlayerRepeat, PlayerStatus } from '/@/renderer/types'; import { WrapperSlider } from '/@/remote/components/wrapped-slider'; import { Tooltip } from '/@/renderer/components/tooltip'; +import { Rating } from '/@/renderer/components'; export const RemoteContainer = () => { const { repeat, shuffle, song, status, volume } = useInfo(); diff --git a/src/renderer/api/controller.ts b/src/renderer/api/controller.ts index 4c360aa81..d6dddecf3 100644 --- a/src/renderer/api/controller.ts +++ b/src/renderer/api/controller.ts @@ -51,12 +51,17 @@ import type { RescanArgs, ScanStatus, ScanStatusArgs, + ServerInfo, + ServerInfoArgs, + StructuredLyricsArgs, + StructuredLyric, } from '/@/renderer/api/types'; import { ServerType } from '/@/renderer/types'; import { DeletePlaylistResponse, RandomSongListArgs } from './types'; import { ndController } from '/@/renderer/api/navidrome/navidrome-controller'; import { ssController } from '/@/renderer/api/subsonic/subsonic-controller'; import { jfController } from '/@/renderer/api/jellyfin/jellyfin-controller'; +import i18n from '/@/i18n/i18n'; export type ControllerEndpoint = Partial<{ addToPlaylist: (args: AddToPlaylistArgs) => Promise; @@ -88,8 +93,10 @@ export type ControllerEndpoint = Partial<{ getPlaylistSongList: (args: PlaylistSongListArgs) => Promise; getRandomSongList: (args: RandomSongListArgs) => Promise; getScanStatus: (args: ScanStatusArgs) => Promise; + getServerInfo: (args: ServerInfoArgs) => Promise; getSongDetail: (args: SongDetailArgs) => Promise; getSongList: (args: SongListArgs) => Promise; + getStructuredLyrics: (args: StructuredLyricsArgs) => Promise; getTopSongs: (args: TopSongListArgs) => Promise; getUserList: (args: UserListArgs) => Promise; removeFromPlaylist: (args: RemoveFromPlaylistArgs) => Promise; @@ -134,8 +141,10 @@ const endpoints: ApiController = { getPlaylistSongList: jfController.getPlaylistSongList, getRandomSongList: jfController.getRandomSongList, getScanStatus: undefined, + getServerInfo: jfController.getServerInfo, getSongDetail: jfController.getSongDetail, getSongList: jfController.getSongList, + getStructuredLyrics: undefined, getTopSongs: jfController.getTopSongList, getUserList: undefined, removeFromPlaylist: jfController.removeFromPlaylist, @@ -172,8 +181,10 @@ const endpoints: ApiController = { getPlaylistSongList: ndController.getPlaylistSongList, getRandomSongList: ssController.getRandomSongList, getScanStatus: ssController.getScanStatus, + getServerInfo: ssController.getServerInfo, getSongDetail: ndController.getSongDetail, getSongList: ndController.getSongList, + getStructuredLyrics: ssController.getStructuredLyrics, getTopSongs: ssController.getTopSongList, getUserList: ndController.getUserList, removeFromPlaylist: ndController.removeFromPlaylist, @@ -207,8 +218,10 @@ const endpoints: ApiController = { getPlaylistDetail: undefined, getPlaylistList: undefined, getScanStatus: ssController.getScanStatus, + getServerInfo: ssController.getServerInfo, getSongDetail: undefined, getSongList: undefined, + getStructuredLyrics: ssController.getStructuredLyrics, getTopSongs: ssController.getTopSongList, getUserList: undefined, rescan: ssController.rescan, @@ -223,7 +236,12 @@ const apiController = (endpoint: keyof ControllerEndpoint, type?: ServerType) => const serverType = type || useAuthStore.getState().currentServer?.type; if (!serverType) { - toast.error({ message: 'No server selected', title: 'Unable to route request' }); + toast.error({ + message: i18n.t('error.serverNotSelectedError', { + postProcess: 'sentenceCase', + }) as string, + title: i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' }) as string, + }); throw new Error(`No server selected`); } @@ -232,10 +250,16 @@ const apiController = (endpoint: keyof ControllerEndpoint, type?: ServerType) => if (typeof controllerFn !== 'function') { toast.error({ message: `Endpoint ${endpoint} is not implemented for ${serverType}`, - title: 'Unable to route request', + title: i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' }) as string, }); - throw new Error(`Endpoint ${endpoint} is not implemented for ${serverType}`); + throw new Error( + i18n.t('error.endpointNotImplementedError', { + endpoint, + postProcess: 'sentenceCase', + serverType, + }) as string, + ); } return endpoints[serverType][endpoint]; @@ -495,6 +519,24 @@ const getScanStatus = async (args: RescanArgs) => { )?.(args); }; +const getServerInfo = async (args: ServerInfoArgs) => { + return ( + apiController( + 'getServerInfo', + args.apiClientProps.server?.type, + ) as ControllerEndpoint['getServerInfo'] + )?.(args); +}; + +const getStructuredLyrics = async (args: StructuredLyricsArgs) => { + return ( + apiController( + 'getStructuredLyrics', + args.apiClientProps.server?.type, + ) as ControllerEndpoint['getStructuredLyrics'] + )?.(args); +}; + export const controller = { addToPlaylist, authenticate, @@ -515,8 +557,10 @@ export const controller = { getPlaylistSongList, getRandomSongList, getScanStatus, + getServerInfo, getSongDetail, getSongList, + getStructuredLyrics, getTopSongList, getUserList, removeFromPlaylist, diff --git a/src/renderer/api/jellyfin.types.ts b/src/renderer/api/jellyfin.types.ts index 511e7466b..0066186be 100644 --- a/src/renderer/api/jellyfin.types.ts +++ b/src/renderer/api/jellyfin.types.ts @@ -547,6 +547,7 @@ export enum JFAlbumListSort { COMMUNITY_RATING = 'CommunityRating,SortName', CRITIC_RATING = 'CriticRating,SortName', NAME = 'SortName', + PLAY_COUNT = 'PlayCount', RANDOM = 'Random,SortName', RECENTLY_ADDED = 'DateCreated,SortName', RELEASE_DATE = 'ProductionYear,PremiereDate,SortName', diff --git a/src/renderer/api/jellyfin/jellyfin-api.ts b/src/renderer/api/jellyfin/jellyfin-api.ts index 27929b7cd..9ccc5419f 100644 --- a/src/renderer/api/jellyfin/jellyfin-api.ts +++ b/src/renderer/api/jellyfin/jellyfin-api.ts @@ -7,6 +7,7 @@ import { ServerListItem } from '/@/renderer/types'; import omitBy from 'lodash/omitBy'; import { z } from 'zod'; import { authenticationFailure } from '/@/renderer/api/utils'; +import i18n from '/@/i18n/i18n'; const c = initContract(); @@ -149,6 +150,14 @@ export const contract = c.router({ 400: jfType._response.error, }, }, + getServerInfo: { + method: 'GET', + path: 'system/info', + responses: { + 200: jfType._response.serverInfo, + 400: jfType._response.error, + }, + }, getSimilarArtistList: { method: 'GET', path: 'artists/:id/similar', @@ -346,6 +355,14 @@ export const jfApiClient = (args: { }; } catch (e: Error | AxiosError | any) { if (isAxiosError(e)) { + if (e.code === 'ERR_NETWORK') { + throw new Error( + i18n.t('error.networkError', { + postProcess: 'sentenceCase', + }) as string, + ); + } + const error = e as AxiosError; const response = error.response as AxiosResponse; return { diff --git a/src/renderer/api/jellyfin/jellyfin-controller.ts b/src/renderer/api/jellyfin/jellyfin-controller.ts index c2e2146d6..cc13aea8c 100644 --- a/src/renderer/api/jellyfin/jellyfin-controller.ts +++ b/src/renderer/api/jellyfin/jellyfin-controller.ts @@ -51,6 +51,8 @@ import { ScanStatus, SongDetailArgs, SongDetailResponse, + ServerInfo, + ServerInfoArgs, } from '/@/renderer/api/types'; import { jfApiClient } from '/@/renderer/api/jellyfin/jellyfin-api'; import { jfNormalize } from './jellyfin-normalize'; @@ -104,9 +106,9 @@ const authenticate = async ( Username: body.username, }, headers: { - 'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin-${getHostname()}-${ - body.username - }", Version="${packageJson.version}"`, + 'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin-${getHostname()}-${encodeURIComponent( + body.username, + )}", Version="${packageJson.version}"`, }, }); @@ -376,7 +378,7 @@ const getTopSongList = async (args: TopSongListArgs): Promise IncludeItemTypes: 'Audio', Limit: query.limit, Recursive: true, - SortBy: 'CommunityRating,SortName', + SortBy: 'PlayCount,SortName', SortOrder: 'Descending', UserId: apiClientProps.server?.userId, }, @@ -540,7 +542,7 @@ const getPlaylistSongList = async (args: PlaylistSongListArgs): Promise folder.CollectionType === jfType._enum.collection.PLAYLISTS, - )?.[0]; - const res = await jfApiClient(apiClientProps).getPlaylistList({ params: { userId: apiClientProps.server?.userId, @@ -585,7 +573,8 @@ const getPlaylistList = async (args: PlaylistListArgs): Promise return jfNormalize.song(res.body, apiClientProps.server, ''); }; +const getServerInfo = async (args: ServerInfoArgs): Promise => { + const { apiClientProps } = args; + + const res = await jfApiClient(apiClientProps).getServerInfo(); + + if (res.status !== 200) { + throw new Error('Failed to get server info'); + } + + return { id: apiClientProps.server?.id, version: res.body.Version }; +}; + export const jfController = { addToPlaylist, authenticate, @@ -998,6 +999,7 @@ export const jfController = { getPlaylistList, getPlaylistSongList, getRandomSongList, + getServerInfo, getSongDetail, getSongList, getTopSongList, diff --git a/src/renderer/api/jellyfin/jellyfin-normalize.ts b/src/renderer/api/jellyfin/jellyfin-normalize.ts index 4d8441746..a351d6c98 100644 --- a/src/renderer/api/jellyfin/jellyfin-normalize.ts +++ b/src/renderer/api/jellyfin/jellyfin-normalize.ts @@ -202,6 +202,7 @@ const normalizeAlbum = ( imageSize?: number, ): Album => { return { + albumArtist: item.AlbumArtist, albumArtists: item.AlbumArtists.map((entry) => ({ id: entry.Id, @@ -214,6 +215,7 @@ const normalizeAlbum = ( name: entry.Name, })), backdropImageUrl: null, + comment: null, createdAt: item.DateCreated, duration: item.RunTimeTicks / 10000, genres: item.GenreItems?.map((entry) => ({ @@ -232,6 +234,7 @@ const normalizeAlbum = ( isCompilation: null, itemType: LibraryItem.ALBUM, lastPlayedAt: null, + mbzId: item.ProviderIds?.MusicBrainzAlbum || null, name: item.Name, playCount: item.UserData?.PlayCount || 0, releaseDate: item.PremiereDate?.split('T')[0] || null, @@ -287,6 +290,7 @@ const normalizeAlbumArtist = ( }), itemType: LibraryItem.ALBUM_ARTIST, lastPlayedAt: null, + mbz: item.ProviderIds?.MusicBrainzArtist || null, name: item.Name, playCount: item.UserData?.PlayCount || 0, serverId: server?.id || '', diff --git a/src/renderer/api/jellyfin/jellyfin-types.ts b/src/renderer/api/jellyfin/jellyfin-types.ts index 2e039dff2..3ce22e371 100644 --- a/src/renderer/api/jellyfin/jellyfin-types.ts +++ b/src/renderer/api/jellyfin/jellyfin-types.ts @@ -422,6 +422,11 @@ const song = z.object({ UserData: userData.optional(), }); +const providerIds = z.object({ + MusicBrainzAlbum: z.string().optional(), + MusicBrainzArtist: z.string().optional(), +}); + const albumArtist = z.object({ BackdropImageTags: z.array(z.string()), ChannelId: z.null(), @@ -435,6 +440,7 @@ const albumArtist = z.object({ LocationType: z.string(), Name: z.string(), Overview: z.string(), + ProviderIds: providerIds.optional(), RunTimeTicks: z.number(), ServerId: z.string(), Type: z.string(), @@ -466,6 +472,7 @@ const album = z.object({ ParentLogoItemId: z.string(), PremiereDate: z.string().optional(), ProductionYear: z.number(), + ProviderIds: providerIds.optional(), RunTimeTicks: z.number(), ServerId: z.string(), Songs: z.array(song).optional(), // This is not a native Jellyfin property -- this is used for combined album detail @@ -478,6 +485,7 @@ const albumListSort = { COMMUNITY_RATING: 'CommunityRating,SortName', CRITIC_RATING: 'CriticRating,SortName', NAME: 'SortName', + PLAY_COUNT: 'PlayCount', RANDOM: 'Random,SortName', RECENTLY_ADDED: 'DateCreated,SortName', RELEASE_DATE: 'ProductionYear,PremiereDate,SortName', @@ -653,6 +661,10 @@ const lyrics = z.object({ Lyrics: z.array(lyricText), }); +const serverInfo = z.object({ + Version: z.string(), +}); + export const jfType = { _enum: { albumArtistList: albumArtistListSort, @@ -706,6 +718,7 @@ export const jfType = { removeFromPlaylist, scrobble, search, + serverInfo, song, songList, topSongsList, diff --git a/src/renderer/api/navidrome/navidrome-api.ts b/src/renderer/api/navidrome/navidrome-api.ts index 32852e93c..04cef24a9 100644 --- a/src/renderer/api/navidrome/navidrome-api.ts +++ b/src/renderer/api/navidrome/navidrome-api.ts @@ -9,6 +9,7 @@ import { authenticationFailure, resultWithHeaders } from '/@/renderer/api/utils' import { useAuthStore } from '/@/renderer/store'; import { ServerListItem } from '/@/renderer/types'; import { toast } from '/@/renderer/components'; +import i18n from '/@/i18n/i18n'; const localSettings = isElectron() ? window.electron.localSettings : null; @@ -276,9 +277,12 @@ axiosClient.interceptors.response.use( if (res.status === 429) { toast.error({ - message: - 'you have exceeded the number of allowed login requests. Please wait before logging, or consider tweaking AuthRequestLimit', - title: 'Your session has expired.', + message: i18n.t('error.loginRateError', { + postProcess: 'sentenceCase', + }) as string, + title: i18n.t('error.sessionExpiredError', { + postProcess: 'sentenceCase', + }) as string, }); const serverId = currentServer.id; @@ -292,7 +296,11 @@ axiosClient.interceptors.response.use( throw TIMEOUT_ERROR; } if (res.status !== 200) { - throw new Error('Failed to authenticate'); + throw new Error( + i18n.t('error.authenticatedFailed', { + postProcess: 'sentenceCase', + }) as string, + ); } const newCredential = res.data.token; @@ -372,12 +380,20 @@ export const ndApiClient = (args: { }; } catch (e: Error | AxiosError | any) { if (isAxiosError(e)) { + if (e.code === 'ERR_NETWORK') { + throw new Error( + i18n.t('error.networkError', { + postProcess: 'sentenceCase', + }) as string, + ); + } + const error = e as AxiosError; const response = error.response as AxiosResponse; return { - body: { data: response.data, headers: response.headers }, - headers: response.headers as any, - status: response.status, + body: { data: response?.data, headers: response?.headers }, + headers: response?.headers as any, + status: response?.status, }; } throw e; diff --git a/src/renderer/api/navidrome/navidrome-normalize.ts b/src/renderer/api/navidrome/navidrome-normalize.ts index 90aa9bc83..8f07093e5 100644 --- a/src/renderer/api/navidrome/navidrome-normalize.ts +++ b/src/renderer/api/navidrome/navidrome-normalize.ts @@ -20,10 +20,6 @@ const getImageUrl = (args: { url: string | null }) => { return null; } - if (url?.match('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9')) { - return null; - } - return url; }; @@ -49,6 +45,14 @@ const getCoverArtUrl = (args: { ); }; +interface WithDate { + playDate?: string; +} + +const normalizePlayDate = (item: WithDate): string | null => { + return !item.playDate || item.playDate.includes('0001-') ? null : item.playDate; +}; + const normalizeSong = ( item: z.infer | z.infer, server: ServerListItem | null, @@ -104,7 +108,7 @@ const normalizeSong = ( imagePlaceholderUrl, imageUrl, itemType: LibraryItem.SONG, - lastPlayedAt: item.playDate.includes('0001-') ? null : item.playDate, + lastPlayedAt: normalizePlayDate(item), lyrics: item.lyrics ? item.lyrics : null, name: item.title, path: item.path, @@ -147,9 +151,11 @@ const normalizeAlbum = ( const imageBackdropUrl = imageUrl?.replace(/size=\d+/, 'size=1000') || null; return { + albumArtist: item.albumArtist, albumArtists: [{ id: item.albumArtistId, imageUrl: null, name: item.albumArtist }], artists: [{ id: item.artistId, imageUrl: null, name: item.artist }], backdropImageUrl: imageBackdropUrl, + comment: item.comment || null, createdAt: item.createdAt.split('T')[0], duration: item.duration * 1000 || null, genres: item.genres?.map((genre) => ({ @@ -163,7 +169,8 @@ const normalizeAlbum = ( imageUrl, isCompilation: item.compilation, itemType: LibraryItem.ALBUM, - lastPlayedAt: item.playDate.includes('0001-') ? null : item.playDate, + lastPlayedAt: normalizePlayDate(item), + mbzId: item.mbzAlbumId || null, name: item.name, playCount: item.playCount, releaseDate: new Date(item.minYear, 0, 1).toISOString(), @@ -186,7 +193,16 @@ const normalizeAlbumArtist = ( }, server: ServerListItem | null, ): AlbumArtist => { - const imageUrl = getImageUrl({ url: item?.largeImageUrl || null }); + let imageUrl = getImageUrl({ url: item?.largeImageUrl || null }); + + if (!imageUrl) { + imageUrl = getCoverArtUrl({ + baseUrl: server?.url, + coverArtId: `ar-${item.id}`, + credential: server?.credential, + size: 300, + }); + } return { albumCount: item.albumCount, @@ -202,7 +218,8 @@ const normalizeAlbumArtist = ( id: item.id, imageUrl: imageUrl || null, itemType: LibraryItem.ALBUM_ARTIST, - lastPlayedAt: item.playDate.includes('0001-') ? null : item.playDate, + lastPlayedAt: normalizePlayDate(item), + mbz: item.mbzArtistId || null, name: item.name, playCount: item.playCount, serverId: server?.id || 'unknown', diff --git a/src/renderer/api/navidrome/navidrome-types.ts b/src/renderer/api/navidrome/navidrome-types.ts index ae3322d7b..b63b5442b 100644 --- a/src/renderer/api/navidrome/navidrome-types.ts +++ b/src/renderer/api/navidrome/navidrome-types.ts @@ -78,7 +78,7 @@ const albumArtist = z.object({ name: z.string(), orderArtistName: z.string(), playCount: z.number(), - playDate: z.string(), + playDate: z.string().optional(), rating: z.number(), size: z.number(), smallImageUrl: z.string().optional(), @@ -111,6 +111,7 @@ const album = z.object({ allArtistIds: z.string(), artist: z.string(), artistId: z.string(), + comment: z.string().optional(), compilation: z.boolean(), coverArtId: z.string().optional(), // Removed after v0.48.0 coverArtPath: z.string().optional(), // Removed after v0.48.0 @@ -128,7 +129,7 @@ const album = z.object({ orderAlbumArtistName: z.string(), orderAlbumName: z.string(), playCount: z.number(), - playDate: z.string(), + playDate: z.string().optional(), rating: z.number().optional(), size: z.number(), songCount: z.number(), @@ -211,7 +212,7 @@ const song = z.object({ orderTitle: z.string(), path: z.string(), playCount: z.number(), - playDate: z.string(), + playDate: z.string().optional(), rating: z.number().optional(), rgAlbumGain: z.number().optional(), rgAlbumPeak: z.number().optional(), diff --git a/src/renderer/api/subsonic/subsonic-api.ts b/src/renderer/api/subsonic/subsonic-api.ts index d99738340..81032fa53 100644 --- a/src/renderer/api/subsonic/subsonic-api.ts +++ b/src/renderer/api/subsonic/subsonic-api.ts @@ -6,6 +6,7 @@ import { z } from 'zod'; import { ssType } from '/@/renderer/api/subsonic/subsonic-types'; import { ServerListItem } from '/@/renderer/api/types'; import { toast } from '/@/renderer/components/toast/index'; +import i18n from '/@/i18n/i18n'; const c = initContract(); @@ -56,6 +57,21 @@ export const contract = c.router({ 200: ssType._response.scanStatus, }, }, + getServerInfo: { + method: 'GET', + path: 'getOpenSubsonicExtensions.view', + responses: { + 200: ssType._response.serverInfo, + }, + }, + getStructuredLyrics: { + method: 'GET', + path: 'getLyricsBySongId.view', + query: ssType._parameters.structuredLyrics, + responses: { + 200: ssType._response.structuredLyrics, + }, + }, getTopSongsList: { method: 'GET', path: 'getTopSongs.view', @@ -64,6 +80,13 @@ export const contract = c.router({ 200: ssType._response.topSongsList, }, }, + ping: { + method: 'GET', + path: 'ping.view', + responses: { + 200: ssType._response.ping, + }, + }, removeFavorite: { method: 'GET', path: 'unstar.view', @@ -121,7 +144,7 @@ axiosClient.interceptors.response.use( if (data['subsonic-response'].error.code !== 0) { toast.error({ message: data['subsonic-response'].error.message, - title: 'Issue from Subsonic API', + title: i18n.t('error.genericError', { postProcess: 'sentenceCase' }) as string, }); } } @@ -199,9 +222,15 @@ export const ssApiClient = (args: { status: result.status, }; } catch (e: Error | AxiosError | any) { - console.log('CATCH ERR'); - if (isAxiosError(e)) { + if (e.code === 'ERR_NETWORK') { + throw new Error( + i18n.t('error.networkError', { + postProcess: 'sentenceCase', + }) as string, + ); + } + const error = e as AxiosError; const response = error.response as AxiosResponse; diff --git a/src/renderer/api/subsonic/subsonic-controller.ts b/src/renderer/api/subsonic/subsonic-controller.ts index f4833f6c6..0edbddc0c 100644 --- a/src/renderer/api/subsonic/subsonic-controller.ts +++ b/src/renderer/api/subsonic/subsonic-controller.ts @@ -24,6 +24,10 @@ import { RescanArgs, ScanStatus, ScanStatusArgs, + ServerInfo, + ServerInfoArgs, + StructuredLyricsArgs, + StructuredLyric, } from '/@/renderer/api/types'; import { randomString } from '/@/renderer/utils'; @@ -421,6 +425,78 @@ const getScanStatus = async (args: ScanStatusArgs): Promise => { }; }; +const getServerInfo = async (args: ServerInfoArgs): Promise => { + const { apiClientProps } = args; + + const ping = await ssApiClient(apiClientProps).ping(); + + if (ping.status !== 200) { + throw new Error('Failed to ping server'); + } + + if (!ping.body.openSubsonic || !ping.body.serverVersion) { + return { version: ping.body.version }; + } + + const res = await ssApiClient(apiClientProps).getServerInfo(); + + if (res.status !== 200) { + throw new Error('Failed to get server extensions'); + } + + const features: Record = {}; + for (const extension of res.body.openSubsonicExtensions) { + features[extension.name] = extension.versions; + } + + return { features, id: apiClientProps.server?.id, version: ping.body.serverVersion }; +}; + +export const getStructuredLyrics = async ( + args: StructuredLyricsArgs, +): Promise => { + const { query, apiClientProps } = args; + + const res = await ssApiClient(apiClientProps).getStructuredLyrics({ + query: { + id: query.songId, + }, + }); + + if (res.status !== 200) { + throw new Error('Failed to get structured lyrics'); + } + + const lyrics = res.body.lyricsList?.structuredLyrics; + + if (!lyrics) { + return []; + } + + return lyrics.map((lyric) => { + const baseLyric = { + artist: lyric.displayArtist || '', + lang: lyric.lang, + name: lyric.displayTitle || '', + remote: false, + source: apiClientProps.server?.name || 'music server', + }; + + if (lyric.synced) { + return { + ...baseLyric, + lyrics: lyric.line.map((line) => [line.start!, line.value]), + synced: true, + }; + } + return { + ...baseLyric, + lyrics: lyric.line.map((line) => [line.value]).join('\n'), + synced: false, + }; + }); +}; + export const ssController = { authenticate, createFavorite, @@ -428,6 +504,8 @@ export const ssController = { getMusicFolderList, getRandomSongList, getScanStatus, + getServerInfo, + getStructuredLyrics, getTopSongList, removeFavorite, rescan, diff --git a/src/renderer/api/subsonic/subsonic-normalize.ts b/src/renderer/api/subsonic/subsonic-normalize.ts index 881e7fef2..58c300262 100644 --- a/src/renderer/api/subsonic/subsonic-normalize.ts +++ b/src/renderer/api/subsonic/subsonic-normalize.ts @@ -126,6 +126,7 @@ const normalizeAlbumArtist = ( imageUrl, itemType: LibraryItem.ALBUM_ARTIST, lastPlayedAt: null, + mbz: null, name: item.name, playCount: null, serverId: server?.id || 'unknown', @@ -150,11 +151,13 @@ const normalizeAlbum = ( }) || null; return { + albumArtist: item.artist, albumArtists: item.artistId ? [{ id: item.artistId, imageUrl: null, name: item.artist }] : [], artists: item.artistId ? [{ id: item.artistId, imageUrl: null, name: item.artist }] : [], backdropImageUrl: null, + comment: null, createdAt: item.created, duration: item.duration, genres: item.genre @@ -173,6 +176,7 @@ const normalizeAlbum = ( isCompilation: null, itemType: LibraryItem.ALBUM, lastPlayedAt: null, + mbzId: null, name: item.name, playCount: null, releaseDate: item.year ? new Date(item.year, 0, 1).toISOString() : null, diff --git a/src/renderer/api/subsonic/subsonic-types.ts b/src/renderer/api/subsonic/subsonic-types.ts index 62c6fd40e..442fc7211 100644 --- a/src/renderer/api/subsonic/subsonic-types.ts +++ b/src/renderer/api/subsonic/subsonic-types.ts @@ -219,6 +219,45 @@ const scanStatus = z.object({ }), }); +const ping = z.object({ + openSubsonic: z.boolean().optional(), + serverVersion: z.string().optional(), + version: z.string(), +}); + +const extension = z.object({ + name: z.string(), + versions: z.number().array(), +}); + +const serverInfo = z.object({ + openSubsonicExtensions: z.array(extension), +}); + +const structuredLyricsParameters = z.object({ + id: z.string(), +}); + +const lyricLine = z.object({ + start: z.number().optional(), + value: z.string(), +}); + +const structuredLyric = z.object({ + displayArtist: z.string().optional(), + displayTitle: z.string().optional(), + lang: z.string(), + line: z.array(lyricLine), + offset: z.number().optional(), + synced: z.boolean(), +}); + +const structuredLyrics = z.object({ + lyricsList: z.object({ + structuredLyrics: z.array(structuredLyric).optional(), + }), +}); + export const ssType = { _parameters: { albumList: albumListParameters, @@ -231,6 +270,7 @@ export const ssType = { scrobble: scrobbleParameters, search3: search3Parameters, setRating: setRatingParameters, + structuredLyrics: structuredLyricsParameters, topSongsList: topSongsListParameters, }, _response: { @@ -243,13 +283,16 @@ export const ssType = { baseResponse, createFavorite, musicFolderList, + ping, randomSongList, removeFavorite, scanStatus, scrobble, search3, + serverInfo, setRating, song, + structuredLyrics, topSongsList, }, }; diff --git a/src/renderer/api/types.ts b/src/renderer/api/types.ts index 0072c1cd9..3f4a49e1c 100644 --- a/src/renderer/api/types.ts +++ b/src/renderer/api/types.ts @@ -144,9 +144,11 @@ export type Genre = { }; export type Album = { + albumArtist: string; albumArtists: RelatedArtist[]; artists: RelatedArtist[]; backdropImageUrl: string | null; + comment: string | null; createdAt: string; duration: number | null; genres: Genre[]; @@ -156,6 +158,7 @@ export type Album = { isCompilation: boolean | null; itemType: LibraryItem.ALBUM; lastPlayedAt: string | null; + mbzId: string | null; name: string; playCount: number | null; releaseDate: string | null; @@ -228,6 +231,7 @@ export type AlbumArtist = { imageUrl: string | null; itemType: LibraryItem.ALBUM_ARTIST; lastPlayedAt: string | null; + mbz: string | null; name: string; playCount: number | null; serverId: string; @@ -395,7 +399,7 @@ export const albumListSortMap: AlbumListSortMap = { duration: undefined, favorited: undefined, name: JFAlbumListSort.NAME, - playCount: undefined, + playCount: JFAlbumListSort.PLAY_COUNT, random: JFAlbumListSort.RANDOM, rating: undefined, recentlyAdded: JFAlbumListSort.RECENTLY_ADDED, @@ -417,7 +421,8 @@ export const albumListSortMap: AlbumListSortMap = { rating: NDAlbumListSort.RATING, recentlyAdded: NDAlbumListSort.RECENTLY_ADDED, recentlyPlayed: NDAlbumListSort.PLAY_DATE, - releaseDate: undefined, + // Recent versions of Navidrome support release date, but fallback to year for now + releaseDate: NDAlbumListSort.YEAR, songCount: NDAlbumListSort.SONG_COUNT, year: NDAlbumListSort.YEAR, }, @@ -1092,17 +1097,11 @@ export type InternetProviderLyricSearchResponse = { source: LyricSource; }; -export type SynchronizedLyricMetadata = { - lyrics: SynchronizedLyricsArray; +export type FullLyricsMetadata = { + lyrics: LyricsResponse; remote: boolean; -} & Omit; - -export type UnsynchronizedLyricMetadata = { - lyrics: string; - remote: boolean; -} & Omit; - -export type FullLyricsMetadata = SynchronizedLyricMetadata | UnsynchronizedLyricMetadata; + source: string; +} & Omit; export type LyricOverride = Omit; @@ -1142,3 +1141,43 @@ export type ScanStatus = { }; export type ScanStatusArgs = BaseEndpointArgs; +// This type from https://wicg.github.io/local-font-access/#fontdata +// NOTE: it is still experimental, so this should be updates as appropriate +export type FontData = { + family: string; + fullName: string; + postscriptName: string; + style: string; +}; + +export type ServerInfoArgs = BaseEndpointArgs; + +export enum SubsonicExtensions { + FORM_POST = 'formPost', + SONG_LYRICS = 'songLyrics', + TRANSCODE_OFFSET = 'transcodeOffset', +} + +export type ServerInfo = { + features?: Record; + id?: string; + version: string; +}; + +export type StructuredLyricsArgs = { + query: LyricsQuery; +} & BaseEndpointArgs; + +export type StructuredUnsyncedLyric = { + lyrics: string; + synced: false; +} & Omit; + +export type StructuredSyncedLyric = { + lyrics: SynchronizedLyricsArray; + synced: true; +} & Omit; + +export type StructuredLyric = { + lang: string; +} & (StructuredUnsyncedLyric | StructuredSyncedLyric); diff --git a/src/renderer/app.tsx b/src/renderer/app.tsx index 6d72976ab..abdbd7906 100644 --- a/src/renderer/app.tsx +++ b/src/renderer/app.tsx @@ -1,4 +1,4 @@ -import { useEffect, useMemo } from 'react'; +import { useEffect, useMemo, useRef } from 'react'; import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model'; import { ModuleRegistry } from '@ag-grid-community/core'; import { InfiniteRowModelModule } from '@ag-grid-community/infinite-row-model'; @@ -23,31 +23,74 @@ import { PlayQueueHandlerContext } from '/@/renderer/features/player'; import { AddToPlaylistContextModal } from '/@/renderer/features/playlists'; import { getMpvProperties } from '/@/renderer/features/settings/components/playback/mpv-settings'; import { PlayerState, usePlayerStore, useQueueControls } from '/@/renderer/store'; -import { PlaybackType, PlayerStatus } from '/@/renderer/types'; +import { FontType, PlaybackType, PlayerStatus } from '/@/renderer/types'; import '@ag-grid-community/styles/ag-grid.css'; +import { useDiscordRpc } from '/@/renderer/features/discord-rpc/use-discord-rpc'; +import i18n from '/@/i18n/i18n'; +import { useServerVersion } from '/@/renderer/hooks/use-server-version'; ModuleRegistry.registerModules([ClientSideRowModelModule, InfiniteRowModelModule]); initSimpleImg({ threshold: 0.05 }, true); const mpvPlayer = isElectron() ? window.electron.mpvPlayer : null; -const mpvPlayerListener = isElectron() ? window.electron.mpvPlayerListener : null; const ipc = isElectron() ? window.electron.ipc : null; const remote = isElectron() ? window.electron.remote : null; +const utils = isElectron() ? window.electron.utils : null; export const App = () => { const theme = useTheme(); - const contentFont = useSettingsStore((state) => state.general.fontContent); + const accent = useSettingsStore((store) => store.general.accent); + const language = useSettingsStore((store) => store.general.language); + const { builtIn, custom, system, type } = useSettingsStore((state) => state.font); const { type: playbackType } = usePlaybackSettings(); const { bindings } = useHotkeySettings(); const handlePlayQueueAdd = useHandlePlayQueueAdd(); const { clearQueue, restoreQueue } = useQueueControls(); const remoteSettings = useRemoteSettings(); + const textStyleRef = useRef(); + useDiscordRpc(); + useServerVersion(); + + useEffect(() => { + if (type === FontType.SYSTEM && system) { + const root = document.documentElement; + root.style.setProperty('--content-font-family', 'dynamic-font'); + + if (!textStyleRef.current) { + textStyleRef.current = document.createElement('style'); + document.body.appendChild(textStyleRef.current); + } + + textStyleRef.current.textContent = ` + @font-face { + font-family: "dynamic-font"; + src: local("${system}"); + }`; + } else if (type === FontType.CUSTOM && custom) { + const root = document.documentElement; + root.style.setProperty('--content-font-family', 'dynamic-font'); + + if (!textStyleRef.current) { + textStyleRef.current = document.createElement('style'); + document.body.appendChild(textStyleRef.current); + } + + textStyleRef.current.textContent = ` + @font-face { + font-family: "dynamic-font"; + src: url("feishin://${custom}"); + }`; + } else { + const root = document.documentElement; + root.style.setProperty('--content-font-family', builtIn); + } + }, [builtIn, custom, system, type]); useEffect(() => { const root = document.documentElement; - root.style.setProperty('--content-font-family', contentFont); - }, [contentFont]); + root.style.setProperty('--primary-color', accent); + }, [accent]); const providerValue = useMemo(() => { return { handlePlayQueueAdd }; @@ -56,27 +99,31 @@ export const App = () => { // Start the mpv instance on startup useEffect(() => { const initializeMpv = async () => { - const isRunning: boolean | undefined = await mpvPlayer?.isRunning(); + if (playbackType === PlaybackType.LOCAL) { + const isRunning: boolean | undefined = await mpvPlayer?.isRunning(); - mpvPlayer?.stop(); + mpvPlayer?.stop(); - if (!isRunning) { - const extraParameters = useSettingsStore.getState().playback.mpvExtraParameters; - const properties = { - ...getMpvProperties(useSettingsStore.getState().playback.mpvProperties), - }; + if (!isRunning) { + const extraParameters = useSettingsStore.getState().playback.mpvExtraParameters; + const properties: Record = { + speed: usePlayerStore.getState().current.speed, + ...getMpvProperties(useSettingsStore.getState().playback.mpvProperties), + }; - mpvPlayer?.initialize({ - extraParameters, - properties, - }); + await mpvPlayer?.initialize({ + extraParameters, + properties, + }); - mpvPlayer?.volume(properties.volume); + mpvPlayer?.volume(properties.volume); + } } - mpvPlayer?.restoreQueue(); + + utils?.restoreQueue(); }; - if (isElectron() && playbackType === PlaybackType.LOCAL) { + if (isElectron()) { initializeMpv(); } @@ -94,8 +141,8 @@ export const App = () => { }, [bindings]); useEffect(() => { - if (isElectron()) { - mpvPlayerListener!.rendererSaveQueue(() => { + if (utils) { + utils.onSaveQueue(() => { const { current, queue } = usePlayerStore.getState(); const stateToSave: Partial> = { current: { @@ -104,10 +151,10 @@ export const App = () => { }, queue, }; - mpvPlayer!.saveQueue(stateToSave); + utils.saveQueue(stateToSave); }); - mpvPlayerListener!.rendererRestoreQueue((_event: any, data) => { + utils.onRestoreQueue((_event: any, data) => { const playerData = restoreQueue(data); if (playbackType === PlaybackType.LOCAL) { mpvPlayer!.setQueue(playerData, true); @@ -116,8 +163,8 @@ export const App = () => { } return () => { - ipc?.removeAllListeners('renderer-player-restore-queue'); - ipc?.removeAllListeners('renderer-player-save-queue'); + ipc?.removeAllListeners('renderer-restore-queue'); + ipc?.removeAllListeners('renderer-save-queue'); }; }, [playbackType, restoreQueue]); @@ -138,6 +185,12 @@ export const App = () => { // eslint-disable-next-line react-hooks/exhaustive-deps }, []); + useEffect(() => { + if (language) { + i18n.changeLanguage(language); + } + }, [language]); + return ( element. This means that +// player1Source and player2Source are connected BEFORE the user presses play for +// the first time. This workaround is important for Safari, which seems to require the +// source to be connected PRIOR to resuming audio context +const EMPTY_SOURCE = + 'data:audio/wav;base64,UklGRjIAAABXQVZFZm10IBIAAAABAAEAQB8AAEAfAAABAAgAAABmYWN0BAAAAAAAAABkYXRhAAAAAA=='; + export const AudioPlayer = forwardRef( ( { @@ -59,6 +69,8 @@ export const AudioPlayer = forwardRef( const [isTransitioning, setIsTransitioning] = useState(false); const audioDeviceId = useSettingsStore((state) => state.playback.audioDeviceId); const playback = useSettingsStore((state) => state.playback.mpvProperties); + const { resetSampleRate } = useSettingsStoreActions(); + const playbackSpeed = useSpeed(); const [webAudio, setWebAudio] = useState(null); const [player1Source, setPlayer1Source] = useState( @@ -67,6 +79,7 @@ export const AudioPlayer = forwardRef( const [player2Source, setPlayer2Source] = useState( null, ); + const calculateReplayGain = useCallback( (song: Song): number => { if (playback.replayGainMode === 'no') { @@ -117,10 +130,21 @@ export const AudioPlayer = forwardRef( useEffect(() => { if ('AudioContext' in window) { - const context = new AudioContext({ - latencyHint: 'playback', - sampleRate: playback.audioSampleRateHz || undefined, - }); + let context: AudioContext; + + try { + context = new AudioContext({ + latencyHint: 'playback', + sampleRate: playback.audioSampleRateHz || undefined, + }); + } catch (error) { + // In practice, this should never be hit because the UI should validate + // the range. However, the actual supported range is not guaranteed + toast.error({ message: (error as Error).message }); + context = new AudioContext({ latencyHint: 'playback' }); + resetSampleRate(); + } + const gain = context.createGain(); gain.connect(context.destination); @@ -152,9 +176,18 @@ export const AudioPlayer = forwardRef( useEffect(() => { if (status === PlayerStatus.PLAYING) { if (currentPlayer === 1) { - player1Ref.current?.getInternalPlayer()?.play(); + // calling play() is not necessarily a safe option (https://developer.chrome.com/blog/play-request-was-interrupted) + // In practice, this failure is only likely to happen when using the 0-second wav: + // play() + play() in rapid succession will cause problems as the frist one ends the track. + player1Ref.current + ?.getInternalPlayer() + ?.play() + .catch(() => {}); } else { - player2Ref.current?.getInternalPlayer()?.play(); + player2Ref.current + ?.getInternalPlayer() + ?.play() + .catch(() => {}); } } else { player1Ref.current?.getInternalPlayer()?.pause(); @@ -241,32 +274,29 @@ export const AudioPlayer = forwardRef( }, [audioDeviceId]); useEffect(() => { - if (webAudio && player1Source) { - if (player1 === undefined) { - player1Source.disconnect(); - setPlayer1Source(null); - } else if (currentPlayer === 1) { - webAudio.gain.gain.setValueAtTime(calculateReplayGain(player1), 0); - } + if (webAudio && player1Source && player1 && currentPlayer === 1) { + const newVolume = calculateReplayGain(player1) * volume; + webAudio.gain.gain.setValueAtTime(newVolume, 0); } - }, [calculateReplayGain, currentPlayer, player1, player1Source, webAudio]); + }, [calculateReplayGain, currentPlayer, player1, player1Source, volume, webAudio]); useEffect(() => { - if (webAudio && player2Source) { - if (player2 === undefined) { - player2Source.disconnect(); - setPlayer2Source(null); - } else if (currentPlayer === 2) { - webAudio.gain.gain.setValueAtTime(calculateReplayGain(player2), 0); - } + if (webAudio && player2Source && player2 && currentPlayer === 2) { + const newVolume = calculateReplayGain(player2) * volume; + webAudio.gain.gain.setValueAtTime(newVolume, 0); } - }, [calculateReplayGain, currentPlayer, player2, player2Source, webAudio]); + }, [calculateReplayGain, currentPlayer, player2, player2Source, volume, webAudio]); const handlePlayer1Start = useCallback( async (player: ReactPlayer) => { - if (!webAudio || player1Source) return; - if (webAudio.context.state !== 'running') { - await webAudio.context.resume(); + if (!webAudio) return; + if (player1Source) { + // This should fire once, only if the source is real (meaning we + // saw the dummy source) and the context is not ready + if (webAudio.context.state !== 'running') { + await webAudio.context.resume(); + } + return; } const internal = player.getInternalPlayer() as HTMLMediaElement | undefined; @@ -282,9 +312,12 @@ export const AudioPlayer = forwardRef( const handlePlayer2Start = useCallback( async (player: ReactPlayer) => { - if (!webAudio || player2Source) return; - if (webAudio.context.state !== 'running') { - await webAudio.context.resume(); + if (!webAudio) return; + if (player2Source) { + if (webAudio.context.state !== 'running') { + await webAudio.context.resume(); + } + return; } const internal = player.getInternalPlayer() as HTMLMediaElement | undefined; @@ -298,6 +331,9 @@ export const AudioPlayer = forwardRef( [player2Source, webAudio], ); + // Bugfix for Safari: rather than use the `