Compare commits

..

42 Commits

Author SHA1 Message Date
Safihre
8219737122 Remove redundant README.txt
Stupid mistake.
2023-07-10 15:33:17 +02:00
Safihre
c96599aa86 Remove duplicate Reddit posting 2023-07-10 15:21:31 +02:00
Safihre
b2c1960d93 Release notes were not present in releases 2023-07-10 14:54:34 +02:00
Safihre
9d24b4cc35 Correct finding of release in appdata 2023-07-10 14:19:56 +02:00
Safihre
3d675b033c Update text files for 4.0.3 2023-07-10 13:43:06 +02:00
Sander
0d2d9be8b3 better docker detections: works for older and newer docker versions (#2606)
* better docker detections: works for Ubuntu 18.04 and 22.04

* DOCKER = False, needed for non-POSIX

---------

Co-authored-by: sander <san.d.erjonkers+github@gmail.com>
2023-07-03 16:11:25 +02:00
Safihre
6e9b6dab97 add a grace period for expected filenames to show up (#2609) 2023-07-03 16:11:04 +02:00
Michael Nightingale
44a1717f6d Fix uu decoding when collapsing of lines starting with a doubled period is required (#2605) 2023-06-28 10:01:15 +02:00
Safihre
4f51c74297 Build binary using Python 3.11.4 2023-06-28 10:01:01 +02:00
thezoggy
87c64a8c5d add random import back to fixup (#2604) 2023-06-27 09:06:25 +02:00
Safihre
b6c6635f22 Add newline after link to Downloads page in Reddit post 2023-06-23 21:45:36 +02:00
Safihre
5a7abcb07c Update text files for 4.0.3RC1 2023-06-23 14:03:26 +02:00
jcfp
65232d134b Fix sorting for #2551 (#2598)
* fix #2551

* add test data dirs

* move sorting test data into subdir

* undo change to sabnews.create_nzb
2023-06-23 13:52:26 +02:00
Safihre
d7b4bdefe5 Check if version is present appdata before releasing 2023-06-23 13:52:12 +02:00
Safihre
6d9174bea1 Additional logging to debug Direct Unpack 2023-06-23 13:52:07 +02:00
François M
921edfd4c5 Add versions to appdata (#2595) 2023-06-23 13:52:00 +02:00
Safihre
786d5b0667 Lock add/remove_socket in Downloader
See if we can resolve #2591
2023-06-23 13:51:49 +02:00
Safihre
e846c71f20 Link to Downloads page was not included in Reddit post 2023-06-16 11:48:52 +02:00
Safihre
0108e2ef5a Update text files for 4.0.3Beta1 2023-06-16 10:53:58 +02:00
Safihre
9a81277ff6 No longer * import AppKit and Foundation 2023-06-16 09:07:29 +02:00
Safihre
06cc2ff316 Update release script to post directly to r/usenet and include link 2023-06-13 14:06:38 +02:00
renovate[bot]
7cdf4cb48c Update all dependencies 2023-06-13 14:06:31 +02:00
thezoggy
c34c547f1f Unable to modify Sorters (#2587) 2023-06-13 14:06:22 +02:00
Safihre
9507294db7 Move DirScanner Lock creation 2023-06-13 14:06:12 +02:00
Safihre
ae7dd62d9f Only initialize DirScanner Lock after starting event loop 2023-06-13 14:06:05 +02:00
renovate[bot]
52e309cb09 Update all dependencies 2023-06-13 14:06:00 +02:00
jcfp
b580373982 Fix sorting lowercasing (#2584)
* run lowercasing on season pack setname

* also subject %fn to lowercasing

* add tests

* woops
2023-06-13 14:05:37 +02:00
renovate[bot]
ec7bde5bb2 Update dependency cryptography to v41 [SECURITY] (#2583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 14:05:30 +02:00
Safihre
3516eeec5b Force full refresh after changing items-per-page
Closes #2416
2023-06-13 14:05:24 +02:00
Safihre
52351192e6 Use more reliable marker if job is still active 2023-06-13 14:05:18 +02:00
Safihre
363a26b8a1 Update text files for 4.0.2 2023-06-07 17:24:54 +02:00
Safihre
7e50a00f55 Correct parameter in release script to merge PR of update 2023-05-31 22:06:26 +02:00
Safihre
a7d6a80e82 Update text files for 4.0.2RC2 2023-05-31 21:49:02 +02:00
Safihre
e7da95b2ac Merge branch 'develop' into 4.0.x 2023-05-31 21:38:48 +02:00
Safihre
74fca23d59 Update text files for 4.0.2RC1 2023-05-23 21:31:43 +02:00
Safihre
0a12fa1253 Merge branch 'develop' into 4.0.x 2023-05-23 21:31:11 +02:00
Safihre
d8c0220353 Update text files for 4.0.1 2023-05-01 21:45:27 +02:00
Safihre
4ab425d15c Update appdata for 4.0.1 release 2023-05-01 21:41:48 +02:00
François M
74e5633d1c Add releases tag (#2539)
* Add 3.7.2 release tag

* Add 4.0.0 placeholder
2023-05-01 21:41:37 +02:00
Safihre
89d36bbc61 Update sabctools to 7.0.2 2023-05-01 21:36:32 +02:00
Safihre
1877ac18a5 Show a better crash on Python <3.8 2023-05-01 21:36:23 +02:00
Safihre
c4b0da335d Update text files for 4.0.0 2023-04-28 14:47:36 +02:00
252 changed files with 10090 additions and 17302 deletions

View File

@@ -1,43 +0,0 @@
# `git blame` master ignore list.
#
# This file contains a list of git hashes of revisions to be ignored
# by `git blame`. These revisions are considered "unimportant" in
# that they are unlikely to be what you are interested in when blaming.
# They are typically expected to be formatting-only changes.
#
# It can be used for `git blame` using `--ignore-revs-file` or by
# setting `blame.ignoreRevsFile` in the `git config`[1].
#
# Ignore these commits when reporting with blame. Calling
#
# git blame --ignore-revs-file .git-blame-ignore-revs
#
# will tell `git blame` to ignore changes made by these revisions when
# assigning blame, as if the change never happened.
#
# You can enable this as a default for your local repository by
# running
#
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# This will probably be automatically picked by your IDE
# (VSCode+GitLens and JetBrains products are confirmed to do this).
#
# Important: if you are switching to a branch without this file,
# `git blame` will fail with an error.
#
# GitHub also excludes the commits listed below from its "Blame"
# views[2][3].
#
# [1]: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile
# [2]: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/
# [3]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
# Black changes
465a88154152fb0607a63fa24c8446bff43ec886
f06891926661986fff52d6eb4b4cb120c71972d1
9bcbcaefdfecc85aedfd8e2f8aaa1ca7f959404e
433dcab02b29f7bd3827e237434034deecc1b549
9f6a9f991222efccc87b45a701086c95629c67b6
f89114ca7e1b20bf8e645ecd0b52b707ec857aa9

View File

@@ -1,31 +0,0 @@
name: Bug report
description: >
Did you discover a bug in SABnzbd? Report it here!
If you are not 100% certain this is a bug please go to our forums, Reddit or Discord server first.
labels:
- Bug
body:
- type: input
attributes:
label: SABnzbd version
validations:
required: true
- type: input
attributes:
label: Operating system
validations:
required: true
- type: dropdown
attributes:
label: Using Docker image
options:
- linuxserver
- hotio
- binhex
- Other
- type: textarea
attributes:
label: Description
description: Include error logs directly or link to extended logs on https://pastebin.com/
validations:
required: true

View File

@@ -1,11 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Support forum
url: https://forums.sabnzbd.org/
about: Support questions can be asked on our forums, Reddit or Discord server.
- name: Discord
url: https://discord.sabnzbd.org
about: Support questions can be asked on our forums, Reddit or Discord server.
- name: Reddit - r/sabnzbd
url: https://www.reddit.com/r/sabnzbd
about: Support questions can be asked on our forums, Reddit or Discord server.

View File

@@ -1,10 +0,0 @@
name: Feature request
description: What new feature would you like to have added to SABnzbd?
labels:
- Feature request
body:
- type: textarea
attributes:
label: Description
validations:
required: true

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

16
.github/renovate.json vendored
View File

@@ -7,23 +7,21 @@
"schedule": [
"before 8am on Monday"
],
"ignorePaths": [
"tests/**",
".github/workflows/**"
],
"pip_requirements": {
"fileMatch": [
"requirements.txt",
"tests/requirements.txt",
"builder/requirements.txt",
"builder/release-requirements.txt"
"builder/release-requirements.txt",
"builder/osx/requirements.txt"
]
},
"ignorePaths": [],
"ignoreDeps": [
"jaraco.text",
"jaraco.context",
"jaraco.collections",
"sabctools",
"paho-mqtt",
"werkzeug",
"pyinstaller"
"sabctools"
],
"packageRules": [
{

View File

@@ -12,15 +12,21 @@ jobs:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12 (64bit)
uses: actions/setup-python@v5
- uses: actions/checkout@v3
- name: Set up Python 3.11 (64bit)
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.11"
architecture: "x64"
cache: pip
cache-dependency-path: "**/requirements.txt"
- name: Cache Python virtualenv (64bit)
uses: syphar/restore-virtualenv@v1.3
id: cache-virtualenv-64bit
with:
custom_virtualenv_dir: "venv64"
custom_cache_key_element: "release"
requirement_files: "**/requirements.txt"
- name: Install Python dependencies (64bit)
if: steps.cache-virtualenv-64bit.outputs.cache-hit != 'true'
# Without dependencies to make sure everything is covered in the requirements.txt
run: |
python --version
@@ -30,77 +36,98 @@ jobs:
- name: Build Windows standalone binary and installer (64bit)
run: python builder/package.py installer
- name: Upload Windows standalone binary (64bit)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: "*-win64-bin.zip"
name: Windows standalone binary (64bit)
name: Windows Windows standalone binary (64bit)
- name: Upload Windows installer (64bit)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: "*-win-setup.exe"
name: Windows installer
- name: Set up Python 3.8 (32bit and legacy)
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: "3.8"
architecture: "x86"
cache: pip
cache-dependency-path: "**/requirements.txt"
- name: Cache Python virtualenv (32bit and legacy)
uses: syphar/restore-virtualenv@v1.3
id: cache-virtualenv-32bit
with:
custom_virtualenv_dir: "venv32"
custom_cache_key_element: "release"
requirement_files: "**/requirements.txt"
- name: Install Python dependencies (32bit and legacy)
if: steps.cache-virtualenv-32bit.outputs.cache-hit != 'true'
# We do not care about the extra dependencies for the legacy build
run: |
python --version
python -m pip install --upgrade pip wheel
pip install --upgrade -r requirements.txt --no-dependencies
pip install --upgrade -r builder/requirements.txt --no-dependencies
pip install --upgrade -r requirements.txt
pip install --upgrade -r builder/requirements.txt
- name: Build Windows standalone binary (32bit and legacy)
run: python builder/package.py binary
- name: Upload Windows standalone binary (32bit and legacy)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: "*-win32-bin.zip"
name: Windows standalone binary (32bit and legacy)
name: Windows Windows standalone binary (32bit and legacy)
build_macos:
name: Build macOS binary
runs-on: macos-14
runs-on: macos-11
timeout-minutes: 30
env:
# We need the official Python, because the GA ones only support newer macOS versions
# The deployment target is picked up by the Python build tools automatically
# If updated, make sure to also set LSMinimumSystemVersion in SABnzbd.spec
PYTHON_VERSION: "3.12.6"
MACOSX_DEPLOYMENT_TARGET: "10.13"
PYTHON_VERSION: "3.11.4"
MACOSX_DEPLOYMENT_TARGET: "10.9"
# We need to force compile for universal2 support
CFLAGS: -arch x86_64 -arch arm64
ARCHFLAGS: -arch x86_64 -arch arm64
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
# Only use this for the caching of pip packages!
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: "**/requirements.txt"
- uses: actions/checkout@v3
- name: Cache Python download
id: cache-python-download
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: ~/python.pkg
key: cache-macOS-Python-${{ env.PYTHON_VERSION }}
- name: Get Python from python.org
- name: Get Python
if: steps.cache-python-download.outputs.cache-hit != 'true'
run: curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -o ~/python.pkg
- name: Install Python
run: sudo installer -pkg ~/python.pkg -target /
run: |
sudo installer -pkg ~/python.pkg -target /
unlink /usr/local/bin/python
ln -s /usr/local/bin/python3 /usr/local/bin/python
- name: Cache Python virtualenv
uses: syphar/restore-virtualenv@v1.3
id: cache-virtualenv
with:
custom_cache_key_element: "release"
requirement_files: "**/requirements.txt"
- name: Install Python dependencies
# We have to manually compile some modules as they don't automatically fetch universal2 binaries
# We have to manually take a few steps:
# 1. Because building cryptography is hard, and we cannot force pip to fetch universal2 version we
# first install the x86 version (and it's dependencies) and then manually fetch the universal2 build
# https://github.com/pyca/cryptography/issues/5918
# 2. Due to PyObjC we cannot run pip on the main requirements without installing dependencies
# 3. We need to build the PyInstaller bootloader:
# https://github.com/pyinstaller/pyinstaller/issues/6235
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
run: |
python3 --version
pip3 install --upgrade pip wheel
pip3 install --upgrade -r requirements.txt --no-binary cffi,CT3,PyYAML,charset_normalizer --no-dependencies
pip3 install --upgrade -r builder/requirements.txt --no-dependencies
pip3 install --upgrade -r requirements.txt --no-binary cffi
pip3 uninstall cryptography -y
pip3 download -r builder/osx/requirements.txt --platform macosx_10_12_universal2 --only-binary :all: --no-deps --dest .
pip3 install -r builder/osx/requirements.txt --no-cache-dir --no-index --find-links .
PYINSTALLER_COMPILE_BOOTLOADER=1 pip3 install --upgrade -r builder/requirements.txt --no-binary pyinstaller --no-dependencies
- name: Import macOS codesign certificates
# Taken from https://github.com/Apple-Actions/import-codesign-certs/pull/27 (comments)
env:
@@ -120,7 +147,7 @@ jobs:
# Run this on macOS so the line endings are correct by default
run: python builder/package.py source
- name: Upload source distribution
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: "*-src.tar.gz"
name: Source distribution
@@ -133,7 +160,7 @@ jobs:
python3 builder/package.py app
python3 builder/make_dmg.py
- name: Upload macOS binary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: "*-osx.dmg"
name: macOS binary (not notarized)
@@ -144,13 +171,13 @@ jobs:
needs: [build_windows, build_macos]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: dist
- name: Move all artifacts to main folder

View File

@@ -7,7 +7,7 @@ jobs:
name: Black Code Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Black Code Formatter
uses: lgeiger/black-action@master
with:
@@ -31,18 +31,18 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-architecture: ["x64"]
name: ["Linux"]
os: [ubuntu-latest]
os: [ubuntu-20.04]
include:
- name: macOS
os: macos-latest
python-version: "3.13"
python-version: "3.11"
python-architecture: "x64"
- name: Windows
os: windows-latest
python-version: "3.13"
python-version: "3.11"
python-architecture: "x64"
- name: Windows (32bit)
os: windows-latest
@@ -50,22 +50,27 @@ jobs:
python-architecture: "x86"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.python-architecture }}
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.python-architecture }}
cache: pip
cache-dependency-path: "**/requirements.txt"
- name: Install system dependencies
if: runner.os == 'Linux'
run: sudo apt-get install unrar 7zip par2
run: sudo apt-get install unrar p7zip-full par2
- name: Cache Python virtualenv
uses: syphar/restore-virtualenv@v1.3
id: cache-virtualenv
with:
custom_cache_key_element: ci-${{ matrix.python-architecture }}
requirement_files: "**/requirements.txt"
- name: Install Python dependencies
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
run: |
python --version
python -m pip install --upgrade pip wheel
pip install --upgrade -r requirements.txt --no-dependencies
pip install --upgrade -r requirements.txt
pip install --upgrade -r tests/requirements.txt
- name: Test SABnzbd
run: pytest -s

View File

@@ -1,4 +1,4 @@
name: "Close and lock old issues"
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
@@ -10,7 +10,7 @@ jobs:
if: github.repository_owner == 'sabnzbd'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v8
with:
days-before-stale: 21
days-before-close: 7
@@ -20,14 +20,3 @@ jobs:
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
exempt-issue-labels: "Feature request, Work in progress, Bug"
lock:
name: "Lock old issues"
if: github.repository_owner == 'sabnzbd'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
log-output: true
issue-inactive-days: 60
pr-inactive-days: 60

View File

@@ -12,7 +12,7 @@ jobs:
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
token: ${{ secrets.AUTOMATION_GITHUB_TOKEN }}
- name: Generate translatable texts
@@ -21,16 +21,16 @@ jobs:
- name: Push/pull Transifex translations
if: env.TX_TOKEN
# Add --translation to the push command in order to update Transifex using local translation edits
# However, this prevents modifying existing translations in Transifex as they will be overwritten by the push!
# However, this prevents modifying existing translations in Transifex as they will be overwritten by the push!
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
./tx push --source
./tx push --source
./tx pull --all --force
- name: Compile translations to validate them
run: |
python3 tools/make_mo.py
- name: Push translatable and translated texts back to repo
uses: stefanzweifel/git-auto-commit-action@v5.0.1
uses: stefanzweifel/git-auto-commit-action@v4.16.0
if: env.TX_TOKEN
with:
commit_message: |

View File

@@ -1,7 +1,7 @@
(c) Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
The SABnzbd-Team is:
The SABnzbd-team is:
Active team:
Safihre

View File

@@ -4,7 +4,7 @@
0) LICENSE
-------------------------------------------------------------------------------
(c) Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -55,7 +55,7 @@ Specific guides to install from source are available for Windows and macOS:
Only Python 3.8 and above is supported.
On Linux systems you need to install:
par2 unrar python3-setuptools python3-pip
par2 unrar unzip python3-setuptools python3-pip
On non-X86 platforms, for which PyPI does not provide all pre-compiled packages,
you also need to install these development libraries (exact names might differ per platform):

View File

@@ -48,3 +48,11 @@
You can make SABnzbd wait for a mount of the "temporary download folder" by setting
Config->Special->wait_for_dfolder to 1.
SABnzbd will appear to hang until the drive is mounted.
- If you experience speed-drops to KB/s when using a VPN, try setting the number of connections
to your servers to a total of 7. There is a CPU-usage reduction feature in SABnzbd that
gets confused by the way some VPN's handle the state of a connection. Below 8 connections
this feature is not active.
- If the queue is paused but one or more jobs have the Force priority, SABnzbd might still
download some data from other jobs in the queue if active servers have unused connections.

View File

@@ -1,4 +1,4 @@
(c) Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License

View File

@@ -2,7 +2,7 @@ SABnzbd - The automated Usenet download tool
============================================
[![License](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[![Join our Discord](https://img.shields.io/discord/976737547558461480?color=7289DA&label=Discord&logo=Discord&logoColor=white)](https://discord.sabnzbd.org)
[![Join our Discord](https://img.shields.io/discord/976737547558461480?color=7289DA&label=Discord&logo=Discord&logoColor=white)](https://discord.gg/KQzDe7fvNU)
SABnzbd is an Open Source Binary Newsreader written in Python.

View File

@@ -1,33 +1,72 @@
Release Notes - SABnzbd 4.4.0 Alpha 2
Release Notes - SABnzbd 4.0.3
=========================================================
This is the first test release of SABnzbd 4.4.0.
## Bugfixes and changes since 4.0.2
- Direct Unpack could get stuck.
- Sorters could not be modified.
- Season Sorting did not respect desired capitalization.
- Crashes could occur in the `Downloader` on timeouts.
- Prevent extra job directory in case of folder-only Sorting.
- UUencoded articles could fail to decode.
- Windows: Windows Service would fail to start on legacy release.
- macOS: Failed to launch on macOS Sonoma Beta.
## New features since 4.3.0
## Breaking change in 4.0.1
- The `Parameters` setting of a `Notification Script` is now passed as
environment variable `SAB_NOTIFICATION_PARAMETERS` instead of as a
command-line parameter. This prevents the possibility of remote code
execution on systems exposed to the internet without a username/password.
If you use `nzb-notify` you need to update it to the latest version.
* Subtitle files will be deobfuscated if required.
* macOS: Dropped support for macOS 10.12 and below.
## Bugfixes and changes since 4.0.1
- Disabling a server during download did not stop it from downloading.
- Show last line of post-processing script output even if it failed.
- Prevent crash during Deobfuscate on non-unique paths.
- Files that could not be parsed were removed from the `Watched Folder`.
- Warn if the file system does not support unicode or long filenames.
- Warn if `Scripts Folder` is inside the application directory.
- Prevent output buffering of Python post-processing scripts.
- The `PKG-INFO` file was removed from the `src` release.
- Correctly decode partially malformed UUencoded posts.
- macOS: Tray icon could not be disabled.
## Bug fixes since 4.3.0
## Changes since 3.7.2
- In this major update we optimized a core part of the SSL handling.
This results in large performance increase when downloading from news
servers with SSL enabled. In addition, the general connection handling
was improved, resulting in performance improvements for all news servers.
Special thanks to: mnightingale, puzzledsab and animetosho!
- There are multiple settings that can tweak performance, see:
https://github.com/sabnzbd/sabnzbd/discussions/2474
- When adding a new news server, SSL is enabled by default.
- File assembly performance significantly improved by relying on the
CRC32 instead of the MD5 to perform QuickCheck of files.
- Slow down more gracefully when the cache fills up.
- Replaced separate Series/Movie/Date Sorting with general Sorter.
- HTTPS files are included in the `Backup`.
- Improved `Watched Folder` scanning and processing.
- Ignore resource fork files created by macOS.
- `Deobfuscate final filenames` is enabled for new installations.
- Dropped support for Python 3.7.
* Toggling of Servers could result in jobs being stuck at 99%.
* Config restart would always determine redirect URL instead of using current.
## Bugfixes since 3.7.2
- Restore applying `History Retention` setting at startup.
- Windows: Not all invalid characters were removed from filenames.
- Windows: Firewall rules were not removed by uninstaller.
## Upgrade notices
* You can directly upgrade from version 3.0.0 and newer.
* Upgrading from older versions will require performing a `Queue repair`.
* Downgrading from version 4.2.0 or newer to 3.7.2 or older will require
performing a `Queue repair` due to changes in the internal data format.
- The download statistics file `totals10.sab` is updated in 3.2.x
version. If you downgrade to 3.1.x or lower, detailed download
statistics will be lost.
## Known problems and solutions
* Read `ISSUES.txt` or https://sabnzbd.org/wiki/introduction/known-issues
- Read the file "ISSUES.txt"
## About
SABnzbd is an open-source cross-platform binary newsreader.
It simplifies the process of downloading from Usenet dramatically, thanks to its web-based
user interface and advanced built-in post-processing options that automatically verify, repair,
extract and clean up posts downloaded from Usenet.
SABnzbd is an open-source cross-platform binary newsreader.
It simplifies the process of downloading from Usenet dramatically, thanks
to its web-based user interface and advanced built-in post-processing options
that automatically verify, repair, extract and clean up posts downloaded
from Usenet.
(c) Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
(c) Copyright 2007-2023 by "The SABnzbd-team" \<team@sabnzbd.org\>

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -47,7 +47,6 @@ try:
import feedparser
import configobj
import cherrypy
import cheroot.errors
import portend
import cryptography
import chardet
@@ -65,7 +64,7 @@ import sabnzbd
import sabnzbd.lang
import sabnzbd.interface
from sabnzbd.constants import (
DEF_NETWORKING_TIMEOUT,
DEF_TIMEOUT,
DEF_LOG_ERRFILE,
DEF_MAIN_TMPL,
DEF_STD_WEB_DIR,
@@ -84,6 +83,7 @@ from sabnzbd.constants import (
)
import sabnzbd.newsunpack
from sabnzbd.misc import (
check_latest_version,
exit_sab,
split_host,
create_https_certificates,
@@ -104,7 +104,8 @@ import sabnzbd.config as config
import sabnzbd.cfg
import sabnzbd.notifier as notifier
import sabnzbd.zconfig
from sabnzbd.getipaddress import local_ipv4
from sabnzbd.getipaddress import localipv4, publicipv4, ipv6, dnslookup
from sabnzbd.utils.getperformance import getpystone, getcpu
import sabnzbd.utils.ssdp as ssdp
try:
@@ -170,8 +171,7 @@ class GUIHandler(logging.Handler):
# This prevents endless looping if the notification service itself throws an error/warning
# We don't check based on message content, because if it includes a timestamp it's not unique
if not any(
stored_warning["origin"] == warning["origin"]
and stored_warning["time"] + DEF_NETWORKING_TIMEOUT > time.time()
stored_warning["origin"] == warning["origin"] and stored_warning["time"] + DEF_TIMEOUT > time.time()
for stored_warning in self.store
):
if record.levelno == logging.WARNING:
@@ -244,7 +244,7 @@ def print_version():
"""
%s-%s
(C) Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
Copyright (C) 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
SABnzbd comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. It is licensed under the
@@ -298,14 +298,14 @@ def daemonize():
os.dup2(f.fileno(), sys.stderr.fileno())
def abort_and_show_error(browserhost, web_port, err=""):
def abort_and_show_error(browserhost, cherryport, err=""):
"""Abort program because of CherryPy troubles"""
logging.error(T("Failed to start web-interface") + " : " + str(err))
if not sabnzbd.DAEMON:
if "49" in err:
panic_host(browserhost, web_port)
panic_host(browserhost, cherryport)
else:
panic_port(browserhost, web_port)
panic_port(browserhost, cherryport)
sabnzbd.halt()
exit_sab(2)
@@ -448,8 +448,7 @@ def print_modules():
if sabnzbd.WIN32 and sabnzbd.newsunpack.MULTIPAR_COMMAND:
logging.info("MultiPar binary... found (%s)", sabnzbd.newsunpack.MULTIPAR_COMMAND)
if sabnzbd.newsunpack.PAR2_COMMAND:
elif sabnzbd.newsunpack.PAR2_COMMAND:
logging.info("par2 binary... found (%s)", sabnzbd.newsunpack.PAR2_COMMAND)
else:
logging.error(T("par2 binary... NOT found!"))
@@ -471,12 +470,18 @@ def print_modules():
# Do not allow downloading
sabnzbd.NO_DOWNLOADING = True
# If available, we prefer 7zip over unzip
if sabnzbd.newsunpack.SEVENZIP_COMMAND:
logging.info("7za binary... found (%s)", sabnzbd.newsunpack.SEVENZIP_COMMAND)
if not (sabnzbd.WIN32 or sabnzbd.MACOS):
logging.info("7za binary version %s", sabnzbd.newsunpack.SEVENZIP_VERSION)
else:
logging.warning(T("7za binary... NOT found!"))
logging.info(T("7za binary... NOT found!"))
if sabnzbd.newsunpack.ZIP_COMMAND:
logging.info("unzip binary... found (%s)", sabnzbd.newsunpack.ZIP_COMMAND)
else:
logging.info(T("unzip binary... NOT found!"))
if not sabnzbd.WIN32:
if sabnzbd.newsunpack.NICE_COMMAND:
@@ -531,19 +536,19 @@ def check_resolve(host):
return True
def get_webhost(web_host, web_port, https_port):
def get_webhost(cherryhost, cherryport, https_port):
"""Determine the webhost address and port,
return (host, port, browserhost)
"""
if web_host == "0.0.0.0" and not check_resolve("127.0.0.1"):
web_host = ""
elif web_host == "::" and not check_resolve("::1"):
web_host = ""
if cherryhost == "0.0.0.0" and not check_resolve("127.0.0.1"):
cherryhost = ""
elif cherryhost == "::" and not check_resolve("::1"):
cherryhost = ""
if web_host is None:
web_host = sabnzbd.cfg.web_host()
if cherryhost is None:
cherryhost = sabnzbd.cfg.cherryhost()
else:
sabnzbd.cfg.web_host.set(web_host)
sabnzbd.cfg.cherryhost.set(cherryhost)
# Get IP address, but discard APIPA/IPV6
# If only APIPA's or IPV6 are found, fall back to localhost
@@ -555,10 +560,10 @@ def get_webhost(web_host, web_port, https_port):
# Hostname does not resolve
try:
# Valid user defined name?
info = socket.getaddrinfo(web_host, None)
info = socket.getaddrinfo(cherryhost, None)
except socket.error:
if not is_localhost(web_host):
web_host = "0.0.0.0"
if not is_localhost(cherryhost):
cherryhost = "0.0.0.0"
try:
info = socket.getaddrinfo(localhost, None)
except socket.error:
@@ -575,75 +580,79 @@ def get_webhost(web_host, web_port, https_port):
hostip = ip
# A blank host will use the local ip address
if web_host == "":
if cherryhost == "":
if ipv6 and ipv4:
# To protect Firefox users, use numeric IP
web_host = hostip
cherryhost = hostip
browserhost = hostip
else:
web_host = socket.gethostname()
browserhost = web_host
cherryhost = socket.gethostname()
browserhost = cherryhost
# 0.0.0.0 will listen on all ipv4 interfaces (no ipv6 addresses)
elif web_host == "0.0.0.0":
elif cherryhost == "0.0.0.0":
# Just take the gamble for this
web_host = "0.0.0.0"
cherryhost = "0.0.0.0"
browserhost = localhost
# :: will listen on all ipv6 interfaces (no ipv4 addresses)
elif web_host in ("::", "[::]"):
web_host = web_host.strip("[").strip("]")
elif cherryhost in ("::", "[::]"):
cherryhost = cherryhost.strip("[").strip("]")
# Assume '::1' == 'localhost'
browserhost = localhost
# IPV6 address
elif "[" in web_host or ":" in web_host:
browserhost = web_host
elif "[" in cherryhost or ":" in cherryhost:
browserhost = cherryhost
# IPV6 numeric address
elif web_host.replace(".", "").isdigit():
elif cherryhost.replace(".", "").isdigit():
# IPV4 numerical
browserhost = web_host
browserhost = cherryhost
elif web_host == localhost:
web_host = localhost
elif cherryhost == localhost:
cherryhost = localhost
browserhost = localhost
else:
# If on APIPA, use numerical IP, to help FireFoxers
if ipv6 and ipv4:
web_host = hostip
browserhost = web_host
cherryhost = hostip
browserhost = cherryhost
# Some systems don't like brackets in numerical ipv6
if sabnzbd.MACOS:
web_host = web_host.strip("[]")
cherryhost = cherryhost.strip("[]")
else:
try:
socket.getaddrinfo(web_host, None)
socket.getaddrinfo(cherryhost, None)
except socket.error:
web_host = web_host.strip("[]")
cherryhost = cherryhost.strip("[]")
if ipv6 and ipv4 and web_host == "" and sabnzbd.WIN32:
if ipv6 and ipv4 and not is_localhost(browserhost):
sabnzbd.AMBI_LOCALHOST = True
logging.info("IPV6 has priority on this system, potential Firefox issue")
if ipv6 and ipv4 and cherryhost == "" and sabnzbd.WIN32:
helpful_warning(T("Please be aware the 0.0.0.0 hostname will need an IPv6 address for external access"))
if web_host == "localhost" and not sabnzbd.WIN32 and not sabnzbd.MACOS:
if cherryhost == "localhost" and not sabnzbd.WIN32 and not sabnzbd.MACOS:
# On the Ubuntu family, localhost leads to problems for CherryPy
ips = ip_extract()
if "127.0.0.1" in ips and "::1" in ips:
web_host = "127.0.0.1"
cherryhost = "127.0.0.1"
if ips[0] != "127.0.0.1":
browserhost = "127.0.0.1"
# This is to please Chrome on macOS
if web_host == "localhost" and sabnzbd.MACOS:
web_host = "127.0.0.1"
if cherryhost == "localhost" and sabnzbd.MACOS:
cherryhost = "127.0.0.1"
browserhost = "localhost"
if web_port is None:
web_port = sabnzbd.cfg.web_port.get_int()
if cherryport is None:
cherryport = sabnzbd.cfg.cherryport.get_int()
else:
sabnzbd.cfg.web_port.set(str(web_port))
sabnzbd.cfg.cherryport.set(str(cherryport))
if https_port is None:
https_port = sabnzbd.cfg.https_port.get_int()
@@ -652,12 +661,12 @@ def get_webhost(web_host, web_port, https_port):
# if the https port was specified, assume they want HTTPS enabling also
sabnzbd.cfg.enable_https.set(True)
if web_port == https_port and sabnzbd.cfg.enable_https():
if cherryport == https_port and sabnzbd.cfg.enable_https():
sabnzbd.cfg.enable_https.set(False)
# Should have a translated message, but that's not available yet
logging.error(T("HTTP and HTTPS ports cannot be the same"))
return web_host, web_port, browserhost, https_port
return cherryhost, cherryport, browserhost, https_port
def attach_server(host, port, cert=None, key=None, chain=None):
@@ -752,9 +761,26 @@ def commandline_handler():
serv_opts = [os.path.normpath(os.path.abspath(sys.argv[0]))]
upload_nzbs = []
# macOS binary: get rid of the weird -psn_0_123456 parameter
for arg in sys.argv:
if arg.startswith("-psn_"):
sys.argv.remove(arg)
break
# Ugly hack to remove the extra "SABnzbd*" parameter the Windows binary
# gets when it's restarted
if len(sys.argv) > 1 and "sabnzbd" in sys.argv[1].lower() and not sys.argv[1].startswith("-"):
slice_start = 2
else:
slice_start = 1
# Prepend options from env-variable to options
info = os.environ.get("SABnzbd", "").split()
info.extend(sys.argv[slice_start:])
try:
opts, args = getopt.getopt(
sys.argv[1:],
info,
"phdvncwl:s:f:t:b:2:",
[
"pause",
@@ -837,13 +863,13 @@ def main():
autobrowser = None
autorestarted = False
sabnzbd.MY_FULLNAME = __file__
sabnzbd.MY_FULLNAME = sys.argv[0]
sabnzbd.MY_NAME = os.path.basename(sabnzbd.MY_FULLNAME)
fork = False
pause = False
inifile = None
web_host = None
web_port = None
cherryhost = None
cherryport = None
https_port = None
cherrypylogging = None
clean_up = False
@@ -881,11 +907,14 @@ def main():
elif opt in ("-t", "--templates"):
web_dir = arg
elif opt in ("-s", "--server"):
(web_host, web_port) = split_host(arg)
(cherryhost, cherryport) = split_host(arg)
elif opt in ("-n", "--nobrowser"):
autobrowser = False
elif opt in ("-b", "--browser"):
autobrowser = sabnzbd.misc.bool_conv(arg)
try:
autobrowser = bool(int(arg))
except ValueError:
autobrowser = True
elif opt == "--autorestarted":
autorestarted = True
elif opt in ("-c", "--clean"):
@@ -902,7 +931,6 @@ def main():
exit_sab(1)
elif opt == "--console":
console_logging = True
sabnzbd.RESTART_ARGS.append(opt)
elif opt in ("-v", "--version"):
print_version()
exit_sab(0)
@@ -947,7 +975,7 @@ def main():
org_dir = os.getcwd()
# Need console logging if requested, for SABnzbd.py and SABnzbd-console.exe
console_logging = console_logging or sys.executable.endswith("console.exe") or not hasattr(sys, "frozen")
console_logging = console_logging or sabnzbd.MY_NAME.lower().find("-console") > 0 or not hasattr(sys, "frozen")
console_logging = console_logging and not sabnzbd.DAEMON
LOGLEVELS = (logging.FATAL, logging.WARNING, logging.INFO, logging.DEBUG)
@@ -1004,24 +1032,24 @@ def main():
sabnzbd.cfg.ipv6_hosting.set(ipv6_hosting)
# Determine web host address
web_host, web_port, browserhost, https_port = get_webhost(web_host, web_port, https_port)
cherryhost, cherryport, browserhost, https_port = get_webhost(cherryhost, cherryport, https_port)
enable_https = sabnzbd.cfg.enable_https()
# When this is a daemon, just check and bail out if port in use
if sabnzbd.DAEMON:
if enable_https and https_port:
try:
portend.free(web_host, https_port, timeout=0.05)
portend.free(cherryhost, https_port, timeout=0.05)
except IOError:
abort_and_show_error(browserhost, web_port)
abort_and_show_error(browserhost, cherryport)
except:
abort_and_show_error(browserhost, web_port, "49")
abort_and_show_error(browserhost, cherryport, "49")
try:
portend.free(web_host, web_port, timeout=0.05)
portend.free(cherryhost, cherryport, timeout=0.05)
except IOError:
abort_and_show_error(browserhost, web_port)
abort_and_show_error(browserhost, cherryport)
except:
abort_and_show_error(browserhost, web_port, "49")
abort_and_show_error(browserhost, cherryport, "49")
# Windows instance is reachable through registry
url = None
@@ -1032,7 +1060,7 @@ def main():
# SSL
if enable_https:
port = https_port or web_port
port = https_port or cherryport
try:
portend.free(browserhost, port, timeout=0.05)
except IOError as error:
@@ -1044,7 +1072,7 @@ def main():
if new_instance or not check_for_sabnzbd(url, upload_nzbs, autobrowser):
# Bail out if we have fixed our ports after first start-up
if sabnzbd.cfg.fixed_ports():
abort_and_show_error(browserhost, web_port)
abort_and_show_error(browserhost, cherryport)
# Find free port to bind
newport = find_free_port(browserhost, port)
if newport > 0:
@@ -1054,34 +1082,34 @@ def main():
sabnzbd.cfg.https_port.set(newport)
else:
# In case HTTPS == HTTP port
web_port = newport
sabnzbd.cfg.web_port.set(newport)
cherryport = newport
sabnzbd.cfg.cherryport.set(newport)
except:
# Something else wrong, probably badly specified host
abort_and_show_error(browserhost, web_port, "49")
abort_and_show_error(browserhost, cherryport, "49")
# NonSSL check if there's no HTTPS or we only use 1 port
if not (enable_https and not https_port):
try:
portend.free(browserhost, web_port, timeout=0.05)
portend.free(browserhost, cherryport, timeout=0.05)
except IOError as error:
if str(error) == "Port not bound.":
pass
else:
if not url:
url = "http://%s:%s%s/api?" % (browserhost, web_port, sabnzbd.cfg.url_base())
url = "http://%s:%s%s/api?" % (browserhost, cherryport, sabnzbd.cfg.url_base())
if new_instance or not check_for_sabnzbd(url, upload_nzbs, autobrowser):
# Bail out if we have fixed our ports after first start-up
if sabnzbd.cfg.fixed_ports():
abort_and_show_error(browserhost, web_port)
abort_and_show_error(browserhost, cherryport)
# Find free port to bind
port = find_free_port(browserhost, web_port)
port = find_free_port(browserhost, cherryport)
if port > 0:
sabnzbd.cfg.web_port.set(port)
web_port = port
sabnzbd.cfg.cherryport.set(port)
cherryport = port
except:
# Something else wrong, probably badly specified host
abort_and_show_error(browserhost, web_port, "49")
abort_and_show_error(browserhost, cherryport, "49")
# We found a port, now we never check again
sabnzbd.cfg.fixed_ports.set(True)
@@ -1093,7 +1121,8 @@ def main():
sys.exit(1)
if clean_up:
for x in globber_full(logdir):
xlist = globber_full(logdir)
for x in xlist:
if RSS_FILE_NAME not in x:
try:
os.remove(x)
@@ -1203,13 +1232,23 @@ def main():
logging.warning(T("Could not load additional certificates from certifi package"))
logging.info("Traceback: ", exc_info=True)
# List the number of certificates available (can take up to 1.5 seconds)
# Extra startup info
if sabnzbd.cfg.log_level() > 1:
# List the number of certificates available (can take up to 1.5 seconds)
logging.debug("Available certificates = %s", repr(ssl.create_default_context().cert_store_stats()))
# List networking
localipv4()
publicipv4()
ipv6()
dnslookup()
# Measure basic system performance measured by pystone and - if possible - CPU model
getpystone()
getcpu()
logging.info("Using INI file %s", inifile)
# Store auto-browser setting from command line
if autobrowser is not None:
sabnzbd.cfg.autobrowser.set(autobrowser)
@@ -1275,29 +1314,29 @@ def main():
# Starting of the webserver
# Determine if this system has multiple definitions for 'localhost'
hosts = all_localhosts()
multilocal = len(hosts) > 1 and web_host in ("localhost", "0.0.0.0")
multilocal = len(hosts) > 1 and cherryhost in ("localhost", "0.0.0.0")
# For 0.0.0.0 CherryPy will always pick IPv4, so make sure the secondary localhost is IPv6
if multilocal and web_host == "0.0.0.0" and hosts[1] == "127.0.0.1":
if multilocal and cherryhost == "0.0.0.0" and hosts[1] == "127.0.0.1":
hosts[1] = "::1"
# The Windows binary requires numeric localhost as primary address
if web_host == "localhost":
web_host = hosts[0]
if cherryhost == "localhost":
cherryhost = hosts[0]
if enable_https:
if https_port:
# Extra HTTP port for primary localhost
attach_server(web_host, web_port)
attach_server(cherryhost, cherryport)
if multilocal:
# Extra HTTP port for secondary localhost
attach_server(hosts[1], web_port)
attach_server(hosts[1], cherryport)
# Extra HTTPS port for secondary localhost
attach_server(hosts[1], https_port, https_cert, https_key, https_chain)
web_port = https_port
cherryport = https_port
elif multilocal:
# Extra HTTPS port for secondary localhost
attach_server(hosts[1], web_port, https_cert, https_key, https_chain)
attach_server(hosts[1], cherryport, https_cert, https_key, https_chain)
cherrypy.config.update(
{
@@ -1309,7 +1348,7 @@ def main():
)
elif multilocal:
# Extra HTTP port for secondary localhost
attach_server(hosts[1], web_port)
attach_server(hosts[1], cherryport)
if no_login:
sabnzbd.cfg.username.set("")
@@ -1332,9 +1371,10 @@ def main():
cherrypy.config.update(
{
"server.environment": "production",
"server.socket_host": web_host,
"server.socket_port": web_port,
"server.socket_host": cherryhost,
"server.socket_port": cherryport,
"server.shutdown_timeout": 0,
"log.screen": False,
"engine.autoreload.on": False,
"tools.encode.on": True,
"tools.gzip.on": True,
@@ -1345,19 +1385,14 @@ def main():
}
)
# Catch shutdown errors that can break cherrypy/cheroot
# See https://github.com/cherrypy/cheroot/issues/710
try:
cheroot.errors.acceptable_sock_shutdown_exceptions += (OSError,)
except AttributeError:
pass
# Do we want CherryPy Logging? Cannot be done via the config
cherrypy.log.screen = False
cherrypy.log.access_log.propagate = False
if cherrypylogging:
sabnzbd.WEBLOGFILE = os.path.join(logdir, DEF_LOG_CHERRY)
cherrypy.log.screen = True
cherrypy.log.access_log.propagate = True
cherrypy.log.access_file = str(sabnzbd.WEBLOGFILE)
else:
cherrypy.log.access_log.propagate = False
# Force mimetypes (OS might overwrite them)
forced_mime_types = {"css": "text/css", "js": "application/javascript"}
@@ -1401,7 +1436,7 @@ def main():
# Set authentication for CherryPy
sabnzbd.interface.set_auth(cherrypy.config)
logging.info("Starting web-interface on %s:%s", web_host, web_port)
logging.info("Starting web-interface on %s:%s", cherryhost, cherryport)
sabnzbd.cfg.log_level.callback(guard_loglevel)
@@ -1411,7 +1446,7 @@ def main():
# Since the webserver is started by cherrypy in a separate thread, we can't really catch any
# start-up errors. This try/except only catches very few errors, the rest is only shown in the console.
logging.error(T("Failed to start web-interface: "), exc_info=True)
abort_and_show_error(browserhost, web_port)
abort_and_show_error(browserhost, cherryport)
# Create a record of the active cert/key/chain files, for use with config.create_config_backup()
if enable_https:
@@ -1419,18 +1454,24 @@ def main():
if full_path := getattr(sabnzbd.cfg, setting).get_path():
sabnzbd.CONFIG_BACKUP_HTTPS_OK.append(full_path)
# Set URL for browser
if enable_https:
sabnzbd.BROWSER_URL = "https://%s:%s%s" % (browserhost, web_port, sabnzbd.cfg.url_base())
else:
sabnzbd.BROWSER_URL = "http://%s:%s%s" % (browserhost, web_port, sabnzbd.cfg.url_base())
if sabnzbd.WIN32:
# Write URL for uploads and version check directly to registry
set_connection_info(f"{sabnzbd.BROWSER_URL}/api?apikey={sabnzbd.cfg.api_key()}")
if enable_https:
mode = "s"
else:
mode = ""
api_url = "http%s://%s:%s%s/api?apikey=%s" % (
mode,
browserhost,
cherryport,
sabnzbd.cfg.url_base(),
sabnzbd.cfg.api_key(),
)
# Write URL directly to registry
set_connection_info(api_url)
if pid_path or pid_file:
sabnzbd.pid_file(pid_path, pid_file, web_port)
sabnzbd.pid_file(pid_path, pid_file, cherryport)
# Stop here in case of fatal errors
if sabnzbd.NO_DOWNLOADING:
@@ -1452,20 +1493,29 @@ def main():
for upload_nzb in upload_nzbs:
sabnzbd.nzbparser.add_nzbfile(upload_nzb)
# Set URL for browser
if enable_https:
browser_url = "https://%s:%s%s" % (browserhost, cherryport, sabnzbd.cfg.url_base())
else:
browser_url = "http://%s:%s%s" % (browserhost, cherryport, sabnzbd.cfg.url_base())
sabnzbd.BROWSER_URL = browser_url
if not autorestarted:
launch_a_browser(sabnzbd.BROWSER_URL)
launch_a_browser(browser_url)
notifier.send_notification("SABnzbd", T("SABnzbd %s started") % sabnzbd.__version__, "startup")
# Now's the time to check for a new version
check_latest_version()
autorestarted = False
# Start SSDP and Bonjour if SABnzbd isn't listening on localhost only
if sabnzbd.cfg.enable_broadcast() and not is_localhost(web_host):
if sabnzbd.cfg.enable_broadcast() and not is_localhost(cherryhost):
# Try to find a LAN IP address for SSDP/Bonjour
if is_lan_addr(web_host):
if is_lan_addr(cherryhost):
# A specific listening address was configured, use that
external_host = web_host
external_host = cherryhost
else:
# Fall back to the IPv4 address of the LAN interface
external_host = local_ipv4()
external_host = localipv4()
logging.debug("Using %s as host address for Bonjour and SSDP", external_host)
# Only broadcast to local network addresses. If local ranges have been defined, further
@@ -1476,13 +1526,13 @@ def main():
(not sabnzbd.cfg.local_ranges()) or any(ip_in_subnet(external_host, r) for r in sabnzbd.cfg.local_ranges())
):
# Start Bonjour and SSDP
sabnzbd.zconfig.set_bonjour(external_host, web_port)
sabnzbd.zconfig.set_bonjour(external_host, cherryport)
# Set URL for browser for external hosts
ssdp_url = "%s://%s:%s%s" % (
("https" if enable_https else "http"),
external_host,
web_port,
cherryport,
sabnzbd.cfg.url_base(),
)
ssdp.start_ssdp(
@@ -1555,8 +1605,9 @@ def main():
if hasattr(sys, "frozen"):
if sabnzbd.MACOS:
# On macOS restart of app instead of embedded python
my_name = sabnzbd.MY_FULLNAME.replace("/Contents/MacOS/SABnzbd", "")
my_args = " ".join(sys.argv[1:])
cmd = 'kill -9 %s && open "%s" --args %s' % (os.getpid(), sys.executable, my_args)
cmd = 'kill -9 %s && open "%s" --args %s' % (os.getpid(), my_name, my_args)
logging.info("Launching: %s", cmd)
os.system(cmd)
elif sabnzbd.WIN_SERVICE:
@@ -1740,10 +1791,10 @@ if __name__ == "__main__":
# Initialize the menu
shared_app = NSApplication.sharedApplication()
sabnzbd.MACOSTRAY = SABnzbdDelegate.alloc().init()
shared_app.setDelegate_(sabnzbd.MACOSTRAY)
sabnzbd_menu = SABnzbdDelegate.alloc().init()
shared_app.setDelegate_(sabnzbd_menu)
# Build the menu
sabnzbd.MACOSTRAY.awakeFromNib()
sabnzbd_menu.awakeFromNib()
# Run the main eventloop
AppHelper.runEventLoop()
else:

View File

@@ -1,5 +1,6 @@
# -*- mode: python -*-
import os
import re
import sys
from PyInstaller.building.api import EXE, COLLECT, PYZ
@@ -7,14 +8,13 @@ from PyInstaller.building.build_main import Analysis
from PyInstaller.building.osx import BUNDLE
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
from builder.constants import EXTRA_FILES, EXTRA_FOLDERS, RELEASE_VERSION, RELEASE_VERSION_TUPLE
from builder.constants import EXTRA_FILES, EXTRA_FOLDERS, RELEASE_VERSION
# Add extra files in the PyInstaller-spec
extra_pyinstaller_files = []
# Add hidden imports
extra_hiddenimports = ["Cheetah.DummyTransaction", "cheroot.ssl.builtin", "certifi", "pkg_resources.extern"]
extra_hiddenimports.extend(collect_submodules("apprise"))
extra_hiddenimports = ["Cheetah.DummyTransaction", "cheroot.ssl.builtin", "certifi"]
extra_hiddenimports.extend(collect_submodules("babelfish.converters"))
extra_hiddenimports.extend(collect_submodules("guessit.data"))
@@ -40,16 +40,20 @@ else:
)
# Windows
extra_hiddenimports.extend(["win32timezone", "winrt.windows.foundation.collections"])
EXTRA_FOLDERS += ["win/multipar/", "win/par2/", "win/unrar/", "win/7zip/"]
extra_hiddenimports.append("win32timezone")
EXTRA_FOLDERS += ["win/multipar/", "win/unrar/", "win/7zip/"]
EXTRA_FILES += ["portable.cmd"]
# Parse the version info
version_regexed = re.search(r"(\d+)\.(\d+)\.(\d+)([a-zA-Z]*)(\d*)", RELEASE_VERSION)
version_tuple = (int(version_regexed.group(1)), int(version_regexed.group(2)), int(version_regexed.group(3)), 0)
# Detailed instructions are in the PyInstaller documentation
# We don't include the alpha/beta/rc in the counters
version_info = VSVersionInfo(
ffi=FixedFileInfo(
filevers=RELEASE_VERSION_TUPLE,
prodvers=RELEASE_VERSION_TUPLE,
filevers=version_tuple,
prodvers=version_tuple,
mask=0x3F,
flags=0x0,
OS=0x40004,
@@ -87,14 +91,12 @@ for folder_item in EXTRA_FOLDERS:
# Add babelfish data files
extra_pyinstaller_files.extend(collect_data_files("babelfish"))
extra_pyinstaller_files.extend(collect_data_files("guessit"))
extra_pyinstaller_files.extend(collect_data_files("apprise"))
pyi_analysis = Analysis(
["SABnzbd.py"],
datas=extra_pyinstaller_files,
hiddenimports=extra_hiddenimports,
excludes=["ujson", "FixTk", "tcl", "tk", "_tkinter", "tkinter", "Tkinter", "pydoc", "pydoc_data.topics"],
module_collection_mode={"apprise.plugins": "py"},
excludes=["ujson", "FixTk", "tcl", "tk", "_tkinter", "tkinter", "Tkinter"],
)
pyz = PYZ(pyi_analysis.pure, pyi_analysis.zipped_data)
@@ -111,10 +113,10 @@ exe = EXE(
[],
exclude_binaries=True,
name="SABnzbd",
upx=True,
console=False,
append_pkg=False,
icon="icons/sabnzbd.ico",
contents_directory=".",
version=version_info,
target_arch="universal2",
entitlements_file="builder/osx/entitlements.plist",
@@ -132,9 +134,9 @@ if sys.platform == "win32":
[],
exclude_binaries=True,
name="SABnzbd-console",
upx=True,
append_pkg=False,
icon="icons/sabnzbd.ico",
contents_directory=".",
version=version_info,
)
@@ -143,6 +145,7 @@ if sys.platform == "win32":
pyi_analysis.binaries,
pyi_analysis.zipfiles,
pyi_analysis.datas,
upx=True,
name="SABnzbd-console",
)
@@ -165,7 +168,7 @@ if sys.platform == "darwin":
"NSPersistentStoreTypeKey": "Binary",
}
],
"LSMinimumSystemVersion": "10.13",
"LSMinimumSystemVersion": "10.9",
"LSEnvironment": {"LANG": "en_US.UTF-8", "LC_ALL": "en_US.UTF-8"},
}

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2008-2017 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -16,7 +16,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import os
import re
# Constants
VERSION_FILE = "sabnzbd/version.py"
@@ -34,10 +33,6 @@ RELEASE_VERSION = __version__
# Pre-releases are longer than 6 characters (e.g. 3.1.0Beta1 vs 3.1.0, but also 3.0.11)
PRERELEASE = len(RELEASE_VERSION) > 5
# Parse the version info for Windows file properties information
version_regexed = re.search(r"(\d+)\.(\d+)\.(\d+)([a-zA-Z]*)(\d*)", RELEASE_VERSION)
RELEASE_VERSION_TUPLE = (int(version_regexed.group(1)), int(version_regexed.group(2)), int(version_regexed.group(3)), 0)
# Define release name
RELEASE_NAME = "SABnzbd-%s" % RELEASE_VERSION
RELEASE_TITLE = "SABnzbd %s" % RELEASE_VERSION

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2008-2017 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -0,0 +1,3 @@
# Special requirements for macOS universal2 binary release
# This way dependabot can auto-update them
cryptography==41.0.1

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2008-2017 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -32,7 +32,6 @@ from typing import List
from constants import (
RELEASE_VERSION,
RELEASE_VERSION_TUPLE,
VERSION_FILE,
RELEASE_README,
RELEASE_NAME,
@@ -59,16 +58,11 @@ def safe_remove(path):
os.remove(path)
def delete_files_glob(glob_pattern: str, allow_no_matches: bool = False):
"""Delete one file or set of files from wild-card spec.
We expect to match at least 1 file, to force expected behavior"""
if files_to_remove := glob.glob(glob_pattern):
for path in files_to_remove:
if os.path.exists(path):
os.remove(path)
else:
if not allow_no_matches:
raise FileNotFoundError(f"No files found that match '{glob_pattern}'")
def delete_files_glob(name):
"""Delete one file or set of files from wild-card spec"""
for f in glob.glob(name):
if os.path.exists(f):
os.remove(f)
def run_external_command(command: List[str], print_output: bool = True):
@@ -163,13 +157,10 @@ def test_sab_binary(binary_path: str):
# Print logs for verification
with open(os.path.join(config_dir, "logs", "sabnzbd.log"), "r") as log_file:
# Wait after printing so the output is nicely displayed in case of problems
print(log_text := log_file.read())
time.sleep(5)
print(log_file.read())
# Make sure no extra errors/warnings were reported
if "ERROR" in log_text or "WARNING" in log_text:
raise RuntimeError("Warning or error reported during execution")
# So we have time to print the file before the directory is removed
time.sleep(5)
if __name__ == "__main__":
@@ -217,10 +208,8 @@ if __name__ == "__main__":
# Check what architecture we are on
RELEASE_BINARY = RELEASE_BINARY_32
BUILDING_64BIT = False
if platform.architecture()[0] == "64bit":
RELEASE_BINARY = RELEASE_BINARY_64
BUILDING_64BIT = True
# Remove any leftovers
safe_remove(RELEASE_BINARY)
@@ -232,20 +221,17 @@ if __name__ == "__main__":
safe_remove("dist/SABnzbd-console")
# Remove unwanted DLL's
shutil.rmtree("dist/SABnzbd/Pythonwin")
if BUILDING_64BIT:
# These are only present on 64bit (Python 3.9+)
delete_files_glob("dist/SABnzbd/api-ms-win*.dll", allow_no_matches=True)
delete_files_glob("dist/SABnzbd/ucrtbase.dll", allow_no_matches=True)
delete_files_glob("dist/SABnzbd/api-ms-win*.dll")
delete_files_glob("dist/SABnzbd/mfc140u.dll")
delete_files_glob("dist/SABnzbd/ucrtbase.dll")
# Remove 32bit external executables
delete_files_glob("dist/SABnzbd/win/par2/par2.exe")
delete_files_glob("dist/SABnzbd/win/multipar/par2j.exe")
delete_files_glob("dist/SABnzbd/win/unrar/UnRAR.exe")
# Remove other files we don't need
delete_files_glob("dist/SABnzbd/win32ui.pyd")
delete_files_glob("dist/SABnzbd/winxpgui.pyd")
if "installer" in sys.argv:
# Needs to be run on 64 bit
if not BUILDING_64BIT:
if RELEASE_BINARY != RELEASE_BINARY_64:
raise RuntimeError("Installer should be created on 64bit Python")
# Compile NSIS translations
@@ -254,13 +240,17 @@ if __name__ == "__main__":
shutil.copyfile("builder/win/NSIS_Installer.nsi", "NSIS_Installer.nsi")
run_external_command([sys.executable, "tools/make_mo.py", "nsis"])
# Remove 32bit external executables
delete_files_glob("dist/SABnzbd/win/par2/multipar/par2j.exe")
delete_files_glob("dist/SABnzbd/win/unrar/UnRAR.exe")
# Run NSIS to build installer
run_external_command(
[
"makensis.exe",
"/V3",
"/DSAB_PRODUCT=%s" % RELEASE_NAME,
"/DSAB_VERSION=%s" % RELEASE_VERSION,
"/DSAB_VERSIONKEY=%s" % ".".join(map(str, RELEASE_VERSION_TUPLE)),
"/DSAB_FILE=%s" % RELEASE_INSTALLER,
"NSIS_Installer.nsi.tmp",
]
@@ -289,8 +279,9 @@ if __name__ == "__main__":
# Otherwise the signature of the main application becomes invalid
if authority:
files_to_sign = [
"osx/par2/par2-turbo",
"osx/par2/arm64/par2-turbo",
"osx/par2/par2-sl64",
"osx/par2/arm64/par2",
"osx/par2/arm64/libomp.dylib",
"osx/unrar/unrar",
"osx/unrar/arm64/unrar",
"osx/7zip/7zz",

View File

@@ -1,2 +1,2 @@
PyGithub==2.4.0
praw==7.7.1
PyGithub==1.58.2
praw==7.7.0

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2008-2017 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -19,6 +19,7 @@ import hashlib
import json
import os
import re
import shutil
import xml.etree.ElementTree as ET
import github
@@ -233,29 +234,24 @@ if RELEASE_THIS and gh_token:
readme_lines = readme_file.readlines()
# Put the download link after the title
readme_lines[2] = "## https://sabnzbd.org/downloads\n\n"
readme_lines[2] = "## https://sabnzbd.org/downloads\n"
# Use the header in the readme as title
title = readme_lines[0]
release_notes_text = "".join(readme_lines[2:])
print("Posting release notes to Reddit")
# Only stable releases to r/usenet
if not PRERELEASE:
# Get correct flair-id (required by r/usenet)
for flair in subreddit_usenet.flair.link_templates.user_selectable():
if flair["flair_text"] == "News":
print("Posting to r/usenet")
submission = subreddit_usenet.submit(
title, selftext=release_notes_text, flair_id=flair["flair_template_id"]
)
break
else:
raise ValueError("Could not locate flair_text for posting to r/usenet")
print("Posting release notes to Reddit: r/usenet")
submission = subreddit_usenet.submit(title, selftext=release_notes_text)
# Post always to r/SABnzbd
print("Posting to r/sabnzbd")
subreddit_sabnzbd.submit(title, selftext=release_notes_text)
# Cross-post to r/SABnzbd
print("Cross-posting release notes to Reddit: r/sabnzbd")
submission.crosspost(subreddit_sabnzbd)
else:
# Post always to r/SABnzbd
print("Posting release notes to Reddit: r/sabnzbd")
subreddit_sabnzbd.submit(title, selftext=release_notes_text)
else:
print("Missing REDDIT_TOKEN")

View File

@@ -1,27 +1,23 @@
# Basic build requirements
# Note that not all sub-dependencies are listed, but only ones we know could cause trouble
pyinstaller==5.13.2
packaging==24.1
pyinstaller-hooks-contrib==2024.8
altgraph==0.17.4
wrapt==1.16.0
setuptools==75.1.0
pyinstaller==5.12.0
pyinstaller-hooks-contrib==2023.3
altgraph==0.17.3
wrapt==1.15.0
setuptools==67.8.0
certifi
# Required on 32bit Windows, exclude it based on Python-version
importlib_metadata==8.5.0; python_version < '3.10'
importlib_resources==6.4.5; python_version < '3.10'
zipp==3.20.2; python_version < '3.10'
# orjson does not support 32bit Windows, also exclude based on Python-version
orjson==3.10.7; python_version > '3.8'
# orjson does not support 32bit Windows, exclude it based on Python-version
# This way we also test ujson on Python 3.8 in the CI-tests
orjson==3.9.1; python_version > '3.8'
# For the Windows build
pefile==2024.8.26; sys_platform == 'win32'
pywin32-ctypes==0.2.3; sys_platform == 'win32'
pefile==2023.2.7; sys_platform == 'win32'
pywin32-ctypes==0.2.0; sys_platform == 'win32'
# For the macOS build
dmgbuild==1.6.2; sys_platform == 'darwin'
dmgbuild==1.6.1; sys_platform == 'darwin'
mac-alias==2.2.2; sys_platform == 'darwin'
macholib==1.16.3; sys_platform == 'darwin'
macholib==1.16.2; sys_platform == 'darwin'
ds-store==1.3.1; sys_platform == 'darwin'
PyNaCl==1.5.0; sys_platform == 'darwin'

View File

@@ -1,6 +1,6 @@
; -*- coding: utf-8 -*-
;
; Copyright 2008-2015 The SABnzbd-Team (sabnzbd.org)
; Copyright 2008-2015 The SABnzbd-Team <team@sabnzbd.org>
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
@@ -32,7 +32,7 @@ Unicode true
;------------------------------------------------------------------
;
; Macro for removing existing and the current installation
; Marco for removing existing and the current installation
; It shared by the installer and the uninstaller.
;
!define RemovePrev "!insertmacro RemovePrev"
@@ -42,47 +42,13 @@ Unicode true
RMDir /r "${idir}"
!macroend
!define RemovePrevShortcuts "!insertmacro RemovePrevShortcuts"
!macro RemovePrevShortcuts
; Remove shortcuts, starting with current user ones (from old installs)
SetShellVarContext current
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - SafeMode.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - Documentation.url"
RMDir "$SMPROGRAMS\$MUI_TEMP"
Delete "$SMPROGRAMS\Startup\SABnzbd.lnk"
Delete "$DESKTOP\SABnzbd.lnk"
SetShellVarContext all
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - SafeMode.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - Documentation.url"
RMDir "$SMPROGRAMS\$MUI_TEMP"
Delete "$SMPROGRAMS\Startup\SABnzbd.lnk"
Delete "$DESKTOP\SABnzbd.lnk"
!macroend
;------------------------------------------------------------------
; Define names of the product
Name "SABnzbd ${SAB_VERSION}"
VIProductVersion "${SAB_VERSIONKEY}"
VIFileVersion "${SAB_VERSIONKEY}"
VIAddVersionKey "Comments" "SABnzbd ${SAB_VERSION}"
VIAddVersionKey "CompanyName" "The SABnzbd-Team"
VIAddVersionKey "FileDescription" "SABnzbd ${SAB_VERSION}"
VIAddVersionKey "FileVersion" "${SAB_VERSION}"
VIAddVersionKey "LegalCopyright" "The SABnzbd-Team"
VIAddVersionKey "ProductName" "SABnzbd ${SAB_VERSION}"
VIAddVersionKey "ProductVersion" "${SAB_VERSION}"
Name "${SAB_PRODUCT}"
OutFile "${SAB_FILE}"
InstallDir "$PROGRAMFILES\SABnzbd"
;------------------------------------------------------------------
; Some default compiler settings (uncomment and change at will):
SetCompress auto ; (can be off or force)
@@ -100,6 +66,7 @@ Unicode true
RequestExecutionLevel admin
FileErrorText "If you have no admin rights, try to install into a user directory."
;------------------------------------------------------------------
;Variables
Var MUI_TEMP
@@ -175,7 +142,6 @@ Unicode true
!insertmacro MUI_LANGUAGE "Polish"
!insertmacro MUI_LANGUAGE "Swedish"
!insertmacro MUI_LANGUAGE "Danish"
!insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Norwegian"
!insertmacro MUI_LANGUAGE "Romanian"
!insertmacro MUI_LANGUAGE "Spanish"
@@ -203,25 +169,6 @@ Unicode true
Section "SABnzbd" SecDummy
SetOutPath "$INSTDIR"
SetShellVarContext all
DetailPrint $(MsgShutting)
;------------------------------------------------------------------
; Shutdown any running service
!insertmacro SERVICE "stop" "SABnzbd" ""
;------------------------------------------------------------------
; Terminate SABnzbd.exe
loop:
${nsProcess::FindProcess} "SABnzbd.exe" $R0
StrCmp $R0 0 0 endcheck
${nsProcess::CloseProcess} "SABnzbd.exe" $R0
Sleep 500
Goto loop
endcheck:
${nsProcess::Unload}
;------------------------------------------------------------------
; Make sure old versions are gone (reg-key already read in onInt)
@@ -247,20 +194,15 @@ Section "SABnzbd" SecDummy
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "DisplayName" "SABnzbd ${SAB_VERSION}"
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "DisplayVersion" '${SAB_VERSION}'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "Publisher" 'The SABnzbd-Team'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "Publisher" 'The SABnzbd Team'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "HelpLink" 'https://forums.sabnzbd.org/'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "URLInfoAbout" 'https://sabnzbd.org/wiki/'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "URLUpdateInfo" 'https://sabnzbd.org/'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "Comments" 'The automated Usenet download tool'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "DisplayIcon" '$INSTDIR\icons\sabnzbd.ico'
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "EstimatedSize" 40674
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "EstimatedSize" 25674
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "NoRepair" -1
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "NoModify" -1
WriteRegStr HKEY_CURRENT_USER "Software\Classes\AppUserModelId\SABnzbd" "DisplayName" "SABnzbd"
WriteRegStr HKEY_CURRENT_USER "Software\Classes\AppUserModelId\SABnzbd" "IconUri" '$INSTDIR\icons\sabnzbd16_32.ico'
; write out uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
@@ -309,7 +251,7 @@ Function .onInit
; Change settings based on if SAB was already installed
ReadRegStr $PREV_INST_DIR HKEY_LOCAL_MACHINE "SOFTWARE\SABnzbd" ""
StrCmp $PREV_INST_DIR "" noPrevInstall
; We want to use the user's custom dir if he used one
; We want to use the user's costom dir if he used one
StrCmp $PREV_INST_DIR "$PROGRAMFILES\SABnzbd" noSpecialDir
StrCmp $PREV_INST_DIR "$PROGRAMFILES64\SABnzbd" noSpecialDir
; Set what the user had before
@@ -318,23 +260,13 @@ Function .onInit
;------------------------------------------------------------------
; Check what the user has currently set for install options
SetShellVarContext current
IfFileExists "$SMPROGRAMS\Startup\SABnzbd.lnk" 0 endCheckStartupCurrent
SectionSetFlags ${startup} 1
endCheckStartupCurrent:
SetShellVarContext all
IfFileExists "$SMPROGRAMS\Startup\SABnzbd.lnk" 0 endCheckStartup
SectionSetFlags ${startup} 1
endCheckStartup:
SetShellVarContext current
IfFileExists "$DESKTOP\SABnzbd.lnk" endCheckDesktop 0
; If not present for current user, first check all user folder
SetShellVarContext all
IfFileExists "$DESKTOP\SABnzbd.lnk" endCheckDesktop 0
SectionSetFlags ${desktop} 0 ; SAB is installed but desktop-icon not, so uncheck it
SectionSetFlags ${desktop} 0 ; SAB is installed but desktop-icon not, so uncheck it
endCheckDesktop:
SetShellVarContext all
Push $1
ReadRegStr $1 HKCR ".nzb" "" ; read current file association
@@ -346,6 +278,31 @@ Function .onInit
; Display language chooser
!insertmacro MUI_LANGDLL_DISPLAY
;------------------------------------------------------------------
; make sure user terminates sabnzbd.exe or else abort
;
loop:
${nsProcess::FindProcess} "SABnzbd.exe" $R0
StrCmp $R0 0 0 endcheck
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION $(MsgCloseSab) IDOK loop IDCANCEL exitinstall
exitinstall:
${nsProcess::Unload}
Abort
endcheck:
;------------------------------------------------------------------
; make sure both services aren't running
;
!insertmacro SERVICE "running" "SABnzbd" ""
Pop $0 ;response
!insertmacro SERVICE "running" "SABHelper" ""
Pop $1
${If} $0 == true
${OrIf} $1 == true
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION $(MsgCloseSab) IDOK loop IDCANCEL exitinstall
; exitinstall already defined above
${EndIf}
;------------------------------------------------------------------
; Tell users about the service change
;
@@ -353,8 +310,7 @@ Function .onInit
Pop $0 ;response
${If} $0 == true
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION $(MsgServChange) IDOK removeservices IDCANCEL exitinstall
exitinstall:
Abort
; exitinstall already defined above
removeservices:
!insertmacro SERVICE "delete" "SABHelper" ""
!insertmacro SERVICE "delete" "SABnzbd" ""
@@ -376,24 +332,35 @@ UninstallText $(MsgUninstall)
Section "un.$(MsgDelProgram)" Uninstall
;make sure sabnzbd.exe isn't running..if so shut it down
DetailPrint $(MsgShutting)
${nsProcess::KillProcess} "SABnzbd.exe" $R0
${nsProcess::Unload}
DetailPrint "Process Killed"
; add delete commands to delete whatever files/registry keys/etc you installed here.
Delete "$INSTDIR\uninstall.exe"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\SABnzbd"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd"
DeleteRegKey HKEY_CURRENT_USER "Software\Classes\AppUserModelId\SABnzbd"
DeleteRegKey HKEY_CURRENT_USER "Software\SABnzbd"
${RemovePrev} "$INSTDIR"
${RemovePrevShortcuts}
; Remove firewall entries
liteFirewallW::RemoveRule "$INSTDIR\SABnzbd.exe" "SABnzbd"
liteFirewallW::RemoveRule "$INSTDIR\SABnzbd-console.exe" "SABnzbd-console"
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - SafeMode.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd - Documentation.url"
RMDir "$SMPROGRAMS\$MUI_TEMP"
Delete "$SMPROGRAMS\Startup\SABnzbd.lnk"
Delete "$DESKTOP\SABnzbd.lnk"
DeleteRegKey HKEY_CURRENT_USER "Software\SABnzbd"
${unregisterExtension} ".nzb" "NZB File"
${RefreshShellIcons}
@@ -413,14 +380,14 @@ SectionEnd
LangString MsgSupportUs ${LANG_ENGLISH} "Support the project, Donate!"
LangString MsgCloseSab ${LANG_ENGLISH} "Please close $\"SABnzbd.exe$\" first"
LangString MsgServChange ${LANG_ENGLISH} "The SABnzbd Windows Service changed in SABnzbd 3.0.0. $\nYou will need to reinstall the SABnzbd service. $\n$\nClick `OK` to remove the existing services or `Cancel` to cancel this upgrade."
LangString MsgOnly64bit ${LANG_ENGLISH} "The installer only supports 64-bit Windows, use the standalone version to run on 32-bit Windows."
LangString MsgNoWin7 ${LANG_ENGLISH} "The installer only supports Windows 8.1 and above, use the standalone legacy version to run on older Windows version."
LangString MsgShutting ${LANG_ENGLISH} "Shutting down SABnzbd"
LangString MsgUninstall ${LANG_ENGLISH} "This will uninstall SABnzbd from your system"
LangString MsgRunAtStart ${LANG_ENGLISH} "Run at startup"

View File

@@ -12,13 +12,13 @@
<div class="modal-body">
</div>
<div class="modal-footer">
<!--#if not $windows#-->
<div class="checkbox">
<label>
<input type="checkbox" id="show_hidden_folders"> <span>$T('hiddenFolders')</span>
</label>
</div>
<!--#end if#-->
<button type="button" class="btn btn-danger" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> $T('cancel')</button>
<button type="button" class="btn btn-default" id="filebrowser_modal_accept"><span class="glyphicon glyphicon-ok"></span> $T('rss-accept')</button>
</div>

View File

@@ -34,9 +34,6 @@
<link rel="stylesheet" type="text/css" href="${root}staticcfg/bootstrap/css/bootstrap.min.css?v=$version" />
<link rel="stylesheet" type="text/css" href="${root}staticcfg/css/chartist.min.css" />
<link rel="stylesheet" type="text/css" href="${root}staticcfg/css/style.css?v=$version" />
<!--#if $color_scheme not in ('Light', '') #-->
<link rel="stylesheet" type="text/css" href="${root}staticcfg/css/${color_scheme}.css?v=$version"/>
<!--#end if#-->
<link rel="shortcut icon" href="${root}staticcfg/ico/favicon.ico?v=$version" />
@@ -70,7 +67,27 @@
<script type="text/javascript" src="${root}staticcfg/js/script.js?v=$version"></script>
<script type="text/javascript">
// Set default functions for the autocomplete everywhere
\$.extend(\$.fn.typeahead.defaults, {
source: function (query, process) {
// If there's no separator, it must be a relative path
if(query.split(folderSeperator).length < 2 && this.\$element.data('initialdir')) {
query = this.\$element.data('initialdir') + folderSeperator + query;
}
// Get info from the API
return \$.get(folderBrowseUrl + '&compact=1&term=' + query, function (data) {
return process(data);
});
},
updater: function(item) {
// Is it a relative path?
if(item.indexOf(this.\$element.data('initialdir')) === 0) {
// Remove start
return item.replace(this.\$element.data('initialdir')+folderSeperator, '');
}
// Full path
return item
}
})
// to top right away
if(window.location.hash) {
@@ -92,7 +109,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-logo navbar-logo-small" href="${root}" title="$T('Home')" data-placement="bottom">
<a class="navbar-logo navbar-logo-small" href="${root}" title="$T('Home')">
#include $webdir + "/staticcfg/images/logo-small.svg"#
</a>
</div>

View File

@@ -29,21 +29,49 @@
</tr>
<tr>
<th scope="row">OpenSSL:</th>
<td>$ssl_version</td>
<td>
$ssl_version
</td>
</tr>
<!--#if not $certificate_validation#-->
<tr>
<th scope="row"></th>
<td>
<span class="label label-danger">$T('warning')</span> $T('explain-nosslcontext')
</td>
</tr>
<!--#end if#-->
<!--#if not $windows and not $macos#-->
<tr>
<th scope="row">Par2cmdline-turbo:</th>
<th scope="row">$T('opt-multicore-par2')</th>
<td>
<!--#if $have_par2_turbo#-->
<!--#if $have_mt_par2#-->
<span class="glyphicon glyphicon-ok"></span>
<!--#else#-->
<span class="label label-warning">$T('notAvailable')</span> $T('explain-getpar2turbo')<br>
<a href="https://sabnzbd.org/wiki/installation/par2cmdline-turbo" target="_blank">https://sabnzbd.org/wiki/installation/par2cmdline-turbo</a>
<span class="label label-warning">$T('notAvailable')</span> $T('explain-getpar2mt')
<a href="https://sabnzbd.org/wiki/installation/multicore-par2" target="_blank">https://sabnzbd.org/wiki/installation/multicore-par2</a>
<!--#end if#-->
</td>
</tr>
<!--#end if#-->
<!--#if not $have_sabctools#-->
<tr>
<th scope="row">SABCTools:</th>
<td>
<span class="label label-danger">$T('notAvailable')</span>
<a href="$help_uri#no_sabctools" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
</td>
</tr>
<!--#end if#-->
<!--#if not $have_unzip and not $have_7zip #-->
<tr>
<th scope="row">$T('opt-enable_unzip'):</th>
<td>
<span class="label label-warning">$T('notAvailable')</span>
<a href="https://sabnzbd.org/wiki/installation/install-off-modules#toc8" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
</td>
</tr>
<!--#end if#-->
<!--#if not $have_7zip #-->
<tr>
<th scope="row">$T('opt-enable_7zip'):</th>
@@ -78,8 +106,8 @@
<td><a href="https://github.com/sabnzbd/sabnzbd" target="_blank">https://github.com/sabnzbd/sabnzbd</a></td>
</tr>
<tr>
<th scope="row">$T('menu-live-chat') </th>
<td><a href="https://sabnzbd.org/live-chat/" target="_blank">https://sabnzbd.org/live-chat/</a> (IRC &amp; Discord)</td>
<th scope="row">$T('menu-irc') </th>
<td><a href="irc://irc.synirc.net/#sabnzbd"><i>#sabnzbd</i> on <i>irc.synirc.net</i></a> $T('or') (<a href="http://sabnzbd.org/live-chat/" target="_blank">webchat</a>)</td>
</tr>
<tr>
<th scope="row">$T('menu-issues') </th>
@@ -95,8 +123,8 @@
</div>
<div class="colmask">
<div class="padding">
<h5 class="copyright">Copyright &copy; 2007-2024 by The SABnzbd-Team (<a href="https://sabnzbd.org/" target="_blank">sabnzbd.org</a>)</h5>
<div class="padding alt">
<h5 class="copyright">Copyright &copy; 2007-2023 The SABnzbd Team &lt;<a href="mailto:team@sabnzbd.org">team@sabnzbd.org</a>&gt;</h5>
<p class="copyright"><small>$T('yourRights')</small></p>
</div>

View File

@@ -105,29 +105,29 @@
</div>
<script type="text/javascript" src="${root}staticcfg/js/jquery-ui.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.delCat').click(function() {
var theForm = jQuery(this).closest("form");
\$(document).ready(function() {
\$('.delCat').click(function() {
var theForm = \$(this).closest("form");
theForm.attr("action", "delete").submit();
});
// Add autocomplete and file-browser
jQuery('.fileBrowserSmall').typeahead({appendTo: 'body'}).fileBrowser();
\$('.fileBrowserSmall').typeahead({appendTo: 'body'}).fileBrowser();
// Make categories sortable
jQuery('.padTable').sortable({
\$('.padTable').sortable({
items: '.sorting-row',
containment: '.colmask',
axis: 'y',
update: function(event, ui) {
jQuery('.Categories form.sorting-row').each(function(index, elm) {
\$('.Categories form.sorting-row').each(function(index, elm) {
// Update order of all elements
if(index !== elm.order.value) {
if(index != elm.order.value) {
elm.order.value = index
// Submit changed order
var data = {}
jQuery(elm).extractFormDataTo(data);
jQuery.ajax({
\$(elm).extractFormDataTo(data);
\$.ajax({
type: "GET",
url: window.location.pathname + 'save',
data: data,

View File

@@ -77,7 +77,7 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="password_file">$T('opt-password_file')</label>
<input type="text" name="password_file" id="password_file" value="$password_file" class="fileBrowserField" data-initialdir="$my_home" data-files="1" />
<input type="text" name="password_file" id="password_file" value="$password_file" />
<span class="desc">$T('explain-password_file')</span>
</div>
<div class="field-pair">
@@ -113,7 +113,6 @@
<div class="field-pair">
<label class="config" for="log_dir">$T('opt-log_dir')</label>
<input type="text" name="log_dir" id="log_dir" value="$log_dir" data-initialdir="$my_lcldata" />
<a class="btn btn-default" id="purge_log_files" href="${root}"><span class="glyphicon glyphicon-trash"></span> $T('purge_log_files')</a>
<span class="desc">$T('explain-log_dir')</span>
</div>
<div class="field-pair">
@@ -133,19 +132,7 @@
<script type="text/javascript">
jQuery(document).ready(function() {
// Add autocomplete and file-browser
jQuery('.col1 input[name$="_dir"], #password_file').typeahead().fileBrowser();
jQuery('#purge_log_files').click(function () {
if ( confirm("$T('confirm')") ) {
$.ajax({
type: "POST",
url: "../../api",
data: {mode: 'config', name: 'purge_log_files', output: 'json', apikey: jQuery('#apikey').val()}
})
} else {
return false;
}
})
\$('.col1 input[name$="_dir"]').typeahead().fileBrowser();
})
</script>
<!--#include $webdir + "/_inc_footer_uc.tmpl"#-->

View File

@@ -26,7 +26,7 @@
</div>
<div class="field-pair">
<label class="config" for="port">$T('opt-port')</label>
<input type="number" name="port" id="port" value="$port" size="8" data-original="$port" min="0" max="65535" />
<input type="number" name="port" id="port" value="$port" size="8" data-original="$port" />
<span class="desc">$T('explain-port')</span>
</div>
<div class="field-pair">
@@ -35,7 +35,7 @@
<span class="desc">$T('explain-enable_https')</span>
<span class="desc"><span class="label label-warning">$T('warning').upper()</span> $T('explain-enable_https_warning')</span>
</div>
<div class="field-pair">
<div class="field-pair advanced-settings">
<label class="config" for="web_dir">$T('opt-web_dir')</label>
<select name="web_dir" id="web_dir">
<!--#for $webline in $web_list#-->
@@ -69,12 +69,12 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="https_port">$T('opt-https_port')</label>
<input type="number" name="https_port" id="https_port" value="$https_port" size="8" data-original="$https_port" min="0" max="65535" />
<input type="number" name="https_port" id="https_port" value="$https_port" size="8" data-original="$https_port" />
<span class="desc">$T('explain-https_port')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="https_cert">$T('opt-https_cert')</label>
<input type="text" name="https_cert" id="https_cert" value="$https_cert" class="fileBrowserField" data-initialdir="$my_lcldata" data-files="1" />
<input type="text" name="https_cert" id="https_cert" value="$https_cert" />
<button class="btn btn-default generate_cert" title="$T('explain-new-cert')">
<span class="glyphicon glyphicon-repeat"></span>
</button>
@@ -82,7 +82,7 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="https_key">$T('opt-https_key')</label>
<input type="text" name="https_key" id="https_key" value="$https_key" class="fileBrowserField" data-initialdir="$my_lcldata" data-files="1" />
<input type="text" name="https_key" id="https_key" value="$https_key" />
<button class="btn btn-default generate_cert" title="$T('explain-new-cert')">
<span class="glyphicon glyphicon-repeat"></span>
</button>
@@ -90,7 +90,7 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="https_chain">$T('opt-https_chain')</label>
<input type="text" name="https_chain" id="https_chain" value="$https_chain" class="fileBrowserField" data-initialdir="$my_lcldata" data-files="1" />
<input type="text" name="https_chain" id="https_chain" value="$https_chain" />
<span class="desc">$T('explain-https_chain')</span>
</div>
<div class="field-pair">
@@ -136,14 +136,14 @@
</div>
<div class="field-pair">
<label class="config" for="apikey_display">$T('opt-apikey')</label>
<input type="text" id="apikey_display" value="$apikey" readonly />
<input type="text" id="apikey_display" class="fileBrowserField" value="$apikey" readonly />
<button class="btn btn-default show_qrcode" title="$T('explain-qr-code')" rel="$apikey" ><span class="glyphicon glyphicon-qrcode"></span></button>
<button class="btn btn-default generate_key" id="generate_new_apikey" title="$T('button-apikey')"><span class="glyphicon glyphicon-repeat"></span></button>
<span class="desc">$T('explain-apikey')</span>
</div>
<div class="field-pair">
<label class="config" for="nzbkey">$T('opt-nzbkey')</label>
<input type="text" id="nzbkey" value="$nzb_key" readonly />
<input type="text" id="nzbkey" class="fileBrowserField" value="$nzb_key" readonly />
<button class="btn btn-default show_qrcode" title="$T('explain-qr-code')" rel="$nzb_key" ><span class="glyphicon glyphicon-qrcode"></span></button>
<button class="btn btn-default generate_key" id="generate_new_nzbkey" title="$T('button-apikey')"><span class="glyphicon glyphicon-repeat"></span></button>
<span class="desc">$T('explain-nzbkey')</span>
@@ -172,10 +172,11 @@
<option value="1" <!--#if $check_new_rel == 1 then 'selected="selected"' else ""#--> >$T('on')</option>
<option value="2" <!--#if $check_new_rel == 2 then 'selected="selected"' else ""#--> >$T('also-test')</option>
</select>
<span class="desc">$T('explain-check_new_rel')</span>
</div>
<div class="field-pair advanced-settings">
<div class="field-pair advanced-settings <!--#if int($certificate_validation) == 0 then "disabled" else ""#-->">
<label class="config" for="enable_https_verification">$T('opt-enable_https_verification')</label>
<input type="checkbox" name="enable_https_verification" id="enable_https_verification" value="1" <!--#if int($enable_https_verification) > 0 then 'checked="checked"' else ""#--> />
<input type="checkbox" name="enable_https_verification" id="enable_https_verification" value="1" <!--#if int($enable_https_verification) > 0 then 'checked="checked"' else ""#--> <!--#if int($certificate_validation) == 0 then "disabled=\"disabled\"" else ""#--> />
<span class="desc">$T('explain-enable_https_verification')</span>
</div>
<div class="field-pair advanced-settings">
@@ -263,41 +264,41 @@
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
\$(document).ready(function(){
// Show the message about translating when it's non-English
function hideOrShowTranslate() {
if(jQuery('#language').val() === 'en') {
jQuery('.alert-translate').hide()
if(\$('#language').val() == 'en') {
\$('.alert-translate').hide()
} else {
jQuery('.alert-translate').show()
\$('.alert-translate').show()
}
}
jQuery('#language').on('change', function() {
\$('#language').on('change', function() {
// Show message
hideOrShowTranslate()
// Re-load page on submit
jQuery('.fullform').submit(function() {
\$('.fullform').submit(function() {
// Skip the fancy stuff, just submit
this.submit()
})
// No JSON response
jQuery('#ajax').val('')
\$('#ajax').val('')
})
hideOrShowTranslate()
// Highlight in case user is not safe
// So when exposed to internet and no password, no external limit or no username/password
var safeCheck = jQuery('#host, #inet_exposure, #${pid}_wu, #${pid}_wp')
var safeCheck = \$('#host, #inet_exposure, #${pid}_wu, #${pid}_wp')
function checkSafety() {
if(jQuery('#host').val() !== 'localhost' && jQuery('#host').val() !== '127.0.0.1') {
if(\$('#host').val() != 'localhost' && \$('#host').val() != '127.0.0.1') {
// No limitation on local-network
if(jQuery('#inet_exposure').val() > 3) {
if(\$('#inet_exposure').val() > 3) {
// And no username and password?
if(!jQuery('#${pid}_wu').val() || !jQuery('#${pid}_wp').val()) {
if(!\$('#${pid}_wu').val() || !\$('#${pid}_wp').val()) {
// Add warning icon if not there already
if(!jQuery('.host-warning').length) {
if(!\$('.host-warning').length) {
safeCheck.after('<span class="glyphicon glyphicon-alert host-warning"></span>')
jQuery('.host-warning').tooltip({'title': '$T('checkSafety')'})
\$('.host-warning').tooltip({'title': '$T('checkSafety')'})
safeCheck.addClass('host-warning-highlight')
}
return
@@ -305,60 +306,57 @@ jQuery(document).ready(function(){
}
}
// Remove warnings
jQuery('.host-warning').remove()
\$('.host-warning').remove()
safeCheck.removeClass('host-warning-highlight')
}
checkSafety()
safeCheck.on('change', checkSafety)
// Click functions
jQuery('#apikey, #nzbkey').click(function () { jQuery(this).select() });
\$('#apikey, #nzbkey').click(function () { \$(this).select() });
jQuery('#generate_new_apikey').click(function () {
\$('#generate_new_apikey').click(function () {
if (confirm("$T('confirm')")) {
$.ajax({
type: "POST",
url: "../../api",
data: {mode:'config', name:'set_apikey', apikey: jQuery('#apikey').val()},
data: {mode:'config', name:'set_apikey', apikey: \$('#apikey').val()},
success: function(msg){
jQuery('#apikey').val(msg);
\$('#apikey').val(msg);
document.location = document.location;
}
});
}
});
jQuery('#generate_new_nzbkey').click(function () {
\$('#generate_new_nzbkey').click(function () {
if (confirm("$T('confirm')")) {
$.ajax({
type: "POST",
url: "../../api",
data: { mode:'config', name:'set_nzbkey', apikey: jQuery('#apikey').val() },
data: { mode:'config', name:'set_nzbkey', apikey: \$('#apikey').val() },
success: function(msg){
jQuery('#nzbkey').val(msg);
\$('#nzbkey').val(msg);
document.location = document.location;
}
});
}
});
// Add autocomplete and file-browser
jQuery('.fileBrowserField').typeahead().fileBrowser();
jQuery('.show_qrcode').click(function (e) {
\$('.show_qrcode').click(function (e) {
// Show in modal
jQuery('#modal_qr .modal-dialog').width(330)
jQuery('#modal_qr .modal-body').html('').qrcode({
\$('#modal_qr .modal-dialog').width(330)
\$('#modal_qr .modal-body').html('').qrcode({
"size": 280,
"color": "#3a3",
"text": jQuery(this).attr('rel')
"text": \$(this).attr('rel')
});
jQuery('#modal_qr').modal('show');
\$('#modal_qr').modal('show');
// No save on this button click
e.preventDefault();
});
jQuery('.generate_cert').click(function(e) {
\$('.generate_cert').click(function(e) {
if(!confirm('$T('explain-new-cert')')) {
return;
}
@@ -367,7 +365,7 @@ jQuery(document).ready(function(){
$.ajax({
type: "POST",
url: "../../api",
data: { mode: 'config', name: 'regenerate_certs', apikey: jQuery('#apikey').val() },
data: { mode: 'config', name: 'regenerate_certs', apikey: \$('#apikey').val() },
success: function(msg) {
do_restart()
}
@@ -377,35 +375,35 @@ jQuery(document).ready(function(){
})
// Only allow re-generate if default certs
if(jQuery('#https_cert').val() !== '$def_https_cert_file') {
jQuery('.generate_cert').attr('disabled', 'disabled')
if(\$('#https_cert').val() != '$def_https_cert_file') {
\$('.generate_cert').attr('disabled', 'disabled')
}
// Parse the text
var bandwidthLimit = jQuery('#bandwidth_max').val()
var bandwidthLimit = \$('#bandwidth_max').val()
if(bandwidthLimit) {
var bandwithLimitNumber = parseFloat(bandwidthLimit)
var bandwithLimitText = bandwidthLimit.replace(/[^a-zA-Z]+/g, '');
if(bandwithLimitNumber) {
jQuery('#bandwidth_max_value').val(bandwithLimitNumber)
jQuery('#bandwidth_max_dropdown').val(bandwithLimitText)
\$('#bandwidth_max_value').val(bandwithLimitNumber)
\$('#bandwidth_max_dropdown').val(bandwithLimitText)
}
}
// Update the value
jQuery('#bandwidth_max_value, #bandwidth_max_dropdown').on('change', function() {
if(jQuery('#bandwidth_max_value').val()) {
jQuery('#bandwidth_max').val(jQuery('#bandwidth_max_value').val() + jQuery('#bandwidth_max_dropdown').val())
\$('#bandwidth_max_value, #bandwidth_max_dropdown').on('change', function() {
if(\$('#bandwidth_max_value').val()) {
\$('#bandwidth_max').val(\$('#bandwidth_max_value').val() + \$('#bandwidth_max_dropdown').val())
} else {
jQuery('#bandwidth_max').val('')
\$('#bandwidth_max').val('')
}
})
jQuery('#create_backup').click(function () {
\$('#create_backup').click(function () {
$.ajax({
type: "POST",
url: "../../api",
data: {mode:'config', name:'create_backup', output:'json', apikey: jQuery('#apikey').val()},
data: {mode:'config', name:'create_backup', output:'json', apikey: \$('#apikey').val()},
success: function(data) {
if(data.value.result) {
alert("$T('backup'):\n" + data.value.message)

View File

@@ -2,21 +2,19 @@
<!--#set global $help_uri = $confighelpuri + "notifications"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<!--#import apprise#-->
<!--#def show_notify_checkboxes($section_label)#-->
<!--#for $type in $notify_types#-->
<div class="field-pair">
<label class="config wide" for="${section_label}_prio_$type">
$T($notify_types[$type]).replace('/', ' / ')
</label>
<input type="checkbox" name="${section_label}_prio_$type" id="${section_label}_prio_$type" value="1" <!--#if $getVar($section_label + '_prio_' + $type) then 'checked="checked"' else ""#--> />
<input type="checkbox" name="${section_label}_prio_$type" id="${section_label}_prio_$type" value="1" <!--#if int($getVar($section_label + '_prio_' + $type)) > 0 then 'checked="checked"' else ""#--> />
</div>
<!--#end for#-->
<!--#end def#-->
<!--#def show_cat_box($section_label)#-->
<div class="col2-cats" <!--#if $getVar($section_label + '_enable') then '' else 'style="display:none"'#-->>
<div class="col2-cats" <!--#if int($getVar($section_label + '_enable')) > 0 then '' else 'style="display:none"'#-->>
<hr>
<b>$T('affectedCat')</b><br/>
<select name="${section_label}_cats" multiple="multiple" class="multiple_cats" size="$len($categories)">
@@ -58,12 +56,12 @@
</div>
<div class="field-pair">
<label class="config" for="email_full">$T('opt-email_full')</label>
<input type="checkbox" name="email_full" id="email_full" value="1" <!--#if $email_full then 'checked="checked"' else ""#--> />
<input type="checkbox" name="email_full" id="email_full" value="1" <!--#if int($email_full) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-email_full')</span>
</div>
<div class="field-pair">
<label class="config" for="email_rss">$T('opt-email_rss')</label>
<input type="checkbox" name="email_rss" id="email_rss" value="1" <!--#if $email_rss then 'checked="checked"' else ""#--> />
<input type="checkbox" name="email_rss" id="email_rss" value="1" <!--#if int($email_rss) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-email_rss')</span>
</div>
<div class="field-pair">
@@ -107,12 +105,12 @@
<h3>$T('section-NC')</h3>
<table>
<tr>
<td><input type="checkbox" name="ncenter_enable" id="ncenter_enable" value="1" <!--#if $ncenter_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="ncenter_enable" id="ncenter_enable" value="1" <!--#if int($ncenter_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="ncenter_enable"> $T('opt-ncenter_enable')</label></td>
</tr>
</table>
</div>
<div class="col1" <!--#if $ncenter_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($ncenter_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
$show_notify_checkboxes('ncenter')
<div class="field-pair no-field-pair-bg">
@@ -132,13 +130,13 @@
<h3>$T('section-AC')</h3>
<table>
<tr>
<td><input type="checkbox" name="acenter_enable" id="acenter_enable" value="1" <!--#if $acenter_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="acenter_enable" id="acenter_enable" value="1" <!--#if int($acenter_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="acenter_enable"> $T('opt-acenter_enable')</label></td>
</tr>
</table>
$show_cat_box('acenter')
</div>
<div class="col1" <!--#if $acenter_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($acenter_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
$show_notify_checkboxes('acenter')
<div class="field-pair no-field-pair-bg">
@@ -158,13 +156,13 @@
<h3>$T('section-OSD') <a href="$help_uri#toc4" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<table>
<tr>
<td><input type="checkbox" name="ntfosd_enable" id="ntfosd_enable" value="1" <!--#if $ntfosd_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="ntfosd_enable" id="ntfosd_enable" value="1" <!--#if int($ntfosd_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="ntfosd_enable"> $T('opt-ntfosd_enable')</label></td>
</tr>
</table>
$show_cat_box('ntfosd')
</div>
<div class="col1" <!--#if $ntfosd_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($ntfosd_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
$show_notify_checkboxes('ntfosd')
<div class="field-pair no-field-pair-bg">
@@ -178,64 +176,19 @@
</div>
</div>
<!--#end if#-->
<div class="section" id="apprise">
<div class="col2">
<h3>Apprise <a href="$help_uri#apprise" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<table>
<tr>
<td><input type="checkbox" name="apprise_enable" id="apprise_enable" value="1" <!--#if $apprise_enable then 'checked="checked"' else ""#--> /></td>
<td><label for="apprise_enable"> $T('opt-apprise_enable')</label></td>
</tr>
</table>
<em>$T('explain-apprise_enable')</em><br>
<p>$T('version'): ${apprise.__version__}</p>
$show_cat_box('apprise')
</div>
<div class="col1" <!--#if $apprise_enable then '' else 'style="display:none"'#-->>
<fieldset>
<div class="field-pair">
<label class="config" for="apprise_urls">$T('opt-apprise_urls')</label>
<input type="text" name="apprise_urls" id="apprise_urls" value="$apprise_urls" />
<span class="desc">$T('explain-apprise_urls'). <br>$T('readwiki')</span>
</div>
<div class="field-pair">
<span class="desc">$T('explain-apprise_extra_urls')</span>
</div>
<!--#set $section_label = 'apprise'#-->
<!--#for $type in $notify_types#-->
<div class="field-pair">
<label class="config" for="${section_label}_target_${type}">
$T($notify_types[$type]).replace('/', ' / ')
</label>
<input type="checkbox" name="${section_label}_target_${type}_enable" id="${section_label}_target_${type}_enable" value="1" <!--#if $getVar($section_label + '_target_' + $type + '_enable') then 'checked="checked"' else ""#--> />
<input type="text" name="${section_label}_target_${type}" id="${section_label}_target_${type}" value="$getVar($section_label + '_target_' + $type)" placeholder="$T('opt-apprise_urls')" />
</div>
<!--#end for#-->
<div class="field-pair no-field-pair-bg">
<button class="btn btn-default saveButton"><span class="glyphicon glyphicon-ok"></span> $T('button-saveChanges')</button>
<button class="btn btn-default" type="button" id="test_apprise"><span class="glyphicon glyphicon-comment"></span> $T('testNotify')</button>
</div>
<div class="field-pair result-box">
<div class="alert"></div>
</div>
</fieldset>
</div>
</div>
<div class="section" id="nscript">
<div class="col2">
<h3>$T('section-NScript') <a href="$help_uri#nscript" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<table>
<tr>
<td><input type="checkbox" name="nscript_enable" id="nscript_enable" value="1" <!--#if $nscript_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="nscript_enable" id="nscript_enable" value="1" <!--#if int($nscript_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="nscript_enable"> $T('opt-nscript_enable')</label></td>
</tr>
</table>
<em>$T('explain-nscript_enable')</em><br><a href="$help_uri#nscript" target="_blank">$T('readwiki')</a>
$show_cat_box('nscript')
</div>
<div class="col1" <!--#if $nscript_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($nscript_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
<div class="field-pair">
<label class="config" for="nscript_script">$T('opt-nscript_script')</label>
@@ -249,7 +202,7 @@
<div class="field-pair">
<label class="config" for="nscript_parameters">$T('opt-nscript_parameters')</label>
<input type="text" name="nscript_parameters" id="nscript_parameters" value="$nscript_parameters" />
<span class="desc">$T('Optional') - $T('readwiki')</span>
<span class="desc">$T('Optional') - $T('explain-nscript_parameters')</span>
</div>
$show_notify_checkboxes('nscript')
<div class="field-pair no-field-pair-bg">
@@ -267,14 +220,14 @@
<h3>$T('section-Prowl')</h3>
<table>
<tr>
<td><input type="checkbox" name="prowl_enable" id="prowl_enable" value="1" <!--#if $prowl_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="prowl_enable" id="prowl_enable" value="1" <!--#if int($prowl_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="prowl_enable"> $T('opt-prowl_enable')</label></td>
</tr>
</table>
<em>$T('explain-prowl_enable')</em>
$show_cat_box('prowl')
</div>
<div class="col1" <!--#if $prowl_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($prowl_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
<div class="field-pair">
<label class="config" for="prowl_apikey">$T('opt-prowl_apikey')</label>
@@ -313,14 +266,14 @@
<h3>$T('section-Pushover')</h3>
<table>
<tr>
<td><input type="checkbox" name="pushover_enable" id="pushover_enable" value="1" <!--#if $pushover_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="pushover_enable" id="pushover_enable" value="1" <!--#if int($pushover_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="pushover_enable"> $T('opt-pushover_enable')</label></td>
</tr>
</table>
<em>$T('explain-pushover_enable')</em>
$show_cat_box('pushover')
</div>
<div class="col1" <!--#if $pushover_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($pushover_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
<div class="field-pair">
<label class="config" for="pushover_token">$T('opt-pushover_token')</label>
@@ -378,14 +331,14 @@
<h3>$T('section-Pushbullet')</h3>
<table>
<tr>
<td><input type="checkbox" name="pushbullet_enable" id="pushbullet_enable" value="1" <!--#if $pushbullet_enable then 'checked="checked"' else ""#--> /></td>
<td><input type="checkbox" name="pushbullet_enable" id="pushbullet_enable" value="1" <!--#if int($pushbullet_enable) > 0 then 'checked="checked"' else ""#--> /></td>
<td><label for="pushbullet_enable"> $T('opt-pushbullet_enable')</label></td>
</tr>
</table>
<em>$T('explain-pushbullet_enable')</em>
$show_cat_box('pushbullet')
</div>
<div class="col1" <!--#if $pushbullet_enable then '' else 'style="display:none"'#-->>
<div class="col1" <!--#if int($pushbullet_enable) > 0 then '' else 'style="display:none"'#-->>
<fieldset>
<div class="field-pair">
<label class="config" for="pushbullet_apikey">$T('opt-pushbullet_apikey')</label>
@@ -414,24 +367,24 @@
</div><!-- /colmask -->
<script type="text/javascript">
jQuery(document).ready(function(){
\$(document).ready(function(){
// Expand on enable
jQuery('.col2 input[name$="enable"]').change(function() {
\$('.col2 input[name$="enable"]').change(function() {
if(this.checked) {
jQuery(this).parents('.section').find('.col1').show()
jQuery(this).parents('.col2').find('.col2-cats').show()
\$(this).parents('.section').find('.col1').show()
\$(this).parents('.col2').find('.col2-cats').show()
} else {
jQuery(this).parents('.section').find('.col1').hide()
jQuery(this).parents('.col2').find('.col2-cats').hide()
\$(this).parents('.section').find('.col1').hide()
\$(this).parents('.col2').find('.col2-cats').hide()
}
jQuery('form').submit()
\$('form').submit()
addRowColor()
})
jQuery('#email_endjob').change(function() {
if(jQuery(this).val() > 0) {
jQuery(this).parents('.section').find('.col2-cats').show()
\$('#email_endjob').change(function() {
if(\$(this).val() > 0) {
\$(this).parents('.section').find('.col2-cats').show()
} else {
jQuery(this).parents('.section').find('.col2-cats').hide()
\$(this).parents('.section').find('.col2-cats').hide()
}
})
@@ -440,27 +393,27 @@ jQuery(document).ready(function(){
**/
function testNotification(buttonObj) {
// Confirm?
if(jQuery(buttonObj).attr('rel')) {
if(!confirm(jQuery(buttonObj).attr('rel'))) return false;
if(\$(buttonObj).attr('rel')) {
if(!confirm(\$(buttonObj).attr('rel'))) return false;
}
// Disable button and get the data
jQuery(buttonObj).attr("disabled", "disabled")
jQuery(buttonObj).find('span').toggleClass('glyphicon-comment glyphicon-refresh spin-glyphicon')
\$(buttonObj).attr("disabled", "disabled")
\$(buttonObj).find('span').toggleClass('glyphicon-comment glyphicon-refresh spin-glyphicon')
var data = { mode: buttonObj.id, apikey: '$apikey', output: 'json' };
jQuery(buttonObj).parents('.section').extractFormDataTo(data);
\$(buttonObj).parents('.section').extractFormDataTo(data);
// Clear up the box
resultBox = jQuery(buttonObj).parents('.section').find('.result-box .alert');
resultBox = \$(buttonObj).parents('.section').find('.result-box .alert');
// Get the request
jQuery.ajax({
\$.ajax({
type: "GET",
url: "../../api",
data: data
}).then(function(data) {
// Remove disabled and make the box
jQuery(buttonObj).removeAttr("disabled")
jQuery(buttonObj).find('span').toggleClass('glyphicon-comment glyphicon-refresh spin-glyphicon')
\$(buttonObj).removeAttr("disabled")
\$(buttonObj).find('span').toggleClass('glyphicon-comment glyphicon-refresh spin-glyphicon')
resultBox.removeClass('alert-success alert-danger').show()
if(data.status) {
resultBox.addClass('alert-success')
@@ -473,7 +426,7 @@ jQuery(document).ready(function(){
}
})
}
jQuery('#test_email, #test_notif, #test_windows, #test_apprise, #test_pushbullet, #test_pushover, #test_prowl, #test_osd, #test_nscript').click(function () {
\$('#test_email, #test_notif, #test_windows, #test_pushbullet, #test_pushover, #test_prowl, #test_osd, #test_nscript').click(function () {
testNotification(this)
})
});

View File

@@ -551,43 +551,43 @@ function urlencode(str) {
return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+');
}
jQuery(document).ready(function(){
jQuery('.favicon').each(function(i, theContainer) {
\$(document).ready(function(){
\$('.favicon').each(function(i, theContainer) {
// Easy favicon grabber
var favUrl = '//' + jQuery(theContainer).data('domain') + '/favicon.ico'
var favUrl = '//' + \$(theContainer).data('domain') + '/favicon.ico'
// Does the image exist? Otherwise place a glyphicon
var testFavImg = new Image();
testFavImg.src = favUrl;
testFavImg.onerror = function (evt){
jQuery(theContainer).append('<span class="glyphicon glyphicon-list"></span>')
\$(theContainer).append('<span class="glyphicon glyphicon-list"></span>')
}
})
jQuery('.tabs a').click(function (e) {
\$('.tabs a').click(function (e) {
e.preventDefault()
jQuery(this).tab('show')
\$(this).tab('show')
})
jQuery('.editFeed').click(function(){
var oldURI = jQuery(this).prev().val();
var whichFeed = jQuery(this).attr("rel");
\$('.editFeed').click(function(){
var oldURI = \$(this).prev().val();
var whichFeed = \$(this).attr("rel");
// Fill the values
jQuery('#feed_edit_name_label').text(whichFeed)
jQuery('#feed_edit_old_name').val(whichFeed)
jQuery('#feed_edit_new_name').val(whichFeed)
jQuery('#feed_edit_url').val(oldURI)
\$('#feed_edit_name_label').text(whichFeed)
\$('#feed_edit_old_name').val(whichFeed)
\$('#feed_edit_new_name').val(whichFeed)
\$('#feed_edit_url').val(oldURI)
// Show the modal
jQuery('#rss_edit_modal').modal('show');
\$('#rss_edit_modal').modal('show');
});
jQuery('.delFeed').click(function(e){
\$('.delFeed').click(function(e){
e.preventDefault();
if ( confirm("$T('confirm')") ) {
var whichFeed = jQuery(this).attr("rel");
jQuery.ajax({
var whichFeed = \$(this).attr("rel");
\$.ajax({
type: "POST",
url: "del_rss_feed",
data: {feed: whichFeed, apikey: "$apikey" }
@@ -600,9 +600,9 @@ jQuery(document).ready(function(){
}
});
jQuery('.toggleFeedCheckbox').click(function(){
var whichFeed = jQuery(this).attr("rel");
jQuery.ajax({
\$('.toggleFeedCheckbox').click(function(){
var whichFeed = \$(this).attr("rel");
\$.ajax({
type: "POST",
url: "toggle_rss_feed",
data: {feed: whichFeed, apikey: "$apikey" }
@@ -615,34 +615,34 @@ jQuery(document).ready(function(){
});
// Only the Accept filter needs all the options
jQuery('form[action="upd_rss_filter"]').find('select[name="filter_type"]').change(function() {
jQuery(this).parent().parent().find('select:not([name="filter_type"])').attr('disabled', jQuery(this).val() !== "A" && jQuery(this).val() !== "S")
\$('form[action="upd_rss_filter"]').find('select[name="filter_type"]').change(function() {
\$(this).parent().parent().find('select:not([name="filter_type"])').attr('disabled', \$(this).val() != "A" && \$(this).val() != "S")
})
// Trigger on-load for all
jQuery('.disabled_options_rule').find('td select:not([name="filter_type"])').attr('disabled', true)
\$('.disabled_options_rule').find('td select:not([name="filter_type"])').attr('disabled', true)
function setActiveIcon(objButton) {
// Let's make it look like things are happening!
jQuery(objButton).attr('disabled', true)
jQuery(objButton).find('span').remove()
jQuery(objButton).prepend('<span class="glyphicon glyphicon-transfer"></span>')
\$(objButton).attr('disabled', true)
\$(objButton).find('span').remove()
\$(objButton).prepend('<span class="glyphicon glyphicon-transfer"></span>')
}
// Enable sorting and set default
if (jQuery('#rss-tab-matched table').length) {
jQuery('#rss-tab-matched table').tablesort().data('tablesort').sort(jQuery('#rss-tab-matched th.default-sort'), 'desc');
if (\$('#rss-tab-matched table').length) {
\$('#rss-tab-matched table').tablesort().data('tablesort').sort(\$('#rss-tab-matched th.default-sort'), 'desc');
}
if (jQuery('#rss-tab-not-matched table').length) {
jQuery('#rss-tab-not-matched table').tablesort().data('tablesort').sort(jQuery('#rss-tab-not-matched th.default-sort'), 'desc');
if (\$('#rss-tab-not-matched table').length) {
\$('#rss-tab-not-matched table').tablesort().data('tablesort').sort(\$('#rss-tab-not-matched th.default-sort'), 'desc');
}
if (jQuery('#rss-tab-done table').length) {
jQuery('#rss-tab-done table').tablesort().data('tablesort').sort(jQuery('#rss-tab-done th.default-sort'), 'desc');
if (\$('#rss-tab-done table').length) {
\$('#rss-tab-done table').tablesort().data('tablesort').sort(\$('#rss-tab-done th.default-sort'), 'desc');
}
jQuery('.testFeed').click(function(){
\$('.testFeed').click(function(){
setActiveIcon(this)
var whichFeed = jQuery(this).attr("rel");
jQuery.ajax({
var whichFeed = \$(this).attr("rel");
\$.ajax({
type: "POST",
url: "test_rss_feed",
data: {feed: whichFeed, apikey: "$apikey" }
@@ -654,34 +654,34 @@ jQuery(document).ready(function(){
});
});
jQuery('.cleanFeed').click(function(){
\$('.cleanFeed').click(function(){
setActiveIcon(this)
var theForm = jQuery(this).closest("form");
var theForm = \$(this).closest("form");
theForm.attr("action", "clean_rss_jobs").submit();
});
jQuery('.evalFeed').click(function(){
\$('.evalFeed').click(function(){
setActiveIcon(this)
var theForm = jQuery(this).closest("form");
var theForm = \$(this).closest("form");
theForm.attr("action", "eval_rss_feed").submit();
});
jQuery('.delFilter').click(function(){
var theForm = jQuery(this).closest("form");
\$('.delFilter').click(function(){
var theForm = \$(this).closest("form");
theForm.attr("action", "del_rss_filter").submit();
});
jQuery('form[action="download"]').ajaxForm({
\$('form[action="download"]').ajaxForm({
datatype: 'json',
beforeSubmit: function (_, form) {
jQuery(form).find('button').attr("disabled", "disabled")
\$(form).find('button').attr("disabled", "disabled")
// Remove icon and add new one
jQuery(form).find('button span').remove()
jQuery(form).find('button').prepend('<span class="glyphicon glyphicon-transfer"></span>')
\$(form).find('button span').remove()
\$(form).find('button').prepend('<span class="glyphicon glyphicon-transfer"></span>')
},
success: function (_, _, _, form) {
// Set success
jQuery(form).find('button').html('<span class="glyphicon glyphicon-ok"></span> $T('rss-added')')
\$(form).find('button').html('<span class="glyphicon glyphicon-ok"></span> $T('rss-added')')
}
});

View File

@@ -112,32 +112,32 @@ else:
</div><!-- /section -->
</div><!-- /colmask -->
<script type="text/javascript">
jQuery('#action').on('change', function() {
\$('#action').on('change', function() {
// Set the action
jQuery('#arguments').val((jQuery(this).find('option:selected').data('action')))
\$('#arguments').val((\$(this).find('option:selected').data('action')))
// Is it speedlimit?
if(jQuery(this).find('option:selected').val() === 'speedlimit') {
jQuery('#hidden_arguments').show()
jQuery('#hidden_arguments input').attr('placeholder', 'Bytes/s, "1M" = 1 MB/s, "500K" = 500 KB/s')
if(\$(this).find('option:selected').val() == 'speedlimit') {
\$('#hidden_arguments').show()
\$('#hidden_arguments input').attr('placeholder', 'Bytes/s, "1M" = 1 MB/s, "500K" = 500 KB/s')
} else {
jQuery('#hidden_arguments').hide()
jQuery('#hidden_arguments input').attr('placeholder', '')
\$('#hidden_arguments').hide()
\$('#hidden_arguments input').attr('placeholder', '')
}
/* Arguments - since we only have speedlimit with arguments, disabled for now
if(jQuery(this).find('option:selected').data('noarg')) {
jQuery('#hidden_arguments').hide()
if(\$(this).find('option:selected').data('noarg')) {
\$('#hidden_arguments').hide()
} else {
jQuery('#hidden_arguments').show()
\$('#hidden_arguments').show()
}*/
})
jQuery('[name="schedenabled"]').click(function() {
jQuery.ajax({
\$('[name="schedenabled"]').click(function() {
\$.ajax({
type: "POST",
url: "toggleSchedule",
data: {line: jQuery(this).val(), apikey: "$apikey" }
data: {line: \$(this).val(), apikey: "$apikey" }
}).done(function() {
// Let us leave!
formWasSubmitted = true;

View File

@@ -10,16 +10,8 @@
var serverBandwithData = {}
var serverArticleTries = {}
var serverArticleFailed = {}
// Keep track of all used hostnames
var hostnames = ""
</script>
<div class="server-frame">
<a href="#">&times;</a>
<iframe></iframe>
</div>
<div class="colmask">
<div class="padding alt section">
<button type="button" class="btn btn-default" id="addServerButton"><span class="glyphicon glyphicon-plus"></span> $T('button-addServer')</button>
@@ -28,7 +20,7 @@
</label>
<div class="advanced-buttonSeperator"></div>
<div class="chart-selector-container" title="$T('selectedDates')" data-placement="bottom">
<div class="chart-selector-container" title="$T('selectedDates')">
<span class="glyphicon glyphicon-signal"></span>
<!--#set today = datetime.date.today()#-->
<input type="date" name="chart-start" id="chart-start" value="<!--#echo (today-datetime.timedelta(days=30)).strftime('%Y-%m-%d')#-->"> -
@@ -59,7 +51,7 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="port">$T('srv-port')</label>
<input type="number" name="port" id="port" size="8" value="563" min="0" max="65535" />
<input type="number" name="port" id="port" size="8" value="563" min="0" />
</div>
<div class="field-pair">
<label class="config" for="ssl">$T('srv-ssl')</label>
@@ -77,7 +69,7 @@
</div>
<div class="field-pair">
<label class="config" for="connections">$T('srv-connections')</label>
<input type="number" name="connections" id="connections" min="1" max="500" value="8" required />
<input type="number" name="connections" id="connections" min="1" max="1000" value="8" required />
</div>
<div class="field-pair">
<label class="config" for="priority">$T('srv-priority')</label>
@@ -91,9 +83,9 @@
<label class="config" for="timeout">$T('srv-timeout')</label>
<input type="number" name="timeout" id="timeout" min="20" max="240" /> <i>$T('seconds')</i>
</div>
<div class="field-pair advanced-settings">
<div class="field-pair <!--#if int($certificate_validation) == 0 then "disabled" else ""#--> advanced-settings">
<label class="config" for="ssl_verify">$T('opt-ssl_verify')</label>
<select name="ssl_verify" id="ssl_verify">
<select name="ssl_verify" id="ssl_verify" <!--#if int($certificate_validation) == 0 then "disabled=\"disabled\"" else ""#-->>
<option value="2" selected>$T('ssl_verify-strict')</option>
<option value="1">$T('ssl_verify-normal')</option>
<option value="0">$T('ssl_verify-disabled')</option>
@@ -106,6 +98,11 @@
<span class="desc">$T('explain-ssl_ciphers') <br>$T('readwiki')
<a href="https://sabnzbd.org/wiki/advanced/ssl-ciphers" target="_blank">https://sabnzbd.org/wiki/advanced/ssl-ciphers</a></span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="send_group">$T('srv-send_group')</label>
<input type="checkbox" name="send_group" id="send_group" value="1" />
<span class="desc">$T('srv-explain-send_group')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="required">$T('srv-required')</label>
<input type="checkbox" name="required" id="required" value="1" />
@@ -131,7 +128,7 @@
<textarea name="notes" id="notes" rows="3" cols="50"></textarea>
</div>
<div class="field-pair no-field-pair-bg">
<button class="btn btn-default addNewServer" disabled><span class="glyphicon glyphicon-plus"></span> $T('button-addServer')</button>
<button class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> $T('button-addServer')</button>
<button class="btn btn-default testServer" type="button"><span class="glyphicon glyphicon-sort"></span> $T('button-testServer')</button>
</div>
<div class="field-pair result-box">
@@ -142,7 +139,7 @@
</div>
</div>
<!--#set $prio_colors = ["#59cc33", "#26a69a", "#3366cc", "#7f33cc", "#cc33a6", "#f39c12", "#cc3333", "#8d6e63"] #-->
<!--#set $prio_colors = ["#59cc33", "#3366cc","#7f33cc", "#cc33a6", "#cc3333"] #-->
<!--#set $cur_prio_color = -1 #-->
<!--#set $last_prio = -1 #-->
<!--#for $cur, $server in enumerate($servers) #-->
@@ -185,7 +182,7 @@
</div>
<div class="field-pair advanced-settings">
<label class="config" for="port$cur">$T('srv-port')</label>
<input type="number" name="port" id="port$cur" value="$server['port']" size="8" min="0" max="65535" required />
<input type="number" name="port" id="port$cur" value="$server['port']" size="8" min="0" required />
</div>
<div class="field-pair">
<label class="config" for="ssl$cur">$T('srv-ssl')</label>
@@ -203,7 +200,7 @@
</div>
<div class="field-pair">
<label class="config" for="connections$cur">$T('srv-connections')</label>
<input type="number" name="connections" id="connections$cur" value="$server['connections']" min="1" max="500" required />
<input type="number" name="connections" id="connections$cur" value="$server['connections']" min="1" max="1000" required />
</div>
<div class="field-pair">
<label class="config" for="priority$cur">$T('srv-priority')</label>
@@ -218,9 +215,9 @@
<input type="number" name="timeout" id="timeout$cur" value="$server['timeout']" min="20" max="240" required /> <i>$T('seconds')</i>
</div>
<div class="field-pair advanced-settings">
<div class="field-pair <!--#if int($certificate_validation) == 0 then "disabled" else ""#--> advanced-settings">
<label class="config" for="ssl_verify$cur">$T('opt-ssl_verify')</label>
<select name="ssl_verify" id="ssl_verify$cur">
<select name="ssl_verify" id="ssl_verify$cur" <!--#if int($certificate_validation) == 0 then "disabled=\"disabled\"" else ""#-->>
<option value="2" <!--#if $server['ssl_verify'] == 2 then 'selected="selected"' else ""#--> >$T('ssl_verify-strict')</option>
<option value="1" <!--#if $server['ssl_verify'] == 1 then 'selected="selected"' else ""#--> >$T('ssl_verify-normal')</option>
<option value="0" <!--#if $server['ssl_verify'] == 0 then 'selected="selected"' else ""#--> >$T('ssl_verify-disabled')</option>
@@ -243,6 +240,11 @@
<input type="checkbox" name="optional" id="optional$cur" value="1" <!--#if int($server['optional']) != 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-optional')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="send_group$cur">$T('srv-send_group')</label>
<input type="checkbox" name="send_group" id="send_group$cur" value="1" <!--#if int($server['send_group']) != 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('srv-explain-send_group')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="expire_date$cur">$T('srv-expire_date')</label>
<input type="date" name="expire_date" id="expire_date$cur" value="$server['expire_date']" />
@@ -299,9 +301,6 @@
serverBandwithData[${cur}] = <!--#echo json.dumps($server['amounts'][4])#-->
serverArticleTries[${cur}] = <!--#echo json.dumps($server['amounts'][5])#-->
serverArticleFailed[${cur}] = <!--#echo json.dumps($server['amounts'][6])#-->
<!--#if int($server['enable']) != 0#-->
hostnames += ",$server['host']"
<!--#end if#-->
</script>
<!--#end if#-->
</div>
@@ -339,8 +338,8 @@
function showCharts() {
// Get the constants
const startDate = new Date(jQuery('#chart-start').val())
const endDate = new Date(jQuery('#chart-end').val())
const startDate = new Date(\$('#chart-start').val())
const endDate = new Date(\$('#chart-end').val())
const oneDay = 24 * 60 * 60 * 1000
const nrDays = Math.round((endDate-startDate)/oneDay)
@@ -351,8 +350,8 @@
var maxBandwith = 0
// For each chart
jQuery('.server-chart').each(function(j, elemn) {
const server_id = jQuery(elemn).data('serverid')
\$('.server-chart').each(function(j, elemn) {
const server_id = \$(elemn).data('serverid')
var totalBandwithThisRange = 0
var totalArticlesTriedThisRange = 0
var totalArticlesFailedThisRange = 0
@@ -395,7 +394,7 @@
}
// Update the text value
jQuery('#server-bandwith-value-' + server_id).text(filesize(totalBandwithThisRange, {round: 1}))
\$('#server-bandwith-value-' + server_id).text(filesize(totalBandwithThisRange, {round: 1}))
// Calculate article success ratio, if available
var articleRatio = Math.round(100 * (1 - totalArticlesFailedThisRange/totalArticlesTriedThisRange))
@@ -403,17 +402,17 @@
// If values were missing
if(!isNaN(articleRatio)) {
// Use filesize to convert to unit-display
jQuery('#server-article-value-' + server_id).text('$T("srv-articles-tried")'.replace('%f', articleRatio).replace('%d', filesize(totalArticlesTriedThisRange, {unix: true, round: 0, spacer: "", base: 1})))
\$('#server-article-value-' + server_id).text('$T("srv-articles-tried")'.replace('%f', articleRatio).replace('%d', filesize(totalArticlesTriedThisRange, {unix: true, round: 0, spacer: "", base: 1})))
// If we have a low value, we link them to the website
if(articleRatio > 60) jQuery('#server-article-not-complete-' + server_id).hide()
if(articleRatio > 60) \$('#server-article-not-complete-' + server_id).hide()
} else {
jQuery('#server-article-value-' + server_id).text('$T("notAvailable")')
jQuery('#server-article-not-complete-' + server_id).hide()
\$('#server-article-value-' + server_id).text('$T("notAvailable")')
\$('#server-article-not-complete-' + server_id).hide()
}
// Save bandwidth data in a very ugly way, but we need to do this
// so we can calculate the maximum Y-axis for all graphs
jQuery(elemn).data("chart-data", data)
\$(elemn).data("chart-data", data)
})
// Set the maximum
@@ -421,11 +420,11 @@
chartOptions.axisY.low = 0
// Update all the axis with the largest value and draw the graph
jQuery('.server-chart').each(function(j, elemn) {
const server_id = jQuery(elemn).data('serverid')
\$('.server-chart').each(function(j, elemn) {
const server_id = \$(elemn).data('serverid')
// Show the chart
chart = new Chartist.Line('#server-chart-'+server_id, jQuery(elemn).data("chart-data"), chartOptions)
chart = new Chartist.Line('#server-chart-'+server_id, \$(elemn).data("chart-data"), chartOptions)
chart.on('created', function(context) {
// Make sure to add this as the first child so it's at the bottom
context.svg.elem('rect', {
@@ -437,15 +436,15 @@
stroke: '#b9b9b9',
'stroke-width': '1px'
}, '', context.svg, true)
jQuery('#server-chart-'+server_id+' .ct-label.ct-vertical').each(function(index, elmn) {
\$('#server-chart-'+server_id+' .ct-label.ct-vertical').each(function(index, elmn) {
elmn.innerHTML = filesize(elmn.innerHTML, {round: 1}).replace(' ','')
})
});
})
// Limit input to sensible values
jQuery('#chart-start').attr("max", jQuery('#chart-end').val())
jQuery('#chart-end').attr("min", jQuery('#chart-start').val())
\$('#chart-start').attr("max", \$('#chart-end').val())
\$('#chart-end').attr("min", \$('#chart-start').val())
}
// Need to mitigate timezone effects!
@@ -458,12 +457,12 @@
/**
When finished loading
**/
jQuery(document).ready(function(){
\$(document).ready(function(){
// Exception when change of priority, reload
jQuery('input[name="priority"], input[name="displayname"]').on('change', function() {
jQuery('.fullform').submit(function() {
\$('input[name="priority"], input[name="displayname"]').on('change', function() {
\$('.fullform').submit(function() {
// No ajax this time
jQuery('input[name="ajax"]').val('')
\$('input[name="ajax"]').val('')
// Skip the fancy stuff, just submit
this.submit()
})
@@ -472,7 +471,7 @@
/**
Update charts when changed
**/
jQuery('#chart-start, #chart-end').on('change', function(elemn) {
\$('#chart-start, #chart-end').on('change', function(elemn) {
showCharts()
// Lets us leave (needs to be called after the change event)
@@ -487,16 +486,16 @@
/**
Click events
**/
jQuery('.showserver').click(function () {
if(jQuery(this).parent().hasClass('server-disabled')) {
jQuery(this).parent().parent().toggleClass('server-disabled')
\$('.showserver').click(function () {
if(\$(this).parent().hasClass('server-disabled')) {
\$(this).parent().parent().toggleClass('server-disabled')
}
jQuery(this).parent().next().toggle();
jQuery(this).parent().next().next().toggle();
if (jQuery(this).text().indexOf("$T('showDetails')") > 0) {
jQuery(this).html(jQuery(this).html().replace("$T('showDetails')", "$T('hideDetails')"));
\$(this).parent().next().toggle();
\$(this).parent().next().next().toggle();
if (\$(this).text().indexOf("$T('showDetails')") > 0) {
\$(this).html(\$(this).html().replace("$T('showDetails')", "$T('hideDetails')"));
} else {
jQuery(this).html(jQuery(this).html().replace("$T('hideDetails')", "$T('showDetails')"));
\$(this).html(\$(this).html().replace("$T('hideDetails')", "$T('showDetails')"));
// Recalculate the charts if changed while details were open
showCharts()
}
@@ -504,24 +503,24 @@
addRowColor()
});
jQuery('#addServerButton').click(function(){
jQuery('#addServerContent').show();
\$('#addServerButton').click(function(){
\$('#addServerContent').show();
// Add coloring
addRowColor()
});
jQuery('[name="ssl"]').click(function() {
\$('[name="ssl"]').click(function() {
// Use CSS transitions to do some highlighting
var portBox = jQuery(this).parent().parent().find('[name="port"]')
var portBox = \$(this).parent().parent().find('[name="port"]')
if(this.checked) {
// Enabled SSL change port when not already a custom port
if(portBox.val() === '119') {
if(portBox.val() == '119') {
portBox.val('563')
portBox.addClass('port-highlight')
}
} else {
// Remove SSL port
if(portBox.val() === '563') {
if(portBox.val() == '563') {
portBox.val('119')
portBox.addClass('port-highlight')
}
@@ -530,16 +529,16 @@
})
// Testing servers
jQuery('.testServer').click(function(event){
\$('.testServer').click(function(event){
removeObfuscation()
var theButton = jQuery(this)
var theButton = \$(this)
var resultBox = theButton.parents('.col1').find('.result-box .alert');
theButton.attr("disabled", "disabled")
theButton.find('span').toggleClass('glyphicon-sort glyphicon-refresh spin-glyphicon')
jQuery.ajax({
\$.ajax({
type: "POST",
url: "../../api",
data: "mode=config&name=test_server&" + jQuery(this).parents('form:first').serialize()
data: "mode=config&name=test_server&" + \$(this).parents('form:first').serialize()
}).then(function(data) {
// Let's replace the link
msg = data.value.message.replace('https://sabnzbd.org/certificate-errors', '<a href="https://sabnzbd.org/certificate-errors" class="alert-link" target="_blank">https://sabnzbd.org/certificate-errors</a>')
@@ -554,26 +553,16 @@
if(data.value.result) {
resultBox.addClass('alert-success')
resultBox.prepend('<span class="glyphicon glyphicon-ok-sign"></span> ')
// Allow adding the new server if we are in the new-server section
if(theButton.parents("form[action='addServer']").length) {
jQuery(".addNewServer").removeAttr("disabled")
}
} else {
resultBox.addClass('alert-danger')
resultBox.prepend('<span class="glyphicon glyphicon-exclamation-sign"></span> ')
// Disable the adding of new server, just to be sure
if(theButton.parents("form[action='addServer']").length) {
jQuery(".addNewServer").attr("disabled", "disabled")
}
}
});
});
jQuery('.delServer').click(function(){
\$('.delServer').click(function(){
if( confirm("$T('confirm')") ) {
jQuery(this).parents('form:first').attr('action','delServer').submit();
\$(this).parents('form:first').attr('action','delServer').submit();
// Let us leave!
formWasSubmitted = true;
formHasChanged = false;
@@ -582,9 +571,9 @@
return false;
});
jQuery('.clrServer').click(function(){
\$('.clrServer').click(function(){
if( confirm("$T('confirm')") ) {
jQuery(this).parents('form:first').attr('action','clrServer').submit();
\$(this).parents('form:first').attr('action','clrServer').submit();
// Let us leave!
formWasSubmitted = true;
formHasChanged = false;
@@ -593,9 +582,9 @@
return false;
});
jQuery('.toggleServerCheckbox').click(function(){
var whichServer = jQuery(this).attr("name");
jQuery.ajax({
\$('.toggleServerCheckbox').click(function(){
var whichServer = \$(this).attr("name");
\$.ajax({
type: "POST",
url: "toggleServer",
data: {server: whichServer, apikey: "$apikey" }
@@ -606,35 +595,6 @@
setTimeout(function() { location.reload(); }, 100)
});
});
// Show text-ad if there is space
if((jQuery("body").width() - jQuery("#content").width())/2 > (jQuery('.Servers .server-frame').width() + 40)) {
// Do not show if dismissed previously
if(localStorage.getItem("server-frame-hide-$version") === null) {
// Let the page on the server tell us if we need to show
function receiveMessage(event) {
// Check origin of message for security reasons
if(event.origin === 'https://sabnzbd.org') {
if(event.data === 'show_server') {
jQuery('.Servers .server-frame').show()
jQuery('.Servers .server-frame a').click(function () {
localStorage.setItem("server-frame-hide-$version", "hide")
jQuery('.Servers .server-frame').hide()
})
}
if(event.data === 'hide_server') {
// Hide and don't load anymore untill the next release
jQuery('.Servers .server-frame').hide()
localStorage.setItem("server-frame-hide-$version", "hide")
}
}
}
window.addEventListener("message", receiveMessage, false);
// NOTE: The hash-part cannot be seen by the server, so we don't know which hostnames you use!
jQuery('.Servers .server-frame iframe').attr("src", "https://sabnzbd.org/servers#$active_lang" + hostnames)
}
}
});
</script>

View File

@@ -1,11 +1,12 @@
<!--#set global $pane="Sorting"#-->
<!--#set global $help_uri = $confighelpuri + "sorting"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="padTable section explain-sorting">
<a class="main-helplink" href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
$T('explain-sorting')
</div>
<div class="colmask">
<div class="padTable section">
<a class="main-helplink" href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
$T('explain-sorting')
</div>
<div class="padding alt section">
<button type="button" class="btn btn-default addSorter"><span class="glyphicon glyphicon-plus"></span> $T('add-sorter')</button>
<label for="advanced-settings-button" class="form-control advanced-button ">
@@ -71,7 +72,7 @@
<div class="field-pair">
<label class="config" for="field_sort_string_$cur">$T('sortString')</label>
<input type="text" name="sort_string" id="field_sort_string_$cur" value="$slot.sort_string" required="required" />
<button type="button" class="btn btn-default patternKey" onclick="jQuery('#pattern_explainer_$cur').toggle(); window.scrollBy(0, 500);">
<button type="button" title="$T('sort-legenda')" class="btn btn-default patternKey" onclick="jQuery('#pattern_explainer_$cur').toggle(); window.scrollBy(0, 500);">
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> $T('sort-legenda')
</button>
</div>
@@ -344,7 +345,7 @@
</div>
<!--#if len($slotinfo) == 1 and ("tv" in $categories or "movies" in $categories)#-->
<div class="section align-center sorting-quick-setup">
<div class="section align-center alt sorting-quick-setup">
<h3>$T('sort-quick-add'):</h3>
<!--#if "tv" in $categories#-->
<form action="save_sorter" method="post" autocomplete="off">
@@ -401,53 +402,53 @@
// Put preset values into form fields
function set_preset(sort_nr, sort_string, multipart_label, sample_data) {
jQuery('#field_sort_string_' + sort_nr).val(sort_string);
jQuery('#multipart_label_' + sort_nr).val(multipart_label);
jQuery('#preview_name_' + sort_nr).val(sample_data);
\$('#field_sort_string_' + sort_nr).val(sort_string);
\$('#multipart_label_' + sort_nr).val(multipart_label);
\$('#preview_name_' + sort_nr).val(sample_data);
new_preview(sort_nr);
}
// Handle preview
function new_preview(sort_nr) {
var preview_sort_string = jQuery('#field_sort_string_' + sort_nr).val();
var preview_sort_string = \$('#field_sort_string_' + sort_nr).val();
if(preview_sort_string.length > 2) {
typewatch(function () {
jQuery.ajax({
\$.ajax({
type: "GET",
url: "../../api",
data: {
mode: 'eval_sort',
job_name: jQuery('#preview_name_' + sort_nr).val(),
job_name: \$('#preview_name_' + sort_nr).val(),
sort_string: preview_sort_string,
multipart_label: jQuery('#multipart_label_' + sort_nr).val(),
multipart_label: \$('#multipart_label_' + sort_nr).val(),
apikey: '$apikey',
output: 'json'
},
success: function(data) {
jQuery('#preview_result_' + sort_nr).html(data.result);
\$('#preview_result_' + sort_nr).html(data.result);
},
error: function(data) {
jQuery('#preview_result_' + sort_nr).html('$T('button-failed')');
\$('#preview_result_' + sort_nr).html('$T('button-failed')');
}
});
}, 500);
}
}
jQuery(document).ready(function() {
jQuery('.delSorter').click(function() {
var theForm = jQuery(this).closest("form");
\$(document).ready(function() {
\$('.delSorter').click(function() {
var theForm = \$(this).closest("form");
theForm.attr("action", "delete").submit();
});
jQuery('.addSorter').click(function(){
jQuery('#sorter_0').toggle();
\$('.addSorter').click(function(){
\$('#sorter_0').toggle();
// Add coloring
addRowColor()
});
jQuery('.showSorter').click(function () {
var theParent = jQuery(this).closest("form")
\$('.showSorter').click(function () {
var theParent = \$(this).closest("form")
var theSwitch = theParent.find("button.showSorter")
theParent.find(".col1").toggle();
if (theSwitch.text().indexOf("$T('showDetails')") > 0) {
@@ -461,7 +462,7 @@
// Make the configured sorters sortable
var hExtra = 8;
jQuery(".sortables").sortable({
\$(".sortables").sortable({
items: ".sorter",
placeholder: "sorter-placeholder",
axis: "y",
@@ -469,35 +470,35 @@
start: function(event, ui){
hPlaceholder = ui.item.outerHeight();
ui.placeholder.height(hPlaceholder + hExtra);
jQuery('<div class="sorter-placeholder-anim" data-height="' + hPlaceholder + '"></div>').insertAfter(ui.placeholder);
\$('<div class="sorter-placeholder-anim" data-height="' + hPlaceholder + '"></div>').insertAfter(ui.placeholder);
},
cancel: "input,textarea,button,select,option,.pattern-table",
change: function(event, ui) {
ui.placeholder.stop().height(0).animate({
height: ui.item.outerHeight() + hExtra
}, 250);
hPlaceholderAnim = parseInt(jQuery(".sorter-placeholder-anim").attr("data-height"));
jQuery(".sorter-placeholder-anim").stop().height(hPlaceholderAnim + hExtra).animate({
hPlaceholderAnim = parseInt(\$(".sorter-placeholder-anim").attr("data-height"));
\$(".sorter-placeholder-anim").stop().height(hPlaceholderAnim + hExtra).animate({
height: 0
}, 250, function() {
jQuery(this).remove();
\$(this).remove();
hPlaceholder = ui.item.outerHeight();
jQuery('<div class="sorter-placeholder-anim" data-height="' + hPlaceholder + '"></div>').insertAfter(ui.placeholder);
\$('<div class="sorter-placeholder-anim" data-height="' + hPlaceholder + '"></div>').insertAfter(ui.placeholder);
});
},
stop: function(event, ui) {
jQuery(".sorter-placeholder-anim").remove();
\$(".sorter-placeholder-anim").remove();
},
// Save the config after re-ordering
update: function(event, ui) {
jQuery('.Sorting form.sorting-row').each(function(index, elm) {
\$('.Sorting form.sorting-row').each(function(index, elm) {
// Update order of all elements
if(index !== elm.order.value) {
if(index != elm.order.value) {
elm.order.value = index
// Submit changed order
var data = {}
jQuery(elm).extractFormDataTo(data);
jQuery.ajax({
\$(elm).extractFormDataTo(data);
\$.ajax({
type: "GET",
url: window.location.pathname + 'save_sorter',
data: data,
@@ -509,9 +510,9 @@
})
// On|Off switch for a configured sorter
jQuery('.toggleSorterCheckbox').click(function(){
var whichSorter = jQuery(this).attr("rel");
jQuery.ajax({
\$('.toggleSorterCheckbox').click(function(){
var whichSorter = \$(this).attr("rel");
\$.ajax({
type: "POST",
url: "toggle_sorter",
data: {sorter: whichSorter, apikey: "$apikey" }
@@ -524,14 +525,14 @@
<!--#for $cur, $slot in enumerate($slotinfo)#-->
// Preview the result of the sort string against a sample jobname
jQuery('#field_sort_string_$cur, #field_sort_type_$cur, #multipart_label_$cur, #preview_name_$cur').bind("keyup focus", function() {
\$('#field_sort_string_$cur, #field_sort_type_$cur, #multipart_label_$cur, #preview_name_$cur').bind("keyup focus", function() {
new_preview($cur);
});
new_preview($cur);
<!--#end for#-->
jQuery('.clearBtn').click(function(){
jQuery(this).prev().val('').focus();
\$('.clearBtn').click(function(){
\$(this).prev().val('').focus();
});
});
</script>

View File

@@ -18,6 +18,15 @@
</div><!-- /col2 -->
<div class="col1">
<fieldset>
<div class="field-pair">
<label class="config" for="load_balancing">$T('opt-load_balancing')</label>
<select name="load_balancing" id="load_balancing">
<option value="0" <!--#if $load_balancing == 0 then 'selected="selected"' else ""#--> >$T('no-load-balancing')</option>
<option value="1" <!--#if $load_balancing == 1 then 'selected="selected"' else ""#--> >$T('load-balancing')</option>
<option value="2" <!--#if $load_balancing == 2 then 'selected="selected"' else ""#--> >$T('load-balancing-happy-eyeballs')</option>
</select>
<span class="desc">$T('explain-load_balancing')</span>
</div>
<div class="field-pair">
<label class="config" for="max_art_tries">$T('opt-max_art_tries')</label>
<input type="number" name="max_art_tries" id="max_art_tries" value="$max_art_tries" min="2" max="2000" />
@@ -41,7 +50,7 @@
</div><!-- /col2 -->
<div class="col1">
<fieldset>
<div class="field-pair advanced-settings">
<div class="field-pair">
<label class="config" for="pre_script">$T('opt-pre_script')</label>
<select name="pre_script" id="pre_script">
<!--#for $sc in $scripts#-->
@@ -54,22 +63,9 @@
</select>
<span class="desc">$T('explain-pre_script')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="end_queue_script">$T('opt-end_queue_script')</label>
<select name="end_queue_script" id="end_queue_script">
<!--#for $sc in $scripts#-->
<!--#if $sc.lower() == $end_queue_script.lower()#-->
<option value="$sc" selected="selected">$Tspec($sc)</option>
<!--#else#-->
<option value="$sc">$Tspec($sc)</option>
<!--#end if#-->
<!--#end for#-->
</select>
<span class="desc">$T('explain-end_queue_script')</span>
</div>
<div class="field-pair">
<label class="config" for="propagation_delay">$T('opt-propagation_delay')</label>
<input type="number" name="propagation_delay" id="propagation_delay" value="$propagation_delay" min="0" /> <i>$T('minutes')</i>
<input type="number" name="propagation_delay" id="propagation_delay" value="$propagation_delay" /> <i>$T('minutes')</i>
<span class="desc">$T('explain-propagation_delay')</span>
</div>
<div class="field-pair advanced-settings">
@@ -93,39 +89,33 @@
<option value="0" <!--#if int($no_dupes) == 0 then 'selected="selected"' else ""#--> >$T('nodupes-off')</option>
<option value="4" <!--#if int($no_dupes) == 4 then 'selected="selected"' else ""#--> >$T('nodupes-tag')</option>
<option value="2" <!--#if int($no_dupes) == 2 then 'selected="selected"' else ""#--> >$T('nodupes-pause')</option>
<option value="3" <!--#if int($no_dupes) == 3 then 'selected="selected"' else ""#--> >$T('fail-to-history')</option>
<option value="3" <!--#if int($no_dupes) == 3 then 'selected="selected"' else ""#--> >$T('nodupes-fail')</option>
<option value="1" <!--#if int($no_dupes) == 1 then 'selected="selected"' else ""#--> >$T('nodupes-ignore')</option>
</select>
<span class="desc">
$T('explain-no_dupes')<br>
<a href="https://sabnzbd.org/wiki/duplicate-detection" target="_blank">https://sabnzbd.org/wiki/duplicate-detection</a>
</span>
<span class="desc">$T('explain-no_dupes')</span>
</div>
<div class="field-pair">
<label class="config" for="no_smart_dupes">$T('opt-no_smart_dupes')</label>
<select name="no_smart_dupes" id="no_smart_dupes">
<option value="0" <!--#if int($no_smart_dupes) == 0 then 'selected="selected"' else ""#--> >$T('nodupes-off')</option>
<option value="4" <!--#if int($no_smart_dupes) == 4 then 'selected="selected"' else ""#--> >$T('nodupes-tag')</option>
<option value="2" <!--#if int($no_smart_dupes) == 2 then 'selected="selected"' else ""#--> >$T('nodupes-pause')</option>
<option value="3" <!--#if int($no_smart_dupes) == 3 then 'selected="selected"' else ""#--> >$T('fail-to-history')</option>
<option value="1" <!--#if int($no_smart_dupes) == 1 then 'selected="selected"' else ""#--> >$T('nodupes-ignore')</option>
<label class="config" for="no_series_dupes">$T('opt-no_series_dupes')</label>
<select name="no_series_dupes" id="no_series_dupes">
<option value="0" <!--#if int($no_series_dupes) == 0 then 'selected="selected"' else ""#--> >$T('nodupes-off')</option>
<option value="4" <!--#if int($no_series_dupes) == 4 then 'selected="selected"' else ""#--> >$T('nodupes-tag')</option>
<option value="2" <!--#if int($no_series_dupes) == 2 then 'selected="selected"' else ""#--> >$T('nodupes-pause')</option>
<option value="3" <!--#if int($no_series_dupes) == 3 then 'selected="selected"' else ""#--> >$T('nodupes-fail')</option>
<option value="1" <!--#if int($no_series_dupes) == 1 then 'selected="selected"' else ""#--> >$T('nodupes-ignore')</option>
</select>
<span class="desc">
$T('explain-no_smart_dupes')<br>
<a href="https://sabnzbd.org/wiki/duplicate-detection" target="_blank">https://sabnzbd.org/wiki/duplicate-detection</a>
</span>
<span class="desc">$T('explain-no_series_dupes')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="dupes_propercheck">$T('opt-dupes_propercheck')</label>
<input type="checkbox" name="dupes_propercheck" id="dupes_propercheck" value="1" <!--#if int($dupes_propercheck) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-dupes_propercheck')</span>
<label class="config" for="series_propercheck">$T('opt-series_propercheck')</label>
<input type="checkbox" name="series_propercheck" id="series_propercheck" value="1" <!--#if int($series_propercheck) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-series_propercheck')</span>
</div>
<div class="field-pair">
<label class="config" for="pause_on_pwrar">$T('opt-pause_on_pwrar')</label>
<select name="pause_on_pwrar" id="pause_on_pwrar">
<option value="0" <!--#if int($pause_on_pwrar) == 0 then 'selected="selected"' else ""#--> >$T('nodupes-off')</option>
<option value="1" <!--#if int($pause_on_pwrar) == 1 then 'selected="selected"' else ""#--> >$T('nodupes-pause')</option>
<option value="2" <!--#if int($pause_on_pwrar) == 2 then 'selected="selected"' else ""#--> >$T('fail-to-history')</option>
<option value="2" <!--#if int($pause_on_pwrar) == 2 then 'selected="selected"' else ""#--> >$T('abort')</option>
</select>
<span class="desc">$T('explain-pause_on_pwrar')</span>
</div>
@@ -143,7 +133,7 @@
<select name="action_on_unwanted_extensions" id="action_on_unwanted_extensions">
<option value="0" <!--#if int($action_on_unwanted_extensions) == 0 then 'selected="selected"' else ""#--> >$T('nodupes-off')</option>
<option value="1" <!--#if int($action_on_unwanted_extensions) == 1 then 'selected="selected"' else ""#--> >$T('nodupes-pause')</option>
<option value="2" <!--#if int($action_on_unwanted_extensions) == 2 then 'selected="selected"' else ""#--> >$T('fail-to-history')</option>
<option value="2" <!--#if int($action_on_unwanted_extensions) == 2 then 'selected="selected"' else ""#--> >$T('abort')</option>
</select>
<span class="desc">$T('explain-action_on_unwanted_extensions')</span>
</div>
@@ -193,12 +183,12 @@
<div class="field-pair advanced-settings <!--#if not $have_nice then "disabled" else "" #-->">
<label class="config" for="nice">$T('opt-nice')</label>
<input type="text" name="nice" id="nice" value="$nice" <!--#if not $have_nice then 'readonly="readonly" disabled="disabled"' else "" #--> />
<span class="desc">$T('readwiki')</span>
<span class="desc">$T('explain-nice')</span>
</div>
<div class="field-pair advanced-settings <!--#if not $have_ionice then "disabled" else "" #-->">
<label class="config" for="ionice">$T('opt-ionice')</label>
<input type="text" name="ionice" id="ionice" value="$ionice" <!--#if not $have_ionice then 'readonly="readonly" disabled="disabled"' else "" #--> />
<span class="desc">$T('readwiki')</span>
<span class="desc">$T('explain-ionice')</span>
</div>
<!--#else#-->
<div class="field-pair advanced-settings">
@@ -210,13 +200,13 @@
<option value="2" <!--#if int($win_process_prio) == 2 then 'selected="selected"' else ""#-->>$T('win_process_prio-low')</option>
<option value="1" <!--#if int($win_process_prio) == 1 then 'selected="selected"' else ""#-->>$T('win_process_prio-idle')</option>
</select>
<span class="desc">$T('readwiki')</span>
<span class="desc">$T('explain-win_process_prio')</span>
</div>
<!--#end if#-->
<div class="field-pair advanced-settings">
<label class="config" for="par_option">$T('opt-par_option')</label>
<input type="text" name="par_option" id="par_option" value="$par_option" />
<span class="desc">$T('readwiki')</span>
<span class="desc">$T('explain-par_option')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="sfv_check">$T('opt-sfv_check')</label>
@@ -243,6 +233,11 @@
<input type="checkbox" name="script_can_fail" id="script_can_fail" value="1" <!--#if int($script_can_fail) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-script_can_fail')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="new_nzb_on_failure">$T('opt-new_nzb_on_failure')</label>
<input type="checkbox" name="new_nzb_on_failure" id="new_nzb_on_failure" value="1" <!--#if int($new_nzb_on_failure) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-new_nzb_on_failure')</span>
</div>
<div class="field-pair">
<label class="config" for="ignore_samples">$T('opt-ignore_samples')</label>
<input type="checkbox" name="ignore_samples" id="ignore_samples" value="1" <!--#if int($ignore_samples) > 0 then 'checked="checked"' else ""#--> />
@@ -259,17 +254,16 @@
<span class="desc">$T('explain-cleanup_list')</span>
</div>
<div class="field-pair">
<label class="config" for="history_retention_option">$T('opt-history_retention')</label>
<select name="history_retention_option" id="history_retention_option">
<option value="all" <!--#if $auto_sort == "all" then 'selected="selected"' else ""#-->>$T('history_retention-all')</option>
<option value="number-archive" <!--#if $history_retention_option == "number-archive" then 'selected="selected"' else ""#-->>$T('history_retention-number-archive')</option>
<option value="number-delete" <!--#if $history_retention_option == "number-delete" then 'selected="selected"' else ""#-->>$T('history_retention-number-delete')</option>
<option value="days-archive" <!--#if $history_retention_option == "days-archive" then 'selected="selected"' else ""#-->>$T('history_retention-days-archive')</option>
<option value="days-delete" <!--#if $history_retention_option == "days-delete" then 'selected="selected"' else ""#-->>$T('history_retention-days-delete')</option>
<option value="all-archive" <!--#if $history_retention_option == "all-archive" then 'selected="selected"' else ""#-->>$T('history_retention-archive')</option>
<option value="all-delete" <!--#if $history_retention_option == "all-delete" then 'selected="selected"' else ""#-->>$T('history_retention-none')</option>
<label class="config" for="history_retention_select">$T('opt-history_retention')</label>
<input type="hidden" name="history_retention" id="history_retention" value="$history_retention">
<select name="history_retention_select" id="history_retention_select">
<option value="0">$T('history_retention-all')</option>
<option value="n">$T('history_retention-number')</option>
<option value="d">$T('history_retention-days')</option>
<option value="-1">$T('history_retention-none')</option>
</select>
<input type="number" id="history_retention_number" name="history_retention_number" min="1" value="$history_retention_number">
<input type="number" id="history_retention_number" name="history_retention_number" min="1">
<span class="desc">$T('explain-history_retention').replace('. ', '.<br/>')</span>
</div>
<div class="field-pair">
<button class="btn btn-default saveButton"><span class="glyphicon glyphicon-ok"></span> $T('button-saveChanges')</button>
@@ -359,29 +353,57 @@
</div><!-- /colmask -->
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#history_retention_option').on('change', updateHistoryRetention)
\$(document).ready(function() {
\$('#history_retention_select, #history_retention_number').on('change', updateHistoryRetention)
function updateHistoryRetention() {
var retention_option = jQuery('#history_retention_option').val()
var retention_number = jQuery('#history_retention_number')
if(retention_option === "number-archive" || retention_option === "number-delete") {
retention_number.show()
retention_number.attr('placeholder', '$T('history_retention-limit')')
} else if(retention_option === "days-archive" || retention_option === "days-delete") {
retention_number.show()
retention_number.attr('placeholder', '$T('days').capitalize()')
} else {
var retention_setting = \$('#history_retention')
var retention_select = \$('#history_retention_select').val()
var retention_number = \$('#history_retention_number')
// Keep all or keep none
if(retention_select == "0" || retention_select == "-1") {
retention_number.hide()
retention_number.val('')
retention_number.attr('placeholder', '')
retention_setting.val(retention_select)
} else {
retention_number.show()
// Days or number?
if(retention_select.indexOf("d") !== -1) {
retention_number.attr('placeholder', '$T('days').capitalize()')
if(retention_number.val()) {
retention_setting.val(retention_number.val() + 'd')
} else if(parseInt(retention_setting.val()) > 0) {
retention_number.val(parseInt(retention_setting.val()))
}
} else {
retention_number.attr('placeholder', '$T('history_retention-limit')')
if(retention_number.val()) {
retention_setting.val(retention_number.val())
} else if(parseInt(retention_setting.val()) > 0) {
retention_number.val(parseInt(retention_setting.val()))
}
}
}
}
updateHistoryRetention()
// Set the history-retention settig
var retention_setting_value = \$('#history_retention').val()
if(parseInt(retention_setting_value) > 0) {
// Days or number?
if(retention_setting_value.indexOf("d") !== -1) {
\$('#history_retention_select').val("d")
} else {
\$('#history_retention_select').val("n")
}
\$('#history_retention_number').val(parseInt(retention_setting_value))
} else {
// Keep all or keep none
\$('#history_retention_select').val(retention_setting_value)
\$('#history_retention_number').hide()
}
jQuery('.restoreDefaults').click(function(e) {
\$('.restoreDefaults').click(function(e) {
// Get section name
var sectionName = jQuery(this).parents('.section').find('.col2 h3').text().trim()
var sectionName = \$(this).parents('.section').find('.col2 h3').text().trim()
// Confirm?
if(!confirm("$T('explain-restoreDefaults') \""+sectionName+"\"\n$T('confirm')")) return false
@@ -389,11 +411,11 @@ jQuery(document).ready(function() {
// Need to get all the input values, so same way as saving normally
var key_container = {}
jQuery(this).parents('.section').extractFormDataTo(key_container);
\$(this).parents('.section').extractFormDataTo(key_container);
key_container = Object.keys(key_container)
// Send request
jQuery.ajax({
\$.ajax({
type: "GET",
url: "../../api",
data: "mode=set_config_default&apikey=${apikey}&output=json&keyword=" + key_container.join('&keyword=')

View File

@@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<html lang="$active_lang">
<head>
<title>SABnzbd - $T('login')</title>
@@ -16,9 +15,6 @@
<link rel="stylesheet" type="text/css" href="../staticcfg/bootstrap/css/bootstrap.min.css?v=$version" />
<link rel="stylesheet" type="text/css" href="../staticcfg/css/login.css?v=$version" />
<!--#if $color_scheme not in ('Light', '') #-->
<link rel="stylesheet" type="text/css" href="../staticcfg/css/${color_scheme}.css?v=$version"/>
<!--#end if#-->
<script type="text/javascript" src="../staticcfg/js/jquery-3.5.1.min.js?v=$version"></script>
<script type="text/javascript" src="../staticcfg/bootstrap/js/bootstrap.min.js?v=$version"></script>
@@ -37,8 +33,8 @@
<div class="alert alert-danger" role="alert">$error</div>
<!--#end if#-->
<input type="text" class="form-control" name="username" placeholder="$T('srv-username')" autocomplete="username" required autofocus>
<input type="password" class="form-control" name="password" placeholder="$T('srv-password')" autocomplete="current-password" required>
<input type="text" class="form-control" name="username" placeholder="$T('srv-username')" required autofocus>
<input type="password" class="form-control" name="password" placeholder="$T('srv-password')" required>
<button class="btn btn-default"><span class="glyphicon glyphicon-circle-arrow-right"></span> $T('login') </button>
@@ -51,16 +47,16 @@
</div>
<script type="text/javascript">
// Tooltip
jQuery('[data-toggle="tooltip"]').tooltip()
\$('[data-toggle="tooltip"]').tooltip()
// Try-catch in case somebody disabled localstorage
try {
// Set what was done previously
jQuery('input[type="checkbox"]').prop('checked', localStorage.getItem("remember_me") === 'true')
\$('input[type="checkbox"]').prop('checked', localStorage.getItem("remember_me") === 'true')
// Store if we change something
jQuery('input[type="checkbox"]').on('change', function() {
localStorage.setItem("remember_me", jQuery(this).is(':checked'));
\$('input[type="checkbox"]').on('change', function() {
localStorage.setItem("remember_me", \$(this).is(':checked'));
})
} catch(err) { }
</script>
</body>
</html>
</html>

View File

@@ -1 +0,0 @@
@import url('Night.css') screen and (prefers-color-scheme: dark);

View File

@@ -1,311 +0,0 @@
body {
background-color: black;
color: #EBEBEB !important;
}
a:not(.btn) {
color: #63a7e1;
}
.btn {
box-shadow: 1px 1px 1px rgba(255, 255, 255, .1) !important;
}
.btn:not(.btn-danger),
.btn-default,
input,
select,
textarea,
.advanced-button,
.list-group-item {
border-color: #252525 !important;
}
#addFeed,
#addFeedContent,
.section {
border-bottom: 1px solid #555555;
}
.col2 p,
.col2-cats {
color: #AAA;
}
.col2 h3 {
background: none repeat scroll 0 0 #555555;
}
.catTable,
.dropdown-menu,
.dropdown-menu .divider,
.even,
.Key tr:nth-child(odd),
.language:hover,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>li>a.active,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-logo:hover,
.quoteBlock,
.selected,
.server-disabled,
#serverResponse,
.table>tbody>tr:nth-child(odd),
.table-striped>tbody>tr:nth-child(odd),
ul.tabs li.active a,
select[disabled],
select:hover {
background-color: #444444 !important;
color: #EBEBEB !important;
}
.correct {
border: 2px solid #00cc22 !important;
}
.failed,
.required-star,
.error-text {
color: #ff3333 !important;
}
.unselected,
.selected {
border: 1px solid #EBEBEB !important;
color: #EBEBEB !important;
}
.incorrect {
border: 2px solid #ff3333 !important;
}
.disabled-text {
color: #777 !important;
}
#rightGreyText,
small {
color: #c7c7c7 !important;
}
.Categories form.sorting-row:nth-child(2n-1) tr,
.advanced-button,
.advanced-buttonSeperator,
.alt,
.infoTableSeperator.alt,
.btn:not(.btn-danger),
.btn-default.disabled:active,
.btn-default.disabled:focus,
.btn-default.disabled:hover,
a.btn.btn-default,
select.form-control,
.form-control[disabled],
.input-group-addon,
#inner,
.navbar-default,
.search-box input,
.select,
.table-striped>tbody>tr:nth-child(even),
.table>tbody>tr:nth-child(even),
.tab-pane tr:nth-child(odd),
textarea,
ul.tabs a.active,
a.list-group-item,
.dropdown-menu>li>a,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="password"],
input[disabled],
textarea,
select {
background-color: #555555;
color: #EBEBEB;
}
.btn:hover:not(.btn-danger),
.btn-default:hover,
.tab-content .catTable tr:hover td,
input:hover,
textarea:hover,
a.list-group-item:hover,
select:hover,
textarea:hover,
input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="email"]:hover,
input[type="month"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="time"]:hover,
input[type="url"]:hover,
input[type="week"]:hover,
textarea:focus,
select:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus {
background-color: #666;
color: #EBEBEB;
}
.btn-default:focus,
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
border-color: #707070 !important;
outline: initial !important;
box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3) !important;
}
.modal-backdrop {
background-color: #262626 !important;
}
.Key tr {
border: none;
}
.table>tbody>tr>td,
.table>tbody>tr>th,
.infoTableSeperator,
.modal-footer,
.data-row {
border-top: 1px solid #555555;
}
hr {
border-top: 1px solid #555555;
}
.btn-danger {
border-color: #7b2b28;
}
.tab-content .catTable tbody,
ul.tabs a,
.colmask,
#subscriptions,
.RSS form[action="add_rss_feed"] tr:nth-child(even),
.Config .table {
border: 1px solid #555555;
}
.Categories form:first-of-type tr:last-of-type,
.default,
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
background-color: #696969;
}
.activeRSS,
.activeRSS a,
.activeRSS a:visited,
.btn-default,
.checkbox label,
.feed-row td,
.help-block,
#content,
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li>a>.glyphicon,
.path,
.Servers .ct-label,
.time,
.main-restarting.in,
#search-dropdown .dropdown-header,
ul.tabs a,
a.wizard-advanced-settings,
.quoteBlock a,
a.main-helplink,
col2 h3 a,
.text-center a,
.text-center a:hover {
color: #EBEBEB;
}
.container,
#content {
background-color: unset !important;
}
#content>div.colmask>div:nth-child(3) {
border-bottom: 1px solid #555555 !important;
}
.Servers .ct-series-a .ct-line,
.Servers .ct-series-a .ct-point {
stroke: #EBEBEB;
}
#inner,
.colmask {
background-color: #303030;
}
.modal-header {
background-color: #3C3C3C;
}
.modal-content,
.modal-body,
.modal-footer {
background-color: #727272;
}
#modal_qr .modal-body {
background-color: #EBEBEB;
}
.form-signin .btn.btn-default {
color: black;
}
.rss-icon-svg {
fill: white;
}
.rss-symbol {
fill: #555555;
}
::placeholder {
color: #EBEBEB !important;
opacity: 0.5;
}
.tooltip-inner {
background-color: #E4E4E4 !important;
color: #000 !important;
}
/* for login */
.tooltip.bottom .tooltip-arrow {
border-bottom-color: #E4E4E4 !important;
}
/* config>general - host-warning */
.tooltip.top .tooltip-arrow {
border-top-color: #E4E4E4 !important;
}
.Special .glyphicon-asterisk {
color: #E4E4E4 !important;
}

View File

@@ -7,10 +7,7 @@ body {
border-radius: 0 !important;
}
.btn,
.btn:hover,
.btn:active,
.btn:focus {
.btn, .btn:hover, .btn:active, .btn:focus {
box-shadow: 1px 1px 1px rgba(0,0,0,.1) !important;
background-color: white !important;
}
@@ -41,7 +38,7 @@ body {
}
.text-center a:hover {
color: black;
color: black !important;
}
.form-signin .alert {

View File

@@ -19,7 +19,6 @@ body {
float: left;
overflow: visible;
border: 1px solid #dfdede;
border-bottom: none !important;
background-color: #FFF;
width: 100%
}
@@ -90,7 +89,7 @@ body {
display: block;
position: static;
float: right;
color: black;
color: black !important;
padding: 0px;
font-size: 1.2em;
}
@@ -178,8 +177,8 @@ input[type="checkbox"]+.desc {
background-color: #F8F8F8;
}
.field-pair:last-child,
.field-pair.no-field-pair-bg {
background-color: transparent !important;
.no-field-pair-bg {
background-color: transparent;
}
.alt,
.infoTableSeperator.alt {
@@ -226,38 +225,10 @@ input[type='checkbox'] {
padding: 0;
margin-left: 5px;
}
textarea:hover,
input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="email"]:hover,
input[type="month"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="time"]:hover,
input[type="url"]:hover,
input[type="week"]:hover,
textarea:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus {
textarea:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="email"]:hover, input[type="month"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="time"]:hover, input[type="url"]:hover, input[type="week"]:hover, textarea:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="email"]:focus, input[type="month"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="time"]:focus, input[type="url"]:focus, input[type="week"]:focus {
background-color: #fffff0;
border: 1px solid #aaa;
}
.col1 input[type='checkbox'] {
position: absolute;
top: auto!important;
@@ -360,6 +331,10 @@ tr.separator {
margin: 5px;
}
.Sorting .explain-sorting {
background-color: #fff;
color: #000;
}
.Sorting .explain-pattern {
border: none;
width: 100%;
@@ -1011,7 +986,7 @@ input[type="checkbox"] {
}
*/
.navbar-default .navbar-nav>li>a {
color: black;
color: black !important;
}
.navbar-default .navbar-nav>li>a:hover,
@@ -1048,32 +1023,6 @@ input[type="checkbox"] {
margin: 10px 0px;
}
.Servers .server-frame {
position: relative;
width: 220px;
height: 325px;
margin-bottom: -325px;
left: -240px;
display: none;
}
.Servers .server-frame a {
color: black !important;
text-decoration: none !important;
opacity: 0.8;
font-size: 2em;
font-family: arial, sans-serif !important;
position: absolute;
right: 5px;
top: -5px;
}
.Servers .server-frame iframe {
width: 100%;
height: 100%;
border: 0;
}
.Servers .col2 .label {
margin-top: 8px;
font-size: 0.85em;
@@ -1223,6 +1172,7 @@ input[type="checkbox"] {
}
.value-and-select select {
min-width: 30px;
margin-top: 1px;
}
.dotOne, .dotTwo, .dotThree {

View File

@@ -60,7 +60,6 @@
// Initialize
this.element = $(element);
this.initialDir = null;
this.showFiles = false;
this.currentBrowserPath = null;
this.currentRequest = null;
this.fileBrowserDialog = $('#filebrowser_modal .modal-body');
@@ -100,11 +99,6 @@
this.initialDir = this.element.data('initialdir') + folderSeperator + this.element.val();
}
// Are we selecting files or folders
if(this.element.data('files')) {
this.showFiles = true
}
// Browse
this.browse(this.initialDir , folderBrowseUrl);
@@ -115,13 +109,13 @@
// Remove start
self.currentBrowserPath = self.currentBrowserPath.replace(self.element.data('initialdir')+folderSeperator, '');
// If it's identical to the initial dir the replacement won't work
if(self.currentBrowserPath === self.element.data('initialdir')) {
if(self.currentBrowserPath == self.element.data('initialdir')) {
self.currentBrowserPath = '';
}
}
// Changed?
if(self.element.val() !== self.currentBrowserPath) {
if(self.element.val() != self.currentBrowserPath) {
self.element.val(self.currentBrowserPath);
formHasChanged = true;
}
@@ -150,20 +144,12 @@
// Still loading
if (this.currentRequest) this.currentRequest.abort();
// Show hidden folders
var params = { name: path}
if($('#show_hidden_folders').is(':checked')) {
params['show_hidden_folders'] = "1"
}
// Show files?
if(this.showFiles) {
params['show_files'] = "1"
}
// Show hidden folders on Linux?
var extraHidden = $('#show_hidden_folders').is(':checked') ? '&show_hidden_folders=1' : '';
// Get current folders
this.currentBrowserPath = path;
this.currentRequest = $.getJSON(endpoint, params, function (data) {
this.currentRequest = $.getJSON(endpoint + extraHidden, { name: path }, function (data) {
// Clean
self.fileBrowserDialog.empty();
@@ -171,27 +157,17 @@
var list = $('<div class="list-group">').appendTo(self.fileBrowserDialog);
$.each(data.paths, function (i, entry) {
// Title for first one
if(i === 0) {
if(i == 0) {
self.fileBrowserDialog.prepend($('<h4>').text(entry.current_path))
return
}
// Regular link
link = $('<a class="list-group-item" href="javascript:void(0)" />').click(function () {
// Are we looking for files and did we select a file?
if(self.showFiles && !entry.dir) {
// Trigger selection
self.currentBrowserPath = entry.path
$('#filebrowser_modal_accept').click()
} else {
self.browse(entry.path, endpoint);
}
}).text(entry.name);
self.browse(entry.path, endpoint); }
).text(entry.name);
// Back image
if(entry.name === '..') {
if(entry.name == '..') {
$('<span class="glyphicon glyphicon-arrow-left"></span> ').prependTo(link);
} else if(!entry.dir) {
$('<span class="glyphicon glyphicon-file"></span> ').prependTo(link);
} else {
$('<span class="glyphicon glyphicon-folder-open"></span> ').prependTo(link);
}
@@ -262,9 +238,8 @@ function do_restart() {
// Show overlay
$('.main-restarting').show()
// Check if we need redirect
// Uses == on purpose, because val() returns string and data() returns int!
var switchedHTTPS = ($('#enable_https').is(':checked') === ($('#enable_https').data('original') === undefined))
// What template
var switchedHTTPS = ($('#enable_https').is(':checked') == ($('#enable_https').data('original') === undefined))
var portsUnchanged = ($('#port').val() == $('#port').data('original')) && ($('#https_port').val() == $('#https_port').data('original'))
// Are we on settings page or did nothing change?
@@ -273,7 +248,7 @@ function do_restart() {
var urlTotal = window.location.origin + urlBase
} else {
// Protocol and port depend on http(s) setting
if($('#enable_https').is(':checked') && (window.location.protocol === 'https:' || !$('#https_port').val())) {
if($('#enable_https').is(':checked') && (window.location.protocol == 'https:' || !$('#https_port').val())) {
// Https on and we visited this page from HTTPS
var urlProtocol = 'https:';
var urlPort = $('#https_port').val() ? $('#https_port').val() : $('#port').val();
@@ -322,7 +297,7 @@ function do_restart() {
// Exception if we go from HTTPS to HTTP
// (this is not allowed by browsers and all of the above will be ignored)
if(window.location.protocol !== urlProtocol) {
if(window.location.protocol != urlProtocol) {
// Saftey redirect after 20 sec
setTimeout(function() {
location.href = urlTotal;
@@ -332,7 +307,7 @@ function do_restart() {
});
}
// Remove obfuscation
// Remove obfusication
function removeObfuscation() {
$('input[data-hide]').each(function(index, objInput) {
$(objInput).attr('name', $(objInput).data('hide'))
@@ -348,36 +323,6 @@ function addRowColor() {
})
}
// Set default functions for the autocomplete everywhere
jQuery.extend(jQuery.fn.typeahead.defaults, {
source: function (query, process) {
// If there's no separator, it must be a relative path
if(query.split(folderSeperator).length < 2 && this.$element.data('initialdir')) {
query = this.$element.data('initialdir') + folderSeperator + query;
}
var params = { compact: "1", name: query }
if($('#show_hidden_folders').is(':checked')) {
params['show_hidden_folders'] = "1"
}
if(this.$element.data('files')) {
params['show_files'] = "1"
}
// Get info from the API
return jQuery.get(folderBrowseUrl, params, function (data) {
return process(data["paths"]);
});
},
updater: function(item) {
// Is it a relative path?
if(item.indexOf(this.$element.data('initialdir')) === 0) {
// Remove start
return item.replace(this.$element.data('initialdir') + folderSeperator, '');
}
// Full path
return item
}
})
$(document).ready(function () {
/**
Restart function
@@ -484,15 +429,12 @@ $(document).ready(function () {
$('.advanced-settings').toggle()
addRowColor()
})
if(localStorage.getItem('advanced-settings') === 'true') {
if(localStorage.getItem('advanced-settings') == 'true') {
$('.advanced-settings').show()
$('#advanced-settings-button').prop('checked', true)
addRowColor()
}
addRowColor()
// Add tooltips
jQuery('[title]').tooltip()
});
/*

View File

@@ -1,10 +1,5 @@
<div class="history" id="history-tab">
<div class="history-header">
<h2>$T('menu-history') <small data-bind="visible: history.showArchive()">($T('archive'))</small></h2>
<a href="#" data-bind="click: history.showMultiEdit, visible: hasHistory()">
<span class="glyphicon glyphicon-tasks" data-tooltip="true" data-placement="left" title="$T('Glitter-multiOperations')"></span>
</a>
</div>
<div class="history" id="history-tab" data-bind="visible: hasHistory() || displayTabbed()" style="display: none">
<h2>$T('menu-history')</h2>
<table class="table table-hover history-table paginated">
<thead>
<tr>
@@ -18,16 +13,7 @@
<th style="width: 60px;"></th>
</tr>
</thead>
<!-- ko if: !hasHistory() -->
<tbody class="no-downloads">
<tr>
<td colspan="6" data-bind="attr: { 'colspan': 5 + extraHistoryColumns().length }">
<span>$T('empty')</span>
</td>
</tr>
</tbody>
<!-- /ko -->
<tbody data-bind="foreach: history.historyItems, visible: hasHistory()" style="display: none;">
<tbody data-bind="foreach: history.historyItems">
<tr class="history-item" data-bind="css: {'history-failed-download':failed()}">
<td>
<div data-bind="visible: processingWaiting()">
@@ -69,10 +55,7 @@
<!-- /ko -->
<td class="history-completedon row-wrap-text" data-bind="text: completedOn(), attr: { 'data-timestamp': completed }" onclick="showDetails(this)"></td>
<td class="delete">
<label data-bind="visible: parent.isMultiEditing()">
<input type="checkbox" name="multiedit" title="$T('Glitter-multiSelect')" data-bind="click: parent.addMultiEdit, attr: { 'id': 'multiedit_' + id } " />
</label>
<div class="dropdown" data-bind="visible: !parent.isMultiEditing()">
<div class="dropdown">
<a href="#" data-toggle="dropdown" data-bind="click: updateAllHistoryInfo">
<span class="caret"></span>
</a>
@@ -117,7 +100,7 @@
</div>
<!-- /ko -->
</div>
<a href="#" data-bind="click: parent.triggerRemoveDownload">
<a href="#" data-bind="click: deleteSlot">
<span class="hover-button glyphicon glyphicon-trash" data-bind="css: { 'glyphicon-stop' : processingDownload() == 2, disabled : processingDownload() == 1 }, attr: { title: processingDownload() == 2 ? '$T('abort')' : '$T('nzo-delete')' }"></span>
</a>
</td>
@@ -139,23 +122,9 @@
</ul>
<div class="multioperations-selector" id="history-options">
<a href="#" class="hover-button history-archive" title="$T('showArchive') / $T('showAllHis')" data-tooltip="true" data-placement="top" data-bind="click: history.toggleShowArchive, css: { 'history-options-show-failed': history.showArchive }"><svg viewBox="6 6 36 36" height="14" width="14" class="archive-icon"><path d="M41.09 10.45l-2.77-3.36c-.56-.66-1.39-1.09-2.32-1.09h-24c-.93 0-1.76.43-2.31 1.09l-2.77 3.36c-.58.7-.92 1.58-.92 2.55v25c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4v-25c0-.97-.34-1.85-.91-2.55zm-17.09 24.55l-11-11h7v-4h8v4h7l-11 11zm-13.75-25l1.63-2h24l1.87 2h-27.5z"/></svg></a>
<a href="#" class="hover-button" title="$T('showFailedHis') / $T('showAllHis')" data-tooltip="true" data-placement="top" data-bind="click: history.toggleShowFailed, css: { 'history-options-show-failed': history.showFailed }"><span class="glyphicon glyphicon-exclamation-sign"></span></a>
<a href="#" class="hover-button" title="$T('link-retryAll')" data-tooltip="true" data-placement="top" data-bind="click: history.retryAllFailed"><span class="glyphicon glyphicon-repeat"></span></a>
<div data-bind="visible: (history.isMultiEditing() && hasHistory())">
<span class="label label-default" data-bind="text: history.multiEditItems().length">0</span>
<label for="multiedit-checkall-history">
<input type="checkbox" name="multieditCheckAll" id="multiedit-checkall-history" title="$T('Glitter-checkAll')" data-bind="click: history.checkAllJobs" data-tooltip="true" data-placement="top" />
</label>
</div>
<a href="#" class="hover-button" title="$T('nzo-delete')" data-bind="visible: (history.isMultiEditing() && hasHistory()), click: history.doMultiDelete" data-tooltip="true" data-placement="top">
<span class="glyphicon glyphicon-trash"></span>
</a>
<a href="#modal-purge-history" class="hover-button" title="$T('purgeHist')" data-bind="visible: !(history.isMultiEditing() && hasHistory())" data-toggle="modal" data-tooltip="true" data-placement="top">
<span class="glyphicon glyphicon-trash"></span>
</a>
<a href="#" class="hover-button" title="$T('link-retryAll')" data-tooltip="true" data-placement="left" data-bind="click: history.retryAllFailed"><span class="glyphicon glyphicon-repeat"></span></a>
<a href="#" class="hover-button" title="$T('showAllHis') / $T('showFailedHis')" data-tooltip="true" data-placement="left" data-bind="click: history.toggleShowFailed, css: { 'history-options-show-failed': history.showFailed }"><span class="glyphicon glyphicon-exclamation-sign"></span></a>
<a href="#modal-purge-history" class="hover-button" title="$T('purgeHist')" data-toggle="modal" data-tooltip="true" data-placement="left"><span class="glyphicon glyphicon-trash"></span></a>
</div>
<div class="info-container history-info">
@@ -165,3 +134,9 @@
<span data-bind="text: history.downloadedTotal"></span>B $T('Glitter-total')
</div>
</div>
<div class="info-container history-info" data-bind="visible: !hasHistory() && !displayTabbed()" style="display: none">
<span class="glyphicon glyphicon-save"></span>
<span data-bind="text: history.downloadedToday"></span>B $T('Glitter-today')
<span data-bind="text: history.downloadedMonth"></span>B $T('Glitter-thisMonth')
<span data-bind="text: history.downloadedTotal"></span>B $T('Glitter-total')
</div>

View File

@@ -102,15 +102,26 @@
<li class="divider"></li>
<li class="dropdown-header"><span class="glyphicon glyphicon-off"></span> $T('Glitter-onFinish'):</li>
<li>
<!-- ko if: queue.scriptsListLoaded -->
<select data-bind="value: finishaction, event: { change: setOnQueueFinish }" class="form-control">
<option value=""></option>
<option value="shutdown_program">$T('shutdownSab')</option>
<!--#if $power_options#-->
<option value="shutdown_pc">$T('shutdownPc')</option>
<option value="standby_pc">$T('standbyPc')</option>
<option value="hibernate_pc">$T('hibernatePc')</option>
<!--#end if#-->
<optgroup label="$T('eoq-actions')">
<option value="shutdown_program">$T('shutdownSab')</option>
<!--#if $power_options#-->
<option value="shutdown_pc">$T('shutdownPc')</option>
<option value="standby_pc">$T('standbyPc')</option>
<option value="hibernate_pc">$T('hibernatePc')</option>
<!--#end if#-->
</optgroup>
<optgroup label="$T('eoq-scripts')" data-bind="visible: queue.scriptsList().length > 1">
<!-- ko foreach: queue.scriptsList -->
<!-- ko if: \$data.scriptValue != 'None' -->
<option data-bind="text: \$data.scriptText, attr: { value: 'script_'+\$data.scriptValue } " ></option>
<!-- /ko -->
<!-- /ko -->
</optgroup>
</select>
<!-- /ko -->
</li>
</ul>
</li>

View File

@@ -134,8 +134,8 @@
<div class="col-sm-6">$T('dashboard-systemPerformance') &nbsp; </div>
<div class="col-sm-6 col-dot-overflow" data-bind="visible: hasPerformanceInfo">
<span data-bind="text: statusInfo.pystone"></span>
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest') (~10 $T('seconds'))"><span class="glyphicon glyphicon-repeat"></span></a>
<small title="$cpumodel $cpusimd $docker" data-tooltip="true">$cpumodel $cpusimd $docker</small>
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest')"><span class="glyphicon glyphicon-repeat"></span></a>
<small title="$cpumodel $cpusimd" data-tooltip="true">$cpumodel $cpusimd</small>
</div>
<div class="col-sm-6 col-loading" data-bind="visible: !hasPerformanceInfo()">$T('Glitter-loading')<span class="loader-dot-one">.</span><span class="loader-dot-two">.</span><span class="loader-dot-three">.</span></div>
</div>
@@ -143,7 +143,7 @@
<div class="col-sm-6">$T('dashboard-downloadDirSpeed') &nbsp; </div>
<div class="col-sm-6 col-dot-overflow" data-bind="visible: hasPerformanceInfo">
<span data-bind="text: statusInfo.downloaddirspeed()"></span> MB/s
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest') (~10 $T('seconds'))"><span class="glyphicon glyphicon-repeat"></span></a>
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest')"><span class="glyphicon glyphicon-repeat"></span></a>
<small data-bind="text: statusInfo.downloaddir, attr: { 'data-original-title': statusInfo.downloaddir }" data-tooltip="true"></small>
</div>
<div class="col-sm-6 col-loading" data-bind="visible: !hasPerformanceInfo()">$T('Glitter-loading')<span class="loader-dot-one">.</span><span class="loader-dot-two">.</span><span class="loader-dot-three">.</span></div>
@@ -152,7 +152,7 @@
<div class="col-sm-6">$T('dashboard-completeDirSpeed') &nbsp; </div>
<div class="col-sm-6 col-dot-overflow" data-bind="visible: hasPerformanceInfo">
<span data-bind="text: statusInfo.completedirspeed()"></span> MB/s
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest') (~10 $T('seconds'))"><span class="glyphicon glyphicon-repeat"></span></a>
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest')"><span class="glyphicon glyphicon-repeat"></span></a>
<small data-bind="text: statusInfo.completedir, attr: { 'data-original-title': statusInfo.completedir }" data-tooltip="true"></small>
</div>
<div class="col-sm-6 col-loading" data-bind="visible: !hasPerformanceInfo()">$T('Glitter-loading')<span class="loader-dot-one">.</span><span class="loader-dot-two">.</span><span class="loader-dot-three">.</span></div>
@@ -161,7 +161,7 @@
<div class="col-sm-6">$T('dashboard-internetBandwidth') &nbsp; </div>
<div class="col-sm-6" data-bind="visible: hasPerformanceInfo">
<span data-bind="text: statusInfo.internetbandwidth()"></span> MB/s
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest') (~10 $T('seconds'))"><span class="glyphicon glyphicon-repeat"></span></a>
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest')"><span class="glyphicon glyphicon-repeat"></span></a>
<small><span data-bind="text: statusInfo.internetbandwidth()*8"></span> Mbps</small>
</div>
<div class="col-sm-6 col-loading" data-bind="visible: !hasPerformanceInfo()">$T('Glitter-loading')<span class="loader-dot-one">.</span><span class="loader-dot-two">.</span><span class="loader-dot-three">.</span></div>
@@ -225,20 +225,15 @@
</div>
<div class="row" data-bind="visible: serverssl">
<div class="col-sm-6">$T('srv-ssl')</div>
<div class="col-sm-6 col-dot-overflow">
<span class="glyphicon glyphicon-ok"></span>
<span data-bind="text: serversslinfo"></span>
<div class="col-sm-6">
<span class="glyphicon glyphicon-ok"></span> <span data-bind="text: serversslinfo"></span>
</div>
</div>
<div class="row">
<div class="col-sm-6"># $T('connections')</div>
<div class="col-sm-6">
<span data-bind="text: serverconnections().length"></span> /
<span data-bind="text: servertotalconn"></span><br>
<!-- ko if: serveripaddress() -->
<span data-bind="text: servercanonname"></span><br>
<span data-bind="text: serveripaddress"></span>
<!-- /ko -->
<span data-bind="text: servertotalconn"></span>
</div>
</div>
<div class="row">
@@ -254,11 +249,11 @@
</div>
</div>
</div>
<div class="row" data-bind="visible: serverwarning()">
<div class="row" data-bind="visible: !isFinite(serveractiveconn())">
<div class="col-sm-12">
<div class="alert alert-warning">
<span class="glyphicon glyphicon-info-sign"></span>
<span data-bind="text: serverwarning()"></span>
<span data-bind="text: serveractiveconn()"></span>
</div>
</div>
</div>
@@ -528,7 +523,7 @@
<div class="form-group">
<label class="col-sm-4 control-label">$T('category')</label>
<div class="col-sm-6">
<select name="Category" class="form-control" data-bind="options: queue.categoriesList, optionsValue: 'catValue', optionsText: 'catText', optionsCaption: ''"></select>
<select name="Category" class="form-control" data-bind="options: queue.categoriesList, optionsValue: 'catValue', optionsText: 'catText'"></select>
<span class="glyphicon glyphicon-tag"></span>
</div>
</div>
@@ -537,7 +532,7 @@
<div class="col-sm-6">
<!-- This list is different from the one during download! -->
<select name="Priority" class="form-control">
<option value=""></option>
<option value="-100">$T('default')</option>
<option value="2">$T('pr-force')</option>
<option value="1">$T('pr-high')</option>
<option value="0">$T('pr-normal')</option>
@@ -550,14 +545,14 @@
<div class="form-group">
<label class="col-sm-4 control-label">$T('swtag-pp')</label>
<div class="col-sm-6">
<select name="Processing" class="form-control" data-bind="options: queue.processingOptions, optionsValue: 'value', optionsText: 'name', optionsCaption: ''"></select>
<select name="Processing" class="form-control" data-bind="options: queue.processingOptions, optionsValue: 'value', optionsText: 'name', optionsCaption: '$T('default')'"></select>
<span class="glyphicon glyphicon-check"></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">$T('eoq-scripts')</label>
<div class="col-sm-6">
<select name="Post-processing" class="form-control" data-bind="options: queue.scriptsList, optionsCaption: '', optionsValue: 'scriptValue', optionsText: 'scriptText', enable: (queue.scriptsList().length > 1)"></select>
<select name="Post-processing" class="form-control" data-bind="options: queue.scriptsList, optionsCaption: '$T('default')', optionsValue: 'scriptValue', optionsText: 'scriptText', enable: (queue.scriptsList().length > 1)"></select>
<span class="glyphicon glyphicon-flash"></span>
</div>
</div>
@@ -635,59 +630,6 @@
</div>
</div>
<div id="modal-delete-queue-job" class="modal modal-delete-job fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title row-wrap-text">$T('removeNZB-Files')</h4>
</div>
<form data-bind="submit: queue.removeDownloads">
<div class="modal-body">
$T('confirm-delete')
<ul data-bind="foreach: queue.deleteItems">
<li data-bind="text: name"></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">$T('cancel')</button>
<button type="submit" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> $T('nzo-delete')</button>
</div>
</form>
</div>
</div>
</div>
<div id="modal-delete-history-job" class="modal modal-delete-job fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title row-wrap-text">$T('nzo-delete')</h4>
</div>
<form data-bind="submit: history.removeDownloads">
<div class="modal-body">
$T('confirm-delete')
<ul data-bind="foreach: history.deleteItems">
<li data-bind="text: historyStatus.name"></li>
</ul>
</div>
<div class="modal-footer">
<div class="checkbox">
<label>
<input type="checkbox" data-bind="checked: history.showArchive()"> <span>$T('permanently-delete')</span>
</label>
</div>
<button type="button" class="btn btn-default" data-dismiss="modal">$T('cancel')</button>
<button type="submit" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> $T('nzo-delete')</button>
</div>
</form>
</div>
</div>
</div>
<div id="modal-retry-job" class="modal modal-small fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
@@ -718,9 +660,6 @@
</div>
</div>
</fieldset>
<fieldset>
$T('Glitter-retryNoChecks')
</fieldset>
</div>
<div class="modal-footer">
<button class="btn btn-default"><span class="glyphicon glyphicon-repeat"></span> $T('button-retry')</button>
@@ -768,13 +707,13 @@
<td><a href="https://github.com/sabnzbd/sabnzbd" target="_blank">https://github.com/sabnzbd/sabnzbd/</a></td>
</tr>
<tr>
<td><strong>$T('menu-live-chat'):</strong></td>
<td><strong>$T('menu-irc'):</strong></td>
<td><a href="https://sabnzbd.org/live-chat" target="_blank">https://sabnzbd.org/live-chat</a></td>
</tr>
</tbody>
</table>
<hr/>
<p><small>Copyright &copy; 2007-2024 by The SABnzbd-Team (<a href="https://sabnzbd.org/" target="_blank">sabnzbd.org</a>)<br/>$T('yourRights') </small></p>
<p><small>Copyright (C) 2007-2021 The SABnzbd Team &lt;team@sabnzbd.org&gt;<br/>$T('yourRights') </small></p>
</div>
</div>
</div>
@@ -793,18 +732,11 @@
<button type="button" class="btn btn-danger" data-bind="click: history.emptyHistory" data-action="history-purge-completed"><span class="glyphicon glyphicon-floppy-saved"></span> $T('purgeCompl')</button><hr />
<button type="button" class="btn btn-danger" data-bind="click: history.emptyHistory" data-action="history-purge-page"><span class="glyphicon glyphicon-check"></span> $T('purgePage') <span class="label label-default" data-bind="text: history.historyItems().length"></span></button>
</div>
<div class="modal-footer">
<div class="checkbox">
<label>
<input type="checkbox" data-bind="checked: history.showArchive()"> <span>$T('permanently-delete')</span>
</label>
</div>
</div>
</div>
</div>
</div>
<div id="modal-custom-pause" class="modal modal-small fade" tabindex="-1">
<div id="modal_custom_pause" class="modal modal-small fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">

View File

@@ -163,7 +163,7 @@
<!-- /ko -->
</div>
<!-- /ko -->
<a href="#" class="hover-button" title="$T('removeNZB-Files')" data-bind="click: parent.triggerRemoveDownload"><span class="glyphicon glyphicon-trash"></span></a>
<a href="#" class="hover-button" title="$T('removeNZB-Files')" data-bind="click: removeDownload"><span class="glyphicon glyphicon-trash"></span></a>
</td>
</tr>
</tbody>
@@ -171,10 +171,10 @@
<form class="multioperations-selector" data-bind="visible: (hasQueue() && queue.isMultiEditing())" style="display: none;">
<div class="add-nzb-inputbox add-nzb-inputbox-small add-nzb-inputbox-options">
<label for="multiedit-checkall-queue">
<input type="checkbox" name="multieditCheckAll" id="multiedit-checkall-queue" title="$T('Glitter-checkAll')" data-bind="click: queue.checkAllJobs" data-tooltip="true" data-placement="top" />
<label for="multiedit-checkall">
<input type="checkbox" name="multieditCheckAll" id="multiedit-checkall" title="$T('Glitter-checkAll')" data-bind="click: queue.checkAllJobs" data-tooltip="true" data-placement="top" />
</label>
<a href="#" class="hover-button" title="$T('removeNZB-Files')" data-bind="click: queue.doMultiDelete" data-tooltip="true" data-placement="top">
<a href="#" class="hover-button" data-bind="click: queue.doMultiDelete">
<span class="glyphicon glyphicon-trash"></span>
</a>
</div>

View File

@@ -67,7 +67,6 @@
glitterTranslate.fetch = "$T('Glitter-fetch')";
glitterTranslate.checking = "$T('post-Checking')";
glitterTranslate.misingArt = "$T('missingArt')";
glitterTranslate.fetchingURL = "$T('Glitter-addFromURL')"
glitterTranslate.chooseFile = "$T('Glitter-chooseFile')";
glitterTranslate.orphanedJobsMsg = "$T('explain-orphans')";
glitterTranslate.useCache = "$T('explain-cache_limitstr').replace("64M", "256M").replace("128M", "512M")";
@@ -97,7 +96,6 @@
glitterTranslate.status['Unpack'] = "$T('stage-unpack')";
glitterTranslate.status['Deobfuscate'] = "$T('stage-deobfuscate')";
glitterTranslate.status['Script'] = "$T('stage-script')";
glitterTranslate.status['RSS'] = "$T('stage-rss')";
glitterTranslate.status['Source'] = "$T('stage-source')";
glitterTranslate.status['Servers'] = "$T('stage-servers')";
glitterTranslate.status['INFO'] = "$T('log-info')".replace('+', '').toUpperCase();
@@ -147,10 +145,10 @@
<a href="#queue-tab" data-toggle="tab">$T('menu-queue') <span class="badge" data-bind="text: queue.totalItems"></span></a>
</li>
<li>
<a href="#history-tab" data-toggle="tab">$T('menu-history') <span class="badge badge-info" data-bind="text: history.ppItems, visible: history.ppItems"></span><span class="badge" data-bind="text: history.totalItems"></span></a>
<a href="#history-tab" data-toggle="tab">$T('menu-history')<span class="badge" data-bind="text: history.totalItems"></span></a>
</li>
<li>
<a href="#queue-messages" data-toggle="tab">$T('warnings') <span class="badge" data-bind="text: hasMessages, css: { 'badge-warning': hasMessages() }"></span></a>
<a href="#queue-messages" data-toggle="tab">$T('warnings')<span class="badge" data-bind="text: hasMessages, css: { 'badge-warning': hasMessages() }"></span></a>
</li>
</ul>
</div>

View File

@@ -58,11 +58,11 @@ function convertHTMLtoText(htmltxt) {
// Function to re-write 0:09:21=>9:21, 0:10:10=>10:10, 0:00:30=>0:30
function rewriteTime(timeString) {
// Remove "0:0" from start
if(timeString.substring(0,3) === '0:0') {
if(timeString.substring(0,3) == '0:0') {
timeString = timeString.substring(3)
}
// Remove "0:" from start
else if(timeString.substring(0,2) === '0:') {
else if(timeString.substring(0,2) == '0:') {
timeString = timeString.substring(2)
}
return timeString
@@ -71,13 +71,13 @@ function rewriteTime(timeString) {
// How to display the date-time?
function displayDateTime(inDate, outFormat, inFormat) {
// What input?
if(inDate === '') {
if(inDate == '') {
var theMoment = moment()
} else {
var theMoment = moment.utc(inDate, inFormat)
}
// Special format or regular format?
if(outFormat === 'fromNow') {
if(outFormat == 'fromNow') {
return theMoment.fromNow()
} else {
return theMoment.local().format(outFormat)
@@ -155,7 +155,7 @@ function setCheckAllState(checkSelector, rangeSelector) {
var nrChecks = allChecks.filter(":checked");
if(nrChecks.length === 0) {
$(checkSelector).prop({'checked': false, 'indeterminate': false})
} else if(nrChecks.length === allChecks.length) {
} else if(nrChecks.length == allChecks.length) {
$(checkSelector).prop({'checked': true, 'indeterminate': false})
} else {
$(checkSelector).prop({'checked': false, 'indeterminate': true})

View File

@@ -57,7 +57,7 @@ function Fileslisting(parent) {
$.each(response.files, function(index, slot) {
// Existing or updating?
var existingItem = ko.utils.arrayFirst(self.fileItems(), function(i) {
return i.nzf_id() === slot.nzf_id;
return i.nzf_id() == slot.nzf_id;
});
if(existingItem) {
@@ -76,7 +76,7 @@ function Fileslisting(parent) {
}
// Check if we show/hide completed
if(localStorageGetItem('showCompletedFiles') === 'No') {
if(localStorageGetItem('showCompletedFiles') == 'No') {
$('.item-files-table tr.files-done').hide();
$('#filelist-showcompleted').removeClass('hover-button')
}
@@ -217,8 +217,8 @@ function FileslistingModel(parent, data) {
self.nzf_id = ko.observable(data.nzf_id);
self.file_age = ko.observable(data.age);
self.mb = ko.observable(data.mb);
self.canselect = ko.observable(data.status !== "finished" && data.status !== "queued");
self.isdone = ko.observable(data.status === "finished");
self.canselect = ko.observable(data.status != "finished" && data.status != "queued");
self.isdone = ko.observable(data.status == "finished");
self.percentage = ko.observable(self.isdone() ? fixPercentages(100) : fixPercentages((100 - (data.mbleft / data.mb * 100)).toFixed(0)));
// Update internally
@@ -227,8 +227,8 @@ function FileslistingModel(parent, data) {
self.nzf_id(data.nzf_id)
self.file_age(data.age)
self.mb(data.mb)
self.canselect(data.status !== "finished" && data.status !== "queued")
self.isdone(data.status === "finished")
self.canselect(data.status != "finished" && data.status != "queued")
self.isdone(data.status == "finished")
// Data is given in MB, would always show 0% for small files even if completed
self.percentage(self.isdone() ? fixPercentages(100) : fixPercentages((100 - (data.mbleft / data.mb * 100)).toFixed(0)))
}
@@ -266,7 +266,7 @@ function paginationModel(parent) {
// Return object for adding
return {
page: pageNr,
isCurrent: pageNr === self.currentPage(),
isCurrent: pageNr == self.currentPage(),
isDots: false,
onclick: function(data) {
self.moveToPage(data.page);
@@ -356,7 +356,7 @@ function paginationModel(parent) {
}
// Change of number of pages?
if(newNrPages !== self.nrPages()) {
if(newNrPages != self.nrPages()) {
// Update
self.nrPages(newNrPages);
}

View File

@@ -9,16 +9,11 @@ function HistoryListModel(parent) {
self.lastUpdate = 0;
self.historyItems = ko.observableArray([])
self.showFailed = ko.observable(false).extend({ persist: 'historyShowFailed' });
self.showArchive = ko.observable(false).extend({ persist: 'historyShowArchive' });
self.isLoading = ko.observable(false).extend({ rateLimit: 100 });
self.searchTerm = ko.observable('').extend({ rateLimit: { timeout: 400, method: "notifyWhenChangesStop" } });
self.paginationLimit = ko.observable(10).extend({ persist: 'historyPaginationLimit' });
self.totalItems = ko.observable(0);
self.deleteItems = ko.observableArray([]);
self.ppItems = ko.observable(0);
self.pagination = new paginationModel(self);
self.isMultiEditing = ko.observable(false).extend({ persist: 'historyIsMultiEditing' });
self.multiEditItems = ko.observableArray([]);
// Download history info
self.downloadedToday = ko.observable();
@@ -45,7 +40,7 @@ function HistoryListModel(parent) {
var newItems = [];
$.each(data.slots, function(index, slot) {
var existingItem = ko.utils.arrayFirst(self.historyItems(), function(i) {
return i.historyStatus.nzo_id() === slot.nzo_id;
return i.historyStatus.nzo_id() == slot.nzo_id;
});
// Set index in the results
slot.index = index
@@ -61,7 +56,7 @@ function HistoryListModel(parent) {
});
// Remove all items
if(itemIds.length === self.paginationLimit()) {
if(itemIds.length == self.paginationLimit()) {
// Replace it, so only 1 Knockout DOM-update!
self.historyItems(newItems);
newItems = [];
@@ -70,7 +65,7 @@ function HistoryListModel(parent) {
$.each(itemIds, function() {
var id = this.toString();
self.historyItems.remove(ko.utils.arrayFirst(self.historyItems(), function(i) {
return i.historyStatus.nzo_id() === id;
return i.historyStatus.nzo_id() == id;
}));
});
}
@@ -84,7 +79,7 @@ function HistoryListModel(parent) {
if(self.parent.queue.multiEditItems().length > 0) {
$.each(newItems, function() {
var currentItem = this;
self.parent.queue.multiEditItems.remove(function(inList) { return inList.id === currentItem.id; })
self.parent.queue.multiEditItems.remove(function(inList) { return inList.id == currentItem.nzo_id; })
})
}
}
@@ -98,7 +93,6 @@ function HistoryListModel(parent) {
History information
***/
self.totalItems(data.noofslots);
self.ppItems(data.ppslots)
self.downloadedToday(data.day_size);
self.downloadedWeek(data.week_size);
self.downloadedMonth(data.month_size);
@@ -120,27 +114,6 @@ function HistoryListModel(parent) {
self.parent.refresh(true)
});
self.triggerRemoveDownload = function(items) {
// Show and fill modal
self.deleteItems.removeAll()
// Single or multiple items?
if(items.length) {
ko.utils.arrayPushAll(self.deleteItems, items)
} else {
self.deleteItems.push(items)
}
// Show modal or delete right away
if(self.parent.confirmDeleteHistory()) {
// Open modal if desired
$('#modal-delete-history-job').modal("show")
} else {
// Otherwise just submit right away
$('#modal-delete-history-job form').submit()
}
}
// Retry a job
self.retryJob = function(form) {
// Adding a extra retry file happens through this special function
@@ -171,7 +144,7 @@ function HistoryListModel(parent) {
// Searching in history (rate-limited in declaration)
self.searchTerm.subscribe(function() {
// Go back to page 1
if(self.pagination.currentPage() !== 1) {
if(self.pagination.currentPage() != 1) {
// This forces a refresh
self.pagination.moveToPage(1);
} else {
@@ -183,13 +156,13 @@ function HistoryListModel(parent) {
// Clear searchterm
self.clearSearchTerm = function(data, event) {
// Was it escape key or click?
if(event.type === 'mousedown' || (event.keyCode && event.keyCode === 27)) {
if(event.type == 'mousedown' || (event.keyCode && event.keyCode == 27)) {
// Set the loader so it doesn't flicker and then switch
self.isLoading(true)
self.searchTerm('');
}
// Was it click and the field is empty? Then we focus on the field
if(event.type === 'mousedown' && self.searchTerm() === '') {
if(event.type == 'mousedown' && self.searchTerm() == '') {
$(event.target).parents('.search-box').find('input[type="text"]').focus()
return;
}
@@ -199,17 +172,10 @@ function HistoryListModel(parent) {
// Toggle showing failed
self.toggleShowFailed = function(data, event) {
// Set the loader so it doesn't flicker and then switch
self.isLoading(true)
self.showFailed(!self.showFailed())
// Force hide tooltip so it doesn't linger
$('#history-options a').tooltip('hide')
// Force refresh
self.parent.refresh(true)
}
// Toggle showing archive
self.toggleShowArchive = function(data, event) {
self.showArchive(!self.showArchive())
// Force hide tooltip so it doesn't linger
// Forde hide tooltip so it doesn't linger
$('#history-options a').tooltip('hide')
// Force refresh
self.parent.refresh(true)
@@ -231,34 +197,36 @@ function HistoryListModel(parent) {
// Empty history options
self.emptyHistory = function(data, event) {
// Make sure no flickering
self.isLoading(true)
// What event?
var whatToRemove = $(event.target).data('action');
var skipArchive = $('#modal-purge-history input[type="checkbox"]').prop("checked")
var del_files, value;
// Purge failed
if(whatToRemove === 'history-purge-failed') {
if(whatToRemove == 'history-purge-failed') {
del_files = 0;
value = 'failed';
}
// Also remove files
if(whatToRemove === 'history-purgeremove-failed') {
if(whatToRemove == 'history-purgeremove-failed') {
del_files = 1;
value = 'failed';
}
// Remove completed
if(whatToRemove === 'history-purge-completed') {
if(whatToRemove == 'history-purge-completed') {
del_files = 0;
value = 'completed';
}
// Remove the ones on this page
if(whatToRemove === 'history-purge-page') {
if(whatToRemove == 'history-purge-page') {
// List all the ID's
var strIDs = '';
$.each(self.historyItems(), function(index) {
// Only append when it's a download that can be deleted
if(!this.processingDownload() && !this.processingWaiting()) {
strIDs = strIDs + this.id + ',';
strIDs = strIDs + this.nzo_id + ',';
}
})
// Send the command
@@ -266,7 +234,6 @@ function HistoryListModel(parent) {
mode: 'history',
name: 'delete',
del_files: 1,
archive: (!skipArchive) * 1,
value: strIDs
}).then(function() {
// Clear search, refresh and hide
@@ -281,157 +248,13 @@ function HistoryListModel(parent) {
callAPI({
mode: 'history',
name: 'delete',
del_files: del_files,
archive: (!skipArchive) * 1,
value: value
value: value,
del_files: del_files
}).then(function() {
self.parent.refresh();
$("#modal-purge-history").modal('hide');
});
};
// Show the input checkbox
self.showMultiEdit = function() {
self.isMultiEditing(!self.isMultiEditing())
self.multiEditItems.removeAll();
$('.history-table input[name="multiedit"], #multiedit-checkall-history').prop({'checked': false, 'indeterminate': false})
}
// Add to the list
self.addMultiEdit = function(item, event) {
// Is it a shift-click?
if(event.shiftKey) {
checkShiftRange('.history-table input[name="multiedit"]');
}
// Add or remove from the list?
if(event.currentTarget.checked) {
// Add item
self.multiEditItems.push(item);
} else {
// Go over them all to know which one to remove
self.multiEditItems.remove(function(inList) { return inList.id == item.id; })
}
// Update check-all buton state
setCheckAllState('#multiedit-checkall-history', '.history-table input[name="multiedit"]')
return true;
}
// Check all
self.checkAllJobs = function(item, event) {
// Get which ones we care about
var allChecks = $('.history-table input[name="multiedit"]').filter(':not(:disabled):visible');
// We need to re-evaltuate the state of this check-all
// Otherwise the 'inderterminate' will be overwritten by the click event!
setCheckAllState('#multiedit-checkall-history', '.history-table input[name="multiedit"]')
// Now we can check what happend
// For when some are checked, or all are checked (but not partly)
if(event.target.indeterminate || (event.target.checked && !event.target.indeterminate)) {
var allActive = allChecks.filter(":checked")
// First remove the from the list
if(allActive.length == self.multiEditItems().length) {
// Just remove all
self.multiEditItems.removeAll();
// Remove the check
allActive.prop('checked', false)
} else {
// Remove them seperate
allActive.each(function() {
// Go over them all to know which one to remove
var item = ko.dataFor(this)
self.multiEditItems.remove(function(inList) { return inList.id == item.id; })
// Remove the check of this one
this.checked = false;
})
}
} else {
// None are checked, so check and add them all
allChecks.prop('checked', true)
allChecks.each(function() { self.multiEditItems.push(ko.dataFor(this)) })
event.target.checked = true
}
// Set state of all the check-all's
setCheckAllState('#multiedit-checkall-history', '.history-table input[name="multiedit"]')
return true;
}
// Remove downloads from history
self.removeDownloads = function(form) {
// Hide modal and show notification
$('#modal-delete-history-job').modal("hide")
showNotification('.main-notification-box-removing')
var strIDsPP = '';
var strIDsHistory = '';
$.each(self.deleteItems(), function(index) {
// Split in jobs that need post-processing aborted, and jobs that need to be deleted
if(this.processingDownload() === 2) {
strIDsPP = strIDsPP + this.id + ',';
// These items should not be listed in the deletedItems later on
// as active post-processing aren't removed from the history output
self.deleteItems.remove(this)
} else {
strIDsHistory = strIDsHistory + this.id + ',';
}
})
// Trigger post-processing aborting
if(strIDsPP !== "") {
callAPI({
mode: 'cancel_pp',
value: strIDsPP
}).then(function(response) {
// Only hide and refresh
self.parent.refresh();
hideNotification()
});
}
if(strIDsHistory !== "") {
var skipArchive = $('#modal-delete-history-job input[type="checkbox"]').prop("checked")
callAPI({
mode: 'history',
name: 'delete',
del_files: 1,
archive: (!skipArchive) * 1,
value: strIDsHistory
}).then(function(response) {
self.historyItems.removeAll(self.deleteItems());
self.multiEditItems.removeAll(self.deleteItems())
self.parent.refresh();
hideNotification()
});
}
};
// Delete all selected
self.doMultiDelete = function() {
// Anything selected?
if(self.multiEditItems().length < 1) return;
// Trigger modal
self.triggerRemoveDownload(self.multiEditItems())
}
// Focus on the confirm button
$('#modal-delete-history-job').on("shown.bs.modal", function() {
$('#modal-delete-history-job .btn[type="submit"]').focus()
})
// On change of page we need to check all those that were in the list!
self.historyItems.subscribe(function() {
// We need to wait until the unit is actually finished rendering
setTimeout(function() {
$.each(self.multiEditItems(), function(index) {
$('#multiedit_' + this.id).prop('checked', true);
})
// Update check-all buton state
setCheckAllState('#multiedit-checkall-history', '.history-table input[name="multiedit"]')
}, 100)
}, null, "arrayChange")
}
/**
@@ -445,7 +268,7 @@ function HistoryModel(parent, data) {
// If we update the full set every time it uses lot of CPU
// The Status/Actionline/scriptline/completed we do update every time
// When clicked on the more-info button we load the rest again
self.id = data.nzo_id;
self.nzo_id = data.nzo_id;
self.index = data.index;
self.updateAllHistory = false;
self.hasDropdown = ko.observable(false);
@@ -482,14 +305,14 @@ function HistoryModel(parent, data) {
// Waiting?
self.processingWaiting = ko.pureComputed(function() {
return(self.status() === 'Queued')
return(self.status() == 'Queued')
})
// Processing or done?
self.processingDownload = ko.pureComputed(function() {
var status = self.status();
// When we can cancel
if (status === 'Extracting' || status === 'Verifying' || status === 'Repairing' || status === 'Running') {
if (status === 'Extracting' || status === 'Verifying' || status == 'Repairing' || status === 'Running') {
return 2
}
// These cannot be cancelled
@@ -523,7 +346,7 @@ function HistoryModel(parent, data) {
try {
// Extract the Download section
var downloadLog = ko.utils.arrayFirst(self.historyStatus.stage_log(), function(item) {
return item.name() === 'Download'
return item.name() == 'Download'
});
// Extract the speed
return downloadLog.actions()[0].match(/(\S*\s\S+)(?=<br\/>)/)[0]
@@ -532,7 +355,7 @@ function HistoryModel(parent, data) {
return;
case 'category':
// Exception for *
if(self.historyStatus.category() === "*")
if(self.historyStatus.category() == "*")
return glitterTranslate.defaultText
return self.historyStatus.category();
case 'size':
@@ -554,7 +377,7 @@ function HistoryModel(parent, data) {
// Re-try button
self.retry = function() {
// Set JOB-id
$('#modal-retry-job input[name="retry_job_id"]').val(self.id)
$('#modal-retry-job input[name="retry_job_id"]').val(self.nzo_id)
// Set password
$('#retry_job_password').val(self.historyStatus.password())
// Open modal
@@ -597,4 +420,35 @@ function HistoryModel(parent, data) {
return false;
})
}
// Delete button
self.deleteSlot = function(item, event) {
// Confirm?
if(!self.parent.parent.confirmDeleteHistory() || confirm(glitterTranslate.deleteMsg + ":\n" + item.historyStatus.name() + "\n\n" + glitterTranslate.removeDow1)) {
// Are we still processing and it can be stopped?
if(item.processingDownload() == 2) {
callAPI({
mode: 'cancel_pp',
value: self.nzo_id
})
// All we can do is wait
} else {
// Delete the item
callAPI({
mode: 'history',
name: 'delete',
del_files: 1,
value: self.nzo_id
}).then(function(response) {
if(response.status) {
// Make sure no flickering (if there are more items left) and then remove
self.parent.isLoading(self.parent.totalItems() > 1)
self.parent.historyItems.remove(self);
self.parent.parent.refresh();
}
});
}
}
};
}

View File

@@ -90,7 +90,7 @@ function ViewModel() {
var speedLimitNumber = Math.round(speedLimitNumberFull * 10) / 10;
// Fix it for lower than 1MB/s
if (bandwithLimitText === 'M' && speedLimitNumber < 1) {
if (bandwithLimitText == 'M' && speedLimitNumber < 1) {
bandwithLimitText = 'K';
speedLimitNumber = Math.round(speedLimitNumberFull * 1024);
}
@@ -120,7 +120,8 @@ function ViewModel() {
// Dynamic history length check
self.hasHistory = ko.pureComputed(function() {
return (self.history.historyItems().length > 0 || self.history.searchTerm() || self.history.isLoading())
// We also 'have history' if we can't find any results of the search or there are no failed ones
return (self.history.historyItems().length > 0 || self.history.searchTerm() || self.history.showFailed() || self.history.isLoading())
})
self.hasWarnings = ko.pureComputed(function() {
@@ -149,7 +150,7 @@ function ViewModel() {
/***
Possible login failure?
***/
if (response.hasOwnProperty('error') && response.error === 'Missing authentication') {
if (response.hasOwnProperty('error') && response.error == 'Missing authentication') {
// Restart
document.location = document.location;
}
@@ -170,7 +171,7 @@ function ViewModel() {
self.diskSpaceLeft1(response.queue.diskspace1_norm)
// Same sizes? Then it's all 1 disk!
if (response.queue.diskspace1 !== response.queue.diskspace2) {
if (response.queue.diskspace1 != response.queue.diskspace2) {
self.diskSpaceLeft2(response.queue.diskspace2_norm)
} else {
self.diskSpaceLeft2('')
@@ -195,7 +196,7 @@ function ViewModel() {
Spark line
***/
// Break the speed if empty queue
if (response.queue.sizeleft === '0 B') {
if (response.queue.sizeleft == '0 B') {
response.queue.kbpersec = 0;
response.queue.speed = '0';
}
@@ -214,9 +215,9 @@ function ViewModel() {
self.speedHistory.push(parseInt(response.queue.kbpersec));
// Is sparkline visible? Not on small mobile devices..
if ($('.sparkline-container').css('display') !== 'none') {
if ($('.sparkline-container').css('display') != 'none') {
// Make sparkline
if (self.speedHistory.length === 1) {
if (self.speedHistory.length == 1) {
// We only use speedhistory from SAB if we use global settings
// Otherwise SAB doesn't know the refresh rate
if (!self.useGlobalOptions()) {
@@ -251,7 +252,7 @@ function ViewModel() {
Speedlimit
***/
// Nothing or 0 means 100%
if(response.queue.speedlimit === '' || response.queue.speedlimit === '0') {
if(response.queue.speedlimit == '' || response.queue.speedlimit == '0') {
self.speedLimitInt(100)
} else {
self.speedLimitInt(parseInt(response.queue.speedlimit));
@@ -274,7 +275,7 @@ function ViewModel() {
// Paused main queue
if (self.downloadsPaused()) {
if (response.queue.pause_int === '0') {
if (response.queue.pause_int == '0') {
timeString = glitterTranslate.paused;
} else {
var pauseSplit = response.queue.pause_int.split(/:/);
@@ -337,13 +338,13 @@ function ViewModel() {
limit: parseInt(self.queue.paginationLimit())
}
if (self.queue.searchTerm()) {
parseSearchQuery(api_call, self.queue.searchTerm(), ["cat", "category", "priority", "status"])
parseSearchQuery(api_call, self.queue.searchTerm(), ["cat", "category", "priority"])
}
var queueApi = callAPI(api_call)
.done(self.updateQueue)
.fail(function(response) {
// Catch the failure of authorization error
if (response.status === 401) {
if (response.status == 401) {
// Stop refresh and reload
clearInterval(self.interval)
location.reload();
@@ -363,11 +364,10 @@ function ViewModel() {
failed_only: self.history.showFailed() * 1,
start: self.history.pagination.currentStart(),
limit: parseInt(self.history.paginationLimit()),
archive: self.history.showArchive() * 1,
last_history_update: self.history.lastUpdate
}
if (self.history.searchTerm()) {
parseSearchQuery(history_call, self.history.searchTerm(), ["cat", "category", "status"])
parseSearchQuery(history_call, self.history.searchTerm(), ["cat", "category"])
}
// History
@@ -394,9 +394,10 @@ function ViewModel() {
api_request[keyword] = parsed_query[keyword]
}
// Special case for priority, dirty replace of string by numeric value
if (keyword === "priority" && api_request["priority"]) {
if (keyword == "priority" && api_request["priority"]) {
for (const prio_name in self.queue.priorityName) {
api_request["priority"] = api_request["priority"].replace(prio_name, self.queue.priorityName[prio_name])
}
}
}
@@ -431,16 +432,18 @@ function ViewModel() {
return;
}
// Show modal
$('#modal-custom-pause').modal('show')
}
$('#modal_custom_pause').modal('show')
// Focus on the input field
$('#modal_custom_pause').on('shown.bs.modal', function() {
$('#customPauseInput').focus()
})
$('#modal-custom-pause').on('shown.bs.modal', function() {
// Focus on the input field when opening the modal
$('#customPauseInput').focus()
}).on('hide.bs.modal', function() {
// Reset on modal close
self.pauseCustom('');
})
$('#modal_custom_pause').on('hide.bs.modal', function() {
self.pauseCustom('');
})
}
// Update on changes
self.pauseCustom.subscribe(function(newValue) {
@@ -453,7 +456,7 @@ function ViewModel() {
// At least 3 charaters
if (newValue.length < 3) {
$('#customPauseOutput').text('').data('time', 0)
$('#modal-custom-pause .btn-default').addClass('disabled')
$('#modal_custom_pause .btn-default').addClass('disabled')
return;
}
@@ -478,11 +481,11 @@ function ViewModel() {
var pauseDuration = Math.round((pauseParsed - Date.parse('now')) / 1000 / 60);
$('#customPauseOutput').html('<span class="glyphicon glyphicon-pause"></span> ' + glitterTranslate.pauseFor + ' ' + pauseDuration + ' ' + glitterTranslate.minutes)
$('#customPauseOutput').data('time', pauseDuration)
$('#modal-custom-pause .btn-default').removeClass('disabled')
$('#modal_custom_pause .btn-default').removeClass('disabled')
} else if (newValue) {
// No..
$('#customPauseOutput').text(glitterTranslate.pausePromptFail)
$('#modal-custom-pause .btn-default').addClass('disabled')
$('#modal_custom_pause .btn-default').addClass('disabled')
}
})
@@ -501,7 +504,7 @@ function ViewModel() {
// Refresh and close the modal
self.refresh()
self.downloadsPaused(true);
$('#modal-custom-pause').modal('hide')
$('#modal_custom_pause').modal('hide')
});
}
}
@@ -509,7 +512,7 @@ function ViewModel() {
// Update the warnings
self.nrWarnings.subscribe(function(newValue) {
// Really any change?
if (newValue === self.allWarnings().length) return;
if (newValue == self.allWarnings().length) return;
// Get all warnings
callAPI({
@@ -531,7 +534,7 @@ function ViewModel() {
type: glitterTranslate.status[warning.type].slice(0, -1),
text: convertHTMLtoText(warning.text).replace(/ /g, '\u00A0').replace(/(?:\r\n|\r|\n)/g, '<br />'),
timestamp: warning.time,
css: (warning.type === "ERROR" ? "danger" : warning.type === "WARNING" ? "warning" : "info"),
css: (warning.type == "ERROR" ? "danger" : warning.type == "WARNING" ? "warning" : "info"),
clear: self.clearWarnings
};
self.allWarnings.push(warningData)
@@ -551,7 +554,7 @@ function ViewModel() {
// Clear messages
self.clearMessages = function(whatToRemove) {
// Remove specifc type of messages
self.allMessages.remove(function(item) { return item.index === whatToRemove });
self.allMessages.remove(function(item) { return item.index == whatToRemove });
// Now so we don't show again today
localStorageSetItem(whatToRemove, Date.now())
}
@@ -562,7 +565,7 @@ function ViewModel() {
if (!self.speedLimitInt()) return;
// Update
if (self.speedLimitInt() !== newValue) {
if (self.speedLimitInt() != newValue) {
callAPI({
mode: "config",
name: "speedlimit",
@@ -635,17 +638,11 @@ function ViewModel() {
return false;
}
// Disable the buttons to prevent multiple uploads
let submit_buttons = $(form).find("input[type='submit']")
submit_buttons.attr("disabled", true)
// Upload file using the method we also use for drag-and-drop
if ($(form.nzbFile)[0].files[0]) {
self.addNZBFromFile($(form.nzbFile)[0].files);
// Hide modal, upload will reset the form
$("#modal-add-nzb").modal("hide");
// Re-enable the buttons
submit_buttons.attr("disabled", false)
} else if ($(form.nzbURL).val()) {
// Or add URL
var theCall = {
@@ -653,12 +650,15 @@ function ViewModel() {
name: $(form.nzbURL).val(),
nzbname: $('#nzbname').val(),
password: $('#password').val(),
cat: $('#modal-add-nzb select[name="Category"]').val(),
priority: $('#modal-add-nzb select[name="Priority"]').val(),
pp: $('#modal-add-nzb select[name="Processing"]').val(),
script: $('#modal-add-nzb select[name="Post-processing"]').val(),
priority: $('#modal-add-nzb select[name="Priority"]').val(),
pp: $('#modal-add-nzb select[name="Processing"]').val()
}
// Optional, otherwise they get mis-labeled if left empty
if ($('#modal-add-nzb select[name="Category"]').val() != '*') theCall.cat = $('#modal-add-nzb select[name="Category"]').val()
if ($('#modal-add-nzb select[name="Processing"]').val()) theCall.pp = $('#modal-add-nzb select[name="Category"]').val()
// Add
callAPI(theCall).then(function(r) {
// Hide and reset/refresh
@@ -666,7 +666,6 @@ function ViewModel() {
$("#modal-add-nzb").modal("hide");
form.reset()
$('#nzbname').val('')
submit_buttons.attr("disabled", false)
});
}
}
@@ -686,7 +685,7 @@ function ViewModel() {
fileindex++
// Check if it's maybe a folder, we can't handle those
if (!file.type && file.size % 4096 === 0) return;
if (!file.type && file.size % 4096 == 0) return;
// Add notification
showNotification('.main-notification-box-uploading', 0, fileindex)
@@ -697,14 +696,15 @@ function ViewModel() {
data.append("mode", "addfile");
data.append("nzbname", $('#nzbname').val());
data.append("password", $('#password').val());
data.append("cat", $('#modal-add-nzb select[name="Category"]').val())
data.append("priority", $('#modal-add-nzb select[name="Priority"]').val())
data.append("pp", $('#modal-add-nzb select[name="Processing"]').val())
data.append("script", $('#modal-add-nzb select[name="Post-processing"]').val())
data.append("priority", $('#modal-add-nzb select[name="Priority"]').val())
data.append("apikey", apiKey);
// Optional, otherwise they get mis-labeled if left empty
if ($('#modal-add-nzb select[name="Category"]').val() != '*') data.append("cat", $('#modal-add-nzb select[name="Category"]').val());
if ($('#modal-add-nzb select[name="Processing"]').val()) data.append("pp", $('#modal-add-nzb select[name="Processing"]').val());
// Add this one
debugger
$.ajax({
url: "./api",
type: "POST",
@@ -733,10 +733,10 @@ function ViewModel() {
// Load status info
self.loadStatusInfo = function(item, event) {
// Full refresh? Only on click and for the status-screen
var statusFullRefresh = (event !== undefined) && $('#options-status').hasClass('active');
var statusFullRefresh = (event != undefined) && $('#options-status').hasClass('active');
// Measure performance? Takes a while
var statusPerformance = (event !== undefined) && $(event.currentTarget).hasClass('diskspeed-button');
var statusPerformance = (event != undefined) && $(event.currentTarget).hasClass('diskspeed-button');
// Make it spin if the user requested it otherwise we don't,
// because browsers use a lot of CPU for the animation
@@ -776,7 +776,43 @@ function ViewModel() {
}
// Update the servers
ko.mapping.fromJS(data.status.servers, {}, self.statusInfo.servers)
if (self.statusInfo.servers().length != data.status.servers.length) {
// Empty them, in case of update
self.statusInfo.servers([])
// Initial add
$.each(data.status.servers, function() {
self.statusInfo.servers.push({
'servername': ko.observable(this.servername),
'serveroptional': ko.observable(this.serveroptional),
'serverpriority': ko.observable(this.serverpriority),
'servertotalconn': ko.observable(this.servertotalconn),
'serverssl': ko.observable(this.serverssl),
'serversslinfo': ko.observable(this.serversslinfo),
'serveractiveconn': ko.observable(this.serveractiveconn),
'servererror': ko.observable(this.servererror),
'serveractive': ko.observable(this.serveractive),
'serverconnections': ko.observableArray(this.serverconnections),
'serverbps': ko.observable(this.serverbps)
})
})
} else {
// Update
$.each(data.status.servers, function(index) {
var activeServer = self.statusInfo.servers()[index];
activeServer.servername(this.servername),
activeServer.serveroptional(this.serveroptional),
activeServer.serverpriority(this.serverpriority),
activeServer.servertotalconn(this.servertotalconn),
activeServer.serverssl(this.serverssl),
activeServer.serversslinfo(this.serversslinfo),
activeServer.serveractiveconn(this.serveractiveconn),
activeServer.servererror(this.servererror),
activeServer.serveractive(this.serveractive),
activeServer.serverconnections(this.serverconnections),
activeServer.serverbps(this.serverbps)
})
}
// Add tooltips to possible new items
if (!isMobile) $('#modal-options [data-tooltip="true"]').tooltip({ trigger: 'hover', container: 'body' })
@@ -792,7 +828,7 @@ function ViewModel() {
var nzbSize = $(event.target).data('size')
// Maybe it was a click on the icon?
if (nzbSize === undefined) {
if (nzbSize == undefined) {
nzbSize = $(event.target.parentElement).data('size')
}
@@ -874,7 +910,7 @@ function ViewModel() {
$('#options-orphans [data-tooltip="true"]').tooltip('hide')
// Show notification on delete
if ($(htmlElement.currentTarget).data('action') === 'delete_orphan') {
if ($(htmlElement.currentTarget).data('action') == 'delete_orphan') {
showNotification('.main-notification-box-removing', 1000)
} else {
// Adding back to queue
@@ -1088,7 +1124,7 @@ function ViewModel() {
// Reformat and set categories
self.queue.categoriesList($.map(response.config.categories, function(cat) {
// Default?
if(cat.name === '*') return { catValue: '*', catText: glitterTranslate.defaultText };
if(cat.name == '*') return { catValue: '*', catText: glitterTranslate.defaultText };
return { catValue: cat.name, catText: cat.name };
}))
@@ -1100,10 +1136,14 @@ function ViewModel() {
// Reformat script-list
self.queue.scriptsList($.map(script_response.scripts, function(script) {
// None?
if(script === 'None') return { scriptValue: 'None', scriptText: glitterTranslate.noneText };
if(script == 'None') return { scriptValue: 'None', scriptText: glitterTranslate.noneText };
return { scriptValue: script, scriptText: script };
}))
self.queue.scriptsListLoaded(true)
})
} else {
// We can already continue
self.queue.scriptsListLoaded(true)
}
@@ -1180,7 +1220,7 @@ function ViewModel() {
// Orphaned folders? If user clicked away we check again in 5 days
if (self.statusInfo.folders().length >= 3 && orphanMsg) {
// Check if not already there
if (!ko.utils.arrayFirst(self.allMessages(), function(item) { return item.index === 'OrphanedMsg' })) {
if (!ko.utils.arrayFirst(self.allMessages(), function(item) { return item.index == 'OrphanedMsg' })) {
self.allMessages.push({
index: 'OrphanedMsg',
type: glitterTranslate.status['INFO'],
@@ -1192,7 +1232,7 @@ function ViewModel() {
} else {
// Remove any message, if it was there
self.allMessages.remove(function(item) {
return item.index === 'OrphanedMsg';
return item.index == 'OrphanedMsg';
})
}
})

View File

@@ -32,12 +32,12 @@ function QueueListModel(parent) {
// External var's
self.queueItems = ko.observableArray([]);
self.totalItems = ko.observable(0);
self.deleteItems = ko.observableArray([]);
self.isMultiEditing = ko.observable(false).extend({ persist: 'queueIsMultiEditing' });
self.isLoading = ko.observable(false).extend({ rateLimit: 100 });
self.multiEditItems = ko.observableArray([]);
self.categoriesList = ko.observableArray([]);
self.scriptsList = ko.observableArray([]);
self.scriptsListLoaded = ko.observable(false);
self.searchTerm = ko.observable('').extend({ rateLimit: { timeout: 400, method: "notifyWhenChangesStop" } });
self.paginationLimit = ko.observable(20).extend({ persist: 'queuePaginationLimit' });
self.pagination = new paginationModel(self);
@@ -75,7 +75,7 @@ function QueueListModel(parent) {
$.each(data.slots, function() {
var item = this;
var existingItem = ko.utils.arrayFirst(self.queueItems(), function(i) {
return i.id === item.nzo_id;
return i.id == item.nzo_id;
});
if(existingItem) {
@@ -88,7 +88,7 @@ function QueueListModel(parent) {
});
// Remove all items if there's any
if(itemIds.length === self.paginationLimit()) {
if(itemIds.length == self.paginationLimit()) {
// Replace it, so only 1 Knockout DOM-update!
self.queueItems(newItems);
newItems = [];
@@ -97,7 +97,7 @@ function QueueListModel(parent) {
$.each(itemIds, function() {
var id = this.toString();
self.queueItems.remove(ko.utils.arrayFirst(self.queueItems(), function(i) {
return i.id === id;
return i.id == id;
}));
});
}
@@ -148,27 +148,6 @@ function QueueListModel(parent) {
}
self.triggerRemoveDownload = function(items) {
// Show and fill modal
self.deleteItems.removeAll()
// Single or multiple items?
if(items.length) {
ko.utils.arrayPushAll(self.deleteItems, items)
} else {
self.deleteItems.push(items)
}
// Show modal or delete right away
if(self.parent.confirmDeleteQueue()) {
// Open modal if desired
$('#modal-delete-queue-job').modal("show")
} else {
// Otherwise just submit right away
$('#modal-delete-queue-job form').submit()
}
}
// Save pagination state
self.paginationLimit.subscribe(function(newValue) {
// Save in config if global
@@ -192,7 +171,7 @@ function QueueListModel(parent) {
// Searching in queue (rate-limited in decleration)
self.searchTerm.subscribe(function() {
// Go back to page 1
if(self.pagination.currentPage() !== 1) {
if(self.pagination.currentPage() != 1) {
// This forces a refresh
self.pagination.moveToPage(1);
} else {
@@ -204,12 +183,12 @@ function QueueListModel(parent) {
// Clear searchterm
self.clearSearchTerm = function(data, event) {
// Was it escape key or click?
if(event.type === 'mousedown' || (event.keyCode && event.keyCode === 27)) {
if(event.type == 'mousedown' || (event.keyCode && event.keyCode == 27)) {
self.isLoading(true)
self.searchTerm('');
}
// Was it click and the field is empty? Then we focus on the field
if(event.type === 'mousedown' && self.searchTerm() === '') {
if(event.type == 'mousedown' && self.searchTerm() == '') {
$(event.target).parents('.search-box').find('input[type="text"]').focus()
return;
}
@@ -276,7 +255,7 @@ function QueueListModel(parent) {
// Reset form and remove all checked ones
$form[0].reset();
self.multiEditItems.removeAll();
$('.queue-table input[name="multiedit"], #multiedit-checkall-queue').prop({'checked': false, 'indeterminate': false})
$('.delete input[name="multiedit"], #multiedit-checkall').prop({'checked': false, 'indeterminate': false})
// Is the multi-edit in view?
if(($form.offset().top + $form.outerHeight(true)) > ($(window).scrollTop()+$(window).height())) {
@@ -306,7 +285,7 @@ function QueueListModel(parent) {
}
// Update check-all buton state
setCheckAllState('#multiedit-checkall-queue', '.queue-table input[name="multiedit"]')
setCheckAllState('#multiedit-checkall', '.queue-table input[name="multiedit"]')
return true;
}
@@ -317,7 +296,7 @@ function QueueListModel(parent) {
// We need to re-evaltuate the state of this check-all
// Otherwise the 'inderterminate' will be overwritten by the click event!
setCheckAllState('#multiedit-checkall-queue', '.queue-table input[name="multiedit"]')
setCheckAllState('#multiedit-checkall', '.queue-table input[name="multiedit"]')
// Now we can check what happend
// For when some are checked, or all are checked (but not partly)
@@ -349,7 +328,7 @@ function QueueListModel(parent) {
self.doMultiEditUpdate()
}
// Set state of all the check-all's
setCheckAllState('#multiedit-checkall-queue', '.queue-table input[name="multiedit"]')
setCheckAllState('#multiedit-checkall', '.queue-table input[name="multiedit"]')
return true;
}
@@ -373,14 +352,14 @@ function QueueListModel(parent) {
// All non-category updates need to only happen after a category update
function nonCatUpdates() {
if(newScript !== '') {
if(newScript != '') {
callAPI({
mode: 'change_script',
value: strIDs,
value2: newScript
})
}
if(newPrior !== '') {
if(newPrior != '') {
callAPI({
mode: 'queue',
name: 'priority',
@@ -388,7 +367,7 @@ function QueueListModel(parent) {
value2: newPrior
})
}
if(newProc !== '') {
if(newProc != '') {
callAPI({
mode: 'change_opts',
value: strIDs,
@@ -405,13 +384,13 @@ function QueueListModel(parent) {
// Wat a little and do the refresh
// Only if anything changed!
if(newStatus || newProc !== '' || newPrior !== '' || newScript !== '' || newCat !== '') {
if(newStatus || newProc != '' || newPrior != '' || newScript != '' || newCat != '') {
setTimeout(parent.refresh, 100)
}
}
// What is changed?
if(newCat !== '') {
if(newCat != '') {
callAPI({
mode: 'change_cat',
value: strIDs,
@@ -423,43 +402,41 @@ function QueueListModel(parent) {
}
// Remove downloads from queue
self.removeDownloads = function(form) {
// Hide modal and show notification
$('#modal-delete-queue-job').modal("hide")
showNotification('.main-notification-box-removing')
var strIDs = '';
$.each(self.deleteItems(), function(index) {
strIDs = strIDs + this.id + ',';
})
callAPI({
mode: 'queue',
name: 'delete',
del_files: 1,
value: strIDs
}).then(function(response) {
self.queueItems.removeAll(self.deleteItems());
self.multiEditItems.removeAll(self.deleteItems())
self.parent.refresh();
hideNotification()
});
};
// Delete all selected
// Selete all selected
self.doMultiDelete = function() {
// Anything selected?
if(self.multiEditItems().length < 1) return;
// Trigger modal
self.triggerRemoveDownload(self.multiEditItems())
}
// Need confirm
if(!self.parent.confirmDeleteQueue() || confirm(glitterTranslate.removeDown)) {
// List all the ID's
var strIDs = '';
$.each(self.multiEditItems(), function(index) {
strIDs = strIDs + this.id + ',';
})
// Focus on the confirm button
$('#modal-delete-queue-job').on("shown.bs.modal", function() {
$('#modal-delete-queue-job .btn[type="submit"]').focus()
})
// Show notification
showNotification('.main-notification-box-removing-multiple', 0, self.multiEditItems().length)
// Remove
callAPI({
mode: 'queue',
name: 'delete',
del_files: 1,
value: strIDs
}).then(function(response) {
if(response.status) {
// Make sure the queue doesnt flicker and then fade-out
self.isLoading(true)
self.parent.refresh()
// Empty it
self.multiEditItems.removeAll();
// Hide notification
hideNotification()
}
})
}
}
// On change of page we need to check all those that were in the list!
self.queueItems.subscribe(function() {
@@ -470,7 +447,7 @@ function QueueListModel(parent) {
})
// Update check-all buton state
setCheckAllState('#multiedit-checkall-queue', '.queue-table input[name="multiedit"]')
setCheckAllState('#multiedit-checkall', '.queue-table input[name="multiedit"]')
}, 100)
}, null, "arrayChange")
}
@@ -490,8 +467,8 @@ function QueueModel(parent, data) {
self.index = ko.observable(data.index);
self.status = ko.observable(data.status);
self.labels = ko.observableArray(data.labels);
self.isGrabbing = ko.observable(data.status === 'Grabbing' || data.avg_age === '-')
self.isFetchingBlocks = data.status === 'Fetching' || data.priority === 'Repair' // No need to update
self.isGrabbing = ko.observable(data.status == 'Grabbing' || data.avg_age == '-')
self.isFetchingBlocks = data.status == 'Fetching' || data.priority == 'Repair' // No need to update
self.totalMB = ko.observable(parseFloat(data.mb));
self.remainingMB = ko.observable(parseFloat(data.mbleft))
self.missingMB = ko.observable(parseFloat(data.mbmissing))
@@ -502,7 +479,7 @@ function QueueModel(parent, data) {
self.priority = ko.observable(parent.priorityName[data.priority]);
self.script = ko.observable(data.script);
self.unpackopts = ko.observable(parseInt(data.unpackopts)) // UnpackOpts fails if not parseInt'd!
self.pausedStatus = ko.observable(data.status === 'Paused');
self.pausedStatus = ko.observable(data.status == 'Paused');
self.timeLeft = ko.observable(data.timeleft);
// Initially empty
@@ -513,7 +490,7 @@ function QueueModel(parent, data) {
// Color of the progress bar
self.progressColor = ko.computed(function() {
// Checking
if(self.status() === 'Checking') {
if(self.status() == 'Checking') {
return '#58A9FA'
}
// Check for missing data, the value is arbitrary! (2%)
@@ -521,7 +498,7 @@ function QueueModel(parent, data) {
return '#F8A34E'
}
// Set to grey, only when not Force download
if((self.parent.parent.downloadsPaused() && self.priority() !== 2) || self.pausedStatus()) {
if((self.parent.parent.downloadsPaused() && self.priority() != 2) || self.pausedStatus()) {
return '#B7B7B7'
}
// Nothing
@@ -530,9 +507,6 @@ function QueueModel(parent, data) {
// MB's
self.progressText = ko.pureComputed(function() {
if(self.isGrabbing()) {
return glitterTranslate.fetchingURL
}
return (self.totalMB() - self.remainingMB()).toFixed(0) + " MB / " + (self.totalMB() * 1).toFixed(0) + " MB";
})
@@ -552,15 +526,15 @@ function QueueModel(parent, data) {
})
self.statusText = ko.computed(function() {
// Checking
if(self.status() === 'Checking') {
if(self.status() == 'Checking') {
return glitterTranslate.checking
}
// Grabbing
if(self.status() === 'Grabbing') {
if(self.status() == 'Grabbing') {
return glitterTranslate.fetch
}
// Pausing status
if((self.parent.parent.downloadsPaused() && self.priority() !== 2) || self.pausedStatus()) {
if((self.parent.parent.downloadsPaused() && self.priority() != 2) || self.pausedStatus()) {
return glitterTranslate.paused;
}
// Just the time
@@ -570,7 +544,7 @@ function QueueModel(parent, data) {
// Icon to better show force-priority
self.queueIcon = ko.computed(function() {
// Force comes first
if(self.priority() === 2) {
if(self.priority() == 2) {
return 'glyphicon-forward'
}
if(self.pausedStatus()) {
@@ -584,17 +558,17 @@ function QueueModel(parent, data) {
switch(param) {
case 'category':
// Exception for *
if(self.category() === "*")
if(self.category() == "*")
return glitterTranslate.defaultText
return self.category();
case 'priority':
// Onload-exception
if(self.priority() === undefined) return;
return ko.utils.arrayFirst(self.parent.priorityOptions(), function(item) { return item.value === self.priority()}).name;
if(self.priority() == undefined) return;
return ko.utils.arrayFirst(self.parent.priorityOptions(), function(item) { return item.value == self.priority()}).name;
case 'processing':
// Onload-exception
if(self.unpackopts() === undefined) return;
return ko.utils.arrayFirst(self.parent.processingOptions(), function(item) { return item.value === self.unpackopts()}).name;
if(self.unpackopts() == undefined) return;
return ko.utils.arrayFirst(self.parent.processingOptions(), function(item) { return item.value == self.unpackopts()}).name;
case 'scripts':
return self.script();
case 'age':
@@ -610,7 +584,7 @@ function QueueModel(parent, data) {
self.password(data.password);
self.index(data.index);
self.status(data.status)
self.isGrabbing(data.status === 'Grabbing' || data.avg_age === '-')
self.isGrabbing(data.status == 'Grabbing' || data.avg_age == '-')
self.totalMB(parseFloat(data.mb));
self.remainingMB(parseFloat(data.mbleft));
self.missingMB(parseFloat(data.mbmissing))
@@ -621,12 +595,12 @@ function QueueModel(parent, data) {
self.priority(parent.priorityName[data.priority]);
self.script(data.script);
self.unpackopts(parseInt(data.unpackopts)) // UnpackOpts fails if not parseInt'd!
self.pausedStatus(data.status === 'Paused');
self.pausedStatus(data.status == 'Paused');
self.timeLeft(data.timeleft);
// Did the label-list change?
// Otherwise KO will send updates to all texts during refresh()
if(self.rawLabels !== data.labels.toString()) {
if(self.rawLabels != data.labels.toString()) {
// Update
self.labels(data.labels);
self.rawLabels = data.labels.toString();
@@ -663,7 +637,7 @@ function QueueModel(parent, data) {
// Do on change
self.nameForEdit.subscribe(function(newName) {
// Anything change or empty?
if(!newName || self.name() === newName) return;
if(!newName || self.name() == newName) return;
// Rename would abort Direct Unpack, so ask if user is sure
if(self.direct_unpack() && !confirm(glitterTranslate.renameAbort)) return;
@@ -735,5 +709,29 @@ function QueueModel(parent, data) {
})
}
// Remove 1 download from queue
self.removeDownload = function(item, event) {
// Confirm and remove
if(!self.parent.parent.confirmDeleteQueue() || confirm(glitterTranslate.deleteMsg + ":\n" + item.name() + "\n\n" + glitterTranslate.removeDow1)) {
var itemToDelete = this;
// Show notification
showNotification('.main-notification-box-removing')
callAPI({
mode: 'queue',
name: 'delete',
del_files: 1,
value: item.id
}).then(function(response) {
// Make sure no flickering (if there are more items left) and then remove
self.parent.isLoading(self.parent.totalItems() > 1)
parent.queueItems.remove(itemToDelete);
parent.multiEditItems.remove(function(inList) { return inList.id == itemToDelete.id; })
self.parent.parent.refresh();
// Hide notifcation
hideNotification()
});
}
};
}

View File

@@ -140,12 +140,6 @@ select.form-control,
color: #EBEBEB;
}
.btn-default:not(.navbar-btn):hover,
select:hover,
input:hover {
background-color: #666666;
}
/* Needed to force the text-color */
.table-striped>tbody>tr:nth-child(odd)>td,
.table>tbody>tr:nth-child(odd)>td,
@@ -206,8 +200,7 @@ tbody .caret {
.info-container,
#modal-options .options-status-box small,
#modal-options #options-status small,
#modal-options .tab-content h4,
h2 small {
#modal-options .tab-content h4 {
color: #D6D6D6;
}
@@ -273,11 +266,16 @@ button:focus {
outline: initial;
}
.archive-icon {
fill: #EBEBEB;
/* Placeholders - Will not work if grouped! */
::-webkit-input-placeholder {
color: #EBEBEB !important;
}
::placeholder {
color: #EBEBEB !important;
opacity: 0.5 !important;
::-moz-placeholder {
color: #EBEBEB !important;
opacity: 1 !important;
}
:-ms-input-placeholder {
color: #EBEBEB !important;
}

View File

@@ -442,7 +442,7 @@ tbody>tr>td:last-child {
.container-tabbed #queue-tab,
.container-tabbed #queue-tab,
.container-tabbed #queue-messages,
.container-tabbed .history-header h2,
.container-tabbed .history h2,
.container-tabbed .queue h2,
.history-queue-swicher {
display: none;
@@ -494,10 +494,6 @@ tbody>tr>td:last-child {
background-color: #d9534f !important;
}
.history-queue-swicher .badge-info {
background-color: #58A9FA !important;
}
.history-queue-swicher .badge {
margin-left: 4px;
}
@@ -690,10 +686,6 @@ tbody.no-downloads tr td {
border-bottom: 1px solid #F0F0F0 !important;
}
tbody.no-downloads tr td>span {
opacity: 0.7;
}
tbody.no-downloads tr td a {
line-height: 2em;
font-size: 1.5em;
@@ -994,27 +986,8 @@ tr.queue-item>td:first-child>a {
position: relative;
}
.history-header {
.history h2 {
clear: left;
width: 100%;
display: flex;
justify-content: space-between;
}
.history-header a {
align-self: center;
margin-right: 2px;
font-size: 12px;
}
.container-tabbed .history-header {
display: inline;
}
.container-tabbed .history-header a {
position: absolute;
right: 0;
top: 10px;
}
.history-table {
@@ -1107,29 +1080,11 @@ tr.queue-item>td:first-child>a {
}
#history-options .hover-button {
padding: 7px;
padding: 7px 8px 7px 8px;
line-height: 1.428571429;
display: inline-block;
}
#history-options .hover-button.history-archive {
line-height: 1em;
vertical-align: middle;
}
#history-options div {
display: inline-block;
vertical-align: middle;
margin-left: 5px;
}
#history-options input[name="multieditCheckAll"] {
vertical-align: middle;
position: relative;
top: -2px;
margin-left: 8px;
}
#history-options .hover-button span {
top: 2px;
}
@@ -1196,10 +1151,6 @@ tr.queue-item>td:first-child>a {
color: red !important;
}
.history-options-show-failed .archive-icon {
fill: #2bbd43;
}
.processing-download {
width: 16px;
height: 18px;
@@ -1535,34 +1486,6 @@ input[name="nzbURL"] {
transition : border 500ms ease-out;
}
/* DELETE MODAL */
.modal-delete-job ul {
margin-top: 10px;
}
.modal-delete-job li {
word-break: break-all;
}
.modal-delete-job .checkbox {
float: left;
margin: 8px 5px 0px;
}
#modal-purge-history .checkbox {
margin: 0;
}
.modal-delete-job .checkbox input,
#modal-purge-history .checkbox input {
margin-top: 3px;
}
.modal-delete-job .checkbox input+span,
#modal-purge-history .checkbox input+span {
font-weight: bold;
}
/* HELP MODAL */
#modal-help .modal-body {

View File

@@ -1,5 +1,5 @@
#
# Copyright 2009 The SABnzbd-Team (sabnzbd.org)
# Copyright 2009 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -5,9 +5,6 @@
<title>$T('wizard-quickstart')</title>
<link rel="stylesheet" type="text/css" href="../staticcfg/bootstrap/css/bootstrap.min.css?v=$version"/>
<link rel="stylesheet" type="text/css" href="static/style.css?v=$version"/>
<!--#if $color_scheme not in ('Light', '') #-->
<link rel="stylesheet" type="text/css" href="../staticcfg/css/${color_scheme}.css?v=$version"/>
<!--#end if#-->
<link rel="shortcut icon" href="../staticcfg/ico/favicon.ico?v=$version" />
<script type="text/javascript" src="../staticcfg/js/jquery-3.5.1.min.js?v=$version"></script>
<script type="text/javascript" src="../staticcfg/bootstrap/js/bootstrap.min.js?v=$version"></script>

View File

@@ -48,7 +48,7 @@
<div class="form-group">
<div class="col-sm-4"></div>
<div class="col-sm-8">
<a href="#" class="wizard-advanced-settings" onclick="\$('#server-hidden-settings').removeClass('hidden');\$(this).parent().parent().hide()">
<a href="#" onclick="\$('#server-hidden-settings').removeClass('hidden');\$(this).parent().parent().hide()">
<span class="glyphicon glyphicon-cog"></span> $T('button-advanced')
</a>
</div>
@@ -57,19 +57,19 @@
<div class="form-group">
<label for="port" class="col-sm-4 control-label">$T('srv-port')</label>
<div class="col-sm-8">
<input type="number" class="form-control" name="port" id="port" value="<!--#if $port then $port else '563' #-->" min="0" max="65535" />
<input type="number" class="form-control" name="port" id="port" value="<!--#if $port then $port else '563' #-->" />
</div>
</div>
<div class="form-group">
<label for="connections" class="col-sm-4 control-label">$T('srv-connections')</label>
<div class="col-sm-8">
<input type="number" class="form-control" name="connections" id="connections" value="<!--#if $connections then $connections else '8'#-->" min="1" max="500" data-toggle="tooltip" data-placement="right" title="$T('wizard-server-con-explain') $T('wizard-server-con-eg')" />
<input type="number" class="form-control" name="connections" id="connections" value="<!--#if $connections then $connections else '8'#-->" data-toggle="tooltip" data-placement="right" title="$T('wizard-server-con-explain') $T('wizard-server-con-eg')" />
</div>
</div>
<div class="form-group">
<label for="ssl_verify" class="col-sm-4 control-label">$T('opt-ssl_verify')</label>
<div class="col-sm-8">
<select name="ssl_verify" id="ssl_verify" class="form-control">
<select name="ssl_verify" id="ssl_verify" class="form-control" <!--#if int($certificate_validation) == 0 then "disabled=\"disabled\"" else ""#-->>
<option value="2" <!--#if $ssl_verify == 2 then 'selected="selected"' else ""#--> >$T('ssl_verify-strict')</option>
<option value="1" <!--#if $ssl_verify == 1 then 'selected="selected"' else ""#--> >$T('ssl_verify-normal')</option>
<option value="0" <!--#if $ssl_verify == 0 then 'selected="selected"' else ""#--> >$T('ssl_verify-disabled')</option>

View File

@@ -56,12 +56,12 @@ $(document).ready(function() {
$('#ssl').click(function() {
if(this.checked) {
// Enabled SSL change port when not already a custom port
if($('#port').val() === '119') {
if($('#port').val() == '119') {
$('#port').val('563')
}
} else {
// Remove SSL port
if($('#port').val() === '563') {
if($('#port').val() == '563') {
$('#port').val('119')
}
}

View File

@@ -171,10 +171,10 @@ label {
* {
border-radius: 0 !important;
}
a,
a:hover,
a:active,
a:visited,
#content a,
#content a:hover,
#content a:active,
#content a:visited,
#serverResponse {
color: #555;
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022-2024 by The SABnzbd-Team (sabnzbd.org) -->
<!-- Copyright 2022-2023 The SABnzbd-Team <team@sabnzbd.org> -->
<component type="desktop-application">
<id>org.sabnzbd.sabnzbd</id>
<metadata_license>MIT</metadata_license>
@@ -30,14 +30,6 @@
<url type="faq">https://sabnzbd.org/wiki/faq</url>
<url type="contact">https://sabnzbd.org/live-chat.html</url>
<releases>
<release version="4.3.3" date="2024-08-01" type="stable"/>
<release version="4.3.2" date="2024-05-30" type="stable"/>
<release version="4.3.1" date="2024-05-03" type="stable"/>
<release version="4.3.0" date="2024-05-01" type="stable"/>
<release version="4.2.2" date="2024-02-01" type="stable"/>
<release version="4.2.1" date="2024-01-05" type="stable"/>
<release version="4.2.0" date="2024-01-03" type="stable"/>
<release version="4.1.0" date="2023-09-26" type="stable"/>
<release version="4.0.3" date="2023-06-16" type="stable"/>
<release version="4.0.2" date="2023-06-09" type="stable"/>
<release version="4.0.1" date="2023-05-01" type="stable"/>
@@ -55,13 +47,11 @@
<control>touch</control>
</supports>
<recommends>
<display_length compare="ge">640</display_length>
<display_length compare="ge">small</display_length>
<internet>always</internet>
</recommends>
<project_license>GPL-2.0-or-later</project_license>
<developer id="org.sabnzbd">
<name>The SABnzbd-Team</name>
</developer>
<developer_name>The SABnzbd-team</developer_name>
<screenshots>
<screenshot type="default">
<image>https://sabnzbd.org/images/landing/screenshots/interface.png</image>

View File

@@ -22,11 +22,6 @@ ExecStart=/opt/sabnzbd/SABnzbd.py --disable-file-log --logging 1 --browser 0
User=%I
Type=simple
Restart=on-failure
ProtectSystem=full
DeviceAllow=/dev/null rw
DeviceAllow=/dev/urandom r
DevicePolicy=strict
NoNewPrivileges=yes
[Install]
WantedBy=multi-user.target

View File

Binary file not shown.

View File

@@ -1,144 +1,88 @@
7-Zip for Linux and macOS
~~~~~~~~~~~~~~~~~~~~~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7-Zip Copyright (C) 1999-2024 Igor Pavlov.
The licenses for 7zz and 7zzs files are:
- The "GNU LGPL" as main license for most of the code
- The "GNU LGPL" with "unRAR license restriction" for some code
- The "BSD 3-clause License" for some code
- The "BSD 2-clause License" for some code
Redistributions in binary form must reproduce related license information from this file.
Note:
You can use 7-Zip on any computer, including a computer in a commercial
organization. You don't need to register or pay for 7-Zip.
GNU LGPL information
--------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You can receive a copy of the GNU Lesser General Public License from
http://www.gnu.org/
BSD 3-clause License in 7-Zip code
----------------------------------
The "BSD 3-clause License" is used for the following code in 7z.dll
1) LZFSE data decompression.
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc,
that also uses the "BSD 3-clause License".
2) ZSTD data decompression.
that code was developed using original zstd decoder code as reference code.
The original zstd decoder code was developed by Facebook Inc,
that also uses the "BSD 3-clause License".
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
Copyright (c) Facebook, Inc. All rights reserved.
Copyright (c) 2023-2024 Igor Pavlov.
Text of the "BSD 3-clause License"
----------------------------------
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
BSD 2-clause License in 7-Zip code
----------------------------------
The "BSD 2-clause License" is used for the XXH64 code in 7-Zip.
XXH64 code in 7-Zip was derived from the original XXH64 code developed by Yann Collet.
Copyright (c) 2012-2021 Yann Collet.
Copyright (c) 2023-2024 Igor Pavlov.
Text of the "BSD 2-clause License"
----------------------------------
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
unRAR license restriction
-------------------------
The decompression engine for RAR archives was developed using source
code of unRAR program.
All copyrights to original unRAR code are owned by Alexander Roshal.
The license for original unRAR code has the following restriction:
The unRAR sources cannot be used to re-create the RAR compression algorithm,
which is proprietary. Distribution of modified unRAR sources in separate form
or as a part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
--
7-Zip
~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7-Zip Copyright (C) 1999-2021 Igor Pavlov.
The licenses for 7zz file are:
- The "GNU LGPL" as main license for most of the code
- The "GNU LGPL" with "unRAR license restriction" for some code
- The "BSD 3-clause License" for some code
Redistributions in binary form must reproduce related license information from this file.
Note:
You can use 7-Zip on any computer, including a computer in a commercial
organization. You don't need to register or pay for 7-Zip.
GNU LGPL information
--------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You can receive a copy of the GNU Lesser General Public License from
http://www.gnu.org/
BSD 3-clause License
--------------------
The "BSD 3-clause License" is used for the code in 7z.dll that implements LZFSE data decompression.
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc,
that also uses the "BSD 3-clause License":
----
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----
unRAR license restriction
-------------------------
The decompression engine for RAR archives was developed using source
code of unRAR program.
All copyrights to original unRAR code are owned by Alexander Roshal.
The license for original unRAR code has the following restriction:
The unRAR sources cannot be used to re-create the RAR compression algorithm,
which is proprietary. Distribution of modified unRAR sources in separate form
or as a part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
--
Igor Pavlov

10
osx/par2/LICENSE Normal file
View File

@@ -0,0 +1,10 @@
par2SL version 1.0, Copyright (C) 2003 Peter Brian Clements.
Adapted for use with MacPar deLuxe by Gerard Putter.
This program is compatible with Mac OS X Snow Leopard or later.
It uses Grand Central Dispatch to optimize the speed and processor load.
This is free software, and you are welcome to redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See COPYING for details.

340
osx/par2/arm64/LICENSE.txt Normal file
View File

@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

28
osx/par2/arm64/README.md Normal file
View File

@@ -0,0 +1,28 @@
# Creating `par2` for M1 systems
Compiled on an M1 system using these steps.
If you do not use llvm and `clang++` it will not include multithreading support.
However, I was unable to statically link the `libomp` library inside the `par2` executable.
I extracted it from the llvm libs folder and modified `par2` to look for the `libomp.dylib` in the same folder using `install_name_tool`.
Ref: https://stackoverflow.com/questions/4677044/how-to-use-dylib-in-mac-os-x-c
```shell
brew install automake
brew install llvm
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
# Restart terminal and clone/download par2cmdline sources
./automake.sh
CPPFLAGS="-I/opt/homebrew/opt/llvm/include" LDFLAGS="-L/opt/homebrew/opt/llvm/lib" CXX="clang++" ./configure
make clean
make
make check
# Do magic to copy and modify the OpenMP library
cp /opt/homebrew/opt/llvm/lib/libomp.dylib .
install_name_tool -change /opt/homebrew/opt/llvm/lib/libomp.dylib @executable_path/libomp.dylib ./par2
```

BIN
osx/par2/arm64/libomp.dylib Executable file
View File

Binary file not shown.

BIN
osx/par2/arm64/par2 Executable file
View File

Binary file not shown.

View File

Binary file not shown.

BIN
osx/par2/par2-sl64 Executable file
View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -1,10 +1,11 @@
#
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: team@sabnzbd.org\n"
"Language-Team: SABnzbd <team@sabnzbd.org>\n"

View File

@@ -1,9 +1,10 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Language-Team: Czech (https://app.transifex.com/sabnzbd/teams/111101/cs/)\n"
"MIME-Version: 1.0\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Danish (https://app.transifex.com/sabnzbd/teams/111101/da/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: German (https://app.transifex.com/sabnzbd/teams/111101/de/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Spanish (https://app.transifex.com/sabnzbd/teams/111101/es/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Finnish (https://app.transifex.com/sabnzbd/teams/111101/fi/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: French (https://app.transifex.com/sabnzbd/teams/111101/fr/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# ION, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: ION, 2020\n"
"Language-Team: Hebrew (https://app.transifex.com/sabnzbd/teams/111101/he/)\n"
@@ -14,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: he\n"
"Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
#: email/email.tmpl:1
msgid ""

View File

@@ -1,113 +0,0 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Language-Team: Italian (https://app.transifex.com/sabnzbd/teams/111101/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#: email/email.tmpl:1
msgid ""
"##\n"
"## Default Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd has <!--#if $status then \"completed\" else \"failed\" #--> job $name\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"<!--#if $status #-->\n"
"SABnzbd has downloaded \"$name\" <!--#if $msgid==\"\" then \"\" else \"(newzbin #\" + $msgid + \")\"#-->\n"
"<!--#else#-->\n"
"SABnzbd has failed to download \"$name\" <!--#if $msgid==\"\" then \"\" else \"(newzbin #\" + $msgid + \")\"#-->\n"
"<!--#end if#-->\n"
"Finished at $end_time\n"
"Downloaded $size\n"
"\n"
"Results of the job:\n"
"<!--#for $stage in $stages #-->\n"
"Stage $stage <!--#slurp#-->\n"
"<!--#for $result in $stages[$stage]#-->\n"
" $result <!--#slurp#-->\n"
"<!--#end for#-->\n"
"<!--#end for#-->\n"
"<!--#if $script!=\"\" #-->\n"
"Output from user script \"$script\" (Exit code = $script_ret):\n"
"$script_output\n"
"<!--#end if#-->\n"
"<!--#if $status #-->\n"
"Enjoy!\n"
"<!--#else#-->\n"
"Sorry!\n"
"<!--#end if#-->\n"
msgstr ""
#: email/rss.tmpl:1
msgid ""
"##\n"
"## RSS Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd has added $amount jobs to the queue\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"\n"
"SABnzbd has added $amount job(s) to the queue.\n"
"They are from RSS feed \"$feed\".\n"
"<!--#for $job in $jobs#-->\n"
" $job <!--#slurp#-->\n"
"<!--#end for#-->\n"
"\n"
"Bye\n"
msgstr ""
#: email/badfetch.tmpl:1
msgid ""
"##\n"
"## Bad URL Fetch Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd failed to fetch an NZB\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"\n"
"SABnzbd has failed to retrieve the NZB from $url.\n"
"The error message was: $msg\n"
"\n"
"Bye\n"
msgstr ""

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Norwegian Bokmål (https://app.transifex.com/sabnzbd/teams/111101/nb/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Dutch (https://app.transifex.com/sabnzbd/teams/111101/nl/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Polish (https://app.transifex.com/sabnzbd/teams/111101/pl/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Romanian (https://app.transifex.com/sabnzbd/teams/111101/ro/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Russian (https://app.transifex.com/sabnzbd/teams/111101/ru/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Serbian (https://app.transifex.com/sabnzbd/teams/111101/sr/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Swedish (https://app.transifex.com/sabnzbd/teams/111101/sv/)\n"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
"Language-Team: Chinese (China) (https://app.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"

View File

@@ -1,10 +1,11 @@
#
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: team@sabnzbd.org\n"
"Language-Team: SABnzbd <team@sabnzbd.org>\n"
@@ -52,11 +53,14 @@ msgstr ""
msgid "unrar binary... NOT found"
msgstr ""
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr ""
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr ""
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -149,63 +153,7 @@ msgid "Test Notification"
msgstr ""
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr ""
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr ""
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr ""
#: sabnzbd/api.py
msgid "Could not connect to %s on port %s. It appears that %s operates as a web server (port 80), possibly an indexer, not a usenet server. You have to fill a usenet server."
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr ""
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/api.py
msgid "Timed out"
msgstr ""
#: sabnzbd/api.py
msgid "Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr ""
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr ""
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr ""
#: sabnzbd/api.py
msgid "Resolving address"
msgid "&nbsp;Resolving address"
msgstr ""
#. No value, used in dropdown menus
@@ -218,6 +166,11 @@ msgstr ""
msgid "Default"
msgstr ""
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr ""
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -284,6 +237,10 @@ msgstr ""
msgid "Incorrect parameter"
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr ""
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr ""
@@ -292,7 +249,7 @@ msgstr ""
msgid "Server address required"
msgstr ""
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr ""
@@ -309,17 +266,8 @@ msgstr ""
msgid "Permissions setting of %s might deny SABnzbd access to the files and folders it creates."
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr ""
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr ""
#: sabnzbd/cfg.py
msgid "The Completed Download Folder cannot be the same or a subfolder of the Temporary Download Folder"
msgid "Error: Queue not empty, cannot change folder."
msgstr ""
#. Warning message
@@ -372,7 +320,7 @@ msgstr ""
msgid "Failed to close database, see log"
msgstr ""
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr ""
@@ -399,10 +347,6 @@ msgstr ""
msgid "Deobfuscate renamed %d file(s)"
msgstr ""
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr ""
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr ""
@@ -440,7 +384,7 @@ msgid "Paused"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
@@ -472,11 +416,6 @@ msgstr ""
msgid "Fatal error in Downloader"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr ""
@@ -669,15 +608,31 @@ msgstr ""
msgid "API Key incorrect, Use the api key from Config->General in your 3rd party program:"
msgstr ""
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr ""
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr ""
#: sabnzbd/interface.py
msgid "The Completed Download Folder cannot be the same or a subfolder of the Temporary Download Folder"
msgstr ""
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr ""
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr ""
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr ""
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -735,10 +690,6 @@ msgstr ""
msgid "Back"
msgstr ""
#: sabnzbd/misc.py
msgid "To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
#: sabnzbd/misc.py
msgid "d"
msgstr ""
@@ -801,6 +752,7 @@ msgstr ""
msgid "Running script"
msgstr ""
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr ""
@@ -888,6 +840,19 @@ msgstr ""
msgid "Corrupt RAR file"
msgstr ""
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr ""
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr ""
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr ""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr ""
@@ -1015,10 +980,6 @@ msgstr ""
msgid "Wiki"
msgstr ""
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr ""
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1063,16 +1024,6 @@ msgstr ""
msgid "Other Messages"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr ""
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr ""
@@ -1086,25 +1037,6 @@ msgstr ""
msgid "Failed to send Prowl message"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr ""
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr ""
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1172,18 +1104,6 @@ msgstr ""
msgid "NZB added to queue"
msgstr ""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr ""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr ""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1198,6 +1118,26 @@ msgstr ""
msgid "Pre-queue script marked job as failed"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1216,10 +1156,6 @@ msgstr ""
msgid "DUPLICATE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr ""
@@ -1265,10 +1201,6 @@ msgstr ""
msgid "%s articles had non-matching duplicates"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr ""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1345,7 +1277,7 @@ msgstr ""
msgid "Queue First 10 Items"
msgstr ""
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr ""
@@ -1459,11 +1391,6 @@ msgstr ""
msgid "Old queue detected, use Status->Repair to convert the queue"
msgstr ""
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr ""
#. Warning message
#: sabnzbd/postproc.py
msgid "Completed Download Folder %s is on FAT file system, limiting maximum file size to 4GB"
@@ -1646,6 +1573,10 @@ msgstr ""
msgid "Show interface"
msgstr ""
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr ""
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1733,11 +1664,6 @@ msgstr ""
msgid "Script"
msgstr ""
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr ""
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2010,6 +1936,7 @@ msgstr ""
msgid "Home page"
msgstr ""
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr ""
@@ -2076,7 +2003,7 @@ msgstr ""
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgid "IRC"
msgstr ""
#. Main menu item
@@ -2109,6 +2036,11 @@ msgstr ""
msgid "Scheduling"
msgstr ""
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr ""
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2223,6 +2155,11 @@ msgstr ""
msgid "Retry"
msgstr ""
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr ""
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2233,11 +2170,6 @@ msgstr ""
msgid "Delete all items from the queue?"
msgstr ""
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr ""
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2258,11 +2190,6 @@ msgstr ""
msgid "Remove NZB & Delete Files"
msgstr ""
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr ""
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2282,10 +2209,6 @@ msgstr ""
msgid "Reset Quota now"
msgstr ""
#: sabnzbd/skintext.py
msgid "Archive"
msgstr ""
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2306,11 +2229,6 @@ msgstr ""
msgid "Show All"
msgstr ""
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr ""
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2511,12 +2429,24 @@ msgstr ""
msgid "When your IP address changes or SABnzbd is restarted the session will expire."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr ""
#: sabnzbd/skintext.py
msgid "Speed up repairs by installing par2cmdline-turbo, it is available for many platforms."
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid "Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will be encrypted, however, validating a server's identity using its certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA certificates are required."
msgstr ""
#: sabnzbd/skintext.py
msgid "Speed up repairs by installing multicore Par2, it is available for many platforms."
msgstr ""
#: sabnzbd/skintext.py
@@ -2532,6 +2462,7 @@ msgstr ""
msgid "Backup"
msgstr ""
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr ""
@@ -2565,11 +2496,11 @@ msgid "Port SABnzbd should listen on."
msgstr ""
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgid "Web Interface"
msgstr ""
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgid "Choose a skin."
msgstr ""
#: sabnzbd/skintext.py
@@ -2697,32 +2628,24 @@ msgstr ""
msgid "History Retention"
msgstr ""
#: sabnzbd/skintext.py
msgid "Automatically delete completed jobs from History. Beware that Duplicate Detection and some external tools rely on History information."
msgstr ""
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move jobs to the archive if the history exceeds specified number of jobs"
msgid "Keep maximum number of completed jobs"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete jobs if the history and archive exceeds specified number of jobs"
msgid "Keep completed jobs maximum number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete jobs from the history and archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgid "Do not keep any completed jobs"
msgstr ""
#: sabnzbd/skintext.py
@@ -2951,10 +2874,6 @@ msgstr ""
msgid "Location of log files for SABnzbd.<br /><i>Requires SABnzbd restart!</i>"
msgstr ""
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr ""
@@ -3016,19 +2935,19 @@ msgid "In case of \"Pause\", you'll need to set a password and resume the job."
msgstr ""
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgid "Detect Duplicate Downloads"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgid "Detect identical NZB files (based on items in your History or files in .nzb Backup Folder)"
msgstr ""
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgid "Detect duplicate episodes in series"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgid "Detect identical episodes in series (based on \"name/season/episode\" of items in your History)"
msgstr ""
#: sabnzbd/skintext.py
@@ -3036,7 +2955,7 @@ msgid "Allow proper releases"
msgstr ""
#: sabnzbd/skintext.py
msgid "Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in the download name."
msgid "Bypass series duplicate detection if PROPER, REAL or REPACK is detected in the download name"
msgstr ""
#. Four way switch for duplicates
@@ -3046,16 +2965,17 @@ msgstr ""
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgid "Fail job (move to History)"
msgstr ""
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgid "Tag job"
msgstr ""
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgid "Abort"
msgstr ""
#: sabnzbd/skintext.py
@@ -3098,6 +3018,14 @@ msgstr ""
msgid "When the user script returns a non-zero exit code, the job will be flagged as failed."
msgstr ""
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr ""
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr ""
@@ -3114,14 +3042,6 @@ msgstr ""
msgid "Used before an NZB enters the queue."
msgstr ""
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr ""
@@ -3170,6 +3090,10 @@ msgstr ""
msgid "Check for New Release"
msgstr ""
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr ""
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3337,6 +3261,26 @@ msgstr ""
msgid "When during download it becomes clear that too much data is missing, abort the job"
msgstr ""
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr ""
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr ""
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr ""
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3465,6 +3409,14 @@ msgstr ""
msgid "Bandwidth"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr ""
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr ""
@@ -3839,29 +3791,6 @@ msgstr ""
msgid "Device to which message should be sent"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
#: sabnzbd/skintext.py
msgid "Override the default URLs for specific notification types below, if desired."
msgstr ""
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4202,10 +4131,6 @@ msgstr ""
msgid "Fetch"
msgstr ""
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr ""
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr ""
@@ -4310,10 +4235,6 @@ msgstr ""
msgid "Bottom"
msgstr ""
#: sabnzbd/skintext.py
msgid "When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be completed' are disabled."
msgstr ""
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr ""
@@ -4567,3 +4488,51 @@ msgstr ""
msgid "Trying to fetch NZB from %s"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr ""

View File

@@ -1,13 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Pavel C <quoing_transifex@mess.cz>, 2023
# Pavel C <quoing_transifex@mess.cz>, 2021
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Czech (https://app.transifex.com/sabnzbd/teams/111101/cs/)\n"
@@ -59,11 +60,14 @@ msgstr "Nalezen UNRAR verze %s, doporučujeme verzi %s nebo vyšší. <br />"
msgid "unrar binary... NOT found"
msgstr "Program unrar... nenalezen!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "Program 7za... nenalezen!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "Program unizip... nenalezen!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -166,67 +170,7 @@ msgid "Test Notification"
msgstr "Otestovat notifikace"
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr ""
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr ""
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr ""
#: sabnzbd/api.py
msgid ""
"Could not connect to %s on port %s. It appears that %s operates as a web "
"server (port 80), possibly an indexer, not a usenet server. You have to fill"
" a usenet server."
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Adresa serveru \"%s:%s\" není správná."
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/api.py
msgid "Timed out"
msgstr ""
#: sabnzbd/api.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr ""
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr "Přihlášené selhalo, zkontrolujte jméno a heslo."
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr ""
#: sabnzbd/api.py
msgid "Resolving address"
msgid "&nbsp;Resolving address"
msgstr "Překládám adresu"
#. No value, used in dropdown menus
@@ -239,6 +183,11 @@ msgstr "Žádný"
msgid "Default"
msgstr "Výchozí"
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr "Nepodařilo se zkompilovat regex pro hledaný výraz: %s"
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -313,6 +262,10 @@ msgstr "Kvóta přesažena, pozastavuji stahování"
msgid "Incorrect parameter"
msgstr "Nesprávný parametr"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC cesta \"%s\" zde není povolena"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s není validní emailová adresa"
@@ -321,7 +274,7 @@ msgstr "%s není validní emailová adresa"
msgid "Server address required"
msgstr "Adresa serveru je vyžadována"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr ""
@@ -340,20 +293,9 @@ msgid ""
" it creates."
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr ""
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Fronta nené prázdná, nelze změnit složku."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Chyba: Fronta nené prázdná, nelze změnit složku."
#. Warning message
#: sabnzbd/cfg.py
@@ -407,7 +349,7 @@ msgstr "Spustění SQL příkazu selhalo, zkontrolujte log"
msgid "Failed to close database, see log"
msgstr "Nezdařilo se uzavření databáze, zkontrolujte log"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr ""
@@ -434,10 +376,6 @@ msgstr ""
msgid "Deobfuscate renamed %d file(s)"
msgstr ""
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr ""
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr "Přímé rozbalení"
@@ -480,7 +418,7 @@ msgid "Paused"
msgstr "Pozastaveno"
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Musíte nastavit maximální rychlost linky předtím než začnete nastavovat "
@@ -514,11 +452,6 @@ msgstr ""
msgid "Fatal error in Downloader"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Příliš mnoho spojení k serveru %s [%s]"
@@ -723,15 +656,34 @@ msgstr ""
"Nesprávný API klíč, použijte api klíč z Nastavení->Obecné ve vašem programu "
"třetí strany:"
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr "Přihlášené selhalo, zkontrolujte jméno a heslo."
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr "Nezdařený pokus o přihlášení od %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr ""
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr ""
"Upozornění: LOCALHOST je nejednoznačný, použijte numerickou IP adresu."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Adresa serveru \"%s:%s\" není správná."
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -790,11 +742,6 @@ msgstr "CHYBA:"
msgid "Back"
msgstr "Zpět"
#: sabnzbd/misc.py
msgid ""
"To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
#: sabnzbd/misc.py
msgid "d"
msgstr "d"
@@ -861,6 +808,7 @@ msgstr ""
msgid "Running script"
msgstr "Běžící skript"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr ""
@@ -949,6 +897,19 @@ msgstr "Nepoužitelný RAR soubor"
msgid "Corrupt RAR file"
msgstr "Porušený RAR soubor"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s souborů v %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Chyba \"%s\" během běhu unzip() na %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "7za nebylo nalezeno, nemohu rozbalit \"%s\""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Zkouším 7zip s heslem \"%s\""
@@ -1084,10 +1045,6 @@ msgstr "Server %s používá nedůvěryhodný certifikát [%s]"
msgid "Wiki"
msgstr "Wiki"
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr ""
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1135,16 +1092,6 @@ msgstr "Fronta dokončena"
msgid "Other Messages"
msgstr "Ostatní zprávy"
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Otevřít složku s kompletními soubory"
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr "Nedostupné"
@@ -1158,25 +1105,6 @@ msgstr "Nepodařilo se odeslat macOS oznámení"
msgid "Failed to send Prowl message"
msgstr "Nepodařilo se odeslat Prowl zprávu"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr ""
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr ""
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1244,18 +1172,6 @@ msgstr "Nelze nahrát %s, detekován porušený soubor"
msgid "NZB added to queue"
msgstr "NZB přidáno do fronty"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignoruji duplikátní NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Nezdařilo se duplikovat NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Duplikátní NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1270,6 +1186,26 @@ msgstr "Prázdný NZB soubor %s"
msgid "Pre-queue script marked job as failed"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignoruji duplikátní NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Nezdařilo se duplikovat NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Duplikátní NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pozastavuji duplikátní NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1288,10 +1224,6 @@ msgstr "Chyba při importu %s"
msgid "DUPLICATE"
msgstr "DUPLIKÁT"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "ŠIFROVANÉ"
@@ -1337,10 +1269,6 @@ msgstr ""
msgid "%s articles had non-matching duplicates"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pozastavuji duplikátní NZB \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1419,7 +1347,7 @@ msgstr "Vypnout"
msgid "Queue First 10 Items"
msgstr "Fronta prvních 10 položek"
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr "Prázdný"
@@ -1536,11 +1464,6 @@ msgstr ""
msgid "Old queue detected, use Status->Repair to convert the queue"
msgstr "Stará fronta nalezena, použijte Status->Repair pro konverzi fronty"
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr "Nepodařilo se zkompilovat regex pro hledaný výraz: %s"
#. Warning message
#: sabnzbd/postproc.py
msgid ""
@@ -1725,6 +1648,10 @@ msgstr "Prázdný RSS záznam nalezen (%s)"
msgid "Show interface"
msgstr "Zobrazit rozhraní"
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Otevřít složku s kompletními soubory"
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1813,11 +1740,6 @@ msgstr ""
msgid "Script"
msgstr "Skript"
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2090,6 +2012,7 @@ msgstr "Verze pythonu"
msgid "Home page"
msgstr "Domovská stránka"
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr "nebo"
@@ -2156,8 +2079,8 @@ msgstr "Fórum"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgstr ""
msgid "IRC"
msgstr "IRC"
#. Main menu item
#: sabnzbd/skintext.py
@@ -2189,6 +2112,11 @@ msgstr "Přepínače"
msgid "Scheduling"
msgstr "Plánování"
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2303,6 +2231,11 @@ msgstr "Jméno"
msgid "Retry"
msgstr "Opakovat"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Akce"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2313,11 +2246,6 @@ msgstr "Skripty"
msgid "Delete all items from the queue?"
msgstr "Smazat všechny položky z fronty?"
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr ""
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2338,11 +2266,6 @@ msgstr "Odstranit NZB"
msgid "Remove NZB & Delete Files"
msgstr "Odstranit NZB a smazat soubory"
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr ""
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2362,10 +2285,6 @@ msgstr "ručně"
msgid "Reset Quota now"
msgstr "Vynulovat kvótu"
#: sabnzbd/skintext.py
msgid "Archive"
msgstr ""
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2386,11 +2305,6 @@ msgstr "Zobrazit neúspěšné"
msgid "Show All"
msgstr "Zobrazit vše"
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr ""
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2605,13 +2519,29 @@ msgid ""
"expire."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Povolit Unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Povolit 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
" be encrypted, however, validating a server's identity using its "
"certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA"
" certificates are required."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2628,6 +2558,7 @@ msgstr ""
msgid "Backup"
msgstr "Záloha"
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr ""
@@ -2661,11 +2592,11 @@ msgid "Port SABnzbd should listen on."
msgstr ""
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgstr ""
msgid "Web Interface"
msgstr "Webové rozhraní"
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgid "Choose a skin."
msgstr ""
#: sabnzbd/skintext.py
@@ -2808,36 +2739,27 @@ msgstr ""
msgid "History Retention"
msgstr "Retence historie"
#: sabnzbd/skintext.py
msgid ""
"Automatically delete completed jobs from History. Beware that Duplicate "
"Detection and some external tools rely on History information."
msgstr ""
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr "Zachovat všechny úkoly"
#: sabnzbd/skintext.py
msgid ""
"Move jobs to the archive if the history exceeds specified number of jobs"
msgstr ""
msgid "Keep maximum number of completed jobs"
msgstr "Maximální počet dokončených úkolů"
#: sabnzbd/skintext.py
msgid ""
"Delete jobs if the history and archive exceeds specified number of jobs"
msgstr ""
msgid "Keep completed jobs maximum number of days"
msgstr "Počet dnů pro zachování dokončených ukolů "
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Delete jobs from the history and archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgstr ""
msgid "Do not keep any completed jobs"
msgstr "Nauchovávat dokončené úkoly"
#: sabnzbd/skintext.py
msgid "Jobs"
@@ -3089,10 +3011,6 @@ msgid ""
"Location of log files for SABnzbd.<br /><i>Requires SABnzbd restart!</i>"
msgstr ""
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr ""
@@ -3161,19 +3079,23 @@ msgid "In case of \"Pause\", you'll need to set a password and resume the job."
msgstr ""
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgid "Detect Duplicate Downloads"
msgstr "Detekovat duplicitní stahování"
#: sabnzbd/skintext.py
msgid ""
"Detect identical NZB files (based on items in your History or files in .nzb "
"Backup Folder)"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgid "Detect duplicate episodes in series"
msgstr ""
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgid ""
"Detect identical episodes in series (based on \"name/season/episode\" of "
"items in your History)"
msgstr ""
#: sabnzbd/skintext.py
@@ -3182,8 +3104,8 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name."
"Bypass series duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name"
msgstr ""
#. Four way switch for duplicates
@@ -3193,16 +3115,17 @@ msgstr ""
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgid "Fail job (move to History)"
msgstr ""
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgid "Tag job"
msgstr ""
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgid "Abort"
msgstr ""
#: sabnzbd/skintext.py
@@ -3249,6 +3172,14 @@ msgid ""
"as failed."
msgstr ""
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr ""
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr ""
@@ -3267,14 +3198,6 @@ msgstr ""
msgid "Used before an NZB enters the queue."
msgstr ""
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr ""
@@ -3325,6 +3248,10 @@ msgstr ""
msgid "Check for New Release"
msgstr ""
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr ""
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3503,6 +3430,26 @@ msgid ""
"the job"
msgstr ""
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "Výběr IP adresy serveru"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "Náhodně vybraná IP adresa"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "Nejrychlejší IP adresa, preferuj IPv6"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr ""
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3638,6 +3585,14 @@ msgstr ""
msgid "Bandwidth"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr ""
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr ""
@@ -4018,30 +3973,6 @@ msgstr ""
msgid "Device to which message should be sent"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Override the default URLs for specific notification types below, if desired."
msgstr ""
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4403,10 +4334,6 @@ msgstr ""
msgid "Fetch"
msgstr ""
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr "Webové rozhraní"
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr ""
@@ -4511,12 +4438,6 @@ msgstr ""
msgid "Bottom"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
"completed' are disabled."
msgstr ""
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr ""
@@ -4775,3 +4696,52 @@ msgstr ""
#: sabnzbd/urlgrabber.py
msgid "Trying to fetch NZB from %s"
msgstr "Zkouším stáhnout NZB z %s"
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr ""

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Danish (https://app.transifex.com/sabnzbd/teams/111101/da/)\n"
@@ -59,11 +60,14 @@ msgstr "Din Unrar version er %s, vi anbefaler version %s eller højere.<br />"
msgid "unrar binary... NOT found"
msgstr "unrar binær... IKKE fundet"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za binær... IKKE fundet!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip binær... IKKE fundet!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -166,71 +170,8 @@ msgid "Test Notification"
msgstr "Afprøv notifikation"
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr "Værtsnavnet er ikke indstillet."
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr "Der er ingen forbindelser angivet. Angiv mindst én forbindelse."
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr "Adgangskode maskeret med ******, forsøg igen"
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr "Ugyldige serverdetaljer"
#: sabnzbd/api.py
msgid ""
"Could not connect to %s on port %s. It appears that %s operates as a web "
"server (port 80), possibly an indexer, not a usenet server. You have to fill"
" a usenet server."
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Serveradressen \"%s:%s\" er ikke gyldigt."
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Timeout: Forsøg at aktivere SSL eller tilslut via en anden port."
#: sabnzbd/api.py
msgid "Timed out"
msgstr "Timeout"
#: sabnzbd/api.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Ukendt SSL protokol: Prøv at deaktivere SSL eller forbinder på en anden "
"port."
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr "Serveren kræver brugernavn og adgangskode."
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr "Tilslutning lykkedes!"
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr "Godkendelse mislykkedes, kontrollere brugernavn/adgangskode."
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Alt for mange forbindelser, pause en download eller forsøg igen senere"
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr "Det lykkedes ikke at tilslutte (%s)"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Server løsning"
msgid "&nbsp;Resolving address"
msgstr "&nbsp; Server løsning"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -242,6 +183,11 @@ msgstr "Ingen"
msgid "Default"
msgstr "Standard"
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr "Det lykkedes ikke at kompilere regex for søgestreng: %s"
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -316,6 +262,10 @@ msgstr "Kvote brugt, pause downloading"
msgid "Incorrect parameter"
msgstr "Fejl parameter"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC søgning \"%s\" er ikke tilladt her"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s er ikke en godkendt e-mail adresse"
@@ -324,7 +274,7 @@ msgstr "%s er ikke en godkendt e-mail adresse"
msgid "Server address required"
msgstr "Kræver serveradresse"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Ugyldig server adresse."
@@ -343,20 +293,9 @@ msgid ""
" it creates."
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr ""
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Køen er ikke tom, kan ikke skifte mappe."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Fejl: Køen er ikke tom, kan ikke skifte mappe."
#. Warning message
#: sabnzbd/cfg.py
@@ -410,7 +349,7 @@ msgstr "SQL Kommando mislykkedes, se log"
msgid "Failed to close database, see log"
msgstr "Det lykkedes ikke at lukke databasen, se log"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Forkert logning i historiken av %s"
@@ -437,10 +376,6 @@ msgstr ""
msgid "Deobfuscate renamed %d file(s)"
msgstr ""
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr ""
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr ""
@@ -481,7 +416,7 @@ msgid "Paused"
msgstr "Sat på pause"
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Du skal angive den maksimale båndbredde, før du kan angive en båndbredde "
@@ -515,11 +450,6 @@ msgstr "Det lykkedes ikke at initialisere %s@%s med begrundelse %s"
msgid "Fatal error in Downloader"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Alt for mange forbindelser til serveren %s [%s]"
@@ -734,15 +664,33 @@ msgstr ""
"Forkert API-nøgle, anvend api-nøglen fra Konfiguration->Generelt i dit "
"tredjepartsprogram:"
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr "Godkendelse mislykkedes, kontrollere brugernavn/adgangskode."
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr "Mislykkede login forsøg fra %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr ""
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr "Advarsel: Localhost er tvetydig, bruge numerisk IP-adresse."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Serveradressen \"%s:%s\" er ikke gyldigt."
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -801,11 +749,6 @@ msgstr "FEJL:"
msgid "Back"
msgstr "Tilbage"
#: sabnzbd/misc.py
msgid ""
"To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
#: sabnzbd/misc.py
msgid "d"
msgstr "d"
@@ -870,6 +813,7 @@ msgstr "Film sortering"
msgid "Running script"
msgstr "Køre script"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Udpakning af nesting for dybt [%s]"
@@ -957,6 +901,19 @@ msgstr "Ubrugelig RAR fil"
msgid "Corrupt RAR file"
msgstr "Ødelagt RAR fil"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s filer i %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Fejl \"%s\" når du køre unzip() på %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr ""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Forsøger 7zip med adgangskode \"%s\""
@@ -1091,10 +1048,6 @@ msgstr "Server %s bruger et upålidelig certifikat [%s]"
msgid "Wiki"
msgstr "Wiki"
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr ""
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1142,16 +1095,6 @@ msgstr "Kø færdig"
msgid "Other Messages"
msgstr "Andre beskeder"
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Åben færdig mappe"
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr "Ikke tilgængelig"
@@ -1165,25 +1108,6 @@ msgstr ""
msgid "Failed to send Prowl message"
msgstr "Kunne ikke sende Prowl besked"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr ""
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr ""
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1251,18 +1175,6 @@ msgstr "Downloadnings fejl %s, ødelagt fil fundet"
msgid "NZB added to queue"
msgstr "NZB tilføjet i køen"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorerer identiske NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Fejler dublet NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dublet NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1277,6 +1189,26 @@ msgstr "Tom NZB fil %s"
msgid "Pre-queue script marked job as failed"
msgstr "Før-kø script job markeret som mislykkedet"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorerer identiske NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Fejler dublet NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dublet NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pause duplikeret NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1295,10 +1227,6 @@ msgstr "Det lykkedes ikke at importere %s"
msgid "DUPLICATE"
msgstr "DUPLIKERE"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "KRYPTEREDE"
@@ -1344,10 +1272,6 @@ msgstr "%s artikler manglede"
msgid "%s articles had non-matching duplicates"
msgstr "%s artikler havde ikke-matchende dubletter"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pause duplikeret NZB \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1426,7 +1350,7 @@ msgstr "Afslut"
msgid "Queue First 10 Items"
msgstr "Kø (de første 10 poster)"
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr "Tom"
@@ -1571,11 +1495,6 @@ msgstr "Fejl %s: Du skal angive et gyldigt brugernavn og adgangskode."
msgid "Old queue detected, use Status->Repair to convert the queue"
msgstr "Gamle kø opdaget, brug Status->Reparation for at konvertere kø"
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr "Det lykkedes ikke at kompilere regex for søgestreng: %s"
#. Warning message
#: sabnzbd/postproc.py
msgid ""
@@ -1760,6 +1679,10 @@ msgstr "Tom RSS post blev fundet (%s)"
msgid "Show interface"
msgstr "Vis grænseflade"
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Åben færdig mappe"
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1848,11 +1771,6 @@ msgstr ""
msgid "Script"
msgstr "Script"
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2125,6 +2043,7 @@ msgstr "Python-version"
msgid "Home page"
msgstr "Startside"
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr "eller"
@@ -2191,8 +2110,8 @@ msgstr "Forum"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgstr ""
msgid "IRC"
msgstr "IRC"
#. Main menu item
#: sabnzbd/skintext.py
@@ -2224,6 +2143,11 @@ msgstr "Parameter"
msgid "Scheduling"
msgstr "Planlægning"
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2338,6 +2262,11 @@ msgstr "Navn"
msgid "Retry"
msgstr "Forsøg igen"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Handlinger"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2348,11 +2277,6 @@ msgstr "Scripts"
msgid "Delete all items from the queue?"
msgstr "Fjern alt fra køen?"
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr ""
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2373,11 +2297,6 @@ msgstr "Fjern NZB"
msgid "Remove NZB & Delete Files"
msgstr "Fjern NZB & slet filer"
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr ""
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2397,10 +2316,6 @@ msgstr "manuelt"
msgid "Reset Quota now"
msgstr "Nulstil kvota nu"
#: sabnzbd/skintext.py
msgid "Archive"
msgstr ""
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2421,11 +2336,6 @@ msgstr "Vis mislykket"
msgid "Show All"
msgstr "Vis Alt"
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr ""
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2649,15 +2559,33 @@ msgid ""
msgstr ""
"Når din IP-adresse ændres eller SABnzbd genstarter, udløber sessionen."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Aktivér Unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Aktivere 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
" be encrypted, however, validating a server's identity using its "
"certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA"
" certificates are required."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Fremskynde reparationer ved at installere multicopy Par2, det findes til "
"mange platforme."
#: sabnzbd/skintext.py
msgid "Version"
@@ -2672,6 +2600,7 @@ msgstr "Oppetid"
msgid "Backup"
msgstr "Sikkerhedskopi"
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr "Læs mere om dette på Wiki Help!"
@@ -2705,12 +2634,12 @@ msgid "Port SABnzbd should listen on."
msgstr "Port som SABnzbd ska lytte på."
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgstr ""
msgid "Web Interface"
msgstr "Webgrænseflade"
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgstr ""
msgid "Choose a skin."
msgstr "Vælg et Web-grænseflade udseende."
#: sabnzbd/skintext.py
msgid "SABnzbd Username"
@@ -2858,36 +2787,27 @@ msgstr ""
msgid "History Retention"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Automatically delete completed jobs from History. Beware that Duplicate "
"Detection and some external tools rely on History information."
msgstr ""
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr "Behold alle jobs"
#: sabnzbd/skintext.py
msgid ""
"Move jobs to the archive if the history exceeds specified number of jobs"
msgstr ""
msgid "Keep maximum number of completed jobs"
msgstr "Behold maximal antal af gennemførte jobs"
#: sabnzbd/skintext.py
msgid ""
"Delete jobs if the history and archive exceeds specified number of jobs"
msgstr ""
msgid "Keep completed jobs maximum number of days"
msgstr "Behold gennemførte jobs maximal antal af dage"
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Delete jobs from the history and archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgstr ""
msgid "Do not keep any completed jobs"
msgstr "Behold ikke gennemførte jobs"
#: sabnzbd/skintext.py
msgid "Jobs"
@@ -3155,10 +3075,6 @@ msgid ""
msgstr ""
"Placering af logfiler for SABnzbd.<br /><i>Kræver genstart af SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr ".nzb Backup mappe"
@@ -3232,20 +3148,28 @@ msgstr ""
"I tilfælde af \"Pause\", skal du angive en adgangskode og genoptage jobbet."
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgstr ""
msgid "Detect Duplicate Downloads"
msgstr "Find identiske downloads"
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgid ""
"Detect identical NZB files (based on items in your History or files in .nzb "
"Backup Folder)"
msgstr ""
"Fundet identiske NZB filer (baseret på elementer i din historik eller filer "
"i. nzb Backup mappe)"
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgstr ""
msgid "Detect duplicate episodes in series"
msgstr "Opdage identiske episoder i serier"
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgid ""
"Detect identical episodes in series (based on \"name/season/episode\" of "
"items in your History)"
msgstr ""
"Fundet identiske episoder i serie (baseret på \"navn /sæson /episode\" af "
"elementer i din historik)"
#: sabnzbd/skintext.py
msgid "Allow proper releases"
@@ -3253,8 +3177,8 @@ msgstr "Tillad reelle udgivelser"
#: sabnzbd/skintext.py
msgid ""
"Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name."
"Bypass series duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name"
msgstr ""
#. Four way switch for duplicates
@@ -3262,19 +3186,20 @@ msgstr ""
msgid "Discard"
msgstr "Kassér"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgstr "Marker job"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgstr "Mislykkes job (flyt til historik)"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgstr ""
msgid "Tag job"
msgstr "Marker job"
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort"
msgstr "Afbryd"
#: sabnzbd/skintext.py
msgid "Action when unwanted extension detected"
@@ -3322,6 +3247,14 @@ msgstr ""
"Når bruger scriptet returnerer et non-zero exit code, vil jobbet blive "
"markeret som mislykkedes."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Ved fejl, prøv alternativ NZB"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr "Nogle servere levere en alternativ NZB når et download mislykkes."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Aktiver mappe omdøbning"
@@ -3342,14 +3275,6 @@ msgstr "Før kø bruger script"
msgid "Used before an NZB enters the queue."
msgstr "Brugt før, en NZB kommer ind i køen."
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Ekstra PAR2 parameter"
@@ -3402,6 +3327,10 @@ msgstr ""
msgid "Check for New Release"
msgstr "Kontroller for ny version"
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr "Kontroller for ny version af SABnzbd hver uge."
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3589,6 +3518,26 @@ msgstr ""
"Når under download det bliver klart, at for meget data mangler, afbryd "
"jobbet"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr ""
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr ""
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr "Nyttigt, hvis en newsserver har mere end én IPv4/IPv6-adresse"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3725,6 +3674,14 @@ msgstr "Tester serverdetaljer..."
msgid "Bandwidth"
msgstr "Båndbredde"
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr "Send gruppe"
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr "Send gruppe kommandoen, før du anmoder om artikler."
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr "Personlige notater"
@@ -4109,30 +4066,6 @@ msgstr "Enhed"
msgid "Device to which message should be sent"
msgstr "Enhed som meddelse skal sendes til"
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Override the default URLs for specific notification types below, if desired."
msgstr ""
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4504,10 +4437,6 @@ msgstr "ADVARSEL:"
msgid "Fetch"
msgstr "Hent"
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr "Webgrænseflade"
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr "Opdateringsfrekvens"
@@ -4612,12 +4541,6 @@ msgstr "Øverst"
msgid "Bottom"
msgstr "Bunden"
#: sabnzbd/skintext.py
msgid ""
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
"completed' are disabled."
msgstr ""
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr "Vis scriptlog"
@@ -4884,3 +4807,55 @@ msgstr "URL hentning mislykkedes; %s"
#: sabnzbd/urlgrabber.py
msgid "Trying to fetch NZB from %s"
msgstr "Forsøger at hente NZB fra %s"
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr "Værtsnavnet er ikke indstillet."
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr "Der er ingen forbindelser angivet. Angiv mindst én forbindelse."
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr "Adgangskode maskeret med ******, forsøg igen"
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr "Ugyldige serverdetaljer"
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Timeout: Forsøg at aktivere SSL eller tilslut via en anden port."
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr "Timeout"
#: sabnzbd/utils/servertests.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Ukendt SSL protokol: Prøv at deaktivere SSL eller forbinder på en anden "
"port."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "Server afslut under login-sekvens."
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Serveren kræver brugernavn og adgangskode."
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr "Tilslutning lykkedes!"
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Alt for mange forbindelser, pause en download eller forsøg igen senere"
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr "Det lykkedes ikke at tilslutte (%s)"

View File

@@ -1,5 +1,6 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# C E <githubce@eiselt.ch>, 2020
@@ -11,16 +12,13 @@
# Nils Briggen, 2022
# reloxx13 <reloxx@interia.pl>, 2022
# kameb, 2023
# HandyDandy04, 2024
# Safihre <safihre@sabnzbd.org>, 2024
# Gjelbrim Haskaj, 2024
# Stefan Rodriguez Galeano, 2024
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha1\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Stefan Rodriguez Galeano, 2024\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: German (https://app.transifex.com/sabnzbd/teams/111101/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -74,11 +72,14 @@ msgstr ""
msgid "unrar binary... NOT found"
msgstr "unrar-Programmdatei nicht gefunden!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za-Programmdatei nicht gefunden"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip-Programmdatei nicht gefunden!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -185,80 +186,8 @@ msgid "Test Notification"
msgstr "Benachrichtigungen testen"
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr "Der Hostname wurde nicht angegeben"
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
"Keine Verbindungen angegeben. Bitte geben Sie mindestens eine Verbindung "
"ein."
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr "Passwort ist als ****** maskiert. Bitte erneut eingeben."
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr "Ungültige Server-Angaben"
#: sabnzbd/api.py
msgid ""
"Could not connect to %s on port %s. It appears that %s operates as a web "
"server (port 80), possibly an indexer, not a usenet server. You have to fill"
" a usenet server."
msgstr ""
"Verbindung zu %s auf Port %s konnte nicht hergestellt werden. Es scheint, "
"als sei %s ein Webserver (Port 80), vielleicht ein Indexer, aber kein "
"Usenet-Server. Trage einen Usenet-Server ein."
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Server-Adresse \"%s:%s\" ist ungültig."
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
"Zeitüberschreitung: Versuche es mit eingeschalteten SSL oder einen anderen "
"Port."
#: sabnzbd/api.py
msgid "Timed out"
msgstr "Zeitüberschreitung"
#: sabnzbd/api.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Unbekanntes SSL-Protokoll: SSL deaktivieren oder alternativen Port "
"versuchen."
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr "Server benötigt ein Benutzername und ein Passwort."
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr "Verbindung erfolgreich hergestellt!"
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr ""
"Authentifizierung fehlgeschlagen. Überprüfen Sie Benutzername und Passwort."
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Zu viele Verbindungen. Bitte halten Sie die Downloads an oder versuchen Sie "
"es später erneut."
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr "Die Verbindung konnte nicht überprüft werden. (%s)"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Adresse wird aufgelöst"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Adresse wird aufgelöst …"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -270,6 +199,12 @@ msgstr "Nichts"
msgid "Default"
msgstr "Standard"
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr ""
"Kompilieren des regulären Ausdrucks für den Suchbegriff %s fehlgeschlagen."
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -346,6 +281,10 @@ msgstr "Kontingent aufgebraucht, Downloads werden angehalten"
msgid "Incorrect parameter"
msgstr "Fehlerhafter Parameter"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-Pfad \"%s\" ist hier nicht erlaubt"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s ist keine gültige E-Mail-Adresse"
@@ -354,7 +293,7 @@ msgstr "%s ist keine gültige E-Mail-Adresse"
msgid "Server address required"
msgstr "Server-Adresse wird benötigt"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Ungültige Server-Adresse."
@@ -375,23 +314,11 @@ msgstr ""
"Die aktuellen Zugriffseinstellungen (%s) könnte SABnzbd den Zugriff auf die "
"erstellten Dateien und Ordner von SABnzbd verweigern."
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr "Netzwerkpfad \"%s\" ist hier nicht erlaubt"
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgid "Error: Queue not empty, cannot change folder."
msgstr ""
"Ordner kann nicht geändert werden, da die Warteschlange nicht leer ist."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
"Der \"Abgeschlossene Downloads\"-Ordner darf kein Unterordner des "
"\"Temporäre Downloads\"-Ordners sein."
"Fehler: Ordner kann nicht geändert werden, da die Warteschlange nicht leer "
"ist."
#. Warning message
#: sabnzbd/cfg.py
@@ -399,8 +326,6 @@ msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
"Verwenden Sie keinen Ordner im Anwendungsordner als Ihren Skriptordner, er "
"könnte während Updates geleert werden."
#. Warning message
#: sabnzbd/config.py
@@ -450,7 +375,7 @@ msgid "Failed to close database, see log"
msgstr ""
"Fehler beim Schliessen der Datenbank. Beachten Sie das Nachrichtenprotokoll."
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Ungültiges Stufen-Protokoll im Verlauf für %s"
@@ -478,10 +403,6 @@ msgstr "Entschleiern korrigierte die Erweiterung von %d Datei(en)"
msgid "Deobfuscate renamed %d file(s)"
msgstr "Entschleiern hat %dDatei(en) umbenannt"
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr "Umbenannte Untertiteldatei(en)%d verschleiern"
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr "Direkt entpacken"
@@ -525,7 +446,7 @@ msgid "Paused"
msgstr "Angehalten"
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Bevor ein Bandbreitenlimit gesetzt werden kann, muss die maximale Bandbreite"
@@ -557,12 +478,7 @@ msgstr "Fehler %s@%s zu initialisieren, aus folgendem Grund: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr "Schwerer Fehler im Downloader"
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr "%s@%s:Unbekannter Statuscode%s für Artikel erhalten %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
@@ -736,15 +652,11 @@ msgstr "%s ist nicht beschreibbar. Downloads sind dadurch blockiert."
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
"Kann keinen langen Dateinamen in %s schreiben. Dies kann Probleme "
"verursachen."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
"Kann keinen Dateinamen in Unicode in %s schreiben. Dies kann Probleme "
"verursachen."
#. Warning message
#: sabnzbd/filesystem.py
@@ -788,15 +700,37 @@ msgstr ""
"API-Schlüssel ungültig. Bitte API-Schlüssel aus Einstellungen->Allgemein in "
"die externe Anwendung eingeben:"
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr ""
"Authentifizierung fehlgeschlagen. Überprüfen Sie Benutzername und Passwort."
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr "Fehlerhafter Login Versuch von %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
"Der \"Abgeschlossene Downloads\"-Ordner darf kein Unterordner des "
"\"Temporäre Downloads\"-Ordners sein."
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr "Invalides Backup Archiv"
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr ""
"Warnung: localhost ist mehrdeutig. Verwenden Sie eine numerische IP-Adresse."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Server-Adresse \"%s:%s\" ist ungültig."
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -857,13 +791,6 @@ msgstr "FEHLER:"
msgid "Back"
msgstr "Zurück"
#: sabnzbd/misc.py
msgid ""
"To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
"Um alle hilfreichen Warnungen zu verbergen, deaktiviere die extra "
"Einstellung 'helpful_warnings'."
#: sabnzbd/misc.py
msgid "d"
msgstr "t"
@@ -931,6 +858,7 @@ msgstr "Film Sortierung"
msgid "Running script"
msgstr "Ausführen des Skripts"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Entpacken zu tief verschachtelt [%s]"
@@ -1020,6 +948,19 @@ msgstr "RAR-Datei beschädigt"
msgid "Corrupt RAR file"
msgstr "Defekte RAR Datei"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s Dateien in %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Fehler \"%s\" beim Ausführen von unzip auf %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "Keine 7za Binary gefunden, entpacken von \"%s\" nicht möglich"
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Versuche 7zip mit Passwort \"%s\""
@@ -1159,10 +1100,6 @@ msgstr "Der Server %s verwendet ein nicht vertrauenswürdiges Zertifikat [%s]"
msgid "Wiki"
msgstr "Wiki"
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr "Verbindung fehlgeschlagen: %s %s@%s:%s(%s)"
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1210,16 +1147,6 @@ msgstr "Warteschlange abgearbeitet"
msgid "Other Messages"
msgstr "Andere Nachrichten"
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr "Ordner öffnen"
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Öffne Zielverzeichnis"
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr "Nicht verfügbar"
@@ -1233,26 +1160,6 @@ msgstr "Senden von macOS Benachrichtigung fehlgeschlagen"
msgid "Failed to send Prowl message"
msgstr "Prowl-Nachricht konnte nicht versendet werden"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr "Übertragung der Info-Nachricht fehlgeschlagen - keine URLs definiert"
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr "Eine oder mehrere Informations-URLs konnten nicht geladen werden."
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
"Eine oder mehrere Info-Benachrichtigungen konnten nicht gesendet werden"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr "Info-Nachricht konnte nicht gesendet werden"
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1320,18 +1227,6 @@ msgstr "Fehler beim Laden von %s. Beschädigte Datei gefunden."
msgid "NZB added to queue"
msgstr "NZB zur Warteschlange hinzugefügt"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Doppelte NZB \"%s\" wird ignoriert"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "kopieren der NZB \"%s\" fehlgeschlagen"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Doppelte NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1348,6 +1243,26 @@ msgstr ""
"Das Vorwarteschlangen (pre-queue) Skript hat die Downloadaufgabe als "
"gescheitert markiert"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Doppelte NZB \"%s\" wird ignoriert"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "kopieren der NZB \"%s\" fehlgeschlagen"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Doppelte NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Doppelt vorhandene NZB \"%s\" angehalten"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1366,10 +1281,6 @@ msgstr "Fehler beim Importieren von %s"
msgid "DUPLICATE"
msgstr "DUPLIKAT"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr "ALTERNATIVE"
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "VERSCHLÜSSELT"
@@ -1416,10 +1327,6 @@ msgstr "%s Artikel fehlten"
msgid "%s articles had non-matching duplicates"
msgstr "%s Artikel hatten nicht übereinstimmende Duplikate"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Doppelt vorhandene NZB \"%s\" angehalten"
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1498,7 +1405,7 @@ msgstr "Beenden"
msgid "Queue First 10 Items"
msgstr "Warteschlange mit den 10 obersten Einträgen"
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr "Leer"
@@ -1652,12 +1559,6 @@ msgstr ""
"Alte Warteschlangen-Version erkannt, über Status->Reparieren ins neue Format"
" konvertieren"
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr ""
"Kompilieren des regulären Ausdrucks für den Suchbegriff %s fehlgeschlagen."
#. Warning message
#: sabnzbd/postproc.py
msgid ""
@@ -1845,6 +1746,10 @@ msgstr "Leerer RSS-Feed gefunden: %s"
msgid "Show interface"
msgstr "Interface anzeigen"
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Öffne Zielverzeichnis"
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1933,11 +1838,6 @@ msgstr "Entschleiern"
msgid "Script"
msgstr "Skript"
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2210,6 +2110,7 @@ msgstr "Python Version"
msgid "Home page"
msgstr "Startseite"
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr "oder"
@@ -2276,8 +2177,8 @@ msgstr "Forum"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgstr "Echtzeit Chat"
msgid "IRC"
msgstr "IRC"
#. Main menu item
#: sabnzbd/skintext.py
@@ -2309,6 +2210,11 @@ msgstr "Schalter"
msgid "Scheduling"
msgstr "Planung"
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2423,6 +2329,11 @@ msgstr "Name"
msgid "Retry"
msgstr "Erneut versuchen"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Aktionen"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2433,11 +2344,6 @@ msgstr "Skripte"
msgid "Delete all items from the queue?"
msgstr "Alle Elemente in der Warteschlange löschen?"
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr "Sind Sie sicher, dass Sie diese Aufträge entfernen wollen?"
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2458,11 +2364,6 @@ msgstr "NZB löschen"
msgid "Remove NZB & Delete Files"
msgstr "NZBs und Dateien löschen"
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr "erhaft löschen (Archiv überspringen)"
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2482,10 +2383,6 @@ msgstr "Manuell"
msgid "Reset Quota now"
msgstr "Kontingent jetzt zurücksetzen"
#: sabnzbd/skintext.py
msgid "Archive"
msgstr "Archiv"
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2506,11 +2403,6 @@ msgstr "Nur Fehlgeschlagene"
msgid "Show All"
msgstr "Alle anzeigen"
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr "Zeige Archiv"
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2743,13 +2635,33 @@ msgstr ""
"Falls sich deine IP Adresse ändert oder SABnzbd neu startet, wird deine "
"Session ungültig"
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "unzip aktivieren"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "7zip aktivieren"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr "Multicore Par2"
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
" be encrypted, however, validating a server's identity using its "
"certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA"
" certificates are required."
msgstr ""
"Sichere (SSL) Verbindungen von SABnzbd zu Newsserver und Webseiten sind "
"verschlüsselt, aber das Validieren der Server Identität mit dessen "
"Zertifikat ist nicht möglich. Vorraussetzungen dafür sind OpenSSL 1.0.2 oder"
" höher und aktuelle lokale CA Zertifikate."
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Erhöhe Reparaturgeschwindigkeit durch installation von Multicore Par2, "
@@ -2768,6 +2680,7 @@ msgstr "Zeit seit Start"
msgid "Backup"
msgstr "Sicherheitskopie"
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr "Lesen Sie dazu die Hilfe im Wiki!"
@@ -2801,12 +2714,12 @@ msgid "Port SABnzbd should listen on."
msgstr "Port, auf dem SABnzbd auf Anfragen warten soll."
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgstr "Benutzeroberfläche"
msgid "Web Interface"
msgstr "Web-Oberfläche"
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgstr "Wählen Sie ein Theme."
msgid "Choose a skin."
msgstr "Gestaltung der Web-Oberfläche verändern."
#: sabnzbd/skintext.py
msgid "SABnzbd Username"
@@ -2969,44 +2882,29 @@ msgstr ""
msgid "History Retention"
msgstr "Verlaufsgröße"
#: sabnzbd/skintext.py
msgid ""
"Automatically delete completed jobs from History. Beware that Duplicate "
"Detection and some external tools rely on History information."
msgstr ""
"Fertige Aufträge automatisch aus dem Verlauf entfernen. Duplikatserkennung "
"und manche externe Skripte benötigen Informationen aus dem Verlauf."
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr "Alle Aufträge behalten"
#: sabnzbd/skintext.py
msgid ""
"Move jobs to the archive if the history exceeds specified number of jobs"
msgstr ""
"Verschieben von Aufträgen in das Archiv, wenn der Verlauf die angegebene "
"Anzahl von Aufträgen überschreitet."
msgid "Keep maximum number of completed jobs"
msgstr "Behalte maximale Anzahl an abgeschlossenen Aufträgen"
#: sabnzbd/skintext.py
msgid ""
"Delete jobs if the history and archive exceeds specified number of jobs"
msgstr ""
"Löschen von Aufträgen, wenn der Verlauf und das Archiv die angegebene Anzahl"
" von Aufträgen überschreiten"
msgid "Keep completed jobs maximum number of days"
msgstr "Behalte abgeschlossene Aufträge maximal X Tage"
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
"Verschieben von Aufträgen in das Archiv nach einer bestimmten Anzahl von "
"Tagen"
#: sabnzbd/skintext.py
msgid ""
"Delete jobs from the history and archive after specified number of days"
msgstr ""
"Löschen von Aufträgen aus der Historie und dem Archiv nach einer bestimmten "
"Anzahl von Tagen"
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr "Alle abgeschlossenen Aufträge ins Archiv verschieben"
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgstr "Alle abgeschlossenen Aufträge löschen"
msgid "Do not keep any completed jobs"
msgstr "Fertige Aufträge nicht behalten"
#: sabnzbd/skintext.py
msgid "Jobs"
@@ -3088,7 +2986,7 @@ msgstr "NZB Dateien hinzufügen "
#: sabnzbd/skintext.py
msgid "API (no Config)"
msgstr "API (ohne Einstellungen)"
msgstr "API (kein Einstellungen)"
#: sabnzbd/skintext.py
msgid "Full API"
@@ -3293,10 +3191,6 @@ msgstr ""
"Hier werden Protokoll-Dateien von SABnzbd abgelegt.<br /><i>Benötigt einen "
"Neustart von SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr "Protokolle bereinigen"
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "NZB-Backup-Ordner"
@@ -3375,21 +3269,28 @@ msgstr ""
"fortsetzen."
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgstr "Erkennung identischer Downloads"
msgid "Detect Duplicate Downloads"
msgstr "Doppelte Downloads erkennen"
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgid ""
"Detect identical NZB files (based on items in your History or files in .nzb "
"Backup Folder)"
msgstr ""
"Erkenne identische Downloads anhand des Dateinamens oder des NZB-Inhalts."
"Doppelte NZB Datei entdeckt (basierend auf den Eintragungen in der Historie "
"oder den .nzb Dateien im NZB-Backup-Ordner)"
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgstr "Intelligente Duplikat Erkennung"
msgid "Detect duplicate episodes in series"
msgstr "Doppelte Episoden in Serien erkennen"
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgstr "Erkenne Duplikate durch Analyse der Dateinamen."
msgid ""
"Detect identical episodes in series (based on \"name/season/episode\" of "
"items in your History)"
msgstr ""
"Identische Episoden in den Serien entdeckt (basierend auf "
"\"name/season/episode\") der Einträge in der Historie"
#: sabnzbd/skintext.py
msgid "Allow proper releases"
@@ -3397,30 +3298,31 @@ msgstr "Erlaube \"Proper\" Releases"
#: sabnzbd/skintext.py
msgid ""
"Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name."
"Bypass series duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name"
msgstr ""
"Umgehe intelligente Duplikat-Erkennung, wenn PROPER, REAL oder REPACK im "
"Download-Namen erkannt wird"
"Umgehe Serien Duplikat-Erkennung, wenn PROPER, REAL oder REPACK im Download-"
"Namen erkannt wird"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Discard"
msgstr "Verwerfen"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgstr "Markiere Auftrag"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgstr "Aufgabe abgebrochen (verschoben in die Historie)"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgstr "Nachbearbeitung abbrechen"
msgid "Tag job"
msgstr "Markiere Auftrag"
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort"
msgstr "Abbrechen"
#: sabnzbd/skintext.py
msgid "Action when unwanted extension detected"
@@ -3470,6 +3372,16 @@ msgstr ""
"Wenn das Benutzerskript einen Exit-Code ausgibt, der nicht \"0\" ist, wird "
"der Auftrag als fehlgeschlagen markiert."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Nach einem Fehler ein alternatives NZB laden"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Manche Server stellen ein alternatives NZB zur Verfügung, falls ein Download"
" fehlschlägt."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Ordner-Umbenennung aktivieren"
@@ -3491,16 +3403,6 @@ msgid "Used before an NZB enters the queue."
msgstr ""
"Wird verwendet, bevor eine NZB-Datei zur Warteschlange hinzugefügt wird."
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr "Skript zur Beendigung der Warteschlange"
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
"Wurde nach Fertigstellung des Downloads der eingereihten Aufträge "
"ausgeführt."
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Zusätzliche PAR2-Parameter"
@@ -3559,6 +3461,10 @@ msgstr ""
msgid "Check for New Release"
msgstr "Auf neue Version prüfen"
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr "Wöchentlich überprüfen, ob eine neue SABnzbd-Version verfügbar ist."
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3759,6 +3665,26 @@ msgstr ""
"Job abbrechen falls während des Downloads klar wird, dass zuviele Daten "
"fehlen"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "Auswahl der Server-IP-Adresse"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr "Erste IP-Adresse"
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "Zufällig ausgewählte IP-Adresse"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "Schnellste IP-Adresse, IPv6 bevorzugt"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr "Nützlich, wenn ein Newsserver mehr als eine IPv4/IPv6-Adresse hat"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3901,6 +3827,14 @@ msgstr "Server-Angaben werden überprüft …"
msgid "Bandwidth"
msgstr "Bandbreite"
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr "Gruppe senden"
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr "Gruppen-Befehl senden, bevor Artikeln angefordert werden."
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr "Persönliche Notizen"
@@ -4291,36 +4225,6 @@ msgstr "Gerät"
msgid "Device to which message should be sent"
msgstr "Geräte, welche die Benachrichtigungen empfangen sollen"
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr "Aktivieren Sie Info-Benachrichtigungen"
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
"Senden Sie Benachrichtigungen mit Anfragen an fast jeden "
"Benachrichtigungsdienst"
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
"Verwenden Sie ein Komma und/oder ein Leerzeichen, um mehr als eine URL zu "
"kennzeichnen."
#: sabnzbd/skintext.py
msgid ""
"Override the default URLs for specific notification types below, if desired."
msgstr ""
"Falls gewünscht, können Sie die Standard-URLs für bestimmte "
"Benachrichtigungstypen unten überschreiben."
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4705,10 +4609,6 @@ msgstr "WARNUNG:"
msgid "Fetch"
msgstr "Abrufen"
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr "Web-Oberfläche"
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr "Aktualisierungsrate"
@@ -4813,15 +4713,6 @@ msgstr "Ganz nach oben"
msgid "Bottom"
msgstr "Ganz nach unten"
#: sabnzbd/skintext.py
msgid ""
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
"completed' are disabled."
msgstr ""
"Wenn Sie einen Auftrag wiederholen, sind die Funktionen „Erkennung von "
"Duplikaten“ und „Abbruch von Aufträgen, die nicht abgeschlossen werden "
"können“ deaktiviert."
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr "Skript-Protokoll anzeigen"
@@ -4876,7 +4767,7 @@ msgstr "Tastaturkürzel"
#: sabnzbd/skintext.py
msgid "Shift+Arrow key: Browse Queue and History pages"
msgstr "Shift+Pfeil-Taste: Durchsuche eingereihte Aufträge und Verlaufsseiten"
msgstr ""
#: sabnzbd/skintext.py
msgid "How long or untill when do you want to pause? (in English!)"
@@ -5055,7 +4946,7 @@ msgstr ""
#. Error message
#: sabnzbd/sorting.py
msgid "Failed to rename %s to %s"
msgstr "Fehler beim Umbenennen von %s nach %s"
msgstr "Fehler beim umbennenen von %s nach %s"
#. Error message
#: sabnzbd/sorting.py
@@ -5090,3 +4981,60 @@ msgstr "Abrufen der URL fehlgeschlagen; %s"
#: sabnzbd/urlgrabber.py
msgid "Trying to fetch NZB from %s"
msgstr "NZB-Datei wird versucht von %s abzurufen"
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr "Der Hostname wurde nicht angegeben"
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr ""
"Keine Verbindungen angegeben. Bitte geben Sie mindestens eine Verbindung "
"ein."
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr "Passwort ist als ****** maskiert. Bitte erneut eingeben."
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr "Ungültige Server-Angaben"
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr ""
"Zeitüberschreitung: Versuche es mit eingeschalteten SSL oder einen anderen "
"Port."
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr "Zeitüberschreitung"
#: sabnzbd/utils/servertests.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Unbekanntes SSL-Protokoll: SSL deaktivieren oder alternativen Port "
"versuchen."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "Sever beendet beim Anmeldeverlauf."
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Server benötigt ein Benutzername und ein Passwort."
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr "Verbindung erfolgreich hergestellt!"
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Zu viele Verbindungen. Bitte halten Sie die Downloads an oder versuchen Sie "
"es später erneut."
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr "Die Verbindung konnte nicht überprüft werden. (%s)"

View File

@@ -124,7 +124,4 @@ msgid "0 is highest priority, 100 is the lowest priority"
msgstr "0 is highest priority, 99 is the lowest priority"
msgid "Filter out sample files (e.g. video samples)."
msgstr "Filter out sample files (e.g. video samples/proofs)."
msgid "Pre-queue user script"
msgstr "Pre-queue script"
msgstr "Filter out sample files (e.g. video samples/proofs)."

View File

@@ -1,5 +1,6 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Ester Molla Aragones <moarages@gmail.com>, 2020
@@ -8,7 +9,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Spanish (https://app.transifex.com/sabnzbd/teams/111101/es/)\n"
@@ -63,11 +64,14 @@ msgstr "Su versión UnRAR es %s, recomendamos la versión %s o superior. <br />"
msgid "unrar binary... NOT found"
msgstr "unrar binario... NO encontrado"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "No se encontró el binario de 7za"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip binario... NO encontrado!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -175,71 +179,8 @@ msgid "Test Notification"
msgstr "Notificación de prueba"
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr "El hostname no está definido."
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr "No se han configurado conexiones. Configure al menos una conexión."
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr "Contraseña protejido por ******, favor reingresar"
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr "Detalles de servidor invalidos"
#: sabnzbd/api.py
msgid ""
"Could not connect to %s on port %s. It appears that %s operates as a web "
"server (port 80), possibly an indexer, not a usenet server. You have to fill"
" a usenet server."
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "La dirección del servidor «%s:%s» no es válida."
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Tiempo agotado: Trate conectar en puerto diferente o encender SSL."
#: sabnzbd/api.py
msgid "Timed out"
msgstr "Tiempo agotado"
#: sabnzbd/api.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Protocolo SSL desconocido: intente desabilitar el SSL o conectarse a un "
"puerto diferente."
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr "El servidor necesita usuario y contraseña."
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr "¡Conexión exitosa!"
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr "Autenticación fallida, compruebe el usuario o la contraseña."
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Demasiadas conexiones; pause las descargas o inténtelo de nuevo más tarde"
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr "No se pudo determinar el resultado de la conexión (%s)"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Resolviendo sitio"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Resolviendo sitio"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -251,6 +192,11 @@ msgstr "Ninguno"
msgid "Default"
msgstr "Predeterminado"
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr "Compilación de regex para término fallo: %s"
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -331,6 +277,10 @@ msgstr "Quota gastado, pausando cola"
msgid "Incorrect parameter"
msgstr "Parámetro incorrecto"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Ruta de acceso UNC \"%s\" no permitido aqui"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s no es una dirección de correo electrónico válida."
@@ -339,7 +289,7 @@ msgstr "%s no es una dirección de correo electrónico válida."
msgid "Server address required"
msgstr "Se necesita la dirección del servidor"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Dirección del servidor no válida."
@@ -358,20 +308,9 @@ msgid ""
" it creates."
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr ""
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Cola no esta vacía, no se puede cambiar el directorio"
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Error: Cola no esta vacía, no se puede cambiar el directorio"
#. Warning message
#: sabnzbd/cfg.py
@@ -428,7 +367,7 @@ msgstr "Comando SQL ha fallado, vea el registro"
msgid "Failed to close database, see log"
msgstr "No se pudo cerrar el base de datos, vea el registro"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Registro de etapa invalido para transferencia terminada %s"
@@ -455,10 +394,6 @@ msgstr ""
msgid "Deobfuscate renamed %d file(s)"
msgstr ""
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr ""
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr "Descomprimir directamente"
@@ -502,7 +437,7 @@ msgid "Paused"
msgstr "En pausa"
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Debe establecer un ancho de banda máximo antes de poder establecer un límite"
@@ -536,11 +471,6 @@ msgstr "Error al inicializar %s@%s con la razón: %s"
msgid "Fatal error in Downloader"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Demasiadas conexiones con el servidor %s [%s]"
@@ -756,15 +686,33 @@ msgstr ""
"Clave de API erróneo, favor ingresar la clave correcta desde Config->General"
" en tu aplicacion externa:"
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr "Autenticación fallida, compruebe el usuario o la contraseña."
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr "Intento fallido de inicio de sesión desde %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr ""
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr "Alerta: LOCALHOST es ambiguo, use dirección de IP numérica"
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "La dirección del servidor «%s:%s» no es válida."
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -825,11 +773,6 @@ msgstr "ERROR:"
msgid "Back"
msgstr "Atrás"
#: sabnzbd/misc.py
msgid ""
"To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
#: sabnzbd/misc.py
msgid "d"
msgstr "d"
@@ -899,6 +842,7 @@ msgstr "Clasificación de películas"
msgid "Running script"
msgstr "Ejecutando script"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr ""
@@ -990,6 +934,19 @@ msgstr "Archivo RAR inutilizable"
msgid "Corrupt RAR file"
msgstr "Fichero RAR corrupto"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s archivos en %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Error \"%s\" al ejecutar unzip() sobre %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "No se ha encontrado el binario 7za, no se puede descomprimir \"%s\""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Tratando 7zip con la contraseña \"%s\""
@@ -1131,10 +1088,6 @@ msgstr "El servidor %s utiliza un certificado que no es de confianza [%s]"
msgid "Wiki"
msgstr "Wiki"
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr ""
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1182,16 +1135,6 @@ msgstr "Cola terminada"
msgid "Other Messages"
msgstr "Otros mensajes"
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Abrir todo el folder"
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr "No disponible"
@@ -1205,25 +1148,6 @@ msgstr "Fallo al enviar la notificación macOS"
msgid "Failed to send Prowl message"
msgstr "No se pudo enviar el mensaje de Prowl"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr ""
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr ""
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1294,18 +1218,6 @@ msgstr "Error al cargar %s, archivo corrupto"
msgid "NZB added to queue"
msgstr "NZB añadido a la cola"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorando NZB Duplicado \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Fallo al duplicar NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Duplicar NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1322,6 +1234,26 @@ msgstr ""
"La secuencia de comandos de la cola preestablecida ha marcado la tarea como "
"fallida"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorando NZB Duplicado \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Fallo al duplicar NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Duplicar NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pausando NZB duplicados \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1340,10 +1272,6 @@ msgstr "Error importando %s"
msgid "DUPLICATE"
msgstr "DUPLICADO"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "ENCRIPTADO"
@@ -1389,10 +1317,6 @@ msgstr "%s artículos no encontrados"
msgid "%s articles had non-matching duplicates"
msgstr "%s artículos contenían duplicados inconexos"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Pausando NZB duplicados \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1471,7 +1395,7 @@ msgstr "Salir"
msgid "Queue First 10 Items"
msgstr "Encolar los primeros 10 elementos"
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr "Vacía"
@@ -1623,11 +1547,6 @@ msgstr ""
"Se ha encontrado una cola antigua, utilice Estado->Reparar para convertir la"
" cola"
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr "Compilación de regex para término fallo: %s"
#. Warning message
#: sabnzbd/postproc.py
msgid ""
@@ -1816,6 +1735,10 @@ msgstr "Entrada RSS vacía (%s)"
msgid "Show interface"
msgstr "Mostrar interfaz"
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Abrir todo el folder"
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1904,11 +1827,6 @@ msgstr ""
msgid "Script"
msgstr "Script"
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2181,6 +2099,7 @@ msgstr "Version de Python"
msgid "Home page"
msgstr "Pagina principal"
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr "o"
@@ -2247,8 +2166,8 @@ msgstr "Foro"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgstr ""
msgid "IRC"
msgstr "IRC"
#. Main menu item
#: sabnzbd/skintext.py
@@ -2280,6 +2199,11 @@ msgstr "Switches"
msgid "Scheduling"
msgstr "Planificación"
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2394,6 +2318,11 @@ msgstr "Nombre"
msgid "Retry"
msgstr "Reintentar"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Acciones"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2404,11 +2333,6 @@ msgstr "Scripts"
msgid "Delete all items from the queue?"
msgstr "¿Eliminar todos los elementos de la cola?"
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr ""
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2429,11 +2353,6 @@ msgstr "Eliminar NZB"
msgid "Remove NZB & Delete Files"
msgstr "Eliminar NZB y Eliminar Ficheros"
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr ""
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2453,10 +2372,6 @@ msgstr "manual"
msgid "Reset Quota now"
msgstr "Reinicializar Quota ahora"
#: sabnzbd/skintext.py
msgid "Archive"
msgstr ""
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2477,11 +2392,6 @@ msgstr "Mostrar los Fallidos"
msgid "Show All"
msgstr "Mostrar Todo"
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr ""
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2709,15 +2619,39 @@ msgid ""
"expire."
msgstr "Cuando tu dirección IP cambie o reinicies SABnzbd, la sesión caduca."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Habilitar Unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Habilitar 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr "Multicore Par2"
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
" be encrypted, however, validating a server's identity using its "
"certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA"
" certificates are required."
msgstr ""
"Las conexiones seguras (capa de puertos seguros, SSL) de SABnzbd a los "
"newsservers (servidores de notícias) y páginas web HTTPS estarán "
"codificadas. Sin embargo, no es posible validar la identidad de un servidor "
"utilizando sus certificados. Se necesitan certificados OpenSSL 1.0.2 o "
"versiones posteriores y certificados actualizados AC (autoridad de "
"certificación) locales."
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Agilice las reparaciones instalando multicore Par2, está disponible para "
"muchas plataformas."
#: sabnzbd/skintext.py
msgid "Version"
@@ -2732,6 +2666,7 @@ msgstr "Tiempo en Activo"
msgid "Backup"
msgstr "Copia de seguridad"
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr "Lee la ayuda en la Wiki (inglés) acerca de esto!"
@@ -2765,12 +2700,12 @@ msgid "Port SABnzbd should listen on."
msgstr "Puerto en que SABnzbd debería escuchar"
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgstr ""
msgid "Web Interface"
msgstr "Interfaz web"
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgstr ""
msgid "Choose a skin."
msgstr "Elije una piel"
#: sabnzbd/skintext.py
msgid "SABnzbd Username"
@@ -2925,36 +2860,30 @@ msgstr ""
msgid "History Retention"
msgstr "Historial de retención"
#: sabnzbd/skintext.py
msgid ""
"Automatically delete completed jobs from History. Beware that Duplicate "
"Detection and some external tools rely on History information."
msgstr ""
"Elimina tareas completas de forma automática del historial. Tenga en cuenta "
"que la detección de duplicados y algunas herramientas externas dependen de "
"la información del historial."
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr "Mantener todas las tareas"
#: sabnzbd/skintext.py
msgid ""
"Move jobs to the archive if the history exceeds specified number of jobs"
msgstr ""
msgid "Keep maximum number of completed jobs"
msgstr "Mantener un máximo de tareas completas"
#: sabnzbd/skintext.py
msgid ""
"Delete jobs if the history and archive exceeds specified number of jobs"
msgstr ""
msgid "Keep completed jobs maximum number of days"
msgstr "Mantener las tareas completas un máximo de días"
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Delete jobs from the history and archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgstr ""
msgid "Do not keep any completed jobs"
msgstr "No mantener ninguna tarea completa"
#: sabnzbd/skintext.py
msgid "Jobs"
@@ -3227,10 +3156,6 @@ msgstr ""
"Ubicación de los ficheros de log para SABnzbd.<br /><i>Requiere reiniciar "
"SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "Directorio de Backups de .nzbs"
@@ -3305,20 +3230,28 @@ msgstr ""
"trabajo."
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgstr ""
msgid "Detect Duplicate Downloads"
msgstr "Detectar descargas duplicadas"
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgid ""
"Detect identical NZB files (based on items in your History or files in .nzb "
"Backup Folder)"
msgstr ""
"Detecta archivos NZB idénticos (basándose en los elementos de su historial o"
" los archivos en el directorio de copia de seguridad .nzb)"
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgstr ""
msgid "Detect duplicate episodes in series"
msgstr "Detectar episodios duplicadas en serie"
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgid ""
"Detect identical episodes in series (based on \"name/season/episode\" of "
"items in your History)"
msgstr ""
"Detecta episodios idénticos en series (basándose en "
"\"nombre/temporada/episodio\" de los elementos de su historial)"
#: sabnzbd/skintext.py
msgid "Allow proper releases"
@@ -3326,28 +3259,31 @@ msgstr "Permitir comunicados adecuados"
#: sabnzbd/skintext.py
msgid ""
"Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name."
"Bypass series duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name"
msgstr ""
"Evitar detección de duplicado de series si se detecta PROPER, REAL o REPACK "
"en el nombre de la descarga"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Discard"
msgstr "Descartar"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgstr "Etiquetar tarea"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgstr "Tarea fallida (mover a historial)"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgstr ""
msgid "Tag job"
msgstr "Etiquetar tarea"
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort"
msgstr "Abortar"
#: sabnzbd/skintext.py
msgid "Action when unwanted extension detected"
@@ -3395,6 +3331,15 @@ msgstr ""
"Cuando la secuencia de comandos de usuario devuelve un código de salida "
"distinto de cero, el trabajo se marca como fallido ."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "En caso de fallo, intentar con un NZB alternativo"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Algunos servidores ofrecen una NZB alternativa cuando falla una descarga ."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Habilitar renombrado de directorios"
@@ -3415,14 +3360,6 @@ msgstr "Script de usuario Pre-cola"
msgid "Used before an NZB enters the queue."
msgstr "Se usa precediendo a la entrada de un NZB en la cola del sistema."
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Parámetros PAR2 extra"
@@ -3479,6 +3416,10 @@ msgstr ""
msgid "Check for New Release"
msgstr "Buscar Nva Versión"
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr "Chequear semanalmente por nuevas versiones de SABnzbd."
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3673,6 +3614,27 @@ msgstr ""
"Cuando este bajando, si es claro que mucha data esta faltando, aborte el "
"trabajo."
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "Selección de la dirección IP del servidor"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr "Primera dirección IP"
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "Dirección IP seleccionada aleatoriamente"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "Dirección IP más rápida, con preferencia IPv6"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr ""
"Útil si un servidor de noticias tiene más de una dirección IPv4 / IPv6"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3813,6 +3775,14 @@ msgstr "Testeando información del servidor"
msgid "Bandwidth"
msgstr "Ancho de Banda"
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr "Enviar Group"
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr "Enviar comando group antes de solicitar los artículos."
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr "Notas personales"
@@ -4200,30 +4170,6 @@ msgstr "Dispositivo"
msgid "Device to which message should be sent"
msgstr "Dispositivo al que enviar el mensaje"
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Override the default URLs for specific notification types below, if desired."
msgstr ""
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4598,10 +4544,6 @@ msgstr "AVISO:"
msgid "Fetch"
msgstr "Obtener"
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr "Interfaz web"
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
@@ -4706,12 +4648,6 @@ msgstr "Superior"
msgid "Bottom"
msgstr "Último"
#: sabnzbd/skintext.py
msgid ""
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
"completed' are disabled."
msgstr ""
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr "Ver bitacora de Scripts"
@@ -4981,3 +4917,55 @@ msgstr "Error al recuperar la URL; %s"
#: sabnzbd/urlgrabber.py
msgid "Trying to fetch NZB from %s"
msgstr "Tratando de buscar NZB de %s"
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr "El hostname no está definido."
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr "No se han configurado conexiones. Configure al menos una conexión."
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr "Contraseña protejido por ******, favor reingresar"
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr "Detalles de servidor invalidos"
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Tiempo agotado: Trate conectar en puerto diferente o encender SSL."
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr "Tiempo agotado"
#: sabnzbd/utils/servertests.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Protocolo SSL desconocido: intente desabilitar el SSL o conectarse a un "
"puerto diferente."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "El servidor se ha cerrado durante el login"
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "El servidor necesita usuario y contraseña."
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr "¡Conexión exitosa!"
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr ""
"Demasiadas conexiones; pause las descargas o inténtelo de nuevo más tarde"
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr "No se pudo determinar el resultado de la conexión (%s)"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2024 by The SABnzbd-Team (sabnzbd.org)
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.4.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.1.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Finnish (https://app.transifex.com/sabnzbd/teams/111101/fi/)\n"
@@ -59,11 +60,14 @@ msgstr ""
msgid "unrar binary... NOT found"
msgstr "unrar-ohjelmaa... EI löydy!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za-ohjelmaa... EI löydy!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip-ohjelmaa... EI löydy!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -168,69 +172,8 @@ msgid "Test Notification"
msgstr "Testaa ilmoitusta"
#: sabnzbd/api.py
msgid "The hostname is not set."
msgstr "Isäntänimeä ei ole asetettu."
#: sabnzbd/api.py
msgid "There are no connections set. Please set at least one connection."
msgstr "Yhteyksiä ei ole asetettu. Aktivoi ainakin yksi yhteys."
#: sabnzbd/api.py
msgid "Password masked in ******, please re-enter"
msgstr "Salasana on piilotettu ******, syötä uudelleen"
#: sabnzbd/api.py
msgid "Invalid server details"
msgstr "Virheelliset palvelimen tiedot"
#: sabnzbd/api.py
msgid ""
"Could not connect to %s on port %s. It appears that %s operates as a web "
"server (port 80), possibly an indexer, not a usenet server. You have to fill"
" a usenet server."
msgstr ""
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Palvelimen osoite \"%s:%s\" ei ole kelvollinen."
#: sabnzbd/api.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Aikakatkaistu: Yritä laittaa SSL päälle tai yhdistä toiseen porttiin."
#: sabnzbd/api.py
msgid "Timed out"
msgstr "Aikakatkaistiin"
#: sabnzbd/api.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Tuntematon SSL protokolla: Kokeile ottaa SSL käytöstä tai vaihda porttia."
#: sabnzbd/api.py
msgid "Server requires username and password."
msgstr "Palvelin vaatii käyttäjänimen ja salasanan."
#: sabnzbd/api.py
msgid "Connection Successful!"
msgstr "Yhdistäminen onnistui!"
#: sabnzbd/api.py, sabnzbd/interface.py
msgid "Authentication failed, check username/password."
msgstr "Varmennus epäonnistui, tarkista käyttäjänimi/salasana."
#: sabnzbd/api.py
msgid "Too many connections, please pause downloading or try again later"
msgstr "Liikaa yhteyksiä, keskeytä lataaminen tai yritä myöhemmin uudelleen"
#: sabnzbd/api.py
msgid "Could not determine connection result (%s)"
msgstr "Yhteystestin lopputulosta ei voitu määrittää (%s)"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Selvitetään osoitetta"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Selvitetään osoitetta"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -242,6 +185,11 @@ msgstr "Ei mitään"
msgid "Default"
msgstr "Oletus"
#. Error message
#: sabnzbd/api.py
msgid "Failed to compile regex for search term: %s"
msgstr "Regex käännös epäonnistui hakutermille: %s"
#. Error message
#: sabnzbd/assembler.py
msgid "Disk full! Forcing Pause"
@@ -312,6 +260,10 @@ msgstr "Latausrajoitus saavutettu, keskeytetään lataukset"
msgid "Incorrect parameter"
msgstr "Virheellinen parametri"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "TUNT polku \"%s\" ei ole sallittu"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s ei ole kelvollinen sähköpostiosoite"
@@ -320,7 +272,7 @@ msgstr "%s ei ole kelvollinen sähköpostiosoite"
msgid "Server address required"
msgstr "Palvelimen osoite vaaditaan"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Virheellinen palvelimen osoite."
@@ -339,20 +291,9 @@ msgid ""
" it creates."
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Network path \"%s\" should not be used here"
msgstr ""
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Jono ei ole tyhjä, kansiota ei voida vaihtaa."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Virhe: Jono ei ole tyhjä, kansiota ei voida vaihtaa."
#. Warning message
#: sabnzbd/cfg.py
@@ -406,7 +347,7 @@ msgstr "SQL komento epäonnistui, katso loki"
msgid "Failed to close database, see log"
msgstr "Tietokannan sulkeminen epäonnistui, katso loki"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Virheellinen tila lokihistoriassa kohteelle %s"
@@ -433,10 +374,6 @@ msgstr ""
msgid "Deobfuscate renamed %d file(s)"
msgstr ""
#: sabnzbd/deobfuscate_filenames.py
msgid "Deobfuscate renamed %d subtitle file(s)"
msgstr ""
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
msgid "Direct Unpack"
msgstr ""
@@ -477,7 +414,7 @@ msgid "Paused"
msgstr "Keskeytetty"
#. Warning message
#: sabnzbd/downloader.py, sabnzbd/skintext.py
#: sabnzbd/downloader.py, sabnzbd/interface.py, sabnzbd/skintext.py
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Sinun täytyy määrittää enimmäiskaista ennen kaistarajoituksen käyttöönottoa."
@@ -510,11 +447,6 @@ msgstr "Alustaminen epäonnistui kohteessa %s@%s syy: %s"
msgid "Fatal error in Downloader"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "%s@%s: Received unknown status code %s for article %s"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Liikaa yhteyksiä palvelimelle %s [%s]"
@@ -729,15 +661,33 @@ msgstr ""
"API avain virheellinen, käytä Asetukset->Yleiset löytyvää api avainta "
"käyttämääsi kolmannen osapuolen ohjelmaan:"
#: sabnzbd/interface.py, sabnzbd/utils/servertests.py
msgid "Authentication failed, check username/password."
msgstr "Varmennus epäonnistui, tarkista käyttäjänimi/salasana."
#. Warning message
#: sabnzbd/interface.py
msgid "Unsuccessful login attempt from %s"
msgstr ""
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr ""
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr "Varoitus: LOCALHOST on hämärä, käytä numeerista IP-osoitetta."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Palvelimen osoite \"%s:%s\" ei ole kelvollinen."
#. Config->RSS, tab header
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Feed"
@@ -796,11 +746,6 @@ msgstr "VIRHE:"
msgid "Back"
msgstr "Takaisin"
#: sabnzbd/misc.py
msgid ""
"To prevent all helpful warnings, disable Special setting 'helpful_warnings'."
msgstr ""
#: sabnzbd/misc.py
msgid "d"
msgstr "pv"
@@ -865,6 +810,7 @@ msgstr ""
msgid "Running script"
msgstr "Ajetaan skripti"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Purkaessa havaittiin liikaa pakkauskerroksia [%s]"
@@ -952,6 +898,19 @@ msgstr "Käyttökelvoton RAR arkisto"
msgid "Corrupt RAR file"
msgstr "Korruptoitunut RAR arkisto"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s tiedostoa kohteessa %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Virhe \"%s\" ajettaessa unzip() kohteelle %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr ""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Yritetään purkaa 7zip arkistoa salasanalla \"%s\""
@@ -1083,10 +1042,6 @@ msgstr "Palvelin %s käyttää epäluotettavaa sertifikaattia [%s]"
msgid "Wiki"
msgstr "Wiki"
#: sabnzbd/newswrapper.py
msgid "Failed to connect: %s %s@%s:%s (%s)"
msgstr ""
#. Notification
#: sabnzbd/notifier.py
msgid "Startup/Shutdown"
@@ -1134,16 +1089,6 @@ msgstr "Jono valmistunut"
msgid "Other Messages"
msgstr "Muut viestit"
#. Notification action
#: sabnzbd/notifier.py
msgid "Open folder"
msgstr ""
#. Notification action
#: sabnzbd/notifier.py, sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Avaa valmistuneet-kansio"
#: sabnzbd/notifier.py, sabnzbd/skintext.py
msgid "Not available"
msgstr "Ei saatavilla"
@@ -1157,25 +1102,6 @@ msgstr ""
msgid "Failed to send Prowl message"
msgstr "Prowl viestin lähetys epäonnistui"
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message - no URLs defined"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "One or more Apprise URLs could not be loaded."
msgstr ""
#: sabnzbd/notifier.py
msgid "Failed to send one or more Apprise Notifications"
msgstr ""
#. Warning message
#: sabnzbd/notifier.py
msgid "Failed to send Apprise message"
msgstr ""
#. Error message
#: sabnzbd/notifier.py
msgid "Bad response from Pushover (%s): %s"
@@ -1243,18 +1169,6 @@ msgstr "Virhe ladattaessa %s, korruptoitunut tiedosto havaittu"
msgid "NZB added to queue"
msgstr "NZB lisätty jonoon"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ohitetaan kaksoiskappale NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr ""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1269,6 +1183,26 @@ msgstr "Tyhjä NZB tiedosto %s"
msgid "Pre-queue script marked job as failed"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ohitetaan kaksoiskappale NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Keskeytetään kaksoiskappale NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1287,10 +1221,6 @@ msgstr "Virhe tuotaessa %s"
msgid "DUPLICATE"
msgstr "KAKSOISKAPPALE"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "SALATTU"
@@ -1336,10 +1266,6 @@ msgstr "%s artikkelia puuttui"
msgid "%s articles had non-matching duplicates"
msgstr "%s artikkelissa oli ei-vastaavia kaksoiskappaleita"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Keskeytetään kaksoiskappale NZB \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1418,7 +1344,7 @@ msgstr "Lopeta"
msgid "Queue First 10 Items"
msgstr "Vie ensimmäiset 10 kohdetta jonoon"
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
#: sabnzbd/osxmenu.py
msgid "Empty"
msgstr "Tyhjä"
@@ -1563,11 +1489,6 @@ msgstr "Virhe %s: Syötä kelvollinen käyttäjänimi ja salasana."
msgid "Old queue detected, use Status->Repair to convert the queue"
msgstr "Vanhan version jono havaittiin, käytä Tila->Korjaa muuntaaksesi jonon"
#. Error message
#: sabnzbd/postproc.py
msgid "Failed to compile regex for search term: %s"
msgstr "Regex käännös epäonnistui hakutermille: %s"
#. Warning message
#: sabnzbd/postproc.py
msgid ""
@@ -1752,6 +1673,10 @@ msgstr "Tyhjä RSS kohde löytyi (%s)"
msgid "Show interface"
msgstr "Näytä käyttöliittymä"
#: sabnzbd/sabtray.py, sabnzbd/sabtraylinux.py
msgid "Open complete folder"
msgstr "Avaa valmistuneet-kansio"
#. Queue page button or entry box
#: sabnzbd/sabtray.py, sabnzbd/skintext.py
msgid "Pause for"
@@ -1840,11 +1765,6 @@ msgstr ""
msgid "Script"
msgstr "Skripti"
#. PP RSS feed of the NZB - Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. PP Source of the NZB (path or URL) - Where to find the SABnzbd sourcecode
#: sabnzbd/skintext.py
msgid "Source"
@@ -2117,6 +2037,7 @@ msgstr "Python versio"
msgid "Home page"
msgstr "Kotisivu"
#. Used in "IRC or IRC-Webaccess"
#: sabnzbd/skintext.py
msgid "or"
msgstr "tai"
@@ -2183,8 +2104,8 @@ msgstr "Foorumi"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Live Chat"
msgstr ""
msgid "IRC"
msgstr "IRC"
#. Main menu item
#: sabnzbd/skintext.py
@@ -2216,6 +2137,11 @@ msgstr "Muuttujat"
msgid "Scheduling"
msgstr "Ajastus"
#. Main menu item
#: sabnzbd/skintext.py
msgid "RSS"
msgstr "RSS"
#. Main menu item
#: sabnzbd/skintext.py
msgid "Notifications"
@@ -2330,6 +2256,11 @@ msgstr "Nimi"
msgid "Retry"
msgstr "Yritä uudelleen"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Toiminnot"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2340,11 +2271,6 @@ msgstr "Skriptit"
msgid "Delete all items from the queue?"
msgstr "Poistetaanko kaikki kohteet jonosta?"
#. Delete confirmation popup
#: sabnzbd/skintext.py
msgid "Are you sure you want to remove these jobs?"
msgstr ""
#. Queue page button
#: sabnzbd/skintext.py
msgid "Purge NZBs"
@@ -2365,11 +2291,6 @@ msgstr "Poista NZB"
msgid "Remove NZB & Delete Files"
msgstr "Poista NZB ja tiedostot"
#. Checkbox if job should be added to Archive
#: sabnzbd/skintext.py
msgid "Permanently delete (skip archive)"
msgstr ""
#. Caption for missing articles in Queue
#: sabnzbd/skintext.py
msgid "Missing articles"
@@ -2389,10 +2310,6 @@ msgstr "käsikäyttöinen"
msgid "Reset Quota now"
msgstr "Resetoi latausrajoitus nyt"
#: sabnzbd/skintext.py
msgid "Archive"
msgstr ""
#. Button/link hiding History job details
#: sabnzbd/skintext.py
msgid "Hide details"
@@ -2413,11 +2330,6 @@ msgstr "Näytä epäonnistuneet"
msgid "Show All"
msgstr "Näytä kaikki"
#. Button showing all archived jobs
#: sabnzbd/skintext.py
msgid "Show Archive"
msgstr ""
#. History table header - Size of the download quota
#: sabnzbd/skintext.py
msgid "Size"
@@ -2643,13 +2555,29 @@ msgid ""
msgstr ""
"Istunto vanhenee kun IP-osoite vaihtuu tai SABnzbd käynnistetään uudelleen."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Unzip käytössä"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "7zip käytössä"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
" be encrypted, however, validating a server's identity using its "
"certificates is not possible. OpenSSL 1.0.2 or above and up-to-date local CA"
" certificates are required."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2666,6 +2594,7 @@ msgstr "Käynnissäoloaika"
msgid "Backup"
msgstr "Varmuuskopioi"
#. Notification Script settings
#: sabnzbd/skintext.py
msgid "Read the Wiki Help on this!"
msgstr "Lue Wikin ohjeet tähän!"
@@ -2699,12 +2628,12 @@ msgid "Port SABnzbd should listen on."
msgstr "Portti jota SABnzbdn tulisi kuunnella."
#: sabnzbd/skintext.py
msgid "Web Interface Theme"
msgstr ""
msgid "Web Interface"
msgstr "Web-käyttöliittymä"
#: sabnzbd/skintext.py
msgid "Choose a theme."
msgstr ""
msgid "Choose a skin."
msgstr "Valitse teema."
#: sabnzbd/skintext.py
msgid "SABnzbd Username"
@@ -2856,35 +2785,26 @@ msgstr ""
msgid "History Retention"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Automatically delete completed jobs from History. Beware that Duplicate "
"Detection and some external tools rely on History information."
msgstr ""
#: sabnzbd/skintext.py
msgid "Keep all jobs"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Move jobs to the archive if the history exceeds specified number of jobs"
msgid "Keep maximum number of completed jobs"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Delete jobs if the history and archive exceeds specified number of jobs"
msgid "Keep completed jobs maximum number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move jobs to the archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Delete jobs from the history and archive after specified number of days"
msgstr ""
#: sabnzbd/skintext.py
msgid "Move all completed jobs to archive"
msgstr ""
#: sabnzbd/skintext.py
msgid "Delete all completed jobs"
msgid "Do not keep any completed jobs"
msgstr ""
#: sabnzbd/skintext.py
@@ -3161,10 +3081,6 @@ msgstr ""
"Sijainti jonne SABnzbd ohjelman lokitiedostot tallennetaan.<br /><i>Vaatii "
"SABnzbd uudelleenkäynnistyksen!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr ".nzb varmuuskopiokansio"
@@ -3237,19 +3153,23 @@ msgstr ""
" lataamista."
#: sabnzbd/skintext.py
msgid "Identical download detection"
msgid "Detect Duplicate Downloads"
msgstr "Tunnista päällekkäiset lataukset"
#: sabnzbd/skintext.py
msgid ""
"Detect identical NZB files (based on items in your History or files in .nzb "
"Backup Folder)"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect identical downloads based on name or NZB contents."
msgstr ""
msgid "Detect duplicate episodes in series"
msgstr "Tunnista identtiset jaksot sarjassa"
#: sabnzbd/skintext.py
msgid "Smart duplicate detection"
msgstr ""
#: sabnzbd/skintext.py
msgid "Detect duplicates based on analysis of the filename."
msgid ""
"Detect identical episodes in series (based on \"name/season/episode\" of "
"items in your History)"
msgstr ""
#: sabnzbd/skintext.py
@@ -3258,8 +3178,8 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Bypass smart duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name."
"Bypass series duplicate detection if PROPER, REAL or REPACK is detected in "
"the download name"
msgstr ""
#. Four way switch for duplicates
@@ -3269,17 +3189,18 @@ msgstr "Hylkää"
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Tag job"
msgid "Fail job (move to History)"
msgstr ""
#. Four way switch for duplicates
#: sabnzbd/skintext.py
msgid "Fail job (move to History)"
msgid "Tag job"
msgstr ""
#. Three way switch for encrypted posts
#: sabnzbd/skintext.py
msgid "Abort post-processing"
msgstr ""
msgid "Abort"
msgstr "Peruuta"
#: sabnzbd/skintext.py
msgid "Action when unwanted extension detected"
@@ -3327,6 +3248,15 @@ msgstr ""
"Kun käyttäjän skripti palauttaa nollasta poikkeavan koodin, lataus merkitään"
" epäonnistuneeksi."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Epäonnistuessa, kokeile vaihtoehtoista NZB:tä"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Jotkin palvelimet tarjoavat vaihtoehtoisen NZB:n kun lataus epäonnistuu."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Kansion uudelleennimeäminen käytössä"
@@ -3347,14 +3277,6 @@ msgstr "Esijonon käyttäjän skripti"
msgid "Used before an NZB enters the queue."
msgstr "Käytetään ennen NZB lisäämistä jonoon."
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Ylimääräiset PAR2 parametrit"
@@ -3409,6 +3331,10 @@ msgstr ""
msgid "Check for New Release"
msgstr "Tarkista uusi versio"
#: sabnzbd/skintext.py
msgid "Weekly check for new SABnzbd release."
msgstr "Tarkistaa viikottain uusimman SABnzbd version."
#. Pick list for weekly test for new releases
#: sabnzbd/skintext.py
msgid "Also test releases"
@@ -3594,6 +3520,27 @@ msgid ""
msgstr ""
"Peruutetaan lataus, jos ladattaessa huomataan liikaa tiedostoja puuttuvan"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr ""
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr ""
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr ""
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr ""
"Hyödyllinen jos uutispalvelimella on enemmän kuin yksi IPv4/IPv6 osoite"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -3729,6 +3676,14 @@ msgstr "Testataan pavelimen tietoja..."
msgid "Bandwidth"
msgstr "Kaista"
#: sabnzbd/skintext.py
msgid "Send Group"
msgstr "Lähetä ryhmä"
#: sabnzbd/skintext.py
msgid "Send group command before requesting articles."
msgstr "Lähettää ryhmäkomennon ennen artikkeleiden pyytämistä."
#: sabnzbd/skintext.py
msgid "Personal notes"
msgstr "Henkilökohtaiset huomautukset"
@@ -4113,30 +4068,6 @@ msgstr "Laite"
msgid "Device to which message should be sent"
msgstr "Laite johon viesti lähetetään"
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Enable Apprise notifications"
msgstr ""
#: sabnzbd/skintext.py
msgid "Send notifications using Apprise to almost any notification service"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Default Apprise URLs"
msgstr ""
#. Apprise settings
#: sabnzbd/skintext.py
msgid "Use a comma and/or space to identify more than one URL."
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Override the default URLs for specific notification types below, if desired."
msgstr ""
#. Header for Notification Script notification section
#: sabnzbd/skintext.py
msgid "Notification Script"
@@ -4510,10 +4441,6 @@ msgstr "VAROITUS:"
msgid "Fetch"
msgstr "Nouda"
#: sabnzbd/skintext.py
msgid "Web Interface"
msgstr "Web-käyttöliittymä"
#: sabnzbd/skintext.py
msgid "Refresh rate"
msgstr "Päivitysväli"
@@ -4618,12 +4545,6 @@ msgstr "Ylin"
msgid "Bottom"
msgstr "Alin"
#: sabnzbd/skintext.py
msgid ""
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
"completed' are disabled."
msgstr ""
#: sabnzbd/skintext.py
msgid "View Script Log"
msgstr "Näytä skriptien loki"
@@ -4892,3 +4813,53 @@ msgstr "Osoitteen nouto epäonnistui; %s"
#: sabnzbd/urlgrabber.py
msgid "Trying to fetch NZB from %s"
msgstr "Yritetään noutaa NZB osoitteesta %s"
#: sabnzbd/utils/servertests.py
msgid "The hostname is not set."
msgstr "Isäntänimeä ei ole asetettu."
#: sabnzbd/utils/servertests.py
msgid "There are no connections set. Please set at least one connection."
msgstr "Yhteyksiä ei ole asetettu. Aktivoi ainakin yksi yhteys."
#: sabnzbd/utils/servertests.py
msgid "Password masked in ******, please re-enter"
msgstr "Salasana on piilotettu ******, syötä uudelleen"
#: sabnzbd/utils/servertests.py
msgid "Invalid server details"
msgstr "Virheelliset palvelimen tiedot"
#: sabnzbd/utils/servertests.py
msgid "Timed out: Try enabling SSL or connecting on a different port."
msgstr "Aikakatkaistu: Yritä laittaa SSL päälle tai yhdistä toiseen porttiin."
#: sabnzbd/utils/servertests.py
msgid "Timed out"
msgstr "Aikakatkaistiin"
#: sabnzbd/utils/servertests.py
msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr ""
"Tuntematon SSL protokolla: Kokeile ottaa SSL käytöstä tai vaihda porttia."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "Palvelin lopetettiin kesken kirjautumisen"
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Palvelin vaatii käyttäjänimen ja salasanan."
#: sabnzbd/utils/servertests.py
msgid "Connection Successful!"
msgstr "Yhdistäminen onnistui!"
#: sabnzbd/utils/servertests.py
msgid "Too many connections, please pause downloading or try again later"
msgstr "Liikaa yhteyksiä, keskeytä lataaminen tai yritä myöhemmin uudelleen"
#: sabnzbd/utils/servertests.py
msgid "Could not determine connection result (%s)"
msgstr "Yhteystestin lopputulosta ei voitu määrittää (%s)"

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