Compare commits

..

272 Commits

Author SHA1 Message Date
Safihre
5e42e25617 Set version to 4.0.0 2023-04-28 14:56:51 +02:00
Safihre
c27c9564cf Merge branch '4.0.x' 2023-04-28 14:53:02 +02:00
Safihre
c4b0da335d Update text files for 4.0.0 2023-04-28 14:47:36 +02:00
Safihre
fab36ec008 Set version to 3.7.2 2023-02-05 22:17:20 +01:00
Safihre
8a2b875779 Merge branch '3.7.x' 2023-02-05 22:15:54 +01:00
Safihre
efaffb8298 Update text files for 3.7.2 2023-02-05 22:15:40 +01:00
jcfp
e004eb3f00 restore startup history purge (#2449) 2023-02-05 22:08:12 +01:00
Safihre
43e8f6dc81 Update formatting with black 23 rules 2023-02-05 22:08:07 +01:00
Safihre
f5bff8fe7c Update copyright year to 2023 2023-02-05 22:07:42 +01:00
Safihre
fad8484b93 Update text files for 3.7.2RC1 2023-01-23 21:49:08 +01:00
Safihre
7664b54f89 Fix orjson to 3.8.3 due to issue in 3.8.4 2023-01-15 13:52:25 +01:00
Safihre
21cbc353dd Update text files for 3.7.2Beta1 2023-01-15 13:46:21 +01:00
Safihre
8d66306ec4 Merge branch 'develop' into 3.7.x 2023-01-15 13:35:21 +01:00
Safihre
479daf0e76 Set version to 3.7.1 2022-12-16 22:04:36 +01:00
Safihre
bf0fbb7b10 Merge branch '3.7.x' 2022-12-16 22:03:56 +01:00
Safihre
d3c91f1585 Update text files for 3.7.1 2022-12-16 22:02:40 +01:00
Safihre
ca165b328a Update text files for 3.7.1RC2 2022-12-06 17:10:08 +01:00
Safihre
fa2ffeea92 Merge branch 'develop' into 3.7.x 2022-12-06 17:07:31 +01:00
Safihre
0d00965ac3 Update text files for 3.7.1RC1 2022-12-01 16:33:59 +01:00
Safihre
7d7bec1f80 Merge branch 'develop' into 3.7.x 2022-12-01 16:09:09 +01:00
Safihre
b6fd915365 Set version to 3.7.0 2022-11-04 10:36:24 +01:00
Safihre
fecae72267 Merge branch '3.7.x' 2022-11-04 10:23:22 +01:00
Safihre
7bffd91e3f Update text files for 3.7.0 2022-11-04 10:18:37 +01:00
Safihre
f859521a7e Replace apple-actions/import-codesign-certs 2022-11-04 10:17:28 +01:00
renovate[bot]
a869386fac Update dependency cryptography to v38.0.3 [SECURITY] 2022-11-04 09:30:25 +01:00
Safihre
8bc7885b7a Update translatable texts
[skip ci]
2022-11-04 09:29:14 +01:00
Safihre
78be46738d Correct typo of Python 3.11 version 2022-10-27 10:07:01 +02:00
Safihre
6fce73855c Update text files for 3.7.0RC1 2022-10-27 09:08:20 +02:00
Safihre
fa844a6223 Update Release Notes with right version 2022-08-18 10:46:08 +02:00
Safihre
906379dd09 Set all versions to 3.6.1 2022-08-18 09:52:31 +02:00
Safihre
37cded612f Set version to 3.6.1 2022-08-18 08:48:09 +02:00
Safihre
73e8fade61 Merge branch '3.6.x' 2022-08-18 08:47:17 +02:00
Safihre
758cc7afab Update text files for 3.6.1RC2 2022-08-12 20:18:11 +02:00
Safihre
d74b7b06d2 Update Unrar to 6.11/6.12
Closes #2265
2022-08-12 20:16:34 +02:00
Safihre
39009f2f71 Update text files for 3.6.1RC1 2022-08-03 21:44:29 +02:00
jcfp
9fdc1c6813 use OSType in pyfakefs instead of setting separate properties (#2243) 2022-08-03 21:44:29 +02:00
Safihre
c5568fe830 Remove deprecation notices 2022-08-02 22:31:49 +02:00
Safihre
bad81f84b9 Update dependencies and Python version 2022-08-02 22:29:58 +02:00
Safihre
2ac08dd0e6 Remove new QuickCheck implementation
See https://github.com/sabnzbd/sabnzbd/discussions/2160
And https://github.com/sabnzbd/sabnzbd/issues/2251
2022-08-02 22:21:12 +02:00
Safihre
408ffc4539 Downloads in Checking-status were not displayed correctly
Closes #2249
2022-07-25 11:02:50 +02:00
Safihre
eb958327c5 Prevent scheduler crash if event is canceled that was no longer queued
https://www.reddit.com/r/SABnzbd/comments/vfa1fr/what_is_causing_this_error_its_not_harming/
2022-06-19 20:37:14 +02:00
Safihre
e157d77a1e Prevent crash in new Quick-check if file was already moved 2022-06-16 13:54:19 +02:00
Joulinar
e961c9ea8f Update sabyenc3 to 5.4.3 (#2209)
* Update requirements.txt

Update requirements sabyenc3 to new version

* Update sabyenc3 to 5.4.3

Update sabyenc3 to 5.4.2
2022-06-15 13:25:27 +02:00
Safihre
258c4f769d Prevent showing crash on Status window during Shutdown 2022-06-14 14:59:06 +02:00
Safihre
b31fedd857 Set version to 3.6.0 2022-06-07 12:23:13 +02:00
Safihre
eafe69500b Merge branch '3.6.x' 2022-06-07 12:22:36 +02:00
Safihre
ae09990c43 Update text files for 3.6.0 2022-06-07 12:20:28 +02:00
Safihre
cf54b65c32 Remove enable_https_verification from possible deprecation list 2022-06-07 09:29:09 +02:00
Safihre
7974421fa1 Update text files for 3.6.0RC3 2022-05-29 14:34:48 +02:00
Safihre
847a098d4e Update sabyenc3 to 5.4.2 2022-05-29 14:28:55 +02:00
Safihre
eb4de0ae0f Remove helpful warning about new quick-check for release 2022-05-28 20:19:59 +02:00
Safihre
bca9f3b753 Set version to 3.5.3 2022-03-17 14:29:50 +01:00
Safihre
cad8a9a5d3 Merge branch '3.5.x' 2022-03-17 14:12:55 +01:00
Safihre
f5f36d21e8 Update text files 3.5.3 2022-03-17 14:12:40 +01:00
Safihre
c51435c114 Revert "Notify users of Prowl/Pushover/Pushbullet to switch to nzb-notify"
This reverts commit 56fe140ebf.
2022-03-15 21:52:16 +01:00
Safihre
2a7f1780b4 Update text files for 3.5.3RC1 2022-03-13 13:26:18 +01:00
Safihre
98a44e40fb Jobs waiting to fetch get stuck indefinitely upon restart
Closes #2114
2022-03-11 16:29:28 +01:00
Safihre
65cf6fa9a1 Prevent Direct Unpack proceeding faster than it should, locking files
Relates to #2113
2022-03-11 16:29:19 +01:00
Safihre
b2e32d1720 Log also the OSError.winerror just to be sure 2022-03-11 16:29:11 +01:00
Safihre
f0bfedbe8e Revert "Revert "Disable buffering when writing files in assembler""
This reverts commit 03b380f90b.
2022-03-11 16:29:04 +01:00
Safihre
fd4e059c13 Set version to 3.5.2 2022-03-09 14:33:48 +01:00
Safihre
a53575e154 Merge branch '3.5.x' 2022-03-09 14:24:26 +01:00
Safihre
4a73484603 Update text files for 3.5.2 2022-03-09 14:24:13 +01:00
Safihre
03b380f90b Revert "Disable buffering when writing files in assembler"
This reverts commit 3c3aeac93c.

It turns out this causes problems!
2022-03-03 15:44:15 +01:00
Safihre
a2bd3b2dfe RSS filters At most/least were broken 2022-03-01 08:42:31 +01:00
Safihre
56fe140ebf Notify users of Prowl/Pushover/Pushbullet to switch to nzb-notify
Relates to #2093
2022-02-24 16:47:44 +01:00
Safihre
4fafcce740 Set version to 3.5.1 2022-02-20 19:47:55 +01:00
Safihre
02352c4ae6 Merge branch '3.5.x' 2022-02-20 19:37:50 +01:00
Safihre
4b74aab335 Update text files for 3.5.1 2022-02-20 19:36:51 +01:00
Safihre
2d67ac189d Add Debug logging when applying permissions failed 2022-02-16 13:08:12 +01:00
Safihre
8ece62e23d Add small delay to test_download check of result file
To prevent zip-test-failures on Windows.
2022-02-16 12:48:53 +01:00
Safihre
56c2bdd77d Allow chmod failures if no custom permissions are set
This is the same as before 3.5.0!
2022-02-16 11:32:15 +01:00
Safihre
1f555f1930 Update text files for 3.5.1RC2 2022-02-14 09:22:45 +01:00
Wolfgang Scherer
8496432c14 Do not fail if attribute subject is missing in NZB file-section (#2075)
* Use attribute poster of file element, if attribute subject ist missing

* Don't fail, if subject is missing.

* Textual change

Co-authored-by: Safihre <safihre@sabnzbd.org>
2022-02-14 09:16:29 +01:00
jcfp
1672ffa670 set log level of "completed not on fat" to debug 2022-02-14 09:16:23 +01:00
Safihre
6aab199f12 Wait before removing the temporary directory in binary test 2022-02-09 14:58:17 +01:00
Safihre
46d0c379a4 Fix version of more dependencies 2022-02-09 14:58:12 +01:00
Safihre
99240f145a Restore correct display of Direct Unpack progress 2022-02-07 15:27:54 +01:00
Safihre
3c9079d73c Correctly handle the transition from download to active post-processing 2022-02-07 15:22:58 +01:00
Safihre
0eb98b9a6c Use nzo.deleted instead of nzo.is_gone to prevent assembly during pp
Relates to #2059, #2054 and #1509.
2022-02-07 12:14:00 +01:00
Safihre
76bfd98b77 Prevent Direct Unpack crash on obfuscated posts
Closes #2060
2022-02-07 11:57:55 +01:00
Safihre
3348640c88 Correct undefined function remove_data 2022-02-05 09:51:36 +01:00
Safihre
d81c64fd2b Use notarytool on macOS to do notarization 2022-02-04 22:28:46 +01:00
Safihre
8b4c919617 Test starting of binary during release building 2022-02-04 21:53:04 +01:00
Safihre
76c58953df Pin even more requirements
Closes #2056
2022-02-04 10:09:53 +01:00
thezoggy
4ddc5caa49 pin builder setuptools to deal with breakage on pyinstaller 4.8 2022-02-04 09:08:51 +01:00
Safihre
694663bd95 Update text files for 3.5.1RC1 2022-02-03 20:09:38 +01:00
Safihre
62aba5844e Add small delay between volumes in Direct Unpack to prevent UnRar error 2022-01-31 12:23:38 +01:00
Safihre
d0d60cef05 Disable buffering when writing files in assembler 2022-01-31 12:23:31 +01:00
Safihre
3d293fdcb0 RSS feeds with HTML-chars in the feed name would result in crash 2022-01-31 12:23:23 +01:00
Safihre
96e9528046 Fix dependencies in requirements.txt and configure dependabot 2022-01-30 10:52:52 +01:00
Safihre
4ea24b3203 Black formatting update 2022-01-30 09:43:31 +01:00
Safihre
a756eea25a Set version to 3.5.0 2022-01-28 11:47:15 +01:00
Safihre
210020e489 Merge branch '3.5.x' 2022-01-28 11:42:22 +01:00
Safihre
e586ead024 Update text files for 3.5.0 2022-01-28 11:39:21 +01:00
Safihre
14c80bf1dc Reduce par2cmdline output log in Debug mode 2022-01-28 11:35:59 +01:00
Safihre
bdd56e794a Prevent extra error when no 7zip is available
Closes #2036, #2035
2022-01-23 13:41:26 +01:00
Safihre
a544548934 Set Python for macOS release to 3.10.2 2022-01-21 16:53:29 +01:00
Safihre
e06c1d61fb Update text files for 3.5.0RC4 2022-01-18 09:41:26 +01:00
Safihre
600c5209c6 HTML-sanitizer would sanitize the source data
Closes #2026
2022-01-17 14:08:08 +01:00
Safihre
bee90366ee Update text files for 3.5.0RC3 2022-01-16 19:02:50 +01:00
Safihre
e9bc4e9417 Sort sevenset so x.7z.001 is always the first file 2022-01-15 17:09:21 +01:00
Safihre
f01ff15761 Failed 7zip unpack was not reported in the history 2022-01-15 17:05:03 +01:00
Safihre
356ada159d Update text files for 3.5.0RC2 2022-01-13 14:48:30 +01:00
Safihre
cc831e16d8 Set version to 3.4.2 2021-10-15 08:28:14 +02:00
Safihre
b8dc46ad01 Merge branch '3.4.x' 2021-10-15 08:24:21 +02:00
Safihre
d8ab19087d Update text files for 3.4.2 2021-10-15 08:19:00 +02:00
Safihre
ec8a79eedd Revert to using regex based sample detection
Closes #1964
2021-10-13 18:24:48 +02:00
Safihre
f1e2a8e9d8 Prevent double guessit parsing 2021-10-12 09:02:03 +02:00
Safihre
4042a5fe5d Update text files for 3.4.2RC3 2021-10-08 10:41:27 +02:00
Safihre
a4752751ed Fix tavern for Python 3.6 and run tests on Python 3.10 (Linux-only) 2021-10-08 10:34:14 +02:00
Safihre
e23ecf46d1 Correct behavior of Sorter when no filename and/or extension is supplied
Closes #1962, #1957
2021-10-08 10:24:44 +02:00
Safihre
70a8c597a6 Only fail jobs if the sorter should have renamed 2021-10-08 09:58:17 +02:00
Safihre
fa639bdb53 Use general detection of RAR-files in file-extension correction
Correct file_extension test
2021-10-08 09:58:17 +02:00
Safihre
233bdd5b1d Update text files for 3.4.2RC2 2021-10-06 15:00:44 +02:00
Safihre
a0ab6d35c7 Require at least 1 category to be set for Sorting and warn if not set
Before 3.4.0, only for TV sorting we allowed to set 0 categories. But for Movies and Date Sorting we did require at least 1 category to be set. This was harmonized in 3.4.0, breaking existing setups. Added warning for those users.
The Sorting behavior is different from Notifications: in Notifications selecting Default only(!) means to apply it to all categories.
However, that has never been the case for Sorting. So for now added a bit more help texts to the Affected categories box on both pages.
2021-10-06 14:50:00 +02:00
Sander
bd29680ce7 make .cbz a well-known extension, so that no extension is added (#1960) 2021-10-06 14:49:54 +02:00
Sander
7139e92554 make .cbr a well-known extension, so that no extension (".rar") is added (#1959) 2021-10-05 12:19:55 +02:00
Safihre
897df53466 Check for puremagic and guessit first and add comments about cherrypy 2021-10-04 08:57:58 +02:00
Safihre
58281711f6 Always show number of MB missing
https://forums.sabnzbd.org/viewtopic.php?f=2&t=25573
2021-10-04 08:57:51 +02:00
Safihre
b524383aa3 Job failure due to Sorting-problems was not shown in the interface 2021-10-01 15:35:09 +02:00
Safihre
75a16e3588 Update text files for 3.4.2RC1 2021-09-30 09:04:12 +02:00
Safihre
1453032ad6 rXX files are popular extensions and don't need renames
Closes #1955
2021-09-29 13:53:47 +02:00
Safihre
824ab4afad Do not search whole file when checking if txt or nzb file 2021-09-29 13:53:37 +02:00
Safihre
73dd41c67f Only run process_unpacked_par2 when cleanup happened
Relates to https://forums.sabnzbd.org/viewtopic.php?f=1&t=25552
2021-09-29 13:53:32 +02:00
Safihre
59ee77355d Make add_parfile return if it could actually add the file
Maybe it was long finished, which could result in crashes.
Closes #1953
2021-09-29 13:53:20 +02:00
Safihre
5c758773ad Do not rename in decode_par2 if the filename didn't change
Closes #1952
2021-09-29 13:53:14 +02:00
Safihre
46de49df06 Set version to 3.4.1 2021-09-23 09:21:11 +02:00
Safihre
d1c54a9a74 Merge branch 'develop' 2021-09-23 08:50:17 +02:00
Safihre
e7527c45cd Set version to 3.4.0 2021-09-17 22:01:19 +02:00
Safihre
7d5207aa67 Merge branch 'develop' 2021-09-17 20:46:31 +02:00
Safihre
654302e691 Set version to 3.3.1 2021-06-18 13:52:58 +02:00
Safihre
ee673b57fd Merge branch '3.3.x' 2021-06-18 13:51:48 +02:00
Safihre
2be374b841 Update text files for 3.3.1 2021-06-18 13:51:33 +02:00
puzzledsab
906e1eda89 Keep password order 2021-06-13 16:21:41 +02:00
Safihre
ece02cc4fa Automatically publish release when all files are present 2021-06-11 17:39:30 +02:00
Safihre
876ad60ddf Update text files for 3.3.1RC1 2021-06-11 14:59:25 +02:00
Safihre
862da354ac Add direct opening of tabs by URL to Glitter tab-layout 2021-06-11 14:28:31 +02:00
Safihre
8fd477b979 Include wiki URL in Internal internet access denied message 2021-06-05 15:56:20 +02:00
Safihre
2d7005655c Clean timeline_total of BPSMeter
Received multiple reports that somehow it could get corrupt values in there
2021-06-05 15:56:16 +02:00
Safihre
7322f8348a Filtering active post-proc queue by category was broken 2021-06-05 15:56:09 +02:00
Safihre
e3e3a12e73 Correct example in test_name_extractor 2021-06-05 15:56:04 +02:00
Safihre
77cdd057a4 Filenames should end after the extension 2021-06-01 11:19:49 +02:00
Safihre
e8206fbdd9 Set version to 3.3.0 2021-06-01 07:35:13 +02:00
Jiri van Bergen
589f15a77b Merge branch '3.3.x' 2021-06-01 07:34:59 +02:00
Safihre
7bb443678a Build release when creating the tag 2021-06-01 07:18:41 +02:00
Safihre
6390415101 Update text files for 3.3.0 2021-06-01 07:16:42 +02:00
Sander
4abf192e11 deobfuscate: bugfix for collections if extension in CAPITALS (#1904) 2021-06-01 07:06:21 +02:00
Safihre
1fed37f9da Notify users that Plush will be removed in 3.4.0
Relates to #1902
2021-05-25 09:28:10 +02:00
Safihre
a9d86a7447 Set version to 3.2.1 2021-03-31 10:24:42 +02:00
Safihre
2abe4c3cef Merge branch '3.2.x' 2021-03-31 09:25:49 +02:00
Safihre
0542c25003 Update text files for 3.2.1
draft release
2021-03-31 09:24:31 +02:00
puzzledsab
1b8ee4e290 Show server expiration date in server summary (#1841) 2021-03-31 08:57:38 +02:00
Safihre
51128cba55 Do not notify warning/errors from same source twice
Closes #1842
2021-03-30 17:30:07 +02:00
Safihre
3612432581 Do not discard data for CrcError's
https://forums.sabnzbd.org/viewtopic.php?f=11&t=25278
2021-03-30 16:05:04 +02:00
Safihre
deca000a1b Revert some improvements to the encrypted RAR-detection
Closes #1840
2021-03-29 14:05:52 +02:00
Safihre
39cccb5653 Update text files for 3.2.1RC2
draft release
2021-03-24 10:13:43 +01:00
Safihre
f6838dc985 Improvements to the encrypted RAR-detection 2021-03-20 18:32:11 +01:00
Safihre
8cd4d92395 Make get_all_passwords return only unique passwords
If the filename and the NZB specified the same one it could occur 2 or 3 times.
2021-03-20 18:32:05 +01:00
Safihre
3bf9906f45 Update text files for 3.2.1RC1
draft release
2021-03-18 10:30:05 +01:00
Safihre
9f7daf96ef Update URL for Python 3 information 2021-03-18 09:10:39 +01:00
Sander
67de4df155 deobfuscate: no globber, but use given filelist (#1830) 2021-03-18 09:10:31 +01:00
Safihre
bc51a4bd1c Remove old compatibility code from BPSMeter that causes crash on startup
Closes #1827
2021-03-18 09:10:23 +01:00
Sander
bb54616018 deobfuscate: rename accompanying (smaller) files with same basename, and no renaming of collections with same extension (#1826)
* deobfuscate: rename accompanying (smaller) files with same basename

* deobfuscate: do not rename collections of same extension

* deobfuscate: collection ... much easier with one loop, thanks safihre.

* deobfuscate: globber_full, and cleanup

* deobfuscate: unittest test_deobfuscate_big_file_small_accompanying_files

* deobfuscate: unittest test_deobfuscate_collection_with_same_extension

* deobfuscate: unittest test_deobfuscate_collection_with_same_extension
2021-03-18 09:10:18 +01:00
Safihre
6bcff5e014 More space for the RSS table
Closes #1824
2021-03-18 09:10:09 +01:00
puzzledsab
8970a03a9a Use binary mode to make write test more accurate on Windows (#1815) 2021-03-10 22:23:10 +01:00
Safihre
3ad717ca35 Single indexer categories would be saved with "," between each letter 2021-03-10 22:23:10 +01:00
jcfp
b14f72c67a fix config auto_sort setting, broken by #1666 (#1813)
* fix config auto_sort setting, broken by #1666

* oops I did it again
2021-03-10 22:23:10 +01:00
Safihre
45d036804f Show name of item to be deleted from queue/history in confirm dialog 2021-03-10 22:23:10 +01:00
Safihre
8f606db233 Add traceback when failing to read the password file
Closes #1810
2021-03-10 22:23:10 +01:00
Safihre
3766ba5402 pre-create subdir if needed (POSIX, par2) (#1802)
* pre-create subdir it needed

* pre-create subdir it needed: check if already exists

* use os.makedirs() to handle subdir1/subdir2/blabla

* protect against malicous "..", and better naming

* check for Windows \ and POSIX /

* check again within path, typo and formatting

* regex: square brackets

* cleanup: only "/" can occur in par2

* cleanup: better logging

* unit test: testing of filesystem.renamer()

* if subdir specified in par2: let filesystem.renamer() do all the work

* if create_local_directories=True, then renamer() must stay within specified directory. Plus unittest for that.

* if create_local_directories=True, then renamer() must stay within specified directory. Plus unittest for that.

* more comments in code

* use filesystem.create_all_dirs(), less logging, clearer "..", and other feedback from Safihre

* make remote black happy too

* Small changes in wording of comments and error

Co-authored-by: Safihre <safihre@sabnzbd.org>
2021-03-10 22:23:10 +01:00
jxyzn
e851813cef Sanitize names possibly derived from X-DNZB-EpisodeName (#1806) 2021-03-10 22:15:23 +01:00
thezoggy
4d49ad9141 3.2.x cleanup (#1808)
* Update uni_config bootstrap css to same version of js (3.3.7).
* small accessibility change, removed thin dot border on focus

* Ignore VS Code settings folder

* cherry picked 'Fix disabled select for Glitter Night'

* glitter night - fix search border color
2021-02-27 14:47:44 +01:00
Safihre
16618b3af2 Set version to 3.2.0 2021-02-26 10:30:00 +01:00
Safihre
0e5c0f664f Merge branch '3.2.x' 2021-02-26 10:29:39 +01:00
Safihre
7be9281431 Update text files for 3.2.0
draft release
2021-02-26 09:56:47 +01:00
Safihre
ee0327fac1 Update macOS build Python to 3.9.2 2021-02-26 09:44:51 +01:00
Safihre
9930de3e7f Log all nzo_info when adding NZB's
Relates to #1806
2021-02-26 09:18:14 +01:00
Sander
e8503e89c6 handle gracefully if no malloc_trim() available (#1800) 2021-02-26 09:18:00 +01:00
puzzledsab
1d9ed419eb Remove some redundant ifs (#1791) 2021-02-26 09:17:29 +01:00
Safihre
0207652e3e Update text files for 3.2.0RC2
draft release
2021-02-08 21:02:38 +01:00
Safihre
0f1e99c5cb Update translatable texts 2021-02-08 13:29:16 +01:00
puzzledsab
f134bc7efb Right-to-Left support for Glitter and Config (#1776)
* Add rtl on main page

* Adjustments to rtl

* Forgot to add black check for this checkout

* Remove unnecessary style

* Remove more redundant attributes

* Some more reordering and alignment

* Align sorting and nzb drop downs

* Update NZB details and shutdown page

* Fix format

* Fix SABnzbd Config title tag

* Change file list header direction

* Set rtl variables in build_header instead and test dir="rtl" in config pages

* Revert some changes and handle styling using CSS

* Move more items to CSS

* Config RTL

* Move even more to CSS

* Small tweak

Co-authored-by: Safihre <safihre@sabnzbd.org>
2021-02-08 13:23:03 +01:00
puzzledsab
dcd7c7180e Do full server check when there are busy_threads (#1786)
* Do full server check when there are busy_threads

* Reduce next_article_search delay to 0.5s
2021-02-08 13:19:38 +01:00
jcfp
fbbfcd075b fix bonjour with localhost, retire LOCALHOSTS constant (#1782)
* fix bonjour with localhost, retire LOCALHOSTS constant

* rename probablyipv[46] functions to is_ipv[46]_addr

* refuse to send ssdp description_xml to outsiders
2021-02-08 13:19:30 +01:00
Safihre
f42d2e4140 Rename Glitter Default to Light and make Auto the new Default 2021-02-05 15:01:28 +01:00
Sam Edwards
88882cebbc Support for auto night mode switching in Glitter (#1783) 2021-02-05 15:01:13 +01:00
Safihre
17a979675c Do not re-release from GA when the release tag is pushed 2021-02-05 15:01:04 +01:00
Safihre
4642850c79 Set macOS Python installer target to "/" 2021-02-05 15:01:00 +01:00
Safihre
e8d6eebb04 Set version to 3.1.1 2020-11-11 22:04:44 +01:00
Safihre
864c5160c0 Merge branch '3.1.x' 2020-11-11 22:01:20 +01:00
Safihre
99b5a00c12 Update text files for 3.1.1 2020-11-11 21:56:15 +01:00
Safihre
85ee1f07d7 Do not crash if we cannot format the error message 2020-11-08 15:06:50 +01:00
exizak42
e58b4394e0 Separate email message lines are with CRLF (#1671)
SMTP protocol dictates that all lines are supposed to be separated
with CRLF and not LF (even on LF-based systems). This change ensures
that even if the original byte string message is using `\n` for line
separators, the SMTP protocol will still work properly.

This resolves sabnzbd#1669

Fix code formatting
2020-11-08 14:44:44 +01:00
Safihre
1e91a57bf1 It was not possible to set directory-settings to empty values 2020-11-06 16:14:53 +01:00
Safihre
39cee52a7e Update text files for 3.1.1RC1 2020-11-02 20:03:43 +01:00
Safihre
72068f939d Improve handling of binary restarts (macOS / Windows) 2020-11-02 19:57:57 +01:00
Safihre
096d0d3cad Deobfuscate-during-download did not work
https://forums.sabnzbd.org/viewtopic.php?f=3&t=25037
2020-11-01 15:35:09 +01:00
Safihre
2472ab0121 Python 3.5 does not know ssl.PROTOCOL_TLS_SERVER
Closes #1658
2020-10-27 15:52:28 +01:00
Safihre
00421717b8 Queue Repair would fail if Rating is enabled
Closes #1649
2020-10-24 11:10:03 +02:00
Safihre
ae96d93f94 Set version to 3.1.0 2020-10-16 17:02:28 +02:00
Safihre
8522c40c8f Merge branch '3.1.x' 2020-10-16 16:58:58 +02:00
Safihre
23f86e95f1 Update text files for 3.1.0 2020-10-16 16:42:35 +02:00
Safihre
eed2045189 After pre-check the job was not restored to the original spot 2020-10-16 16:27:51 +02:00
Safihre
217785bf0f Applying Filters to a feed would result in crash
Closes #1634
2020-10-15 18:07:06 +02:00
Safihre
6aef50dc5d Update text files for 3.1.0RC3 2020-10-02 11:34:21 +02:00
Safihre
16b6e3caa7 Notify users of Deobfuscate.py that it is now part of SABnzbd 2020-09-29 14:08:51 +02:00
Safihre
3de4c99a8a Only set the "Waiting" status when the job hits post-processing
https://forums.sabnzbd.org/viewtopic.php?f=11&t=24969
2020-09-29 13:51:15 +02:00
Safihre
980aa19a75 Only run Windows Service code when executed from the executables
Could be made to work with the from-sources code.. But seems like very small usecase.
Closes #1623
2020-09-29 10:42:23 +02:00
Safihre
fb4b57e056 Update text files for 3.1.0RC2 2020-09-27 17:19:34 +02:00
Safihre
03638365ea Set execute bit on Deobfuscate.py 2020-09-27 17:17:30 +02:00
Safihre
157cb1c83d Handle failing RSS-feeds for feedparser 6.0.0+
Closes #1621
Now throws warnings (that can be disabled, helpfull_warnings) if readout failed.
2020-09-27 13:32:38 +02:00
Safihre
e51f11c2b1 Do not crash if attributes file is not present 2020-09-25 10:50:19 +02:00
Safihre
1ad0961dd8 Existing files were not parsed when re-adding a job 2020-09-25 10:49:50 +02:00
Safihre
46ff7dd4e2 Do not crash if we can't save attributes, the job might be gone 2020-09-25 10:03:05 +02:00
Safihre
8b067df914 Correctly parse failed_only for Plush 2020-09-23 16:56:57 +02:00
Safihre
ef43b13272 Assume RarFile parses the correct filepaths for the RAR-volumes
Parsing UTF8 from command-line still fails.
https://forums.sabnzbd.org/viewtopic.php?p=122267#p122267
2020-09-21 22:12:43 +02:00
Safihre
e8e9974224 work_name would not be sanatized when adding NZB's
Closes #1615
Now with tests, yeah.
2020-09-21 22:12:34 +02:00
Safihre
feebbb9f04 Merge branch '3.0.x' 2020-09-13 16:40:43 +02:00
Safihre
bc4f06dd1d Limit feedparser<6.0.0 for 3.0.x 2020-09-13 16:40:14 +02:00
Safihre
971e4fc909 Merge branch '3.0.x' 2020-08-30 20:58:31 +02:00
Safihre
51cc765949 Update text files for 3.0.2 2020-08-30 20:50:45 +02:00
Safihre
19c6a4fffa Propagation delay label was shown even if no delay was activated 2020-08-29 16:46:16 +02:00
Safihre
105ac32d2f Reading RSS feed with no categories set could result in crash
Closes #1589
2020-08-28 10:16:49 +02:00
Safihre
57550675d2 Removed logging in macOS sabApp that resulted in double logging 2020-08-28 10:16:41 +02:00
Safihre
e674abc5c0 Update text files for 3.0.2RC2 2020-08-26 08:56:29 +02:00
Safihre
f965c96f51 Change the macOS power assertion to NoIdleSleep 2020-08-26 08:50:54 +02:00
Safihre
c76b8ed9e0 End-of-queue-script did not run on Windows due to long-path
https://forums.sabnzbd.org/viewtopic.php?f=3&t=24918

Will refactor this so they all call 1 function.
2020-08-24 11:28:14 +02:00
Safihre
4fbd0d8a7b Check if name is a string before switching to nzbfile in addfile
Closes #1584
2020-08-24 09:05:25 +02:00
Safihre
2186c0fff6 Update text files for 3.0.2 RC 1 2020-08-21 15:42:35 +02:00
Safihre
1adca9a9c1 Do not crash if certifi certificates are not available
This could happen on Windows, due to overactive virus scanners
2020-08-21 15:26:06 +02:00
Safihre
9408353f2b Priority was not parsed correctly if supplied as string 2020-08-21 15:12:09 +02:00
Safihre
84f4d453d2 Permissions would be set even if user didn't set any
Windows developers like me shouldn't do permissions stuff..
2020-08-21 15:12:01 +02:00
Safihre
d10209f2a1 Extend tests of create_all_dirs to cover apply_umask=False 2020-08-21 15:11:53 +02:00
Safihre
3ae149c72f Split the make_mo.py command for NSIS 2020-08-19 22:21:02 +02:00
Safihre
47385acc3b Make sure we force the final_name to string on legacy get_attrib_file 2020-08-19 16:21:13 +02:00
Safihre
814eeaa900 Redesigned the saving of attributes
Now uses pickle, so that the type of the property is preserved.
Made flexible, so that more properties can be easily added later.
Closes #1575
2020-08-19 16:21:07 +02:00
Safihre
5f2ea13aad NzbFile comparison could crash when comparing finished_files
https://forums.sabnzbd.org/viewtopic.php?f=3&t=24902&p=121748
2020-08-19 08:50:06 +02:00
Safihre
41ca217931 Merge branch '3.0.x' 2020-08-18 11:05:50 +02:00
Safihre
b57d36e8dd Set version information to 3.0.1 2020-08-18 11:05:36 +02:00
Safihre
9a4be70734 List Cheetah minimal version in requirements.txt 2020-08-18 08:21:20 +02:00
Safihre
a8443595a6 Generalize use of certifi module 2020-08-18 08:20:47 +02:00
Safihre
fd0a70ac58 Update text files for 3.0.1 2020-08-17 16:52:23 +02:00
Safihre
8a8685c968 Permissions should only be applied if requested
Corrects 050b925f7b
2020-08-16 18:28:39 +02:00
Safihre
9e6cb8da8e Temporarily set cheroot version due to it breaking our tests
cherrypy/cheroot/issues/312
2020-08-16 18:28:13 +02:00
Safihre
054ec54d51 Basic authentication option was broken
Closes #1571
2020-08-10 15:34:01 +02:00
Safihre
272ce773cb Update text files for 3.0.1RC1 2020-08-07 15:28:11 +02:00
Safihre
050b925f7b Permissions were not set correctly when creating directories (#1568)
Restores changes made in d2e0ebe
2020-08-07 15:22:53 +02:00
Safihre
0087940898 Merge branch '3.0.x' into master 2020-08-02 09:46:41 +02:00
Safihre
e323c014f9 Set version information to 3.0.0 2020-08-01 16:17:08 +02:00
Safihre
cc465c7554 Update text files for 3.0.0
🎉🎉
2020-08-01 15:59:30 +02:00
Safihre
14cb37564f Update translate-link in SABnzbd 2020-07-19 13:01:39 +02:00
Safihre
094db56c3b Default-text for Automatically sort queue 2020-07-16 22:29:02 +02:00
Safihre
aabb709b8b Update text files for 3.0.0 RC 2 2020-07-15 14:10:35 +02:00
Safihre
0833dd2db9 Update translatable texts in 3.0.x branch 2020-07-15 14:07:21 +02:00
Safihre
cd3f912be4 RAR-renamer should be run on badly named RAR-files
https://forums.sabnzbd.org/viewtopic.php?f=2&t=24514&p=121433
2020-07-15 14:01:48 +02:00
Safihre
665c516db6 Only really run pre-script when it is set 2020-07-12 14:20:18 +02:00
Safihre
b670da9fa0 Always use Default-priority when creating NZB-objects
Closes #1552
2020-07-12 14:03:07 +02:00
Safihre
80bee9bffe Search-icon would be shown on top of drop-downs
Closes #1545
2020-06-30 12:57:28 +02:00
Safihre
d85a70e8ad Always report API paused status as a boolean
Closes #1542
2020-06-30 10:26:34 +02:00
Safihre
8f21533e76 Set version to 2.3.9 2019-05-24 11:39:14 +02:00
Safihre
89996482a1 Merge branch '2.3.x' 2019-05-24 09:33:12 +02:00
Safihre
03c10dce91 Update text files for 2.3.9 2019-05-24 09:32:34 +02:00
Safihre
bd5331be05 Merge branch 'develop' into 2.3.x 2019-05-24 09:12:02 +02:00
Safihre
46e1645289 Correct typo in release notes 2019-05-18 10:56:39 +02:00
Safihre
4ce3965747 Update text files for 2.3.9RC2 2019-05-18 09:56:05 +02:00
Safihre
9d4af19db3 Merge branch 'develop' into 2.3.x 2019-05-18 09:45:20 +02:00
Safihre
48e034f4be Update text files for 2.3.9RC1 2019-05-07 13:50:20 +02:00
Safihre
f8959baa2f Revert "Notify develop-users that we will switch to Python 3"
This reverts commit fb238af7de.
2019-05-07 13:35:13 +02:00
Safihre
8ed5997eae Merge branch 'develop' into 2.3.x 2019-05-07 13:10:10 +02:00
Safihre
daf9f50ac8 Set version to 2.3.8 2019-03-18 11:10:56 +01:00
Safihre
6b11013c1a Merge branch '2.3.x' 2019-03-18 11:09:35 +01:00
247 changed files with 5779 additions and 5908 deletions

View File

@@ -1,30 +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
- 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.gg/KQzDe7fvNU
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

View File

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

View File

@@ -4,6 +4,7 @@ on: [push, pull_request]
# Setting PYTHONNODEBUGRANGES reduces binary size
env:
AUTOMATION_GITHUB_TOKEN: ${{ secrets.AUTOMATION_GITHUB_TOKEN }}
PYTHONNODEBUGRANGES: 1
jobs:
@@ -13,10 +14,10 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12 (64bit)
- name: Set up Python 3.11 (64bit)
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.11"
architecture: "x64"
- name: Cache Python virtualenv (64bit)
uses: syphar/restore-virtualenv@v1.3
@@ -24,15 +25,16 @@ jobs:
with:
custom_virtualenv_dir: "venv64"
custom_cache_key_element: "release"
requirement_files: "**/requirements.txt"
requirement_files: |
**/requirements.txt
PKG-INFO
- 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
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 and installer (64bit)
run: python builder/package.py installer
- name: Upload Windows standalone binary (64bit)
@@ -56,15 +58,16 @@ jobs:
with:
custom_virtualenv_dir: "venv32"
custom_cache_key_element: "release"
requirement_files: "**/requirements.txt"
requirement_files: |
**/requirements.txt
PKG-INFO
- 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 pip wheel
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)
@@ -72,6 +75,9 @@ jobs:
with:
path: "*-win32-bin.zip"
name: Windows Windows standalone binary (32bit and legacy)
- name: Prepare official release
if: env.AUTOMATION_GITHUB_TOKEN && startsWith(github.ref, 'refs/tags/')
run: python builder/package.py release
build_macos:
name: Build macOS binary
@@ -81,7 +87,7 @@ jobs:
# 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.0"
PYTHON_VERSION: "3.11.3"
MACOSX_DEPLOYMENT_TARGET: "10.9"
# We need to force compile for universal2 support
CFLAGS: -arch x86_64 -arch arm64
@@ -98,32 +104,37 @@ jobs:
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"
requirement_files: |
**/requirements.txt
PKG-INFO
- name: Install Python dependencies
# 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/pypa/pip/issues/5453
# https://github.com/pyca/cryptography/issues/5918
# 2. 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 --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-dependencies --dest .
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
PYINSTALLER_COMPILE_BOOTLOADER=1 pip3 install --upgrade -r builder/requirements.txt --no-binary pyinstaller
- name: Import macOS codesign certificates
# Taken from https://github.com/Apple-Actions/import-codesign-certs/pull/27 (comments)
env:
@@ -160,34 +171,23 @@ jobs:
with:
path: "*-osx.dmg"
name: macOS binary (not notarized)
- name: Prepare official release
if: env.AUTOMATION_GITHUB_TOKEN && startsWith(github.ref, 'refs/tags/')
run: python3 builder/package.py release
release:
name: Publish Release
release_snap:
name: Release Snap
runs-on: ubuntu-latest
needs: [build_windows, build_macos]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: dist
- name: Move all artifacts to main folder
run: find dist -type f -exec mv {} . \;
- name: Prepare official release
env:
AUTOMATION_GITHUB_TOKEN: ${{ secrets.AUTOMATION_GITHUB_TOKEN }}
REDDIT_TOKEN: ${{ secrets.REDDIT_TOKEN }}
run: |
pip3 install -r builder/release-requirements.txt
python3 builder/release.py
- name: Release latest available Snap
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN }}
run: |
sudo snap install snapcraft --classic
python3 snap/local/release_snap.py

View File

@@ -31,31 +31,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-architecture: ["x64"]
name: ["Linux"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-20.04]
include:
- name: macOS
os: macos-latest
python-version: "3.12"
python-architecture: "x64"
python-version: "3.11"
- name: Windows
os: windows-latest
python-version: "3.12"
python-architecture: "x64"
- name: Windows (32bit)
os: windows-latest
python-version: "3.8"
python-architecture: "x86"
python-version: "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.python-architecture }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.python-architecture }}
architecture: "x64"
- name: Install system dependencies
if: runner.os == 'Linux'
run: sudo apt-get install unrar p7zip-full par2
@@ -63,8 +55,10 @@ jobs:
uses: syphar/restore-virtualenv@v1.3
id: cache-virtualenv
with:
custom_cache_key_element: ci-${{ matrix.python-architecture }}
requirement_files: "**/requirements.txt"
custom_cache_key_element: "ci"
requirement_files: |
**/requirements.txt
PKG-INFO
- name: Install Python dependencies
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
run: |

View File

@@ -1,4 +1,4 @@
name: "Close and lock old issues"
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
@@ -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@v4
with:
log-output: true
issue-inactive-days: 60
pr-inactive-days: 60

View File

@@ -20,11 +20,11 @@ jobs:
python3 tools/extract_pot.py
- 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!
# We sleep so all files are updated when we pull them back in
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
./tx push --source
./tx push --translation --source
sleep 10s
./tx pull --all --force
- name: Compile translations to validate them
run: |
@@ -33,7 +33,7 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4.16.0
if: env.TX_TOKEN
with:
commit_message: |
commit_message: |
Update translatable texts
[skip ci]
commit_user_name: SABnzbd Automation

View File

@@ -1,7 +1,7 @@
(c) Copyright 2007-2023 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-2023 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-2023 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

10
PKG-INFO Normal file
View File

@@ -0,0 +1,10 @@
Metadata-Version: 1.0
Name: SABnzbd
Version: 4.0.0
Summary: SABnzbd-4.0.0
Home-page: https://sabnzbd.org
Author: The SABnzbd Team
Author-email: team@sabnzbd.org
License: GNU General Public License 2 (GPL2 or later)
Description: Fully automated Usenet Binary Downloader
Platform: posix

View File

@@ -1,24 +1,34 @@
Release Notes - SABnzbd 4.2.0 Alpha 2
Release Notes - SABnzbd 4.0.0
=========================================================
## Changes since 4.1.0
- Numerous smaller performance improvements were made.
- Reduced recursive unpacking to 2 levels, instead of 5.
- IPv6 addresses are preferred during server address selection.
- Stricter check if `Complete Folder` is inside `Download Folder`.
- Windows: Reduced size of installer.
- Windows/macOS: Updated to Python 3.12.
## Changes since 3.7.2
- In this major update we optimized a core part of the SSL handling.
This results in large performance increases 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.
- Slowdown 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.
## Bugfixes since 4.1.0
- Multi-select in the queue was broken for some users.
- Prevent crash during saving of configuration.
- Removing a failed download from the history could break active downloads.
## 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
- Direct upgrade is possible from version 3.0.0 and newer.
Upgrading from older versions will require `Queue repair`.
- Downgrading from version 4.2.0 or newer to 3.7.2 or older will
require `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 the file "ISSUES.txt"
@@ -30,4 +40,4 @@ Release Notes - SABnzbd 4.2.0 Alpha 2
that automatically verify, repair, extract and clean up posts downloaded
from Usenet.
(c) Copyright 2007-2023 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-2023 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
@@ -17,9 +17,7 @@
import sys
# Trick to show a better message on older Python
# releases that don't support walrus operator
if Python_38_is_required_to_run_SABnzbd := sys.hexversion < 0x03080000:
if sys.hexversion < 0x03080000:
print("Sorry, requires Python 3.8 or above")
print("You can read more at: https://sabnzbd.org/wiki/installation/install-off-modules")
sys.exit(1)
@@ -244,7 +242,7 @@ def print_version():
"""
%s-%s
Copyright (C) 2007-2023 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
@@ -427,8 +425,7 @@ def print_modules():
logging.info("SABCTools module is linked to OpenSSL: %s", sabnzbd.decoder.SABCTOOLS_OPENSSL_LINKED)
# Check if we managed to link, warning for now
# It won't work on OpenSSL < 1.1.1 anyway, so we skip the check there
if not sabnzbd.decoder.SABCTOOLS_OPENSSL_LINKED and ssl.OPENSSL_VERSION_INFO >= (1, 1, 1):
if not sabnzbd.decoder.SABCTOOLS_OPENSSL_LINKED:
logging.warning(
"Could not link to OpenSSL library, please report here: "
"https://github.com/sabnzbd/sabnzbd/issues/2421"
@@ -448,8 +445,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 +467,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:
@@ -624,6 +626,10 @@ def get_webhost(cherryhost, cherryport, https_port):
except socket.error:
cherryhost = cherryhost.strip("[]")
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"))
@@ -752,9 +758,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,7 +860,7 @@ 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
@@ -905,7 +928,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)
@@ -950,7 +972,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)
@@ -1349,6 +1371,7 @@ def main():
"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,
@@ -1360,11 +1383,13 @@ def main():
)
# 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"}
@@ -1577,8 +1602,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:

View File

@@ -2,17 +2,43 @@
import os
import re
import sys
import pkginfo
from PyInstaller.building.api import EXE, COLLECT, PYZ
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
# Add extra files in the PyInstaller-spec
extra_pyinstaller_files = []
# Also modify these in "package.py"!
extra_files = [
"README.txt",
"INSTALL.txt",
"LICENSE.txt",
"GPL2.txt",
"GPL3.txt",
"COPYRIGHT.txt",
"ISSUES.txt",
"PKG-INFO",
]
extra_folders = [
"scripts/",
"licenses/",
"locale/",
"email/",
"interfaces/Glitter/",
"interfaces/wizard/",
"interfaces/Config/",
"scripts/",
"icons/",
]
# Get the version
RELEASE_VERSION = pkginfo.Develop(".").version
# Add hidden imports
extra_hiddenimports = ["Cheetah.DummyTransaction", "cheroot.ssl.builtin", "certifi"]
extra_hiddenimports.extend(collect_submodules("babelfish.converters"))
@@ -22,7 +48,7 @@ extra_hiddenimports.extend(collect_submodules("guessit.data"))
if sys.platform == "darwin":
extra_hiddenimports.extend(["objc", "PyObjCTools"])
# macOS folders
EXTRA_FOLDERS += ["osx/par2/", "osx/unrar/", "osx/7zip/"]
extra_folders += ["osx/par2/", "osx/unrar/", "osx/7zip/"]
# Add NZB-icon file
extra_pyinstaller_files.append(("builder/osx/image/nzbfile.icns", "."))
# Version information is set differently on macOS
@@ -41,8 +67,8 @@ else:
# Windows
extra_hiddenimports.append("win32timezone")
EXTRA_FOLDERS += ["win/multipar/", "win/par2/", "win/unrar/", "win/7zip/"]
EXTRA_FILES += ["portable.cmd"]
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)
@@ -83,9 +109,9 @@ else:
)
# Process the extra-files and folders
for file_item in EXTRA_FILES:
for file_item in extra_files:
extra_pyinstaller_files.append((file_item, "."))
for folder_item in EXTRA_FOLDERS:
for folder_item in extra_folders:
extra_pyinstaller_files.append((folder_item, folder_item))
# Add babelfish data files
@@ -96,7 +122,7 @@ pyi_analysis = Analysis(
["SABnzbd.py"],
datas=extra_pyinstaller_files,
hiddenimports=extra_hiddenimports,
excludes=["ujson", "FixTk", "tcl", "tk", "_tkinter", "tkinter", "Tkinter", "pydoc", "pydoc_data.topics"],
excludes=["ujson", "FixTk", "tcl", "tk", "_tkinter", "tkinter", "Tkinter"],
)
pyz = PYZ(pyi_analysis.pure, pyi_analysis.zipped_data)
@@ -113,10 +139,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",
@@ -134,9 +160,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,
)
@@ -145,6 +171,7 @@ if sys.platform == "win32":
pyi_analysis.binaries,
pyi_analysis.zipfiles,
pyi_analysis.datas,
upx=True,
name="SABnzbd-console",
)

View File

@@ -1,67 +0,0 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2017 The SABnzbd-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
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import os
# Constants
VERSION_FILE = "sabnzbd/version.py"
APPDATA_FILE = "linux/org.sabnzbd.sabnzbd.appdata.xml"
# To draft a release or not to draft a release?
ON_GITHUB_ACTIONS = os.environ.get("CI", False)
RELEASE_THIS = "refs/tags/" in os.environ.get("GITHUB_REF", "")
# Import version.py without the sabnzbd overhead
with open(VERSION_FILE) as version_file:
exec(version_file.read())
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
# Define release name
RELEASE_NAME = "SABnzbd-%s" % RELEASE_VERSION
RELEASE_TITLE = "SABnzbd %s" % RELEASE_VERSION
RELEASE_SRC = RELEASE_NAME + "-src.tar.gz"
RELEASE_BINARY_32 = RELEASE_NAME + "-win32-bin.zip"
RELEASE_BINARY_64 = RELEASE_NAME + "-win64-bin.zip"
RELEASE_INSTALLER = RELEASE_NAME + "-win-setup.exe"
RELEASE_MACOS = RELEASE_NAME + "-osx.dmg"
RELEASE_README = "README.mkd"
# Used in package.py and SABnzbd.spec
EXTRA_FILES = [
RELEASE_README,
"README.txt",
"INSTALL.txt",
"LICENSE.txt",
"GPL2.txt",
"GPL3.txt",
"COPYRIGHT.txt",
"ISSUES.txt",
]
EXTRA_FOLDERS = [
"scripts/",
"licenses/",
"locale/",
"email/",
"interfaces/Glitter/",
"interfaces/wizard/",
"interfaces/Config/",
"scripts/",
"icons/",
]

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2017 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,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import os
from constants import RELEASE_VERSION
import pkginfo
# We need to call dmgbuild from command-line, so here we can setup how
@@ -37,7 +37,7 @@ if __name__ == "__main__":
# Extract version info and set DMG path
# Create sub-folder to upload later
release = RELEASE_VERSION
release = pkginfo.Develop(".").version
prod = "SABnzbd-" + release
fileDmg = prod + "-osx.dmg"

View File

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

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2017 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,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import glob
import hashlib
import platform
import re
import sys
@@ -28,22 +29,37 @@ import tarfile
import urllib.request
import urllib.error
import configobj
import pkginfo
import github
from typing import List
from constants import (
RELEASE_VERSION,
VERSION_FILE,
RELEASE_README,
RELEASE_NAME,
RELEASE_BINARY_32,
RELEASE_BINARY_64,
RELEASE_INSTALLER,
ON_GITHUB_ACTIONS,
RELEASE_THIS,
RELEASE_SRC,
EXTRA_FILES,
EXTRA_FOLDERS,
)
VERSION_FILE = "sabnzbd/version.py"
SPEC_FILE = "SABnzbd.spec"
# Also modify these in "SABnzbd.spec"!
extra_files = [
"README.mkd",
"INSTALL.txt",
"LICENSE.txt",
"GPL2.txt",
"GPL3.txt",
"COPYRIGHT.txt",
"ISSUES.txt",
"PKG-INFO",
]
extra_folders = [
"scripts/",
"licenses/",
"locale/",
"email/",
"interfaces/Glitter/",
"interfaces/wizard/",
"interfaces/Config/",
"scripts/",
"icons/",
]
# Support functions
@@ -58,16 +74,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):
@@ -121,16 +132,13 @@ def test_sab_binary(binary_path: str):
# Wait for SAB to respond
base_url = "http://127.0.0.1:8080/"
for _ in range(30):
for _ in range(10):
try:
urllib.request.urlopen(base_url, timeout=1).read()
break
except:
time.sleep(1)
else:
# Print console output and give some time to print
print(sabnzbd_process.stdout.read())
time.sleep(1)
raise urllib.error.URLError("Could not connect to SABnzbd")
# Open a number of API calls and pages, to see if we are really up
@@ -162,13 +170,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(1)
if __name__ == "__main__":
@@ -180,15 +185,32 @@ if __name__ == "__main__":
if not os.path.exists("builder"):
raise FileNotFoundError("Run from the main SABnzbd source folder: python builder/package.py")
# Extract version info
RELEASE_VERSION = pkginfo.Develop(".").version
# Check if we have the needed certificates
try:
import certifi
except ImportError:
raise FileNotFoundError("Need certifi module")
# Define release name
RELEASE_NAME = "SABnzbd-%s" % RELEASE_VERSION
RELEASE_TITLE = "SABnzbd %s" % RELEASE_VERSION
RELEASE_SRC = RELEASE_NAME + "-src.tar.gz"
RELEASE_BINARY_32 = RELEASE_NAME + "-win32-bin.zip"
RELEASE_BINARY_64 = RELEASE_NAME + "-win64-bin.zip"
RELEASE_INSTALLER = RELEASE_NAME + "-win-setup.exe"
RELEASE_MACOS = RELEASE_NAME + "-osx.dmg"
RELEASE_README = "README.mkd"
# Patch release file
patch_version_file(RELEASE_VERSION)
# To draft a release or not to draft a release?
ON_GITHUB_ACTIONS = os.environ.get("CI", False)
RELEASE_THIS = "refs/tags/" in os.environ.get("GITHUB_REF", "")
# Rename release notes file
safe_remove("README.txt")
shutil.copyfile(RELEASE_README, "README.txt")
@@ -207,7 +229,7 @@ if __name__ == "__main__":
safe_remove(RELEASE_NAME)
# Copy the specification
shutil.copyfile("builder/SABnzbd.spec", "SABnzbd.spec")
shutil.copyfile("builder/%s" % SPEC_FILE, SPEC_FILE)
if "binary" in sys.argv or "installer" in sys.argv:
# Must be run on Windows
@@ -216,10 +238,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)
@@ -231,20 +251,18 @@ 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/PKG-INFO")
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
@@ -253,6 +271,10 @@ 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(
[
@@ -288,8 +310,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",
@@ -412,15 +435,15 @@ if __name__ == "__main__":
safe_remove(RELEASE_SRC)
# Add extra files and folders need for source dist
EXTRA_FOLDERS.extend(["sabnzbd/", "po/", "linux/", "tools/", "tests/"])
EXTRA_FILES.extend(["SABnzbd.py", "requirements.txt"])
extra_folders.extend(["sabnzbd/", "po/", "linux/", "tools/", "tests/"])
extra_files.extend(["SABnzbd.py", "requirements.txt"])
# Copy all folders and files to the new folder
for source_folder in EXTRA_FOLDERS:
for source_folder in extra_folders:
shutil.copytree(source_folder, os.path.join(src_folder, source_folder), dirs_exist_ok=True)
# Copy all files
for source_file in EXTRA_FILES:
for source_file in extra_files:
shutil.copyfile(source_file, os.path.join(src_folder, source_file))
# Make sure all line-endings are correct
@@ -460,6 +483,173 @@ if __name__ == "__main__":
# Remove source folder
safe_remove(src_folder)
# Calculate hashes for Synology release
with open(RELEASE_SRC, "rb") as inp_file:
source_data = inp_file.read()
print("----")
print(RELEASE_SRC, "SHA1", hashlib.sha1(source_data).hexdigest())
print(RELEASE_SRC, "SHA256", hashlib.sha256(source_data).hexdigest())
print(RELEASE_SRC, "MD5", hashlib.md5(source_data).hexdigest())
print("----")
# Release to github
if "release" in sys.argv:
# Check if tagged as release and check for token
gh_token = os.environ.get("AUTOMATION_GITHUB_TOKEN", "")
if RELEASE_THIS and gh_token:
gh_obj = github.Github(gh_token)
gh_repo = gh_obj.get_repo("sabnzbd/sabnzbd")
# Read the release notes
with open(RELEASE_README, "r") as readme_file:
readme_data = readme_file.read()
# 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
# We have to manually check if we already created this release
for release in gh_repo.get_releases():
if release.tag_name == RELEASE_VERSION:
gh_release = release
print("Found existing release %s" % gh_release.title)
break
else:
# Did not find it, so create the release, use the GitHub tag we got as input
print("Creating GitHub release SABnzbd %s" % RELEASE_VERSION)
gh_release = gh_repo.create_git_release(
tag=RELEASE_VERSION,
name=RELEASE_TITLE,
message=readme_data,
draft=True,
prerelease=prerelease,
)
# Fetch existing assets, as overwriting is not allowed by GitHub
gh_assets = gh_release.get_assets()
# Upload the assets
files_to_check = (
RELEASE_SRC,
RELEASE_BINARY_32,
RELEASE_BINARY_64,
RELEASE_INSTALLER,
RELEASE_MACOS,
RELEASE_README,
)
for file_to_check in files_to_check:
if os.path.exists(file_to_check):
# Check if this file was previously uploaded
if gh_assets.totalCount:
for gh_asset in gh_assets:
if gh_asset.name == file_to_check:
print("Removing existing asset %s " % gh_asset.name)
gh_asset.delete_asset()
# Upload the new one
print("Uploading %s to release %s" % (file_to_check, gh_release.title))
gh_release.upload_asset(file_to_check)
# Check if we now have all files
gh_new_assets = gh_release.get_assets()
if gh_new_assets.totalCount:
all_assets = [gh_asset.name for gh_asset in gh_new_assets]
# Check if we have all files, using set-comparison
if set(files_to_check) == set(all_assets):
print("All assets present, releasing %s" % RELEASE_VERSION)
# Publish release
gh_release.update_release(
tag_name=RELEASE_VERSION,
name=RELEASE_TITLE,
message=readme_data,
draft=False,
prerelease=prerelease,
)
# Update the website
gh_repo_web = gh_obj.get_repo("sabnzbd/sabnzbd.github.io")
# Check if the branch already exists, only create one if it doesn't
skip_website_update = False
try:
gh_repo_web.get_branch(RELEASE_VERSION)
print("Branch %s on sabnzbd/sabnzbd.github.io already exists, skipping update" % RELEASE_VERSION)
skip_website_update = True
except github.GithubException:
# Create a new branch to have the changes
sb = gh_repo_web.get_branch("master")
print("Creating branch %s on sabnzbd/sabnzbd.github.io" % RELEASE_VERSION)
new_branch = gh_repo_web.create_git_ref(ref="refs/heads/" + RELEASE_VERSION, sha=sb.commit.sha)
# Update the files
if not skip_website_update:
# We need bytes version to interact with GitHub
RELEASE_VERSION_BYTES = RELEASE_VERSION.encode()
# Get all the version files
latest_txt = gh_repo_web.get_contents("latest.txt")
latest_txt_items = latest_txt.decoded_content.split()
new_latest_txt_items = latest_txt_items[:2]
config_yml = gh_repo_web.get_contents("_config.yml")
if prerelease:
# If it's a pre-release, we append to current version in latest.txt
new_latest_txt_items.extend([RELEASE_VERSION_BYTES, latest_txt_items[1]])
# And replace in _config.yml
new_config_yml = re.sub(
b"latest_testing: '[^']*'",
b"latest_testing: '%s'" % RELEASE_VERSION_BYTES,
config_yml.decoded_content,
)
else:
# New stable release, replace the version
new_latest_txt_items[0] = RELEASE_VERSION_BYTES
# And replace in _config.yml
new_config_yml = re.sub(
b"latest_testing: '[^']*'",
b"latest_testing: ''",
config_yml.decoded_content,
)
new_config_yml = re.sub(
b"latest_stable: '[^']*'",
b"latest_stable: '%s'" % RELEASE_VERSION_BYTES,
new_config_yml,
)
# Also update the wiki-settings, these only use x.x notation
new_config_yml = re.sub(
b"wiki_version: '[^']*'",
b"wiki_version: '%s'" % RELEASE_VERSION_BYTES[:3],
new_config_yml,
)
# Update the files
print("Updating latest.txt")
gh_repo_web.update_file(
"latest.txt",
"Release %s: latest.txt" % RELEASE_VERSION,
b"\n".join(new_latest_txt_items),
latest_txt.sha,
RELEASE_VERSION,
)
print("Updating _config.yml")
gh_repo_web.update_file(
"_config.yml",
"Release %s: _config.yml" % RELEASE_VERSION,
new_config_yml,
config_yml.sha,
RELEASE_VERSION,
)
# Create pull-request
print("Creating pull request in sabnzbd/sabnzbd.github.io for the update")
gh_repo_web.create_pull(
title=RELEASE_VERSION,
base="master",
body="Automated update of release files",
head=RELEASE_VERSION,
)
else:
print("To push release to GitHub, first tag the commit.")
print("Or missing the AUTOMATION_GITHUB_TOKEN, cannot push to GitHub without it.")
# Reset!
run_git_command(["reset", "--hard"])
run_git_command(["clean", "-f"])

View File

@@ -1,2 +0,0 @@
PyGithub==2.1.1
praw==7.7.1

View File

@@ -1,265 +0,0 @@
#!/usr/bin/python3 -OO
# Copyright 2008-2017 The SABnzbd-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
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import hashlib
import json
import os
import re
import xml.etree.ElementTree as ET
import github
import praw
from constants import (
RELEASE_VERSION,
PRERELEASE,
RELEASE_SRC,
RELEASE_BINARY_32,
RELEASE_BINARY_64,
RELEASE_INSTALLER,
RELEASE_MACOS,
RELEASE_README,
RELEASE_THIS,
RELEASE_TITLE,
APPDATA_FILE,
)
# Verify we have all assets
files_to_check = (
RELEASE_SRC,
RELEASE_BINARY_32,
RELEASE_BINARY_64,
RELEASE_INSTALLER,
RELEASE_MACOS,
RELEASE_README,
)
for file_to_check in files_to_check:
if not os.path.exists(file_to_check):
raise RuntimeError("Not all release files are present!")
print("All release files are present")
# Verify that appdata file is updated
if not PRERELEASE:
if not isinstance(ET.parse(APPDATA_FILE).find(f"./releases/release[@version='{RELEASE_VERSION}']"), ET.Element):
raise RuntimeError(f"Could not find {RELEASE_VERSION} in {APPDATA_FILE}")
# Calculate hashes for Synology release
with open(RELEASE_SRC, "rb") as inp_file:
source_data = inp_file.read()
print("---- Synology spksrc digest hashes ---- ")
print(RELEASE_SRC, "SHA1", hashlib.sha1(source_data).hexdigest())
print(RELEASE_SRC, "SHA256", hashlib.sha256(source_data).hexdigest())
print(RELEASE_SRC, "MD5", hashlib.md5(source_data).hexdigest())
print("----")
# Check if tagged as release and check for token
gh_token = os.environ.get("AUTOMATION_GITHUB_TOKEN", "")
if RELEASE_THIS and gh_token:
gh_obj = github.Github(gh_token)
gh_repo = gh_obj.get_repo("sabnzbd/sabnzbd")
# Read the release notes
with open(RELEASE_README, "r") as readme_file:
readme_data = readme_file.read()
# We have to manually check if we already created this release
for release in gh_repo.get_releases():
if release.tag_name == RELEASE_VERSION:
gh_release = release
print("Found existing release %s" % gh_release.title)
break
else:
# Did not find it, so create the release, use the GitHub tag we got as input
print("Creating GitHub release SABnzbd %s" % RELEASE_VERSION)
gh_release = gh_repo.create_git_release(
tag=RELEASE_VERSION,
name=RELEASE_TITLE,
message=readme_data,
draft=True,
prerelease=PRERELEASE,
)
# Fetch existing assets, as overwriting is not allowed by GitHub
gh_assets = gh_release.get_assets()
# Upload the assets
for file_to_check in files_to_check:
if os.path.exists(file_to_check):
# Check if this file was previously uploaded
if gh_assets.totalCount:
for gh_asset in gh_assets:
if gh_asset.name == file_to_check:
print("Removing existing asset %s " % gh_asset.name)
gh_asset.delete_asset()
# Upload the new one
print("Uploading %s to release %s" % (file_to_check, gh_release.title))
gh_release.upload_asset(file_to_check)
# Check if we now have all files
gh_new_assets = gh_release.get_assets()
if gh_new_assets.totalCount:
all_assets = [gh_asset.name for gh_asset in gh_new_assets]
# Check if we have all files, using set-comparison
if set(files_to_check) == set(all_assets):
print("All assets present, releasing %s" % RELEASE_VERSION)
# Publish release
gh_release.update_release(
tag_name=RELEASE_VERSION,
name=RELEASE_TITLE,
message=readme_data,
draft=False,
prerelease=PRERELEASE,
)
# Update the website
gh_repo_web = gh_obj.get_repo("sabnzbd/sabnzbd.github.io")
# Check if the branch already exists, only create one if it doesn't
skip_website_update = False
try:
gh_repo_web.get_branch(RELEASE_VERSION)
print("Branch %s on sabnzbd/sabnzbd.github.io already exists, skipping update" % RELEASE_VERSION)
skip_website_update = True
except github.GithubException:
# Create a new branch to have the changes
sb = gh_repo_web.get_branch("master")
print("Creating branch %s on sabnzbd/sabnzbd.github.io" % RELEASE_VERSION)
new_branch = gh_repo_web.create_git_ref(ref="refs/heads/" + RELEASE_VERSION, sha=sb.commit.sha)
# Update the files
if not skip_website_update:
# We need bytes version to interact with GitHub
RELEASE_VERSION_BYTES = RELEASE_VERSION.encode()
# Get all the version files
latest_txt = gh_repo_web.get_contents("latest.txt")
latest_txt_items = latest_txt.decoded_content.split()
new_latest_txt_items = latest_txt_items[:2]
config_yml = gh_repo_web.get_contents("_config.yml")
if PRERELEASE:
# If it's a pre-release, we append to current version in latest.txt
new_latest_txt_items.extend([RELEASE_VERSION_BYTES, latest_txt_items[1]])
# And replace in _config.yml
new_config_yml = re.sub(
b"latest_testing: '[^']*'",
b"latest_testing: '%s'" % RELEASE_VERSION_BYTES,
config_yml.decoded_content,
)
else:
# New stable release, replace the version
new_latest_txt_items[0] = RELEASE_VERSION_BYTES
# And replace in _config.yml
new_config_yml = re.sub(
b"latest_testing: '[^']*'",
b"latest_testing: ''",
config_yml.decoded_content,
)
new_config_yml = re.sub(
b"latest_stable: '[^']*'",
b"latest_stable: '%s'" % RELEASE_VERSION_BYTES,
new_config_yml,
)
# Also update the wiki-settings, these only use x.x notation
new_config_yml = re.sub(
b"wiki_version: '[^']*'",
b"wiki_version: '%s'" % RELEASE_VERSION_BYTES[:3],
new_config_yml,
)
# Update the files
print("Updating latest.txt")
gh_repo_web.update_file(
"latest.txt",
"Release %s: latest.txt" % RELEASE_VERSION,
b"\n".join(new_latest_txt_items),
latest_txt.sha,
RELEASE_VERSION,
)
print("Updating _config.yml")
gh_repo_web.update_file(
"_config.yml",
"Release %s: _config.yml" % RELEASE_VERSION,
new_config_yml,
config_yml.sha,
RELEASE_VERSION,
)
# Create pull-request
print("Creating pull request in sabnzbd/sabnzbd.github.io for the update")
update_pr = gh_repo_web.create_pull(
title="Release %s" % RELEASE_VERSION,
base="master",
body="Automated update of release files",
head=RELEASE_VERSION,
)
# Merge pull-request
print("Merging pull request in sabnzbd/sabnzbd.github.io for the update")
update_pr.merge(merge_method="squash")
# Only with GitHub success we proceed to Reddit
if reddit_token := os.environ.get("REDDIT_TOKEN", ""):
# Token format (without whitespace):
# {
# "client_id":"XXX",
# "client_secret":"XXX",
# "user_agent":"SABnzbd release script",
# "username":"Safihre",
# "password":"XXX"
# }
credentials = json.loads(reddit_token)
reddit = praw.Reddit(**credentials)
subreddit_sabnzbd = reddit.subreddit("sabnzbd")
subreddit_usenet = reddit.subreddit("usenet")
# Read the release notes
with open(RELEASE_README, "r") as readme_file:
readme_lines = readme_file.readlines()
# Put the download link after the title
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")
# Post always to r/SABnzbd
print("Posting to r/sabnzbd")
subreddit_sabnzbd.submit(title, selftext=release_notes_text)
else:
print("Missing REDDIT_TOKEN")
else:
print("To push release to GitHub, first tag the commit.")
print("Or missing the AUTOMATION_GITHUB_TOKEN, cannot push to GitHub without it.")

View File

@@ -1,28 +1,22 @@
# Basic build requirements
# Note that not all sub-dependencies are listed, but only ones we know could cause trouble
pyinstaller==6.2.0
packaging==23.2
pyinstaller-hooks-contrib==2023.10
altgraph==0.17.4
wrapt==1.16.0
setuptools==68.2.2
pyinstaller==5.10.1
pyinstaller-hooks-contrib==2023.2
altgraph==0.17.3
wrapt==1.15.0
setuptools==67.7.1
pkginfo==1.9.6
PyGithub==1.58.1
charset-normalizer==3.1.0
certifi
# Required on 32bit Windows, exclude it based on Python-version
importlib_metadata==6.8.0; python_version < '3.10'
importlib_resources==6.1.1; python_version < '3.10'
zipp==3.17.0; python_version < '3.10'
# orjson does not support 32bit Windows, also exclude based on Python-version
orjson==3.9.10; python_version > '3.8'
# For the Windows build
pefile==2023.2.7; sys_platform == 'win32'
pywin32-ctypes==0.2.2; sys_platform == 'win32'
# 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.8.10; python_version > '3.8'
# For the macOS build
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"
@@ -66,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
@@ -168,7 +169,6 @@ Unicode true
Section "SABnzbd" SecDummy
SetOutPath "$INSTDIR"
SetShellVarContext all
;------------------------------------------------------------------
; Make sure old versions are gone (reg-key already read in onInt)
@@ -194,7 +194,7 @@ 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/'
@@ -251,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
@@ -260,18 +260,10 @@ Function .onInit
;------------------------------------------------------------------
; Check what the user has currently set for install options
SetShellVarContext current
IfFileExists "$SMPROGRAMS\Startup\SABnzbd.lnk" 0 endCheckStartup
SectionSetFlags ${startup} 1
SetShellVarContext all
IfFileExists "$SMPROGRAMS\Startup\SABnzbd.lnk" 0 endCheckStartup
SectionSetFlags ${startup} 1
endCheckStartup:
SetShellVarContext current
IfFileExists "$DESKTOP\SABnzbd.lnk" endCheckDesktop 0
SectionSetFlags ${desktop} 0 ; SAB is installed but desktop-icon not, so uncheck it
SetShellVarContext all
IfFileExists "$DESKTOP\SABnzbd.lnk" endCheckDesktop 0
SectionSetFlags ${desktop} 0 ; SAB is installed but desktop-icon not, so uncheck it
endCheckDesktop:
@@ -355,22 +347,6 @@ Section "un.$(MsgDelProgram)" Uninstall
liteFirewallW::RemoveRule "$INSTDIR\SABnzbd.exe" "SABnzbd"
liteFirewallW::RemoveRule "$INSTDIR\SABnzbd-console.exe" "SABnzbd-console"
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"
SetShellVarContext current
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\SABnzbd.lnk"

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,14 +67,14 @@
<script type="text/javascript" src="${root}staticcfg/js/script.js?v=$version"></script>
<script type="text/javascript">
// Set default functions for the autocomplete everywhere
jQuery.extend(jQuery.fn.typeahead.defaults, {
\$.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 jQuery.get(folderBrowseUrl + '&compact=1&term=' + query, function (data) {
return \$.get(folderBrowseUrl + '&compact=1&term=' + query, function (data) {
return process(data);
});
},
@@ -184,7 +181,7 @@
</a>
</li>
<li>
<a href="$help_uri" target="_blank">
<a href="$helpuri$help_uri" target="_blank">
<span class="glyphicon glyphicon-question-sign"></span>
<strong>$T('menu-help')</strong>
</a>

View File

@@ -1,5 +1,5 @@
<!--#set global $pane="Config"#-->
<!--#set global $help_uri = $confighelpuri + "configure"#-->
<!--#set global $help_uri="configuration/4.0/configure"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<!--#from sabnzbd.encoding import CODEPAGE#-->
@@ -25,7 +25,7 @@
</tr>
<tr>
<th scope="row">$T('pythonVersion'): </th>
<td>$sys.version [$CODEPAGE]</td>
<td>$sys.version[:120] [$CODEPAGE]</td>
</tr>
<tr>
<th scope="row">OpenSSL:</th>
@@ -43,23 +43,41 @@
<!--#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="${helpuri}installation/multicore-par2" target="_blank">${helpuri}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="$helpuri$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="${helpuri}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>
<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>
<a href="${helpuri}installation/install-off-modules#toc8" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
</td>
</tr>
<!--#end if#-->
@@ -105,8 +123,8 @@
</div>
<div class="colmask">
<div class="padding">
<h5 class="copyright">Copyright &copy; 2007-2023 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

@@ -1,10 +1,10 @@
<!--#set global $pane="Categories"#-->
<!--#set global $help_uri = $confighelpuri + "categories"#-->
<!--#set global $help_uri="configuration/4.0/categories"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="colmask">
<div class="section">
<div class="padTable">
<a class="main-helplink" href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<a class="main-helplink" href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<p>$T('explain-catTags2')<br/>$T('explain-catTags')</p>
<hr>
<h5 class="darkred"><strong>$T('explain-relFolder'):</strong> <span class="path">$defdir</span></h5>
@@ -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

@@ -1,5 +1,5 @@
<!--#set global $pane="Folders"#-->
<!--#set global $help_uri = $confighelpuri + "folders"#-->
<!--#set global $help_uri="configuration/4.0/folders"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="colmask">
@@ -14,7 +14,7 @@
<input type="hidden" id="ajax" name="ajax" value="1" />
<div class="section">
<div class="col2">
<h3>$T('userFolders') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('userFolders') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<p>$T('explain-folderConfig')</p>
</div><!-- /col2 -->
<div class="col1">
@@ -58,7 +58,7 @@
<div class="field-pair">
<label class="config" for="dirscan_dir">$T('opt-dirscan_dir')</label>
<input type="text" name="dirscan_dir" id="dirscan_dir" value="$dirscan_dir" data-initialdir="$my_home" />
<span class="desc">$T('explain-dirscan_dir').replace(".nzb", $file_exts)</span>
<span class="desc">$T('explain-dirscan_dir')</span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="dirscan_speed">$T('opt-dirscan_speed')</label>
@@ -91,7 +91,7 @@
</div><!-- /section -->
<div class="section advanced-settings">
<div class="col2">
<h3>$T('systemFolders') <a href="$help_uri#toc1" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('systemFolders') <a href="$helpuri$help_uri#toc1" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<p>$T('explain-folderConfig')</p>
</div><!-- /col2 -->
<div class="col1">
@@ -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"]').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

@@ -1,5 +1,5 @@
<!--#set global $pane="General"#-->
<!--#set global $help_uri = $confighelpuri + "general"#-->
<!--#set global $help_uri="configuration/4.0/general"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="colmask">
@@ -14,7 +14,7 @@
<input type="hidden" name="output" value="json" />
<div class="section">
<div class="col2">
<h3>$T('webServer') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('webServer') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<p><b>$T('restartRequired')</b></p>
</div><!-- /col2 -->
<div class="col1">
@@ -102,7 +102,7 @@
</div>
<div class="section">
<div class="col2">
<h3>$T('security') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('security') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<p><b>$T('restartRequired')</b></p>
</div><!-- /col2 -->
<div class="col1">
@@ -156,7 +156,7 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('cmenu-switches') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('cmenu-switches') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -192,7 +192,7 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('tuning') <a href="$help_uri#toc2" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('tuning') <a href="$helpuri$help_uri#toc2" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -230,7 +230,7 @@
<input type="hidden" name="output" value="json" />
<div class="section">
<div class="col2">
<h3>$T('backup') <a href="$help_uri#toc3" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('backup') <a href="$helpuri$help_uri#toc3" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -264,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
@@ -306,57 +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;
}
});
}
});
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;
}
@@ -365,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()
}
@@ -375,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

@@ -1,5 +1,5 @@
<!--#set global $pane="Email"#-->
<!--#set global $help_uri = $confighelpuri + "notifications"#-->
<!--#set global $help_uri="configuration/4.0/notifications"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<!--#def show_notify_checkboxes($section_label)#-->
@@ -33,7 +33,7 @@
<input type="hidden" id="ajax" name="ajax" value="1" />
<div class="section" id="email">
<div class="col2">
<h3>$T('cmenu-email') <a href="$help_uri#toc0" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('cmenu-email') <a href="$helpuri$help_uri#toc0" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<div class="col2-cats" <!--#if int($email_endjob) > 0 then '' else 'style="display:none"'#-->>
<b>$T('affectedCat')</b><br/>
<select name="email_cats" multiple="multiple" class="multiple_cats" size="$len($categories)">
@@ -153,7 +153,7 @@
<!--#if $have_ntfosd#-->
<div class="section">
<div class="col2">
<h3>$T('section-OSD') <a href="$help_uri#toc4" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('section-OSD') <a href="$helpuri$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 int($ntfosd_enable) > 0 then 'checked="checked"' else ""#--> /></td>
@@ -178,14 +178,14 @@
<!--#end if#-->
<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>
<h3>$T('section-NScript') <a href="$helpuri$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 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>
<em>$T('explain-nscript_enable')</em><br><a href="$helpuri$help_uri#nscript" target="_blank">$T('readwiki')</a>
$show_cat_box('nscript')
</div>
<div class="col1" <!--#if int($nscript_enable) > 0 then '' else 'style="display:none"'#-->>
@@ -367,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()
}
})
@@ -393,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')
@@ -426,7 +426,7 @@ jQuery(document).ready(function(){
}
})
}
jQuery('#test_email, #test_notif, #test_windows, #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

@@ -1,12 +1,12 @@
<!--#set global $pane="RSS"#-->
<!--#set global $help_uri = $confighelpuri + "rss"#-->
<!--#set global $help_uri="configuration/4.0/rss"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<!--#import html#-->
<div class="colmask">
<!--#if not $active_feed#-->
<div class="section">
<div class="padTable">
<a class="main-helplink" href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<a class="main-helplink" href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<p>$T('explain-RSS')</p>
<form action="add_rss_feed" method="post" autocomplete="off">
<input type="hidden" name="apikey" value="$apikey" />
@@ -105,7 +105,7 @@
<!--#set $feed = html.unescape($active_feed)#-->
<div class="section rss-section">
<div class="padTable">
<a class="main-helplink" href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<a class="main-helplink" href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a>
<h2 class="nomargin activeRSS">
<a href="${root}config/rss/">$T('cmenu-rss')</a> &raquo;
$active_feed
@@ -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

@@ -1,5 +1,5 @@
<!--#set global $pane="Scheduling"#-->
<!--#set global $help_uri = $confighelpuri + "scheduling"#-->
<!--#set global $help_uri="configuration/4.0/scheduling"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<%
@@ -15,7 +15,7 @@ else:
<div class="colmask">
<div class="section">
<div class="col2">
<h3>$T('addSchedule') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('addSchedule') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<form action="addSchedule" method="post" autocomplete="off">
<input type="hidden" id="apikey" name="apikey" value="$apikey" />
@@ -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

@@ -1,5 +1,5 @@
<!--#set global $pane="Servers"#-->
<!--#set global $help_uri = $confighelpuri + "servers"#-->
<!--#set global $help_uri="configuration/4.0/servers"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<!--#import json#-->
@@ -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>
@@ -37,7 +29,7 @@
</div>
<div class="section" id="addServerContent" style="display: none;">
<div class="col2">
<h3>$T('addServer') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('addServer') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div>
<div class="col1">
<form action="addServer" method="post" autocomplete="off" onsubmit="removeObfuscation();">
@@ -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>
@@ -104,7 +96,7 @@
<label class="config" for="ssl_ciphers">$T('opt-ssl_ciphers')</label>
<input type="text" name="ssl_ciphers" id="ssl_ciphers" />
<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>
<a href="${helpuri}advanced/ssl-ciphers" target="_blank">${helpuri}advanced/ssl-ciphers</a></span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="send_group">$T('srv-send_group')</label>
@@ -159,7 +151,7 @@
<div class="section <!--#if int($server['enable']) == 0 then 'server-disabled' else ""#-->">
<div class="col2 <!--#if int($server['enable']) == 0 then 'server-disabled' else ""#-->">
<h3 title="$server['displayname']">$server['displayname'] <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3 title="$server['displayname']">$server['displayname'] <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<!--#if int($server['enable']) != 0 #-->
<!--#if $last_prio != $server['priority'] and $cur_prio_color+1 < len($prio_colors) #-->
<!--#set $cur_prio_color = $cur_prio_color+1 #-->
@@ -208,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>
@@ -236,7 +228,7 @@
<label class="config" for="ssl_ciphers$cur">$T('opt-ssl_ciphers')</label>
<input type="text" name="ssl_ciphers" id="ssl_ciphers$cur" value="$server['ssl_ciphers']" />
<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>
<a href="${helpuri}advanced/ssl-ciphers" target="_blank">${helpuri}advanced/ssl-ciphers</a></span>
</div>
<div class="field-pair advanced-settings">
<label class="config" for="required$cur">$T('srv-required')</label>
@@ -309,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>
@@ -349,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)
@@ -361,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
@@ -405,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))
@@ -413,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
@@ -431,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', {
@@ -447,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!
@@ -468,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()
})
@@ -482,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)
@@ -497,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()
}
@@ -514,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')
}
@@ -540,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>')
@@ -571,9 +560,9 @@
});
});
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"#-->
<!--#set global $help_uri="configuration/4.0/sorting"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="padTable section explain-sorting">
<a class="main-helplink" href="$helpuri$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 ">
@@ -32,9 +33,9 @@
</div>
<div class="col2">
<!--#if $cur == 0#-->
<h3>$T('add-sorter') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('add-sorter') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<!--#else#-->
<h3>$slot.name <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$slot.name <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<div class="sorter-switch-container wide">
<input type="checkbox" class="toggleSorterCheckbox sorter-switch float-left" rel="$slot.name" name="is_active" id="is_active_$cur" value="$slot.is_active" <!--#if $slot.is_active != 0 then 'checked="checked"' else ""#--> />
<label class="sorter-switch float-left" for="is_active_$cur">$T('enabled')</label>
@@ -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,34 @@
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 +509,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 +524,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

@@ -1,5 +1,5 @@
<!--#set global $pane="Special"#-->
<!--#set global $help_uri = $confighelpuri + "special"#-->
<!--#set global $help_uri="configuration/4.0/special"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="colmask">
@@ -10,7 +10,7 @@
</div>
<div class="section">
<div class="col2">
<h3>$T('sptag-boolean') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('sptag-boolean') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -33,7 +33,7 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('sptag-entries') <a href="$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('sptag-entries') <a href="$helpuri$help_uri" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>

View File

@@ -1,5 +1,5 @@
<!--#set global $pane="Switches"#-->
<!--#set global $help_uri = $confighelpuri + "switches"#-->
<!--#set global $help_uri="configuration/4.0/switches"#-->
<!--#include $webdir + "/_inc_header_uc.tmpl"#-->
<div class="colmask">
@@ -14,10 +14,19 @@
<input type="hidden" name="output" value="json" />
<div class="section advanced-settings">
<div class="col2">
<h3>$T('swtag-server') <a href="$help_uri#toc1" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('swtag-server') <a href="$helpuri$help_uri#toc1" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</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" />
@@ -37,11 +46,11 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('swtag-queue') <a href="$help_uri#toc2" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('swtag-queue') <a href="$helpuri$help_uri#toc2" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</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,19 +63,6 @@
</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" /> <i>$T('minutes')</i>
@@ -169,7 +165,7 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('swtag-pp') <a href="$help_uri#toc3" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('swtag-pp') <a href="$helpuri$help_uri#toc3" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -237,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 ""#--> />
@@ -273,7 +274,7 @@
</div><!-- /section -->
<div class="section advanced-settings">
<div class="col2">
<h3>$T('swtag-naming') <a href="$help_uri#toc4" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('swtag-naming') <a href="$helpuri$help_uri#toc4" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -313,7 +314,7 @@
</div><!-- /section -->
<div class="section">
<div class="col2">
<h3>$T('swtag-quota') <a href="$help_uri#toc5" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
<h3>$T('swtag-quota') <a href="$helpuri$help_uri#toc5" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></h3>
</div><!-- /col2 -->
<div class="col1">
<fieldset>
@@ -352,14 +353,14 @@
</div><!-- /colmask -->
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#history_retention_select, #history_retention_number').on('change', updateHistoryRetention)
\$(document).ready(function() {
\$('#history_retention_select, #history_retention_number').on('change', updateHistoryRetention)
function updateHistoryRetention() {
var retention_setting = jQuery('#history_retention')
var retention_select = jQuery('#history_retention_select').val()
var retention_number = jQuery('#history_retention_number')
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") {
if(retention_select == "0" || retention_select == "-1") {
retention_number.hide()
retention_number.val('')
retention_number.attr('placeholder', '')
@@ -385,24 +386,24 @@ jQuery(document).ready(function() {
}
}
// Set the history-retention settig
var retention_setting_value = jQuery('#history_retention').val()
var retention_setting_value = \$('#history_retention').val()
if(parseInt(retention_setting_value) > 0) {
// Days or number?
if(retention_setting_value.indexOf("d") !== -1) {
jQuery('#history_retention_select').val("d")
\$('#history_retention_select').val("d")
} else {
jQuery('#history_retention_select').val("n")
\$('#history_retention_select').val("n")
}
jQuery('#history_retention_number').val(parseInt(retention_setting_value))
\$('#history_retention_number').val(parseInt(retention_setting_value))
} else {
// Keep all or keep none
jQuery('#history_retention_select').val(retention_setting_value)
jQuery('#history_retention_number').hide()
\$('#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
@@ -410,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

@@ -15,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>
@@ -50,14 +47,14 @@
</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>

View File

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

View File

@@ -1,319 +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-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 !important;
}
.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;
}
/* Placeholders - Will not work if grouped! */
::-webkit-input-placeholder {
color: #EBEBEB !important;
}
::-moz-placeholder {
color: #EBEBEB !important;
opacity: 1 !important;
}
:-ms-input-placeholder {
color: #EBEBEB !important;
}
.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

@@ -89,7 +89,7 @@ body {
display: block;
position: static;
float: right;
color: black;
color: black !important;
padding: 0px;
font-size: 1.2em;
}
@@ -177,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 {
@@ -225,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;
@@ -359,6 +331,10 @@ tr.separator {
margin: 5px;
}
.Sorting .explain-sorting {
background-color: #fff;
color: #000;
}
.Sorting .explain-pattern {
border: none;
width: 100%;
@@ -1010,7 +986,7 @@ input[type="checkbox"] {
}
*/
.navbar-default .navbar-nav>li>a {
color: black;
color: black !important;
}
.navbar-default .navbar-nav>li>a:hover,
@@ -1047,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;

View File

@@ -109,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;
}
@@ -157,7 +157,7 @@
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
}
@@ -166,7 +166,7 @@
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 {
$('<span class="glyphicon glyphicon-folder-open"></span> ').prependTo(link);
@@ -239,8 +239,8 @@ function do_restart() {
$('.main-restarting').show()
// 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'))
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?
if(!$('body').hasClass('General') || (!switchedHTTPS && portsUnchanged)) {
@@ -248,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();
@@ -297,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;
@@ -429,7 +429,7 @@ $(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()

View File

@@ -1,10 +1,5 @@
<div class="history" id="history-tab" data-bind="visible: hasHistory() || displayTabbed()" style="display: none">
<div class="history-header">
<h2>$T('menu-history')</h2>
<a href="#" data-bind="click: history.showMultiEdit">
<span class="glyphicon glyphicon-tasks" data-tooltip="true" data-placement="left" title="$T('Glitter-multiOperations')"></span>
</a>
</div>
<h2>$T('menu-history')</h2>
<table class="table table-hover history-table paginated">
<thead>
<tr>
@@ -60,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>
@@ -132,20 +124,7 @@
<div class="multioperations-selector" id="history-options">
<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>
<div data-bind="visible: history.isMultiEditing()">
<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" data-bind="visible: history.isMultiEditing(), click: history.doMultiDelete">
<span class="glyphicon glyphicon-trash"></span>
</a>
<a href="#modal-purge-history" class="hover-button" title="$T('purgeHist')" data-bind="visible: !history.isMultiEditing()" data-toggle="modal" data-tooltip="true" data-placement="left">
<span class="glyphicon glyphicon-trash"></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">

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

@@ -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>
@@ -718,7 +713,7 @@
</tbody>
</table>
<hr/>
<p><small>Copyright (C) 2007-2021 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>

View File

@@ -171,8 +171,8 @@
<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" data-bind="click: queue.doMultiDelete">
<span class="glyphicon glyphicon-trash"></span>

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")";
@@ -146,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

@@ -13,10 +13,7 @@ function HistoryListModel(parent) {
self.searchTerm = ko.observable('').extend({ rateLimit: { timeout: 400, method: "notifyWhenChangesStop" } });
self.paginationLimit = ko.observable(10).extend({ persist: 'historyPaginationLimit' });
self.totalItems = ko.observable(0);
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();
@@ -43,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
@@ -59,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 = [];
@@ -68,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;
}));
});
}
@@ -82,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; })
})
}
}
@@ -96,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);
@@ -114,8 +110,6 @@ function HistoryListModel(parent) {
value: newValue
})
}
// Update pagination and counters
self.parent.refresh(true)
});
// Retry a job
@@ -148,7 +142,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 {
@@ -160,13 +154,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;
}
@@ -209,28 +203,28 @@ function HistoryListModel(parent) {
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
@@ -259,124 +253,6 @@ function HistoryListModel(parent) {
$("#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;
}
// Delete all selected
self.doMultiDelete = function() {
// Anything selected?
if(self.multiEditItems().length < 1) return;
// Need confirm
if(!self.parent.confirmDeleteHistory() || confirm(glitterTranslate.removeDown)) {
// List all the ID's
var strIDs = '';
$.each(self.multiEditItems(), function(index) {
strIDs = strIDs + this.id + ',';
})
// Show notification
showNotification('.main-notification-box-removing-multiple', 0, self.multiEditItems().length)
// Remove
callAPI({
mode: 'history',
name: 'delete',
del_files: 1,
value: strIDs
}).then(function(response) {
if(response.status) {
// Make sure the queue doesnt flicker and then fade-out
// Make sure no flickering (if there are more items left) and then remove
self.isLoading(self.totalItems() > 1)
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.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")
}
/**
@@ -390,7 +266,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);
@@ -427,14 +303,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
@@ -468,7 +344,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]
@@ -477,7 +353,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':
@@ -499,7 +375,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
@@ -548,10 +424,10 @@ function HistoryModel(parent, data) {
// 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) {
if(item.processingDownload() == 2) {
callAPI({
mode: 'cancel_pp',
value: self.id
value: self.nzo_id
})
// All we can do is wait
} else {
@@ -560,13 +436,12 @@ function HistoryModel(parent, data) {
mode: 'history',
name: 'delete',
del_files: 1,
value: self.id
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.multiEditItems.remove(function(inList) { return inList.id === self.id; })
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);
}
@@ -150,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;
}
@@ -171,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('')
@@ -196,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';
}
@@ -215,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()) {
@@ -252,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));
@@ -275,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(/:/);
@@ -344,7 +344,7 @@ function ViewModel() {
.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();
@@ -394,7 +394,7 @@ 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])
@@ -512,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({
@@ -534,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)
@@ -554,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())
}
@@ -565,7 +565,7 @@ function ViewModel() {
if (!self.speedLimitInt()) return;
// Update
if (self.speedLimitInt() !== newValue) {
if (self.speedLimitInt() != newValue) {
callAPI({
mode: "config",
name: "speedlimit",
@@ -638,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 = {
@@ -662,7 +656,7 @@ function ViewModel() {
}
// 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="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
@@ -672,7 +666,6 @@ function ViewModel() {
$("#modal-add-nzb").modal("hide");
form.reset()
$('#nzbname').val('')
submit_buttons.attr("disabled", false)
});
}
}
@@ -692,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)
@@ -708,7 +701,7 @@ function ViewModel() {
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="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
@@ -740,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
@@ -783,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' })
@@ -799,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')
}
@@ -881,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
@@ -1095,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 };
}))
@@ -1107,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)
}
@@ -1187,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'],
@@ -1199,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

@@ -37,6 +37,7 @@ function QueueListModel(parent) {
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);
@@ -74,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) {
@@ -87,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 = [];
@@ -96,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;
}));
});
}
@@ -158,8 +159,6 @@ function QueueListModel(parent) {
value: newValue
})
}
// Update pagination and counters
self.parent.refresh(true)
});
// Do we show search box. So it doesn't dissapear when nothing is found
@@ -170,7 +169,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 {
@@ -182,12 +181,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;
}
@@ -254,7 +253,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())) {
@@ -284,7 +283,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;
}
@@ -295,7 +294,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)
@@ -327,7 +326,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;
}
@@ -351,14 +350,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',
@@ -366,7 +365,7 @@ function QueueListModel(parent) {
value2: newPrior
})
}
if(newProc !== '') {
if(newProc != '') {
callAPI({
mode: 'change_opts',
value: strIDs,
@@ -383,13 +382,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,
@@ -401,7 +400,7 @@ function QueueListModel(parent) {
}
// Delete all selected
// Selete all selected
self.doMultiDelete = function() {
// Anything selected?
if(self.multiEditItems().length < 1) return;
@@ -446,7 +445,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")
}
@@ -466,8 +465,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))
@@ -478,7 +477,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
@@ -489,7 +488,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%)
@@ -497,7 +496,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
@@ -506,9 +505,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";
})
@@ -528,15 +524,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
@@ -546,7 +542,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()) {
@@ -560,17 +556,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':
@@ -586,7 +582,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))
@@ -597,12 +593,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();
@@ -639,7 +635,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;
@@ -729,7 +725,7 @@ function QueueModel(parent, data) {
// 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; })
parent.multiEditItems.remove(function(inList) { return inList.id == itemToDelete.id; })
self.parent.parent.refresh();
// Hide notifcation
hideNotification()

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;
}
@@ -990,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 {
@@ -1108,18 +1085,6 @@ tr.queue-item>td:first-child>a {
display: inline-block;
}
#history-options div {
display: inline-block;
margin-left: 5px;
}
#history-options input[name="multieditCheckAll"] {
vertical-align: middle;
position: relative;
top: -1px;
margin-left: 8px;
}
#history-options .hover-button span {
top: 2px;
}

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>

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

@@ -32,7 +32,7 @@
</div>
<hr/>
<p>$T('wizard-tip-wiki') <a target="_blank" href="https://sabnzbd.org/wiki/">$T('menu-wiki')</a> <span class="glyphicon glyphicon-info-sign"></span></p>
<p>$T('wizard-tip-wiki') <a target="_blank" href="$helpuri">$T('menu-wiki')</a> <span class="glyphicon glyphicon-info-sign"></span></p>
</div>
<hr />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022-2023 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>
@@ -29,15 +29,6 @@
<url type="help">https://sabnzbd.org/wiki/</url>
<url type="faq">https://sabnzbd.org/wiki/faq</url>
<url type="contact">https://sabnzbd.org/live-chat.html</url>
<releases>
<release version="4.2.0" date="2023-11-26" 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"/>
<release version="4.0.0" date="2023-04-28" type="stable"/>
<release version="3.7.2" date="2023-02-05" type="stable"/>
</releases>
<launchable type="desktop-id">sabnzbd.desktop</launchable>
<provides>
<mediatype>application/x-nzb</mediatype>
@@ -53,7 +44,7 @@
<internet>always</internet>
</recommends>
<project_license>GPL-2.0-or-later</project_license>
<developer_name>The SABnzbd-Team</developer_name>
<developer_name>The SABnzbd-team</developer_name>
<screenshots>
<screenshot type="default">
<image>https://sabnzbd.org/images/landing/screenshots/interface.png</image>

View File

Binary file not shown.

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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# ION, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0Beta2\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-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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,7 +153,7 @@ msgid "Test Notification"
msgstr ""
#: sabnzbd/api.py
msgid "Resolving address"
msgid "&nbsp;Resolving address"
msgstr ""
#. No value, used in dropdown menus
@@ -233,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 ""
@@ -241,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 ""
@@ -259,20 +267,7 @@ msgid "Permissions setting of %s might deny SABnzbd access to the files and fold
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed 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"
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid "Do not use a folder in the application folder as your Scripts Folder, it might be emptied during updates."
msgid "Error: Queue not empty, cannot change folder."
msgstr ""
#. Warning message
@@ -320,7 +315,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 ""
@@ -384,7 +379,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 ""
@@ -411,11 +406,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr ""
@@ -563,26 +553,16 @@ msgstr ""
msgid "Loading %s failed"
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable with special character filenames. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -617,10 +597,18 @@ msgstr ""
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 ""
@@ -744,6 +732,7 @@ msgstr ""
msgid "Running script"
msgstr ""
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr ""
@@ -831,6 +820,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 ""
@@ -1082,18 +1084,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)"
@@ -1108,6 +1098,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)"
@@ -1126,10 +1136,6 @@ msgstr ""
msgid "DUPLICATE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr ""
@@ -1175,10 +1181,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"
@@ -1408,11 +1410,11 @@ msgid "Running user script %s"
msgstr ""
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgid "Ran %s"
msgstr ""
#: sabnzbd/postproc.py
msgid "Ran %s"
msgid "Script exit code is %s"
msgstr ""
#: sabnzbd/postproc.py, sabnzbd/skintext.py
@@ -2133,6 +2135,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"
@@ -2402,16 +2409,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 "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 par2cmdline-turbo, it is available for many platforms."
msgid "Speed up repairs by installing multicore Par2, it is available for many platforms."
msgstr ""
#: sabnzbd/skintext.py
@@ -2768,7 +2783,7 @@ msgid "Watched Folder"
msgstr ""
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgid "Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz archives for .nzb files.</i>"
msgstr ""
#: sabnzbd/skintext.py
@@ -2839,10 +2854,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 ""
@@ -2987,6 +2998,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 ""
@@ -3003,14 +3022,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 ""
@@ -3230,6 +3241,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"
@@ -4465,6 +4496,10 @@ msgstr ""
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 ""

View File

@@ -1,13 +1,14 @@
# SABnzbd Translation Template file MAIN
# 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.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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,7 +170,7 @@ msgid "Test Notification"
msgstr "Otestovat notifikace"
#: sabnzbd/api.py
msgid "Resolving address"
msgid "&nbsp;Resolving address"
msgstr "Překládám adresu"
#. No value, used in dropdown menus
@@ -258,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"
@@ -266,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 ""
@@ -286,25 +294,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC cesta \"%s\" zde není povolena"
#: 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 ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Chyba: Fronta nené prázdná, nelze změnit složku."
#. Warning message
#: sabnzbd/config.py
@@ -351,7 +342,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 ""
@@ -420,7 +411,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 "
@@ -449,11 +440,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Příliš mnoho spojení k serveru %s [%s]"
@@ -603,21 +589,6 @@ msgstr "Ukládání %s selhalo"
msgid "Loading %s failed"
msgstr "Načítání %s selhalo"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -625,6 +596,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr "Odmítnuto spojení z:"
@@ -667,10 +643,21 @@ msgstr "Přihlášené selhalo, zkontrolujte jméno a heslo."
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á."
@@ -799,6 +786,7 @@ msgstr ""
msgid "Running script"
msgstr "Běžící skript"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr ""
@@ -887,6 +875,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\""
@@ -1149,18 +1150,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)"
@@ -1175,6 +1164,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)"
@@ -1193,10 +1202,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É"
@@ -1242,10 +1247,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"
@@ -1481,14 +1482,14 @@ msgstr "Nezdařilo se přesunout soubory"
msgid "Running user script %s"
msgstr "Spouštím uživatelský skript %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Navratový kód skriptu je %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Spuštěno %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Navratový kód skriptu je %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Více"
@@ -2208,6 +2209,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"
@@ -2491,10 +2497,18 @@ 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 ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2505,7 +2519,7 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2898,7 +2912,9 @@ msgid "Watched Folder"
msgstr ""
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
#: sabnzbd/skintext.py
@@ -2975,10 +2991,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 ""
@@ -3140,6 +3152,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 ""
@@ -3158,14 +3178,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 ""
@@ -3398,6 +3410,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"
@@ -4674,6 +4706,10 @@ 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 ""

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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,8 +170,8 @@ msgid "Test Notification"
msgstr "Afprøv notifikation"
#: 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
@@ -258,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"
@@ -266,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."
@@ -286,25 +294,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC søgning \"%s\" er ikke tilladt her"
#: 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 ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Fejl: Køen er ikke tom, kan ikke skifte mappe."
#. Warning message
#: sabnzbd/config.py
@@ -351,7 +342,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"
@@ -418,7 +409,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 "
@@ -447,11 +438,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Det lykkedes ikke at initialisere %s@%s med begrundelse %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Alt for mange forbindelser til serveren %s [%s]"
@@ -611,21 +597,6 @@ msgstr "Gemmes %s mislykkedes"
msgid "Loading %s failed"
msgstr "Downloadning af %s mislykkedes"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -633,6 +604,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -675,10 +651,20 @@ msgstr "Godkendelse mislykkedes, kontrollere brugernavn/adgangskode."
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."
@@ -805,6 +791,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]"
@@ -892,6 +879,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\""
@@ -1153,18 +1153,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)"
@@ -1179,6 +1167,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)"
@@ -1197,10 +1205,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"
@@ -1246,10 +1250,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"
@@ -1513,14 +1513,14 @@ msgstr "Kunne ikke flytte filer"
msgid "Running user script %s"
msgstr "Kør bruger script %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Script exit kode er %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Kørte %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Script exit kode er %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Mere"
@@ -2240,6 +2240,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"
@@ -2532,10 +2537,18 @@ 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 ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2546,9 +2559,11 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"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"
@@ -2956,8 +2971,12 @@ msgid "Watched Folder"
msgstr "Overvåget Mappe"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Mappe til at gennemsøge for .nzb filer."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Mappe til at gennemsøge for. Nzb filer.<br /><i>Skanner også for .zip .rar "
"og .tar.gz arkiver efter .nzb filer.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3038,10 +3057,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"
@@ -3214,6 +3229,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"
@@ -3234,14 +3257,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"
@@ -3485,6 +3500,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"
@@ -4786,6 +4821,10 @@ 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."

View File

@@ -1,5 +1,6 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# C E <githubce@eiselt.ch>, 2020
@@ -10,14 +11,14 @@
# Simon W., 2021
# Nils Briggen, 2022
# reloxx13 <reloxx@interia.pl>, 2022
# kameb, 2023
# Safihre <safihre@sabnzbd.org>, 2023
# kameb, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Last-Translator: kameb, 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"
@@ -71,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."
@@ -182,8 +186,8 @@ msgid "Test Notification"
msgstr "Benachrichtigungen testen"
#: 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
@@ -277,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"
@@ -285,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."
@@ -307,28 +315,10 @@ msgstr ""
"erstellten Dateien und Ordner von SABnzbd verweigern."
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-Pfad \"%s\" ist hier nicht erlaubt"
#: sabnzbd/cfg.py
msgid "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."
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgid "Error: Queue not empty, cannot change folder."
msgstr ""
"Fehler: Ordner kann nicht geändert werden, da die Warteschlange nicht leer "
"ist."
#. Warning message
#: sabnzbd/config.py
@@ -378,7 +368,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"
@@ -449,7 +439,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"
@@ -478,11 +468,6 @@ msgstr "Es gibt keine aktiven Server!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Fehler %s@%s zu initialisieren, aus folgendem Grund: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Zu viele Verbindungen zu Server %s [%s]"
@@ -646,21 +631,6 @@ msgstr "Fehler beim Speichern von %s"
msgid "Loading %s failed"
msgstr "Fehler beim Laden von %s"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s ist nicht beschreibbar. Downloads sind dadurch blockiert."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -670,6 +640,11 @@ msgstr ""
"Dateinamen mit Umlaute können nicht in %s gespeichert werden. Dies kann zu "
"Problemen führen."
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s ist nicht beschreibbar. Downloads sind dadurch blockiert."
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr "Abgelehnte Verbindung von:"
@@ -713,10 +688,23 @@ msgstr ""
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."
@@ -848,6 +836,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]"
@@ -937,6 +926,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\""
@@ -1203,18 +1205,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)"
@@ -1231,6 +1221,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)"
@@ -1249,10 +1259,6 @@ msgstr "Fehler beim Importieren von %s"
msgid "DUPLICATE"
msgstr "DUPLIKAT"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "VERSCHLÜSSELT"
@@ -1299,10 +1305,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"
@@ -1578,14 +1580,14 @@ msgstr "Dateien verschieben fehlgeschlagen"
msgid "Running user script %s"
msgstr "Ausführen des Benutzer-Skripts %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Exit-Code des Skripts ist %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "%s ausgeführt"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Exit-Code des Skripts ist %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Mehr"
@@ -2305,6 +2307,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"
@@ -2606,10 +2613,18 @@ 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 ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2624,9 +2639,11 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Erhöhe Reparaturgeschwindigkeit durch installation von Multicore Par2, "
"verfügbar auf vielen Plattformen."
#: sabnzbd/skintext.py
msgid "Version"
@@ -3063,8 +3080,12 @@ msgid "Watched Folder"
msgstr "Überwachter Ordner"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Ordner, der auf neue .nzb Dateien überwacht werden soll."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Ordner, der auf neue NZB-Dateien überwacht werden soll.<br /><i>Erkennt auch"
" ZIP-, RAR- und TAR.GZ-Archive mit NZB-Dateien.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3152,10 +3173,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 ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "NZB-Backup-Ordner"
@@ -3337,6 +3354,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"
@@ -3358,14 +3385,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 ""
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr ""
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Zusätzliche PAR2-Parameter"
@@ -3628,6 +3647,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"
@@ -4960,6 +4999,10 @@ 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."

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-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.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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,8 +179,8 @@ msgid "Test Notification"
msgstr "Notificación de prueba"
#: 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
@@ -273,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."
@@ -281,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."
@@ -301,25 +309,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Ruta de acceso UNC \"%s\" no permitido aqui"
#: 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 ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
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/config.py
@@ -369,7 +360,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"
@@ -439,7 +430,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"
@@ -468,11 +459,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Error al inicializar %s@%s con la razón: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Demasiadas conexiones con el servidor %s [%s]"
@@ -633,21 +619,6 @@ msgstr "Guardar de %s no se pudo completar."
msgid "Loading %s failed"
msgstr "Cargar de %s no se pudo completar."
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -655,6 +626,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -697,10 +673,20 @@ msgstr "Autenticación fallida, compruebe el usuario o la contraseña."
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."
@@ -834,6 +820,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 ""
@@ -925,6 +912,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\""
@@ -1196,18 +1196,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)"
@@ -1224,6 +1212,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)"
@@ -1242,10 +1250,6 @@ msgstr "Error importando %s"
msgid "DUPLICATE"
msgstr "DUPLICADO"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "ENCRIPTADO"
@@ -1291,10 +1295,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"
@@ -1567,14 +1567,14 @@ msgstr "Error al mover ficheros"
msgid "Running user script %s"
msgstr "Ejecutando script de usuario %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "El código de retorno del Script es %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Se ejecutó %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "El código de retorno del Script es %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Más"
@@ -2296,6 +2296,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"
@@ -2592,10 +2597,18 @@ 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 ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2612,9 +2625,11 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"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"
@@ -3035,8 +3050,12 @@ msgid "Watched Folder"
msgstr "Directorio a vigilar"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Directorio a monitorizar en busca de ficheros .nzb."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Directorio a monitorizar en busca de ficheros .nzb.<br /><i>También escanea "
"ficheros .zip .rar y .tar.gz en busca de ficheros .nzb.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3119,10 +3138,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"
@@ -3298,6 +3313,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"
@@ -3318,14 +3342,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"
@@ -3580,6 +3596,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"
@@ -4894,6 +4931,10 @@ 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."

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\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,8 +172,8 @@ msgid "Test Notification"
msgstr "Testaa ilmoitusta"
#: 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
@@ -256,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"
@@ -264,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."
@@ -284,25 +292,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "TUNT polku \"%s\" ei ole sallittu"
#: 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 ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Virhe: Jono ei ole tyhjä, kansiota ei voida vaihtaa."
#. Warning message
#: sabnzbd/config.py
@@ -349,7 +340,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"
@@ -416,7 +407,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."
@@ -444,11 +435,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Alustaminen epäonnistui kohteessa %s@%s syy: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Liikaa yhteyksiä palvelimelle %s [%s]"
@@ -608,21 +594,6 @@ msgstr "Kohteen %s tallentaminen epäonnistui"
msgid "Loading %s failed"
msgstr "Kohteen %s lataaminen epäonnistui"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -630,6 +601,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -672,10 +648,20 @@ msgstr "Varmennus epäonnistui, tarkista käyttäjänimi/salasana."
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."
@@ -802,6 +788,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]"
@@ -889,6 +876,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\""
@@ -1147,18 +1147,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)"
@@ -1173,6 +1161,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)"
@@ -1191,10 +1199,6 @@ msgstr "Virhe tuotaessa %s"
msgid "DUPLICATE"
msgstr "KAKSOISKAPPALE"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "SALATTU"
@@ -1240,10 +1244,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"
@@ -1507,14 +1507,14 @@ msgstr "Tiedostojen siirto epäonnistui"
msgid "Running user script %s"
msgstr "Ajetaan käyttäjän skripti %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Skriptin lopetuskoodi on %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Ajettiin %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Skriptin lopetuskoodi on %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Lisää"
@@ -2234,6 +2234,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"
@@ -2528,10 +2533,18 @@ 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 ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2542,7 +2555,7 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2961,8 +2974,12 @@ msgid "Watched Folder"
msgstr "Vahdittu kansio"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Kansio jota vahditaan .nzb tiedostojen varalta."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Kansio jota vahditaan .nzb tiedostojen varalta.<br /><i>Etsii .nzb "
"tiedostoja myös .zip .rar ja .tar.gz arkistojen sisältä.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3046,10 +3063,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"
@@ -3217,6 +3230,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ä"
@@ -3237,14 +3259,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"
@@ -3488,6 +3502,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"
@@ -4791,6 +4826,10 @@ msgid ""
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."

View File

@@ -1,5 +1,6 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
@@ -7,7 +8,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Fred L <88com88@gmail.com>, 2023\n"
"Language-Team: French (https://app.transifex.com/sabnzbd/teams/111101/fr/)\n"
@@ -64,11 +65,14 @@ msgstr ""
msgid "unrar binary... NOT found"
msgstr "binaire unrar... Introuvable!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "Binaire 7za ... Introuvable!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "binaire unzip... Introuvable!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -177,8 +181,8 @@ msgid "Test Notification"
msgstr "Test de Notification"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Résolution de l'adresse"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Résolution de l'adresse"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -275,6 +279,10 @@ msgstr "Quota atteint, téléchargement mis en pause"
msgid "Incorrect parameter"
msgstr "Paramètre incorrect"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Le chemin UNC \"%s\" n'est pas autorisé ici"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s n'est pas une adresse email valide"
@@ -283,7 +291,7 @@ msgstr "%s n'est pas une adresse email valide"
msgid "Server address required"
msgstr "Adresse du serveur requise"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Adresse du serveur erronée"
@@ -305,29 +313,9 @@ msgstr ""
"fichiers et dossiers qu'il crée."
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Le chemin UNC \"%s\" n'est pas autorisé ici"
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "La file d'attente n'est pas vide, impossible de changer de dossier."
#: 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 ""
"Le dossier des téléchargements terminés ne peut pas être le même dossier que"
" les téléchargements temporaires, ni être l'un de ses sous-dossiers"
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
"N'utilisez pas un dossier à l'intérieur du dossier de l'application pour y "
"stocker les scripts, il pourrait être vidé lors des mises à jour."
"Erreur : La file d'attente n'est pas vide, impossible de changer le dossier."
#. Warning message
#: sabnzbd/config.py
@@ -376,7 +364,7 @@ msgstr "Echec de la commande SQL, voir le journal"
msgid "Failed to close database, see log"
msgstr "Impossible de fermer la base de données, voir le journal"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Étape de journalisation invalide dans l'historique pour %s"
@@ -446,7 +434,7 @@ msgid "Paused"
msgstr "En 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 ""
"Vous devez définir une bande passante maximale avant de pouvoir définir une "
@@ -475,11 +463,6 @@ msgstr "Il n'y a aucun serveur actif !"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Échec d'initialisation de %s@%s pour la raison suivante : %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr "Erreur fatale dans le Téléchargeur"
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Trop de connexions au serveur %s [%s]"
@@ -643,25 +626,6 @@ msgstr "L'enregistrement de %s a échoué"
msgid "Loading %s failed"
msgstr "Echec du chargement de %s"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s n'est pas du tout inscriptible. Les téléchargements sont bloqués."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
"Impossible d'écrire un nom de fichier long dans %s. Cela peut causer des "
"problèmes."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
"Impossible d'écrire un nom de fichier unicode dans %s. Cela peut causer des "
"problèmes."
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -671,6 +635,11 @@ msgstr ""
"Le fichier %s n'est pas inscriptible à cause des caractères spéciaux dans le"
" nom. Cela peut causer des problèmes."
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s n'est pas du tout inscriptible. Les téléchargements sont bloqués."
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr "Connexion refusée de:"
@@ -713,10 +682,23 @@ msgstr "Echec d'authentification, vérifiez les identifiant/mot de passe."
msgid "Unsuccessful login attempt from %s"
msgstr "Echec de la tentative de connexion de %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
"Le dossier des téléchargements terminés ne peut pas être le même dossier que"
" les téléchargements temporaires, ni être l'un de ses sous-dossiers"
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr "Archives de sauvegarde non valides"
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr ""
"Avertissement: LOCALHOST est ambigü, utilisez une adresse IP numérique."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "L' adresse du serveur \"%s:%s\" n'est pas valide."
@@ -850,6 +832,7 @@ msgstr "Tri des films"
msgid "Running script"
msgstr "Exécution du script"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Arborescence trop profonde dans le fichier compressé [%s]"
@@ -940,6 +923,19 @@ msgstr "Fichier RAR inutilisable"
msgid "Corrupt RAR file"
msgstr "Fichier RAR corrompu"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s fichiers dans %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Erreur \"%s\" lors de l'exécution de unzip() sur %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "Aucun binaire 7za trouvé, impossible de décompresser \"%s\""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Tentative 7zip avec le mot de passe \"%s\""
@@ -1203,18 +1199,6 @@ msgstr "Erreur lors du chargement de %s, fichier corrompu détecté"
msgid "NZB added to queue"
msgstr "NZB ajouté à la file d'attente"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Doublon NZB ignoré \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Échec de duplication du NZB \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dupliquer NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1229,6 +1213,26 @@ msgstr "Fichier NZB %s vide"
msgid "Pre-queue script marked job as failed"
msgstr "Le script de pré-file d'attente a marqué la tâche comme échouée"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Doublon NZB ignoré \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Échec de duplication du NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dupliquer NZB"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Mise en pause du doublon NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1247,10 +1251,6 @@ msgstr "Erreur lors de l'importation de %s"
msgid "DUPLICATE"
msgstr "DOUBLON"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "CHIFFRÉ"
@@ -1296,10 +1296,6 @@ msgstr "%s articles manquants"
msgid "%s articles had non-matching duplicates"
msgstr "%s articles avec doublons sans correspondance"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Mise en pause du doublon NZB \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1575,14 +1571,14 @@ msgstr "Impossible de déplacer les fichiers"
msgid "Running user script %s"
msgstr "Exécution du script utilisateur %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Le code script de sortie est %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "%s exécuté"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Le code script de sortie est %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Plus"
@@ -2303,6 +2299,11 @@ msgstr "Nom"
msgid "Retry"
msgstr "Réessayer"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Actions"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2604,10 +2605,18 @@ msgstr ""
"La session expirera quand votre adresse IP changera ou quand SABnzbd sera "
"redémarré."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Activer Unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Activer 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr "Par2 multi-cœur"
#: sabnzbd/skintext.py
msgid ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2622,11 +2631,11 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Accélérez les réparations en installant par2cmdline-turbo, il est disponible"
" pour de nombreuses plateformes."
"Accélérez les réparations en installant Par2 multi-coeur, disponible sous de"
" nombreuses plateformes."
#: sabnzbd/skintext.py
msgid "Version"
@@ -3064,8 +3073,12 @@ msgid "Watched Folder"
msgstr "Dossier à surveiller"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Dossier d'import automatique des fichiers .nzb."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Dossier d'import automatique des fichiers .nzb.<br /><i>Prends en compte "
"également les nzb contenus dans les fichiers .zip, .rar et .tar.gz.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3154,10 +3167,6 @@ msgstr ""
"Emplacement des fichiers journaux de SABnzbd.<br /><i>Redémarrage requis "
"!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr "Purger les logs"
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "Dossier de sauvegarde des fichiers .nzb"
@@ -3338,6 +3347,16 @@ msgstr ""
"Lorsque le script de l'utilisateur renvoie un code de sortie \"non-zéro\", "
"la tâche sera signalée comme échouée."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "En cas d'échec, essayer avec un NZB alternatif"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Certains serveurs proposent un NZB alternatif lorsqu'un téléchargement "
"échoue."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Activer le renommage du dossier"
@@ -3358,14 +3377,6 @@ msgstr "Script utilisateur de pré-file d'attente"
msgid "Used before an NZB enters the queue."
msgstr "Utilisé avant qu'un NZB n'entre dans la file d'attente."
#: sabnzbd/skintext.py
msgid "On queue finish script"
msgstr "Script de fin de file d'attente"
#: sabnzbd/skintext.py
msgid "Executed after the queue finishes downloading."
msgstr "Exécuté après la fin du téléchargement de la file d'attente."
#: sabnzbd/skintext.py
msgid "Extra PAR2 Parameters"
msgstr "Paramètres PAR2 supplémentaires"
@@ -3627,6 +3638,26 @@ msgstr ""
"S'il apparait clairement pendant le téléchargement qu'il manque trop de "
"données, annuler la tâche"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "Sélection de l'adresse IP du serveur"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr "Première adresse IP"
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "Adresse IP sélectionnée au hasard"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "Adresse IP la plus rapide, IPv6 de préférence"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr "Utile si un serveur de news a plus d'une adresse IPv4/IPv6"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -4717,7 +4748,6 @@ msgstr "Raccourcis clavier"
#: sabnzbd/skintext.py
msgid "Shift+Arrow key: Browse Queue and History pages"
msgstr ""
"Maj+flèche : parcourir les pages de la file d'attente et de l'historique"
#: sabnzbd/skintext.py
msgid "How long or untill when do you want to pause? (in English!)"
@@ -4967,6 +4997,10 @@ msgstr ""
"Protocole SSL inconnu: essayez de désactiver SSL ou de vous connecter sur un"
" autre port."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "Le serveur a interrompu l'ouverture de session."
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Le serveur requiert un identifiant et un mot de passe."

View File

@@ -1,13 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# ION, 2023
# ION, 2022
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Hebrew (https://app.transifex.com/sabnzbd/teams/111101/he/)\n"
@@ -58,11 +59,14 @@ msgstr "גרסת UNRAR שלך היא %s, אנחנו ממליצים על גרסה
msgid "unrar binary... NOT found"
msgstr "unrar בינארי… לא נמצא!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za בינארי… לא נמצא!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip בינארי… לא נמצא!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -165,8 +169,8 @@ msgid "Test Notification"
msgstr "בחן התראה"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "פותר כתובת"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;פותר כתובת"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -254,6 +258,10 @@ msgstr "מכסה נוצלה, משהה הורדה"
msgid "Incorrect parameter"
msgstr "פרמטר שגוי"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "נתיב UNC \"%s\" אינו מותר כאן"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s אינה כתובת דוא״ל תקפה"
@@ -262,7 +270,7 @@ msgstr "%s אינה כתובת דוא״ל תקפה"
msgid "Server address required"
msgstr "כתובת שרת דרושה"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "כתובת שרת בלתי תקפה."
@@ -283,27 +291,8 @@ msgstr ""
"הגדרת הרשאות של %s עשויה לדחות גישה מן SABnzbd אל הקבצים והתיקיות שהוא יוצר."
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "נתיב UNC \"%s\" אינו מותר כאן"
#: 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"
msgstr ""
"תיקיית ההורדות השלמות אינה יכולה להיות אותה תיקייה או תת־תיקייה של תיקיית "
"ההורדות הזמניות"
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "שגיאה: התור אינו ריק, לא ניתן לשנות תיקייה."
#. Warning message
#: sabnzbd/config.py
@@ -350,7 +339,7 @@ msgstr "פקודת SQL נכשלה, ראה יומן"
msgid "Failed to close database, see log"
msgstr "נכשל בסגירת מסד נתונים, ראה יומן"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "רישום של אירוע בלתי תקף בהיסטוריה עבור %s"
@@ -419,7 +408,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 "אתה חייב לקבוע רוחב פס מרבי לפני שאתה קובע מגבלת רוחב פס"
@@ -446,11 +435,6 @@ msgstr "אין שרתים פעילים!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "נכשל באתחול %s@%s עם סיבה: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "יותר מדי חיבורים לשרת %s [%s]"
@@ -610,21 +594,6 @@ msgstr "שמירת %s נכשלה"
msgid "Loading %s failed"
msgstr "טעינת %s נכשלה"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s אינו בר־כתיבה בכלל. זה חוסם הורדות."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -632,6 +601,11 @@ msgid ""
"problems."
msgstr "%s אינו בר־כתיבה עם שמות קבצים עם תו מיוחד. זה יכול לגרום לבעיות."
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr "%s אינו בר־כתיבה בכלל. זה חוסם הורדות."
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr "חיבור מסורב מאת:"
@@ -672,10 +646,22 @@ msgstr "אימות נכשל, בדוק שם משתמש/סיסמה."
msgid "Unsuccessful login attempt from %s"
msgstr "ניסיון כניסה בלתי מוצלח מן %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 "אזהרה: LOCALHOST הוא דו־משמעי, השתמש בכתובת IP מספרית."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "כתובת השרת \"%s:%s\" אינה תקפה."
@@ -804,6 +790,7 @@ msgstr "מיון סרטים"
msgid "Running script"
msgstr "מריץ תסריט"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "פריקת קינון ארוכה מדי [%s]"
@@ -891,6 +878,19 @@ msgstr "קובץ RAR בלתי שמיש"
msgid "Corrupt RAR file"
msgstr "קובץ RAR פגום"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s קבצים תוך %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "שגיאה \"%s\" בזמן הרצת unzip() על %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "בינארי 7za לא נמצא, לא ניתן לפרוק את \"%s\""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "מנסה 7zip עם הסיסמה \"%s\""
@@ -1150,18 +1150,6 @@ msgstr "שגיאה בטעינת %s, קובץ פגום התגלה"
msgid "NZB added to queue"
msgstr "NZB התווסף לתור"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "מתעלם מן NZB כפול \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "מכשיל NZB כפול \"%s\""
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "NZB כפול"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1176,6 +1164,26 @@ msgstr "קובץ NZB ריק %s"
msgid "Pre-queue script marked job as failed"
msgstr "תסריט קדם־תור סומן כנכשל"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "מתעלם מן NZB כפול \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "מכשיל NZB כפול \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "NZB כפול"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "משהה NZB כפול \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1194,10 +1202,6 @@ msgstr "שגיאה ביבוא %s"
msgid "DUPLICATE"
msgstr "כפול"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "מוצפן"
@@ -1243,10 +1247,6 @@ msgstr "%s מאמרים היו חסרים"
msgid "%s articles had non-matching duplicates"
msgstr "אל %s מאמרים יש כפילויות בלתי תואמות"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "משהה NZB כפול \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1514,14 +1514,14 @@ msgstr "נכשל בהעברת קבצים"
msgid "Running user script %s"
msgstr "מריץ תסריט משתמש %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "קוד יציאת תסריט הוא %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "הריץ את %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "קוד יציאת תסריט הוא %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "עוד"
@@ -2241,6 +2241,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"
@@ -2534,10 +2539,18 @@ msgid ""
"expire."
msgstr "כאשר כתובת ה־IP שלך משתנה או כאשר SABnzbd מופעל מחדש, השיח יפוג."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "אפשר חילוץ zip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "אפשר חילוץ 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr "Par2 מרובה ליבות"
#: sabnzbd/skintext.py
msgid ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2551,9 +2564,9 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
msgstr "האץ תיקונים ע״י התקנת Par2 מרובה־ליבות, הוא זמין עבור פלטפורמות רבות."
#: sabnzbd/skintext.py
msgid "Version"
@@ -2969,8 +2982,12 @@ msgid "Watched Folder"
msgstr "תיקייה מושגחת"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "תיקייה לניטור אחר קבצי nzb."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"תיקייה לניטור אחר קבצי nzb.<br /><i>סורק גם ארכיונים מסוג .zip .rar "
"ו־.tar.gz ואחר קבצי nzb.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3051,10 +3068,6 @@ msgid ""
msgstr ""
"מיקום של קבצי יומן עבור SABnzbd.<br /><i>דורש הפעלה מחדש של SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "תיקיית גיבוי .nzb"
@@ -3223,6 +3236,14 @@ msgid ""
msgstr ""
"כאשר תסריט המשתמש מחזיר קוד יציאה בלתי אפסי, העבודה תסומן בדגל כנכשלה."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "בכישלון, נסה NZB חלופי"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr "מספר שרתים מספקים קובץ NZB חלופי כאשר הורדה נכשלת."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "אפשר שינוי שם תיקייה"
@@ -3243,14 +3264,6 @@ msgstr "תסריט משתמש של קדם־תור"
msgid "Used before an NZB enters the queue."
msgstr "בשימוש לפני ש־NZB נכנס לתור."
#: 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 "פרמטרי PAR2 נוספים"
@@ -3491,6 +3504,26 @@ msgid ""
"the job"
msgstr "כאשר במהלך הורדה מתבהר שיותר מדי נתונים חסרים, בטל את העבודה"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "בחירת כתובת IP של שרת"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr "כתובת IP ראשונה"
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "כתובת IP שנבחרה באופן אקראי"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "כתובת IP הזריזה ביותר, העדפה אל IPv6"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr "שימושי אם לשרת חדשות יש יותר מכתובת IPv4/IPv6 אחת"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -4795,6 +4828,10 @@ msgid ""
"Unknown SSL protocol: Try disabling SSL or connecting on a different port."
msgstr "פרוטוקול SSL בלתי ידוע: נסה להשבית SSL או להתחבר על פתחה שונה."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "שרת יצא במהלך רצף כניסות."
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr ".השרת דורש שם משתמש וסיסמה"

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Norwegian Bokmål (https://app.transifex.com/sabnzbd/teams/111101/nb/)\n"
@@ -58,11 +59,14 @@ msgstr "Din Unrar-versjon er %s, vi anbefaler versjon %s eller høyere. <br />"
msgid "unrar binary... NOT found"
msgstr "unrar-binærfil... IKKE funnet!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za-binærfil... IKKE funnet!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip-binærfil... IKKE funnet!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -164,8 +168,8 @@ msgid "Test Notification"
msgstr "Test varslingen"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Løs adresse"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Løs adresse"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -252,6 +256,10 @@ msgstr "Kvote oppbrukt, setter nedlasting på pause"
msgid "Incorrect parameter"
msgstr "Feil parameter"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-sti \"%s\" er ikke tillatt her"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s er ikke en godkjent e-post-adresse"
@@ -260,7 +268,7 @@ msgstr "%s er ikke en godkjent e-post-adresse"
msgid "Server address required"
msgstr "Krever server-adresse"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Ugyldig server-adresse."
@@ -280,25 +288,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-sti \"%s\" er ikke tillatt her"
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Køen er ikke tom, kan ikke bytte mappe."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Feil: Køen er ikke tom, kan ikke bytte mappe."
#. Warning message
#: sabnzbd/config.py
@@ -345,7 +336,7 @@ msgstr "SQL-kommando mislyktes, se logg"
msgid "Failed to close database, see log"
msgstr "Kunne ikke stenge databasen, se logg"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Ugyldig scenen logging i historien for %s"
@@ -412,7 +403,7 @@ msgid "Paused"
msgstr "Pauset"
#. 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 må sette maks båndbredde før du kan sette en båndbreddebegrensning"
@@ -439,11 +430,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Feilet å starte %s@%s grunnet: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "For mange tilkoblinger til server %s [%s]"
@@ -603,21 +589,6 @@ msgstr "Lagring av %s mislyktes"
msgid "Loading %s failed"
msgstr "Lasting av %s mislyktes"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -625,6 +596,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -667,10 +643,20 @@ msgstr "Godkjenning mislyktes, kontroller brukernavn og passord."
msgid "Unsuccessful login attempt from %s"
msgstr "Mislykket påloggingsforsøk 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, bruk numerisk IP-adresse."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Serveradressen \"%s:%s\" er ikke gyldig."
@@ -797,6 +783,7 @@ msgstr ""
msgid "Running script"
msgstr "Kjører skript"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Utpakking nestet for dypt [%s]"
@@ -884,6 +871,19 @@ msgstr "Ubrukelig RAR-fil"
msgid "Corrupt RAR file"
msgstr ""
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s filer på %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Feil \"%s\" under kjøring av 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 "Prøver 7zip med password \"%s\""
@@ -1143,18 +1143,6 @@ msgstr "Lastingsfeil %s, feilaktig fil oppdaget"
msgid "NZB added to queue"
msgstr "NZB er lagt til i køen"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorerer duplikatfil \"%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)"
@@ -1169,6 +1157,26 @@ msgstr "Tom NZB-fil %s"
msgid "Pre-queue script marked job as failed"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignorerer duplikatfil \"%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 "Stanser duplikatfil \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1187,10 +1195,6 @@ msgstr "Kunne ikke importere %s"
msgid "DUPLICATE"
msgstr "DUPLIKAT"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "KRYPTERT"
@@ -1236,10 +1240,6 @@ msgstr "%s artikler manglet"
msgid "%s articles had non-matching duplicates"
msgstr "%s artikler hadde ulike duplikater"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Stanser duplikatfil \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1503,14 +1503,14 @@ msgstr "Klarte ikke å flytte filer"
msgid "Running user script %s"
msgstr "Kjør brukerskript %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Skript-avsluttingskode er %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Kjørte i %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Skript-avsluttingskode er %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Mer"
@@ -2230,6 +2230,11 @@ msgstr "Navn"
msgid "Retry"
msgstr "Prøv igjen"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Hendelser"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2522,10 +2527,18 @@ msgid ""
"expire."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Aktiver Unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Aktiver 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2536,7 +2549,7 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2946,8 +2959,12 @@ msgid "Watched Folder"
msgstr "Overvåket Mappe"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Mappe som automatiskt søkes igjennom etter .nzb filer."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Mappe som automatiskt søkes igjennom etter .nzb filer.<br /><i>Skanner også "
"igjennom .zip .rar og .tar.gz arkiver etter .nzb filer.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3028,10 +3045,6 @@ msgstr ""
"Plass for lagrede loggfiler fran SABnzbd.<br /><i>Krever omstart av "
"SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr ".nzb Reservemappe"
@@ -3198,6 +3211,14 @@ msgstr ""
"Når brukerskriptet returnerer en ikke-null exit kode, vil jobben bli flagget"
" som mislykket."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Når den feiler, prøv alternativ NZB-fil"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr "Noen servere vil gi en alternativ NZB når en nedlasting mislykkes."
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Aktiver omdøping av mappe"
@@ -3218,14 +3239,6 @@ msgstr "Før-kø bruker skript"
msgid "Used before an NZB enters the queue."
msgstr "Brukes før en NZB blir lagt til kø"
#: 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 parametere"
@@ -3465,6 +3478,26 @@ msgid ""
msgstr ""
"Avbryt jobben om det blir klart under nedlasting at for mye data mangler"
#: 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 "Nyttig hvis en newsserver har mer enn en IPv4/IPv6-adresse"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -4762,6 +4795,10 @@ msgstr ""
"Ukjent SSL-protokoll: Prøv å deaktivere SSL eller koble til på en annen "
"port."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "Server avbrøt undet innloggingssekvens"
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Server krever brukernavn og passord."

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Rik Brouwer, 2022
# Robert Lampe, 2023
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Dutch (https://app.transifex.com/sabnzbd/teams/111101/nl/)\n"
@@ -62,11 +62,14 @@ msgstr ""
msgid "unrar binary... NOT found"
msgstr "unrar-programma niet gevonden."
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "7za-programma niet gevonden."
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "unzip-programma niet gevonden."
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -172,8 +175,8 @@ msgid "Test Notification"
msgstr "Test melding"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Adres opzoeken"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Adres opzoeken"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -268,6 +271,10 @@ msgstr "Quotum verbruikt, download is gestopt"
msgid "Incorrect parameter"
msgstr "Incorrecte parameter"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-pad '%s' hier niet toegestaan."
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s is geen geldig e-mailadres"
@@ -276,7 +283,7 @@ msgstr "%s is geen geldig e-mailadres"
msgid "Server address required"
msgstr "Serveradres verplicht"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Ongeldige servernaam"
@@ -298,27 +305,8 @@ msgstr ""
"tot de aangemaakte bestanden en mappen."
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "UNC-pad '%s' hier niet toegestaan."
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Wachtrij is niet leeg, andere map kiezen niet mogelijk."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
"De Map voor verwerkte downloads mag niet een map in de Tijdelijke download "
"map zijn."
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Fout: Wachtrij is niet leeg, andere map kiezen niet mogelijk."
#. Warning message
#: sabnzbd/config.py
@@ -368,7 +356,7 @@ msgstr "SQL-commando mislukt, zie logbestand"
msgid "Failed to close database, see log"
msgstr "Het lukt niet om de database te sluiten, zie log"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Ongeldig loggen van fase in geschiedenis voor %s"
@@ -440,7 +428,7 @@ msgid "Paused"
msgstr "Gepauzeerd"
#. 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 ""
"Je moet eerst een maximumbandbreedte instellen voordat je een limiet kunt "
@@ -469,11 +457,6 @@ msgstr "Er zijn geen actieve servers!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Initialisatie van %s@%s mislukt, vanwege: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Te veel verbindingen met server %s [%s]"
@@ -635,23 +618,6 @@ msgstr "Opslaan van %s lukt niet"
msgid "Loading %s failed"
msgstr "Inlezen van %s mislukt"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
"Het is niet mogelijk bestanden te schrijven in %s. Hierdoor kan er niet "
"gedownload worden."
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -661,6 +627,13 @@ msgstr ""
"Het is niet mogelijk bestanden met speciale tekens op te slaan in %s. Dit "
"geeft mogelijk problemen bij het verwerken van downloads."
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
"Het is niet mogelijk bestanden te schrijven in %s. Hierdoor kan er niet "
"gedownload worden."
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr "Verbinding geweigerd van: "
@@ -703,10 +676,22 @@ msgstr "Inloggen mislukt, controleer gebruikersnaam en wachtwoord."
msgid "Unsuccessful login attempt from %s"
msgstr "Mislukte login poging van %s"
#: sabnzbd/interface.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
"De Map voor verwerkte downloads mag niet een map in de Tijdelijke download "
"map zijn."
#: sabnzbd/interface.py
msgid "Invalid backup archive"
msgstr "Ongeldig backup bestand"
#: sabnzbd/interface.py
msgid "Warning: LOCALHOST is ambiguous, use numerical IP-address."
msgstr "Let op: LOCALHOST is niet eenduidig, gebruik een numeriek IP-adres."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Serveradres \"%s:%s\" is niet geldig."
@@ -718,11 +703,11 @@ msgstr "Feed"
#: sabnzbd/interface.py
msgid "Daily"
msgstr "Dagelijks"
msgstr "dagelijks"
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Monday"
msgstr "Maandag"
msgstr "maandag"
#: sabnzbd/interface.py, sabnzbd/skintext.py
msgid "Tuesday"
@@ -838,6 +823,7 @@ msgstr "Film sorteren"
msgid "Running script"
msgstr "Script uitvoeren"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Teveel niveaus om uit te pakken [%s]"
@@ -925,6 +911,19 @@ msgstr "Onbruikbaar RAR-bestand"
msgid "Corrupt RAR file"
msgstr "Beschadigd RAR-bestand"
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s bestanden in %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Fout '%s' bij uitvoeren van unzip() op %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr "Geen 7za-programma gevonden, kan \"%s\" niet uitpakken"
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Uitpakpoging met 7zip en wachtwoord '%s'"
@@ -1189,18 +1188,6 @@ msgstr "Fout bij inladen van %s, corrupt bestand gevonden"
msgid "NZB added to queue"
msgstr "Download aan wachtrij toegevoegd"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Dubbele download \"%s\" overgeslagen"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Download '%s' geweigerd omdat het een dubbele is"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dubbele download"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Invalid NZB file %s, skipping (error: %s)"
@@ -1215,6 +1202,26 @@ msgstr "NZB-bestand %s is leeg"
msgid "Pre-queue script marked job as failed"
msgstr "Wachtrij filter script heeft de download afgekeurd"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Dubbele download \"%s\" overgeslagen"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Failing duplicate NZB \"%s\""
msgstr "Download '%s' geweigerd omdat het een dubbele is"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Duplicate NZB"
msgstr "Dubbele download"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Dubbele download \"%s\" gepauzeerd"
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1233,10 +1240,6 @@ msgstr "Fout bij importeren van %s"
msgid "DUPLICATE"
msgstr "DUBBEL"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "VERSLEUTELD"
@@ -1282,10 +1285,6 @@ msgstr "%s artikelen ontbreken"
msgid "%s articles had non-matching duplicates"
msgstr "%s artikelen hadden afwijkende duplicaten"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Dubbele download \"%s\" gepauzeerd"
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1554,14 +1553,14 @@ msgstr "Verplaatsen van bestanden mislukt"
msgid "Running user script %s"
msgstr "Gebruiker script %s loopt"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Exit code van het script is %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "%s is klaar"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Exit code van het script is %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Meer"
@@ -2281,6 +2280,11 @@ msgstr "Naam"
msgid "Retry"
msgstr "Opnieuw"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Acties"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2579,10 +2583,18 @@ msgstr ""
"Als je IP adres veranderd of SABnzbd opnieuw wordt opgestart, zal de sessie "
"verlopen."
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Unzip toestaan"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "7Zip toestaan"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr "Multicore Par2"
#: sabnzbd/skintext.py
msgid ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2597,9 +2609,11 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
"Versnel reparaties door multi-core par2 te installeren. Beschikbaar voor "
"veel besturingssystemen."
#: sabnzbd/skintext.py
msgid "Version"
@@ -3022,9 +3036,12 @@ msgid "Watched Folder"
msgstr "Bewaakte map"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
".nzb bestanden in deze map worden automatisch toegevoegd aan de wachtrij."
".NZB en .ZIP-bestanden in deze map worden automatisch toegevoegd aan de "
"wachtrij."
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3111,10 +3128,6 @@ msgstr ""
"Map waarin de log bestanden worden opgeslagen<br /><i>Vereist een "
"herstart</i>."
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "Map voor het bewaren van NZB-bestanden"
@@ -3295,6 +3308,15 @@ msgstr ""
"Wanneer het script een exit code anders dan 0 geeft, zal de download worden "
"afgekeurd."
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Bij mislukte download: probeer alternatieve NZB"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Sommige indexers hebben een alternatieve NZB wanneer een download mislukt"
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Gebruik tijdelijke mapnamen"
@@ -3315,14 +3337,6 @@ msgstr "Wachtrij-filter script"
msgid "Used before an NZB enters the queue."
msgstr "Word uitgevoerd vóór een download aan de wachtrij word toegevoegd"
#: 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 "Extra PAR2 parameters"
@@ -3579,6 +3593,26 @@ msgstr ""
"Als tijdens het downloaden duidelijk wordt dat te veel data ontbreekt, breek"
" dan de download af"
#: sabnzbd/skintext.py
msgid "Server IP address selection"
msgstr "Server IP adres selectie"
#: sabnzbd/skintext.py
msgid "First IP address"
msgstr "Eerste IP adres"
#: sabnzbd/skintext.py
msgid "Randomly selected IP address"
msgstr "willekeurig geselecteerd IP adres"
#: sabnzbd/skintext.py
msgid "Quickest IP address, preferring IPv6"
msgstr "Snelste IP adres, voorkeur voor IPv6"
#: sabnzbd/skintext.py
msgid "Useful if a newsserver has more than one IPv4/IPv6 address"
msgstr "Nuttig wanneer een server meer dan één IPv4 of IPv6-adres heeft"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -4350,7 +4384,7 @@ msgstr "GuessIt_Eigenschap"
#: sabnzbd/skintext.py
msgid "Minimum Filesize"
msgstr "Minimale bestandsgrootte"
msgstr ""
#: sabnzbd/skintext.py
msgid "Affected Job Types"
@@ -4899,6 +4933,10 @@ msgid ""
msgstr ""
"Onbekend SSL protocol: probeer het zonder SSL of probeer een andere poort."
#: sabnzbd/utils/servertests.py
msgid "Server quit during login sequence."
msgstr "De server stopte tijdens de login"
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Server heeft een gebruikersnaam en een wachtwoord nodig."

View File

@@ -1,12 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-4.2.0Alpha2\n"
"Project-Id-Version: SABnzbd-4.0.0RC1\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Polish (https://app.transifex.com/sabnzbd/teams/111101/pl/)\n"
@@ -57,11 +58,14 @@ msgstr "Twoja wersja unrar to %s, zalecana jest wersja %s lub wyższa.<br />"
msgid "unrar binary... NOT found"
msgstr "Program unrar ... NIE znaleziono!"
#. Warning message
#: SABnzbd.py
msgid "7za binary... NOT found!"
msgstr "Program 7za... NIE znaleziono!"
#: SABnzbd.py
msgid "unzip binary... NOT found!"
msgstr "Program unzip ... NIE znaleziono!"
#. Error message
#: SABnzbd.py
msgid "Essential modules are missing, downloading cannot start."
@@ -160,8 +164,8 @@ msgid "Test Notification"
msgstr "Powiadomienie testowe"
#: sabnzbd/api.py
msgid "Resolving address"
msgstr "Rozwiązywanie adresu"
msgid "&nbsp;Resolving address"
msgstr "&nbsp;Rozwiązywanie adresu"
#. No value, used in dropdown menus
#: sabnzbd/api.py, sabnzbd/skintext.py
@@ -248,6 +252,10 @@ msgstr "Przekroczono limit, wstrzymywanie pobierania"
msgid "Incorrect parameter"
msgstr "Błędny parametr"
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Ścieżka UNC \"%s\" niedozwolona"
#: sabnzbd/cfg.py
msgid "%s is not a valid email address"
msgstr "%s nie jest prawidłowym adresem email"
@@ -256,7 +264,7 @@ msgstr "%s nie jest prawidłowym adresem email"
msgid "Server address required"
msgstr "Wymagane jest podanie adresu serwera"
#: sabnzbd/cfg.py, sabnzbd/newswrapper.py
#: sabnzbd/cfg.py, sabnzbd/utils/servertests.py
msgid "Invalid server address."
msgstr "Nieprawidłowy adres serwera."
@@ -276,25 +284,8 @@ msgid ""
msgstr ""
#: sabnzbd/cfg.py
msgid "UNC path \"%s\" not allowed here"
msgstr "Ścieżka UNC \"%s\" niedozwolona"
#: sabnzbd/cfg.py
msgid "Queue not empty, cannot change folder."
msgstr "Kolejka nie jest pusta, nie można zmienić katalogu."
#: sabnzbd/cfg.py
msgid ""
"The Completed Download Folder cannot be the same or a subfolder of the "
"Temporary Download Folder"
msgstr ""
#. Warning message
#: sabnzbd/cfg.py
msgid ""
"Do not use a folder in the application folder as your Scripts Folder, it "
"might be emptied during updates."
msgstr ""
msgid "Error: Queue not empty, cannot change folder."
msgstr "Błąd: Kolejka nie jest pusta, nie można zmienić katalogu."
#. Warning message
#: sabnzbd/config.py
@@ -341,7 +332,7 @@ msgstr "Błąd polecenia SQL, sprawdź logi"
msgid "Failed to close database, see log"
msgstr "Błąd zamykania bazy danych, sprawdź logi"
#. Warning message
#. Error message
#: sabnzbd/database.py
msgid "Invalid stage logging in history for %s"
msgstr "Nieprawidłowy log etapu w historii dla %s"
@@ -408,7 +399,7 @@ msgid "Paused"
msgstr "Wstrzymano"
#. 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 ""
"Przed ustawieniem limitu przepustowości należy ustawić maksymalną "
@@ -437,11 +428,6 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Błąd podczas inicjalizacji %s@%s: %s"
#. Error message
#: sabnzbd/downloader.py
msgid "Fatal error in Downloader"
msgstr ""
#: sabnzbd/downloader.py
msgid "Too many connections to server %s [%s]"
msgstr "Zbyt wiele połączeń do serwera %s [%s]"
@@ -603,21 +589,6 @@ msgstr "Nie udało się zapisać %s"
msgid "Loading %s failed"
msgstr "Nie udało się wczytać %s"
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a long filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "Cannot write a unicode filename to %s. This can cause problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid ""
@@ -625,6 +596,11 @@ msgid ""
"problems."
msgstr ""
#. Warning message
#: sabnzbd/filesystem.py
msgid "%s is not writable at all. This blocks downloads."
msgstr ""
#: sabnzbd/interface.py
msgid "Refused connection from:"
msgstr ""
@@ -667,10 +643,20 @@ msgstr "Błąd połączenia, sprawdź nazwę użytkownika i hasło."
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 "Uwaga: LOCALHOST jest niejednoznaczne, użyj adresu IP."
#: sabnzbd/interface.py
msgid "Server address \"%s:%s\" is not valid."
msgstr "Nieprawidłowy adres serwera \"%s:%s\"."
@@ -797,6 +783,7 @@ msgstr ""
msgid "Running script"
msgstr "Uruchamianie skryptu"
#. Warning message
#: sabnzbd/newsunpack.py
msgid "Unpack nesting too deep [%s]"
msgstr "Zbyt głęboki poziom zagnieżdżenia podczas rozpakowywania [%s]"
@@ -884,6 +871,19 @@ msgstr "Bezużyteczny plik RAR"
msgid "Corrupt RAR file"
msgstr ""
#: sabnzbd/newsunpack.py
msgid "%s files in %s"
msgstr "%s plików w %s"
#. Error message
#: sabnzbd/newsunpack.py
msgid "Error \"%s\" while running unzip() on %s"
msgstr "Błąd \"%s\" podczas uruchamiania unzip() na %s"
#: sabnzbd/newsunpack.py
msgid "No 7za binary found, cannot unpack \"%s\""
msgstr ""
#: sabnzbd/newsunpack.py
msgid "Trying 7zip with password \"%s\""
msgstr "Próba rozpakowania archiwum 7zip z użyciem hasła \"%s\""
@@ -1145,18 +1145,6 @@ msgstr "Błąd ładowania %s, wykryto uszkodzony plik"
msgid "NZB added to queue"
msgstr "NZB dodany do kolejki"
#: sabnzbd/nzbqueue.py, sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignoruję zduplikowany 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)"
@@ -1171,6 +1159,26 @@ msgstr "Pusty plik NZB %s"
msgid "Pre-queue script marked job as failed"
msgstr ""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Ignoring duplicate NZB \"%s\""
msgstr "Ignoruję zduplikowany 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 "Wstrzymuję zduplikowany NZB \"%s\""
#. Warning message
#: sabnzbd/nzbstuff.py
msgid "Unwanted Extension in file %s (%s)"
@@ -1189,10 +1197,6 @@ msgstr "Błąd importu %s"
msgid "DUPLICATE"
msgstr "DUPLIKAT"
#: sabnzbd/nzbstuff.py
msgid "ALTERNATIVE"
msgstr ""
#: sabnzbd/nzbstuff.py
msgid "ENCRYPTED"
msgstr "ZASZYFROWANY"
@@ -1238,10 +1242,6 @@ msgstr "Brakowało %s artykułów"
msgid "%s articles had non-matching duplicates"
msgstr "%s artykułów posiadało niepasujące duplikaty"
#: sabnzbd/nzbstuff.py
msgid "Pausing duplicate NZB \"%s\""
msgstr "Wstrzymuję zduplikowany NZB \"%s\""
#. Footer: indicator of warnings
#: sabnzbd/osxmenu.py, sabnzbd/skintext.py
msgid "Warnings"
@@ -1509,14 +1509,14 @@ msgstr "Nie udało się przenieść plików"
msgid "Running user script %s"
msgstr "Uruchamianie skryptu użytkownika %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Kod zakończenia skryptu: %s"
#: sabnzbd/postproc.py
msgid "Ran %s"
msgstr "Uruchomiono %s"
#: sabnzbd/postproc.py
msgid "Script exit code is %s"
msgstr "Kod zakończenia skryptu: %s"
#: sabnzbd/postproc.py, sabnzbd/skintext.py
msgid "More"
msgstr "Więcej"
@@ -2236,6 +2236,11 @@ msgstr "Nazwa"
msgid "Retry"
msgstr "Ponów"
#. Queue end-of-queue selection box
#: sabnzbd/skintext.py
msgid "Actions"
msgstr "Działania"
#. Queue page table, script selection menu
#: sabnzbd/skintext.py
msgid "Scripts"
@@ -2527,10 +2532,18 @@ msgid ""
"expire."
msgstr ""
#: sabnzbd/skintext.py
msgid "Enable Unzip"
msgstr "Włącz unzip"
#: sabnzbd/skintext.py
msgid "Enable 7zip"
msgstr "Włącz 7zip"
#: sabnzbd/skintext.py
msgid "Multicore Par2"
msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Secure (SSL) connections from SABnzbd to newsservers and HTTPS websites will"
@@ -2541,7 +2554,7 @@ msgstr ""
#: sabnzbd/skintext.py
msgid ""
"Speed up repairs by installing par2cmdline-turbo, it is available for many "
"Speed up repairs by installing multicore Par2, it is available for many "
"platforms."
msgstr ""
@@ -2953,8 +2966,12 @@ msgid "Watched Folder"
msgstr "Obserwowany katalog"
#: sabnzbd/skintext.py
msgid "Folder to monitor for .nzb files."
msgstr "Katalog monitorowany w poszukiwaniu plików .nzb."
msgid ""
"Folder to monitor for .nzb files.<br /><i>Also scans .zip .rar and .tar.gz "
"archives for .nzb files.</i>"
msgstr ""
"Katalog monitorowany w poszukiwaniu plików .nzb.<br /><i>Skanowane są "
"również pliki .zip, .rar oraz .tar.gz.</i>"
#: sabnzbd/skintext.py
msgid "Watched Folder Scan Speed"
@@ -3036,10 +3053,6 @@ msgid ""
"Location of log files for SABnzbd.<br /><i>Requires SABnzbd restart!</i>"
msgstr "Lokalizacja logów SABnzbd.<br /><i>Wymaga restartu SABnzbd!</i>"
#: sabnzbd/skintext.py
msgid "Purge Logs"
msgstr ""
#: sabnzbd/skintext.py
msgid ".nzb Backup Folder"
msgstr "Katalog kopii zapasowych .nzb"
@@ -3206,6 +3219,16 @@ msgstr ""
"Jeśli skrypt użytkownika zwróci niezerowy kod zakończenia, zadanie zostanie "
"oznaczone jako nieudane"
#: sabnzbd/skintext.py
msgid "On failure, try alternative NZB"
msgstr "Użyj alternatywnego NZB w razie niepowodzenia"
#: sabnzbd/skintext.py
msgid "Some servers provide an alternative NZB when a download fails."
msgstr ""
"Niektóre serwery udostępniają alternatywne NZB, kiedy pobieranie kończy się "
"niepowodzeniem"
#: sabnzbd/skintext.py
msgid "Enable folder rename"
msgstr "Włącz zmianę nazw katalogów"
@@ -3226,14 +3249,6 @@ msgstr "Skrypt użytkownika przed zakolejkowaniem"
msgid "Used before an NZB enters the queue."
msgstr "Uruchamiany zanim plik NZB zostanie umieszczony w kolejce"
#: 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 "Dodatkowe parametry PAR2"
@@ -3474,6 +3489,26 @@ msgstr ""
"Jeśli podczas pobierania okaże się, że brakuje zbyt dużej ilości danych, "
"przerwij zadanie"
#: 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 "Przydatne, gdy serwer ma więcej niż jeden adres IPv4/IPv6"
#. Caption - Button: Add server
#: sabnzbd/skintext.py
msgid "Add Server"
@@ -4771,6 +4806,10 @@ 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 "Serwer przerwał połączenie w trakcie logowania."
#: sabnzbd/utils/servertests.py
msgid "Server requires username and password."
msgstr "Serwer wymaga podania nazwy użytkownika i hasła."

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