Compare commits

...

440 Commits

Author SHA1 Message Date
Ajay Ramachandran
dd58dcb9ac New Crowdin updates (#433) 2020-08-25 19:43:05 -04:00
Ajay Ramachandran
306869f72a Merge pull request #443 from ajayyy/react
Improvements
2020-08-25 19:42:52 -04:00
Ajay Ramachandran
dcc9ed598a Update category descriptions to not talk about music videos 2020-08-25 19:40:41 -04:00
Ajay Ramachandran
a8f27fa3ae Rephrased non music warning 2020-08-23 11:08:47 -04:00
Ajay Ramachandran
31330b9863 Update link 2020-08-22 01:00:17 -04:00
Ajay Ramachandran
34d520c2ca Merge pull request #434 from ajayyy/react
Remove duplicate i18n strings
2020-08-07 20:59:21 -04:00
Ajay Ramachandran
b189dea299 Remove duplicate i18n strings 2020-08-07 20:57:22 -04:00
Ajay Ramachandran
df58e3670e Merge pull request #431 from ajayyy/react
General fixes
2020-08-06 22:35:32 -04:00
Ajay Ramachandran
f18d0762b3 New Crowdin updates (#417)
* New translations messages.json (Romanian)

* New translations messages.json (Turkish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Russian)

* New translations messages.json (German)

* New translations messages.json (French)

* New translations messages.json (Dutch)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Finnish)

* New translations messages.json (Swedish)

* New translations messages.json (Bulgarian)

* New translations messages.json (Spanish)

* New translations messages.json (Portuguese)

* New translations messages.json (Italian)

* New translations messages.json (Polish)

* New translations messages.json (German)

* New translations messages.json (Polish)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Polish)

* New translations messages.json (French)

* New translations messages.json (German)

* New translations messages.json (French)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Italian)

* New translations messages.json (Polish)

* New translations messages.json (Italian)

* New translations messages.json (Italian)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (French)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (German)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)

* New translations messages.json (Polish)
2020-08-06 22:33:19 -04:00
Ajay Ramachandran
0dd7a41d85 Update version number 2020-08-06 22:32:25 -04:00
Ajay Ramachandran
834f6194ed Change call to use undefined to use default 2020-08-06 22:25:39 -04:00
Ajay Ramachandran
283342afb3 Fixed pausing and restarting the video not skipping 2020-08-06 22:21:09 -04:00
Ajay Ramachandran
87c9489c0e Fix popup appearing twice when there is a manual skip directly after a skip. 2020-08-05 22:42:43 -04:00
Ajay Ramachandran
24bb04e1ed Renamed instances of sponsor to segment or skip segment 2020-08-02 18:41:55 -04:00
Ajay Ramachandran
721faa7032 Fix issue with double notices sometimes appearing 2020-08-02 16:57:43 -04:00
Ajay Ramachandran
e349ac8e33 Don't show NaN as formatted time 2020-08-02 14:38:50 -04:00
Ajay Ramachandran
f4e8909a8d Merge pull request #428 from ajayyy/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-08-01 11:13:50 -04:00
dependabot[bot]
506c4461e2 Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 12:45:27 +00:00
Ajay Ramachandran
3a49eda47f Added comma to description 2020-07-31 21:52:08 -04:00
Ajay Ramachandran
017e22e977 Clarified outro description. 2020-07-28 20:36:25 -04:00
Ajay Ramachandran
8de57309ea Merge pull request #416 from ajayyy/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-19 12:54:12 -04:00
dependabot[bot]
fbb6963073 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 04:44:43 +00:00
Ajay Ramachandran
bf55b0f233 Merge pull request #415 from ajayyy/react
Fixed minutes not displaying zero when hours are displayed
2020-07-18 22:23:46 -04:00
Ajay Ramachandran
df1d3b401c Update version number 2020-07-18 22:19:47 -04:00
Ajay Ramachandran
4d55a71619 Fixed minutes not displaying zero when hours are displayed 2020-07-18 22:19:13 -04:00
Ajay Ramachandran
29e6ebab29 Merge pull request #414 from ajayyy/react
Improvements
2020-07-18 22:11:44 -04:00
Ajay Ramachandran
97e80c6f4e New Crowdin updates (#407)
* New translations messages.json (Romanian)

* New translations messages.json (German)

* New translations messages.json (French)

* New translations messages.json (Swedish)

* New translations messages.json (Japanese)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (French)

* New translations messages.json (German)
2020-07-18 21:22:23 -04:00
Ajay Ramachandran
3ac730c053 Fix errors when response fails 2020-07-18 21:21:53 -04:00
Ajay Ramachandran
d25951f313 Update version number 2020-07-18 21:20:36 -04:00
Ajay Ramachandran
886e134010 Made all preview segments auto skip 2020-07-18 21:20:18 -04:00
Ajay Ramachandran
cde50b0cb5 Update README.md 2020-07-18 17:52:47 -04:00
Ajay Ramachandran
19ac01a17c Updated description 2020-07-18 15:24:31 -04:00
Ajay Ramachandran
e9e53d1d43 Merge pull request #401 from ajayyy/react
Improvements
2020-07-12 23:09:43 -04:00
Ajay Ramachandran
07ab99a8d0 New Crowdin updates (#400)
* New translations messages.json (Romanian)

* New translations messages.json (German)

* New translations messages.json (Portuguese)

* New translations messages.json (Polish)

* New translations messages.json (Italian)

* New translations messages.json (French)

* New translations messages.json (Finnish)

* New translations messages.json (Spanish)

* New translations messages.json (Russian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Ukrainian)

* New translations messages.json (Turkish)

* New translations messages.json (Swedish)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (German)
2020-07-12 23:08:04 -04:00
Ajay Ramachandran
896120d311 Update version number 2020-07-12 23:07:55 -04:00
Ajay Ramachandran
3dc6563048 Default to blank category when submitting 2020-07-12 20:59:35 -04:00
Ajay Ramachandran
2d74ce2093 Added hours to time with skips 2020-07-12 18:52:36 -04:00
Ajay Ramachandran
eac4ca4d71 Add edge 2020-07-08 21:43:26 -04:00
Ajay Ramachandran
399a5af990 Update README.md 2020-07-07 17:48:36 -04:00
Ajay Ramachandran
48861439b7 Don't run time without skips on mobile or invidious 2020-07-05 00:21:26 -04:00
Ajay Ramachandran
bd60875c66 Fix invidious css issues 2020-07-05 00:17:54 -04:00
Ajay Ramachandran
fe8f25fe23 Hide submit button on invidious 2020-07-05 00:11:29 -04:00
Ajay Ramachandran
87f3cf3881 Fixed invidious preview bar 2020-07-05 00:09:18 -04:00
Ajay Ramachandran
0b9df8a45c Remove submitting on mobile 2020-07-05 00:07:10 -04:00
Ajay Ramachandran
59c5b7eefe Remove unused function 2020-07-05 00:05:36 -04:00
Ajay Ramachandran
dea9dac20a Fix crashing on mobile youtube 2020-07-05 00:03:52 -04:00
Ajay Ramachandran
684cd676e5 Delete empty unsubmitted submissions when delete is called 2020-07-04 15:34:29 -04:00
Ajay Ramachandran
929e3396cd New Crowdin updates (#386)
* New translations messages.json (Romanian)

* New translations messages.json (German)

* New translations messages.json (Turkish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Slovak)

* New translations messages.json (Russian)

* New translations messages.json (French)

* New translations messages.json (Dutch)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Finnish)

* New translations messages.json (Hungarian)

* New translations messages.json (Swedish)

* New translations messages.json (Bulgarian)

* New translations messages.json (Spanish)

* New translations messages.json (Gujarati)

* New translations messages.json (Polish)

* New translations messages.json (German)

* New translations messages.json (French)

* New translations messages.json (German)

* New translations messages.json (Swedish)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (German)

* New translations messages.json (Russian)

* New translations messages.json (Chinese Simplified)
2020-07-03 21:25:13 -04:00
Ajay Ramachandran
fad3284c4f Merge pull request #399 from ajayyy/react
Save category in preview submissions and other fixes
2020-07-03 21:20:53 -04:00
Ajay Ramachandran
c69047c7f9 Show short names when hovering the preview bar 2020-07-03 21:16:38 -04:00
Ajay Ramachandran
4fc7a69dd5 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react 2020-07-03 20:58:15 -04:00
Ajay Ramachandran
dd4c903c6a Merge pull request #395 from NDevTK/patch-1
Added config option for excluding skipped content from the video duration
2020-07-03 20:58:01 -04:00
Ajay Ramachandran
c9a2edaf3d Remove unused function 2020-07-03 20:56:45 -04:00
Ajay Ramachandran
8d41af073d Added option to options page 2020-07-03 20:55:58 -04:00
Ajay Ramachandran
bfafcd07cc Fix font issue, NaN issue and remove hide real time 2020-07-03 19:56:08 -04:00
Ajay Ramachandran
77abc1d031 Reuse existing functions 2020-07-03 19:44:15 -04:00
Ajay Ramachandran
809de0e0fd Increased version number 2020-07-03 19:31:18 -04:00
Ajay Ramachandran
e55d1f5115 Removed intermission category and renamed intro to intermission. 2020-07-03 19:31:00 -04:00
Ajay Ramachandran
037bd511b0 Remove keybind restriction.
Closes https://github.com/ajayyy/SponsorBlock/issues/379
2020-07-03 19:07:05 -04:00
Ajay Ramachandran
1265eeb941 Save category with the preview submissions. 2020-07-02 23:34:13 -04:00
Ajay Ramachandran
b3a94142c3 Allow colon on invidious options 2020-07-02 21:39:00 -04:00
Ajay Ramachandran
367657e44e Added intermission category 2020-07-02 21:37:38 -04:00
Ajay Ramachandran
955ee32b46 Remove category update message 2020-07-02 21:13:07 -04:00
Ajay Ramachandran
cd0b1f4a31 Wait for permissions before reloading 2020-07-02 20:56:41 -04:00
Ajay Ramachandran
5c4f0c960c Reload after importing options 2020-07-02 20:50:06 -04:00
Ajay Ramachandran
5ac6dd1a7f Update description 2020-07-02 20:48:39 -04:00
NDevTK
8d53e776b8 Do not show if skipDuration is 0 2020-06-29 19:35:11 +01:00
NDevTK
ec2950786f Skip if skipDuration is 0 2020-06-29 17:52:28 +01:00
Ajay Ramachandran
f33fa2f621 Moved Android to official 2020-06-27 11:38:49 -04:00
NDevTK
fd77748b15 Updated config 2020-06-27 15:20:00 +01:00
NDevTK
3b59389cab Added different ui option 2020-06-27 15:16:36 +01:00
Ajay Ramachandran
e6f53a3ef9 Update README.md 2020-06-27 00:49:55 -04:00
Ajay Ramachandran
b2f1a737f5 Remove port without pre-built release 2020-06-27 00:44:38 -04:00
Ajay Ramachandran
e2c7f4d16f Merge pull request #397 from daniel11420/patch-2
Add more unofficial ports to the Unofficial Ports section in the README
2020-06-27 00:44:00 -04:00
Ajay Ramachandran
4a89dfaac5 Merge pull request #396 from daniel11420/patch-1
Fix typo in README
2020-06-27 00:42:50 -04:00
daniel11420
e47330a79c Add more unofficial ports to the Unofficial Ports section in the README 2020-06-27 06:38:29 +02:00
daniel11420
72fc3620bc Fix typo in README 2020-06-27 06:32:21 +02:00
NDevTK
0ebd7f4f8d Added duration override 2020-06-26 19:33:19 +01:00
NDevTK
beea8181a1 Added config option 2020-06-26 19:19:51 +01:00
Ajay Ramachandran
f0716e8bbb Merge pull request #389 from kittenparry/patch-1
Fix typo in Chrome Users badge
2020-06-22 18:51:02 -04:00
Edvin Boul
783ea5cf5b Fix typo in Chrome Users badge
Chome -> Chrome
2020-06-22 18:29:08 +03:00
Ajay Ramachandran
42a813d325 Merge pull request #388 from ajayyy/react
Another hotfix for name string issue
2020-06-21 15:54:25 -04:00
Ajay Ramachandran
e6dfb5041e Another hotfix for name string issue 2020-06-21 15:53:26 -04:00
Ajay Ramachandran
c857308038 Merge pull request #387 from ajayyy/react
Fixed wrong string removed
2020-06-21 12:55:27 -04:00
Ajay Ramachandran
f73abdbabc Fixed wrong string removed 2020-06-21 12:55:10 -04:00
Ajay Ramachandran
43184e466f Merge pull request #385 from ajayyy/react
Fixed options page issues
2020-06-20 00:20:01 -04:00
Ajay Ramachandran
627c7769b0 New Crowdin updates (#380)
* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (French)
2020-06-19 18:54:17 -04:00
Ajay Ramachandran
759dba9cd3 Increased version number 2020-06-19 18:53:39 -04:00
Ajay Ramachandran
7cac2c4045 Fix help page not hiding options title bar 2020-06-19 18:53:24 -04:00
Ajay Ramachandran
27bb44189f Remove name from localisation 2020-06-19 18:49:49 -04:00
Ajay Ramachandran
4c44f3da25 Merge pull request #378 from ajayyy/react
Fixed missing options from options page
2020-06-16 22:01:55 -04:00
Ajay Ramachandran
e917a3e94a New Crowdin translations (#369)
* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (Dutch)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Finnish)

* New translations messages.json (German)

* New translations messages.json (German)

* New translations messages.json (Hungarian)

* New translations messages.json (Swedish)

* New translations messages.json (Swedish)

* New translations messages.json (Bulgarian)

* New translations messages.json (Finnish)

* New translations messages.json (French)
2020-06-16 22:01:08 -04:00
Ajay Ramachandran
1570bfdd0a Fixed missing options from options page 2020-06-16 22:00:49 -04:00
Ajay Ramachandran
e511de9f88 Update README.md 2020-06-14 20:29:12 -04:00
drlellinger
e694393edc Improve German translation (#371) 2020-06-10 19:53:35 -04:00
Ajay Ramachandran
e1cb86e6b4 New Crowdin translations (#368)
* New translations messages.json (Romanian)

* New translations messages.json (German)
2020-06-07 21:24:15 -04:00
Ajay Ramachandran
22221ba9bd Update version number 2020-06-07 21:21:38 -04:00
Ajay Ramachandran
9ad67c1a03 Merge pull request #363 from ajayyy/react
Category Improvements
2020-06-07 11:30:33 -04:00
Ajay Ramachandran
53071a9291 New Crowdin translations (#362)
* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Swedish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Russian)

* New translations messages.json (Turkish)

* New translations messages.json (Bulgarian)

* New translations messages.json (French)

* New translations messages.json (Spanish)

* New translations messages.json (German)

* New translations messages.json (Finnish)

* New translations messages.json (Portuguese)

* New translations messages.json (Italian)

* New translations messages.json (Dutch)

* New translations messages.json (Polish)

* New translations messages.json (Turkish)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Romanian)

* New translations messages.json (Romanian)
2020-06-07 11:30:10 -04:00
Ajay Ramachandran
56e40b791f Increased version number 2020-06-07 11:28:41 -04:00
Ajay Ramachandran
93316bf463 Added option to disable notification 2020-06-07 11:27:35 -04:00
Ajay Ramachandran
3f98e2fc73 Remove options page header on help page 2020-06-07 11:21:21 -04:00
Ajay Ramachandran
9f4fec2a43 Added category update info on the notice 2020-06-07 11:16:24 -04:00
Ajay Ramachandran
89cc6ed184 Added "read the guidelines button. 2020-06-05 21:38:38 -04:00
Ajay Ramachandran
730d966019 Lowered category description width 2020-06-05 21:26:07 -04:00
Ajay Ramachandran
c509b8807c Shortened sponsor description 2020-06-05 19:37:39 -04:00
Ajay Ramachandran
7de907fa23 Added help button to submission notice 2020-06-04 21:46:56 -04:00
Ajay Ramachandran
b4e03ae055 Added category descriptions 2020-06-03 21:00:32 -04:00
Ajay Ramachandran
c9460bd6c6 Added short category names 2020-06-03 20:42:38 -04:00
Ajay Ramachandran
d9800b3c14 Added options page to help page as iframe 2020-06-03 20:31:14 -04:00
Ajay Ramachandran
fa7f577177 Fix skip options 2020-06-03 20:30:25 -04:00
Ajay Ramachandran
ca2727655e Added customizable seek bar colors 2020-06-03 20:20:02 -04:00
Ajay Ramachandran
28cddf92d5 Merge pull request #358 from ajayyy/react
Categories Improvements
2020-06-02 19:40:11 -04:00
Ajay Ramachandran
465a6dde9b New Crowdin translations (#355)
* New translations messages.json (Bulgarian)

* New translations messages.json (Italian)

* New translations messages.json (German)

* New translations messages.json (French)

* New translations messages.json (Bulgarian)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Russian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Ukrainian)

* New translations messages.json (Swedish)

* New translations messages.json (Slovak)

* New translations messages.json (Turkish)

* New translations messages.json (Portuguese)

* New translations messages.json (Polish)

* New translations messages.json (German)

* New translations messages.json (German)

* New translations messages.json (Russian)

* New translations messages.json (German)

* New translations messages.json (Dutch)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Swedish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Russian)

* New translations messages.json (Turkish)

* New translations messages.json (Bulgarian)

* New translations messages.json (French)

* New translations messages.json (German)

* New translations messages.json (Portuguese)

* New translations messages.json (Italian)

* New translations messages.json (Dutch)

* New translations messages.json (Polish)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Finnish)

* New translations messages.json (Gujarati)

* New translations messages.json (Gujarati)

* New translations messages.json (Spanish)

* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (French)

* New translations messages.json (Spanish)

* New translations messages.json (French)

* New translations messages.json (Spanish)

* New translations messages.json (Polish)

* New translations messages.json (French)

* New translations messages.json (Polish)
2020-06-02 19:38:04 -04:00
Ajay Ramachandran
5336399365 Increase version number 2020-06-02 19:37:53 -04:00
Ajay Ramachandran
3f69b19e23 Remove duplicate vote error message 2020-05-25 22:27:39 -04:00
Ajay Ramachandran
23103f1274 Made preview submissions always autoskip 2020-05-25 22:21:11 -04:00
Ajay Ramachandran
9bfaf98dda Revised self-promo naming 2020-05-25 18:32:53 -04:00
Ajay Ramachandran
f21be82cce Fix local saved time tracking.
Also made it track when the notice is closed.
2020-05-24 23:00:39 -04:00
Ajay Ramachandran
39155fdf99 Moved requests to the background script.
This should avoid ad blockers messing with requests.

Helps with https://github.com/ajayyy/SponsorBlock/issues/354
2020-05-24 22:42:55 -04:00
Ajay Ramachandran
1676e50e15 Merge pull request #357 from ajayyy/react
Categories Improvements
2020-05-20 23:52:40 -04:00
Ajay Ramachandran
f165b3b602 Removed autoUpvote config 2020-05-20 23:50:26 -04:00
Ajay Ramachandran
0f82c16940 Fixed "voted" text. 2020-05-20 23:47:13 -04:00
Ajay Ramachandran
9ef3ef03a4 Added padding to vote buttons 2020-05-20 23:36:03 -04:00
Ajay Ramachandran
ef17cae9a1 Changed to upvote/downvote from report 2020-05-20 23:32:57 -04:00
Ajay Ramachandran
05acb1669e Added segment chooser when skipping multiple segments.
Now the skip notice supports skipping multiple segments.
2020-05-19 23:21:51 -04:00
Ajay Ramachandran
0850421afb Update config.json.example 2020-05-17 19:42:11 -04:00
Ajay Ramachandran
edf06ac908 Fixed typo: sever -> server 2020-05-17 11:31:35 -04:00
Ajay Ramachandran
842d35235a Gave web-ext the beta name and made signing happen at the end. 2020-05-17 00:23:44 -04:00
Ajay Ramachandran
45d20574d9 Merge pull request #356 from ajayyy/react
Fix preview sponsors not skipping
2020-05-17 00:00:08 -04:00
Ajay Ramachandran
252da8c56a Added the ability to stop the notice timer by clicking it 2020-05-16 23:58:02 -04:00
Ajay Ramachandran
99373c3e55 Added category names to notice 2020-05-16 23:48:41 -04:00
Ajay Ramachandran
dce69b3642 Incorrect -> Incorrect/Wrong Timing 2020-05-16 23:42:10 -04:00
Ajay Ramachandran
bb670b93e9 Fix preview sponsors not skipping 2020-05-16 23:39:04 -04:00
Ajay Ramachandran
c011ad105d Merge branch 'rafern' 2020-05-15 21:27:37 -04:00
Ajay Ramachandran
856125f7fd Merge pull request #350 from rafern/master
Don't skip ads, hide controls & sponsor times preview bar when ads are playing
2020-05-15 21:25:30 -04:00
Ajay Ramachandran
178b122ab8 Added back requested changes 2020-05-15 21:20:32 -04:00
Ajay Ramachandran
7b0488d068 Reverse "requested changes" 2020-05-15 21:15:50 -04:00
Ajay Ramachandran
02a9238869 Merge branch 'master' into master 2020-05-15 21:12:31 -04:00
Ajay Ramachandran
2fb97409a1 Changed where cd is used in release workflow 2020-05-15 21:08:52 -04:00
Ajay Ramachandran
3640463112 New Crowdin translations (#353)
* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Portuguese, Brazilian)
2020-05-15 21:00:07 -04:00
Ajay Ramachandran
d872ed642d Merge pull request #351 from ajayyy/react
Category Improvements
2020-05-15 20:56:09 -04:00
Ajay Ramachandran
1ab1f33caf Change zip binary in release workflow 2020-05-15 20:51:24 -04:00
Ajay Ramachandran
ba13f5951e Increase version number 2020-05-15 19:40:24 -04:00
Ajay Ramachandran
f66e8ddf92 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react 2020-05-15 19:40:12 -04:00
Ajay Ramachandran
cff72b19c7 Enable category vote on main server 2020-05-15 19:39:37 -04:00
rafern
c046df7d18 Requested changes 2020-05-14 10:58:30 +01:00
Ajay Ramachandran
941bd41cdb Added another check to prevent phantom skips 2020-05-13 21:11:00 -04:00
Rafael
dd5ed6ce42 Remove duplicate code 2020-05-13 17:45:08 +01:00
rafern
3a0d5221f6 Don't skip ads, hide controls & bar when ad playing 2020-05-13 17:29:34 +01:00
Ajay Ramachandran
a72f571bd4 Update manifest.json 2020-05-12 22:03:38 -04:00
Ajay Ramachandran
50c9c9fe8a Merge pull request #349 from ajayyy/react
Hotfixes for 1.2.28.1
2020-05-12 21:56:14 -04:00
Ajay Ramachandran
7f8badb34d New Crowdin translations (#348)
* New translations messages.json (Chinese Simplified)

* New translations messages.json (Chinese Simplified)
2020-05-12 21:55:43 -04:00
Ajay Ramachandran
f9d8daeca0 Upgraded web-ext 2020-05-12 21:18:07 -04:00
Ajay Ramachandran
55070d5852 Fixed mutation listener stack overflow on Firefox. 2020-05-12 21:17:52 -04:00
Ajay Ramachandran
789bd5939b Fixed zipping command in release workflow 2020-05-11 21:13:19 -04:00
Ajay Ramachandran
b591fbfc4b Removed log 2020-05-11 21:04:28 -04:00
Ajay Ramachandran
57eb122fce Changed rough time calculation to only use real time or end time.
Also fixed getting the replay button element.
2020-05-11 21:04:10 -04:00
Ajay Ramachandran
aec287f0cf Fixed preview bar hover text error 2020-05-11 20:59:30 -04:00
Ajay Ramachandran
c68aabaa40 Added null coalescence checks to video info 2020-05-11 20:45:48 -04:00
Ajay Ramachandran
167cff4693 New Crowdin translations (#346)
* New translations messages.json (French)

* New translations messages.json (German)

* New translations messages.json (Polish)

* New translations messages.json (Russian)

* New translations messages.json (Swedish)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Ukrainian)

* New translations messages.json (Turkish)

* New translations messages.json (Slovak)

* New translations messages.json (Turkish)
2020-05-11 19:31:11 -04:00
Ajay Ramachandran
99c343c2ce Merge pull request #347 from ajayyy/react
1.2.28 Hotfixes
2020-05-11 19:30:59 -04:00
Ajay Ramachandran
70239bc045 Increase version number 2020-05-11 19:28:02 -04:00
Ajay Ramachandran
d1748f1758 Changed endscreen check to use replay button instead. 2020-05-11 19:27:26 -04:00
Ajay Ramachandran
ac3d27bf88 Changed instances of splice to only remove one 2020-05-11 18:36:07 -04:00
Ajay Ramachandran
3fb5c1c14f Only splice 1 when removing offtopic category selection 2020-05-11 18:35:07 -04:00
Ajay Ramachandran
b1d9cde715 Added code to remove off-topic from category selections.
That category has been removed.
2020-05-11 18:28:27 -04:00
Ajay Ramachandran
aa8225c196 Fixed release CI 2020-05-10 23:16:35 -04:00
Ajay Ramachandran
918adc7c28 New Crowdin translations (#345)
* New translations messages.json (Turkish)

* New translations messages.json (Czech)

* New translations messages.json (Slovak)

* New translations messages.json (Turkish)

* New translations messages.json (Turkish)

* New translations messages.json (Hungarian)
2020-05-10 23:09:52 -04:00
Ajay Ramachandran
ab84b9d2e0 Merge pull request #332 from ajayyy/react
Categories Improvements
2020-05-10 23:09:40 -04:00
Ajay Ramachandran
9e0a9b4601 Increase version number 2020-05-10 22:12:13 -04:00
Ajay Ramachandran
98fd841a54 Fixed null whitelisted channel check happening after use 2020-05-10 21:28:01 -04:00
Ajay Ramachandran
3816313f1e Removed log 2020-05-10 21:26:21 -04:00
Ajay Ramachandran
a433dad080 Fix edit text on old YouTube dark theme 2020-05-10 21:23:25 -04:00
Ajay Ramachandran
dc04e045aa Use duration as current time if endcards or autoplay is visible when submitting 2020-05-10 21:06:15 -04:00
Ajay Ramachandran
2f842a0455 Remove config listener from EditComponent properly 2020-05-10 20:32:49 -04:00
Ajay Ramachandran
7c38b1f8f2 Fix new vote options table layout 2020-05-10 20:27:33 -04:00
Ajay Ramachandran
6942bcb418 Remove livestream category. 2020-05-10 20:12:35 -04:00
Ajay Ramachandran
a335ae2b72 Added warning when submitting non-music category on music video.
Also added a color for the music category.
2020-05-10 18:48:28 -04:00
Ajay Ramachandran
52020bcac6 Renamed outro category and added music and livestream categories 2020-05-10 16:59:42 -04:00
Ajay Ramachandran
5454861c78 Adjusted category names 2020-05-10 16:46:53 -04:00
Ajay Ramachandran
1217b9ed0b Added change category button for testing server 2020-05-10 16:44:53 -04:00
Ajay Ramachandran
e78a1b0fed New Crowdin translations (#342)
* New translations messages.json (Ukrainian)

* New translations messages.json (Turkish)
2020-05-07 23:34:07 -04:00
Ajay Ramachandran
a259949cd6 Update README.md 2020-05-06 20:22:11 -04:00
Ajay Ramachandran
ebf333b8c6 Removed cancel button 2020-05-05 23:36:06 -04:00
Ajay Ramachandran
9a5cb5ae0f Added another check to prevent scheduled skips from old videos 2020-05-04 16:39:01 -04:00
Ajay Ramachandran
20e1a96a84 Removed off-topic category 2020-05-04 16:27:36 -04:00
Ajay Ramachandran
822c7bda89 Added a category tooltip on hover. 2020-05-03 11:42:39 -04:00
Ajay Ramachandran
1526fbcbe8 New translations messages.json (Swedish) (#337) 2020-05-02 15:14:40 -04:00
Ajay Ramachandran
b8f4f8bebc New Crowdin translations (#334)
* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)
2020-04-29 22:50:36 -04:00
Ajay Ramachandran
e3698dcdca Fix release CI not zipping things properly 2020-04-27 16:32:26 -04:00
Ajay Ramachandran
fc3abc2b56 Fixed invidious message typo 2020-04-27 15:23:55 -04:00
Ajay Ramachandran
2a8a425627 Removed invidiou.sh from default instances 2020-04-27 15:22:19 -04:00
Ajay Ramachandran
9069f7cee6 Fixed indentation in release workflow 2020-04-27 14:07:09 -04:00
Ajay Ramachandran
a217831c22 Removed February info 2020-04-27 14:04:40 -04:00
Ajay Ramachandran
44e8b316a5 Added Firefox signing to CI 2020-04-27 00:01:45 -04:00
Ajay Ramachandran
885b38b682 New translations messages.json (Chinese Simplified) (#331) 2020-04-26 23:21:13 -04:00
Ajay Ramachandran
938db4b8e0 Merge pull request #322 from ajayyy/react
Categories Improvements
2020-04-26 23:16:53 -04:00
Ajay Ramachandran
ad361cdf28 Increase version number 2020-04-26 23:14:47 -04:00
Ajay Ramachandran
fbafb723cb Added option to force a whitelist check before allowing skipping. 2020-04-26 23:14:18 -04:00
Ajay Ramachandran
797fbf563b Fix start sponsor code not functioning as well as it should have 2020-04-26 21:46:38 -04:00
Ajay Ramachandran
d23c8b0e1f Fix adblocker error messages and increased unlisted check time 2020-04-26 21:12:56 -04:00
Ajay Ramachandran
18852d16ac isUnlisted now uses JSON data. 2020-04-26 20:40:11 -04:00
Ajay Ramachandran
6179278699 Improved options page descriptions 2020-04-26 18:18:55 -04:00
Ajay Ramachandran
8a6488f082 Added migration code for whitelisted channelIDs vs URLs 2020-04-26 18:07:10 -04:00
Ajay Ramachandran
89c4432b89 Revised delete button option description 2020-04-26 18:05:56 -04:00
Ajay Ramachandran
16896be97f Changed whitelisting to use channel JSON instead of page scraping.
It also only pulls data once. Uses channelID now instead of URLs.

Resolves https://github.com/ajayyy/SponsorBlock/issues/275

TODO: Add migration method to use channelID instead of channelURL
2020-04-26 15:16:00 -04:00
Ajay Ramachandran
8a9a19efeb Update README.md 2020-04-26 00:10:31 -04:00
Ajay Ramachandran
f3c786eb57 Fix Crowdin deleting translations >:( (#330)
(Portuguese, Brazilian)
2020-04-26 00:04:26 -04:00
Ajay Ramachandran
19ab83fee9 New Crowdin translations (#327)
* New translations messages.json (Chinese Simplified)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (French)

* New translations messages.json (German)

* New translations messages.json (Dutch)
2020-04-25 23:47:42 -04:00
Ajay Ramachandran
0f9e794428 Fix notice on old YouTube 2020-04-25 23:46:55 -04:00
Ajay Ramachandran
1b8af9da11 Redid hidden sponsor implementation + added info about being hid due to minimum duration
Fixes https://github.com/ajayyy/SponsorBlock/issues/326 and https://github.com/ajayyy/SponsorBlock/issues/325
2020-04-25 23:41:08 -04:00
Ajay Ramachandran
0b90539372 Fixed incorrect videoID check being in reverse. 2020-04-24 21:28:08 -04:00
Ajay Ramachandran
4131442066 Properly reset hiddenSponsorTimes.
Maybe related to https://github.com/ajayyy/SponsorBlock/issues/325
2020-04-24 21:27:45 -04:00
Ajay Ramachandran
e4f642e7d6 Merge pull request #324 from malmers/swedish
Swedish translation
2020-04-23 12:10:26 -04:00
Ajay Ramachandran
a65e40a87d Removed help page 2020-04-23 12:09:11 -04:00
Ajay Ramachandran
edf467a6b9 Removed help page 2020-04-23 12:07:29 -04:00
Pontus Malm
3fbb11191e Swedish translation 2020-04-22 22:45:59 +02:00
Ajay Ramachandran
54a67e6aba New Crowdin translations (#323)
* New translations messages.json (French)

* New translations messages.json (German)
2020-04-22 13:00:41 -04:00
Ajay Ramachandran
8912f88131 Fixed show on seekbar categories appearing in list of start times to skip. 2020-04-21 16:01:41 -04:00
Ajay Ramachandran
c31d30821b Call incorrect videoID check when scheduling a skip. 2020-04-21 14:16:09 -04:00
Ajay Ramachandran
7eb6f1c482 Changed popup look 2020-04-20 16:56:12 -04:00
Ajay Ramachandran
a7e2f83033 Fix Firefox popup scrolling issues 2020-04-20 15:57:07 -04:00
Ajay Ramachandran
0cfe0dc90f Fix submission count not being counted 2020-04-20 15:48:47 -04:00
Ajay Ramachandran
8c1d837770 Update README.md 2020-04-20 01:22:03 -04:00
Ajay Ramachandran
9a70599e60 Added end button to submission notice 2020-04-20 00:37:25 -04:00
Ajay Ramachandran
89f72c185c Update submission UI whenever there is a config update. 2020-04-20 00:33:41 -04:00
Ajay Ramachandran
2f5c239c82 Added path to release CI 2020-04-19 20:59:36 -04:00
Ajay Ramachandran
31b76553dc Merge pull request #317 from ajayyy/react
Categories Improvements
2020-04-19 20:54:25 -04:00
Ajay Ramachandran
eff73548e3 New Crowdin translations (#321)
* New translations messages.json (French)
2020-04-19 20:53:36 -04:00
Ajay Ramachandran
2ca98ad97b Increase version number. 2020-04-19 20:52:26 -04:00
Ajay Ramachandran
4e9b5ca0bc Fixed preview button 2020-04-19 20:48:43 -04:00
Ajay Ramachandran
3d7d291d9a Changed "show on overlay" wording 2020-04-19 20:38:21 -04:00
Ajay Ramachandran
195ed1f5fc Removed old submission method 2020-04-19 20:37:30 -04:00
Ajay Ramachandran
74f14b3bf8 Fixed polish folder 2020-04-14 23:50:20 -04:00
Ajay Ramachandran
290dff25f9 Update Crowdin configuration file 2020-04-14 23:44:15 -04:00
Ajay Ramachandran
64ab6b5768 Update Crowdin configuration file 2020-04-14 23:41:50 -04:00
Ajay Ramachandran
1b2bc6def4 Submission notice size now updates when the video size changes.
React listeners are properly cleaned up now.
2020-04-14 00:47:09 -04:00
Ajay Ramachandran
18c7be8161 Made submission notice max height dynamic 2020-04-14 00:31:47 -04:00
Ajay Ramachandran
638439a671 Moved notice closing to renderer (no leftover nodes) 2020-04-14 00:10:20 -04:00
Ajay Ramachandran
9fafb9cf54 Made the submission notice scroll when too large 2020-04-13 21:48:55 -04:00
Ajay Ramachandran
0223aa8307 Only show selected categories when submitting and added a "show more categories" button 2020-04-13 12:43:12 -04:00
Ajay Ramachandran
07f1106579 Merge pull request #288 from ajayyy/react
Moving elements to React
2020-04-10 00:10:07 -04:00
Ajay Ramachandran
2f78f31874 Increased version number. 2020-04-10 00:08:49 -04:00
Ajay Ramachandran
74a4ef0692 Changed name of merch category 2020-04-09 16:40:42 -04:00
Ajay Ramachandran
2d55ea0fc5 Removed logging 2020-04-09 15:34:11 -04:00
Ajay Ramachandran
a50f030a3b Properly handle server error 2020-04-09 14:08:26 -04:00
Ajay Ramachandran
ae690f0c65 Renamed new request function 2020-04-09 14:03:13 -04:00
Ajay Ramachandran
e2128f7ae3 Fixed editing non first index submissions.
The idSuffix was not being set properly and was set to undefined.
2020-04-09 12:54:04 -04:00
Ajay Ramachandran
80fe28a952 Fixed now button locale missing 2020-04-09 12:48:41 -04:00
Ajay Ramachandran
be74ebe7bc Added category colours 2020-04-09 12:44:10 -04:00
Ajay Ramachandran
e085163dfd Only shows sponsor category if test server is disabled 2020-04-09 12:13:56 -04:00
Ajay Ramachandran
adef65b878 Made submission notice above other notices 2020-04-09 01:42:16 -04:00
Ajay Ramachandran
b7870cbd74 Added submissions with the new API 2020-04-09 01:35:23 -04:00
Ajay Ramachandran
cd03218940 Now uses new GET api when testing server is enabled 2020-04-09 01:19:00 -04:00
Ajay Ramachandran
6abf6a0044 Added testing server option. 2020-04-09 00:40:11 -04:00
Ajay Ramachandran
6ef5dd4522 Update README.md 2020-04-07 18:28:53 -04:00
Ajay Ramachandran
9f87c839b5 Fixed preview bar sometimes not appearing 2020-04-06 21:58:42 -04:00
Ajay Ramachandran
85c1a45c8b Improved skipping over multiple segments 2020-04-06 01:19:17 -04:00
Ajay Ramachandran
963fb58321 Fixed endIndex not being used while skipping and made end index finding function recursive 2020-04-06 00:45:28 -04:00
Ajay Ramachandran
d1d4dcdc9c Added migration for auto skip option 2020-04-06 00:40:30 -04:00
Ajay Ramachandran
24dd98a98f Update README.md 2020-04-05 18:34:10 -04:00
Ajay Ramachandran
5abc0bedd4 Fixed some non converted sponsorTimes code 2020-04-05 14:28:26 -04:00
Ajay Ramachandran
e1e570fb18 Made show only overlay work 2020-04-05 00:08:44 -04:00
Ajay Ramachandran
93c0a0c003 Give the user error messages from the server.
Helps with https://github.com/ajayyy/SponsorBlockServer/pull/70
2020-04-04 23:47:01 -04:00
Ajay Ramachandran
93f82de7fd Moves submission error check into the proper place 2020-04-04 23:45:10 -04:00
Ajay Ramachandran
f6945b56d8 Fixed submitted sponsors and prevented preview sponsors from being voted on 2020-04-04 23:35:44 -04:00
Ajay Ramachandran
55e17ceb60 Fixed issues with manual skipping 2020-04-04 23:26:34 -04:00
Ajay Ramachandran
2a432490bc Moved audio setting 2020-04-04 23:26:09 -04:00
Ajay Ramachandran
0115a6df13 Merge pull request #315 from Joe-Dowd/react
Audio notification on skip
2020-04-04 22:26:51 -04:00
Ajay Ramachandran
a5e9ceda60 Removed custom options code for audio 2020-04-04 22:25:10 -04:00
Ajay Ramachandran
09f53c80f0 Sync volume with video volume 2020-04-04 22:22:37 -04:00
Ajay Ramachandran
8134b5a67e Added missing category to example config 2020-04-04 22:17:11 -04:00
Ajay Ramachandran
ebd6c9c952 Fixed error when preview bar updates 2020-04-04 22:12:54 -04:00
Ajay Ramachandran
37e2fb0972 Fixed react whitespace error 2020-04-04 22:11:39 -04:00
Ajay Ramachandran
7af44eae66 Category submission notice now works.
It still submits to the server without a category since the server-side is not done.
2020-04-04 22:06:59 -04:00
Ajay Ramachandran
62c50d77c6 Added offtopic category 2020-04-04 21:08:18 -04:00
Ajay Ramachandran
bac9029a28 Switched skipping to use category settings.
Submission editing is now broken as well as clicking submit.

Skipping through multiple submissions just treats it as skipping from one (no multiple vote options).
2020-04-04 21:04:17 -04:00
Joe Dowd
48a614943d Merge branch 'react' into react 2020-04-04 18:44:05 +01:00
Ajay Ramachandran
ec9f1efd55 Added category skip option to just show an overlay without skipping 2020-04-04 12:58:02 -04:00
Joe-Dowd
59c6455298 removed duplicate locale message 2020-04-04 14:13:27 +01:00
Joe-Dowd
d7a7476cd1 fixed tabbing 2020-04-04 14:01:31 +01:00
Joe-Dowd
36981af95a Added audio notification on skip to options menu 2020-04-04 13:59:04 +01:00
Ajay Ramachandran
d4d5e4743e Added key to sponsorTimeEditComponent 2020-04-02 22:14:52 -04:00
Ajay Ramachandran
3afde08a6e Category selections now save 2020-04-02 22:13:36 -04:00
Ajay Ramachandran
6ea87d7cd0 Added basic category chooser UI 2020-04-02 21:26:13 -04:00
Ajay Ramachandran
b6c243236b Submission notice now saves on submission 2020-04-02 14:38:33 -04:00
Ajay Ramachandran
6fa67088bc Removed old edit pane from popup and made it call the new one 2020-04-02 13:22:08 -04:00
Ajay Ramachandran
d37abcfa9f Added category list to example config 2020-04-02 01:33:28 -04:00
Ajay Ramachandran
5575eda7b1 Changed UI data to be store in strings for better UX 2020-04-02 01:29:12 -04:00
Ajay Ramachandran
e17eb60b4d Added basic category selector to the UI 2020-04-02 01:25:06 -04:00
Ajay Ramachandran
e055a66342 Submission notice now updates when sponsors are added 2020-04-02 00:59:11 -04:00
Ajay Ramachandran
72c98923f6 Fixed close button on submission confirmation notice 2020-04-02 00:44:38 -04:00
Ajay Ramachandran
8ecea87c52 Added now button to editor 2020-04-01 20:38:10 -04:00
Ajay Ramachandran
7727cd56db Save edits before previewing 2020-04-01 20:24:50 -04:00
Ajay Ramachandran
242fbf8009 Save edits correctly 2020-04-01 20:22:51 -04:00
Ajay Ramachandran
24f2ce4a32 Fixed event propagation issues 2020-04-01 20:19:31 -04:00
Ajay Ramachandran
0d08e11b1d Added basic time editing.
The button presses don't work yet as YouTube steals the events.
2020-04-01 20:06:46 -04:00
Ajay Ramachandran
513a140754 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react
# Conflicts:
#	public/_locales/en/messages.json
#	src/content.ts
2020-03-31 00:29:27 -04:00
Ajay Ramachandran
88350e3421 Merge pull request #308 from ajayyy/experimental
Skipping Fixes
2020-03-30 20:11:33 -04:00
Ajay Ramachandran
36d79313de Increase version number 2020-03-30 20:10:32 -04:00
Ajay Ramachandran
a9993d5d80 Added check for videoID change not being called 2020-03-30 20:08:00 -04:00
Ajay Ramachandran
4a6ddf6774 Remove mobile support announcement 2020-03-30 19:15:25 -04:00
Ajay Ramachandran
b6172c6d9b Fixed sponsor skipping after quickly playing and pausing. 2020-03-30 19:07:59 -04:00
Ajay Ramachandran
b21a59f4e5 Fixed looping sometimes not skipping beginning sponsors.
Resolves https://github.com/ajayyy/SponsorBlock/issues/306
2020-03-30 15:33:03 -04:00
Ajay Ramachandran
78dd44c502 Fixed missing name in release workflow 2020-03-30 14:44:26 -04:00
Ajay Ramachandran
f4a129b346 Merge pull request #307 from ajayyy/experimental
Skipping fixes
2020-03-30 14:34:31 -04:00
Ajay Ramachandran
6d60a90533 Increased version number. 2020-03-30 14:18:11 -04:00
Ajay Ramachandran
0d33794636 Fixed almost zero second sponsors skipping a little too late. 2020-03-30 14:11:46 -04:00
Ajay Ramachandran
e62d46f2dd Improved zero second skipping for directly loaded videos 2020-03-30 14:07:35 -04:00
Ajay Ramachandran
7f36c7eec3 Merge pull request #302 from Joe-Dowd/restrict-keybindings
Restrict keybindings
2020-03-26 12:35:28 -04:00
Ajay Ramachandran
08d28798c6 Localised key errors 2020-03-26 12:30:06 -04:00
Ajay Ramachandran
fe33277d8f Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into restrict-keybindings 2020-03-26 12:27:06 -04:00
Ajay Ramachandran
feec5b4e22 Added spacing and separated code into a function 2020-03-26 12:26:47 -04:00
Ajay Ramachandran
62b5e90d87 Merge pull request #300 from Joe-Dowd/debug-output
Added copy debug information to clipboard options element.
2020-03-26 12:19:07 -04:00
Ajay Ramachandran
2c980a269d Fixed sponsorTimes data on export and import 2020-03-26 12:18:52 -04:00
Ajay Ramachandran
1da60e38a1 Merge pull request #304 from ajayyy/experimental
Scheduling fixes
2020-03-25 19:01:43 -04:00
Ajay Ramachandran
ed67cc52fe Fixed mobile YouTube starting sponsor detection that are not exactly 0 seconds. 2020-03-21 20:59:08 -04:00
Joe-Dowd
b614dce91a Added more restricted characters 2020-03-20 19:55:29 +00:00
Joe-Dowd
c013c7ef0f added N and i to the list of restricted characters 2020-03-20 19:50:38 +00:00
Joe-Dowd
c78e2cd214 Fixed mod keys when setting keybinding 2020-03-20 19:39:37 +00:00
Joe-Dowd
da5a3841bd Added restrictions to keybindings. 2020-03-20 15:35:23 +00:00
Joe Dowd
e73d79071c Added copy debug information to clipboard options element. 2020-03-18 00:15:04 +00:00
Ajay Ramachandran
f100ee4738 Made preview button functional 2020-03-11 19:56:16 -04:00
Ajay Ramachandran
37662138df Increase precision in submission preview 2020-03-11 19:48:51 -04:00
Ajay Ramachandran
037d1089a3 Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlock into react 2020-03-11 19:40:42 -04:00
Ajay Ramachandran
0467dd5d21 Made sure no skips are scheduled while paused 2020-03-11 19:39:08 -04:00
Ajay Ramachandran
1df123de6d Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react
# Conflicts:
#	public/_locales/en/messages.json
#	src/js-components/skipNotice.ts
2020-03-11 19:36:41 -04:00
Ajay Ramachandran
3063591a4c Added delete function to new dialog 2020-03-11 19:35:20 -04:00
Ajay Ramachandran
a182354254 Added basic react submission confirmation notice 2020-03-11 17:50:50 -04:00
Ajay Ramachandran
5f879bceab Fixed where repo-token was inputted in release workflow 2020-03-10 23:30:53 -04:00
Ajay Ramachandran
457bd15e17 Merge pull request #298 from ajayyy/experimental
Options Improvements
2020-03-10 23:24:36 -04:00
Ajay Ramachandran
cc1b8ee499 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental 2020-03-10 23:23:30 -04:00
Ajay Ramachandran
4a9ed1348e Increase version number 2020-03-10 23:23:10 -04:00
Ajay Ramachandran
5595420be6 Removed redundant if statement 2020-03-10 23:22:57 -04:00
Ajay Ramachandran
191e9ceb6f Makes sure the playing and play listener both don't get called at the same time.
This led to double notices.
2020-03-10 23:22:17 -04:00
Ajay Ramachandran
a02aef591e Split notice text into a separate component 2020-03-10 12:57:26 -04:00
Ajay Ramachandran
1e26faa57c Update README.md 2020-03-10 12:11:08 -04:00
Ajay Ramachandran
1a92265e65 Made non timed notice the default 2020-03-10 12:08:54 -04:00
Ajay Ramachandran
92a6065c98 Added support for untimed notice 2020-03-10 03:08:15 -04:00
Ajay Ramachandran
d7ca56941a Moved timing mechanism to separate component 2020-03-10 03:01:20 -04:00
Ajay Ramachandran
030256c9e1 Enable checkbox when the permission prompt is successful 2020-03-10 02:14:00 -04:00
Ajay Ramachandran
77eff12d9b Merge pull request #261 from OfficialNoob/patch-1
Made decodeStoredItem detect item type
2020-03-10 01:21:10 -04:00
Ajay Ramachandran
2967fce013 Update README.md 2020-03-10 00:57:44 -04:00
Ajay Ramachandran
db1def623a Update README.md 2020-03-10 00:56:58 -04:00
Ajay Ramachandran
140e324bf1 Update README.md 2020-03-10 00:55:18 -04:00
Ajay Ramachandran
f0bf051259 Properly ask for permissions when changing the server address 2020-03-10 00:48:53 -04:00
Ajay Ramachandran
2ec47d52cd Added basic options import/export 2020-03-10 00:33:50 -04:00
Ajay Ramachandran
50002cfbbd Fix github token using the wrong key in release workflow 2020-03-09 23:10:59 -04:00
Ajay Ramachandran
6ccd4b8b37 Merge pull request #297 from ajayyy/experimental
Fix non zero second skips
2020-03-09 23:05:45 -04:00
Ajay Ramachandran
da6ccb561d Fixed manual skip vote check using wrong variable 2020-03-09 23:04:01 -04:00
Ajay Ramachandran
c0894afff9 Prevent manual skipping votes from affecting to UI and happening when auto vote is off 2020-03-09 23:03:24 -04:00
Ajay Ramachandran
09f244150c Fixed skipping for non zero second sponsors.
Also now using the playing event to fix issues with mobile YouTube skipping.
2020-03-09 23:00:39 -04:00
Ajay Ramachandran
c526a812e0 Made manual skip vote follow config 2020-03-09 22:50:07 -04:00
Ajay Ramachandran
ccbc0456f9 Made skip notice use react states 2020-03-09 21:51:44 -04:00
Ajay Ramachandran
efec8b320c Increase version num 2020-03-09 18:38:02 -04:00
Ajay Ramachandran
e6ea9f77e9 Fixed skip scheduling for auto skip 2020-03-09 18:34:33 -04:00
Ajay Ramachandran
0813aa4ba3 Prevent release workflow from running multiple times 2020-03-09 18:30:57 -04:00
Ajay Ramachandran
ba575f6b8d Merge pull request #296 from ajayyy/experimental
Prevent manual skips from triggering a view and improved skip schedule for manual skip
2020-03-09 18:20:11 -04:00
Ajay Ramachandran
ff9b2338e0 Fixed scheduling being wrong when manual skip is enabled 2020-03-09 18:12:05 -04:00
Ajay Ramachandran
d2bb4b38e3 Increased version number 2020-03-09 18:07:29 -04:00
Ajay Ramachandran
760c08dd0c Prevent manual skips from triggering a view 2020-03-09 18:07:06 -04:00
Ajay Ramachandran
50517eb462 Switched upload to release action 2020-03-09 11:15:29 -04:00
Ajay Ramachandran
e77425c21e Merge pull request #294 from ajayyy/experimental
Another potential fix for zero second sponsor freezing
2020-03-09 11:04:26 -04:00
Ajay Ramachandran
f63abb053d Revert to only using workflows 2020-03-09 11:02:14 -04:00
Ajay Ramachandran
7b5703aa04 Fixed action format 2020-03-09 10:56:06 -04:00
Ajay Ramachandran
d641066312 Checkout in CI 2020-03-09 10:52:43 -04:00
Ajay Ramachandran
44ca8d47d8 Moved CI into the right place 2020-03-09 10:51:26 -04:00
Ajay Ramachandran
d5f41bf4ad Fixed CI 2020-03-09 10:49:50 -04:00
Ajay Ramachandran
73e8926444 Start skip schedule from skip time to prevent slow video updates from breaking it. 2020-03-09 10:43:13 -04:00
Ajay Ramachandran
5ad694af65 Increase version number 2020-03-08 23:26:46 -04:00
Ajay Ramachandran
d7f7acb219 Fixed release action 2020-03-08 23:20:41 -04:00
Ajay Ramachandran
b4be51333a Merge pull request #293 from ajayyy/experimental
Fixed double sponsor skip for zero second sponsors
2020-03-08 23:17:48 -04:00
Ajay Ramachandran
ae94811a00 Increase version number 2020-03-08 23:16:50 -04:00
Ajay Ramachandran
a484f2f2cc Fixed double sponsor skip for zero second sponsors 2020-03-08 23:16:09 -04:00
Ajay Ramachandran
9cce4e734d Merge pull request #292 from grishka/russian
Fix Russian translation and add missing strings
2020-03-07 12:34:48 -05:00
Grishka
3c63644213 fix 2020-03-07 13:45:56 +03:00
Grishka
ad25bc34de Add missing Russian strings 2020-03-07 13:37:58 +03:00
Ajay Ramachandran
0241e15691 Only seek if the video is not paused 2020-02-28 15:06:08 -05:00
Ajay Ramachandran
af9a6b8a84 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental 2020-02-28 14:09:21 -05:00
Ajay Ramachandran
329b188435 Checkout before using other CI 2020-02-27 22:23:33 -05:00
Ajay Ramachandran
2e49bb73c5 Merge pull request #290 from ajayyy/experimental
Potentially fixed zero second skip spam
2020-02-27 22:21:33 -05:00
Ajay Ramachandran
5158020293 Potentially fixed zero second skip spam 2020-02-27 22:20:30 -05:00
Ajay Ramachandran
feaf80ad1e Merge pull request #289 from Joe-Dowd/messages-typo
Typo in en messages locale "skipeed -> skipped"
2020-02-25 15:14:01 -05:00
Joe Dowd
7fbd89159e Typo in en messages locale skipped 2020-02-25 18:25:28 +00:00
Ajay Ramachandran
0d9b624fd5 Delete old skip notice 2020-02-25 00:43:20 -05:00
Ajay Ramachandran
008c9380b1 Switched notice to react 2020-02-25 00:38:03 -05:00
Ajay Ramachandran
716861da18 Fixed beta builds 2020-02-23 20:49:17 -05:00
Ajay Ramachandran
d0a34d423c Fix release CI 2020-02-23 20:42:12 -05:00
Ajay Ramachandran
adfba72f19 Merge pull request #286 from ajayyy/experimental
Mobile fix + mobile update notice
2020-02-23 20:40:48 -05:00
Ajay Ramachandran
f00337c376 Increase version number. 2020-02-23 20:39:29 -05:00
Ajay Ramachandran
737a023b65 Added mobile support message. 2020-02-23 20:39:13 -05:00
Ajay Ramachandran
5551344355 Fixed mobile notice zoom on Firefox 2020-02-23 16:14:18 -05:00
Ajay Ramachandran
07f64382fb Merge pull request #285 from cherryblossom000/patch-1
Fix "0 sponsor" in popup
2020-02-23 11:21:21 -05:00
Ajay Ramachandran
1c7cde2a19 Changed to !== 2020-02-23 11:20:21 -05:00
cherryblossom
8510a7f3d8 Fix popup saying "0 sponsor" 2020-02-23 17:03:18 +11:00
Ajay Ramachandran
db60b11a17 Merge pull request #284 from ajayyy/experimental
CI Improvements
2020-02-20 15:38:35 -05:00
Ajay Ramachandran
6a212b762a Fixed invalid release workflow 2020-02-20 12:21:30 -05:00
Ajay Ramachandran
c8ec2922cf Added makedir to CI 2020-02-20 12:17:51 -05:00
Ajay Ramachandran
b629b7d333 Added basic release workflow 2020-02-20 12:14:01 -05:00
Ajay Ramachandran
514a8b62d6 Added beta build to CI 2020-02-20 11:39:06 -05:00
Ajay Ramachandran
cd11618a5d Merge pull request #283 from ajayyy/experimental
New skipping mechanism fixes
2020-02-20 11:25:32 -05:00
Ajay Ramachandran
8be3cb157a Increased version number 2020-02-20 11:23:44 -05:00
Ajay Ramachandran
4ca57cc025 Fixed preview sponsors not skipping when only they are there. 2020-02-19 13:45:00 -05:00
Ajay Ramachandran
397bcc94c5 Remove redundant code 2020-02-19 13:35:05 -05:00
Ajay Ramachandran
8b28bccfd7 Run dev now uses dev build. 2020-02-19 12:57:22 -05:00
Ajay Ramachandran
c6107057d9 Firefox dev environment now loads Firefox uBlock Origin 2020-02-19 12:54:58 -05:00
Ajay Ramachandran
ab2a9530e9 Sped up zero second sponsors a tiny bit 2020-02-19 12:41:22 -05:00
Ajay Ramachandran
bfc771bd99 Removed unused variables 2020-02-19 12:37:39 -05:00
Ajay Ramachandran
e75e588755 Sped up direct links a tiny bit. 2020-02-19 12:37:17 -05:00
Ajay Ramachandran
0266bb49ca Fixed typo 2020-02-19 12:35:10 -05:00
Ajay Ramachandran
9e693fd555 Update README.md 2020-02-19 12:33:48 -05:00
Ajay Ramachandran
1f30b9ec84 Merge pull request #280 from ajayyy/mobile-youtube
Mobile YouTube support + Precise skipping
2020-02-19 11:40:07 -05:00
Ajay Ramachandran
50862e3c03 Increased version number 2020-02-19 11:25:14 -05:00
Ajay Ramachandran
20e90bbc34 Fixed schedule not updating when new sponsors arrive 2020-02-19 00:54:30 -05:00
Ajay Ramachandran
2e212e6d10 Improved mobile preview bar 2020-02-19 00:14:08 -05:00
Ajay Ramachandran
2039bfa081 Made buttons on mobile not close the menu. 2020-02-19 00:10:05 -05:00
Ajay Ramachandran
7dc8a99247 Added button support to mobile. 2020-02-19 00:00:22 -05:00
Ajay Ramachandran
1b25ea7f95 Shrunk notice on mobile 2020-02-18 19:29:20 -05:00
Ajay Ramachandran
1869382166 Fixed popup issues. 2020-02-18 19:03:34 -05:00
Ajay Ramachandran
d58cd639c7 Added zero second preview sponsors. 2020-02-18 18:45:33 -05:00
Ajay Ramachandran
6cd2d4cf83 Added back whitelist support 2020-02-18 18:44:06 -05:00
Ajay Ramachandran
b681f5abd9 Added support for preview sponsors in new skipping method. 2020-02-18 18:43:45 -05:00
Ajay Ramachandran
5b2a0feccf Switched to new skipping mechanic 2020-02-18 18:29:02 -05:00
Ajay Ramachandran
cd58f6bc73 Skip notice improvement. 2020-02-18 15:57:40 -05:00
Ajay Ramachandran
aeabf806ac Added duration change listener check to prevent mid-video zero second skips.
Sometimes the video gets reset to zero seconds for a few milliseconds, this should not trigger a skip.

Resolves https://github.com/ajayyy/SponsorBlock/issues/183
2020-02-18 15:03:55 -05:00
Ajay Ramachandran
af7ba31c2f Remove logging. 2020-02-18 14:40:40 -05:00
Ajay Ramachandran
5b962b1b9d Merge pull request #281 from ajayyy/experimental
Rename CI artifacts
2020-02-17 15:24:49 -05:00
Ajay Ramachandran
219a7ba8c3 Added preview bar to mobile 2020-02-17 15:10:50 -05:00
Ajay Ramachandran
933babb4e6 Added mobile YouTube site to the whitelist. 2020-02-17 11:32:00 -05:00
Ajay Ramachandran
023ba2e051 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental 2020-02-17 11:24:36 -05:00
Ajay Ramachandran
8d82a6a3e6 Fixed data old format migration. 2020-02-14 23:20:11 -05:00
Ajay Ramachandran
88a8fda566 Moved window.SB creation for security reasons. 2020-02-14 23:16:01 -05:00
Ajay Ramachandran
1c833a8b1d Rename CI artifacts. 2020-02-11 21:04:41 -05:00
Official Noob
995fe072bd Merge pull request #1 from ajayyy/master
Update
2020-02-09 22:15:27 +00:00
Ajay Ramachandran
8cdbebd6de Added the config as a global variable. 2020-02-08 20:16:26 -05:00
Ajay Ramachandran
94af8ab301 Prevent all strings from being parsed as JSON. 2020-02-08 20:15:49 -05:00
Ajay Ramachandran
be3a4a4e91 Added support for old format. 2020-02-08 20:08:34 -05:00
Official Noob
1c17464c94 config => defaults 2020-02-04 23:29:11 +00:00
Official Noob
8896c5707a Made decodeStoredItem detect item type
Not tested because SB.config cant be used anymore :(
2020-02-04 22:16:40 +00:00
94 changed files with 14790 additions and 4040 deletions

View File

@@ -21,14 +21,42 @@ jobs:
run: npm run build:chrome
- uses: actions/upload-artifact@v1
with:
name: Chrome Extension
name: ChromeExtension
path: dist
- run: mkdir ./builds
- uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./builds/ChromeExtension.zip ./dist
# Create Firefox artifacts
- name: Create Firefox artifacts
run: npm run build:firefox
- uses: actions/upload-artifact@v1
with:
name: Firefox Extension
name: FirefoxExtension
path: dist
- uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./builds/FirefoxExtension.zip ./dist
# Create Beta artifacts (Builds with the name changed to beta)
- name: Create Chrome Beta artifacts
run: npm run build:chrome -- --env.stream=beta
- uses: actions/upload-artifact@v1
with:
name: ChromeExtensionBeta
path: dist
- uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist
- name: Create Firefox Beta artifacts
run: npm run build:firefox -- --env.stream=beta
- uses: actions/upload-artifact@v1
with:
name: FirefoxExtensionBeta
path: dist
- uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist

107
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,107 @@
name: Upload Release Build
on:
release:
types: [published]
jobs:
build:
name: Upload Release
runs-on: ubuntu-latest
steps:
# Initialization
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- run: npm install
- name: Copy configuration
run: cp config.json.example config.json
# Create Chrome artifacts
- name: Create Chrome artifacts
run: npm run build:chrome
- uses: actions/upload-artifact@v1
with:
name: ChromeExtension
path: dist
- run: mkdir ./builds
- name: Zip Artifacts
run: cd ./dist ; zip -r ../builds/ChromeExtension.zip *
# Create Firefox artifacts
- name: Create Firefox artifacts
run: npm run build:firefox
- uses: actions/upload-artifact@v1
with:
name: FirefoxExtension
path: dist
- name: Zip Artifacts
run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
# Create Beta artifacts (Builds with the name changed to beta)
- name: Create Chrome Beta artifacts
run: npm run build:chrome -- --env.stream=beta
- uses: actions/upload-artifact@v1
with:
name: ChromeExtensionBeta
path: dist
- name: Zip Artifacts
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
# Upload each release asset
- name: Upload ChromeExtension to release
uses: Shopify/upload-to-release@master
with:
args: builds/ChromeExtension.zip
name: ChromeExtension.zip
path: ./builds/ChromeExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload ChromeExtensionBeta to release
uses: Shopify/upload-to-release@master
with:
args: builds/ChromeExtensionBeta.zip
name: ChromeExtensionBeta.zip
path: ./builds/ChromeExtensionBeta.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload FirefoxExtension to release
uses: Shopify/upload-to-release@master
with:
args: builds/FirefoxExtension.zip
name: FirefoxExtension.zip
path: ./builds/FirefoxExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Firefox Beta
- name: Create Firefox Beta artifacts
run: npm run build:firefox -- --env.stream=beta
- uses: actions/upload-artifact@v1
with:
name: FirefoxExtensionBeta
path: dist
- name: Zip Artifacts
run: cd ./dist ; zip -r ../builds/FirefoxExtensionBeta.zip *
# Create Firefox Signed Beta version
- name: Create Firefox Signed Beta artifacts
run: npm run web-sign
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
- name: Install rename
run: sudo apt-get install rename
- name: Rename signed file
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
- uses: actions/upload-artifact@v1
with:
name: FirefoxExtensionSigned.xpi
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
- name: Upload FirefoxSignedInstaller.xpi to release
uses: Shopify/upload-to-release@master
with:
args: web-ext-artifacts/FirefoxSignedInstaller.xpi
name: FirefoxSignedInstaller.xpi
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
repo-token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -11,66 +11,76 @@
<b>Download:</b>
<a href="https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone">Chrome/Chromium</a> |
<a href="https://addons.mozilla.org/addon/sponsorblock/?src=external-github">Firefox</a> |
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Android">Android</a> |
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Edge">Edge</a> |
<a href="https://sponsor.ajay.app">Website</a> |
<a href="https://sponsor.ajay.app/stats">Stats</a>
</p>
<p align="center">
<b>Unofficial Ports:</b>
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Unofficial-Ports#mpv-media-player">MPV</a>
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Unofficial-Ports#mpv-media-player">MPV</a> |
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Unofficial-Ports#kodi">Kodi</a> |
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Unofficial-Ports#ios">iOS</a>
</p>
<p align="center">
<a href="https://addons.mozilla.org/addon/sponsorblock/?src=external-github"><img src="https://img.shields.io/amo/users/sponsorblock?label=Firefox%20Users" alt="Badge"></img></a>
<a href="https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone"><img src="https://img.shields.io/chrome-web-store/users/mnjggcdmjocbbbhaepdhchncahnbgone?label=Chome%20Users" alt="Badge"></img></a>
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Sponsors%20Submitted&query=totalSubmissions&suffix=%20sponsors&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetTotalStats&color=darkred" alt="Badge"></img></a>
<a href="https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone"><img src="https://img.shields.io/chrome-web-store/users/mnjggcdmjocbbbhaepdhchncahnbgone?label=Chrome%20Users" alt="Badge"></img></a>
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Submissions&query=totalSubmissions&suffix=%20segments&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetTotalStats&color=darkred" alt="Badge"></img></a>
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Contributing%20Users&query=userCount&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetTotalStats&color=darkblue" alt="Badge"></img></a>
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Time%20Saved%20From%20Skips&query=daysSaved&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetDaysSavedFormatted&color=darkgreen&suffix=%20days" alt="Badge"></img></a>
</p>
SponsorBlock is an extension that will skip over sponsored segments of YouTube videos. SponsorBlock is a crowdsourced browser extension that lets anyone submit the start and end times of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment.
SponsorBlock is an open-source crowdsourced browser extension to skip sponsor segments in YouTube videos. Users submit when a sponsor happens from the extension, and the extension automatically skips sponsors it knows about. It also supports skipping other categories, such as intros, outros and reminders to subscribe.
Also support Invidio.us.
It also supports Invidio.us.
**Translate:** [![Crowdin](https://badges.crowdin.net/sponsorblock/localized.svg)](https://crowdin.com/project/sponsorblock)
# Important Links
See the [Wiki](https://github.com/ajayyy/SponsorBlock/wiki) for important links.
# Server
The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer
It is a simple Sqlite database that will hold all the timing data.
It is a simple SQLite database that will hold all the timing data.
To make sure that this project doesn't die, I have made the database publicly downloadable at https://api.sponsor.ajay.app/database.db. So, you can download a backup or get archive.org to take a backup for you if you want.
To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database.db ([License](https://github.com/ajayyy/SponsorBlock/wiki/Database-and-API-License)). If you are planning on using the database in another project, please read the [API Docs](https://github.com/ajayyy/SponsorBlock/wiki/API-Docs) page for more information.
Hopefully this project can be combined with projects like [this](https://github.com/Sponsoff/sponsorship_remover) and use this data to create a neural network to predict when sponsored segments happen. That project is sadly abandoned now, so I have decided to attempt to revive this idea.
The dataset and API are now being used in some [ports](https://github.com/ajayyy/SponsorBlock/wiki/Unofficial-Ports) as well as a [neural network](https://github.com/andrewzlee/NeuralBlock).
A [previous project](https://github.com/Sponsoff/sponsorship_remover) attempted to create a neural network to predict when sponsored segments happen. That project is sadly abandoned now, so I have decided to attempt to revive this idea starting from a crowd-sourced system instead.
# API
You can read the API docs [here](https://github.com/ajayyy/SponsorBlockServer#api-docs).
# Build Yourself
# Building
You can load this project as an unpacked extension. Make sure to rename the `config.json.example` file to `config.json` before installing.
Rename `config.json.example` to `config.json` and adjust configuration as desired.
There are also other build scripts available. Install `npm`, then run `npm install` in the repository.
There are also other build scripts available. Install `npm`, then run `npm install` in the repository to install dependencies.
Run `npm run build` to generate a Chrome extension.
Use `npm run build:firefox` to generate a Firefox extension.
The result is in `dist`. This can be loaded as an unpacked extension
## Developing with a clean profile
Run `npm run dev` to run the extension using a clean browser profile with hot reloading. Use `npm run dev:firefox` for Firefox. This uses [`web-ext run`](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#commands).
## Packing
Run `npm run build` to generate a packed Chrome extension.
Use `npm run build:firefox` to generate a Firefox extension.
The result is in `dist`.
# Credit
The awesome [Invidious API](https://github.com/omarroth/invidious/wiki/API) used to be used.
The awesome [Invidious API](https://github.com/omarroth/invidious/wiki/API) was previously used.
Original code from [YTSponsorSkip](https://github.com/OfficialNoob/YTSponsorSkip), but not much of the code is left.
Originally forked from [YTSponsorSkip](https://github.com/NDevTK/YTSponsorSkip), but zero code remains.
Some icons made by <a href="https://www.flaticon.com/authors/gregor-cresnar" title="Gregor Cresnar">Gregor Cresnar</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>

View File

@@ -1,4 +1,6 @@
{
"serverAddress": "https://sponsor.ajay.app",
"serverAddressComment": "This specifies the default SponsorBlock server to conect to"
}
"testingServerAddress": "https://sponsor.ajay.app/test",
"serverAddressComment": "This specifies the default SponsorBlock server to connect to",
"categoryList": ["sponsor", "intro", "outro", "interaction", "selfpromo", "music_offtopic"]
}

View File

@@ -1,10 +1,3 @@
files:
- source: /_locales/en/*
translation: /_locales/%two_letters_code%/%original_file_name%
languages_mapping:
two_letters_code:
pl-PL: "pl_PL"
pr-BR: "pt_BR"
pr-PT: "pt_PT"
zh-CN: "zh_CH"
zh-TW: "zh_TW"
- source: /public/_locales/en/*
translation: /public/_locales/%two_letters_code%/%original_file_name%

View File

@@ -0,0 +1,4 @@
{
"name": "BETA - SponsorBlock"
}

View File

@@ -0,0 +1,8 @@
{
"browser_specific_settings": {
"gecko": {
"id": "sponsorBlockerBETA@ajay.app"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "__MSG_Name__",
"version": "1.2.13",
"short_name": "SponsorBlock",
"version": "2.0.5",
"default_locale": "en",
"description": "__MSG_Description__",
"content_scripts": [{
@@ -30,8 +30,12 @@
"icons/PlayerUploadFailedIconSponsorBlocker256px.png",
"icons/upvote.png",
"icons/downvote.png",
"icons/thumbs_down.svg",
"icons/thumbs_up.svg",
"icons/help.svg",
"icons/report.png",
"icons/close.png",
"icons/beep.ogg",
"icons/PlayerInfoIconSponsorBlocker256px.png",
"icons/PlayerDeleteIconSponsorBlocker256px.png",
"popup.html",
@@ -46,7 +50,7 @@
"*://*/*"
],
"browser_action": {
"default_title": "__MSG_Name__",
"default_title": "SponsorBlock",
"default_popup": "popup.html"
},
"background": {

4106
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,10 +4,18 @@
"description": "",
"main": "background.js",
"dependencies": {
"concurrently": "^5.1.0"
"@types/react": "^16.9.22",
"@types/react-dom": "^16.9.5",
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-preset-env": "^1.7.0",
"concurrently": "^5.1.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"web-ext": "^4.0.0",
"web-ext": "^4.2.0",
"@types/chrome": "0.0.91",
"@types/firefox-webext-browser": "70.0.1",
"@types/jest": "^24.0.23",
@@ -24,16 +32,20 @@
},
"scripts": {
"web-run": "npm run web-run:chrome",
"web-run:firefox": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm",
"web-sign": "web-ext sign -s dist --id sponsorBlockerBETA@ajay.app",
"web-run:firefox": "cd dist && web-ext run --start-url https://addons.mozilla.org/firefox/addon/ublock-origin/",
"web-run:chrome": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm -t chromium",
"build": "npm run build:chrome",
"build:chrome": "webpack --env.browser=chrome --config webpack/webpack.prod.js",
"build:firefox": "webpack --env.browser=firefox --config webpack/webpack.prod.js",
"build:dev": "npm run build:dev:chrome",
"build:dev:chrome": "webpack --env.browser=chrome --config webpack/webpack.dev.js",
"build:dev:firefox": "webpack --env.browser=firefox --config webpack/webpack.dev.js",
"build:watch": "npm run build:watch:chrome",
"build:watch:chrome": "webpack --env.browser=chrome --config webpack/webpack.dev.js --watch",
"build:watch:firefox": "webpack --env.browser=firefox --config webpack/webpack.dev.js --watch",
"dev": "npm run build && concurrently \"npm run web-run\" \"npm run build:watch\"",
"dev:firefox": "npm run build:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
"dev": "npm run build:dev && concurrently \"npm run web-run\" \"npm run build:watch\"",
"dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
"clean": "rimraf dist",
"test": "npx jest"
},

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,188 @@
{
"fullName": {
"message": "SponsorBlock за YouTube - пропускай спонсорства",
"description": "Name of the extension."
},
"Description": {
"message": "Прескачайте спонсорства, напомняния за абониране, и други неща в YouTube клипове. Докладвайте спонсорства на клиповете които гледате, за да спестите време на други потребители.",
"description": "Description of the extension."
},
"400": {
"message": "Сървърът каза, че тази заявка е невалидна"
},
"429": {
"message": "Подали сте прекалено много спонсорства за едно видео, сигурни ли сте, че има толкова много?"
},
"409": {
"message": "Това спонсорство вече е подадено"
},
"channelWhitelisted": {
"message": "Каналът е добавен към Whitelist!"
},
"Segment": {
"message": "сегмент"
},
"Segments": {
"message": "сегменти"
},
"reportButtonTitle": {
"message": "Докладвай"
},
"Dismiss": {
"message": "Отхвърли"
},
"Loading": {
"message": "Зареждане..."
},
"Mins": {
"message": "Минути"
},
"Secs": {
"message": "Секунди"
},
"Hide": {
"message": "Никога не показвай"
},
"hitGoBack": {
"message": "Натиснете \"върни\" за да се върнете където бяхте."
},
"unskip": {
"message": "Върни"
},
"reskip": {
"message": "Пропусни отново"
},
"paused": {
"message": "На пауза"
},
"confirmMSG": {
"message": "За да редактирате или изтриете някои стойности, натиснете на \"инфо\" бутона или отворете изкачащият прозорец на добавката чрез кликване на иконата на добавката в горният ляв ъгъл."
},
"clearThis": {
"message": "Сигурни ли сте, че искате да изчистите това?\n\n"
},
"Unknown": {
"message": "Възникна грешка при подаването на Вашите спонсорски времена, моля опитайте отново по-късно."
},
"sponsorStart": {
"message": "Сегментът Започва Сега"
},
"sponsorEnd": {
"message": "Сегментът Свършва Сега"
},
"noVideoID": {
"message": "Не е намерено YouTube видео в този раздел. Ако сте сигурни, че това е YouTube раздел, затворете този изскачащ прозорец и го отворете отново. Ако това не проработи, опитайте се да презаредите раздела."
},
"success": {
"message": "Успешно!"
},
"voted": {
"message": "Гласувано!"
},
"serverDown": {
"message": "Изглежда, че сървърът не работи. Свържете се с програмиста незабавно."
},
"connectionError": {
"message": "Възникна грешка с връзката. Код на грешката: "
},
"openPopup": {
"message": "Отворете изскачащия прозорец на SponsorBlock"
},
"submitCheck": {
"message": "Сигурни ли сте, че искате да подадете това?"
},
"whitelistChannel": {
"message": "Добавяне на канала към Whitelist"
},
"removeFromWhitelist": {
"message": "Премахване на канала от Whitelist"
},
"savedPeopleFrom": {
"message": "Вие сте помогнали на хора да пропуснат "
},
"viewLeaderboard": {
"message": "Вижте leaderboard-а"
},
"here": {
"message": "тук"
},
"discordAdvert": {
"message": "Елате в официалния Discord сървър за да давате предложения!"
},
"hideThis": {
"message": "Скрий това"
},
"Options": {
"message": "Настройки"
},
"showButtons": {
"message": "Показване на бутоните в YouTube Player-а"
},
"hideButtons": {
"message": "Скриване на бутоните в YouTube Player-а"
},
"to": {
"message": "до",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Спонсорство"
},
"category_intro_description": {
"message": "Интервал без някакво съдържание. Може да бъде пауза, статичен кадър, анимация. Това не трябва да се използва за анимации, съдържащи информация или в музикални клипове."
},
"category_interaction_description": {
"message": "Когато има кратко напомняне да харесате, да се абонирате или да последвате канала по средата на съдържанието. Ако е дълго или заради нещо специфично, трябва да е под \"само-реклама\"."
},
"category_selfpromo": {
"message": "Неплатена/Само-реклама"
},
"category_selfpromo_description": {
"message": "Подобно на \"спонсорство\", но е неплатено. Това включва merchandise, дарения или информация с кого каналът има сътрудничество."
},
"category_music_offtopic": {
"message": "Музика: Част без музика"
},
"category_music_offtopic_description": {
"message": "Само да се използва в музикални клипове. Това включва интрота и outro-та в музикални клипове."
},
"category_livestream_messages": {
"message": "Поточно предаване: Четене на съобщения/дарения"
},
"category_livestream_messages_short": {
"message": "Четене на съобщения"
},
"disable": {
"message": "Забрани"
},
"manualSkip": {
"message": "Ръчно Прескачане"
},
"showOverlay": {
"message": "Показване в seek лентата"
},
"colorFormatIncorrect": {
"message": "Вашият цвят не е форматиран правилно. Трябва да бъде 3- или 6-цифрен hex код с \"#\" в началото."
},
"category": {
"message": "Категория"
},
"downvoteDescription": {
"message": "Грешно/Неправилно Време"
},
"incorrectCategory": {
"message": "Грешна Категория"
},
"nonMusicCategoryOnMusic": {
"message": "Този клип е категоризиран като музика. Сигурни ли сте, че искате да докладвате сегментите с не-музикална категория? Освен ако видеото не е наистина музика, не би трябвало да докладвате този сегмент. Моля, прочетете правилата, ако сте объркани."
},
"multipleSegments": {
"message": "Няколко Сегмента"
},
"guidelines": {
"message": "Правила"
},
"categoryUpdate1": {
"message": "Категориите са тук!"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,13 @@
{
"fullName": {
"message": "SponsorBlock pro YouTube - Přeskoč Sponzorství",
"description": "Name of the extension."
},
"Description": {
"message": "Přeskoč sponzorství, žadonění o odběr a další v YouTube videích. Nahlaš sponzorované segmenty na videích co sleduješ a ušetři ostatním čas.",
"description": "Description of the extension."
},
"400": {
"message": "Server hlásí, že tento požadavek je neplatný"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,52 +1,38 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Name of the extension."
},
"fullName": {
"message": "SponsorBlock for YouTube - Skip Sponsorships",
"message": "SponsorBlock für YouTube - Überspringe Sponsoren",
"description": "Name of the extension."
},
"Description": {
"message": "Überspringe die gesponserten Inhalte in YouTube-Videos. Melde gesponsorte Inhalte in den von dir angesehenen Videos und erspare anderen die Zeit.",
"message": "Überspringe Sponsoren, betteln um Abonnenten und mehr in YouTube Videos. Melde Sponsoren in Videos, die du guckst, um anderen Zeit zu sparen.",
"description": "Description of the extension."
},
"helpPage": {
"message": "index_en.html"
},
"400": {
"message": "Ungültige Anforderung"
"message": "Der Server meldet, dass diese Anfrage ungültig war"
},
"429": {
"message": "Du hast zu viele Segmente in diesem Video eingereicht. Bist du dir sicher?"
"message": "Du hast zu viele Segmente für dieses Video eingereicht. Sind es wirklich so viele?"
},
"409": {
"message": "Dieser Inhalt wurde bereits eingereicht."
"message": "Dieser Inhalt wurde bereits eingereicht"
},
"channelWhitelisted": {
"message": "Kanal auf Whitelist gesetzt!"
"message": "Der Kanal wurde auf die Whitelist gesetzt!"
},
"Sponsor": {
"message": "Sponsor"
},
"Sponsors": {
"message": "Sponsoren"
},
"Segment": {
"message": "gesponsorter Inhalt"
"Segment": {
"message": "segment"
},
"Segments": {
"message": "gesponsorte Inhalte"
"message": "segmente"
},
"noticeTitle": {
"message": "Sponsor übersprungen"
"upvoteButtonInfo": {
"message": "Diese Einreichung positiv bewerten"
},
"reportButtonTitle": {
"message": "Melden"
},
"reportButtonInfo": {
"message": "Melde dieses Segment als unzulässig."
"message": "Beitrag als unzulässig melden."
},
"Dismiss": {
"message": "Abbrechen"
@@ -64,19 +50,22 @@
"message": "Verstecken"
},
"hitGoBack": {
"message": "Klicke Zurück um die Aktion rückgängig zu machen."
"message": "Klicke Nicht Überspringen um die Aktion rückgängig zu machen."
},
"unskip": {
"message": "Zurück"
"message": "Nicht Überspringen"
},
"reskip": {
"message": "Vorwärts"
"message": "Nochmal Überspringen"
},
"paused": {
"message": "Pausiert"
},
"manualPaused": {
"message": "Timer angehalten"
},
"confirmMSG": {
"message": "\n\nUm einzelne Werte zu löschen oder zu ändern, klicke auf den Info-Button, oder öffne die Erweiterungs-Übersicht, indem du das Erweiterungssymbol in der rechten oberen Ecke anklickst."
"message": "Um einzelne Werte zu löschen oder zu ändern, klicke auf den Info-Button, oder öffne die Erweiterungs-Übersicht, indem du das Erweiterungssymbol in der rechten oberen Ecke anklickst."
},
"clearThis": {
"message": "Bist du sicher, dass du Folgendes löschen möchtest?\n\n"
@@ -85,29 +74,26 @@
"message": "Deine Segmente konnten nicht gesendet werden, bitte versuche es später erneut."
},
"sponsorFound": {
"message": "Die gesponsorten Inhalte dieses Videos befinden sich bereits in der Datenbank!"
"message": "Dieses Video hat Segmente in der Datenbank!"
},
"sponsor404": {
"message": "Keine Sponsoren gefunden"
"message": "Keine Segmente gefunden"
},
"sponsorStart": {
"message": "Gesponserter Inhalt beginnt"
"message": "Segment startet jetzt"
},
"sponsorEnd": {
"message": "Gesponserter Inhalt endet"
"message": "Segment endet jetzt"
},
"noVideoID": {
"message": "Keine YouTube-Videos in diesem Tab gefunden. Wenn dies ein Youtube-Tab ist, schließe dieses Pop-up und öffne es erneut. Wenn das nicht hilft, versuche den Tab neu zu laden."
},
"success": {
"message": "Erfolg!"
"message": "Geschafft!"
},
"voted": {
"message": "Abgestimmt!"
},
"voteFail": {
"message": "Du hast bereits so abgestimmt."
},
"serverDown": {
"message": "Der Server ist scheinbar offline. Bitte unverzüglich dem Entwickler melden."
},
@@ -115,55 +101,49 @@
"message": "Ein Verbindungsfehler ist aufgetreten. Fehlermeldung: "
},
"wantToSubmit": {
"message": "Möchtest du die Segmente für die Video ID senden?"
"message": "Möchtest du für Video-ID einreichen"
},
"leftTimes": {
"message": "Scheinbar hast du einige Segmente noch nicht gesendet. Kehre zur Seite zurück um sie zu senden (sie sind noch gespeichert)."
},
"clearTimes": {
"message": "Lösche Auswahl"
"message": "Segmente löschen"
},
"openPopup": {
"message": "Öffne SponsorBlock-Popup"
},
"SubmitTimes": {
"message": "Sende Auswahl"
"message": "Segment absenden"
},
"submitCheck": {
"message": "Bist du sicher, dass die Auswahl abgeschickt werden soll?"
},
"whitelistChannel": {
"message": "Kanal auf Whitelist setzen "
"message": "Kanal auf Whitelist setzen"
},
"removeFromWhitelist": {
"message": "Kanal von Whitelist entfernen"
"message": "Kanal von der Whitelist entfernen"
},
"voteOnTime": {
"message": "Stimme für Zeiten ab"
},
"recordTimes": {
"message": "Lege das Zeitfenster eines gesponsorten Inhalts fest"
"message": "Über ein Segment abstimmen"
},
"soFarUHSubmited": {
"message": "Gemeldet wurden von dir bisher"
"message": "Gemeldet wurden von dir bisher"
},
"savedPeopleFrom": {
"message": "Du hast andere Benutzer bewahrt vor"
"message": "Du hast andere Benutzer bewahrt vor "
},
"viewLeaderboard": {
"message": "Siehe Rangliste"
"message": "Siehe Rangliste"
},
"here": {
"message": "hier"
},
"recordTimesDescription": {
"message": "Klicke den Knopf unten, wenn der gesponsorte Inhalt beginnt und endet, um aufzunehmen und\n einzusenden"
"message": "Klicken Sie auf die Schaltfläche unten, wenn das Segment startet und endet, um es in die Datenbank einzusenden."
},
"popupHint": {
"message": "Hinweis: In den Optionen lässt sich eine Taste für das Festlegen von Anfang/Ende des gesponsorten Inhalts, sowie für das Einsenden festlegen"
},
"lastTimes": {
"message": "Letzte ausgewählte Zeitabschnitte"
"message": "Hinweis: Drücken Sie die Semikolon-Taste während Sie auf ein Video fokussiert sind, um das Start/Ende eines Segments zu melden und das einzureichende Zitat anzugeben. (Dies kann in den Optionen geändert werden)"
},
"clearTimesButton": {
"message": "Zeiten löschen"
@@ -178,7 +158,7 @@
"message": "Alias festlegen"
},
"discordAdvert": {
"message": "Tritt dem offiziellen Discord-Kanal bei und teile Anregungen und Feedback!"
"message": "Tritt dem offiziellen Discord Server bei und teile Anregungen und Feedback!"
},
"hideThis": {
"message": "Verstecken"
@@ -205,28 +185,25 @@
"message": "Dieser Knopf öffnet ein Pop-up auf der Youtube-Seite."
},
"hideDeleteButton": {
"message": "Verstecke Löschen-Knopf in Youtube Leiste"
"message": "Verstecke Löschen-Knopf in Youtube-Leiste"
},
"showDeleteButton": {
"message": "Zeige Löschen-Knopf in Youtube Leiste"
"message": "Zeige Löschen-Knopf in Youtube-Leiste"
},
"whatDeleteButton": {
"message": "Dieser Knopf entfernt sämtlich Segmente in der Youtube-Zeitleiste."
},
"disableViewTracking": {
"message": "Deaktiviere das Mitzählen übersprungener Sponsoren"
"message": "Dierser Button im YouTube-Player löscht alle nicht übermittelten Segmente für das aktuelle Video."
},
"enableViewTracking": {
"message": "Aktiviere das Mitzählen übersprungener Sponsoren"
"message": "Aktiviere mitzählen übersprungener Segmente"
},
"whatViewTracking": {
"message": "Diese Funktion hält fest, welche Sponsoren von dir übersprungen wurden und hilft anderen zu erfahren, was ihre Einsendungen bewirkt haben.\n Außerdem dienen die Werte zusammen mit positiven Rückmeldungen als Anti-Spam-Schutz. \n Wenn ein gesponsorter Inhalt übersprungen wird, sendet die Erweiterung eine Nachricht an den Server. \n Hoffentlich wird diese Funktion auch weiterhin genutzt, damit der Algorithmus funktioniert. :)"
"message": "Dieses Feature zählt die Segmente, die du übersprungen hast, um die Benutzer wissen zu lassen, wie sehr ihre Einreichung anderen geholfen hat und als Metrik zusammen mit positiven Bewertungen verwendet wurde, um sicherzustellen, dass Spam nicht in die Datenbank gelangt. Die Erweiterung sendet jedes Mal, wenn du ein Segment überspringst, eine Nachricht an den Server. Hoffentlich ändern die meisten Leute diese Einstellung nicht, so dass die Zahlen korrekt sind. :)"
},
"showNotice": {
"message": "Benachrichtigung wieder zeigen"
},
"longDescription": {
"message": "SponsorBlock ist eine Erweiterung, die gesponsorte Segmente in YouTube-Videos überspringt. SponsorBlock ist ein Benutzernetzwerk, bei dem jeder Anfang und Ende eines Werbeblocks einreichen kann. Sobald die Information von einem Nutzer eingereicht wurde, überspringen die Erweiterungen der anderen dieses Segment automatisch.",
"message": "SponsorBlock lässt dich über Sponsoren, Intros, Outros, Abonnement-Erinnerungen und andere nervige Teile von YouTube-Videos überspringen. SponsorBlock ist eine Crowdsourced Browser-Erweiterung, in der jeder die Start- und Endzeit gesponserter Segmente und anderer Segmente von YouTube-Videos einreicht. Sobald eine Person diese Informationen einreicht, überspringen alle anderen mit dieser Erweiterung das gesponserte Segment. Sie können auch nicht Musik Abschnitte von Musikvideos überspringen.",
"description": "Full description of the extension on the store pages."
},
"website": {
@@ -246,7 +223,7 @@
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Segment aufnehmen Taste festlegen"
"message": "Tastenkombination für das Starten eines Segments festlegen"
},
"setSubmitKeybind": {
"message": "Segment einsenden Taste festlegen"
@@ -276,20 +253,29 @@
"errorCode": {
"message": "Fehlermeldung: "
},
"noticeTitleNotSkipped": {
"message": "Sponsor überspringen?"
},
"skip": {
"message": "Überspringen"
},
"skipped": {
"message": "Übersprungen"
},
"disableAutoSkip": {
"message": "Auto-Überspringen deaktivieren"
},
"enableAutoSkip": {
"message": "Auto-Überspringen aktivieren"
"message": "Automatisches Überspringen aktivieren"
},
"autoSkipDescription": {
"message": "Auto-Überspringen überspringt gesponsorte Inhalte für dich. Wenn deaktiviert, fragt die Benachrichtigung, ob übersprungen werden soll."
"audioNotification": {
"message": "Audio-Benachrichtigung beim Überspringen"
},
"audioNotificationDescription": {
"message": "Audio-Benachrichtigung. Es wird ein Ton abgespielt, wenn ein Segment übersprungen wird. Wenn deaktiviert (oder wenn Automatisches-Überspringen deaktiviert ist), wird kein Ton abgespielt."
},
"showTimeWithSkips": {
"message": "Zeit ohne übersprungenen Inhalt anzeigen"
},
"showTimeWithSkipsDescription": {
"message": "Diese Zeit wird in Klammern neben der aktuellen Zeit in der Suchleiste angezeigt. Diese Zeit die gesamte Dauer des Videos ohne jeglicher Segmente. Dies inkludiert auch Segmente, die als \"In Suchleiste anzeigen\" markiert sind."
},
"youHaveSkipped": {
"message": "Du übersprangst "
@@ -298,7 +284,7 @@
"message": "Du erspartest dir "
},
"minLower": {
"message": "Minute"
"message": "minute"
},
"minsLower": {
"message": "Minuten"
@@ -314,5 +300,318 @@
},
"youHaveSavedTimeEnd": {
"message": " ihrer Zeit."
},
"statusReminder": {
"message": "Überprüfe status.sponsor.ajay.app für den Serverstatus."
},
"changeUserID": {
"message": "Benutzer ID importieren/exportieren"
},
"whatChangeUserID": {
"message": "Dies sollte privat gehalten werden. Dies ist wie ein Passwort und sollte nicht mit jemandem geteilt werden."
},
"setUserID": {
"message": "Benutzer ID festlegen"
},
"userIDChangeWarning": {
"message": "Warnung: Das Ändern der Benutzer ID ist permanent. Sind Sie sicher, dass Sie dies tun möchten? Stellen Sie sicher, dass Sie von Ihren alten Benutzer ID eine Sicherheitskopie machen, nur für den Fall."
},
"createdBy": {
"message": "Erstellt von"
},
"autoSkip": {
"message": "Automatisch überspringen"
},
"showSkipNotice": {
"message": "Zeige Pop-Up nach dem Übersprung eines Segments"
},
"keybindCurrentlySet": {
"message": ". Es ist derzeit gesetzt auf:"
},
"supportInvidious": {
"message": "Unterstütze Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) ist ein Drittanbieter-YouTube-Client. Um Support zu aktivieren, müssen Sie die zusätzlichen Berechtigungen akzeptieren. Dies funktioniert NICHT im Incongnito-modus auf Chrome und anderen Chromium-Varianten."
},
"optionsInfo": {
"message": "Invidious Support aktivieren, Autoskip deaktivieren, Tasten ausblenden und vieles mehr."
},
"addInvidiousInstance": {
"message": "Invidious-Instanzen hinzufügen"
},
"addInvidiousInstanceDescription": {
"message": "Fügen Sie eine benutzerdefinierte Instanz von Invidious hinzu. Dies muss mit NUR der Domain formatiert werden. Beispiel: invidious.ajay.app"
},
"add": {
"message": "Hinzufügen"
},
"addInvidiousInstanceError": {
"message": "Dies ist eine ungültige Domain. Dies soll NUR den Domain-Teil beinhalten. Beispiel: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Invidious Instanzliste zurücksetzen"
},
"resetInvidiousInstanceAlert": {
"message": "Du bist dabei, die Liste der \"Invidious\" Instanzen zurückzusetzen"
},
"currentInstances": {
"message": "Aktuelle Instanzen:"
},
"minDuration": {
"message": "Minimale Dauer (Sekunden):"
},
"minDurationDescription": {
"message": "Segmente, die kürzer als der festgelegte Wert sind, werden nicht übersprungen oder im Player angezeigt."
},
"shortCheck": {
"message": "Die folgende Einreichung ist kürzer als Ihre Mindestdauer. Dies könnte bedeuten, dass dies bereits eingereicht wurde und aufgrund dieser Option einfach ignoriert wird. Sind Sie sicher, dass Sie einreichen möchten?"
},
"showUploadButton": {
"message": "Upload-Button anzeigen"
},
"whatUploadButton": {
"message": "Diese Schaltfläche erscheint auf dem YouTube-Player, nachdem Sie einen Zeitstempel ausgewählt haben und bereit sind zu senden."
},
"customServerAddress": {
"message": "SponsorBlock Server-Adresse"
},
"customServerAddressDescription": {
"message": "Die Ardesse die SponsorBlock verwendet um Anfragen an den Server zu senden. Solange sie keine eigene Serverinstanz haben sollte das nicht geändert werden."
},
"save": {
"message": "Speichern"
},
"reset": {
"message": "Zurücksetzen"
},
"customAddressError": {
"message": "Diese Adresse ist nicht in der richtigen Form. Stellen Sie sicher, dass Sie http:// oder https:// am Anfang haben und keine abschließenden Schrägstriche haben."
},
"areYouSureReset": {
"message": "Sind sie sicher dass sie das zurücksetzen wollen?"
},
"confirmPrivacy": {
"message": "Das Video wurde als nicht aufgelistet erkannt. Klicken Sie auf Abbrechen, wenn Sie nicht nach Segmenten suchen möchten."
},
"unlistedCheck": {
"message": "Nicht gelistete Videos ignorieren"
},
"whatUnlistedCheck": {
"message": "Diese Einstellung wird SponsorBlock leicht verlangsamen. Das Überspringen von Segment Suchanfragen erfordert das Senden der Video-ID an den Server. Wenn Sie sich Sorgen darüber machen, dass nicht gelistete Video-IDs über das Internet gesendet werden, aktivieren Sie diese Option."
},
"mobileUpdateInfo": {
"message": "m.youtube.com wird jetzt unterstützt"
},
"exportOptions": {
"message": "Import/Export aller Optionen"
},
"whatExportOptions": {
"message": "Dies ist Ihre gesamte Konfiguration in JSON. Dies schließt Ihre Benutzer-ID ein, also sollten Sie diese klug teilen."
},
"setOptions": {
"message": "Optionen einstellen"
},
"exportOptionsWarning": {
"message": "Warnung: Das Ändern der Benutzer ID ist permanent. Sind Sie sicher, dass Sie dies tun möchten? Stellen Sie sicher, dass Sie von Ihren alten Benutzer ID eine Sicherheitskopie machen, nur für den Fall."
},
"incorrectlyFormattedOptions": {
"message": "Dieses JSON ist nicht korrekt formatiert. Ihre Einstellungen wurden nicht geändert."
},
"confirmNoticeTitle": {
"message": "Segment absenden"
},
"submit": {
"message": "Senden"
},
"cancel": {
"message": "Abbrechen"
},
"delete": {
"message": "Löschen"
},
"preview": {
"message": "Vorschau"
},
"edit": {
"message": "Bearbeiten"
},
"copyDebugInformation": {
"message": "Debug-Informationen in Zwischenablage kopieren"
},
"copyDebugInformationFailed": {
"message": "Fehler beim Schreiben in die Zwischenablage"
},
"copyDebugInformationOptions": {
"message": "Kopiert Informationen in die Zwischenablage einem Entwickler zur Verfügung gestellt werden, wenn ein Bug / wenn ein Entwickler es anfordert. Sensitive Informationen wie Ihre Benutzer-ID, Kanäle auf der Whitelist-Liste und benutzerdefinierte Server-Adresse wurden entfernt. Es enthält jedoch Informationen wie den Useragent, den Browser, das Betriebssystem und die Versionsnummer der Erweiterung. "
},
"copyDebugInformationComplete": {
"message": "Die Debug-Informationen wurden in das Clip-Board kopiert. Sie können alle Informationen entfernen, die Sie nicht teilen möchten. Speichern Sie diese in einer Textdatei oder fügen Sie sie in den Fehlerbericht ein."
},
"theKey": {
"message": "Die Taste"
},
"keyAlreadyUsed": {
"message": "an eine andere Aktion gebunden. Bitte wählen Sie eine andere Taste."
},
"to": {
"message": "bis",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_sponsor_description": {
"message": "Bezahlte Promotion, bezahlte Empfehlungen und direkte Werbung. Nicht für Selbstpromotion oder kostenlose Shoutouts an Webseiten/Produkte, die sie mögen."
},
"category_intro": {
"message": "Unterbrechung/Intro Animation"
},
"category_intro_description": {
"message": "Ein Intervall ohne relevanten Inhalt. Beispiele dafür wären eine Pause, ein statisches Bild oder sich wiederholende Animationen. Dies sollte nicht für Übergänge benutzt werden, die Informationen erhalten oder für Musikvideos."
},
"category_intro_short": {
"message": "Unterbrechung"
},
"category_outro": {
"message": "Endkarten/Credits"
},
"category_outro_description": {
"message": "Credits oder wenn die YouTube-Endkarten erscheinen. Nicht für Schlussfolgerungen mit Informationen. Dies sollte nicht für Musikvideos verwendet werden."
},
"category_interaction": {
"message": "Interaktions-Erinnerung (Abonnieren)"
},
"category_interaction_description": {
"message": "Wenn es eine kurze Erinnerung gibt, zu abonnieren oder zu folgen in der Mitte des Videos. Wenn es lange ist oder etwas Konkretes ist, sollte es stattdessen unter Selbstpromotion stehen."
},
"category_interaction_short": {
"message": "Interaktions-Erinnerung"
},
"category_selfpromo": {
"message": "Unbezahlt/Eigenwerbung"
},
"category_selfpromo_description": {
"message": "Ähnlich wie bei \"Sponsor\" mit Ausnahme von unbezahlten oder Selbstpromotion. Dies beinhaltet Abschnitte über Waren, Spenden oder Informationen darüber, mit wem sie zusammengearbeitet haben."
},
"category_music_offtopic": {
"message": "Musik: Nicht-Musik-Abschnitt"
},
"category_music_offtopic_description": {
"message": "Nur für den Einsatz in Musikvideos. Dies beinhaltet Einführungen oder Outros in Musikvideos."
},
"category_music_offtopic_short": {
"message": "Nicht-Musik"
},
"category_livestream_messages": {
"message": "Livestream: Spenden/Nachrichten vorlesen"
},
"category_livestream_messages_short": {
"message": "Nachrichten lesen"
},
"disable": {
"message": "Deaktivieren"
},
"manualSkip": {
"message": "Manuelles Überspringen"
},
"showOverlay": {
"message": "In Zeitleiste anzeigen"
},
"colorFormatIncorrect": {
"message": "Ihre Farbe ist falsch formatiert. Sie sollte ein 3-6-stelliger Hex-Code mit einem Zahlenzeichen am Anfang sein."
},
"previewColor": {
"message": "Vorschau Farbe",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Suchleisten-Farbe"
},
"category": {
"message": "Kategorie"
},
"skipOption": {
"message": "Option zum Überspringen",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Betatest Server aktivieren"
},
"whatEnableTestingServer": {
"message": "Deine Einreichungen und Stimmen werden NICHT für den Hauptserver geltend. Benutze dies nur für Tests."
},
"testingServerWarning": {
"message": "Alle Einreichungen und Stimmen werden NICHT ZÄHLEN gegenüber dem Hauptserver während der Verbindung zum Test-Server. Stellen Sie sicher, dass sie dies deaktivieren, wenn Sie echte Einreichungen machen möchten."
},
"bracketNow": {
"message": "(jetzt)"
},
"moreCategories": {
"message": "Weitere Kategorien"
},
"chooseACategory": {
"message": "Wähle eine Kategorie"
},
"youMustSelectACategory": {
"message": "Sie müssen eine Kategorie für alle Segmente auswählen, die Sie abschicken!"
},
"bracketEnd": {
"message": "(Ende)"
},
"hiddenDueToDownvote": {
"message": "verborgen: negativ bewertet"
},
"hiddenDueToDuration": {
"message": "verborgen: zu kurz"
},
"channelDataNotFound": {
"message": "Kanal-ID wurde noch nicht geladen."
},
"adblockerIssue": {
"message": "Irgendwas hält SponsorBlock davon ab, die Videodaten abzurufen. Möglicherweise ist das dein Werbeblocker. Mehr Infos: https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Falls dies weiterhin geschieht, könnte dies durch Ihren Werbeblocker verursacht werden. Bitte überprüfen Sie https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"forceChannelCheck": {
"message": "Kanalprüfung erzwingen vor dem Überspringen von Segmenten"
},
"whatForceChannelCheck": {
"message": "Standardmäßig überspringt er Segmente sofort, bevor er überhaupt weiß, welcher Kanal das ist. Standardmäßig werden einige Segmente am Anfang des Videos auf den Kanälen auf der Whitelist übersprungen. Das Aktivieren dieser Option verhindert dies, aber das Überspringen hat eine leichte Verzögerung, da die Channel-ID einige Zeit in Anspruch nehmen kann. Diese Verzögerung kann bei schnellen Internetverbindungen unauffällig sein."
},
"forceChannelCheckPopup": {
"message": "Bedenken Sie die Aktivierung von \"Kanalprüfung erzwingen vor dem Überspringen von Segmenten\""
},
"downvoteDescription": {
"message": "Nicht korrektes/Falsches Timing"
},
"incorrectCategory": {
"message": "Falsche Kategorie"
},
"nonMusicCategoryOnMusic": {
"message": "Dieses Video ist als Musik kategorisiert. Sind Sie sicher, dass Sie Segmente mit Nicht-Musikkategorien einreichen möchten? Wenn dieses Video nicht wirklich Musik ist, sollten Sie dieses Segment nicht einreichen. Bitte lesen Sie die Richtlinien, wenn Sie verwirrt sind."
},
"multipleSegments": {
"message": "Mehrere Segmente"
},
"guidelines": {
"message": "Richtlinien"
},
"readTheGuidelines": {
"message": "Lesen Sie die Richtlinien!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Kategorien sind hier!"
},
"categoryUpdate2": {
"message": "Öffnen Sie die Optionen um Intros, Outros, Merch usw. zu überspringen."
},
"unsubmittedWarning": {
"message": "Benachrichtigung für nicht eingereichte Segmente"
},
"unsubmittedWarningDescription": {
"message": "Zeige eine Benachrichtigung an, wenn Sie ein Video mit nicht hochgeladenen Segmenten verlassen"
}
}

View File

@@ -0,0 +1,179 @@
{
"Segment": {
"message": "τμήμα"
},
"Segments": {
"message": "τμήματα"
},
"upvoteButtonInfo": {
"message": "Κάντε upvote αυτήν την υποβολή"
},
"reportButtonTitle": {
"message": "Αναφορά"
},
"reportButtonInfo": {
"message": "Αναφέρετε αυτή την υποβολή σαν λανθασμένη."
},
"Dismiss": {
"message": "Παράβλεψη"
},
"Loading": {
"message": "Φόρτωση..."
},
"Mins": {
"message": "Λεπτά"
},
"Secs": {
"message": "Δευτερόλεπτα"
},
"Hide": {
"message": "Να μην εμφανίζεται ποτέ"
},
"paused": {
"message": "Σε παύση"
},
"manualPaused": {
"message": "Λήξη χρονομέτρου"
},
"clearThis": {
"message": "Θέλετε σίγουρα να εκκαθαρίσετε τη φόρμα;\n\n"
},
"success": {
"message": "Επιτυχία!"
},
"voted": {
"message": "Ψηφίστηκε!"
},
"clearTimes": {
"message": "Καθαρισμός τμημάτων"
},
"here": {
"message": "εδώ"
},
"Options": {
"message": "Επιλογές"
},
"website": {
"message": "Ιστοσελίδα",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Πηγαίος Κώδικας",
"description": "Used on Firefox Store Page"
},
"errorCode": {
"message": "Κωδικός σφάλματος: "
},
"skip": {
"message": "Παράκαμψη"
},
"skipped": {
"message": "Παραλείφθηκε"
},
"minLower": {
"message": "λεπτό"
},
"minsLower": {
"message": "λεπτά"
},
"hourLower": {
"message": "ώρα"
},
"hoursLower": {
"message": "ώρες"
},
"createdBy": {
"message": "Δημιουργήθηκε από"
},
"add": {
"message": "Προσθήκη"
},
"save": {
"message": "Αποθήκευση"
},
"reset": {
"message": "Επαναφορά"
},
"confirmNoticeTitle": {
"message": "Υποβολή Κατηγορίας"
},
"submit": {
"message": "Υποβολή"
},
"cancel": {
"message": "Ακύρωση"
},
"delete": {
"message": "Διαγραφή"
},
"preview": {
"message": "Προεπισκόπηση"
},
"edit": {
"message": "Επεξεργασία"
},
"to": {
"message": "έως",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Χορηγός"
},
"category_intro_short": {
"message": "Διάλειμμα"
},
"disable": {
"message": "Απενεργοποίηση"
},
"previewColor": {
"message": "Προεπισκόπηση χρώματος",
"description": "Referring to submissions that have not been sent to the server yet."
},
"category": {
"message": "Κατηγορία"
},
"skipOption": {
"message": "Παράλειψη Επιλογής",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Ενεργοποίηση διακομιστή δοκιμαστικών λειτουργιών"
},
"whatEnableTestingServer": {
"message": "Οι υποβολές και οι ψήφοι ΔΕΝ ΘΑ ΜΕΤΡΗΣΟΥΝ προς τον κεντρικό διακομιστή. Χρησιμοποίησέ το μόνο για δοκιμή."
},
"bracketNow": {
"message": "(τώρα)"
},
"moreCategories": {
"message": "Περισσότερες κατηγορίες"
},
"chooseACategory": {
"message": "Επιλέξτε μια κατηγορία"
},
"incorrectCategory": {
"message": "Λάθος κατηγορία"
},
"multipleSegments": {
"message": "Πολλαπλά Τμήματα"
},
"guidelines": {
"message": "Οδηγίες"
},
"readTheGuidelines": {
"message": "Διάβασε τις οδηγίες!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Οι κατηγορίες είναι εδώ!"
},
"categoryUpdate2": {
"message": "Άνοιξε τις επιλογές για την παράλειψη τίτλων αρχής-τέλους, πωλήσεων κ. α."
},
"unsubmittedWarning": {
"message": "Ειδοποίηση μη κατοχυρωμένων τμημάτων"
},
"unsubmittedWarningDescription": {
"message": "Στείλε μια ειδοποίηση όταν αφήνεις βίντεο με τμήματα που δεν έχουν ανέβει"
}
}

View File

@@ -1,20 +1,12 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Name of the extension."
},
"fullName": {
"message": "SponsorBlock for YouTube - Skip Sponsorships",
"description": "Name of the extension."
},
"Description": {
"message": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"message": "Skip sponsorships, subscription begging and more on YouTube videos. Report sponsors on videos you watch to save others' time.",
"description": "Description of the extension."
},
"helpPage": {
"message": "index_en.html"
},
"400": {
"message": "Server said this request was invalid"
},
@@ -27,26 +19,20 @@
"channelWhitelisted": {
"message": "Channel Whitelisted!"
},
"Sponsor": {
"message": "sponsor"
},
"Sponsors": {
"message": "sponsors"
},
"Segment": {
"message": "sponsor segment"
"message": "segment"
},
"Segments": {
"message": "sponsor segments"
"message": "segments"
},
"noticeTitle": {
"message": "Sponsor Skipped"
"upvoteButtonInfo": {
"message": "Upvote this submission"
},
"reportButtonTitle": {
"message": "Report"
},
"reportButtonInfo": {
"message": "Report this sponsor submission as incorrect."
"message": "Report this submission as incorrect."
},
"Dismiss": {
"message": "Dismiss"
@@ -75,6 +61,9 @@
"paused": {
"message": "Paused"
},
"manualPaused": {
"message": "Timer Stopped"
},
"confirmMSG": {
"message": "To edit or delete individual values, click the info button or open the extension popup by clicking the extension icon in the top right corner."
},
@@ -85,16 +74,16 @@
"message": "There was an error submitting your sponsor times, please try again later."
},
"sponsorFound": {
"message": "This video's sponsors are in the database!"
"message": "This video has segments in the database!"
},
"sponsor404": {
"message": "No sponsors found"
"message": "No segments found"
},
"sponsorStart": {
"message": "Sponsorship Starts Now"
"message": "Segment Starts Now"
},
"sponsorEnd": {
"message": "Sponsorship Ends Now"
"message": "Segment Ends Now"
},
"noVideoID": {
"message": "No YouTube video found at this tab. If you know this is a YouTube tab, close this popup and open it again. If that does not work, try reloading the tab."
@@ -105,29 +94,26 @@
"voted": {
"message": "Voted!"
},
"voteFail": {
"message": "You have already voted this way before."
},
"serverDown": {
"message": "It seems the sever is down. Contact the dev immediately."
"message": "It seems the server is down. Contact the dev immediately."
},
"connectionError": {
"message": "A connection error has occured. Error code: "
},
"wantToSubmit": {
"message": "Do you want to submit the sponsor times for video id"
"message": "Do you want to submit for video id"
},
"leftTimes": {
"message": "You seem to have left some sponsor times unsubmitted. Go back to that page to submit them (they are not deleted)."
"message": "You seem to have left some segments unsubmitted. Go back to that page to submit them (they are not deleted)."
},
"clearTimes": {
"message": "Clear Sponsor Times"
"message": "Clear Segments"
},
"openPopup": {
"message": "Open SponsorBlock Popup"
},
"SubmitTimes": {
"message": "Submit Sponsor Times"
"message": "Submit Segments"
},
"submitCheck": {
"message": "Are you sure you want to submit this?"
@@ -139,10 +125,7 @@
"message": "Remove Channel From Whitelist"
},
"voteOnTime": {
"message": "Vote On A Sponsor Time"
},
"recordTimes": {
"message": "Record the times of a sponsorship"
"message": "Vote On A Segment"
},
"soFarUHSubmited": {
"message": "So far, you've submitted"
@@ -157,13 +140,10 @@
"message": "here"
},
"recordTimesDescription": {
"message": "Click the button below when the sponsorship starts and ends to record and\nsubmit it to the database."
"message": "Click the button below when the segment starts and ends to record and submit it to the database."
},
"popupHint": {
"message": "Hint: Press the semicolon key while focused on a video report the start/end of a sponsor and quote to submit. (This can be changed in the options)"
},
"lastTimes": {
"message": "Latest Sponsor Message Times Chosen"
"message": "Hint: Press the semicolon key while focused on a video to report the start/end of a segment and quote to submit. (This can be changed in the options)"
},
"clearTimesButton": {
"message": "Clear Times"
@@ -193,7 +173,7 @@
"message": "Hide Buttons On YouTube Player"
},
"hideButtonsDescription": {
"message": "This hides the buttons that appear on the YouTube player to submit sponsors. I can see this being annoying for some\n people. Instead of using the button there, this popup can be used to submit sponsors. To hide the notice that appears, \n use the button that appears on the notice saying \"Don't show this again\". You can always enable these settings again later."
"message": "This hides the buttons that appear on the YouTube player to submit skip segments."
},
"showInfoButton": {
"message": "Show Info Button On YouTube Player"
@@ -211,22 +191,19 @@
"message": "Show Delete Button On YouTube Player"
},
"whatDeleteButton": {
"message": "This is the button that allows you to clear all sponsors on the YouTube player."
},
"disableViewTracking": {
"message": "Disable Sponsor Skip Count Tracking"
"message": "This is the button on the YouTube player that will clear all your un-submitted segments for the current video."
},
"enableViewTracking": {
"message": "Enable Sponsor Skip Count Tracking"
"message": "Enable Skip Count Tracking"
},
"whatViewTracking": {
"message": "This feature tracks which sponsors you have skipped to let users know how much their submission has helped others and\nused as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message\nto the server each time you skip a sponsor. Hopefully most people don't change this setting so that the view numbers are accurate. :)"
"message": "This feature tracks which segments you have skipped to let users know how much their submission has helped others and used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message to the server each time you skip a segment. Hopefully most people don't change this setting so that the view numbers are accurate. :)"
},
"showNotice": {
"message": "Show Notice Again"
},
"longDescription": {
"message": "SponsorBlock is an extension that will skip over sponsored segments of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment.",
"message": "SponsorBlock lets you skip over sponsors, intros, outros, subscription reminders, and other annoying parts of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments and other segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment. You can also skip over non music sections of music videos.",
"description": "Full description of the extension on the store pages."
},
"website": {
@@ -246,7 +223,7 @@
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Set key for start sponsor keybind"
"message": "Set key for start segment keybind"
},
"setSubmitKeybind": {
"message": "Set key for submission keybind"
@@ -276,20 +253,29 @@
"errorCode": {
"message": "Error Code: "
},
"noticeTitleNotSkipped": {
"message": "Skip Sponsor?"
},
"skip": {
"message": "Skip"
},
"skipped": {
"message": "Skipped"
},
"disableAutoSkip": {
"message": "Disable Auto Skip"
},
"enableAutoSkip": {
"message": "Enable Auto Skip"
},
"autoSkipDescription": {
"message": "Auto skip will skip sponsors for you. If disabled, a notice will appear asking if you'd like to skip."
"audioNotification": {
"message": "Audio Notification On Skip"
},
"audioNotificationDescription": {
"message": "Audio notification on skip will play a sound whenever a segment is skipped. If disabled (or auto skip is disabled), no sound will be played."
},
"showTimeWithSkips": {
"message": "Show Time With Skips Removed"
},
"showTimeWithSkipsDescription": {
"message": "This time appears in brackets next to the current time on below the seekbar. This shows the total video duration minus any segments. This includes segments marked as only \"Show In Seekbar\"."
},
"youHaveSkipped": {
"message": "You have skipped "
@@ -315,9 +301,6 @@
"youHaveSavedTimeEnd": {
"message": " of their lives."
},
"guildlinesSummary": {
"message": "- Make sure your segment only contains paid promotion segment, nothing else.\n- Make sure skipping this segment will not skip valuable content\n- If the whole video is a sponsor, please do not report it. A full video reporting system will come out soon.\n- Please do not report disclaimers that could show bias (if a review video is sponsored, don't skip when they mention that)."
},
"statusReminder": {
"message": "Check status.sponsor.ajay.app for server status."
},
@@ -340,7 +323,7 @@
"message": "Auto Skip"
},
"showSkipNotice": {
"message": "Show Notice After A Sponsor Is Skipped"
"message": "Show Notice After A Segment Is Skipped"
},
"keybindCurrentlySet": {
"message": ". It is currently set to:"
@@ -349,7 +332,7 @@
"message": "Support Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) is a third party YouTube client. To enable support, you must accept the extra permissions. This does NOT work in incongnito on Chrome and other Chromium variants."
"message": "Invidious (invidio.us) is a third party YouTube client. To enable support, you must accept the extra permissions. This does NOT work in incognito on Chrome and other Chromium variants."
},
"optionsInfo": {
"message": "Enable Invidious support, disable autoskip, hide buttons and more."
@@ -375,23 +358,11 @@
"currentInstances": {
"message": "Current Instances:"
},
"enableAutoUpvote": {
"message": "Auto Upvote"
},
"whatAutoUpvote": {
"message": "With this enabled, the extension will upvote all submissions you view if you do not report them. If the notice is disabled, this will not occur."
},
"invidiousInfo1": {
"message": "Invidious (the 3rd party YouTube site) support has been added!"
},
"invidiousInfo2": {
"message": "You MUST enable it in the options for it to work."
},
"minDuration": {
"message": "Minimum duration (seconds):"
},
"minDurationDescription": {
"message": "Sponsor segments shorter than the set value will not be skipeed or show in the player."
"message": "Segments shorter than the set value will not be skipped or show in the player."
},
"shortCheck": {
"message": "The following submission is shorter than your minimum duration option. This could mean that this is already submitted, and just being ignored due to this option. Are you sure you would like to submit?"
@@ -421,12 +392,226 @@
"message": "Are you sure you would like to reset this?"
},
"confirmPrivacy": {
"message": "The video has been detected as unlisted. Click cancel if you do not want to check for sponsors."
"message": "The video has been detected as unlisted. Click cancel if you do not want to check for skip segments."
},
"unlistedCheck": {
"message": "Ignore Unlisted Videos"
"message": "Ignore Unlisted/Private Videos"
},
"whatUnlistedCheck": {
"message": "This setting will significantly slow down SponsorBlock. Sponsor lookups require sending the video ID to the server. If you are concerned about unlisted video IDs being sent over the internet, enable this option."
"message": "This setting will slightly slow down SponsorBlock. Skip segment lookups require sending the video ID to the server. If you are concerned about unlisted video IDs being sent over the internet, enable this option."
},
"mobileUpdateInfo": {
"message": "m.youtube.com is now supported"
},
"exportOptions": {
"message": "Import/Export All Options"
},
"whatExportOptions": {
"message": "This is your entire configuration in JSON. This includes your userID, so be sure to share this wisely."
},
"setOptions": {
"message": "Set Options"
},
"exportOptionsWarning": {
"message": "Warning: Changing the options is permanent and can break your install. Are you sure you would like to do this? Make sure to backup your old one just in case."
},
"incorrectlyFormattedOptions": {
"message": "This JSON is not formatted correctly. Your options have not been changed."
},
"confirmNoticeTitle" : {
"message": "Submit Segment"
},
"submit": {
"message": "Submit"
},
"cancel": {
"message": "Cancel"
},
"delete": {
"message": "Delete"
},
"preview": {
"message": "Preview"
},
"edit": {
"message": "Edit"
},
"copyDebugInformation": {
"message": "Copy Debug Information To Clipboard"
},
"copyDebugInformationFailed": {
"message": "Failed to write to clipboard"
},
"copyDebugInformationOptions": {
"message": "Copies information to the clipboard to be provided to a developer when raising a bug / when a developer requests it. Sensitive information such as your user ID, whitelisted channels, and custom server address have been removed. However it does contain information such as your useragent, browser, operating system, and extension version number. "
},
"copyDebugInformationComplete": {
"message": "The debug information has been copied to the clip board. Feel free to remove any information you would rather not share. Save this in a text file or paste into the bug report."
},
"theKey": {
"message": "The key"
},
"keyAlreadyUsed": {
"message": "is bound to another action. Please select another key."
},
"to": {
"message": "to",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_sponsor_description": {
"message": "Paid promotion, paid referrals and direct advertisements. Not for self-promotion or free shoutouts to causes/creators/websites/products they like."
},
"category_intro": {
"message": "Intermission/Intro Animation"
},
"category_intro_description": {
"message": "An interval without actual content. Could be a pause, static frame, repeating animation. This should not be used for transitions containing information."
},
"category_intro_short": {
"message": "Intermission"
},
"category_outro": {
"message": "Endcards/Credits"
},
"category_outro_description": {
"message": "Credits or when the YouTube endcards appear. Not for conclusions with information."
},
"category_interaction": {
"message": "Interaction Reminder (Subscribe)"
},
"category_interaction_description": {
"message": "When there is a short reminder to like, subscribe or follow them in the middle of content. If it is long or about something specific, it should be under self promotion instead."
},
"category_interaction_short": {
"message": "Interaction Reminder"
},
"category_selfpromo": {
"message": "Unpaid/Self Promotion"
},
"category_selfpromo_description": {
"message": "Similar to \"sponsor\" except for unpaid or self promotion. This includes sections about merchandise, donations, or information about who they collaborated with."
},
"category_music_offtopic": {
"message": "Music: Non-Music Section"
},
"category_music_offtopic_description": {
"message": "Only for use in music videos. This includes introductions or outros in music videos."
},
"category_music_offtopic_short": {
"message": "Non-Music"
},
"category_livestream_messages": {
"message": "Livestream: Donation/Message Readings"
},
"category_livestream_messages_short": {
"message": "Message Reading"
},
"disable": {
"message": "Disable"
},
"manualSkip": {
"message": "Manual Skip"
},
"showOverlay": {
"message": "Show In Seek Bar"
},
"colorFormatIncorrect": {
"message": "Your color is formatted incorrectly. It should be a 3 or 6 digit hex code with a number sign at the beginning."
},
"previewColor": {
"message": "Preview Color",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Seek Bar Color"
},
"category": {
"message": "Category"
},
"skipOption": {
"message": "Skip Option",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Enable Beta Testing Server"
},
"whatEnableTestingServer": {
"message": "Your submissions and votes WILL NOT COUNT towards the main server. Only use this for testing."
},
"testingServerWarning": {
"message": "All submissions and votes WILL NOT COUNT towards the main server while connecting to the test server. Make sure to disable this when you want to make real submissions."
},
"bracketNow": {
"message": "(Now)"
},
"moreCategories": {
"message": "More Categories"
},
"chooseACategory": {
"message": "Choose a Category"
},
"youMustSelectACategory": {
"message": "You must select a category for all segments you are submitting!"
},
"bracketEnd": {
"message": "(End)"
},
"hiddenDueToDownvote": {
"message": "hidden: downvote"
},
"hiddenDueToDuration": {
"message": "hidden: too short"
},
"channelDataNotFound": {
"message": "Channel ID not loaded yet."
},
"adblockerIssue": {
"message": "It seems that something is blocking SponsorBlock's ability to get video data. This is probably your ad blocker. Please check https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "If this keeps occuring, it could be caused by your ad blocker. Please check https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"forceChannelCheck": {
"message": "Force Channel Check Before Skipping"
},
"whatForceChannelCheck": {
"message": "By default, it will skip segments right away before it even knows what the channel is. By default, some segments at the start of the video might be skipped on whitelisted channels. Enabling this option will prevent this but making all skipping have a slight delay as getting the channelID can take some time. This delay might be unnoticeable if you have fast internet."
},
"forceChannelCheckPopup": {
"message": "Consider Enabling \"Force Channel Check Before Skipping\""
},
"downvoteDescription": {
"message": "Incorrect/Wrong Timing"
},
"incorrectCategory": {
"message": "Wrong Category"
},
"nonMusicCategoryOnMusic": {
"message": "This video is categorized as music. Are you sure you this has a sponsor? If this is actually a \"Non-Music segment\", open up the extension options and enable this category. Then, you can submit this segment as \"Non-Music\" instead of sponsor. Please read the guidelines if you are confused."
},
"multipleSegments": {
"message": "Multiple Segments"
},
"guidelines": {
"message": "Guidelines"
},
"readTheGuidelines": {
"message": "Read The Guidelines!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Categories are here!"
},
"categoryUpdate2": {
"message": "Open the options to skip intros, outros, merch, etc."
},
"unsubmittedWarning": {
"message": "Unsubmitted Segments Notification"
},
"unsubmittedWarningDescription": {
"message": "Send a notification when you leave a video with segments that are not uploaded"
}
}

View File

@@ -0,0 +1,475 @@
{
"fullName": {
"message": "SponsorBlock para YouTube - Omitir Sponsors",
"description": "Name of the extension."
},
"Description": {
"message": "Salte todos los patrocinios, súplicas por suscripción y más en los videos de YouTube. Reporta secciones de patrocinio en los videos que veas para ahorrarle tiempo a los demás.",
"description": "Description of the extension."
},
"400": {
"message": "Servidor dijo que esta solicitud no es valida"
},
"429": {
"message": "Has enviado demasiados tiempos de sponsor en este video, ¿estas seguro de que hay tantos?"
},
"409": {
"message": "Esto ya ha sido enviado antes"
},
"channelWhitelisted": {
"message": "Canal Permitido!"
},
"Segment": {
"message": "segmento"
},
"Segments": {
"message": "segmentos"
},
"upvoteButtonInfo": {
"message": "Votar a favor de esta sumisión"
},
"reportButtonTitle": {
"message": "Denunciar"
},
"reportButtonInfo": {
"message": "Denunciar esta sumisión como incorrecta."
},
"Dismiss": {
"message": "Descartar"
},
"Loading": {
"message": "Cargando..."
},
"Mins": {
"message": "Minutos"
},
"Secs": {
"message": "Segundos"
},
"Hide": {
"message": "Nunca Mostrar"
},
"hitGoBack": {
"message": "Haz clic en no omitir para volver a donde estabas."
},
"unskip": {
"message": "No omitir"
},
"reskip": {
"message": "Volver a saltar"
},
"paused": {
"message": "Pausado"
},
"manualPaused": {
"message": "Temporizador Detenido"
},
"confirmMSG": {
"message": "Para editar o eliminar valores individuales, haz clic en el botón de información o abre la ventana de extensión haciendo clic en el icono de extensión en la esquina superior derecha."
},
"clearThis": {
"message": "¿Estas seguro de que quieres eliminar esto?\n\n"
},
"Unknown": {
"message": "Se ha producido un error enviando tus tiempos de sponsor, por favor inténtalo de nuevo más tarde."
},
"sponsorFound": {
"message": "¡Este video tiene segmentos en la base de datos!"
},
"sponsor404": {
"message": "No se han encontrado segmentos"
},
"sponsorStart": {
"message": "El segmento comienza ahora"
},
"sponsorEnd": {
"message": "El segmento termina ahora"
},
"noVideoID": {
"message": "Ningún video de YouTube se encontró en esta pestaña. Si sabes que esto es una pestaña de YouTube, cierra esta ventana y ábrela otra vez. Si eso no funciona, intenta recargar la pestaña."
},
"success": {
"message": "¡Completado!"
},
"voted": {
"message": "¡Votado!"
},
"serverDown": {
"message": "Parece que el servidor está desconectado. Póngase en contacto con el desarrollador inmediatamente."
},
"connectionError": {
"message": "Ha ocurrido un error de conexión. Código de error: "
},
"wantToSubmit": {
"message": "¿Quiere enviar segmento para el video con ID"
},
"leftTimes": {
"message": "Parece que has dejado algunos segmentos sin enviar. Vuelva a esa página para enviarlos (no se han borrado)."
},
"clearTimes": {
"message": "Borrar Segmentos"
},
"openPopup": {
"message": "Abrir Ventana de SponsorBlock"
},
"SubmitTimes": {
"message": "Enviar Segmentos"
},
"submitCheck": {
"message": "¿Estás seguro de que quieres enviar esto?"
},
"whitelistChannel": {
"message": "Permitir Canal"
},
"removeFromWhitelist": {
"message": "Parar De Permitir Canal"
},
"voteOnTime": {
"message": "Vote En Un Segmento"
},
"soFarUHSubmited": {
"message": "Hasta ahora, has enviado"
},
"savedPeopleFrom": {
"message": "Has salvado personas de "
},
"viewLeaderboard": {
"message": "Ver la tabla de clasificación"
},
"here": {
"message": "aquí"
},
"recordTimesDescription": {
"message": "Haga clic en el botón de abajo cuando el segmento comience y termine para grabarlo y enviarlo a la base de datos."
},
"popupHint": {
"message": "Pista: Presione la tecla de punto y coma mientras está enfocado en un video para indicar el comienzo/final de un segmento y citación para enviarlo. (Esto puede cambiarse en opciones)"
},
"clearTimesButton": {
"message": "Eliminar Tiempos"
},
"submitTimesButton": {
"message": "Enviar Tiempos"
},
"publicStats": {
"message": "Esto se utiliza en la página de estadísticas públicas para mostrar cuánto has contribuido. Véala"
},
"setUsername": {
"message": "Escoger Nombre De Usuario"
},
"discordAdvert": {
"message": "¡Únete al servidor oficial de discord para darnos sugerencias y comentarios!"
},
"hideThis": {
"message": "No mostrar esto"
},
"Options": {
"message": "Opciones"
},
"showButtons": {
"message": "Mostrar botones en el reproductor de YouTube"
},
"hideButtons": {
"message": "Ocultar botones en el reproductor de YouTube"
},
"hideButtonsDescription": {
"message": "Esto oculta los botones que aparecen en el reproductor de YouTube que se usan para enviar segmentos saltados."
},
"showInfoButton": {
"message": "Mostrar botón de información en el reproductor de YouTube"
},
"hideInfoButton": {
"message": "Ocultar botón de información en el reproductor de YouTube"
},
"whatInfoButton": {
"message": "Este es el botón que abre una ventana en la página de YouTube."
},
"hideDeleteButton": {
"message": "Ocultar botón de eliminar en el reproductor de YouTube"
},
"showDeleteButton": {
"message": "Mostrar botón de eliminar en el reproductor de YouTube"
},
"whatDeleteButton": {
"message": "Este es el botón en el reproductor de YouTube que eliminará todos tus segmentos no enviados para el vídeo actual."
},
"enableViewTracking": {
"message": "Habilitar el conteo de omisiones"
},
"whatViewTracking": {
"message": "Esta función rastrea los segmentos que se han saltado para que los usuarios sepan en qué medida sus aportes ayudaron a los demás y se utilizan como una métrica junto con los votos favorables para garantizar que no aparezca spam en la base de datos. La extensión envía un mensaje al servidor cada vez que se salta un segmento. Esperemos que la mayoría de la gente no cambie esta configuración para que los números de vista sean exactos. :)"
},
"showNotice": {
"message": "Mostrar aviso de nuevo"
},
"longDescription": {
"message": "SponsorBlock te permite saltarte los patrocinadores, intros, outros, recordatorios de suscripción y otras partes molestas de los videos de YouTube. SponsorBlock es una extensión de navegador de código abierto que permite a cualquiera enviar el tiempo de inicio y fin de los segmentos de patrocinadores y otros segmentos de los videos de YouTube. Una vez que una persona envía esta información, todos los que tengan esta extensión podrán saltearse ese segmento. También es posible saltar las secciones no musicales de los videos musicales.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Sitio Web",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Código Fuente",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "¡El aviso ha sido actualizado!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Si aún no te gusta, pulsa el botón de nunca mostrar.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Establecer tecla para iniciar segmento"
},
"setSubmitKeybind": {
"message": "Establecer botón de envio"
},
"keybindDescription": {
"message": "Seleccione un botón escribiéndolo"
},
"keybindDescriptionComplete": {
"message": "El botón se ha establecido a: "
},
"0": {
"message": "Tiempo de espera agotado. Compruebe su conexión a Internet. Si su internet está funcionando, el servidor probablemente esta sobrecargado o desconectado."
},
"disableSkipping": {
"message": "Desactivar SponsorBlock"
},
"enableSkipping": {
"message": "Activar SponsorBlock"
},
"yourWork": {
"message": "Tu trabajo",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "El servidor parece estar sobrecargado. Inténtalo de nuevo en unos segundos."
},
"errorCode": {
"message": "Código de error: "
},
"skip": {
"message": "Omitir"
},
"skipped": {
"message": "Omitido"
},
"disableAutoSkip": {
"message": "Desactivar la omisión automática"
},
"enableAutoSkip": {
"message": "Activar la omisión automática"
},
"audioNotification": {
"message": "Notificación de audio al omitir"
},
"audioNotificationDescription": {
"message": "Si se salta un segmento, se oirá un sonido de notificación de audio. Si se desactiva (o si se desactiva la función de omisión automática), no se reproducirá ningún sonido."
},
"showTimeWithSkips": {
"message": "Mostrar la duración del video con las secciones omitidas"
},
"showTimeWithSkipsDescription": {
"message": "Esta duración aparece entre paréntesis junto al tiempo actual del video, debajo de la barra de navegación. Esta muestra la duración total del vídeo menos cualquier segmento eliminado. Esto incluye los segmentos marcados como solo \"Mostrar en la barra de navegación\"."
},
"youHaveSkipped": {
"message": "Has omitido "
},
"youHaveSaved": {
"message": "Te has ahorrado "
},
"minLower": {
"message": "minuto"
},
"minsLower": {
"message": "minutos"
},
"hourLower": {
"message": "hora"
},
"hoursLower": {
"message": "horas"
},
"youHaveSavedTime": {
"message": "Has ahorrado a otras personas"
},
"youHaveSavedTimeEnd": {
"message": " de sus vidas."
},
"statusReminder": {
"message": "Comprueba status.sponsor.ajay.app para ver el estado del servidor."
},
"changeUserID": {
"message": "Importar/Exportar tu UserID"
},
"whatChangeUserID": {
"message": "Esto debería mantenerse privado. Es como una contraseña y no debe ser compartido con nadie. Si alguien tiene esto, pueden imitarte."
},
"setUserID": {
"message": "Establecer la ID de usuario"
},
"userIDChangeWarning": {
"message": "Advertencia: El cambio de la ID de usuario es irreversible. ¿Está seguro de que le desea hacerlo? Asegúrese de hacer una copia de respaldo de la anterior por si acaso."
},
"createdBy": {
"message": "Creado Por"
},
"autoSkip": {
"message": "Omitir automáticamente"
},
"showSkipNotice": {
"message": "Mostrar aviso después de que se omita un segmento"
},
"keybindCurrentlySet": {
"message": ". Actualmente está configurado para:"
},
"supportInvidious": {
"message": "Apoya a Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) es un cliente de YouTube independiente. Para habilitar su soporte, debes aceptar los permisos extra. Esto NO funcionará en modo incógnito de Chrome y otras variantes del Chromium."
},
"optionsInfo": {
"message": "Activar el soporte para Invidious, desactivar la omisión automática, oculta botones y más."
},
"addInvidiousInstance": {
"message": "Agregar una Instancia de Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Añade una instancia personalizada de Invidious. Este debe formatearse SÓLO con el dominio. Ejemplo: invidious.ajay.app"
},
"add": {
"message": "Agregar"
},
"addInvidiousInstanceError": {
"message": "Este es un dominio inválido. SÓLO debería incluir la parte del dominio. Ejemplo: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Restablecer la lista de instancias de Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Está a punto de reiniciar la lista de instancias del Invidious"
},
"currentInstances": {
"message": "Instancias actuales:"
},
"minDuration": {
"message": "Duración mínima (segundos):"
},
"minDurationDescription": {
"message": "Los segmentos más cortos que el valor configurado no se omitirán ni se mostrarán en el reproductor."
},
"shortCheck": {
"message": "La siguiente sumisión es más corto que su opción de duración mínima. Esto podría significar que esto ya se ha enviado y que simplemente se ha ignorado debido a esta opción. ¿Está seguro de que desea enviar?"
},
"showUploadButton": {
"message": "Mostrar botón de subida"
},
"whatUploadButton": {
"message": "Este botón aparece en el reproductor de YouTube después de que has seleccionado una marca de tiempo y estas listo para enviar."
},
"customServerAddress": {
"message": "Dirección del servidor SponsorBlock"
},
"customServerAddressDescription": {
"message": "La dirección que SponsorBlock utiliza para hacer llamadas al servidor.\nA menos que tengas tu propia instancia del servidor, no debería cambiarse."
},
"save": {
"message": "Guardar"
},
"reset": {
"message": "Restablecer"
},
"customAddressError": {
"message": "La dirección no tiene el formato adecuado. Asegúrese de que tenga http:// o https:// al principio y que no haya barras al final."
},
"mobileUpdateInfo": {
"message": "m.youtube.com ahora es compatible"
},
"exportOptions": {
"message": "Importar/Exportar todas las opciones"
},
"setOptions": {
"message": "Configurar opciones"
},
"confirmNoticeTitle": {
"message": "Enviar segmento"
},
"submit": {
"message": "Enviar"
},
"cancel": {
"message": "Cancelar"
},
"delete": {
"message": "Eliminar"
},
"preview": {
"message": "Vista Previa"
},
"edit": {
"message": "Editar"
},
"copyDebugInformation": {
"message": "Copiar información de depuración al portapapeles"
},
"copyDebugInformationFailed": {
"message": "Error al escribir al portapapeles"
},
"theKey": {
"message": "El botón"
},
"keyAlreadyUsed": {
"message": "está enlazado a otra acción. Por favor, seleccione otro botón."
},
"category_sponsor": {
"message": "Sponsor"
},
"category_outro": {
"message": "Tarjetas/Créditos"
},
"category_interaction": {
"message": "Recordatorio de interacción (subscribir)"
},
"category_music_offtopic": {
"message": "Música: Sección sin musica"
},
"category_livestream_messages": {
"message": "Directo: Lecturas de donaciones y mensajes"
},
"disable": {
"message": "Desactivar"
},
"manualSkip": {
"message": "Omisión manual"
},
"enableTestingServer": {
"message": "Habilitar Servidor de Pruebas Beta"
},
"bracketNow": {
"message": "(Ahora)"
},
"moreCategories": {
"message": "Más categorías"
},
"bracketEnd": {
"message": "(Final)"
},
"channelDataNotFound": {
"message": "ID de canal no cargado todavía."
},
"downvoteDescription": {
"message": "Tiempo incorrecto/equivocado"
},
"incorrectCategory": {
"message": "Categoría Incorrecta"
},
"multipleSegments": {
"message": "Múltiples segmentos"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,331 @@
{
"fullName": {
"message": "SponsorBlock YouTubelle - Ohita sponsoroinnit",
"description": "Name of the extension."
},
"400": {
"message": "Palvelin sanoi tämän pyynnön olevan virheellinen"
},
"429": {
"message": "Olet lähettänyt liian monta sponsorointiaikaa tälle yhdelle videolle. Oletko varma, että niitä on useita?"
},
"409": {
"message": "Tämä on jo lähetetty aiemmin"
},
"channelWhitelisted": {
"message": "Kanava lisätty valkoiselle listalle!"
},
"upvoteButtonInfo": {
"message": "Äänestä tätä lähetystä"
},
"reportButtonTitle": {
"message": "Ilmoita"
},
"reportButtonInfo": {
"message": "Ilmoita tämän lähetyksen olevan virheellinen."
},
"Dismiss": {
"message": "Hylkää"
},
"Loading": {
"message": "Ladataan..."
},
"Mins": {
"message": "Minuuttia"
},
"Secs": {
"message": "Sekuntia"
},
"Hide": {
"message": "Älä näytä koskaan"
},
"hitGoBack": {
"message": "Paina 'älä ohita' mennäksesi takaisin kohtaan jossa olit."
},
"unskip": {
"message": "Älä ohita"
},
"reskip": {
"message": "Ohita uudelleen"
},
"paused": {
"message": "Pysäytetty"
},
"manualPaused": {
"message": "Ajastin pysäytetty"
},
"clearThis": {
"message": "Haluatko varmasti poistaa tämän?\n\n"
},
"Unknown": {
"message": "Sponsorointiaikoja lähetettäessä tapahtui virhe, yritä myöhemmin uudelleen."
},
"noVideoID": {
"message": "Välilehdeltä ei löytynyt YouTube-videota. Jos olet varma, että tämä on YouTube-välilehti, sulje tämä ponnahdusikkuna ja avaa se uudelleen. Jos sekään ei toimi, yritä ladata välilehti uudelleen."
},
"success": {
"message": "Onnistui!"
},
"voted": {
"message": "Äänestetty!"
},
"serverDown": {
"message": "Palvelin näyttää olevan alhaalla. Ota heti yhteyttä kehittäjään."
},
"connectionError": {
"message": "Yhteysvirhe on tapahtunut. Virhekoodi: "
},
"openPopup": {
"message": "Avaa SponsorBlock-ponnahdusikkuna"
},
"submitCheck": {
"message": "Haluatko varmasti lähettää tämän?"
},
"whitelistChannel": {
"message": "Lisää kanava valkoiselle listalle"
},
"removeFromWhitelist": {
"message": "Poista kanava valkoiselta listalta"
},
"soFarUHSubmited": {
"message": "Tähän mennessä, olet lähettänyt"
},
"savedPeopleFrom": {
"message": "Olet säästänyt ihmisiltä "
},
"viewLeaderboard": {
"message": "Näytä tulostaulukko"
},
"here": {
"message": "tässä"
},
"clearTimesButton": {
"message": "Tyhjennä ajat"
},
"submitTimesButton": {
"message": "Lähetä ajat"
},
"setUsername": {
"message": "Aseta käyttäjänimi"
},
"hideThis": {
"message": "Piilota tämä"
},
"Options": {
"message": "Asetukset"
},
"showButtons": {
"message": "Näytä painikkeet YouTuben soittimessa"
},
"hideButtons": {
"message": "Piilota painikkeet YouTuben soittimessa"
},
"hideButtonsDescription": {
"message": "Tämä piilottaa YouTuben soittimessa näkyvät, ohitettavien aikojen lähettämiseen käytetyt painikkeet."
},
"showInfoButton": {
"message": "Näytä info-painike YouTuben soittimessa"
},
"hideInfoButton": {
"message": "Piilota info-painike YouTuben soittimessa"
},
"whatInfoButton": {
"message": "Tämä on painike, joka avaa ponnahdusikkunan YouTube-sivulla."
},
"hideDeleteButton": {
"message": "Piilota poista-painike YouTuben soittimessa"
},
"showDeleteButton": {
"message": "Näytä poista-painike YouTuben soittimessa"
},
"whatDeleteButton": {
"message": "Tämä on YouTuben soittimen painike, joka poistaa kaikki kyseisen videon sponsorointikohdat, joita et ole vielä lähettänyt."
},
"website": {
"message": "Sivusto",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Lähdekoodi",
"description": "Used on Firefox Store Page"
},
"keybindDescription": {
"message": "Valitse näppäin painamalla sitä"
},
"disableSkipping": {
"message": "Poista Sponsorblock käytöstä"
},
"enableSkipping": {
"message": "Ota SponsorBlock käyttöön"
},
"yourWork": {
"message": "Sinun työsi",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"errorCode": {
"message": "Virhekoodi: "
},
"skip": {
"message": "Ohita"
},
"skipped": {
"message": "Ohitettu"
},
"disableAutoSkip": {
"message": "Poista automaattinen ohitus käytöstä"
},
"enableAutoSkip": {
"message": "Ota automaattinen ohitus käyttöön"
},
"youHaveSkipped": {
"message": "Olet ohittanut "
},
"youHaveSaved": {
"message": "Olet säästänyt itseltäsi "
},
"minLower": {
"message": "minuutti"
},
"minsLower": {
"message": "minuuttia"
},
"hourLower": {
"message": "tunti"
},
"hoursLower": {
"message": "tuntia"
},
"youHaveSavedTime": {
"message": "Olet säästänyt ihmisiltä"
},
"youHaveSavedTimeEnd": {
"message": " heidän elämästään."
},
"changeUserID": {
"message": "Tuo/vie sinun UserID:si"
},
"setUserID": {
"message": "Aseta UserID"
},
"supportInvidious": {
"message": "Tue Invidious:ta"
},
"addInvidiousInstance": {
"message": "Lisää Invidious-instanssi"
},
"add": {
"message": "Lisää"
},
"resetInvidiousInstance": {
"message": "Nollaa Invidious-instanssien lista"
},
"resetInvidiousInstanceAlert": {
"message": "Olet nollaamassa Invidious-instanssien listan"
},
"currentInstances": {
"message": "Nykyiset instanssit:"
},
"minDuration": {
"message": "Vähimmäiskesto (sekuntia):"
},
"showUploadButton": {
"message": "Näytä lähetä-painike"
},
"save": {
"message": "Tallenna"
},
"reset": {
"message": "Nollaa"
},
"mobileUpdateInfo": {
"message": "m.youtube.com-osoitetta tuetaan nyt"
},
"exportOptions": {
"message": "Vie/tuo kaikki asetukset"
},
"setOptions": {
"message": "Käytä asetuksia"
},
"confirmNoticeTitle": {
"message": "Lähetä kohta"
},
"submit": {
"message": "Jatka"
},
"cancel": {
"message": "Peruuta"
},
"delete": {
"message": "Poista"
},
"preview": {
"message": "Esikatsele"
},
"edit": {
"message": "Muokkaa"
},
"copyDebugInformationFailed": {
"message": "Kirjoittaminen leikepöydälle epäonnistui"
},
"theKey": {
"message": "Näppäin"
},
"keyAlreadyUsed": {
"message": "on jo liitetty toiseen toimintoon. Valitse toinen näppäin."
},
"to": {
"message": "-",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsori"
},
"category_outro": {
"message": "Loppukortit/-tekstit"
},
"category_interaction": {
"message": "Vuorovaikutusmuistutus (tilaaminen)"
},
"category_music_offtopic": {
"message": "Musiikki: muussa kuin Musiikki-osiossa"
},
"category_livestream_messages": {
"message": "Livestream: lahjoituksen/viestin lukeminen"
},
"disable": {
"message": "Poista käytöstä"
},
"manualSkip": {
"message": "Manuaalinen ohitus"
},
"enableTestingServer": {
"message": "Ota betatestauspalvelin käyttöön"
},
"bracketNow": {
"message": "(Nyt)"
},
"moreCategories": {
"message": "Lisää kategorioita"
},
"bracketEnd": {
"message": "(Päättyy)"
},
"hiddenDueToDownvote": {
"message": "piilotettu: miinusääniä"
},
"hiddenDueToDuration": {
"message": "piilotettu: liian lyhyt"
},
"channelDataNotFound": {
"message": "Kanavatunnusta ei ole vielä ladattu."
},
"downvoteDescription": {
"message": "Virheellinen/väärä aika"
},
"incorrectCategory": {
"message": "Väärä kategoria"
},
"multipleSegments": {
"message": "Useita kohtia"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,20 +1,12 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Name of the extension."
},
"fullName": {
"message": "SponsorBlock pour YouTube - Supprime les messages commerciaux et publicités intégrées",
"description": "Name of the extension."
},
"Description": {
"message": "Passe automatiquement les messages commerciaux intégrés dans les vidéos YouTube. Soumettez les segments commerciaux dans les vidéos que vous regardez pour aidez les autres.",
"message": "Ignorez les sponsors, les rappels d'interaction et plus encore sur les vidéos YouTube. Signalez les sponsors sur les vidéos que vous regardez pour sauver le temps des autres.",
"description": "Description of the extension."
},
"helpPage": {
"message": "index_en.html"
},
"400": {
"message": "Soumission invalide"
},
@@ -25,34 +17,28 @@
"message": "Déja soumis"
},
"channelWhitelisted": {
"message": "Cette chaîne est sur la liste blanche !"
},
"Sponsor": {
"message": "message commercial"
},
"Sponsors": {
"message": "messages commerciaux"
"message": "Chaîne mise sur liste blanche !"
},
"Segment": {
"message": "segment commercial"
"message": "segment"
},
"Segments": {
"message": "segments commerciaux"
"message": "segments"
},
"noticeTitle": {
"message": "Message commercial passé"
"upvoteButtonInfo": {
"message": "Voter pour cette entrée"
},
"reportButtonTitle": {
"message": "Incorrect"
"message": "Signaler"
},
"reportButtonInfo": {
"message": "Signaler que ce segment commercial est incorrect ou n'existe pas."
"message": "Signaler que ce segment commercial est incorrect."
},
"Dismiss": {
"message": "Fermer"
},
"Loading": {
"message": "Chargement en cours..."
"message": "Chargement..."
},
"Mins": {
"message": "Minutes"
@@ -64,7 +50,7 @@
"message": "Ne plus montrer"
},
"hitGoBack": {
"message": "Cliquez sur revenir en arrière pour revenir avant le saut du segment commercial"
"message": "Cliquez sur revenir en arrière pour revenir avant le saut du segment commercial."
},
"unskip": {
"message": "Revenir en arrière"
@@ -75,26 +61,29 @@
"paused": {
"message": "En pause"
},
"manualPaused": {
"message": "Timer arrêté"
},
"confirmMSG": {
"message": "\n\nPour modifier ou supprimer des soumissions, cliquez sur le bouton d'info ou ouvrez la fenêtre de l'extension en cliquant sur son icône dans le coin en haut à droite."
"message": "Pour modifier ou supprimer des soumissions, cliquez sur le bouton d'info ou ouvrez la fenêtre de l'extension en cliquant sur son icône dans le coin en haut à droite."
},
"clearThis": {
"message": "Êtes-vous certain(e) de vouloir supprimer vos soumissions ?\n\n"
},
"Unknown": {
"message": "Une erreur s'est produite lors de la soumission, veuillez ré-essayer plus tard."
"message": "Une erreur s'est produite lors de la soumission, veuillez réessayer plus tard."
},
"sponsorFound": {
"message": "Les messages commerciaux sont déjà dans notre base de donnée pour cette vidéo !"
"message": "Cette vidéo a des segments dans la base de données!"
},
"sponsor404": {
"message": "Pas de messages commerciaux trouvés"
"message": "Aucun segment trouvé"
},
"sponsorStart": {
"message": "Début du message commercial"
"message": "Début du segement"
},
"sponsorEnd": {
"message": "Fin du message commercial"
"message": "Fin du segment"
},
"noVideoID": {
"message": "Ceci n'est pas un onglet YouTube, ou vous avez cliqué trop tôt. \n Si vous êtes sûr(e) que c'est un onglet YouTube, fermez cette fenêtre et réessayez."
@@ -105,30 +94,18 @@
"voted": {
"message": "A voté !"
},
"voteFail": {
"message": "Vous avez déjà voté pour ce choix."
},
"serverDown": {
"message": "Le serveur ne fonctionne pas. Contactez le développeur."
},
"connectionError": {
"message": "Erreur de connexion. Code d'erreur : "
},
"wantToSubmit": {
"message": "Voulez-vous soumettre les segments commerciaux pour cette vidéo"
},
"leftTimes": {
"message": "Vous avez laissé des segments commerciaux non soumis. Retournez sur la vidéo pour les soumettre (ils ont été conservés)."
},
"clearTimes": {
"message": "Supprimer les segments commerciaux"
"message": "Vous semblez avoir laissé certains segments non soumis. Retournez à cette page pour les soumettre (ils ne sont pas supprimés)."
},
"openPopup": {
"message": "Ouvrir l'encart SponsorBlock"
},
"SubmitTimes": {
"message": "Soumettre les segments commerciaux"
},
"submitCheck": {
"message": "Êtes-vous sûr de vouloir soumettre ces segments?"
},
@@ -138,20 +115,14 @@
"removeFromWhitelist": {
"message": "Supprimer la chaîne de la liste blanche"
},
"whitelistDescription": {
"message": "Ajouter à la liste blanche les chaînes qui publient des messages commerciaux de façon éthique pour encourager les bons comportements, ou qui publient des messages commerciaux divertissants ou drôles. Ou pas, c'est votre choix."
},
"voteOnTime": {
"message": "Voter sur un segment commercial"
},
"recordTimes": {
"message": "Enregistrer un segment commercial"
"message": "Voter pour un segment"
},
"soFarUHSubmited": {
"message": "Vous avez soumis jusqu'à présent"
},
"savedPeopleFrom": {
"message": "Vous avez fait gagner aux autres "
"message": "Vous avez permis aux autres de passer "
},
"viewLeaderboard": {
"message": "Consulter le classement"
@@ -159,15 +130,6 @@
"here": {
"message": "ici"
},
"recordTimesDescription": {
"message": "Cliquez sur le bouton ci-dessous quand le segment commercial commence puis \nse termine pour l'enregistrer et le soumettre à la base de données."
},
"popupHint": {
"message": "Astuce : utilisez la touche point-virgule lorsque la vidéo est sélectionnée pour enregistrer le début et la fin d'un segment commercial; utilisez la touche guillemet pour le soumettre. (Les touches peuvent être modifiées dans les options)"
},
"lastTimes": {
"message": "Derniers temps choisis pour le segment commercial"
},
"clearTimesButton": {
"message": "Supprimer les temps"
},
@@ -175,10 +137,10 @@
"message": "Soumettre les temps"
},
"publicStats": {
"message": "Affiché sur le classement public pour montrer vos contributions. Voir sur"
"message": "Votre pseudo est inscrit dans le classement public pour afficher vos contributions. Le consulter"
},
"setUsername": {
"message": "Choisir pseudo"
"message": "Choisir un pseudonyme"
},
"discordAdvert": {
"message": "Rejoignez le serveur Discord officiel pour toutes suggestions ou remarques!"
@@ -187,7 +149,7 @@
"message": "Cacher"
},
"Options": {
"message": "Options"
"message": "Paramètres"
},
"showButtons": {
"message": "Montrer les boutons sur le lecteur YouTube"
@@ -216,22 +178,9 @@
"whatDeleteButton": {
"message": "Il s'agit du bouton qui permet de supprimer tous les segments commerciaux depuis le lecteur YouTube."
},
"disableViewTracking": {
"message": "Désactiver le suivi des vues de segments commerciaux"
},
"enableViewTracking": {
"message": "Activer le suivi des vues de segments commerciaux"
},
"whatViewTracking": {
"message": "Cette fonctionnalité suit quels segments commerciaux vous avez sautés afin de calculer le bénéfice des soumissions des \nautres utilisateurs. Elle est également utilisée comme métrique, avec les haut-votes, afin de s'assurer que les spams \nsont ignorés. L'extension envoie un message au serveur à chauqe fois qu'un segment commercial est sauté. Avec un peu de chance, peu de personnes désactiveront cette fonctionnalité afin d'obtenir des nombres de vues exacts. :)"
},
"showNotice": {
"message": "Afficher la notification"
},
"longDescription": {
"message": "SponsorBlock est une extension qui permet de passer les messages commerciaux des vidéos YouTube. SponsorBlock est une extension pour navigateur basée sur le crowdsourcing permettant à n'importe qui de soumettre le début et la fin des segments commerciaux sur les vidéos YouTube. Dès qu'une personne a soumis ces informations, les autres utilisateurs de l'extension en bénéficieront et verront les messages commerciaux automatiquement sautés.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Site web",
"description": "Used on Firefox Store Page"
@@ -245,12 +194,9 @@
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Si elle ne vous plaît pas, cliquez sur le bouton \"Ne plus montrer\"",
"message": "Si elle ne vous plaît pas, cliquez sur le bouton \"Ne plus montrer\".",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Changer le raccourci pour enregistrer un segment"
},
"setSubmitKeybind": {
"message": "Changer le raccourci pour soumettre les segments"
},
@@ -259,5 +205,367 @@
},
"keybindDescriptionComplete": {
"message": "Le raccourci choisi est : "
},
"0": {
"message": "Délai de connexion dépassé. Vérifiez votre connexion internet. Si votre connexion internet fonctionne, le serveur est probablement surchargé ou hors service."
},
"disableSkipping": {
"message": "Désactiver SponsorBlock"
},
"enableSkipping": {
"message": "Activer SponsorBlock"
},
"yourWork": {
"message": "Votre travail",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Le serveur semble être surchargé. Réessayez dans quelques secondes."
},
"errorCode": {
"message": "Code d'erreur : "
},
"skip": {
"message": "Passer"
},
"skipped": {
"message": "Passé"
},
"disableAutoSkip": {
"message": "Désactiver le passage automatique"
},
"enableAutoSkip": {
"message": "Activer le passage automatique"
},
"audioNotification": {
"message": "Notification audio lors du passage"
},
"showTimeWithSkips": {
"message": "Afficher le temps avec les passages supprimés"
},
"showTimeWithSkipsDescription": {
"message": "Ce temps apparaît entre crochets à côté du temps actuel sous la barre de défilement. Cela indique la durée totale de la vidéo après déduction de tout les segments. Ceci comprend les segments marqués comme étant uniquement à \"Afficher dans la barre de recherche\"."
},
"youHaveSkipped": {
"message": "Vous avez passé "
},
"youHaveSaved": {
"message": "Vous vous êtes économisé "
},
"minLower": {
"message": "minute"
},
"minsLower": {
"message": "minutes"
},
"hourLower": {
"message": "heure"
},
"hoursLower": {
"message": "heures"
},
"youHaveSavedTime": {
"message": "Vous avez économisé"
},
"youHaveSavedTimeEnd": {
"message": " aux autres."
},
"statusReminder": {
"message": "Vérifiez status.sponsor.ajay.app pour le status du serveur."
},
"changeUserID": {
"message": "Importer/Exporter Votre ID d'Utilisateur"
},
"whatChangeUserID": {
"message": "Gardez ça privé. C'est comme un mot de passe et ne devrait pas être partagé avec quiconque. Si quelqu'un l'obtiens, il peut vous usurper."
},
"setUserID": {
"message": "Définir \"UserID\""
},
"userIDChangeWarning": {
"message": "Avertissement : La modification de \"UserID\" est permanente. Êtes-vous sûr de vouloir faire ça ? Assurez-vous de sauvegarder votre ancien au cas où."
},
"createdBy": {
"message": "Créé par"
},
"autoSkip": {
"message": "Passage automatique"
},
"showSkipNotice": {
"message": "Notifier après qu'un segment ait été sauté"
},
"keybindCurrentlySet": {
"message": ". Il est actuellement réglé sur :"
},
"supportInvidious": {
"message": "Supporter Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) est un client tiers pour YouTube. Vous devez accepter des permissions supplémentaires pour activer son support. Cette fonctionnalité ne fonctionne pas en mode incognito sur Chrome et les autres variantes de Chromium."
},
"optionsInfo": {
"message": "Activer Invidious, désactiver le passage automatique, masquer les boutons et plus encore."
},
"addInvidiousInstance": {
"message": "Ajouter une instance Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Ajouter une instance Invidious personnalisée. Doit être formaté avec SEULEMENT le domaine. Exemple: invidious.ajay.app"
},
"add": {
"message": "Ajouter"
},
"addInvidiousInstanceError": {
"message": "Ce domaine n'est pas valide. Il devrait JUSTE inclure le domaine. Exemple: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Réinitialiser la liste d'instances Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Vous êtes sur le point de réinitialiser la liste des instances Invidious"
},
"currentInstances": {
"message": "Instances actuelles:"
},
"minDuration": {
"message": "Durée minimale (en secondes):"
},
"shortCheck": {
"message": "Le segment suivant est plus court que votre option de durée minimale. Cela pourrait signifier qu'il est déjà soumis, et just ignoré par cette option. Êtes-vous sûr de vouloir soumettre ?"
},
"showUploadButton": {
"message": "Afficher le bouton de téléchargement"
},
"whatUploadButton": {
"message": "Ce bouton apparaît sur le lecteur YouTube dès qu'un segment est prêt à être envoyé."
},
"customServerAddress": {
"message": "Adresse du serveur SponsorBlock"
},
"customServerAddressDescription": {
"message": "L'adresse que SponsorBlock utilise pour faire des appels au serveur.\nSauf si vous avez votre propre instance de serveur, cela ne devrait pas être changé."
},
"save": {
"message": "Sauvegarder"
},
"reset": {
"message": "Réinitialiser"
},
"customAddressError": {
"message": "Le format de l'adresse est incorrect. Assurez-vous qu'elle commence bien par http:// ou https:// et ne termine pas par un slash."
},
"areYouSureReset": {
"message": "Voulez-vous vraiment remettre à zéro ?"
},
"unlistedCheck": {
"message": "Ignorer les vidéos non listées"
},
"mobileUpdateInfo": {
"message": "m.youtube.com est maintenant pris en charge"
},
"exportOptions": {
"message": "Importer/Exporter toutes les options"
},
"whatExportOptions": {
"message": "C'est votre configuration complète au format JSON. Elle inclut votre identifiant utilisateur, gardez-la pour vous."
},
"setOptions": {
"message": "Définir les options"
},
"exportOptionsWarning": {
"message": "Attention : La modification des options est permanente et peut casser votre installation. Êtes-vous sûr de vouloir faire ça ? Sauvegardez les anciennes au cas où."
},
"incorrectlyFormattedOptions": {
"message": "Ce JSON n'est pas formaté correctement. Vos options n'ont pas été modifiées."
},
"confirmNoticeTitle": {
"message": "Soumettre le segment"
},
"submit": {
"message": "Soumettre"
},
"cancel": {
"message": "Annuler"
},
"delete": {
"message": "Supprimer"
},
"preview": {
"message": "Aperçu"
},
"edit": {
"message": "Éditer"
},
"copyDebugInformation": {
"message": "Copier les informations de débogage dans le presse-papiers"
},
"copyDebugInformationFailed": {
"message": "Impossible de copier dans le presse-papiers"
},
"copyDebugInformationOptions": {
"message": "Copie les informations dans le presse-papiers pour les fournir aux développeurs lors d'un rapport de bug ou lorsqu'un développeur le demande. Les informations sensibles telles que l'ID d'utilisateur, les chaînes sur liste blanche ou l'adresse du serveur personnalisé ont été supprimées. Cependant, ça contient des informations telles que votre user-agent, votre navigateur, votre système d'exploitation et le numéro de version d'extension. "
},
"copyDebugInformationComplete": {
"message": "Les informations de débogage ont été copiées dans le presse-papiers. N'hésitez pas à supprimer toute information que vous ne préférez pas partager. Enregistrez-les dans un fichier texte ou collez-les dans le rapport de bug."
},
"theKey": {
"message": "La clé"
},
"keyAlreadyUsed": {
"message": "est lié à une autre action. Veuillez sélectionner une autre clé."
},
"to": {
"message": "à",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Message commercial"
},
"category_sponsor_description": {
"message": "Promotion rémunérée, parrainage rémunéré et publicité directe. Pas pour l'autopromotion ou les présentations gratuites de causes, de créateurs, de sites web ou de produits qu'ils aiment."
},
"category_intro": {
"message": "Entracte/Animation d'intro"
},
"category_intro_description": {
"message": "Un intervalle sans contenu réel. Peut être une pause, une image statique, une animation répétitive. Ceci ne doit pas être utilisé pour les transitions contenant des informations ou être utilisé sur les vidéos musicales."
},
"category_intro_short": {
"message": "Entracte"
},
"category_outro": {
"message": "Générique de fin"
},
"category_outro_description": {
"message": "Crédits ou quand les cartes de terminaison YouTube apparaissent. Pas pour les conclusions avec des informations. Cela ne doit pas être utilisé sur les vidéos de musique."
},
"category_interaction": {
"message": "Rappel d'interaction (abonnement)"
},
"category_interaction_description": {
"message": "Lorsqu'il y a un bref rappel pour liker, s'abonner ou les follow parmi le contenu. Si le message est long ou porte sur quelque chose de spécifique, cela devrait plutôt être classé comme une autopromotion."
},
"category_interaction_short": {
"message": "Rappel d'interaction"
},
"category_selfpromo": {
"message": "Non rémunéré/autopromotion"
},
"category_selfpromo_description": {
"message": "Semblable au \"sponsor\", excepté pour la promotion non rémunérée ou l'auto-promotion. Cela inclut les marchandises, les dons et les informations sur leurs collaborateurs."
},
"category_music_offtopic": {
"message": "Musique : Segment non-musicale"
},
"category_music_offtopic_description": {
"message": "A utiliser uniquement dans les vidéos musicales. Cela inclut les introductions ou les fins dans les vidéos."
},
"category_music_offtopic_short": {
"message": "Hors musique"
},
"category_livestream_messages": {
"message": "Stream : lecture de dons et messages"
},
"category_livestream_messages_short": {
"message": "Lecture de messages"
},
"disable": {
"message": "Désactiver"
},
"manualSkip": {
"message": "Passer manuellement"
},
"showOverlay": {
"message": "Afficher dans la barre de progression"
},
"colorFormatIncorrect": {
"message": "Votre couleur est mal formatée. Il devrait s'agir d'un code hexadécimal à 3 ou 6 chiffres avec un signe numérique au début."
},
"previewColor": {
"message": "Couleur en mode aperçu",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Couleur dans la barre de progression"
},
"category": {
"message": "Catégorie"
},
"skipOption": {
"message": "Option de saut",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Activer le serveur de test bêta"
},
"whatEnableTestingServer": {
"message": "Vos soumissions et votes NE COMPTERONT PAS sur le serveur principal. Utilisez ceci uniquement pour faire des tests."
},
"testingServerWarning": {
"message": "AUCUNE SOUMISSION OU VOTE DE COMPTERA sur le serveur principal tant que vous serez connecté au serveur de test. Désactivez ceci quand vous voudrez réellement soumettre ou voter."
},
"bracketNow": {
"message": "(Maintenant)"
},
"moreCategories": {
"message": "Autres catégories"
},
"chooseACategory": {
"message": "Choisissez une catégorie"
},
"youMustSelectACategory": {
"message": "Vous devez sélectionner une catégorie pour tous les segments que vous soumettez !"
},
"bracketEnd": {
"message": "(Fin)"
},
"hiddenDueToDownvote": {
"message": "masqué : vote négatif"
},
"hiddenDueToDuration": {
"message": "masqué : trop court"
},
"channelDataNotFound": {
"message": "L'ID de la chaîne n'a pas encore été chargé."
},
"adblockerIssue": {
"message": "Il semble que quelque chose empêche SponsorBlock de récupérer les données de la vidéo. C'est probablement votre bloqueur de publicités. Veuillez consulter https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Si ça se reproduit, c'est peut-être causé par votre bloqueur de publicités. Veuillez consulter https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"forceChannelCheck": {
"message": "Forcer la vérification du canal avant de passer"
},
"downvoteDescription": {
"message": "Segment de mauvaise qualité"
},
"incorrectCategory": {
"message": "Mauvaise catégorie"
},
"nonMusicCategoryOnMusic": {
"message": "Cette vidéo est classée dans les musiques. Êtes-vous sûr de vouloir soumettre des segments non-musicaux ? Vous devriez soumettre ce segment uniquement si la vidéo est de la musique. Veuillez lire les recommandations en cas de confusion."
},
"multipleSegments": {
"message": "Plusieurs segments"
},
"guidelines": {
"message": "Instructions"
},
"readTheGuidelines": {
"message": "Lisez les instructions !!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Les catégories sont là !"
},
"categoryUpdate2": {
"message": "Ouvrir les options pour sauter les intros, outros, marchandises, etc."
},
"unsubmittedWarning": {
"message": "Notification de segments non soumis"
},
"unsubmittedWarningDescription": {
"message": "Envoyer une notification lorsque vous quittez une vidéo avec des segments qui ne sont pas téléversés"
}
}

View File

@@ -0,0 +1,18 @@
{
"fullName": {
"message": "યુટ્યુબ માટે સ્પોન્સરબ્લોક - સ્પોન્સરશિપ છોડી દો",
"description": "Name of the extension."
},
"400": {
"message": "સર્વરે કહ્યું કે આ વિનંતી અમાન્ય છે"
},
"429": {
"message": "તમે આ એક વિડિઓ માટે ઘણી પ્રાયોજક વખત સબમિટ કરી છે, શું તમને ખાતરી છે કે આ ઘણા છે?"
},
"409": {
"message": "આ અગાઉ રજુ કરવામાં આવી છે"
},
"channelWhitelisted": {
"message": "ચેનલ વ્હાઇટલિસ્ટેડ!"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,211 @@
{
"fullName": {
"message": "SponsorBlock za YouTube - preskoči sponzore",
"description": "Name of the extension."
},
"Description": {
"message": "Preskoči sponzore, zamolbe za pretplatu i drugo na YouTube videima. Prijavi sponzore na videima koje gledaš kako bi uštedio drugima vrijeme.",
"description": "Description of the extension."
},
"400": {
"message": "Server je rekao da je zahtjev neispravan"
},
"429": {
"message": "Unio si previše vremena sponzora za ovaj video, jesi li siguran da ih ima toliko?"
},
"409": {
"message": "Ovo je već unešeno prije"
},
"channelWhitelisted": {
"message": "Kanal je dodan na popis dopuštenih!"
},
"Segment": {
"message": "odsječak"
},
"Segments": {
"message": "odsječci"
},
"upvoteButtonInfo": {
"message": "Glasaj za ovaj unos"
},
"reportButtonTitle": {
"message": "Prijavi"
},
"reportButtonInfo": {
"message": "Prijavi unos kao nesipravan."
},
"Dismiss": {
"message": "Odbaci"
},
"Loading": {
"message": "Učitavanje..."
},
"Mins": {
"message": "Minute"
},
"Secs": {
"message": "Sekunde"
},
"Hide": {
"message": "Nikad ne prikazuj"
},
"hitGoBack": {
"message": "Klikni unskip kako bi se vratio otkuda si došao."
},
"unskip": {
"message": "Unskip"
},
"reskip": {
"message": "Reskip"
},
"paused": {
"message": "Pauzirano"
},
"manualPaused": {
"message": "Timer zaustavljen"
},
"confirmMSG": {
"message": "Kako bi uredio ili obrisao pojedinačne vrijednosti, klikni na gumb info ili otvori okvir dodatka klikom na ikonu dodatka u gornjem desnom kutu."
},
"clearThis": {
"message": "Jesi li siguran da želiš očistiti ovo?\n\n"
},
"Unknown": {
"message": "Dogodila se pogreška pri unošenju tvojih vremena sponzora, molim te probaj ponovno kasnije."
},
"sponsorFound": {
"message": "Ovaj video ima isječke u bazi podataka!"
},
"sponsor404": {
"message": "Nije pronađen isječak"
},
"sponsorStart": {
"message": "Isječak započinje sada"
},
"sponsorEnd": {
"message": "Isječak završava sada"
},
"noVideoID": {
"message": "YouTube video nije pronađen na ovoj kartici. Ako si siguran da je ovo YouTube kartica, zatvori ovaj okvir i ponovno ga otvori. Ako to ne radi, probaj ponovno učitati karticu."
},
"success": {
"message": "Uspjeh!"
},
"voted": {
"message": "Glas podnešen!"
},
"serverDown": {
"message": "Čini se da server ne radi. Kontaktiraj razvojne programere odmah."
},
"connectionError": {
"message": "Dogodija se greška u povezivanju. Kod pogreške: "
},
"wantToSubmit": {
"message": "Želiš li unijeti za video id"
},
"leftTimes": {
"message": "Izgleda da si ostavio neke isječke nepodnešene. Vrati se na tu stranicu i podnesi ih (nisu izbrisani)."
},
"clearTimes": {
"message": "Očisti isječke"
},
"openPopup": {
"message": "Otvori okvir SponsorBlock"
},
"SubmitTimes": {
"message": "Podnesi isječke"
},
"submitCheck": {
"message": "Jesi li siguran da želiš unijeti ovo?"
},
"whitelistChannel": {
"message": "Dodaj kanal na popis dopuštenih"
},
"removeFromWhitelist": {
"message": "Makni kanal s popisa dopuštenih"
},
"voteOnTime": {
"message": "Glasaj za isječak"
},
"soFarUHSubmited": {
"message": "Do sada si podnio"
},
"savedPeopleFrom": {
"message": "Sačuvao si ljude od "
},
"viewLeaderboard": {
"message": "Pregledaj tablicu bodova"
},
"here": {
"message": "ovdje"
},
"recordTimesDescription": {
"message": "Klikni gumb ispod kada isječak započinje i završava kako bi ga zabilježio i unio u bazu podataka."
},
"popupHint": {
"message": "Savjet: Pritisni tipku točka-zarez dok si fokusiran na video kako bi zabilježio početak i kraj isječka te podnio isječak. (Ovo se može promijeniti u postavkama)"
},
"clearTimesButton": {
"message": "Očisti vremena"
},
"submitTimesButton": {
"message": "Unesi vremena"
},
"whatChangeUserID": {
"message": "Ovo bi trebalo ostati privatno. slično je lozinki i ne bi se smjelo dijeliti ni s kime. Ako netko ovo ima, mogu se lažno predstavljati kao ti."
},
"setUserID": {
"message": "Postavi UserID"
},
"userIDChangeWarning": {
"message": "Oprez: Promjena UserID-a je trajna. Jesi li siguran da želiš ovo napraviti? Napravi kopiju starog UserID-a za svaki slučaj."
},
"createdBy": {
"message": "Izradio"
},
"autoSkip": {
"message": "Automatsko preskakanje"
},
"showSkipNotice": {
"message": "Pokaži obavijest nakon preskakanja isječka"
},
"keybindCurrentlySet": {
"message": ". Trenutno je postavljeno na:"
},
"supportInvidious": {
"message": "Podrži Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) je YouTube client treće strane. Kako bi omogućio podršku, moraš prihvatiti dodatna dopuštenja. Ovo NE radi u privatnoj kartici na Chrome-u ili drugim carijantama Chromiuma."
},
"optionsInfo": {
"message": "Omogući podržavanje Invidiousa, onemogući automatsko preskakanje, sakrij gumbe i drugo."
},
"addInvidiousInstance": {
"message": "Dodaj instancu Invidiousa"
},
"addInvidiousInstanceDescription": {
"message": "Dodaj prilagođenu instancu Invidiousa. Ona mora biti formatirana sa samom domenom. Primjer: invidious.ajay.app"
},
"add": {
"message": "Dodaj"
},
"addInvidiousInstanceError": {
"message": "Ova domena je neispravna. Trebaš unijeti SAMO domenu. Primjer: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Resetiraj popis instanci Invidiousa"
},
"resetInvidiousInstanceAlert": {
"message": "Upravo ćeš resetirati popis instanci Invidiousa"
},
"currentInstances": {
"message": "Trenutne instance:"
},
"minDuration": {
"message": "Minimalno trajanje (u sekundama):"
},
"minDurationDescription": {
"message": "Isječci kraći od postavljene vrijednosti neće biti preskočeni ili prikazani u playeru."
}
}

View File

@@ -0,0 +1,29 @@
{
"Loading": {
"message": "Betöltés..."
},
"Hide": {
"message": "Sose mutassa"
},
"paused": {
"message": "Szüneteltetve"
},
"save": {
"message": "Mentés"
},
"reset": {
"message": "Visszaállítás"
},
"cancel": {
"message": "Mégse"
},
"delete": {
"message": "Törlés"
},
"preview": {
"message": "Előnézet"
},
"edit": {
"message": "Szerkesztés"
}
}

View File

@@ -0,0 +1,617 @@
{
"fullName": {
"message": "SponsorBlock untuk YouTube - Lewati Sponsor",
"description": "Name of the extension."
},
"Description": {
"message": "Lewati sponsor, meminta subscriber dan lain-lain di video YouTube. Laporkan sponsor di video yang anda tonton untuk menghemat waktu orang lain.",
"description": "Description of the extension."
},
"400": {
"message": "Server menyatakan permintaan tidak valid"
},
"429": {
"message": "Anda terlalu banyak mengirim waktu sponsor pada video ini, apakah anda yakin ada sebanyak ini?"
},
"409": {
"message": "Ini sudah dikirim sebelumnya"
},
"channelWhitelisted": {
"message": "Channel Didaftar-putihkan!"
},
"Segment": {
"message": "segmen"
},
"Segments": {
"message": "segmen"
},
"upvoteButtonInfo": {
"message": "Upvote submisi ini"
},
"reportButtonTitle": {
"message": "Laporkan"
},
"reportButtonInfo": {
"message": "Laporkan submisi ini sebagai kesalahan."
},
"Dismiss": {
"message": "Hilangkan"
},
"Loading": {
"message": "Memuat..."
},
"Mins": {
"message": "Menit"
},
"Secs": {
"message": "Detik"
},
"Hide": {
"message": "Jangan tampilkan"
},
"hitGoBack": {
"message": "Klik jangan lewati untuk kembali ke asal."
},
"unskip": {
"message": "Jangan Lewati"
},
"reskip": {
"message": "Lewati Ulang"
},
"paused": {
"message": "Dijeda"
},
"manualPaused": {
"message": "Timer Berhenti"
},
"confirmMSG": {
"message": "Untuk mengedit atau menghapus nilai masing-masing, klik tombol info atau buka popup ekstensi dengan mengklik ikon ekstensi di ujung kanan atas."
},
"clearThis": {
"message": "Apa anda yakin ingin menghapus ini?\n\n"
},
"Unknown": {
"message": "Terjadi kesalahan mengirim waktu sponsor, mohon coba lagi nanti."
},
"sponsorFound": {
"message": "Video ini memiliki segmen di basis data!"
},
"sponsor404": {
"message": "Tidak ada segmen ditemukan"
},
"sponsorStart": {
"message": "Segmen Mulai Sekarang"
},
"sponsorEnd": {
"message": "Segmen Berakhir Sekarang"
},
"noVideoID": {
"message": "Tidak ada video YouTube yang ditemukan di tab ini. Jika ini merupakan tab YouTube, tutup popup ini dan buka lagi. Jika masih tidak berfungsi, coba muat ulang tab."
},
"success": {
"message": "Sukses!"
},
"voted": {
"message": "Divote!"
},
"serverDown": {
"message": "Sepertinya server sedang down. Kontak pengembang segera."
},
"connectionError": {
"message": "Kesalahan koneksi terjadi. Kode kesalahan: "
},
"wantToSubmit": {
"message": "Apakah anda ingin mengirim untuk id video"
},
"leftTimes": {
"message": "Sepertinya anda lupa mengirimkan beberapa segmen. Kembali ke halaman tadi dan kirimkan itu (itu tidak terhapus)."
},
"clearTimes": {
"message": "Hapus Segmen"
},
"openPopup": {
"message": "Buka Popup SponsorBlock"
},
"SubmitTimes": {
"message": "Kirim Segmen"
},
"submitCheck": {
"message": "Apakah anda yakin ingin mengirim ini?"
},
"whitelistChannel": {
"message": "Daftar-putihkan Channel"
},
"removeFromWhitelist": {
"message": "Hapus Channel Dari Daftar Putih"
},
"voteOnTime": {
"message": "Beri Segmen Vote"
},
"soFarUHSubmited": {
"message": "Sejauh ini, anda sudah mengirim"
},
"savedPeopleFrom": {
"message": "Anda sudah menghemat waktu orang dari "
},
"viewLeaderboard": {
"message": "Lihat papan peringkat"
},
"here": {
"message": "disini"
},
"recordTimesDescription": {
"message": "Klik tombol dibawah saat segmen mulai dan berakhir untuk direkam lalu dikirim ke basis data."
},
"popupHint": {
"message": "Petunjuk: Tekan tombol titik koma saat terfokus pada video untuk melaporkan awal/akhir dari segmen untuk dikirim. (Bisa diganti di pengaturan)"
},
"clearTimesButton": {
"message": "Hapus Waktu"
},
"submitTimesButton": {
"message": "Kirim Waktu"
},
"publicStats": {
"message": "Ini digunakan di halaman statistik publik untuk menampilkan berapa banyak anda berkontribusi. Lihat disini"
},
"setUsername": {
"message": "Atur Nama Pengguna"
},
"discordAdvert": {
"message": "Gabung dengan server resmi discord untuk memberikan kritik dan saran!"
},
"hideThis": {
"message": "Sembunyikan ini"
},
"Options": {
"message": "Opsi"
},
"showButtons": {
"message": "Tampilkan Tombol Di Pemutar Video YouTube"
},
"hideButtons": {
"message": "Sembunyikan Tombol Di Pemutar Video YouTube"
},
"hideButtonsDescription": {
"message": "Ini akan menyembunyikan tombol yang muncul di pemutar YouTube untuk mengirimkan segmen yang dilewati."
},
"showInfoButton": {
"message": "Tampilkan Tombol Info Di Pemutar Video YouTube"
},
"hideInfoButton": {
"message": "Sembunyikan Tombol Info Di Pemutar Video YouTube"
},
"whatInfoButton": {
"message": "Ini adalah tombol yang membuka popup di halaman YouTube."
},
"hideDeleteButton": {
"message": "Sembunyikan Tombol Hapus Di Pemutar Video YouTube"
},
"showDeleteButton": {
"message": "Tampilkan Tombol Hapus Di Pemutar Video YouTube"
},
"whatDeleteButton": {
"message": "Ini adalah tombol di pemutar YouTube yang akan menghapus semua segmen yang belum dikirim pada video."
},
"enableViewTracking": {
"message": "Aktifkan Pelacakan Jumlah Lewati"
},
"whatViewTracking": {
"message": "Fitur ini melacak segmen mana yang sudah anda lewati untuk memberitahu pengguna berapa banyak submisi mereka telah membantu orang lain dan digunakan sebagai metrik bersamaan dengan upvote untuk memastikan tidak ada spam dalam basis data. Ekstensi mengirim pesan ke server tiap kali anda melewati segmen. Harapannya kebanyakan orang tidak akan mengubah opsi ini agar jumlah tayangan akurat. :)"
},
"showNotice": {
"message": "Tampilkan Pemberitahuan Lagi"
},
"longDescription": {
"message": "SponsorBlock membuat anda melewati sponsor, intro, outro, pengingat berlangganan dan segmen mengganggu lainnya di video YouTube. SponsorBlock adalah ekstensi browser crowdsourced yang membolehkan siapa saja mengirim waktu awal dan akhir dari segmen sponsor dan segmen video YouTube lainnya. Setelah seseorang mengirim informasi ini, orang lain yang memakai ekstensi ini akan melewati segmen sponsor di video yang sama. Anda juga dapat melewati bagian non-musik di musik video.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Situs",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Kode Sumber",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Pemberitahuan sudah ditingkatkan!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Jika anda masih tidak suka, klik tombol jangan tampilkan.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Atur tombol untuk mulai segmen"
},
"setSubmitKeybind": {
"message": "Atur tombol untuk kirim submisi"
},
"keybindDescription": {
"message": "Pilih tombol dengan mengetikkannya"
},
"keybindDescriptionComplete": {
"message": "Tombol diatur menjadi: "
},
"0": {
"message": "Koneksi Timeout. Cek koneksi internet anda. Jika internet anda berfungsi, server mungkin kewalahan atau down."
},
"disableSkipping": {
"message": "Nonaktifkan SponsorBlock"
},
"enableSkipping": {
"message": "Aktifkan SponsorBlock"
},
"yourWork": {
"message": "Hasil Kerja Anda",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Tampaknya server sedang kewalahan. Coba lagi beberapa detik."
},
"errorCode": {
"message": "Kode Kesalahan: "
},
"skip": {
"message": "Lewati"
},
"skipped": {
"message": "Dilewati"
},
"disableAutoSkip": {
"message": "Nonaktifkan Lewati Otomatis"
},
"enableAutoSkip": {
"message": "Aktifkan Lewati Otomatis"
},
"audioNotification": {
"message": "Notifikasi Audio Saat Dilewati"
},
"audioNotificationDescription": {
"message": "Notifikasi audio akan berbunyi saat melewati sebuah segmen. Jika nonaktif (atau lewati otomatis nonaktif), tidak ada suara yang akan diputar."
},
"showTimeWithSkips": {
"message": "Tampilkan Waktu Dikurangi Yang Dilewati"
},
"showTimeWithSkipsDescription": {
"message": "Waktu ini muncul di dalam kurung disamping waktu asli di bilah waktu. Ini menunjukkan durasi total video yang tidak termasuk segmen apapun. Ini termasuk segmen yang ditandai hanya \"Tampilkan Di Bilah Waktu\"."
},
"youHaveSkipped": {
"message": "Anda sudah melewati "
},
"youHaveSaved": {
"message": "Anda sudah menghemat waktu "
},
"minLower": {
"message": "menit"
},
"minsLower": {
"message": "menit"
},
"hourLower": {
"message": "jam"
},
"hoursLower": {
"message": "jam"
},
"youHaveSavedTime": {
"message": "Anda sudah menghemat waktu orang lain"
},
"youHaveSavedTimeEnd": {
"message": " dari hidup mereka."
},
"statusReminder": {
"message": "Cek status.sponsor.ajay.app untuk status server."
},
"changeUserID": {
"message": "Impor/Ekspor UserID"
},
"whatChangeUserID": {
"message": "Ini sebaiknya dirahasiakan. Ini terlihat seperti password dan sebaiknya tidak dibagikan ke orang lain. Jika seseorang mempunyai ini, dia dapat berpura-pura menjadi anda."
},
"setUserID": {
"message": "Atur UserID"
},
"userIDChangeWarning": {
"message": "Peringatan: Pengubahan UserID bersifat permanen. Apakah anda yakin ingin melakukan ini? Pastikan kamu sudah mencadangkan yang lama untuk berjaga."
},
"createdBy": {
"message": "Dibuat Oleh"
},
"autoSkip": {
"message": "Lewati Otomatis"
},
"showSkipNotice": {
"message": "Tampilkan pemberitahuan setelah melewati segmen"
},
"keybindCurrentlySet": {
"message": ". Saat ini diatur pada:"
},
"supportInvidious": {
"message": "Dukungan Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) adalah layanan klien YouTube pihak ketiga. Untuk mengaktifkan dukungan, anda harus menerima izin tambahan. Ini TIDAK dapat bekerja di mode penyamaran Chrome dan peramban berbasis Chromium lainnya."
},
"optionsInfo": {
"message": "Aktifkan dukungan Invidious, nonaktifkan lewati otomatis, tombol sembunyi dan lainnya."
},
"addInvidiousInstance": {
"message": "Tambah Instansi Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Tambahkan instansi khusus Invidious. Ini harus diformat dengan HANYA domainnya. Contoh: invidious.ajay.app"
},
"add": {
"message": "Tambah"
},
"addInvidiousInstanceError": {
"message": "Domain ini tidak valid. Ini harus HANYA mengandung bagian domainnya. Contoh: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Reset Daftar Instansi Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Anda akan mereset daftar instansi invidious"
},
"currentInstances": {
"message": "Instansi sekarang:"
},
"minDuration": {
"message": "Durasi minimal (detik):"
},
"minDurationDescription": {
"message": "Segmen yang lebih kecil dari nilai yang diatur tidak akan dilewati atau tampil di pemutar."
},
"shortCheck": {
"message": "Submisi ini lebih pendek dari opsi durasi minimalmu. Ini dapat berarti ini sudah dikirim, dan hanya akan diabaikan karena opsi ini. Apakah anda yakin ingin mengirim?"
},
"showUploadButton": {
"message": "Tampilkan Tombol Unggah"
},
"whatUploadButton": {
"message": "Tombol ini muncul di pemutar video YouTube setelah kamu memilih stempel waktu dan siap untuk dikirimkan."
},
"customServerAddress": {
"message": "Alamat Server SponsorBlock"
},
"customServerAddressDescription": {
"message": "Alamat yang SponsorBlock gunakan untuk memanggil server.\nKecuali jika anda mempunyai instansi server sendiri, ini tidak perlu diubah."
},
"save": {
"message": "Simpan"
},
"reset": {
"message": "Atur ulang"
},
"customAddressError": {
"message": "Alamat ini tidak berada di bentuk yang benar. Pastikan kamu menggunakan http:// atau https:// di awal dan tidak ada garis mengikuti."
},
"areYouSureReset": {
"message": "Apakah anda yakin ingin mengatur ulang ini?"
},
"confirmPrivacy": {
"message": "Video ini dideteksi sebagai tidak terdaftar. Klik batal jika kamu tidak ingin mengecek untuk melewati segmen."
},
"unlistedCheck": {
"message": "Abaikan Video Tidak Terdaftar/Privat"
},
"whatUnlistedCheck": {
"message": "Pengaturan ini akan sedikit melambatkan SponsorBlock. Pencarian lewati segmen membutuhkan pengiriman ID video ke server. Jika anda khawatir tentang ID unlisted video terkirim ke internet, hidupkan opsi ini."
},
"mobileUpdateInfo": {
"message": "m.youtube.com sekarang didukung"
},
"exportOptions": {
"message": "Impor/Ekspor Semua Pengaturan"
},
"whatExportOptions": {
"message": "Ini adalah seluruh konfigurasi anda di JSON. Ini mencakup userID anda, maka pastikan anda membagikan ini dengan bijak."
},
"setOptions": {
"message": "Atur Opsi"
},
"exportOptionsWarning": {
"message": "Peringatan: Mengubah opsi bersifat permanen dan bisa merusak pemasangan anda. Apakah anda yakin ingin melakukan ini? Pastikan untuk mencadangkan yang lama untuk berjaga."
},
"incorrectlyFormattedOptions": {
"message": "JSON ini tidak diformat dengan benar. Pengaturan anda tidak berubah."
},
"confirmNoticeTitle": {
"message": "Kirim Segmen"
},
"submit": {
"message": "Kirim"
},
"cancel": {
"message": "Batal"
},
"delete": {
"message": "Hapus"
},
"preview": {
"message": "Pratinjau"
},
"edit": {
"message": "Ubah"
},
"copyDebugInformation": {
"message": "Salin Informasi Debug Ke Papan Klip"
},
"copyDebugInformationFailed": {
"message": "Gagal menyalin ke papan klip"
},
"copyDebugInformationOptions": {
"message": "Salin informasi ke papan klip untuk menyediakan pengembang saat mengangkat bug / saat pengembang memintanya. Informasi sensitif seperti user ID, channel yang didaftar-putihkan, dan alamat server kustom akan dihapus. Namun itu mengandung informasi seperti useragent anda, browser, sistem operasi, dan nomor versi ekstensi. "
},
"copyDebugInformationComplete": {
"message": "Informasi debug telah disalin ke papan klip. Jangan ragu untuk menghapus informasi yang tidak ingin anda bagikan. Simpan ini di file teks atau salin ke laporan bug."
},
"theKey": {
"message": "Tombolnya"
},
"keyAlreadyUsed": {
"message": "terikat pada tindakan lain. Mohon memilih tombol lain."
},
"to": {
"message": "sampai",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_sponsor_description": {
"message": "Promosi dibayar, tautan dibayar dan iklan langsung. Tidak untuk promosi diri sendiri atau dukungan gratis untuk gerakan/kreator/situs/produk yang mereka suka."
},
"category_intro": {
"message": "Jeda/Animasi Intro"
},
"category_intro_description": {
"message": "Bagian yang bukan konten sebenarnya. Dapat berupa jeda, gambar statik, dan animasi berulang di channel. Ini tidak boleh digunakan untuk transisi yang berisi informasi atau digunakan di video musik."
},
"category_intro_short": {
"message": "Jeda"
},
"category_outro": {
"message": "Kartu Akhir/Kredit"
},
"category_outro_description": {
"message": "Kredit atau saat kartu akhir YouTube muncul. Tidak untuk kesimpulan dengan informasi. Tidak boleh dipakai pada video musik."
},
"category_interaction": {
"message": "Pengingat Interaksi (Berlangganan)"
},
"category_interaction_description": {
"message": "Saat ada pengingat singkat untuk meminta suka, berlangganan atau mengikuti mereka di tengah konten. Jika panjang atau tentang sesuatu yang spesifik, sebaiknya pakai kategori promosi diri sendiri."
},
"category_interaction_short": {
"message": "Pengingat Interaksi"
},
"category_selfpromo": {
"message": "Promosi Diri Sendiri/Tidak Dibayar"
},
"category_selfpromo_description": {
"message": "Mirip dengan \"sponsor\" kecuali ini tidak dibayar atau promosi diri sendiri. Ini termasuk merchandise, donasi, atau informasi tentang siapa yang berkolaborasi dengan mereka."
},
"category_music_offtopic": {
"message": "Musik: Bagian Non-Musik"
},
"category_music_offtopic_description": {
"message": "Hanya gunakan di video musik. Ini termasuk intro dan outro di video musik."
},
"category_music_offtopic_short": {
"message": "Non-Musik"
},
"category_livestream_messages": {
"message": "Livestream: Baca Pesan/Donasi"
},
"category_livestream_messages_short": {
"message": "Membaca Pesan Chat"
},
"disable": {
"message": "Nonaktif"
},
"manualSkip": {
"message": "Lewati Manual"
},
"showOverlay": {
"message": "Tampilkan Di Bilah Waktu"
},
"colorFormatIncorrect": {
"message": "Warna anda tidak diformat dengan benar. Harusnya terdiri dari 3 atau 6 digit kode heksa dengan tagar di awal."
},
"previewColor": {
"message": "Warna Pratinjau",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Warna Bilah Waktu"
},
"category": {
"message": "Kategori"
},
"skipOption": {
"message": "Opsi Lewati",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Aktifkan Server Beta Testing"
},
"whatEnableTestingServer": {
"message": "Submisi dan vote anda TIDAK TERHITUNG pada server utama. Hanya gunakan ini untuk percobaan."
},
"testingServerWarning": {
"message": "Semua submisi dan vote TIDAK TERHITUNG pada server utama saat terkoneksi ke server percobaan."
},
"bracketNow": {
"message": "(Sekarang)"
},
"moreCategories": {
"message": "Kategori Lain"
},
"chooseACategory": {
"message": "Pilih Kategori"
},
"youMustSelectACategory": {
"message": "Anda harus memilih kategori untuk semua segmen yang anda kirimkan!"
},
"bracketEnd": {
"message": "(Selesai)"
},
"hiddenDueToDownvote": {
"message": "disembunyikan: voting rendah"
},
"hiddenDueToDuration": {
"message": "disembunyikan: terlalu pendek"
},
"channelDataNotFound": {
"message": "ID Channel belum dimuat."
},
"adblockerIssue": {
"message": "Sepertinya ada sesuatu yang memblokir kemampuan SponsorBlock untuk mendapatkan data video. Kemungkinan karena ad blocker anda. Mohon cek https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Jika ini terus terjadi, kemungkinan terjadi karena ad blocker anda. Mohon cek https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"forceChannelCheck": {
"message": "Paksa Cek Channel Sebelum Melewati"
},
"whatForceChannelCheck": {
"message": "Secara standar, ini akan melewati segmen segera bahkan sebelum tahu apa channelnya. Secara standar, beberapa segmen pada awal video mungkin terlewati pada channel yang didaftar-putihkan. Mengaktifkan opsi ini akan mencegah ini namun membuat semua pelewatan mempunyai sedikit delay karena mendapatkan channelID membutuhkan waktu. Delay ini mungkin menjadi tidak terasa jika anda mempunyai internet yang cepat."
},
"forceChannelCheckPopup": {
"message": "Pertimbangkan Mengaktifkan \"Paksa Pengecekan Channel Sebelum Pelewatan\""
},
"downvoteDescription": {
"message": "Salah, Waktu Tidak Tepat"
},
"incorrectCategory": {
"message": "Salah Kategori"
},
"nonMusicCategoryOnMusic": {
"message": "Video ini dikategorikan sebagai musik. Apakah anda yakin ingin mengirim segmen yang kategorinya non-musik? Kecuali jika video ini bukan musik, anda seharusnya tidak mengirim segmen ini. Harap baca pedoman jika anda kebingungan."
},
"multipleSegments": {
"message": "Banyak Segmen"
},
"guidelines": {
"message": "Pedoman"
},
"readTheGuidelines": {
"message": "Baca Pedomannya!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Kategori disini!"
},
"categoryUpdate2": {
"message": "Buka opsi untuk melewati intro, outro, merch, dll."
},
"unsubmittedWarning": {
"message": "Notifikasi Segmen Yang Belum Dikirim"
},
"unsubmittedWarningDescription": {
"message": "Tampilkan notifikasi saat kamu meninggalkan video dengan segmen yang belum diunggah"
}
}

View File

@@ -1,20 +1,12 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Name of the extension."
},
"fullName": {
"message": "SponsorBlock per YouTube - Salta gli sponsor",
"description": "Name of the extension."
},
"Description": {
"message": "Salta i contenuti sponsorizzati nei video di YouTube. Segnala gli annunci incorporati nei video che guardi per far risparmiare tempo agli altri.",
"message": "Salta sponsorizzazioni, implorazioni di iscrizione ai canali e molto altro sui video di YouTube. Segnala gli sponsor sui video che guardi per salvare il tempo ad altri.",
"description": "Description of the extension."
},
"helpPage": {
"message": "index_en.html"
},
"400": {
"message": "Richiesta non valida"
},
@@ -27,26 +19,14 @@
"channelWhitelisted": {
"message": "Canale aggiunto alla whitelist!"
},
"Sponsor": {
"message": "sponsorizzazione"
},
"Sponsors": {
"message": "sponsorizzazioni"
},
"Segment": {
"message": "spezzone sponsorizzato"
},
"Segments": {
"message": "spezzoni sponsorizzati"
},
"noticeTitle": {
"message": "Sponsorizzazione Saltata"
"upvoteButtonInfo": {
"message": "Vota questa segnalazione"
},
"reportButtonTitle": {
"message": "Segnala"
},
"reportButtonInfo": {
"message": "Segnala questo spezzone come non corretto."
"message": "Segnala questa segnalazione come incorretta."
},
"Dismiss": {
"message": "Chiudi"
@@ -75,6 +55,9 @@
"paused": {
"message": "In pausa"
},
"manualPaused": {
"message": "Timer Fermato"
},
"confirmMSG": {
"message": "\n\nPer modificare o eliminare valori specifici, premi il pulsante delle informazioni o apri il popup cliccando l'icona dell'estensione nell'angolo in alto a destra."
},
@@ -84,19 +67,6 @@
"Unknown": {
"message": "Si è verificato un errore durante l'invio dello spezzone sponsorizzato, per favore riprova più tardi."
},
"sponsorFound": {
"message": "I contenuti sponsorizzati di questo video sono nel database!"
},
"sponsor404": {
"message": "Nessuna sponsorizzazione trovata"
},
"sponsorStart": {
"message": "La sponsorizzazione inizia adesso"
},
"sponsorEnd": {
"message": "La sponsorizzazione finisce adesso"
},
"noVideoID": {
"message": "Probabilmente questa non è una scheda di YouTube, oppure hai cliccato troppo presto. \nSe sei sicuro di essere in una scheda di YouTube,\n riapri questo popup."
},
@@ -106,69 +76,36 @@
"voted": {
"message": "Votato!"
},
"voteFail": {
"message": "Hai già votato."
},
"serverDown": {
"message": "Sembra che il server non funzioni. Contatta subito lo sviluppatore."
},
"connectionError": {
"message": "Si è verificato un errore durante la connessione. Codice errore: "
},
"wantToSubmit": {
"message": "Vuoi inviare gli spezzoni sponsorizzati per il video con id"
},
"leftTimes": {
"message": "Sembra che tu non abbia inviato alcuni spezzoni sponsorizzati. Ritorna alla pagina precedente per inviarli (non sono stati eliminati)."
},
"clearTimes": {
"message": "Cancella gli Spezzoni Sponsorizzati"
},
"openPopup": {
"message": "Apri il Popup di SponsorBlock"
},
"SubmitTimes": {
"message": "Invia gli Spezzoni Sponsorizzati"
},
"submitCheck": {
"message": "Sei sicuro di volerlo inviare?"
},
"whitelistChannel": {
"message": "Aggiungi Canale alla Whitelist"
"message": "Aggiungi Canale alla Whitelist"
},
"removeFromWhitelist": {
"message": "Rimuovi Canale dalla Whitelist"
},
"whitelistDescription": {
"message": "Aggiungi alla whitelist i canali che sponsorizzano eticamente per incoraggiare ad un comportamento corretto, oppure se sono semplicemente intrattenenti e divertenti. Oppure non farlo, decidi tu."
},
"voteOnTime": {
"message": "Vota uno Spezzone Sponsorizzato"
},
"recordTimes": {
"message": "Registra uno Spezzone Sponsorizzato"
"message": "Rimuovi Canale dalla Whitelist"
},
"soFarUHSubmited": {
"message": "Fino ad ora hai inviato"
"message": "Fino ad ora hai inviato"
},
"savedPeopleFrom": {
"message": "Hai salvato le persone da "
"message": "Hai salvato le persone da "
},
"viewLeaderboard": {
"message": "Guarda la classifica"
"message": "Guarda la classifica"
},
"here": {
"message": "qui"
},
"recordTimesDescription": {
"message": "Premi il pulsante qui sotto quando inizia e finisce la sponsorizzazione per registrarla e\ninviarla al database."
},
"popupHint": {
"message": "Suggerimento: Premi il tasto punto e virgola mentre il video è attivo per segnalare l'inizio/fine di una sponsorizzazione e virgolette per inviare."
},
"lastTimes": {
"message": "Ultimi minutaggi sponsorizzati scelti"
},
"clearTimesButton": {
"message": "Cancella Minutaggi"
},
@@ -197,7 +134,7 @@
"message": "Nascondi i Pulsanti nel Lettore di YouTube"
},
"hideButtonsDescription": {
"message": "Nasconde i pulsanti che appaiono nel lettore di YouTube per inviare spezzoni sponsorizzati. Capisco che può essere fastidioso per alcune\n persone. Invece di utilizzare quei pulsanti, è possibile utilizzare questo popup per inviare gli spezzoni sponsorizzati. Per nascondere l'avviso che appare, \nusa il bottone \"Non mostrare più\" nell'avviso. Potrai sempre abilitare nuovamente queste impostazioni in futuro."
"message": "Nasconde i pulsanti che appaiono nel lettore di YouTube per inviare spezzoni sponsorizzati. Capisco che può essere fastidioso per alcune\n persone. Invece di utilizzare quei pulsanti, è possibile utilizzare questo popup per inviare gli spezzoni sponsorizzati. Per nascondere l'avviso che appare, \nusa il bottone \"Non mostrare più\" nell'avviso. Potrai sempre abilitare nuovamente queste impostazioni in futuro."
},
"showInfoButton": {
"message": "Mostra il Pulsante Informazioni nel Lettore di YouTube"
@@ -217,22 +154,9 @@
"whatDeleteButton": {
"message": "Questo è il pulsante che ti permette di cancellare tutti gli spezzoni sponsorizzati nel lettore di YouTube."
},
"disableViewTracking": {
"message": "Disattiva il Monitoraggio delle Sponsorizzazioni"
},
"enableViewTracking": {
"message": "Disattiva il Monitoraggio delle Sponsorizzazioni"
},
"whatViewTracking": {
"message": "Questa funzione tiene traccia di quali sponsorizzazioni hai saltato per far sapere agli utenti quanto è stato d'aiuto agli altri il loro contributo e\nviene utilizzato come metrica assieme ai voti positivi per filtrare lo spam dal database. L'estensione invia un messaggio\nal server ogni volta che salti una sponsorizzazione. Si spera che la maggior parte delle persone non modifichi questa impostazione così i numeri sono accurati. :)"
},
"showNotice": {
"message": "Mostra di Nuovo l'Avviso"
},
"longDescription": {
"message": "SponsorBlock è un'estensione che salta gli spezzoni con contenuti sponsorizzati nei video di YouTube. SponsorBlock è un'estensione crowdsourced per i browser che permette a chiunque di inviare i minutaggi degli spezzoni sponsorizzati nei video di YouTube. Quando una persona avrà inviato questa informazione, tutti gli utenti che utilizzano questa estensione potranno saltare lo spezzone sponsorizzato.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Sito Web",
"description": "Used on Firefox Store Page"
@@ -240,5 +164,191 @@
"sourceCode": {
"message": "Codice Sorgente",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "L'avviso è stato aggiornato!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Se non ti piace ancora, premi il pulsante \"non mostrare mai\".",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Imposta la chiave per l'associazione di tasti per le segnalazioni"
},
"keybindDescription": {
"message": "Seleziona una chiave digitandola"
},
"keybindDescriptionComplete": {
"message": "L'associazione di tasti è stata impostata a: "
},
"0": {
"message": "Timeout della connessione. Controlla la tua connessione a Internet. Se internet sta funzionando, il server è probabilmente sovraccarico oppure giù."
},
"disableSkipping": {
"message": "Disabilita SponsorBlock"
},
"enableSkipping": {
"message": "Abilita SponsorBlock"
},
"yourWork": {
"message": "Il Tuo Lavoro",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Il server sembra essere sovraccaricato. Riprova tra pochi secondi."
},
"errorCode": {
"message": "Codice Errore: "
},
"skip": {
"message": "Salta"
},
"skipped": {
"message": "Saltato"
},
"disableAutoSkip": {
"message": "Disabilita Salto Automatico"
},
"enableAutoSkip": {
"message": "Abilita Salto Automatico"
},
"audioNotification": {
"message": "Notifiche Audio per Salta"
},
"showTimeWithSkips": {
"message": "Mostra Tempo Con Salti Rimossi"
},
"showTimeWithSkipsDescription": {
"message": "Questo tempo appare tra parentesi accanto al tempo attuale sotto alla barra di progresso. Questo mostra la durata totale del video meno gli spezzoni. Include spezzoni marcati come \"Mostra solo nella barra di progresso\"."
},
"youHaveSkipped": {
"message": "Hai saltato "
},
"youHaveSaved": {
"message": "Ti sei salvato "
},
"minLower": {
"message": "minuto"
},
"minsLower": {
"message": "minuti"
},
"hourLower": {
"message": "ora"
},
"hoursLower": {
"message": "ore"
},
"youHaveSavedTime": {
"message": "Hai salvato alle persone"
},
"youHaveSavedTimeEnd": {
"message": " delle loro vite."
},
"statusReminder": {
"message": "Controlla status.sponsor.ajay.app per lo stato del server."
},
"changeUserID": {
"message": "Importa/Esporta Il Tuo ID Utente"
},
"whatChangeUserID": {
"message": "Questo dovrebbe essere tenuto privato. Questo è come una password e non dovrebbe essere condiviso con nessuno. Se qualcuno ha questo, ti può impersonare."
},
"setUserID": {
"message": "Imposta ID utente"
},
"userIDChangeWarning": {
"message": "Attenzione: cambiare l'ID utente è permanente. Sei sicuro di volerlo fare? Assicurati di eseguire il backup del tuo vecchio nel caso."
},
"createdBy": {
"message": "Creato da"
},
"autoSkip": {
"message": "Salta Automaticamente"
},
"keybindCurrentlySet": {
"message": ". Attualmente è impostato su:"
},
"supportInvidious": {
"message": "Supporta Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) è un client YouTube di terze parti. Per abilitare il supporto, è necessario accettare i permessi aggiuntivi. Questo NON funziona in incognito su Chrome e altre varianti di Chromium."
},
"optionsInfo": {
"message": "Abilita supporto invidioso, disabilita salto automatico, nascondi i pulsanti e altro ancora."
},
"addInvidiousInstance": {
"message": "Aggiungi istanza di Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Aggiungi un'istanza personalizzata di Invidious. Questo deve essere formattato SOLO con il dominio. Esempio: invidious.ajay.app"
},
"add": {
"message": "Aggiungi"
},
"addInvidiousInstanceError": {
"message": "Questo è un dominio non valido. Questo dovrebbe includere SOLO la parte del dominio. Esempio: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Reimposta la lista di istanze Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Stai per reimpostare la lista di istanze di Invidious"
},
"currentInstances": {
"message": "Istanze Attuali:"
},
"minDuration": {
"message": "Durata minima (secondi):"
},
"whatUploadButton": {
"message": "Questo pulsante appare sul riproduttore di YouTube dopo che hai selezionato un marcatore temporale e sei pronto ad inviarlo."
},
"customServerAddress": {
"message": "Indirizzo Server SponsorBlock"
},
"customServerAddressDescription": {
"message": "L'indirizzo che SponsorBlock usa per effettuare richieste al server. Questo non dovrebbe essere modificato a meno che tu non abbia un tuo server."
},
"save": {
"message": "Salva"
},
"reset": {
"message": "Reimposta"
},
"customAddressError": {
"message": "Questo indirizzo non è nel formatto corretto. Assicurati di avere http:// o https:// all'inizio e nessuno slash alla fine."
},
"areYouSureReset": {
"message": "Sei sicuro di voler eseguire il reset?"
},
"unlistedCheck": {
"message": "Ignora Video Non Pubblicati/Privati"
},
"mobileUpdateInfo": {
"message": "m.youtube.com è ora supportato"
},
"exportOptions": {
"message": "Importa/Esporta Tutte Le Opzioni"
},
"whatExportOptions": {
"message": "Questa è la tua intera configurazione in formaro JSON. Questo include il tuo ID utente, quindi presta attenzione se vuoi condividerlo."
},
"chooseACategory": {
"message": "Scegli una Categoria"
},
"youMustSelectACategory": {
"message": "Devi selezionare una categoria per tutti i segmenti che stai inviando!"
},
"bracketEnd": {
"message": "(Fine)"
},
"hiddenDueToDownvote": {
"message": "nascosto: downvote"
},
"hiddenDueToDuration": {
"message": "nascosto: troppo corto"
}
}

View File

@@ -0,0 +1,6 @@
{
"fullName": {
"message": "SponserBlock for YouTube - 動画のスポンサーセクションを自動でスキップする",
"description": "Name of the extension."
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,140 @@
{
"fullName": {
"message": "YouTube용 SponsorBlock - 스폰서 광고 차단",
"description": "Name of the extension."
},
"Description": {
"message": "YouTube 영상의 스폰서 광고, '구독과 좋아요' 광고 같이 쓸데없는 광고를 모두 건너뛰세요. 영상의 스폰서 광고 구간을 신고하여 다른 사람들의 시간을 절약할 수 있게 해주세요.",
"description": "Description of the extension."
},
"channelWhitelisted": {
"message": "채널이 화이트리스트에 추가되었습니다!"
},
"Segment": {
"message": "구간"
},
"Segments": {
"message": "구간"
},
"sponsorFound": {
"message": "이 영상의 광고 구간을 서버 데이터베이스에서 찾았습니다!"
},
"sponsor404": {
"message": "광고 구간을 찾지 못했습니다"
},
"sponsorStart": {
"message": "광고 구간 시작"
},
"sponsorEnd": {
"message": "광고 구간 끝"
},
"noVideoID": {
"message": "현재 페이지에서 YouTube 영상을 찾지 못하였습니다. 이 페이지에 YouTube 영상이 있는 경우, 이 팝업을 닫고 다시 열어주세요. 그래도 이 팝업이 바뀌지 않는 경우, 페이지를 새로고침하세요."
},
"connectionError": {
"message": "서버 오류가 발생하였습니다. 오류 코드: "
},
"whitelistChannel": {
"message": "채널을 화이트리스트에 추가하기"
},
"removeFromWhitelist": {
"message": "채널을 화이트리스트에서 삭제하기"
},
"setUsername": {
"message": "사용자 이름 설정"
},
"discordAdvert": {
"message": "공식 디스코드 서버에 들어와서 기능 제안을 해주시거나 피드백을 남겨주세요!"
},
"Options": {
"message": "설정"
},
"website": {
"message": "웹사이트",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "소스 코드",
"description": "Used on Firefox Store Page"
},
"disableSkipping": {
"message": "SponsorBlock 비활성화"
},
"errorCode": {
"message": "오류 코드: "
},
"minLower": {
"message": "분"
},
"minsLower": {
"message": "분"
},
"hourLower": {
"message": "시간"
},
"hoursLower": {
"message": "시간"
},
"changeUserID": {
"message": "사용자 ID 가져오기/내보내기"
},
"createdBy": {
"message": "개발자: "
},
"autoSkip": {
"message": "자동으로 건너뛰기"
},
"supportInvidious": {
"message": "Invidious 지원 활성화"
},
"customServerAddressDescription": {
"message": "SponsorBlock이 데이터를 주고받기 위해 사용하는 서버 주소입니다. 따로 구축한 서버가 없을 경우, 이 주소를 변경하지 않는 것이 좋습니다."
},
"save": {
"message": "저장"
},
"customAddressError": {
"message": "올바르지 않은 주소입니다. 주소는 반드시 http:// 또는 https://로 시작해야 하며, 마지막 문자가 슬래시로 끝날 수 없습니다."
},
"exportOptions": {
"message": "모든 설정 가져오기/내보내기"
},
"preview": {
"message": "미리보기"
},
"edit": {
"message": "수정"
},
"copyDebugInformation": {
"message": "디버그 정보 복사하기"
},
"copyDebugInformationFailed": {
"message": "클립보드로 복사하는 데 실패했습니다"
},
"copyDebugInformationOptions": {
"message": "버그를 신고할 때나 개발자가 요청했을 때 필요한 디버그 정보를 복사합니다. 사용자 ID, 화이트리스트 채널 목록와 커스텀 서버 주소 같이 민감한 정보는 절대 포함되지 않습니다. 디버그 정보에는 사용자 에이전트, 브라우저 정보, 사용 중인 운영 체제와 확장 프로그램의 버전 정보가 포함됩니다. "
},
"copyDebugInformationComplete": {
"message": "디버그 정보가 복사되었습니다. 공유하고 싶지 않은 내용이 있는 경우 자유롭게 수정하신 후, 텍스트 파일로 저장하시거나 버그 신고 페이지에 붙여넣으시면 됩니다."
},
"colorFormatIncorrect": {
"message": "올바르지 않은 색상 코드입니다. 색상 코드는 샵 (#) 기호로 시작하여 3자리 또는 6자리의 16진수로 구성되어야 합니다."
},
"previewColor": {
"message": "미리보기 색상",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "탐색 바 색상"
},
"category": {
"message": "범주"
},
"skipOption": {
"message": "건너뛰기 설정",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"chooseACategory": {
"message": "구간 범주 선택"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,500 @@
{
"fullName": {
"message": "SponsorBlock voor YouTube - Sla sponsorberichten over",
"description": "Name of the extension."
},
"Description": {
"message": "Skip sponsoren, abonneer-herinneringen en meer in YouTube-videos. Rapporteer sponsors in video's die je kijkt om anderen tijd te besparen.",
"description": "Description of the extension."
},
"400": {
"message": "Server zegt dat het verzoek ongeldig is"
},
"429": {
"message": "Je hebt te veel sponsortijden voor deze video doorgegeven, weet je zeker dat het er zo veel zijn?"
},
"409": {
"message": "Dit is al een keer ingediend"
},
"channelWhitelisted": {
"message": "Kanaal gewhitelist!"
},
"Segment": {
"message": "segment"
},
"Segments": {
"message": "segmenten"
},
"upvoteButtonInfo": {
"message": "Stem op deze indiening"
},
"reportButtonTitle": {
"message": "Rapporteren"
},
"reportButtonInfo": {
"message": "Rapporteer deze indiening als onjuist."
},
"Dismiss": {
"message": "Sluiten"
},
"Loading": {
"message": "Laden..."
},
"Mins": {
"message": "Minuten"
},
"Secs": {
"message": "Seconden"
},
"Hide": {
"message": "Nooit weergeven"
},
"hitGoBack": {
"message": "Druk op unskip om terug te gaan naar waar je vandaan komt."
},
"unskip": {
"message": "Unskip"
},
"reskip": {
"message": "Reskip"
},
"paused": {
"message": "Gepauzeerd"
},
"manualPaused": {
"message": "Timer gestopt"
},
"confirmMSG": {
"message": "Om individuele waarden te bewerken of te verwijderen, klik je op de info-knop of open je de extensie-popup door op het extensie-icoon in de rechterbovenhoek te klikken."
},
"clearThis": {
"message": "Weet je zeker dat je dit wilt wissen?\n\n"
},
"Unknown": {
"message": "Er is een fout opgetreden bij het indienen van je sponsortijden. Probeer het later opnieuw."
},
"sponsorFound": {
"message": "Deze video heeft segmenten in de database!"
},
"sponsor404": {
"message": "Geen segmenten gevonden"
},
"sponsorStart": {
"message": "Segment Begint Nu"
},
"sponsorEnd": {
"message": "Segment Eindigt Nu"
},
"noVideoID": {
"message": "Er is geen YouTube-video gevonden op dit tabblad. Als je weet dat dit een YouTube-tabblad is, sluit dan deze pop-up en open hem opnieuw. Als dat niet werkt, probeer dan het tabblad opnieuw te laden."
},
"success": {
"message": "Succesvol!"
},
"voted": {
"message": "Gestemd!"
},
"serverDown": {
"message": "Het lijkt erop dat de server offline is. Contacteer de ontwikkelaar onmiddellijk."
},
"connectionError": {
"message": "Er is een verbindingsfout opgetreden. Foutcode: "
},
"wantToSubmit": {
"message": "Wilt u indienen voor video id"
},
"leftTimes": {
"message": "Het lijkt erop dat sommige segmenten niet ingezonden zijn. Ga terug naar die pagina om ze in te dienen (de segmenten zijn niet verwijderd)."
},
"clearTimes": {
"message": "Segmenten verwijderen"
},
"openPopup": {
"message": "SponsorBlock Popup openen"
},
"SubmitTimes": {
"message": "Segmenten indienen"
},
"submitCheck": {
"message": "Weet je zeker dat je dit wilt indienen?"
},
"whitelistChannel": {
"message": "Whitelist Kanaal"
},
"removeFromWhitelist": {
"message": "Verwijder kanaal van whitelist"
},
"voteOnTime": {
"message": "Stem op een segment"
},
"soFarUHSubmited": {
"message": "Tot nu toe heb je ingediend:"
},
"savedPeopleFrom": {
"message": "Je hebt mensen geholpen met het vermijden van "
},
"viewLeaderboard": {
"message": "Bekijk de ranglijst"
},
"here": {
"message": "hier"
},
"recordTimesDescription": {
"message": "Klik op de knop hieronder wanneer het segment start en eindigt om het te registreren en te verzenden naar de database."
},
"popupHint": {
"message": "Tip: Druk op de puntkomma-toets terwijl een video in focus is om het start/einde van een segment te registreren en op quote om het in te dienen. (Dit kan worden gewijzigd in de opties)"
},
"clearTimesButton": {
"message": "Wis tijden"
},
"submitTimesButton": {
"message": "Dien tijden in"
},
"publicStats": {
"message": "Dit wordt gebruikt op de publieke statistiekenpagina om te laten zien hoeveel u heeft bijgedragen. Bekijk het"
},
"setUsername": {
"message": "Gebruikersnaam instellen"
},
"discordAdvert": {
"message": "Word lid van de officiële Discord server om suggesties en feedback te geven!"
},
"hideThis": {
"message": "Dit verbergen"
},
"Options": {
"message": "Opties"
},
"showButtons": {
"message": "Toon knoppen op YouTube Player"
},
"hideButtons": {
"message": "Verberg knoppen op YouTube Player"
},
"hideButtonsDescription": {
"message": "Dit verbergt de knoppen die verschijnen op de YouTube-speler om segmenten over te slaan."
},
"showInfoButton": {
"message": "Toon info-knop op YouTube-speler"
},
"hideInfoButton": {
"message": "Verberg info-knop op YouTube Player"
},
"whatInfoButton": {
"message": "Dit is de knop die een pop-up opent op de YouTube-pagina."
},
"hideDeleteButton": {
"message": "Verberg verwijder-knop op YouTube-speler"
},
"showDeleteButton": {
"message": "Toon verwijder-knop op YouTube-speler"
},
"whatDeleteButton": {
"message": "Dit is de knop op de YouTube-speler die al je niet ingezonden segmenten van de huidige video zal wissen."
},
"enableViewTracking": {
"message": "Bijhouden van het aantal skips inschakelen"
},
"whatViewTracking": {
"message": "Deze functie houdt bij welke segmenten u hebt overgeslagen om gebruikers te laten weten hoezeer hun indiening anderen heeft geholpen en wordt samen met upvotes als meetwaarde gebruikt om ervoor te zorgen dat spam niet in de database terechtkomt. De extensie stuurt telkens wanneer je een segment overslaat een bericht naar de server. Hopelijk veranderen de meeste mensen deze instelling niet zodat de weergavenummers accuraat zijn. :)"
},
"showNotice": {
"message": "Toon melding opnieuw"
},
"longDescription": {
"message": "SponsorBlock laat u sponsoren, intro's, outros, herinneringen om te abonneren en andere vervelende onderdelen van YouTube video's overslaan. SponsorBlock is een crowdsourced browserextensie waarmee iedereen de start- en eindtijd van gesponsorde segmenten en andere segmenten van YouTube-video's kan indienen. Zodra één persoon deze informatie indient, zal iedereen met deze extensie het gesponsorde segment overslaan. Je kunt ook secties zonder muziek in muziekvideo's overslaan.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Website",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Broncode",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Deze melding is geupgrade!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Als het je nog steeds niet bevalt, druk dan op de \"nooit tonen\"-knop.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Stel de toets voor de start van een segment in"
},
"setSubmitKeybind": {
"message": "Stel de toets voor indienen in"
},
"keybindDescription": {
"message": "Selecteer een toets door hem in te drukken"
},
"keybindDescriptionComplete": {
"message": "Deze sneltoets is ingesteld op:"
},
"0": {
"message": "Time-out van de verbinding. Controleer uw internetverbinding. Als uw internet werkt, is de server waarschijnlijk overbelast of offline."
},
"disableSkipping": {
"message": "SponsorBlock uitschakelen"
},
"enableSkipping": {
"message": "SponsorBlock inschakelen"
},
"yourWork": {
"message": "Jouw werk",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "De server lijkt overbelast te zijn. Probeer het over een paar seconden opnieuw."
},
"errorCode": {
"message": "Foutcode: "
},
"skip": {
"message": "Overslaan"
},
"skipped": {
"message": "Overgeslagen"
},
"disableAutoSkip": {
"message": "Automatisch overslaan uitschakelen"
},
"enableAutoSkip": {
"message": "Automatisch overslaan inschakelen"
},
"audioNotification": {
"message": "Audiomelding bij Overslaan"
},
"minLower": {
"message": "minuut"
},
"minsLower": {
"message": "minuten"
},
"hourLower": {
"message": "uur"
},
"hoursLower": {
"message": "uren"
},
"whatChangeUserID": {
"message": "Dit moet privé blijven. Dit is zoals een wachtwoord en mag met niemand worden gedeeld. Als iemand dit heeft, kunnen ze je imiteren."
},
"setUserID": {
"message": "Stel Gebruiker-Id in"
},
"createdBy": {
"message": "Aangemaakt door"
},
"autoSkip": {
"message": "Automatisch overslaan"
},
"showSkipNotice": {
"message": "Toon melding nadat een segment is overgeslagen"
},
"keybindCurrentlySet": {
"message": ". Het is momenteel ingesteld op:"
},
"supportInvidious": {
"message": "Ondersteuning Invidious"
},
"add": {
"message": "Toevoegen"
},
"addInvidiousInstanceError": {
"message": "Dit is een ongeldig domein. Dit moet ALLEEN het domeindeel bevatten. Voorbeeld: invidious.ajay.app"
},
"minDuration": {
"message": "Minimale duur (seconden):"
},
"minDurationDescription": {
"message": "Segmenten korter dan de ingestelde waarde worden niet overgeslagen of getoond in de speler."
},
"shortCheck": {
"message": "De volgende inzending is korter dan je \"minimale tijdsduur\"-instelling. Dit kan betekenen dat dit al is ingediend, en genegeerd wordt door deze optie. Weet je zeker dat je dit wilt indienen?"
},
"showUploadButton": {
"message": "Toon Upload Knop"
},
"customServerAddress": {
"message": "SponsorBlock Serveradres"
},
"save": {
"message": "Bewaren"
},
"reset": {
"message": "Reset"
},
"mobileUpdateInfo": {
"message": "m.youtube.com wordt nu ondersteund"
},
"exportOptions": {
"message": "Importeer/Exporteer alle opties"
},
"setOptions": {
"message": "Opties instellen"
},
"confirmNoticeTitle": {
"message": "Segment indienen"
},
"submit": {
"message": "Bevestigen"
},
"cancel": {
"message": "Annuleren"
},
"delete": {
"message": "Verwijderen"
},
"preview": {
"message": "Voorbeeld"
},
"edit": {
"message": "Bewerken"
},
"copyDebugInformation": {
"message": "Foutopsporingsinformatie kopiëren naar klembord"
},
"copyDebugInformationFailed": {
"message": "Kon niet schrijven naar klembord"
},
"theKey": {
"message": "De toets"
},
"keyAlreadyUsed": {
"message": "is gekoppeld aan een andere actie. Selecteer een andere toets."
},
"to": {
"message": "tot",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_intro": {
"message": "Intermissie/Intro-animatie"
},
"category_intro_short": {
"message": "Intermissie"
},
"category_outro": {
"message": "Eindkaarten/Credits"
},
"category_interaction": {
"message": "Interactieherinnering (Abonneren)"
},
"category_interaction_short": {
"message": "Interactieherinnering"
},
"category_selfpromo": {
"message": "Onbetaalde promotie of zelfpromotie"
},
"category_music_offtopic": {
"message": "Muziek: Sectie zonder muziek"
},
"category_music_offtopic_description": {
"message": "Alleen voor gebruik in muziekvideo's. Dit omvat introducties of outros in muziekvideo's."
},
"category_music_offtopic_short": {
"message": "Geen muziek"
},
"category_livestream_messages": {
"message": "Livestream: Donaties/Lezen van berichten"
},
"category_livestream_messages_short": {
"message": "Lezen van berichten"
},
"disable": {
"message": "Uitschakelen"
},
"manualSkip": {
"message": "Handmatig Overslaan"
},
"showOverlay": {
"message": "Toon in tijdbalk"
},
"colorFormatIncorrect": {
"message": "Je kleur is verkeerd geformatteerd. Het moet een hexadecimale code van 3 of 6 cijfers zijn met een hekje aan het begin."
},
"previewColor": {
"message": "Kleurvoorbeeld",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Kleur van tijdbalk"
},
"category": {
"message": "Categorie"
},
"skipOption": {
"message": "Manier van overslaan",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Bèta-testserver gebruiken"
},
"whatEnableTestingServer": {
"message": "Je inzendingen en stemmen ZULLEN NIET GEREGISTREERD WORDEN op de hoofdserver. Gebruik dit alleen om te testen."
},
"bracketNow": {
"message": "(Nu)"
},
"moreCategories": {
"message": "Meer categorieën"
},
"chooseACategory": {
"message": "Kies een categorie"
},
"youMustSelectACategory": {
"message": "Je moet een categorie selecteren voor alle segmenten die je indient!"
},
"bracketEnd": {
"message": "(Einde)"
},
"hiddenDueToDownvote": {
"message": "verborgen: downvote"
},
"hiddenDueToDuration": {
"message": "verborgen: te kort"
},
"channelDataNotFound": {
"message": "KanaalID is nog niet geladen."
},
"adblockerIssue": {
"message": "Het lijkt erop dat iets de mogelijkheid van SponsorBlock om videogegevens te krijgen blokkeert. Dit is waarschijnlijk uw advertentieblokkeerder. Bekijk https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocks-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Als dit blijft optreden, kan dit worden veroorzaakt door uw advertentieblokkeerder. Bekijk https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"downvoteDescription": {
"message": "Verkeerde Timing"
},
"incorrectCategory": {
"message": "Verkeerde categorie"
},
"multipleSegments": {
"message": "Meerdere segmenten"
},
"guidelines": {
"message": "Richtlijnen"
},
"readTheGuidelines": {
"message": "Lees de Richtlijnen!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Categorieën zijn er!"
},
"categoryUpdate2": {
"message": "Open de opties om intro, outros, merch, etc. over te slaan."
},
"unsubmittedWarning": {
"message": "Notificatie voor niet-ingestuurde segmenten"
},
"unsubmittedWarningDescription": {
"message": "Stuur een notificatie wanneer je een video verlaat met segmenten die niet zijn geüpload"
}
}

View File

@@ -0,0 +1 @@
{}

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,7 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Nome da extensão."
},
"fullName": {
"message": "SponsorBlock para YouTube - Pule patrocínios",
"description": "Nome da extensão."
},
"Description": {
"message": "Pule patrocinadores em vídeos do YouTube. Reporte patrocinadores em videos que você assiste para salvar o tempo dos outros.",
"description": "Descrição da extensão."
},
"helpPage": {
"message": "index_en.html"
"description": "Name of the extension."
},
"400": {
"message": "O servidor disse que esse pedido foi inválido"
@@ -27,26 +15,14 @@
"channelWhitelisted": {
"message": "Canal adicionado à lista branca!"
},
"Sponsor": {
"message": "patrocinador"
},
"Sponsors": {
"message": "patrocinadores"
},
"Segment": {
"message": "segmento de patrocinador"
},
"Segments": {
"message": "segmentos de patrocinadores"
},
"noticeTitle": {
"message": "Patrocinador pulado"
"upvoteButtonInfo": {
"message": "Votar nesse segmento positivamente"
},
"reportButtonTitle": {
"message": "Reportar"
},
"reportButtonInfo": {
"message": "Reportar essa subimissão como inválida."
"message": "Reportar esse segmento como inválido."
},
"Dismiss": {
"message": "Ignorar"
@@ -64,7 +40,7 @@
"message": "Nunca mostrar"
},
"hitGoBack": {
"message": "Aperta reverter pulo para voltar onde estava"
"message": "Aperta \"reverter pulo\" para voltar onde estava."
},
"unskip": {
"message": "Reverter pulo"
@@ -75,6 +51,9 @@
"paused": {
"message": "Pausado"
},
"manualPaused": {
"message": "Tempo parado"
},
"confirmMSG": {
"message": "\n\nPara editar ou remover linhas individuais, clique com o botão direito ou abra o popup da extensão pelo icone no canto superior direito."
},
@@ -82,23 +61,10 @@
"message": "Tem certeza que quer limpar isso?\n\n"
},
"Unknown": {
"message": "Teve um erro ao enviar seus segmentos, tente novamente depois."
},
"sponsorFound": {
"message": "Os patrocinadores desse vídeo estão no banco de dados!"
},
"sponsor404": {
"message": "Nenhum patrocinador encontrado"
},
"sponsorStart": {
"message": "Patrocínio começa agora"
},
"sponsorEnd": {
"message": "Patrocínio termina agora"
"message": "Houve um erro ao enviar seus segmentos, tente novamente mais tarde."
},
"noVideoID": {
"message": "Isso provavelmente não é uma tab do YouTube, ou você clicou muito cedo. \n Se sabe que é uma tab do YouTube,\n feche esse popup e abra de novo."
"message": "Nenhum vídeo do YouTube foi encontrado nesta aba. Se você sabe que esta é uma aba do YouTube, feche este pop-up e abra-o novamente. Se isso não funcionar, tente recarregar a aba."
},
"success": {
"message": "Sucesso!"
@@ -106,83 +72,50 @@
"voted": {
"message": "Votado!"
},
"voteFail": {
"message": "Você já votou antes."
},
"serverDown": {
"message": "Parece que o servidor caiu. Contate o desenvolvedor o quanto antes."
},
"connectionError": {
"message": "Um erro de conexão aconteceu: Código: "
},
"wantToSubmit": {
"message": "Quer enviar os segmentos para o vídeo de ID"
},
"leftTimes": {
"message": "Parece que você se esqueceu de enviar alguns segmentos. Volta pra página para os enviar (não foram deletados)."
},
"clearTimes": {
"message": "Apagar intervalos dos patrocínios"
"message": "Ocorreu um erro de conexão. Código de erro: "
},
"openPopup": {
"message": "Abrir o Popup SponsorBlock"
},
"SubmitTimes": {
"message": "Submeter intervalos dos patrocínios"
},
"submitCheck": {
"message": "Tem a certeza que pretende submeter?"
"message": "Você tem certeza que deseja enviar isto?"
},
"whitelistChannel": {
"message": "Meter canal na Whitelist"
"message": "Colocar canal na lista branca"
},
"removeFromWhitelist": {
"message": "Remover canal da Whitelist"
},
"whitelistDescription": {
"message": "Colocar na Whitelist canais com patrocínios éticos que encoragem boas atitude, ou simplesmente canais com patrocínios engraçados. Ou não, é consigo."
},
"voteOnTime": {
"message": "Vote num intervalo de patrocínio"
},
"recordTimes": {
"message": "Registe um intervalo de patrocínio"
"message": "Remover canal da lista branca"
},
"soFarUHSubmited": {
"message": "Até agora submeteu"
"message": "Até agora, você já enviou"
},
"savedPeopleFrom": {
"message": "Poupaste a outros de "
"message": "Poupaste a outros de "
},
"viewLeaderboard": {
"message": "Ver a leaderboard"
"message": "Ver a leaderboard"
},
"here": {
"message": "aqui"
},
"recordTimesDescription": {
"message": "Carregue neste botão abaixo quando o patrocínio começar e quando\n acabar para registar e submetê-lo à base de dados"
},
"popupHint": {
"message": "Dica: Carregue na tecla ; enquanto num vídeo para registar o começo/fim de um patrocínio e \" para submeter"
},
"lastTimes": {
"message": "Intervalos de Patrocínios Escolhidos mais Recentemente"
},
"clearTimesButton": {
"message": "Limpar Intervalos"
},
"submitTimesButton": {
"message": "Submeter Intervalos"
"message": "Enviar Intervalos"
},
"publicStats": {
"message": "Isto é usado na página pública de estatísticas que mostra o quanto já contríbuíu. Veje-a"
"message": "Isso é usado na página pública de estatísticas que mostra o quanto você já contríbuíu. Veja-a"
},
"setUsername": {
"message": "Criar nomde de utilizador"
"message": "Definir nome de usuário"
},
"discordAdvert": {
"message": "Junte-se ao discord oficial para sugerir dicas e sugestões!"
"message": "Junte-se ao servidor do discord oficial para dar dicas e sugestões!"
},
"hideThis": {
"message": "Esconder isto"
@@ -217,28 +150,349 @@
"whatDeleteButton": {
"message": "Este é o botão que lhe permite saltar todos os patrocínios do player do Youtube."
},
"disableViewTracking": {
"message": "Desactivar registo de visualização de patrocínios"
},
"enableViewTracking": {
"message": "Activar registo de visualização de patrocínios"
},
"whatViewTracking": {
"message": "Esta funcionalidade regista que patrocínios tem saltado para que outros utilizadores saibam o quanto as suas submições têm ajudado outros\n e é usado como métrica de votos para evitar spam na base de dados. A extenção \n envia uma notificação ao servidor sempre que salta um patrocínio. Quanto menos pessoas desactivarem esta funcionalidade mais precisas serão as estimativas :)"
},
"showNotice": {
"message": "Mostrar notificação outra vez"
},
"longDescription": {
"message": "SponsorBlock é uma extensão que salta segmentos patrocinados em vídeos do YouTube. SponsorBlock é uma extenção crowdfunded que permite a qualquer um submeter o início e o fim de segmentos patrocinados. Assim que uma pessoa submete essa informação todos com a extenção poderam saltar automaticamete o patrocínio.",
"description": "Descrição completa da extençao nas lojas dos browsers."
},
"website": {
"message": "Site",
"description": "Usado na pagina da loja do Firefox"
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Código fonte",
"description": "Usado na pagina da loja do Firefox"
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "A notificação foi atualizada!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Se você ainda não gostar dessa, aperte o botão não mostrar novamente.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Defina a tecla para enviar o segmento de patrocínio"
},
"keybindDescription": {
"message": "Selecione uma tecla apertando-a"
},
"keybindDescriptionComplete": {
"message": "A tecla foi definida para: "
},
"0": {
"message": "Tempo limite de conexão excedida. Cheque a sua conexão de internet. Se a sua internet estiver funcionando, o servidor está sobrecarregado ou fora do ar."
},
"disableSkipping": {
"message": "Desativar SponsorBlock"
},
"enableSkipping": {
"message": "Ativar SponsorBlock"
},
"yourWork": {
"message": "Suas submissões",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "O servidor parece estar sobrecarregado. Tente novamente em alguns segundos."
},
"errorCode": {
"message": "Código de erro: "
},
"skip": {
"message": "Pular"
},
"skipped": {
"message": "Pulado"
},
"disableAutoSkip": {
"message": "Desativar Salto Automático"
},
"enableAutoSkip": {
"message": "Ativar Salto Automático"
},
"audioNotification": {
"message": "Notificação de áudio ao pular"
},
"showTimeWithSkips": {
"message": "Mostrar tempo com pulos removidos"
},
"youHaveSkipped": {
"message": "Você pulou "
},
"youHaveSaved": {
"message": "Você poupou "
},
"minLower": {
"message": "minuto"
},
"minsLower": {
"message": "minutos"
},
"hourLower": {
"message": "hora"
},
"hoursLower": {
"message": "horas"
},
"youHaveSavedTime": {
"message": "Você poupou outros"
},
"youHaveSavedTimeEnd": {
"message": " de suas vidas."
},
"statusReminder": {
"message": "Verifique status.sponsor.ajay.app para o status do servidor."
},
"changeUserID": {
"message": "Importar/Exportar seu ID de usuário"
},
"whatChangeUserID": {
"message": "Isso deve ser mantido em segredo. É como se fosse uma senha e não deve ser compartilhado com ninguém. Se alguém tiver isso, poderá se passar por você."
},
"setUserID": {
"message": "Definir ID de usuário"
},
"userIDChangeWarning": {
"message": "Atenção: A alteração do ID de usuário é permanente. Você tem certeza que deseja fazer isso? Certifique-se de fazer backup de seu ID antigo por precaução."
},
"createdBy": {
"message": "Criado por"
},
"autoSkip": {
"message": "Pular automaticamente"
},
"keybindCurrentlySet": {
"message": ". Atualmente, está definido para:"
},
"supportInvidious": {
"message": "Apoiar Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) é um cliente para YouTube de terceiros. Para ativar o apoio, você precisa aceitar as permissões adicionais. Isso não funciona em modo anônimo no Chrome ou em outras variantes do Chromium."
},
"optionsInfo": {
"message": "Ativar apoio ao Invidious, desabilitar pular automaticamente, ocultar botões e mais."
},
"addInvidiousInstance": {
"message": "Adicionar instância do Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Adicionar uma instância personalizada do Invidious. Deve ser formatado com APENAS o domínio. Exemplo: invidious.ajay.app"
},
"add": {
"message": "Adicionar"
},
"addInvidiousInstanceError": {
"message": "Este é um domínio inválido. Ele deve incluir APENAS a parte do domínio. Exemplo: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Redefinir Lista de Instâncias do Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Você está prestes a redefinir a lista de instâncias do Invidious"
},
"currentInstances": {
"message": "Instâncias Atuais:"
},
"minDuration": {
"message": "Duração mínima (segundos):"
},
"shortCheck": {
"message": "A seguinte submissão é mais curta do que sua opção de duração mínima. Isto significa que já foi enviada e que está sendo ignorada devido a esta opção. Tem certeza que deseja enviar mesmo assim?"
},
"showUploadButton": {
"message": "Mostrar botão de envio"
},
"whatUploadButton": {
"message": "Este botão aparece no reprodutor do YouTube depois de ter selecionado um carimbo de data/hora e está pronto para ser enviado."
},
"customServerAddress": {
"message": "Endereço do servidor do SponsorBlock"
},
"customServerAddressDescription": {
"message": "Endereço que o SponsorBlock usa para fazer chamadas ao servidor.\nA menos que você tenha sua própria instância de servidor, isso não deve ser alterado."
},
"save": {
"message": "Salvar"
},
"reset": {
"message": "Redefinir"
},
"customAddressError": {
"message": "Este endereço não está na forma correta. Certifique-se de que possui http:// ou https:// no início e sem barras no final."
},
"areYouSureReset": {
"message": "Tem certeza que deseja redefinir?"
},
"unlistedCheck": {
"message": "Ignorar vídeos não listados/privados"
},
"mobileUpdateInfo": {
"message": "m.youtube.com agora é suportado"
},
"exportOptions": {
"message": "Importar/Exportar Todas as Opções"
},
"whatExportOptions": {
"message": "Essa suas preferências em JSON. Isso inclui seu ID de usuário, então lembre-se de compartilhar com cuidado."
},
"setOptions": {
"message": "Definir Opções"
},
"exportOptionsWarning": {
"message": "Aviso: Alterar as opções é permanente e pode fazer a extensão parar de funcionar. Tem certeza que deseja fazer isso? Certifique-se de fazer um backup de seu antigo por precaução."
},
"incorrectlyFormattedOptions": {
"message": "Este JSON não está formatado corretamente. Suas opções não foram alteradas."
},
"confirmNoticeTitle": {
"message": "Enviar Segmento"
},
"submit": {
"message": "Enviar"
},
"cancel": {
"message": "Cancelar"
},
"delete": {
"message": "Deletar"
},
"preview": {
"message": "Pré-visualizar"
},
"edit": {
"message": "Editar"
},
"copyDebugInformation": {
"message": "Copiar Informações de Depuração Para Área de Transferência"
},
"copyDebugInformationFailed": {
"message": "Erro ao copiar para a área de transferência"
},
"copyDebugInformationOptions": {
"message": "Copia informações para a área de transferência para serem fornecidas a um desenvolvedor quando houver um bug / quando um solicitado pelo desenvolvedor. Informações sensíveis como seu ID de usuário, canais na lista de permissões e endereço personalizado do servidor foram removidos. No entanto, ele contém informações como seu useragent, navegador, sistema operacional e número de versão de extensão. "
},
"copyDebugInformationComplete": {
"message": "A informação de depuração foi copiada para a área de transferência. Sinta-se à vontade para remover qualquer informação que prefira não compartilhar. Salve em um arquivo de texto ou cole-a no relatório de bug."
},
"theKey": {
"message": "A tecla"
},
"keyAlreadyUsed": {
"message": "está vinculado a outra ação. Por favor, selecione outra tecla."
},
"to": {
"message": "até",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Patrocinador"
},
"category_outro": {
"message": "Finalização/Créditos"
},
"category_interaction": {
"message": "Lembrete de interação (inscrever-se)"
},
"category_interaction_short": {
"message": "Lembrete de interação"
},
"category_music_offtopic": {
"message": "Música: Seção sem música"
},
"category_livestream_messages": {
"message": "Livestream: Leituras de Doação/Mensagem"
},
"category_livestream_messages_short": {
"message": "Leitura de mensagens"
},
"disable": {
"message": "Desativar"
},
"manualSkip": {
"message": "Pular manualmente"
},
"showOverlay": {
"message": "Mostrar barra de progresso"
},
"previewColor": {
"message": "Cor de pré-visualização",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Cor da barra"
},
"category": {
"message": "Categoria"
},
"skipOption": {
"message": "Opção de pulo",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Habilitar Servidor em teste Beta"
},
"whatEnableTestingServer": {
"message": "Seus envios e votos NÃO SERÃO ENVIADOS para o servidor principal. Use isso apenas para testes."
},
"testingServerWarning": {
"message": "Todas os envios e votos NÃO SERÃO ENVIADOS para o servidor principal enquanto se conecta ao servidor de teste. Certifique-se de desativar isso quando você quiser fazer envios reais."
},
"bracketNow": {
"message": "(agora)"
},
"moreCategories": {
"message": "Mais categorias"
},
"chooseACategory": {
"message": "Selecione uma Categoria"
},
"youMustSelectACategory": {
"message": "Você deve selecionar uma categoria para todos os segmentos que você está enviando!"
},
"bracketEnd": {
"message": "(Fim)"
},
"hiddenDueToDownvote": {
"message": "oculto: Downvote"
},
"hiddenDueToDuration": {
"message": "oculto: muito curto"
},
"channelDataNotFound": {
"message": "ID do canal ainda não carregado."
},
"adblockerIssue": {
"message": "Parece que algo está bloqueando o SponsorBlock de obter dados de vídeo. Isso é provavelmente o seu bloqueador de anúncios. Por favor, verifique https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Se isso continuar acontecendo, pode ser causado pelo seu bloqueador de anúncios. Por favor, verifique https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock-Requests"
},
"downvoteDescription": {
"message": "Incorreto/tempo errado"
},
"incorrectCategory": {
"message": "Categoria errada"
},
"nonMusicCategoryOnMusic": {
"message": "Este vídeo é classificado como música. Você tem certeza que deseja enviar segmentos com categorias que não são músicas? A menos que esse vídeo não seja de fato música, você não deve enviar esse segmento. Por favor leia as orientações se estiver em dúvidas."
},
"multipleSegments": {
"message": "Multiplos segmentos"
},
"guidelines": {
"message": "Diretrizes"
},
"readTheGuidelines": {
"message": "Leia as Diretrizes!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "As categorias estão aqui!"
},
"unsubmittedWarning": {
"message": "Notificação de segmentos não enviados"
},
"unsubmittedWarningDescription": {
"message": "Enviar uma notificação quando você sair de um vídeo com segmentos que não foram enviados"
}
}
}

View File

@@ -1,19 +1,7 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Nome da extensão."
},
"fullName": {
"message": "SponsorBlock para o YouTube - Salte patrocínios",
"description": "Nome da extensão."
},
"Description": {
"message": "Salte patrocinadores em vídeos do YouTube. Reporte patrocinadores em vídeos que assista para poupar tempo a outros.",
"description": "Descrição da extensão."
},
"helpPage": {
"message": "index_en.html"
"description": "Name of the extension."
},
"400": {
"message": "O servidor disse que este pedido foi inválido"
@@ -27,27 +15,9 @@
"channelWhitelisted": {
"message": "Canal adicionado à whitelist!"
},
"Sponsor": {
"message": "patrocinador"
},
"Sponsors": {
"message": "patrocinadores"
},
"Segment": {
"message": "segmento de patrocínio"
},
"Segments": {
"message": "segmentos de patrocínio"
},
"noticeTitle": {
"message": "Patrocínio saltado"
},
"reportButtonTitle": {
"message": "Reportar"
},
"reportButtonInfo": {
"message": "Reportar subimissão como inválida."
},
"Dismiss": {
"message": "Ignorar"
},
@@ -84,18 +54,6 @@
"Unknown": {
"message": "Erro ao enviar os seus segmentos, tente novamente mais tarde."
},
"sponsorFound": {
"message": "Os patrocinadores desse vídeo estão no banco de dados!"
},
"sponsor404": {
"message": "Nenhum patrocinador encontrado"
},
"sponsorStart": {
"message": "Patrocínio começa agora"
},
"sponsorEnd": {
"message": "Patrocínio termina agora"
},
"noVideoID": {
"message": "Isto provavelmente não é uma tab do YouTube, ou pode ter clicado muito cedo. \n Se sabe que é uma tab do YouTube,\n feche este popup e abra de novo."
},
@@ -105,69 +63,33 @@
"voted": {
"message": "Votado!"
},
"voteFail": {
"message": "Já votou antes."
},
"serverDown": {
"message": "Parece que o servidor caiu. Contacte o desenvolvedor o quanto antes."
},
"connectionError": {
"message": "Deu-se um erro de conecção: Código: "
},
"wantToSubmit": {
"message": "Quer enviar os segmentos para o vídeo de ID"
},
"leftTimes": {
"message": "Parece que se esqueceu de enviar alguns segmentos. Retorne à página para os enviar (não foram apagados)."
},
"clearTimes": {
"message": "Apagar intervalos dos patrocínios"
},
"openPopup": {
"message": "Abrir o Popup SponsorBlock"
},
"SubmitTimes": {
"message": "Submeter intervalos dos patrocínios"
},
"submitCheck": {
"message": "Tem a certeza que pretende submeter?"
},
"whitelistChannel": {
"message": "Meter canal na Whitelist"
"message": "Meter canal na Whitelist"
},
"removeFromWhitelist": {
"message": "Remover canal da Whitelist"
},
"whitelistDescription": {
"message": "Colocar na Whitelist canais com patrocínios éticos que encoragem boas atitude, ou simplesmente canais com patrocínios engraçados. Ou não, é consigo."
},
"voteOnTime": {
"message": "Vote num intervalo de patrocínio"
},
"recordTimes": {
"message": "Registe um intervalo de patrocínio"
"message": "Remover canal da Whitelist"
},
"soFarUHSubmited": {
"message": "Até agora submeteu"
"message": "Até agora submeteu"
},
"savedPeopleFrom": {
"message": "Poupaste a outros de "
"message": "Poupaste a outros de "
},
"viewLeaderboard": {
"message": "Ver a leaderboard"
"message": "Ver a leaderboard"
},
"here": {
"message": "aqui"
},
"recordTimesDescription": {
"message": "Carregue neste botão abaixo quando o patrocínio começar e quando\n acabar para registar e submetê-lo à base de dados"
},
"popupHint": {
"message": "Dica: Carregue na tecla ; enquanto num vídeo para registar o começo/fim de um patrocínio e \" para submeter"
},
"lastTimes": {
"message": "Intervalos de Patrocínios Escolhidos mais Recentemente"
},
"clearTimesButton": {
"message": "Limpar Intervalos"
},
@@ -216,28 +138,15 @@
"whatDeleteButton": {
"message": "Este é o botão que lhe permite saltar todos os patrocínios do player do Youtube."
},
"disableViewTracking": {
"message": "Desactivar registo de visualização de patrocínios"
},
"enableViewTracking": {
"message": "Activar registo de visualização de patrocínios"
},
"whatViewTracking": {
"message": "Esta funcionalidade regista que patrocínios tem saltado para que outros utilizadores saibam o quanto as suas submições têm ajudado outros\n e é usado como métrica de votos para evitar spam na base de dados. A extenção \n envia uma notificação ao servidor sempre que salta um patrocínio. Quanto menos pessoas desactivarem esta funcionalidade mais precisas serão as estimativas :)"
},
"showNotice": {
"message": "Mostrar notificação outra vez"
},
"longDescription": {
"message": "SponsorBlock é uma extensão que salta segmentos patrocinados em vídeos do YouTube. SponsorBlock é uma extenção crowdfunded que permite a qualquer um submeter o início e o fim de segmentos patrocinados. Assim que uma pessoa submete essa informação todos com a extenção poderam saltar automaticamete o patrocínio.",
"description": "Descrição completa da extençao nas lojas dos browsers."
},
"website": {
"message": "Site",
"description": "Usado na pagina da loja do Firefox"
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Código fonte",
"description": "Usado na pagina da loja do Firefox"
"description": "Used on Firefox Store Page"
}
}
}

View File

@@ -0,0 +1,534 @@
{
"fullName": {
"message": "SponsorBlock pentru YouTube - Sari peste sponsorizări",
"description": "Name of the extension."
},
"400": {
"message": "Serverul a spus că această cerere este invalidă"
},
"429": {
"message": "Ai trimis prea multe timpuri ale sponsorizărilor pentru acest videoclip, sunteți sigur că sunt atât de multe?"
},
"409": {
"message": "Acest lucru a fost deja trimis înainte"
},
"channelWhitelisted": {
"message": "Canalul a fost adăugat la excepții!"
},
"upvoteButtonInfo": {
"message": "Votează această înregistrare"
},
"reportButtonTitle": {
"message": "Raportează"
},
"reportButtonInfo": {
"message": "Raportează această înregistrare ca fiind incorectă."
},
"Dismiss": {
"message": "Renunță"
},
"Loading": {
"message": "Se încarcă..."
},
"Mins": {
"message": "Minute"
},
"Secs": {
"message": "Secunde"
},
"Hide": {
"message": "Nu mai afișa niciodată"
},
"hitGoBack": {
"message": "Apasă unskip pentru a reveni."
},
"unskip": {
"message": "Unskip"
},
"reskip": {
"message": "Sari peste"
},
"paused": {
"message": "Pauză"
},
"manualPaused": {
"message": "Cronometru oprit"
},
"confirmMSG": {
"message": "Pentru a edita sau a șterge valori individuale, apasă butonul de informații sau deschide popup-ul extensiei apăsând iconița extensiei din colțul dreapta sus."
},
"clearThis": {
"message": "Ești sigur că vrei să ștergi asta?\n\n"
},
"Unknown": {
"message": "A apărut o eroare în trimiterea timpilor sponsorizărilor, încearcă din nou mai târziu."
},
"noVideoID": {
"message": "Nu există niciun videoclip YouTube în aceast tab. Dacă știți că acesta este un tab YouTube, închideți acest popup și deschideți-l din nou. Daca nici asta nu merge, încercați să reîncărcați pagina."
},
"success": {
"message": "Succes!"
},
"voted": {
"message": "Votat!"
},
"serverDown": {
"message": "Se pare că serverul este oprit. Contactează imediat dezvoltatorul."
},
"connectionError": {
"message": "A apărut o eroare de conexiune. Cod de eroare: "
},
"openPopup": {
"message": "Deschide Popup-ul SponsorBlock"
},
"submitCheck": {
"message": "Sunteți sigur că doriți să trimiteți asta?"
},
"whitelistChannel": {
"message": "Adaugă Canalul La Excepții"
},
"removeFromWhitelist": {
"message": "Șterge Canalul De La Excepții"
},
"soFarUHSubmited": {
"message": "Până acum, ai trimis"
},
"savedPeopleFrom": {
"message": "Ai salvat alte persoane de la "
},
"viewLeaderboard": {
"message": "Vezi clasamentul"
},
"here": {
"message": "aici"
},
"clearTimesButton": {
"message": "Șterge Timpii"
},
"submitTimesButton": {
"message": "Trimite Timpii"
},
"publicStats": {
"message": "Acest lucru este folosit pe pagina publică de statistici pentru a arăta cât de mult ai contribuit. Vezi pagina"
},
"setUsername": {
"message": "Setează Numele De Utilizator"
},
"discordAdvert": {
"message": "Vino și alătură-te serverului oficial de discord pentru a oferi sugestii și feedback!"
},
"hideThis": {
"message": "Ascunde asta"
},
"Options": {
"message": "Opţiuni"
},
"showButtons": {
"message": "Arată Butoanele Pe Playerul De YouTube"
},
"hideButtons": {
"message": "Ascunde Butoanele Pe Playerul De YouTube"
},
"hideButtonsDescription": {
"message": "Asta ascunde butoanele ce apar pe playerul de YouTube pentru a trimite segmente."
},
"showInfoButton": {
"message": "Arată Butoanele De Informații Pe Playerul De YouTube"
},
"hideInfoButton": {
"message": "Ascunde Butoanele De Informații Pe Playerul De YouTube"
},
"whatInfoButton": {
"message": "Acesta este butonul care deschide popup-ul pe pagina de YouTube."
},
"hideDeleteButton": {
"message": "Ascunde Butonul De Ștergere Pe Playerul De YouTube"
},
"showDeleteButton": {
"message": "Arată Butonul De Ștergere Pe Playerul De YouTube"
},
"whatDeleteButton": {
"message": "Acest buton de pe playerul de YouTube va șterge toate segmentele netrimise pentru videoclipul curent."
},
"showNotice": {
"message": "Arată Notificarea Din Nou"
},
"website": {
"message": "Website",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Cod Sursă",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Notificarea a fost actualizată!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Dacă nu îți place, apasă butonul nu mai arăta niciodată.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Setează tasta pentru trimiterea sponsorizării"
},
"keybindDescription": {
"message": "Selectează o tastă apasând-o"
},
"keybindDescriptionComplete": {
"message": "Tasta a fost setată la: "
},
"0": {
"message": "Eroare de Conexiune. Verifică-ți conexiunea la internet. Daca internetul functionează, serverul este probabil supraîncărcat sau a căzut."
},
"disableSkipping": {
"message": "Dezactivează SponsorBlock"
},
"enableSkipping": {
"message": "Activează SponsorBlock"
},
"yourWork": {
"message": "Munca Ta",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Serverul pare să fie supraîncărcat. Încercați din nou în câteva secunde."
},
"errorCode": {
"message": "Codul Erorii: "
},
"skip": {
"message": "Sari"
},
"skipped": {
"message": "Sărit"
},
"disableAutoSkip": {
"message": "Dezactivează Autoskip"
},
"enableAutoSkip": {
"message": "Activează Autoskip"
},
"audioNotification": {
"message": "Notificare Audio Când Sari"
},
"showTimeWithSkips": {
"message": "Arată timpul cu săriturile eliminate"
},
"showTimeWithSkipsDescription": {
"message": "Acest timp apare în paranteze lângă ora curentă sub bara de progres. Aceasta arată durata totală a videoclipului minus orice segment. Aceasta include segmente marcate doar ca \"Afișare în Seekbar\"."
},
"youHaveSkipped": {
"message": "Ai sărit peste "
},
"youHaveSaved": {
"message": "V-ați salvat "
},
"minLower": {
"message": "minut"
},
"minsLower": {
"message": "minute"
},
"hourLower": {
"message": "oră"
},
"hoursLower": {
"message": "ore"
},
"youHaveSavedTime": {
"message": "Ai salvat alte persoane"
},
"youHaveSavedTimeEnd": {
"message": " din viața lor."
},
"statusReminder": {
"message": "Verificați status.sponsor.ajay.app pentru starea serverului."
},
"changeUserID": {
"message": "Importă/Exportă Id-ul Tău De Utilizator"
},
"whatChangeUserID": {
"message": "Acest lucru trebuie să fie păstrat. Este ca și o parolă și nu ar trebui împartășită cu nimeni. Daca cineva are acest lucru, se poate da drept tu."
},
"setUserID": {
"message": "Setează Id-ul Utilizatorului"
},
"userIDChangeWarning": {
"message": "Atenție: Schimbarea Id-ului Utilizatorului este permanentă. Sunteți sigur că doriți să faceți asta? Asigurați-vă că ați făcut o copie de rezervă."
},
"createdBy": {
"message": "Creat De"
},
"autoSkip": {
"message": "Sari Peste Automat"
},
"keybindCurrentlySet": {
"message": ". În prezent este setat:"
},
"supportInvidious": {
"message": "Sprijină Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) este un client YouTube terț. Pentru a susține, trebuie să acceptați permisiunile suprimentare. Această funcție NU funcționează în incognito pe Chrome sau în alte variante Chromium."
},
"optionsInfo": {
"message": "Activează suportul Invidious, dezactivează autoskip-ul, ascunde butoanele și altele."
},
"addInvidiousInstance": {
"message": "Adaugă O Instanță Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Adaugă o instanță personalizată Invidious. Aceasta trebuie să fie formatată DOAR cu domeniul. Exemplu: invidious.ajay.app"
},
"add": {
"message": "Adaugă"
},
"addInvidiousInstanceError": {
"message": "Acesta este un domeniu invalid. Acesta trebuie să includă DOAR partea de domeniu. Exemplu: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Resetează Lista De Instanțe Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Sunteți pe cale să resetați lista de instanțe Invidious"
},
"currentInstances": {
"message": "Instanțele curente:"
},
"minDuration": {
"message": "Durată minimă (secunde):"
},
"shortCheck": {
"message": "Următoarea înregistrare este mai mică decât opțiunea voastră de durată minimă. Acest lucru ar putea însemna că a fost deja trimisă și a fost ignorat datorită acestei opțiuni. Sunteți sigur că doriți să trimiteți?"
},
"showUploadButton": {
"message": "Arată Butonul De Încărcare"
},
"whatUploadButton": {
"message": "Acest buton apare pe playerul YouTube după ce ați selectat un marcaj de timp și sunteți gata să îl trimiteți."
},
"customServerAddress": {
"message": "Adresa Serverului SponsorBlock"
},
"customServerAddressDescription": {
"message": "Adresa SponsorBlock este folosită pentru a se efectua apeluri către server.\nDacă nu ai propriul tău server, acesta nu ar trebui modificat."
},
"save": {
"message": "Salvează"
},
"reset": {
"message": "Resetează"
},
"customAddressError": {
"message": "Adresa nu este în forma corectă. Asigurați-vă că http:// sau https:// se află la început."
},
"areYouSureReset": {
"message": "Sunteți sigur că doriți să resetați asta?"
},
"unlistedCheck": {
"message": "Ignoră Videoclipurile Nelistate/Private"
},
"mobileUpdateInfo": {
"message": "m.youtube.com este acum suportat"
},
"exportOptions": {
"message": "Importă/Exportă Toate Opțiunile"
},
"whatExportOptions": {
"message": "Aceasta este întreaga configurație în format JSON. Asta include si ID-ul tău de utilizator, așa că fi sigur să împărtășești asta cu înțelepciune."
},
"setOptions": {
"message": "Setează Opțiuni"
},
"exportOptionsWarning": {
"message": "Atenție: Schimbarea acestei opțiuni este permanentă și poate strica instalarea. Sunteți sigur că doriți să faceți asta? Asigurati-vă că ați făcut o copie de rezervă."
},
"incorrectlyFormattedOptions": {
"message": "Acest JSON nu este formatat corect. Opțiunile dumneavoastră nu au fost modificate."
},
"confirmNoticeTitle": {
"message": "Trimite Segment"
},
"submit": {
"message": "Trimite"
},
"cancel": {
"message": "Anulează"
},
"delete": {
"message": "Șterge"
},
"preview": {
"message": "Previzualizare"
},
"edit": {
"message": "Editare"
},
"copyDebugInformation": {
"message": "Copiază Informațiile de Depanare În Clipboard"
},
"copyDebugInformationFailed": {
"message": "Eroare la scrierea în clipboard"
},
"copyDebugInformationOptions": {
"message": "Copiază informația în clipboard pentru a fi furnizată dezvoltatorului când se găsește o eroare / când un dezvoltator o cere. Informațiile sensibile precum ID-ul de utilizator, canale exceptate, și adresa serverului personalizat au fost șterse. Însă conține informații precum useragent-ul, browser-ul, sistemul de operare, și numărul versiunii extensiei. "
},
"copyDebugInformationComplete": {
"message": "Informația de depanare a fost copiată în clipboard. Puteți elimina orice informație pe care nu doriți să o partajați. Salvați într-un fișier sau lipiți-o în raportul de erori."
},
"theKey": {
"message": "Tasta"
},
"keyAlreadyUsed": {
"message": "este deja setată la o altă acțiune. Vă rugăm să selectați o altă tastă."
},
"to": {
"message": "până la",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_sponsor_description": {
"message": "Promovare plătită, refferali plătiți și reclame directe. Nu pentru autopromovări sau promovări gratis ale cauzelor/creatorilor/website-urilor/produselor."
},
"category_intro": {
"message": "Pauză/Animație Intro"
},
"category_intro_description": {
"message": "Un interval fără conținut real. Poate fi o pauză, un cadru static, o animație care se repetă. Acestea nu ar trebui utilizate pentru tranziții care conțin informații sau nu ar trebui utilizate pe videoclipuri muzicale."
},
"category_intro_short": {
"message": "Pauză"
},
"category_outro": {
"message": "Ecran De Final/Credite"
},
"category_interaction": {
"message": "Reamintire de Interactiune (Abonare)"
},
"category_interaction_description": {
"message": "Când există o scurtă remintire pentru like, abonare sau urmărire în mijlocul conținutului. Daca este mai lung sau despre ceva specific, folosiți autopromovarea."
},
"category_interaction_short": {
"message": "Reamintire de Interacțiune"
},
"category_selfpromo": {
"message": "Promovare neplătită/autopromovare"
},
"category_selfpromo_description": {
"message": "Similar cu \"sponsorizare\" doar că este neplătit sau autopromovare. Aceasta include secțiuni despre merchandise, donații, sau informații despre cei cu care au colaborat."
},
"category_music_offtopic": {
"message": "Muzică: Secţiune Non-Muzicală"
},
"category_music_offtopic_description": {
"message": "Doar pentru videoclipuri muzicale. Include introducțiile sau outro-urile în videoclipurile muzicale."
},
"category_music_offtopic_short": {
"message": "Non-Muzical"
},
"category_livestream_messages": {
"message": "Transmisiune În Direct: Donație/Citirea Mesajelor"
},
"category_livestream_messages_short": {
"message": "Citire Mesaj"
},
"disable": {
"message": "Dezactivare"
},
"manualSkip": {
"message": "Sari Peste Manual"
},
"showOverlay": {
"message": "Arată În Bara de Derulare"
},
"colorFormatIncorrect": {
"message": "Culoarea ta este formatată incorect. Ar trebui să fie un cod hexadecimal de 3 sau 6 cifre cu un hash la început."
},
"previewColor": {
"message": "Previzualizare Culoare",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Culoarea Barei de Derulare"
},
"category": {
"message": "Categorie"
},
"skipOption": {
"message": "Opțiunea Săriturii",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Activează Serverul de Teste"
},
"whatEnableTestingServer": {
"message": "Înregistrările și voturile dumneavoastră NU VOR FI CONTORIZATE pe serverul principal. Utilizați asta doar pentru teste."
},
"testingServerWarning": {
"message": "Toate înregistrările și voturile dumneavoastră NU VOR FI CONTORIZATE pe serverul principal în timp ce vă conectați la serverul de teste. Asigurați-vă că dezactivați asta când vreți să trimiteți înregistrări reale."
},
"bracketNow": {
"message": "(Acum)"
},
"moreCategories": {
"message": "Mai multe categorii"
},
"chooseACategory": {
"message": "Alege o categorie"
},
"youMustSelectACategory": {
"message": "Trebuie să selectaţi o categorie pentru toate segmentele pe care le trimiteţi!"
},
"bracketEnd": {
"message": "(Sfârșit)"
},
"hiddenDueToDownvote": {
"message": "ascuns: downvote"
},
"hiddenDueToDuration": {
"message": "ascuns: prea scurt"
},
"channelDataNotFound": {
"message": "ID-ul Canalului nu a fost încărcat încă."
},
"adblockerIssue": {
"message": "Se pare că ceva blocheaza abilitatea extensiei SponsorBlock pentru a obține datele videoclipului. Cel mai probabil este adblocker-ul dumneavoastră. Vă rugăm să verificați https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Dacă acest lucru continuă să se întample, ar putea fi cauzat de adblocker-ul dumneavoastră. Vă rugăm să verificați \nhttps://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"downvoteDescription": {
"message": "Timpi Incorecți/Greșiți"
},
"incorrectCategory": {
"message": "Categorie Greșită"
},
"nonMusicCategoryOnMusic": {
"message": "Categoria acestui videoclip este muzică. Sunteți sigur că doriți să trimiteți segmente non-muzicale? Dacă acest videoclip nu este de fapt muzică, nu ar trebui să trimiteți acest segment. Vă rugăm să citiți recomandările dacă sunteți confuz."
},
"multipleSegments": {
"message": "Segmente Multiple"
},
"guidelines": {
"message": "Instrucțiuni"
},
"readTheGuidelines": {
"message": "Citește Instrucțiunile!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Categoriile sunt aici!"
},
"categoryUpdate2": {
"message": "Deschide opțiunile pentru a sări peste intro-uri, outro-uri, merch, etc."
},
"unsubmittedWarning": {
"message": "Notificare Segmente Netrimise"
},
"unsubmittedWarningDescription": {
"message": "Trimite o notificare atunci când părăsești un video cu segmente care nu au fost încărcate"
}
}

View File

@@ -1,52 +1,38 @@
{
"Name": {
"message": "SponsorBlock",
"description": "Название расширения, не переводится."
},
"fullName": {
"message": "SponsorBlock для YouTube - Пропускайте спонсорские вставки",
"description": "Название расширения."
"description": "Name of the extension."
},
"Description": {
"message": "Пропускайте спонсорские вставки в видео на YouTube. Сообщайте о спонсорских вставках в видео, которые Вы смотрите, чтобы сэкономить время других пользователей.",
"description": "Описание раширения."
},
"helpPage": {
"message": "index_en.html"
"message": "Пропускайте спонсорские вставки, просьбы подписаться и другое в видео на YouTube. Отправляйте информацию о спонсорах в видео, чтобы сохранять другим время.",
"description": "Description of the extension."
},
"400": {
"message": "Сервер отклонил этот запрос."
"message": "Сервер отклонил этот запрос"
},
"429": {
"message": "Вы отправили слишком много спонсоров для этого видео. Вы уверены, что их так много?"
},
"409": {
"message": "Этот запрос был отправлен ранее."
"message": "Этот запрос был отправлен ранее"
},
"channelWhitelisted": {
"message": "Канал добавлен в белый список!"
},
"Sponsor": {
"message": "Спонсор"
},
"Sponsors": {
"message": "Спонсоры"
},
"Segment": {
"message": "спонсорская вставка"
"Segment": {
"message": "вставка"
},
"Segments": {
"message": "спонсорские вставки"
"message": "вставки"
},
"noticeTitle": {
"message": "Спонсор пропущен"
"upvoteButtonInfo": {
"message": "Проголосовать за эту вставку"
},
"reportButtonTitle": {
"message": "Ошибка"
"message": "Сообщить об ошибке"
},
"reportButtonInfo": {
"message": "Сообщить, что информация об этом спонсорском сегменте ошибочна."
"message": "Сообщить об ошибке в этой вставке."
},
"Dismiss": {
"message": "Закрыть"
@@ -61,7 +47,7 @@
"message": "сек"
},
"Hide": {
"message": "Не показывать"
"message": "Никогда не показывать"
},
"hitGoBack": {
"message": "Нажмите «Назад», чтобы вернуться обратно."
@@ -75,8 +61,11 @@
"paused": {
"message": "Пауза"
},
"manualPaused": {
"message": "Таймер остановлен"
},
"confirmMSG": {
"message": "\n\nЧтобы изменить или удалить отдельные значения, нажмите кнопку «Информация» или откройте всплывающее окно расширения, щелкнув значок расширения в правом верхнем углу."
"message": "Чтобы изменить или удалить отдельные значения, нажмите кнопку «Информация» или откройте всплывающее окно расширения, щелкнув значок расширения в правом верхнем углу."
},
"clearThis": {
"message": "Вы уверены, что хотите удалить эту информацию?\n\n"
@@ -84,21 +73,20 @@
"Unknown": {
"message": "При отправке отчета о спонсорском сегменте произошла ошибка. Попытайтесь отправить его позже."
},
"sponsorFound": {
"message": "Спонсоры этого видео уже находятся в базе данных!"
"message": "Для этого видео в базе данных указаны вставки!"
},
"sponsor404": {
"message": "Спонсорские вставки не найдены"
"message": "Вставок не найдено"
},
"sponsorStart": {
"message": "Спонсорская вставка начинается сейчас"
"message": "Вставка начинается отсюда"
},
"sponsorEnd": {
"message": "Спонсорская вставка оканчивается сейчас"
"message": "Вставка заканчивается сейчас"
},
"noVideoID": {
"message": "Возможно, это не вкладка YouTube, или Вы нажали слишком рано. \n Если это вкладка YouTube,\n закройте это всплывающее окно и откройте его снова."
"message": "Видео YouTube не найдено на этой вкладке. Если вы уверены, что это вкладка YouTube, закройте это всплывающее окно и откройте его снова. Если это не поможет, перезагрузите вкладку."
},
"success": {
"message": "Успех!"
@@ -106,22 +94,524 @@
"voted": {
"message": "Голос засчитан!"
},
"voteFail": {
"message": "Вы уже проголосовали таким образом раньше."
},
"serverDown": {
"message": "Кажется, сервер не работает. Свяжитесь с разработчиком."
"message": "Кажется, сервера не работают. Незамедлительно свяжитесь с разработчиком."
},
"connectionError": {
"message": "Ошибка соединения. Код ошибки: "
},
"wantToSubmit": {
"message": "Вы точно хотите отправить отчёт о спонсорских вставках в видео с идентификатором"
"message": "Вы хотите отправить вставки для видео"
},
"leftTimes": {
"message": "Вы ещё не отправили отчёты о некоторых спонсорских вставках. Хотите вернуться на эту страницу, чтобы отправить их (они не удаляются)."
"message": "Вы ещё не отправили информацию о некоторых вставках. Вернитесь обратно, чтобы отправить их (они не удалены)."
},
"clearTimes": {
"message": "Очистить вставки"
},
"openPopup": {
"message": "Открыть всплывающее окно SponsorBlock"
},
"SubmitTimes": {
"message": "Отправить вставки"
},
"submitCheck": {
"message": "Вы уверены, что хотите отправить эту информацию?"
},
"whitelistChannel": {
"message": "Добавить канал в белый список"
},
"removeFromWhitelist": {
"message": "Удалить канал из белого списка"
},
"voteOnTime": {
"message": "Проголосовать за вставку"
},
"soFarUHSubmited": {
"message": "На данный момент Вы отправили"
},
"savedPeopleFrom": {
"message": "Вы помогли людям сэкономить "
},
"viewLeaderboard": {
"message": "Посмотреть доску почёта"
},
"here": {
"message": "здесь"
},
"recordTimesDescription": {
"message": "Нажмите кнопку ниже, когда вставка начинается и заканчивается, чтобы записать и отправить её в базу данных."
},
"popupHint": {
"message": "Подсказка: нажмите на кнопку \"Ж\" во время воспроизведения, чтобы сообщить о начале/конце вставки, и \"Э\", чтобы отправить её. (Это можно изменить в настройках)"
},
"clearTimesButton": {
"message": "Очистить время"
},
"submitTimesButton": {
"message": "Отправить время"
},
"publicStats": {
"message": "Это используется на публичной странице статистики, чтобы показать Ваш вклад. Её можно посмотреть"
},
"setUsername": {
"message": "Установить имя пользователя"
},
"discordAdvert": {
"message": "Присоединяйтесь к официальному серверу Discord, чтобы оставить предложения и обратную связь!"
},
"hideThis": {
"message": "Скрыть это"
},
"Options": {
"message": "Настройки"
},
"showButtons": {
"message": "Показывать кнопки в плеере YouTube"
},
"hideButtons": {
"message": "Скрыть кнопки в плеере YouTube"
},
"hideButtonsDescription": {
"message": "Эта настройка скрывает кнопки для отправки вставок, которые появляются в плеере YouTube."
},
"showInfoButton": {
"message": "Показывать кнопку информации в плеере YouTube"
},
"hideInfoButton": {
"message": "Скрыть кнопку информации в плеере YouTube"
},
"whatInfoButton": {
"message": "Эта кнопка открывает всплывающее окно на странице YouTube."
},
"hideDeleteButton": {
"message": "Скрыть кнопку удаления в плеере YouTube"
},
"showDeleteButton": {
"message": "Показывать кнопку удаления в плеере YouTube"
},
"whatDeleteButton": {
"message": "Эта кнопка позволяет Вам очистить все спонсорские вставки в плеере YouTube."
},
"enableViewTracking": {
"message": "Включить отслеживание количества пропусков вставок"
},
"whatViewTracking": {
"message": "Эта возможность отслеживает, какие вставки Вы пропустили, чтобы помочь пользователям узнать, насколько их вклад помог другим, и, наряду с голосами, используется как метрика, чтобы убедиться, что спам не попадает в базу данных. Расширение отправляет сообщение на сервер каждый раз, когда Вы пропускаете вставку. Надеемся, большая часть пользователей не поменяет эту настройку, так что у нас будет точная статистика просмотров. :)"
},
"showNotice": {
"message": "Показать уведомление снова"
},
"longDescription": {
"message": "SponsorBlock позволяет пропускать спонсорские вставки, начальные и конечные заставки, просьбы подписать и другое в видео на YouTube. SponsorBlock — коллективное расширение, которое позволяет каждому отправить время начала и конца подобных вставок в видео. После того, как кто-нибудь отправляет эту информацию, все остальные пользователи расширения будут автоматически пропускать эти вставки. Так же можно пропускать части клипов без музыки.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Сайт",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Исходный код",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Уведомление было обновлено!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Если оно Вам всё равно не нравится, нажмите \"не показывать\".",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setStartSponsorShortcut": {
"message": "Назначить горячую клавишу для начала вставки"
},
"setSubmitKeybind": {
"message": "Назначить горячую клавишу для отправки"
},
"keybindDescription": {
"message": "Нажмите клавишу, чтобы выбрать её"
},
"keybindDescriptionComplete": {
"message": "Клавиша назначена на: "
},
"0": {
"message": "Таймаут подключения. Проверьте ваше соединение с интернетом. Если ваш интернет работает, сервер, скорее всего, перегружен или лежит."
},
"disableSkipping": {
"message": "Отключить SponsorBlock"
},
"enableSkipping": {
"message": "Включить SponsorBlock"
},
"yourWork": {
"message": "Ваша работа",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Похоже, сервер перегружен. Попробуйте ещё раз через несколько секунд."
},
"errorCode": {
"message": "Код ошибки: "
},
"skip": {
"message": "Пропустить"
},
"skipped": {
"message": "Пропущено"
},
"disableAutoSkip": {
"message": "Отключить автоматический пропуск"
},
"enableAutoSkip": {
"message": "Включить автоматический пропуск"
},
"audioNotification": {
"message": "Аудио уведомление при пропуске"
},
"audioNotificationDescription": {
"message": "Аудио уведомление о пропуске будет воспроизводиться каждый раз, когда вставка пропущена. Если отключено (или автоматический пропуск отключён), звук не будет воспроизводиться."
},
"showTimeWithSkips": {
"message": "Показывать длительность без вставок"
},
"showTimeWithSkipsDescription": {
"message": "Эта длительность отображается в скобках рядом с фактической под полосой прокрутки. Показывает длительность видео без вставок. Включает вставки, для которых выбрано \"Отображать в полосе прокрутки\"."
},
"youHaveSkipped": {
"message": "Вы пропустили "
},
"youHaveSaved": {
"message": "Вы сэкономили "
},
"minLower": {
"message": "минуту"
},
"minsLower": {
"message": "минут"
},
"hourLower": {
"message": "час"
},
"hoursLower": {
"message": "часов"
},
"youHaveSavedTime": {
"message": "Вы сэкономили людям"
},
"youHaveSavedTimeEnd": {
"message": " их жизней."
},
"statusReminder": {
"message": "Смотрите состояние сервера на status.sponsor.ajay.app."
},
"changeUserID": {
"message": "Импортировать/экспортировать Ваш идентификатор пользователя"
},
"whatChangeUserID": {
"message": "Это нужно держать в секрете. Это как пароль, не стоит им ни с кем делиться. Если он у кого-то есть, он сможет выдать себя за Вас."
},
"setUserID": {
"message": "Установить идентификатор пользователя"
},
"userIDChangeWarning": {
"message": "Внимание: изменение идентификатора пользователя необратимо. Вы действительно хотите это сделать? Сделайте резервную копию вашего старого на всякий случай."
},
"createdBy": {
"message": "Создано"
},
"autoSkip": {
"message": "Автоматический пропуск"
},
"showSkipNotice": {
"message": "Показывать уведомление после пропуска вставки"
},
"keybindCurrentlySet": {
"message": ". Он сейчас назначен на:"
},
"supportInvidious": {
"message": "Поддержка Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) — это неофициальный клиент для YouTube. Чтобы включить поддержку, Вам понадобится принять дополнительные разрешения. Эта функция НЕ работает в режиме \"инкогнито\" в Chrome и браузерах, основанных на Chromium."
},
"optionsInfo": {
"message": "Включить поддержку Invidious, выключить автоматический пропуск, скрыть кнопки и не только."
},
"addInvidiousInstance": {
"message": "Добавить инстанс Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Добавить свой инстанс Invidious. Формат: ТОЛЬКО домен. Например, invidious.ajay.app"
},
"add": {
"message": "Добавить"
},
"addInvidiousInstanceError": {
"message": "Это неправильный домен. Введите ТОЛЬКО домен. Например, invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Сбросить список инстансов Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Вы собираетесь сбросить список инстансов Invidious"
},
"currentInstances": {
"message": "Текущие инстансы:"
},
"minDuration": {
"message": "Минимальная длительность (секунд):"
},
"minDurationDescription": {
"message": "Вставки короче этого значения не будут пропускаться и не будут показаны в плеере."
},
"shortCheck": {
"message": "Следующий диапазон времени короче, чем Ваша настройка минимальной длительности. Это может означать, что он уже был отправлен, и просто игнорируется из-за этой настройки. Вы действительно хотите отправить?"
},
"showUploadButton": {
"message": "Показывать кнопку отправки"
},
"whatUploadButton": {
"message": "Эта кнопка появляется в плеере YouTube после того, как Вы выбрали отметку времени и готовы к отправке."
},
"customServerAddress": {
"message": "Адрес сервера SponsorBlock"
},
"customServerAddressDescription": {
"message": "Адрес, по которому SponsorBlock обращается к серверу.\nМеняйте только если Вы подняли свой сервер."
},
"save": {
"message": "Сохранить"
},
"reset": {
"message": "Сбросить"
},
"customAddressError": {
"message": "Этот адрес неправильного формата. Убедитесь, что он начинается с http:// или https://, и что на конце нет слэшей."
},
"areYouSureReset": {
"message": "Вы действительно хотите это сбросить?"
},
"confirmPrivacy": {
"message": "Было обнаружено, что это видео - с доступом по ссылке. Нажмите \"отмена\", если не хотите проверять для него вставки."
},
"unlistedCheck": {
"message": "Игнорировать непубличные видео"
},
"whatUnlistedCheck": {
"message": "Эта настройка незначительно замедлит SponsorBlock. Поиск вставко требует отправки идентификатора видео на сервер. Если Вас беспокоит отправка идентификаторов скрытых видео по интернету, включите эту настройку."
},
"mobileUpdateInfo": {
"message": "m.youtube.com теперь поддерживается"
},
"exportOptions": {
"message": "Импорт/Экспорт всех настроек"
},
"whatExportOptions": {
"message": "Это вся конфигурация в формате JSON. Этот файл содержит Ваш идентификатор пользователя, поэтому не забудьте общаться с этим разумно."
},
"setOptions": {
"message": "Параметры установки"
},
"exportOptionsWarning": {
"message": "Внимание: изменение настроек необратимо и может сломать расширение. Вы действительно хотите это сделать? Сделайте резервную копию на всякий случай."
},
"incorrectlyFormattedOptions": {
"message": "JSON-файл некорректно отформатирован. Ваши настройки не были изменены."
},
"confirmNoticeTitle": {
"message": "Отправить вставку"
},
"submit": {
"message": "Отправить"
},
"cancel": {
"message": "Отменить"
},
"delete": {
"message": "Удалить"
},
"preview": {
"message": "Превью"
},
"edit": {
"message": "Редактировать"
},
"copyDebugInformation": {
"message": "Скопировать отладочную информацию в буфер обмена"
},
"copyDebugInformationFailed": {
"message": "Не удалось скопировать в буфер"
},
"copyDebugInformationOptions": {
"message": "Копирует информацию в буфер обмена, которая будет предоставлена разработчику при возникновении ошибки / по запросу разработчика. Такие сведения, как ID пользователя, список разрешенных каналов и адрес пользовательского сервера не передаются. Однако, отправляются ваш user agent, браузер, операционная система и номер версии расширения. "
},
"copyDebugInformationComplete": {
"message": "Отладочная информация скопирована в буфер обмена. Вы можете удалить любую информацию, которой не хотите делиться. Сохраните ее в текстовом файле или вставьте в отчет об ошибке."
},
"theKey": {
"message": "Клавиша"
},
"keyAlreadyUsed": {
"message": "привязана к другому действию. Пожалуйста, выберите другую клавишу."
},
"to": {
"message": "до",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Спонсор"
},
"category_sponsor_description": {
"message": "Рекламные интеграции, реферальные ссылки и реклама напрямую. Не для саморекламы или рекомендациях разных событий/создателей/сайтов/продуктов, которые нравится автору видео."
},
"category_intro": {
"message": "Пауза/заставка"
},
"category_intro_description": {
"message": "Интервал без реального содержимого. Может быть паузой, статическим кадром, повторяющейся анимацией. Это не должно использоваться для переходов, содержащих информацию или используемых в музыкальных видео."
},
"category_intro_short": {
"message": "Пауза"
},
"category_outro": {
"message": "Конечная заставка/титры"
},
"category_outro_description": {
"message": "Титры или вставки, содержащие конечные заставки YouTube. Не для частей видео с подытоживанием информации. Это не должно использоваться в музыкальных видео."
},
"category_interaction": {
"message": "Напоминание о взаимодействии (подписка)"
},
"category_interaction_description": {
"message": "Когда есть краткое напоминание поставить лайк, подписаться на канал или в соцсетях в середине содержимого. Если эта вставка длительная и о чём-то конкретном, она должна классифицироваться как самореклама."
},
"category_interaction_short": {
"message": "Напоминание о взаимодействии"
},
"category_selfpromo": {
"message": "Самореклама/рекомендация"
},
"category_selfpromo_description": {
"message": "Похоже на \"Спонсора\", но для бесплатной рекламы и саморекламы. Включает себя вставки про мерчендайз, пожертвования или информацию о тех, вместе с кем было сделано видео."
},
"category_music_offtopic": {
"message": "Музыка: Вставка без музыки"
},
"category_music_offtopic_description": {
"message": "Только для использования в музыкальных клипах. Включает в себя начальные и конечные заставки клипов."
},
"category_music_offtopic_short": {
"message": "Без музыки"
},
"category_livestream_messages": {
"message": "Прямые трансляции: пожертвование/чтение сообщения"
},
"category_livestream_messages_short": {
"message": "Чтение сообщений"
},
"disable": {
"message": "Отключить"
},
"manualSkip": {
"message": "Пропускать вручную"
},
"showOverlay": {
"message": "Показывать в полосе прокрутки"
},
"colorFormatIncorrect": {
"message": "Вы ввели неправильный параметр для цвета. Это должно быть 3-х или 6-тизначное шестнадцатеричное число с символом # в начале."
},
"previewColor": {
"message": "Предпросмотр цвета",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Цвет в полосе прокрутки"
},
"category": {
"message": "Категория"
},
"skipOption": {
"message": "Способ пропуска",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Включить сервера для бета-тестов"
},
"whatEnableTestingServer": {
"message": "Отправленные вами вставки и голоса НЕ БУДУТ ОТПРАВЛЕНЫ на главный сервер. Используйте только для тестирования."
},
"testingServerWarning": {
"message": "Все отправленные вами вставки и голоса НЕ БУДУТ ОТПРАВЛЕНЫ на главный сервер, пока вы подключены к серверу для тестов. Не забудьте отключить эту настройку, чтобы вновь отправлять на главный сервер."
},
"bracketNow": {
"message": "(Сейчас)"
},
"moreCategories": {
"message": "Прочие категории"
},
"chooseACategory": {
"message": "Выберите категорию"
},
"youMustSelectACategory": {
"message": "Вы должны выбрать категорию для всех вставок, которые вы отправляете!"
},
"bracketEnd": {
"message": "(Конец)"
},
"hiddenDueToDownvote": {
"message": "скрыто: проголосовали против"
},
"hiddenDueToDuration": {
"message": "скрыто: слишком коротко"
},
"channelDataNotFound": {
"message": "ID канала еще не загружен."
},
"adblockerIssue": {
"message": "Кажется, что-то блокирует возможность SponsorBlock'а получать видеоданные. Возможно, это ваш блокировщик рекламы. Пожалуйста, перейдите на https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Если это сообщения появляется слишком часто, это может быть вызвано вашим блокировщиком рекламы. Пожалуйста, перейдите на https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"forceChannelCheck": {
"message": "Принудительная проверка каналов перед пропуском"
},
"whatForceChannelCheck": {
"message": "По умолчанию расширение пропускает вставки сразу же, не проверяя то, какой это канал. По умолчанию некоторые вставки в начале видео могут быть пропущены на каналах из белого списка. Включение этой опции предотвратит это, но все пропуски будут иметь небольшую задержку, так как получение ID канала может занять некоторое время. Эта задержка может быть незаметной, если у вас быстрый интернет."
},
"forceChannelCheckPopup": {
"message": "Рекомендуем включить \"Принудительная проверка каналов перед пропуском\""
},
"downvoteDescription": {
"message": "Неверно указано время"
},
"incorrectCategory": {
"message": "Неверная категория"
},
"nonMusicCategoryOnMusic": {
"message": "Это видео классифицировано как музыка. Вы уверены, что хотите отправить вставки из немузыкальных категорий? Если это видео на самом деле является музыкальным клипом, вы не должны отправлять эту вставку. Пожалуйста, ознакомьтесь с рекомендациями, если Вы запутались."
},
"multipleSegments": {
"message": "Несколько вставок"
},
"guidelines": {
"message": "Руководство"
},
"readTheGuidelines": {
"message": "Прочитайте руководство!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Приветствуйте категории!"
},
"categoryUpdate2": {
"message": "Откройте настройки, чтобы пропускать начальные и конечные заставки, саморекламу и другое."
},
"unsubmittedWarning": {
"message": "Уведомления о неотправленных вставках"
},
"unsubmittedWarningDescription": {
"message": "Отправлять уведомление, когда вы уходите со страницы видео, вставки к которым Вы не загрузили"
}
}

View File

@@ -0,0 +1,132 @@
{
"reportButtonTitle": {
"message": "Nahlásiť"
},
"Loading": {
"message": "Načitávanie..."
},
"Mins": {
"message": "Minúty"
},
"Secs": {
"message": "Sekundy"
},
"Hide": {
"message": "Nikdy nezobrazovať"
},
"paused": {
"message": "Pozastavené"
},
"here": {
"message": "tu"
},
"hideThis": {
"message": "Skryť Toto"
},
"Options": {
"message": "Nastavenia"
},
"website": {
"message": "Webstránka",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Zdrojový Kód",
"description": "Used on Firefox Store Page"
},
"yourWork": {
"message": "Vaša Práca",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"errorCode": {
"message": "Kód chyby: "
},
"skip": {
"message": "Preskočiť"
},
"disableAutoSkip": {
"message": "Zakázať Automatické Preskočenie"
},
"enableAutoSkip": {
"message": "Povoliť Automatické Preskočenie"
},
"minLower": {
"message": "minúta"
},
"minsLower": {
"message": "minúty"
},
"hourLower": {
"message": "hodina"
},
"hoursLower": {
"message": "hodiny"
},
"setUserID": {
"message": "Nastaviť Používateľove ID"
},
"createdBy": {
"message": "Vytvoril"
},
"autoSkip": {
"message": "Automatické Preskočenie"
},
"add": {
"message": "Pridať"
},
"showUploadButton": {
"message": "Ukázať Nahrávacie Tlačidlo"
},
"save": {
"message": "Uložiť"
},
"reset": {
"message": "Vynulovať"
},
"setOptions": {
"message": "Nastaviť Nastavenia"
},
"submit": {
"message": "Poslať"
},
"cancel": {
"message": "Zrušiť"
},
"delete": {
"message": "Odstrániť"
},
"preview": {
"message": "Ukážka"
},
"edit": {
"message": "Upraviť"
},
"theKey": {
"message": "Kľúč"
},
"to": {
"message": "pre",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponzor"
},
"disable": {
"message": "Zakázať"
},
"manualSkip": {
"message": "Manuálne Preskočenie"
},
"bracketNow": {
"message": "(Teraz)"
},
"moreCategories": {
"message": "Viac Kategórií"
},
"bracketEnd": {
"message": "(Koniec)"
},
"channelDataNotFound": {
"message": "ID kanála nie je zatiaľ načítané."
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,457 @@
{
"fullName": {
"message": "SponsorBlock för YouTube - Hoppa över sponsring",
"description": "Name of the extension."
},
"400": {
"message": "Felaktigt anrop enligt servern"
},
"429": {
"message": "Du har rapporterat för många sponsormeddelanden för den här videon, är du säker att det finns så många?"
},
"409": {
"message": "Den här har redan blivit rapporterad"
},
"channelWhitelisted": {
"message": "Kanal vitlistad!"
},
"reportButtonTitle": {
"message": "Rapportera"
},
"reportButtonInfo": {
"message": "Rapportera det här segmentet som inkorrekt."
},
"Dismiss": {
"message": "Avfärda"
},
"Loading": {
"message": "Laddar..."
},
"Mins": {
"message": "Minuter"
},
"Secs": {
"message": "Sekunder"
},
"Hide": {
"message": "Visa Aldrig"
},
"hitGoBack": {
"message": "Tryck på Tillbaka för att ångra åtgärden."
},
"unskip": {
"message": "Tillbaka"
},
"reskip": {
"message": "Framåt"
},
"paused": {
"message": "Pausad"
},
"manualPaused": {
"message": "Timern stoppad"
},
"confirmMSG": {
"message": "Klicka på infoknappen eller öppna popup-rutan genom att klicka på tilläggets ikon i hörnet uppe till höger för att redigera eller ta bort inviduella värden."
},
"clearThis": {
"message": "Är du säker på att du vill rensa detta?\n\n"
},
"Unknown": {
"message": "Ett fel uppstod vid rapportering av sponsorsegment, försök igen senare."
},
"noVideoID": {
"message": "Kunde inte hitta någon YouTube-video i denna tab. Om du är säker på att detta är en Youtube-flik, stäng den här rutan och öppna den igen. Ladda om fliken om inte det funkar."
},
"success": {
"message": "Lyckades!"
},
"voted": {
"message": "Röstat!"
},
"serverDown": {
"message": "Det verkar som att servern är nere. Kontakta utvecklaren omedelbart."
},
"connectionError": {
"message": "Anslutningsfel. Felkod: "
},
"openPopup": {
"message": "Öppna SponsorBlock Popup"
},
"submitCheck": {
"message": "Är du säker på att du vill rapportera detta?"
},
"whitelistChannel": {
"message": "Vitlista Kanal"
},
"removeFromWhitelist": {
"message": "Ta bort kanal från vitlistan"
},
"soFarUHSubmited": {
"message": "Hitills har du rapporterat"
},
"savedPeopleFrom": {
"message": "Du har sparat andra "
},
"viewLeaderboard": {
"message": "Se leaderboarden"
},
"here": {
"message": "här"
},
"clearTimesButton": {
"message": "Rensa Tider"
},
"submitTimesButton": {
"message": "Rapportera Tider"
},
"publicStats": {
"message": "Detta kommer att användas på den publika statistiksidan för att visa hur mycket du har bidragit. Spana in den"
},
"setUsername": {
"message": "Ange Användarnamn"
},
"discordAdvert": {
"message": "Gå med i den officiella discordservern för att ge förslag och feedback!"
},
"hideThis": {
"message": "Dölj detta"
},
"Options": {
"message": "Inställningar"
},
"showButtons": {
"message": "Visa Knappar På YouTube-spelaren"
},
"hideButtons": {
"message": "Dölj Knappar På YouTube-spelaren"
},
"hideButtonsDescription": {
"message": "Detta döljer knapparna på YouTube-spelaren som du kan rapportera sponsormeddelanden med. Jag förstår att det kan se störande ut för en del. Istället för att ha knappen där kan den här popup-rutan användas för att rapportera sponsormeddelanden. För att dölja notisen som dyker upp, tryck på knappen som syns på notisen som säger \"Visa inte det här igen\". Du kan alltid slå på dessa inställningar igen senare."
},
"showInfoButton": {
"message": "Visa Infoknapp På YouTube-spelaren"
},
"hideInfoButton": {
"message": "Dölj Infoknapp På YouTube-spelaren"
},
"whatInfoButton": {
"message": "Detta är knappen som öppnar popup-rutan på YouTube-sidan."
},
"hideDeleteButton": {
"message": "Dölj \"Ta Bort\"-knappen På YouTube-spelaren"
},
"showDeleteButton": {
"message": "Visa \"Ta Bort\"-knappen På YouTube-spelaren"
},
"whatDeleteButton": {
"message": "Denna knappen tar bort alla sponsormeddelanden på YouTube-spelaren."
},
"showNotice": {
"message": "Visa Notisen Igen"
},
"website": {
"message": "Hemsida",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Källkod",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Den här notisen har förbättrats!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Om du ändå inte gillar det, tryck på \"Visa aldrig\"-knappen.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Välj knapp att koppla till rapportering av sponsormeddelande"
},
"keybindDescription": {
"message": "Koppla knapp genom att trycka på den"
},
"keybindDescriptionComplete": {
"message": "Kopplad till: "
},
"0": {
"message": "Anslutningsfel. Se över din internetanslutning. Om du kan komma åt internet så är servern förmodligen överbelastad eller nere."
},
"disableSkipping": {
"message": "Avaktivera SponsorBlock"
},
"enableSkipping": {
"message": "Aktivera SponsorBlock"
},
"yourWork": {
"message": "Ditt Bidrag",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Servern verkar vara överbelastad. Försök igen om några sekunder."
},
"errorCode": {
"message": "Felkod: "
},
"skip": {
"message": "Hoppa över"
},
"skipped": {
"message": "Skippat"
},
"disableAutoSkip": {
"message": "Avaktivera Hoppa Över Automatiskt"
},
"enableAutoSkip": {
"message": "Aktivera Hoppa Över Automatiskt"
},
"audioNotification": {
"message": "Ljudeffekt vid hopp"
},
"youHaveSkipped": {
"message": "Du har hoppat över "
},
"youHaveSaved": {
"message": "Du har sparat "
},
"minLower": {
"message": "minuter"
},
"minsLower": {
"message": "minuter"
},
"hourLower": {
"message": "timma"
},
"hoursLower": {
"message": "timmar"
},
"youHaveSavedTime": {
"message": "Du har sparat andra"
},
"youHaveSavedTimeEnd": {
"message": " av deras liv."
},
"statusReminder": {
"message": "Gå till status.sponsor.ajay.app för serverstatus."
},
"changeUserID": {
"message": "Importera/Exportera Ditt AnvändarID"
},
"whatChangeUserID": {
"message": "Detta bör hållas hemligt. Det fungerar som ett lösenord och borde inte delas vidare med någon. Om någon kommer över detta kan den personen utge sig för att vara dig."
},
"setUserID": {
"message": "Ange AnvändarID"
},
"userIDChangeWarning": {
"message": "Varning: Ändring av AnvändarID är permanent. Är du säker att du vill göra det? Se till att ta en backup av ditt gamla för säkerhets skull."
},
"createdBy": {
"message": "Skapad av"
},
"autoSkip": {
"message": "Hoppa Över Automatiskt"
},
"keybindCurrentlySet": {
"message": ". Är just nu kopplat till:"
},
"supportInvidious": {
"message": "Stöd Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) är en tredjeparts YouTube-klient. För att aktivera stöd måste du acceptera de extra behörigheterna. Detta kommer INTE att fungera i incognito i Chrome och andra Cromium-varianter."
},
"optionsInfo": {
"message": "Aktivera Invidious stöd, avaktivera hoppa över automatiskt, dölj knappar och mer."
},
"addInvidiousInstance": {
"message": "Lägg Till Invidious Instans"
},
"addInvidiousInstanceDescription": {
"message": "Lägg till en anpassad instans av Invidious. Denna måste vara formaterad med ENBART domänen. Exempelvis: invidious.ajay.app"
},
"add": {
"message": "Lägg till"
},
"addInvidiousInstanceError": {
"message": "Detta är en individuell domän. Den måste ENBART inkludera domändelen. Exempelvis: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Rensa Invidious instanslista"
},
"resetInvidiousInstanceAlert": {
"message": "Du kommer nu att rensa Invidious instanslista"
},
"currentInstances": {
"message": "Nuvarande Instanser:"
},
"minDuration": {
"message": "Minsta varaktighet (sekunder):"
},
"shortCheck": {
"message": "Följande rapport är kortare än ditt minstavärde i inställningarna. Det skulle kunna betyda att det redan är rapporterat och bara ignorerat på grund av denna inställning. Är du säker på att du vill rapportera?"
},
"showUploadButton": {
"message": "Visa Uppladdningsknapp"
},
"whatUploadButton": {
"message": "Denna knapp visas på YouTube-spelaren efter att du har valt en tidpunkt och är redo att rapportera."
},
"customServerAddress": {
"message": "SponsorBlock Serveradress"
},
"customServerAddressDescription": {
"message": "Adressen SponsorBlock använder för att prata med servern.\nOm du inte har din egen serverinstans ska den här inställningen inte ändras."
},
"save": {
"message": "Spara"
},
"reset": {
"message": "Rensa"
},
"customAddressError": {
"message": "Denna adressen är inte korrekt formaterad. Se till att du har http:// eller https:// i början och inga snedstreck i slutet."
},
"areYouSureReset": {
"message": "Är du säker på att du vill rensa?"
},
"unlistedCheck": {
"message": "Ignorera Olistade Videor"
},
"mobileUpdateInfo": {
"message": "m.youtube.com stöds nu"
},
"exportOptions": {
"message": "Importera/Exportera Alla Inställningar"
},
"whatExportOptions": {
"message": "Detta är alla dina inställningar i JSON-format. Det inkluderar ditt AnvändarID, så var nog med hur du hanterar datan."
},
"setOptions": {
"message": "Ange Inställningar"
},
"exportOptionsWarning": {
"message": "Varning: Att ändra inställningarna är permanent och kan förstöra din installation. Är du säker på att du vill göra detta? Se till att göra en backup för säkerhets skull."
},
"incorrectlyFormattedOptions": {
"message": "Denna JSON är inte korrekt formaterad. Dina inställningar har inte ändrats."
},
"confirmNoticeTitle": {
"message": "Rapportera Segment"
},
"submit": {
"message": "Skicka"
},
"cancel": {
"message": "Avbryt"
},
"delete": {
"message": "Ta bort"
},
"preview": {
"message": "Förhandsgranska"
},
"edit": {
"message": "Redigera"
},
"copyDebugInformation": {
"message": "Kopiera Debuginformation Till Urklipp"
},
"copyDebugInformationFailed": {
"message": "Misslyckades med att kopiera debuginformation till urklipp"
},
"copyDebugInformationOptions": {
"message": "Kopierar information till urklipp för att dela med en utvecklare vid rapportering av en bugg / när en utvecklare ber om det. Känslig data som AnvändarID, vitlistade kanaler, och anpassad serveradress följer inte med. Däremot innehåller det information om useragent, webbläsare, operativsystem, och tilläggsversion."
},
"copyDebugInformationComplete": {
"message": "Debuginformationen har kopierats till urklipp. Ta bort eventuell information du inte vill dela med dig av. Spara informationen i en textfil eller klistra in den i en buggrapport."
},
"theKey": {
"message": "Nyckeln"
},
"keyAlreadyUsed": {
"message": "är kopplad till en annan funktion. Välj en annan knapp."
},
"to": {
"message": "till",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsormeddelande"
},
"category_music_offtopic_description": {
"message": "Endast för användning i musikvideor. Detta inkluderar intros och outros i musikvideor."
},
"category_music_offtopic_short": {
"message": "Icke-musik"
},
"disable": {
"message": "Avaktivera"
},
"manualSkip": {
"message": "Hoppa Över Manuellt"
},
"showOverlay": {
"message": "Visa Lager Ovanpå Spelare"
},
"category": {
"message": "Kategori"
},
"enableTestingServer": {
"message": "Aktivera Server För Betatestning"
},
"whatEnableTestingServer": {
"message": "Dina rapporter och röster KOMMER INTE RÄKNAS mot huvudservern. Använd endast detta för testning."
},
"testingServerWarning": {
"message": "Alla rapporter och röster KOMMER INTE RÄKNAS mot huvudservern så länge du är ansluten mot testservern. Se till att avaktivera detta när du vill rapportera ett riktigt sponsormeddelande."
},
"bracketNow": {
"message": "(Nu)"
},
"moreCategories": {
"message": "Fler Kategorier"
},
"chooseACategory": {
"message": "Välj en kategori"
},
"youMustSelectACategory": {
"message": "Du måste välja en kategori för alla segment du skickar in!"
},
"bracketEnd": {
"message": "(Slut)"
},
"hiddenDueToDuration": {
"message": "dold: för kort"
},
"channelDataNotFound": {
"message": "Kanal-ID är inte inladdat än."
},
"adblockerIssue": {
"message": "Det verkar som om något blockerar SponsorBlocks från att hämta videodata. Det beror förmodligen på din annonsblockerare. Vänligen kontrollera https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Om detta fortsätter att inträffa, kan orsaken vara din annonsblockerare. Vänligen kontrollera https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"downvoteDescription": {
"message": "Fel timing"
},
"incorrectCategory": {
"message": "Fel kategori"
},
"nonMusicCategoryOnMusic": {
"message": "Den här videon är kategoriserad som musik. Är du säker på att du vill skicka in segment med icke-musikkategorier? Om denna video faktiskt är musik, bör du inte skicka in detta segment. Vänligen läs riktlinjerna om du är förvirrad."
},
"multipleSegments": {
"message": "Flera segment"
},
"guidelines": {
"message": "Riktlinjer"
},
"readTheGuidelines": {
"message": "Läs riktlinjerna!!",
"description": "Show the first time they submit or if they are \"high risk\""
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,480 @@
{
"fullName": {
"message": "Youtube için SponsorBlock - Sponsorlukları Atla",
"description": "Name of the extension."
},
"400": {
"message": "Sunucu isteğin geçersiz olduğunu iletti"
},
"429": {
"message": "Sadece bu video için çok fazla sponsor süresi belirtti, bu kadar fazla olduğuna emin misin?"
},
"409": {
"message": "Bu daha önce zaten gönderilmiş"
},
"channelWhitelisted": {
"message": "Kanal beyazlistede!"
},
"upvoteButtonInfo": {
"message": "Bu öneriye oy ver"
},
"reportButtonTitle": {
"message": "Raporla"
},
"reportButtonInfo": {
"message": "Bu öneriyi hatalı olarak bildir."
},
"Dismiss": {
"message": "Yoksay"
},
"Loading": {
"message": "Yükleniyor..."
},
"Mins": {
"message": "Dakika"
},
"Secs": {
"message": "Saniye"
},
"Hide": {
"message": "Asla Gösterme"
},
"hitGoBack": {
"message": "Geldiğiniz yere dönmek istiyorsanız atlama'ya basın."
},
"unskip": {
"message": "Atlama"
},
"reskip": {
"message": "Tekrar atla"
},
"paused": {
"message": "Duraklatıldı"
},
"manualPaused": {
"message": "Zamanlayıcı Durduruldu"
},
"confirmMSG": {
"message": "Değerleri tek başına düzenlemek ve silmek için, bilgi butonuna basın veya sağ yukarıdaki eklenti simgesine tıklayarak eklenti menüsünü açın."
},
"clearThis": {
"message": "Bunu silmek istediğinize emin misiniz?\n\n"
},
"Unknown": {
"message": "Sponsor sürelerini yollarken bir sorun oluştur, lütfen tekrar deneyin."
},
"noVideoID": {
"message": "Bu sekmede YouTube videosu bulunamadı. Bu sekmenin bir YouTube sekmesi olduğundan eminseniz, bu pencereyi kapatıp, tekrar açın. Eğer o da işe yaramazsa, sekmeyi yenilemeyi deneyin."
},
"success": {
"message": "Başarılı!"
},
"voted": {
"message": "Oylandı!"
},
"serverDown": {
"message": "Sunucu çökmüş gibi duruyor. Derhal geliştiriciyle iletişime geçin."
},
"connectionError": {
"message": "Bağlantı hatası oluştu. Hata kodu: "
},
"openPopup": {
"message": "SponsorBlock Penceresini Aç"
},
"submitCheck": {
"message": "Bunu göndermek istediğinize emin misiniz?"
},
"whitelistChannel": {
"message": "Kanalı Beyazlisteye Ekle"
},
"removeFromWhitelist": {
"message": "Kanalı Beyazlisteden Kaldır"
},
"soFarUHSubmited": {
"message": "Şu an kadar yolladığınız"
},
"savedPeopleFrom": {
"message": "İnsanların şu kadar vaktini kurtardınız "
},
"viewLeaderboard": {
"message": "Liderlik tablosunu görüntüle"
},
"here": {
"message": "burada"
},
"clearTimesButton": {
"message": "Süreleri Temizle"
},
"submitTimesButton": {
"message": "Süreleri Gönder"
},
"publicStats": {
"message": "Bu, ne kadar katkı sağladığınızı göstermek için herkese açık istatistik sayfasında kullanılacaktır. Görün"
},
"setUsername": {
"message": "Kullanıcı Adı Belirle"
},
"discordAdvert": {
"message": "Öneri ve geri bildirimleriniz için resmi Discord serverımıza katılın!"
},
"hideThis": {
"message": "Bunu sakla"
},
"Options": {
"message": "Ayarlar"
},
"showButtons": {
"message": "YouTube oynatıcısında Butonları Göster"
},
"hideButtons": {
"message": "YouTube Oynatıcısındaki Butonları Gizle"
},
"hideButtonsDescription": {
"message": "Bu YouTube oynatıcısındaki bölüm geçişlerini yolladığınız butonları saklayacaktır."
},
"showInfoButton": {
"message": "YouTube Oynatıcısındaki Bilgi Butonunu Göster"
},
"hideInfoButton": {
"message": "YouTube Oynatıcısındaki Bilgi Butonunu Gizle"
},
"whatInfoButton": {
"message": "Bu, YouTube sayfasında açılan pencereyi açan butondur."
},
"hideDeleteButton": {
"message": "YouTube Oynatıcısında Silme Tuşunu Gizle"
},
"showDeleteButton": {
"message": "YouTube Oynatıcısında Silme Tuşunu Göster"
},
"whatDeleteButton": {
"message": "Bu, YouTube oynatıcısındaki mevcut video için gönderilmemiş bölümleri temizleyen butondur."
},
"showNotice": {
"message": "Uyarıyı Tekrar Göster"
},
"website": {
"message": "Website",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Kaynak Kodu",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Uyarı güncellendi!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Eğer hala beğenmediyseniz, asla gösterme butonuna basın.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Gönderim için bir tuş belirleyin"
},
"keybindDescription": {
"message": "Yazarak bir tuş seçin"
},
"keybindDescriptionComplete": {
"message": "Tuş seçimi şu tuşa ayarlandı: "
},
"0": {
"message": "Bağlantı zaman aşımına uğradı. İnternet bağlantınızı kontrol ediniz. Eğer internetiniz çalışıyor ise, büyük ihtimalle sunucuya erişilemiyor veya sunucuya aşırı yüklenilmiş olabilir."
},
"disableSkipping": {
"message": "SponsorBlock'u Devredışı Bırak"
},
"enableSkipping": {
"message": "SponsorBlock'u Devreye Sok"
},
"yourWork": {
"message": "Çalışmalarınız",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Sunucuya aşırı yüklenilmiş gibi gözüküyor. Birazdan tekrar deneyin."
},
"errorCode": {
"message": "Hata Kodu: "
},
"skip": {
"message": "Atla"
},
"skipped": {
"message": "Atlandı"
},
"disableAutoSkip": {
"message": "Otomatik Atlamayı Devredışı Bırak"
},
"enableAutoSkip": {
"message": "Otomatik Atlamayı Devreye Sok"
},
"audioNotification": {
"message": "Atlamada Sesli Bildirim"
},
"youHaveSkipped": {
"message": "Bunu atladınız "
},
"youHaveSaved": {
"message": "Şu kadar süre kazandınız "
},
"minLower": {
"message": "dakika"
},
"minsLower": {
"message": "dakika"
},
"hourLower": {
"message": "saat"
},
"hoursLower": {
"message": "saat"
},
"youHaveSavedTime": {
"message": "İnsanların"
},
"youHaveSavedTimeEnd": {
"message": " kadar vaktini kurtardınız."
},
"statusReminder": {
"message": "Sunucu durumu için status.sponsor.ajay.app kontrol edin."
},
"changeUserID": {
"message": "Kullanıcı kimliğini Dışarı/İçeri Aktar"
},
"whatChangeUserID": {
"message": "Bu gizli tutulmalıdır. Bu bir şifreye benzer ve diğerleriyle paylaşılmaması gerekir. Birinin eline geçerse, sizi taklit edebilir."
},
"setUserID": {
"message": "Kullanıcı kimliği Belirle"
},
"userIDChangeWarning": {
"message": "Uyarı: Kullanıcı kimliği değiştirmek kalıcıdır. Bunu yapmak istediğinizden emin misiniz? Eskisini yedeklediğinizden emin olun."
},
"createdBy": {
"message": "Oluşturan"
},
"autoSkip": {
"message": "Otomatik Atla"
},
"keybindCurrentlySet": {
"message": ". Şu an buna ayarlı:"
},
"supportInvidious": {
"message": "Invidious'a Destek Ver"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) üçüncü parti YouTube istemcisidir. Desteği etkinleştirmek için fazladan izinlere onay vermelisiniz. Bu Chrome ve Chromium bazlı tarayıcılarda gizli pencere modunda ÇALIŞMAZ."
},
"optionsInfo": {
"message": "Invidious desteğini, otomatik atlamayı, butonları saklamayı ve daha fazlasını etkinleştir."
},
"addInvidiousInstance": {
"message": "Invidious Oluşumu Ekle"
},
"addInvidiousInstanceDescription": {
"message": "Özel Indivious oluşumu ekle. Bu SADECE alan adıyla düzenlenmelidir. Örnek: invidious.ajay.app"
},
"add": {
"message": "Ekle"
},
"addInvidiousInstanceError": {
"message": "Bu geçersiz bir alan adı. Bu SADECE alan adı kısmını içermelidir. Örnek: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Invidious Oluşum Listesini Sıfırla"
},
"resetInvidiousInstanceAlert": {
"message": "Invidious Oluşum listesini sıfırlamak üzeresiniz"
},
"currentInstances": {
"message": "Mevcut Oluşumlar:"
},
"minDuration": {
"message": "Minimum süre (saniye):"
},
"shortCheck": {
"message": "Sıradaki öneri belirlediğiniz minimum süre ayarından daha kısa. Bu zaten yollandığı ve bu ayardan dolayı yok sayıldığı anlamına gelebilir. Göndermek istediğinizden emin misiniz?"
},
"showUploadButton": {
"message": "Karşıya Yükleme Butonunu Göster"
},
"whatUploadButton": {
"message": "Bu buton, YouTube oynatıcısında bir zaman seçtiğiniz ve göndermeye hazır olduğunuzda gözükür."
},
"customServerAddress": {
"message": "SponsorBlock Sunucu Adresi"
},
"customServerAddressDescription": {
"message": "SponsorBlock'un sunucu ile iletişimi sağlamak için kullandığı adres.\nKendi sunucu kopyanız olmadığı sürece bu değiştirilmemelidir."
},
"save": {
"message": "Kaydet"
},
"reset": {
"message": "Sıfırla"
},
"customAddressError": {
"message": "Bu adres doğru formatta değil. Başında http:// veya https:// olduğundan ve sonda / işareti olmadığından emin olun."
},
"areYouSureReset": {
"message": "Bunu sıfırlamak istediğinize emin misiniz?"
},
"unlistedCheck": {
"message": "Listedışı/Özel Videoları Görmezden Gel"
},
"mobileUpdateInfo": {
"message": "m.youtube.com şu an desteklenmektedir"
},
"exportOptions": {
"message": "Bütün Ayarlarını İçe/Dışa Aktar"
},
"whatExportOptions": {
"message": "Bu, JSON formatında bütün kurulumunuzu gösterir. Kullanıcı kimliğinizi içerir, bu sebeple paylaşırken dikkatli olun."
},
"setOptions": {
"message": "Seçenekleri Ayarla"
},
"exportOptionsWarning": {
"message": "Uyarı: Ayarları değiştirmek kalıcıdır ve yüklemenizi bozabilir. Bunu yapmak istediğinizden emin misiniz? Eskisini yenilediğinizden emin olun."
},
"incorrectlyFormattedOptions": {
"message": "Bu JSON doğru formatlanmamış. Ayarlarınız değiştirilmedi."
},
"confirmNoticeTitle": {
"message": "Bölüm Gönder"
},
"submit": {
"message": "Gönder"
},
"cancel": {
"message": "İptal"
},
"delete": {
"message": "Sil"
},
"preview": {
"message": "Önizle"
},
"edit": {
"message": "Düzenle"
},
"copyDebugInformation": {
"message": "Onarım Bilgisini Panoya Kopyala"
},
"copyDebugInformationFailed": {
"message": "Panoya kopyalanamadı"
},
"copyDebugInformationOptions": {
"message": "Panoya, geliştiricinin hata gideriminde veya ulaşmak istediğinde geliştiriciye sağlamak üzerine bilgileri kaydeder. Kullanıcı kimliği, beyaz listenizdeki kanallar ve düzenlenmiş sunucu adresleri gibi hassas bilgiler silinmiştir. Ancak tarayıcı bilgileri, işletim sisteminiz ve eklenti numaranız gibi bilgileri içerebilir. "
},
"copyDebugInformationComplete": {
"message": "Bu çözüm bilgisi panoya kopyalandı. Paylaşmak istemediğiniz herhangi bir bilgiyi silmekte özgürsünüz. Bir yazı dosyası olarak kaydedin veya hata raporuna kopyalayın."
},
"theKey": {
"message": "Anahtar"
},
"keyAlreadyUsed": {
"message": "başka bir eyleme bağlı. Lütfen başka bir anahtar seçin."
},
"to": {
"message": "'e",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "Sponsor"
},
"category_outro": {
"message": "Bitiş Ekranı/Jenerik"
},
"category_interaction": {
"message": "Etkileşim Hatırlatıcısı (Abonelik)"
},
"category_selfpromo": {
"message": "Karşılıksız/Kendi Reklamı"
},
"category_music_offtopic": {
"message": "Müzik: Müzik Olmayan Bölüm"
},
"category_livestream_messages": {
"message": "Canlı Yayın: Bağış/Mesaj Okuma"
},
"disable": {
"message": "Devredışı"
},
"manualSkip": {
"message": "Elle Atla"
},
"showOverlay": {
"message": "Arama Çubuğunda Göster"
},
"previewColor": {
"message": "Önizleme Rengi",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "Oynatma Çubuğu Rengi"
},
"category": {
"message": "Kategori"
},
"skipOption": {
"message": "Atlama Seçeneği",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Beta Deneme Sunucusunu Devreye Sok"
},
"whatEnableTestingServer": {
"message": "Önerileriniz ve oylarınız ana sunucuya GÖNDERİLMEYECEKTİR. Bunu sadece deneme amacıyla kullanın."
},
"testingServerWarning": {
"message": "Tüm öneriler ve oylar, test sunucusuna bağlandığınız sürece ana sunucuya iletilmeyecektir. Gerçek öneriler yapmak istediğinizde bu ayarı kapatmayı unutmayın."
},
"bracketNow": {
"message": "(Şimdi)"
},
"moreCategories": {
"message": "Daha Fazla Kategori"
},
"bracketEnd": {
"message": "(Son)"
},
"hiddenDueToDownvote": {
"message": "gizlendi: eksile"
},
"hiddenDueToDuration": {
"message": "gizlendi: çok kısa"
},
"channelDataNotFound": {
"message": "Kanal kimliği henüz yüklenmedi."
},
"adblockerIssue": {
"message": "Bir şeyin SponsorBlock'un video bilgisi almasını engelliyor gibi görünüyor. Bu reklam engelleyiciniz olabilir. Lütfen şu adresi kontrol edin https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "Bunu sürekli yaşıyorsanız, reklam engelleyiciniz tarafından gerçekleşiyor olabilir. https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests adresini kontrol edin."
},
"downvoteDescription": {
"message": "Hatalı/Yanlış Zaman"
},
"incorrectCategory": {
"message": "Yanlış Kategori"
},
"nonMusicCategoryOnMusic": {
"message": "Bu videonun kategorisi müzik olarak belirlenmiş. Müzik içermeyen bölümleri göndermek istediğinize emin misiniz? Eğer bu bir müzik videosu değilse, bu bölümleri göndermemelisiniz. Eğer ayırt edemiyorsanız, lütfen rehberi okuyunuz."
},
"multipleSegments": {
"message": "Birden Çok Bölüm"
},
"guidelines": {
"message": "Kılavuz"
},
"readTheGuidelines": {
"message": "Kılavuzu Oku!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Kategoriler burada!"
}
}

View File

@@ -0,0 +1,368 @@
{
"fullName": {
"message": "SponsorBlock для YouTube - Пропускайте спонсорські вставки",
"description": "Name of the extension."
},
"400": {
"message": "Сервер відхилив цей запит"
},
"429": {
"message": "Ви відправили занадто багато спонсорів для цього відео. Ви впевнені, що їх так багато?"
},
"409": {
"message": "Цей запит був відправлений раніше"
},
"channelWhitelisted": {
"message": "Канал доданий у білий список!"
},
"reportButtonTitle": {
"message": "Помилка"
},
"Dismiss": {
"message": "Закрити"
},
"Loading": {
"message": "Завантаження..."
},
"Mins": {
"message": "хв"
},
"Secs": {
"message": "сек"
},
"Hide": {
"message": "Не відображати"
},
"hitGoBack": {
"message": "Натисніть «Назад», щоб повернутися назад."
},
"unskip": {
"message": "Назад"
},
"reskip": {
"message": "Пропустити"
},
"paused": {
"message": "Пауза"
},
"confirmMSG": {
"message": "Щоб змінити або видалити окремі значення, натисніть кнопку «Інформація» або відкрийте спливаюче вікно розширення, клацнувши значок розширення в правому верхньому куті."
},
"clearThis": {
"message": "Ви впевнені, що хочете видалити цю інформацію?\n\n"
},
"Unknown": {
"message": "При надсиланні звіту про спонсорський сегмент сталася помилка. Спробуйте надіслати його пізніше."
},
"noVideoID": {
"message": "Можливо, це не вкладка YouTube, або Ви натиснули занадто рано.\n  Якщо це вкладка YouTube,\n  закрийте це спливаюче вікно і відкрийте його знову."
},
"success": {
"message": "Успіх!"
},
"voted": {
"message": "Голос зарахований!"
},
"connectionError": {
"message": "Помилка з'єднання. Код помилки: "
},
"openPopup": {
"message": "Відкрийте спливаюче вікно SponsorBlock"
},
"submitCheck": {
"message": "Ви впевнені, що хочете надіслати цю інформацію?"
},
"whitelistChannel": {
"message": "Додати канал в білий список"
},
"removeFromWhitelist": {
"message": "Видалити канал з білого списку"
},
"soFarUHSubmited": {
"message": "На даний момент Ви надіслали"
},
"savedPeopleFrom": {
"message": "Ви допомогли людям заощадити "
},
"viewLeaderboard": {
"message": "Подивитися дошку пошани"
},
"here": {
"message": "тут"
},
"clearTimesButton": {
"message": "Очистити час"
},
"submitTimesButton": {
"message": "Надіслати час"
},
"publicStats": {
"message": "Воно використовується на публічній сторінці статистики, щоб показати Ваш внесок. Її можна подивитися"
},
"setUsername": {
"message": "Встановити ім'я користувача"
},
"discordAdvert": {
"message": "Приєднуйтесь до офіційного сервера Discord, щоб залишити пропозиції і зворотний зв'язок!"
},
"hideThis": {
"message": "Приховати це"
},
"Options": {
"message": "Налаштування"
},
"showButtons": {
"message": "Показувати кнопки в плеєрі YouTube"
},
"hideButtons": {
"message": "Приховати кнопки в плеєрі YouTube"
},
"hideButtonsDescription": {
"message": "Це налаштування приховує кнопки для надсилання спонсорських вставок, які з'являються в плеєрі YouTube."
},
"showInfoButton": {
"message": "Показувати кнопку інформації в плеєрі YouTube"
},
"hideInfoButton": {
"message": "Приховати кнопку інформації в плеєрі YouTube"
},
"whatInfoButton": {
"message": "Ця кнопка відкриває спливаюче вікно на сторінці YouTube."
},
"hideDeleteButton": {
"message": "Приховати кнопку видалення в плеєрі YouTube"
},
"showDeleteButton": {
"message": "Показувати кнопку видалення в плеєрі YouTube"
},
"whatDeleteButton": {
"message": "Ця кнопка дозволяє очистити всі спонсорські вставки в плеєрі YouTube."
},
"showNotice": {
"message": "Показувати сповіщення знову"
},
"website": {
"message": "Сайт",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Вихідний код",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Повідомлення було оновлено!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Якщо воно Вам все одно не подобається, натисніть «не показувати\".",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "Призначити гарячу клавішу для надсилання"
},
"keybindDescription": {
"message": "Натисніть, щоб вибрати її"
},
"keybindDescriptionComplete": {
"message": "Кнопка призначена на: "
},
"0": {
"message": "Таймаут підключення. Перевірте ваше з'єднання з інтернетом. Якщо ваш інтернет працює, сервер, швидше за все, перевантажений або лежить."
},
"disableSkipping": {
"message": "Відключити SponsorBlock"
},
"enableSkipping": {
"message": "Увімкнути SponsorBlock"
},
"yourWork": {
"message": "Ваша робота",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Схоже, він перевантажений. Спробуйте ще раз через кілька секунд."
},
"errorCode": {
"message": "Код помилки: "
},
"skip": {
"message": "Пропустити"
},
"skipped": {
"message": "Пропущено"
},
"disableAutoSkip": {
"message": "Вимкнути автоматичний пропуск"
},
"enableAutoSkip": {
"message": "Увімкнути автоматичний пропуск"
},
"audioNotification": {
"message": "Аудіо сповіщення при пропуску"
},
"youHaveSkipped": {
"message": "Ви пропустили "
},
"youHaveSaved": {
"message": "Ви заощадили "
},
"minLower": {
"message": "хвилину"
},
"minsLower": {
"message": "хвилин"
},
"hourLower": {
"message": "година"
},
"hoursLower": {
"message": "годин"
},
"youHaveSavedTime": {
"message": "Ви заощадили людям"
},
"youHaveSavedTimeEnd": {
"message": " їх життя."
},
"statusReminder": {
"message": "Дивіться стан сервера на status.sponsor.ajay.app."
},
"changeUserID": {
"message": "Імпортувати/Експортувати Ваш ідентифікатор користувача"
},
"whatChangeUserID": {
"message": "Це потрібно тримати в секреті. Це як пароль, не варто ним ні з ким ділитися. Якщо він у кого-то є, він зможе видати себе за Вас."
},
"setUserID": {
"message": "Встановити ідентифікатор користувача"
},
"userIDChangeWarning": {
"message": "Увага: зміна ідентифікатора користувача є незворотнім. Ви дійсно хочете це зробити? Зробіть резервну копію вашого старого про всяк випадок."
},
"createdBy": {
"message": "Створено"
},
"autoSkip": {
"message": "Автоматичний пропуск"
},
"keybindCurrentlySet": {
"message": ". Він зараз призначений на:"
},
"supportInvidious": {
"message": "Підтримка Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) - це неофіційний клієнт для YouTube. Щоб увімкнути підтримку, Вам знадобиться прийняти додаткові дозволи. Ця функція НЕ працює в режимі \"інкогніто\" в Chrome і браузерах, заснованих на Chromium."
},
"optionsInfo": {
"message": "Увімкнути підтримку Invidious, вимкнути автоматичний пропуск, приховати кнопки і не тільки."
},
"addInvidiousInstance": {
"message": "Додати інстанси Invidious"
},
"addInvidiousInstanceDescription": {
"message": "Додати свій інстанси Invidious. Формат: ТІЛЬКИ домен. Наприклад: invidious.ajay.app"
},
"add": {
"message": "Додати"
},
"addInvidiousInstanceError": {
"message": "Це неправильний домен. Введіть ТІЛЬКИ домен. Наприклад: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Скинути список інстанси Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "Ви збираєтеся скинути список інстанси Invidious"
},
"currentInstances": {
"message": "Поточні інстанси:"
},
"minDuration": {
"message": "Мінімальна тривалість (секунд):"
},
"shortCheck": {
"message": "Наступний діапазон часу коротше, ніж Ваше налаштування мінімальної тривалості. Це може означати, що він вже був надісланий, і просто ігнорується через це налаштування. Ви дійсно хочете надіслати?"
},
"showUploadButton": {
"message": "Показувати кнопку надсилання"
},
"whatUploadButton": {
"message": "Ця кнопка з'являється в плеєрі YouTube після того, як Ви вибрали позначку часу і готові до надсилання."
},
"customServerAddress": {
"message": "Адреса сервера SponsorBlock"
},
"customServerAddressDescription": {
"message": "Адреса, за якою SponsorBlock звертається до сервера.\nМіняйте тільки якщо Ви підняли свій сервер."
},
"save": {
"message": "Зберегти"
},
"reset": {
"message": "Скинути"
},
"customAddressError": {
"message": "Ця адреса неправильного формату. Переконайтеся, що він починається з http: // або https: //, і що на кінці немає слеша."
},
"areYouSureReset": {
"message": "Ви дійсно хочете це скинути?"
},
"unlistedCheck": {
"message": "Ігнорувати непублічні відео"
},
"mobileUpdateInfo": {
"message": "m.youtube.com тепер підтримується"
},
"exportOptions": {
"message": "Імпорт/Експорт всіх налаштувань"
},
"whatExportOptions": {
"message": "Це вся конфігурація в форматі JSON. Цей файл містить Ваш ідентифікатор користувача, тому не забудьте ділитися з цим розумно."
},
"setOptions": {
"message": "Встановити параметри"
},
"confirmNoticeTitle": {
"message": "Надіслати сегмент"
},
"submit": {
"message": "Надіслати"
},
"cancel": {
"message": "Скасувати"
},
"delete": {
"message": "Видалити"
},
"preview": {
"message": "Попередній перегляд"
},
"edit": {
"message": "Редагувати"
},
"theKey": {
"message": "Ключ"
},
"category_sponsor": {
"message": "Спонсор"
},
"disable": {
"message": "Вимкнути"
},
"manualSkip": {
"message": "Пропуск вручну"
},
"bracketNow": {
"message": "(Зараз)"
},
"moreCategories": {
"message": "Більше категорій"
},
"bracketEnd": {
"message": "(Кінець)"
},
"incorrectCategory": {
"message": "Невірна категорія"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,492 @@
{
"fullName": {
"message": "SponsorBlock for YouTube - 跳过赞助商广告",
"description": "Name of the extension."
},
"400": {
"message": "服务器说此请求无效"
},
"429": {
"message": "您为这个视频提交了太长的赞助商广告时间,您确定有这么多吗?"
},
"409": {
"message": "它之前已经被提交过了"
},
"channelWhitelisted": {
"message": "频道已加入白名单!"
},
"upvoteButtonInfo": {
"message": "为这个提交点赞"
},
"reportButtonTitle": {
"message": "报告"
},
"reportButtonInfo": {
"message": "报告此提交不正确。"
},
"Dismiss": {
"message": "忽略"
},
"Loading": {
"message": "加载中..."
},
"Mins": {
"message": "分钟"
},
"Secs": {
"message": "秒"
},
"Hide": {
"message": "不再显示"
},
"hitGoBack": {
"message": "点击取消跳过以回到您原来的样子。"
},
"unskip": {
"message": "取消跳过"
},
"reskip": {
"message": "继续跳过"
},
"paused": {
"message": "已暂停"
},
"manualPaused": {
"message": "计时器已停止"
},
"confirmMSG": {
"message": "要编辑或删除个别值,请点击信息按钮或通过点击右上角的扩展图标打开扩展弹窗。"
},
"clearThis": {
"message": "您确定要清空它吗?\n\n"
},
"Unknown": {
"message": "提交您的赞助商广告时间时出错。请稍后再试。"
},
"noVideoID": {
"message": "在此标签页未找到 Youtube 视频。如果您确定这是一个 Youtube 页面,请关闭此弹窗并重新打开。如果那没用,请尝试重新加载页面。"
},
"success": {
"message": "成功 "
},
"voted": {
"message": "已投票!"
},
"serverDown": {
"message": "服务器似乎已宕机。请立即联系开发者。"
},
"connectionError": {
"message": "连接错误。错误代码: "
},
"openPopup": {
"message": "打开 SponsorBlock 弹窗"
},
"submitCheck": {
"message": "您确定要提交它吗?"
},
"whitelistChannel": {
"message": "白名单频道"
},
"removeFromWhitelist": {
"message": "将频道移出白名单"
},
"soFarUHSubmited": {
"message": "您目前已提交"
},
"savedPeopleFrom": {
"message": "您已为人们节省了 "
},
"viewLeaderboard": {
"message": "查看排行榜"
},
"here": {
"message": "这里"
},
"clearTimesButton": {
"message": "清除时间"
},
"submitTimesButton": {
"message": "提交时间"
},
"publicStats": {
"message": "这被用于在公开统计页面上展示您的贡献。查看它"
},
"setUsername": {
"message": "设定用户名"
},
"discordAdvert": {
"message": "快加入官方 Discord 服务器来提供建议与反馈!"
},
"hideThis": {
"message": "隐藏它"
},
"Options": {
"message": "选项"
},
"showButtons": {
"message": "在 Youtube 播放器上显示按钮"
},
"hideButtons": {
"message": "在 Youtube 播放器上隐藏按钮"
},
"hideButtonsDescription": {
"message": "这将隐藏在 YouTube 播放器上提交赞助商广告的按钮。我了解这个东西打扰到了某些人。除了使用那个按钮,这个弹窗也可以用来提交赞助商广告。 要隐藏出现的通知,请使用通知中显示的写着 ”不再显示“ 的按钮。您可以在以后再次启用这些设置。"
},
"showInfoButton": {
"message": "在 Youtube 播放器上显示信息按钮"
},
"hideInfoButton": {
"message": "在 Youtube 播放器上隐藏信息按钮"
},
"whatInfoButton": {
"message": "此按钮用于在 Youtube 页面中打开弹窗。"
},
"hideDeleteButton": {
"message": "在 Youtube 播放器上隐藏删除按钮"
},
"showDeleteButton": {
"message": "在 Youtube 播放器上显示删除按钮"
},
"whatDeleteButton": {
"message": "此按钮用于在 Youtube 播放器中清除所有赞助商广告。"
},
"showNotice": {
"message": "重新显示通知"
},
"website": {
"message": "网站",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "源代码",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "通知已升级!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "如果您依然不喜欢它,请按下不再显示按钮。",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSubmitKeybind": {
"message": "设定提交的绑定按键"
},
"keybindDescription": {
"message": "点击您想选择的按键"
},
"keybindDescriptionComplete": {
"message": "绑定按键已被设定为: "
},
"0": {
"message": "连接超时。请检查您的网络连接。如果您的网络运行正常,则可能是服务器过载或宕机。"
},
"disableSkipping": {
"message": "禁用 SponsorBlock"
},
"enableSkipping": {
"message": "启用 SponsorBlock"
},
"yourWork": {
"message": "您的成果",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "服务器似乎已过载。请稍后再试。"
},
"errorCode": {
"message": "错误代码: "
},
"skip": {
"message": "跳过"
},
"skipped": {
"message": "跳过"
},
"disableAutoSkip": {
"message": "禁用自动跳过"
},
"enableAutoSkip": {
"message": "启用自动跳过"
},
"audioNotification": {
"message": "跳过时音频通知"
},
"youHaveSkipped": {
"message": "您已跳过 "
},
"youHaveSaved": {
"message": "您为自己节省了 "
},
"minLower": {
"message": "分钟"
},
"minsLower": {
"message": "分钟"
},
"hourLower": {
"message": "小时"
},
"hoursLower": {
"message": "小时"
},
"youHaveSavedTime": {
"message": "您为人们节省了"
},
"youHaveSavedTimeEnd": {
"message": " 的生命。"
},
"statusReminder": {
"message": "在 status.sponsor.ajay.app 检查服务器状态。"
},
"changeUserID": {
"message": "导入/导出您的用户 ID"
},
"whatChangeUserID": {
"message": "这应该被保密。这就像一个密码,且不应该告诉任何人。如果有人拥有它,他就可以冒充您。"
},
"setUserID": {
"message": "设定用户 ID"
},
"userIDChangeWarning": {
"message": "警告:更改用户 ID 是永久性的。您确定要这么做吗?请务必备份您的旧用户 ID 以防万一。"
},
"createdBy": {
"message": "创建者"
},
"autoSkip": {
"message": "自动跳过"
},
"keybindCurrentlySet": {
"message": "。目前被设定为:"
},
"supportInvidious": {
"message": "支持 Invidious"
},
"supportInvidiousDescription": {
"message": "Invidious (invidio.us) 是一个第三方 Youtube 客户端。要启用支持,您必须允许额外的权限。在 Chrome 及其他 Chromium 变种的匿名模式中无法工作。"
},
"optionsInfo": {
"message": "启用 Invidious 支持,禁用自动跳过,隐藏按钮等等。"
},
"addInvidiousInstance": {
"message": "添加 Invidious 实例"
},
"addInvidiousInstanceDescription": {
"message": "添加一个 Invidious 自定义实例。它必须是只有域名的格式。例如invidious.ajay.app"
},
"add": {
"message": "添加"
},
"addInvidiousInstanceError": {
"message": "这是一个无效的域名。它应该只包括域名部分。例如invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "重置 Invidious 实例列表"
},
"resetInvidiousInstanceAlert": {
"message": "您将会重置 Invidious 实例列表"
},
"currentInstances": {
"message": "当前实例:"
},
"minDuration": {
"message": "最小持续时间(秒)"
},
"shortCheck": {
"message": "以下的提交短于您的最小持续时间选项。这代表它们可能已经被提交,只是由于该选项被忽略了。您确定要提交吗?"
},
"showUploadButton": {
"message": "显示上传按钮"
},
"whatUploadButton": {
"message": "在您选择了时间并准备提交后,此按钮会出现在 Youtube 播放器中。"
},
"customServerAddress": {
"message": "SponsorBlock 服务器地址"
},
"customServerAddressDescription": {
"message": "SponsorBlock 用于联系服务器的地址。\n除非您有自己的服务器实例否则这不应该更改。"
},
"save": {
"message": "保存"
},
"reset": {
"message": "重置"
},
"customAddressError": {
"message": "此地址格式不正确。请确保开头有 http:// 或 https:// ,结尾没有斜杠 / 。"
},
"areYouSureReset": {
"message": "您确定要重置它吗?"
},
"unlistedCheck": {
"message": "忽略未找到记录的视频"
},
"mobileUpdateInfo": {
"message": "现已支持 m.youtube.com"
},
"exportOptions": {
"message": "导入/导出所有选项"
},
"whatExportOptions": {
"message": "这是您全部配置的 JSON 格式。它包含了您的用户 ID ,所以您一定要谨慎的保管它。"
},
"setOptions": {
"message": "设定选项"
},
"exportOptionsWarning": {
"message": "警告:更改选项是永久性的且可能破坏您安装的东西。您确定要这么做吗?请确保已备份旧文件以防万一。"
},
"incorrectlyFormattedOptions": {
"message": "此 JSON 格式不正确。您的选项尚未更改。"
},
"confirmNoticeTitle": {
"message": "提交片段"
},
"submit": {
"message": "提交"
},
"cancel": {
"message": "取消"
},
"delete": {
"message": "删除"
},
"preview": {
"message": "预览"
},
"edit": {
"message": "编辑"
},
"copyDebugInformation": {
"message": "复制调试信息到剪贴板"
},
"copyDebugInformationFailed": {
"message": "复制到剪贴板失败"
},
"copyDebugInformationOptions": {
"message": "复制信息到剪贴板,在提交错误或开发者需要时提供给他。 敏感信息如您的用户ID白名单频道和自定义服务器地址等已被删除。然而它仍然包含诸如您的 useragent ,浏览器,操作系统和扩展版本号等信息。 "
},
"copyDebugInformationComplete": {
"message": "调试信息已复制到剪切板中。 您可以随意移除任何您不想分享的信息。请将其另存为 .txt 文件或粘贴到错误报告中。"
},
"theKey": {
"message": "按键"
},
"keyAlreadyUsed": {
"message": "已绑定其他操作。请选择其他按键。"
},
"to": {
"message": "到",
"description": "Used between segments. Example: 1:20 to 1:30"
},
"category_sponsor": {
"message": "赞助商广告"
},
"category_outro": {
"message": "结束画面/结尾职员表"
},
"category_interaction": {
"message": "互动提醒(订阅)"
},
"category_interaction_short": {
"message": "互动提醒"
},
"category_selfpromo": {
"message": "未收钱的/自我推销"
},
"category_music_offtopic": {
"message": "音乐:非音乐部分"
},
"category_music_offtopic_short": {
"message": "无音乐"
},
"category_livestream_messages": {
"message": "直播:捐赠/消息阅读"
},
"category_livestream_messages_short": {
"message": "阅读消息"
},
"disable": {
"message": "禁用"
},
"manualSkip": {
"message": "手动跳过"
},
"showOverlay": {
"message": "在搜索栏中显示"
},
"previewColor": {
"message": "预览颜色",
"description": "Referring to submissions that have not been sent to the server yet."
},
"seekBarColor": {
"message": "拖动条颜色"
},
"category": {
"message": "类别"
},
"skipOption": {
"message": "跳过选项",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "启用 Beta 测试服务器"
},
"whatEnableTestingServer": {
"message": "您的提交和投票将不会计入主服务器。它只被用于测试。"
},
"testingServerWarning": {
"message": "当连接到测试服务器时,所有的提交和投票将不会计入主服务器。当您想要进行真实提交时,请确保禁用了此选项。"
},
"bracketNow": {
"message": "(现在)"
},
"moreCategories": {
"message": "更多类别"
},
"bracketEnd": {
"message": "(结束)"
},
"hiddenDueToDownvote": {
"message": "隐藏:差评"
},
"hiddenDueToDuration": {
"message": "隐藏:过短"
},
"channelDataNotFound": {
"message": "频道 ID 尚未加载。"
},
"adblockerIssue": {
"message": "似乎某些东西正在阻止 SponsorBlock 获取视频数据的功能。它很可能是您的广告拦截器。请查看 https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"itCouldBeAdblockerIssue": {
"message": "如果这种情况不断发生,它可能是由您的广告拦截器引起的。请查看 https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests"
},
"downvoteDescription": {
"message": "不正确/错误的时间"
},
"incorrectCategory": {
"message": "错误的类别"
},
"nonMusicCategoryOnMusic": {
"message": "此视频被归类为音乐。您确定要提交带有非音乐类别的片段吗?除非此视频实际上不是音乐,否则您不应提交此片段。如果您感到困惑,请阅读指南。"
},
"multipleSegments": {
"message": "多个片段"
},
"guidelines": {
"message": "指南"
},
"readTheGuidelines": {
"message": "阅读指南!!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "类别在这里!"
},
"categoryUpdate2": {
"message": "打开选项,跳过开头,结尾,商业等。"
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -11,11 +11,28 @@
z-index: 40;
}
.sbHidden {
display: none !important;
}
.previewbar {
display: inline-block;
height: 100%;
}
/* Preview Bar page hacks */
.sbTooltipTwoTitleThumbnailOffset {
bottom: -5px !important;
}
.sbTooltipOneTitleThumbnailOffset {
bottom: 10px !important;
}
/* */
.popup {
z-index: 10;
width: 100%;
@@ -80,11 +97,15 @@
border-radius: 5px;
animation: fadeIn 0.5s;
border-spacing: 5px 10px;
padding-left: 5px;
padding-right: 5px;
border-collapse: unset;
}
.sponsorSkipNoticeFadeIn {
animation: fadeIn 0.5s;
}
.sponsorSkipNoticeFadeOut {
@@ -119,6 +140,7 @@
color: rgb(235, 235, 235);
border: none;
display: inline-block;
font-size: 13.3333px !important;
cursor: pointer;
@@ -158,6 +180,7 @@
.sponsorSkipNoticeCloseButton {
height: 10px;
width: 10px;
box-sizing: unset;
padding: 2px 5px;
@@ -311,4 +334,84 @@
.sponsorSkipDontShowButton:active {
position:relative;
top:1px;
}
/* Submission Notice */
.sponsorTimeDisplay {
font-size: 15px;
}
.sponsorTimeEditButton {
text-decoration: underline;
margin-left: 20px;
margin-right: 20px;
font-size: 13px;
cursor: pointer;
}
.sponsorTimeEdit > input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sponsorTimeMessagesRow {
max-height: 300px;
display: flex;
overflow: auto;
}
.sponsorTimeEdit {
font-size: 14px;
-moz-appearance: textfield;
}
.sponsorTimeEditMinutes {
width: 30px;
}
.sponsorTimeEditSeconds {
width: 60px;
}
.sponsorNowButton {
font-size: 11px;
cursor: pointer;
text-decoration: underline;
}
.sponsorTimeCategories {
margin-top: 5px;
margin-bottom: 5px;
background-color: rgba(28, 28, 28, 0.9);
border-color: rgb(130,0,0,0.9);
color: white;
border-width: 3px;
padding: 3px;
}
.helpButton {
}
.helpButton {
height: 25px;
cursor: pointer;
padding: 5px;
margin: auto;
top: 0;
bottom: 0;
position: absolute;
}
.helpButton:hover {
filter: brightness(80%);
}

View File

@@ -30,15 +30,15 @@
Come contribute, make some suggestions and help out in the Discord: <a href="https://discord.gg/QnmVMpU">https://discord.gg/QnmVMpU</a>
</p>
<div class="center">
<a class="bigText" href="/options/options.html">Enable optional features</a>
</div>
<p style="margin-bottom: 0" class="bigText center">Please review the options below</p>
<p>
Some features, such as support for non third-party YouTube sites, are disabled by default and can be enabled in the options. These can be enabled or disabled at any time.
Many features are disabled by default. If you want to skip Intros, outros, use Invidious, please enable the specific options. These can be enabled or disabled at any time.
You can also hide/show all UI elements added to the YouTube page.
</p>
<iframe src="../options/options.html#embed" width="100%" height="500px" style="border: none"></iframe>
<h1>How skipping works</h1>
<p class="projectPreview">

BIN
public/icons/beep.ogg Normal file

Binary file not shown.

58
public/icons/help.svg Normal file
View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24"
viewBox="0 0 24 24"
width="24"
version="1.1"
id="svg6"
sodipodi:docname="help.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="730"
inkscape:window-height="480"
id="namedview8"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6" />
<path
d="M0 0h24v24H0z"
fill="none"
id="path2" />
<path
d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"
id="path4"
style="fill:#ffffff" />
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24"
viewBox="0 0 24 24"
width="24"
version="1.1"
id="svg6"
sodipodi:docname="thumbs_down.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="730"
inkscape:window-height="480"
id="namedview8"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6" />
<path
d="M0 0h24v24H0z"
fill="none"
id="path2" />
<path
d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
id="path4"
style="fill:#ffffff" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 24 24"
fill="black"
width="18px"
height="18px"
version="1.1"
id="svg6"
sodipodi:docname="thumbs_up.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="730"
inkscape:window-height="480"
id="namedview8"
showgrid="false"
inkscape:zoom="13.111111"
inkscape:cx="9"
inkscape:cy="9"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6" />
<path
d="M0 0h24v24H0V0z"
fill="none"
id="path2" />
<path
d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"
id="path4"
style="fill:#ffffff" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -323,4 +323,31 @@ svg {
font-size: 14px;
color: white;
}
/* React styles */
.categoryTableElement {
font-size: 16px;
color: white;
}
.categoryTableElement > * {
padding-right: 15px;
padding-bottom: 15px;
}
.categoryOptionsSelector {
background-color: #c00000;
color: white;
border: none;
font-size: 14px;
padding: 5px;
border-radius: 5px;
}
.categoryColorTextBox {
width: 60px;
}

View File

@@ -12,18 +12,25 @@
<body class="sponsorBlockPageBody">
<div id="title">
<div id="title" class="titleBar">
<img src="../icons/LogoSponsorBlocker256px.png" height="80" class="profilepic"/>
SponsorBlock
</div>
<div class="center">
<p class="createdBy">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<p class="createdBy titleBar">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<h1>__MSG_Options__</h1>
<div id="options" class="hidden">
<div id="category-type" option-type="react-CategoryChooserComponent">
</div>
<br/>
<br/>
<div id="support-invidious" option-type="toggle" sync-option="supportInvidious">
<label class="switch-container" label-name="__MSG_supportInvidious__">
<label class="switch">
@@ -76,24 +83,6 @@
<br/>
<br/>
<div option-type="toggle" toggle-type="reverse" sync-option="disableAutoSkip">
<label class="switch-container" label-name="__MSG_autoSkip__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_autoSkipDescription__</div>
</div>
<br/>
<br/>
<div option-type="keybind-change" sync-option="startSponsorKeybind">
<div class="option-button trigger-button">
@@ -160,6 +149,40 @@
</label>
</div>
<br/>
<br/>
<div option-type="toggle" sync-option="unsubmittedWarning">
<label class="switch-container" label-name="__MSG_unsubmittedWarning__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_unsubmittedWarningDescription__</div>
</div>
<br/>
<br/>
<div option-type="toggle" sync-option="forceChannelCheck">
<label class="switch-container" label-name="__MSG_forceChannelCheck__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_whatForceChannelCheck__</div>
</div>
<br/>
<br/>
@@ -230,9 +253,9 @@
<br/>
<br/>
<div option-type="toggle" sync-option="autoUpvote">
<label class="switch-container" label-name="__MSG_enableAutoUpvote__">
<div option-type="toggle" sync-option="audioNotificationOnSkip">
<label class="switch-container" label-name="__MSG_audioNotification__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
@@ -242,9 +265,26 @@
<br/>
<br/>
<div class="small-description">__MSG_whatAutoUpvote__</div>
<div class="small-description">__MSG_audioNotificationDescription__</div>
</div>
<br/>
<br/>
<div option-type="toggle" sync-option="showTimeWithSkips">
<label class="switch-container" label-name="__MSG_showTimeWithSkips__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_showTimeWithSkipsDescription__</div>
</div>
<br/>
<br/>
@@ -305,6 +345,62 @@
</div>
</div>
<br/>
<br/>
<div option-type="private-text-change" sync-option="*" confirm-message="exportOptionsWarning">
<div class="option-button trigger-button">
__MSG_exportOptions__
</div>
<br/>
<div class="small-description">__MSG_whatExportOptions__</div>
<div class="option-hidden-section hidden">
<br/>
<input class="option-text-box" type="text">
<br/>
<br/>
<div class="option-button text-change-set">
__MSG_setOptions__
</div>
</div>
</div>
<br/>
<br/>
<div option-type="button-press" sync-option="copyDebugInformation" confirm-message="copyDebugInformation">
<div class="option-button trigger-button">
__MSG_copyDebugInformation__
</div>
<br/>
<div class="small-description">__MSG_copyDebugInformationOptions__</div>
</div>
<br/>
<br/>
<div option-type="toggle" sync-option="testingServer" confirm-message="testingServerWarning">
<label class="switch-container" label-name="__MSG_enableTestingServer__">
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_whatEnableTestingServer__</div>
</div>
<br/>
<br/>

View File

@@ -39,10 +39,8 @@ sub.popupElement {
vertical-align: text-bottom;
}
.popupElement {
font-family: 'Source Sans Pro', sans-serif;
color: black;
.logoText {
color: white;
}
h1.popupElement {
@@ -52,12 +50,21 @@ h1.popupElement {
.popupBody {
font-size: 14px;
background-color: #ffd9d9;
background-color: #333;
padding: 0px 5px;
font-family: 'Source Sans Pro', sans-serif;
color: #dddddd;
}
.outerPopupBody {
background-color: #222626;
overflow-y: scroll;
}
.discreteLink.popupElement {
color: black;
color: #dddddd;
}
.recordingSubtitle.popupElement {
@@ -102,7 +109,7 @@ h1.popupElement {
}
.whitelistButton.popupElement {
background-color:#3acc3a;
background-color:#27a52d;
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
@@ -114,13 +121,15 @@ h1.popupElement {
padding:8px 37px;
text-decoration:none;
text-shadow:0px 0px 0px #27663c;
}
transition: 0.01s background-color;
}
.whitelistButton:hover.popupElement {
background-color:#218b26;
background-color:#3acc3a;
}
.whitelistButton:focus.popupElement {
outline: none;
background-color:#218b26;
background-color:#3acc3a;
}
.whitelistButton:active.popupElement {
position:relative;
@@ -128,25 +137,27 @@ h1.popupElement {
}
.greenButton.popupElement {
background-color:#ec1c1c;
background-color:#cc1717;
-moz-border-radius:28px;
-webkit-border-radius:28px;
border-radius:28px;
border:1px solid #d31919;
border: none;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:16px;
padding:8px 37px;
text-decoration:none;
text-shadow:0px 0px 0px #662727;
text-shadow:0px 0px 0px #662727;
transition: 0.01s background-color;
}
.greenButton:hover.popupElement {
background-color:#bf2a2a;
background-color:#ec1c1c;
}
.greenButton:focus.popupElement {
outline: none;
background-color:#bf2a2a;
background-color:#ec1c1c;
}
.greenButton:active.popupElement {
position:relative;
@@ -154,14 +165,11 @@ h1.popupElement {
}
.dangerButton.popupElement {
-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
box-shadow:inset 0px 1px 0px 0px #cf866c;
background-color:#d0451b;
background-color:#bc3315;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
border:1px solid #942911;
border: none;
display:inline-block;
cursor:pointer;
color:#ffffff;
@@ -171,11 +179,11 @@ h1.popupElement {
text-shadow:0px 1px 0px #854629;
}
.dangerButton:hover.popupElement {
background-color:#bc3315;
background-color:#d0451b;
}
.dangerButton:focus.popupElement {
outline: none;
background-color:#bc3315;
background-color:#d0451b;
}
.dangerButton:active.popupElement {
position:relative;
@@ -183,14 +191,11 @@ h1.popupElement {
}
.warningButton.popupElement {
-moz-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
-webkit-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
box-shadow:inset 0px 1px 0px 0px #cfbd6c;
background-color:#d0821b;
background-color:#bc8215;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
border:1px solid #948b11;
border: none;
display:inline-block;
cursor:pointer;
color:#ffffff;
@@ -200,11 +205,11 @@ h1.popupElement {
text-shadow:0px 1px 0px #856829;
}
.warningButton:hover.popupElement {
background-color:#bc8215;
background-color:#d0821b;
}
.warningButton:focus.popupElement {
outline: none;
background-color:#bc8215;
background-color:#d0821b;
}
.warningButton:active.popupElement {
position:relative;

View File

@@ -5,12 +5,12 @@
<link id="sponsorBlockStyleSheet" rel="stylesheet" type="text/css" href="popup.css"/>
</head>
<body class="popupBody">
<body class="outerPopupBody">
<center>
<div id="app" class="popupBody sponsorBlockPageBody">
<h1 class="popupElement">
<h1 class="popupElement logoText">
<img src="icons/IconSponsorBlocker256px.png" height="32px" id="sponsorBlockPopupLogo"/>
__MSG_Name__
SponsorBlock
</h1>
<!-- Loading text -->
@@ -38,30 +38,14 @@
<sub class="popupElement">__MSG_popupHint__</sub>
<div id="submissionSection" class="popupElement" style="display: none">
<h3 class="popupElement">__MSG_lastTimes__</h3>
<b>
<div id="sponsorMessageTimes" class="popupElement">
</div>
</b>
<b>Sponsor Editing has been moved and will appear after you click submit</b>
<br/>
<button id="clearTimes" class="smallButton popupElement">__MSG_clearTimesButton__</button>
<div id="submitTimesContainer" class="popupElement" style="display: none">
<br/>
<br/>
<button id="submitTimes" class="smallButton popupElement">__MSG_submitTimesButton__</button>
<div id="submitTimesInfoMessageContainer" class="popupElement" style="display: none">
<h3 id="submitTimesInfoMessage" class="popupElement">
</h3>
</div>
</div>
</div>
@@ -85,6 +69,10 @@
<button id="whitelistChannel" class="whitelistButton popupElement">__MSG_whitelistChannel__</button>
<button id="unwhitelistChannel" class="whitelistButton popupElement" style="display: none">__MSG_removeFromWhitelist__</button>
<div id="whitelistForceCheck" style="text-decoration: underline; cursor: pointer;display: none">
__MSG_forceChannelCheckPopup__
</div>
</div>
<br/>
@@ -145,7 +133,7 @@
<span id="sponsorTimesSkipsDoneDisplay" class="popupElement">
0
</span>
<span id="sponsorTimesSkipsDoneEndWord" class="popupElement">__MSG_Segments__</span> (since February).
<span id="sponsorTimesSkipsDoneEndWord" class="popupElement">__MSG_Segments__</span>
</div>
<div id="sponsorTimeSavedContainer" class="popupElement" style="display: none">

View File

@@ -1,5 +1,8 @@
import * as Types from "./types";
import * as CompileConfig from "../config.json";
import Config from "./config";
// Make the config public for debugging purposes
(<any> window).SB = Config;
import Utils from "./utils";
var utils = new Utils({
@@ -27,39 +30,31 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
switch(request.message) {
case "openConfig":
chrome.runtime.openOptionsPage();
return
case "submitTimes":
submitTimes(request.videoID, callback);
//this allows the callback to be called later by the submitTimes function
return true;
case "addSponsorTime":
addSponsorTime(request.time, request.videoID, callback);
//this allows the callback to be called later
return true;
case "getSponsorTimes":
getSponsorTimes(request.videoID, function(sponsorTimes) {
return;
case "sendRequest":
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {
callback({
sponsorTimes
responseText: await response.text(),
status: response.status,
ok: response.ok
});
});
//this allows the callback to be called later
return true;
case "submitVote":
submitVote(request.type, request.UUID, callback);
submitVote(request.type, request.UUID, request.category).then(callback);
//this allows the callback to be called later
return true;
case "alertPrevious":
chrome.notifications.create("stillThere" + Math.random(), {
type: "basic",
title: chrome.i18n.getMessage("wantToSubmit") + " " + request.previousVideoID + "?",
message: chrome.i18n.getMessage("leftTimes"),
iconUrl: "./icons/LogoSponsorBlocker256px.png"
});
if (Config.config.unsubmittedWarning) {
chrome.notifications.create("stillThere" + Math.random(), {
type: "basic",
title: chrome.i18n.getMessage("wantToSubmit") + " " + request.previousVideoID + "?",
message: chrome.i18n.getMessage("leftTimes"),
iconUrl: "./icons/LogoSponsorBlocker256px.png"
});
}
case "registerContentScript":
registerFirefoxContentScript(request);
return false;
@@ -85,10 +80,6 @@ chrome.runtime.onInstalled.addListener(function (object) {
const newUserID = utils.generateUserID();
//save this UUID
Config.config.userID = newUserID;
//TODO: Remove when invidious support is old
// Don't show this to new users
Config.config.invidiousUpdateInfoShowCount = 6;
}
}, 1500);
});
@@ -121,39 +112,7 @@ function unregisterFirefoxContentScript(id: string) {
delete contentScriptRegistrations[id];
}
//gets the sponsor times from memory
function getSponsorTimes(videoID, callback) {
let sponsorTimes = [];
let sponsorTimesStorage = Config.config.sponsorTimes.get(videoID);
if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) {
sponsorTimes = sponsorTimesStorage;
}
callback(sponsorTimes);
}
function addSponsorTime(time, videoID, callback) {
getSponsorTimes(videoID, function(sponsorTimes) {
//add to sponsorTimes
if (sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length < 2) {
//it is an end time
sponsorTimes[sponsorTimes.length - 1][1] = time;
} else {
//it is a start time
let sponsorTimesIndex = sponsorTimes.length;
sponsorTimes[sponsorTimesIndex] = [];
sponsorTimes[sponsorTimesIndex][0] = time;
}
//save this info
Config.config.sponsorTimes.set(videoID, sponsorTimes);
callback();
});
}
function submitVote(type, UUID, callback) {
async function submitVote(type: number, UUID: string, category: string) {
let userID = Config.config.userID;
if (userID == undefined || userID === "undefined") {
@@ -162,79 +121,63 @@ function submitVote(type, UUID, callback) {
Config.config.userID = userID;
}
//publish this vote
utils.sendRequestToServer("POST", "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + "&type=" + type, function(xmlhttp, error) {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
callback({
successType: 1
});
} else if (xmlhttp.readyState == 4 && xmlhttp.status == 405) {
//duplicate vote
callback({
successType: 0,
statusCode: xmlhttp.status
});
} else if (error) {
//error while connect
callback({
successType: -1,
statusCode: xmlhttp.status
});
}
let typeSection = (type !== undefined) ? "&type=" + type : "&category=" + category;
});
//publish this vote
let response = await asyncRequestToServer("POST", "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + typeSection);
if (response.ok) {
return {
successType: 1
};
} else if (response.status == 405) {
//duplicate vote
return {
successType: 0,
statusCode: response.status
};
} else {
//error while connect
return {
successType: -1,
statusCode: response.status
};
}
}
async function submitTimes(videoID, callback) {
//get the video times from storage
let sponsorTimes = Config.config.sponsorTimes.get(videoID);
let userID = Config.config.userID;
if (sponsorTimes != undefined && sponsorTimes.length > 0) {
let durationResult = <Types.videoDurationResponse> await new Promise((resolve, reject) => {
chrome.tabs.query({
active: true,
currentWindow: true
}, function(tabs) {
chrome.tabs.sendMessage(tabs[0].id, {
message: "getVideoDuration"
}, (response) => resolve(response));
});
});
async function asyncRequestToServer(type: string, address: string, data = {}) {
let serverAddress = Config.config.testingServer ? CompileConfig.testingServerAddress : Config.config.serverAddress;
//check if a sponsor exceeds the duration of the video
for (let i = 0; i < sponsorTimes.length; i++) {
if (sponsorTimes[i][1] > durationResult.duration) {
sponsorTimes[i][1] = durationResult.duration;
}
return await (sendRequestToCustomServer(type, serverAddress + address, data));
}
/**
* Sends a request to the specified url
*
* @param type The request type "GET", "POST", etc.
* @param address The address to add to the SponsorBlock server address
* @param callback
*/
async function sendRequestToCustomServer(type: string, url: string, data = {}) {
// If GET, convert JSON to parameters
if (type.toLowerCase() === "get") {
for (const key in data) {
let seperator = url.includes("?") ? "&" : "?";
let value = (typeof(data[key]) === "string") ? data[key]: JSON.stringify(data[key]);
url += seperator + key + "=" + value;
}
//submit these times
for (let i = 0; i < sponsorTimes.length; i++) {
//to prevent it from happeneing twice
let increasedContributionAmount = false;
//submit the sponsorTime
utils.sendRequestToServer("GET", "/api/postVideoSponsorTimes?videoID=" + videoID + "&startTime=" + sponsorTimes[i][0] + "&endTime=" + sponsorTimes[i][1]
+ "&userID=" + userID, function(xmlhttp, error) {
if (xmlhttp.readyState == 4 && !error) {
callback({
statusCode: xmlhttp.status
});
if (xmlhttp.status == 200) {
//save the amount contributed
if (!increasedContributionAmount) {
increasedContributionAmount = true;
Config.config.sponsorTimesContributed = Config.config.sponsorTimesContributed + sponsorTimes.length;
}
} else if (error) {
callback({
statusCode: -1
});
}
}
});
}
data = null;
}
const response = await fetch(url, {
method: type,
headers: {
'Content-Type': 'application/json'
},
redirect: 'follow',
body: data ? JSON.stringify(data) : null
});
return response;
}

View File

@@ -0,0 +1,72 @@
import * as React from "react";
import Config from "../config"
import * as CompileConfig from "../../config.json";
import CategorySkipOptionsComponent from "./CategorySkipOptionsComponent";
export interface CategoryChooserProps {
}
export interface CategoryChooserState {
}
class CategoryChooserComponent extends React.Component<CategoryChooserProps, CategoryChooserState> {
constructor(props: CategoryChooserProps) {
super(props);
// Setup state
this.state = {
}
}
render() {
return (
<table id="categoryChooserTable"
className="categoryChooserTable">
<tbody>
{/* Headers */}
<tr id={"CategoryOptionsRow"}
className="categoryTableElement categoryTableHeader">
<td id={"CategoryOptionName"}>
{chrome.i18n.getMessage("category")}
</td>
<td id={"CategorySkipOption"}>
{chrome.i18n.getMessage("skipOption")}
</td>
<td id={"CategoryColorOption"}>
{chrome.i18n.getMessage("seekBarColor")}
</td>
<td id={"CategoryPreviewColorOption"}>
{chrome.i18n.getMessage("previewColor")}
</td>
</tr>
{this.getCategorySkipOptions()}
</tbody>
</table>
);
}
getCategorySkipOptions(): JSX.Element[] {
let elements: JSX.Element[] = [];
for (const category of CompileConfig.categoryList) {
elements.push(
<CategorySkipOptionsComponent category={category}
key={category}>
</CategorySkipOptionsComponent>
);
}
return elements;
}
}
export default CategoryChooserComponent;

View File

@@ -0,0 +1,203 @@
import * as React from "react";
import Config from "../config"
import { CategorySkipOption } from "../types";
import Utils from "../utils";
const utils = new Utils();
export interface CategorySkipOptionsProps {
category: string;
defaultColor?: string;
defaultPreviewColor?: string;
}
export interface CategorySkipOptionsState {
color: string;
previewColor: string;
}
class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsProps, CategorySkipOptionsState> {
constructor(props: CategorySkipOptionsProps) {
super(props);
// Setup state
this.state = {
color: props.defaultColor || Config.config.barTypes[this.props.category].color,
previewColor: props.defaultPreviewColor || Config.config.barTypes["preview-" + this.props.category].color,
}
}
render() {
let defaultOption = "disable";
// Set the default opton properly
for (const categorySelection of Config.config.categorySelections) {
if (categorySelection.name === this.props.category) {
switch (categorySelection.option) {
case CategorySkipOption.ShowOverlay:
defaultOption = "showOverlay";
break;
case CategorySkipOption.ManualSkip:
defaultOption = "manualSkip";
break;
case CategorySkipOption.AutoSkip:
defaultOption = "autoSkip";
break;
}
break;
}
}
return (
<>
<tr id={this.props.category + "OptionsRow"}
className="categoryTableElement">
<td id={this.props.category + "OptionName"}
className="categoryTableLabel">
{chrome.i18n.getMessage("category_" + this.props.category)}
</td>
<td id={this.props.category + "SkipOption"}>
<select
className="categoryOptionsSelector"
defaultValue={defaultOption}
onChange={this.skipOptionSelected.bind(this)}>
{this.getCategorySkipOptions()}
</select>
</td>
<td id={this.props.category + "ColorOption"}>
<input
className="categoryColorTextBox option-text-box"
type="text"
onChange={(event) => this.setColorState(event, false)}
value={this.state.color} />
</td>
<td id={this.props.category + "PreviewColorOption"}>
<input
className="categoryColorTextBox option-text-box"
type="text"
onChange={(event) => this.setColorState(event, true)}
value={this.state.previewColor} />
</td>
<td id={this.props.category + "SaveButton"}>
<div
className="option-button trigger-button"
onClick={() => this.save()}>
{chrome.i18n.getMessage("save")}
</div>
</td>
</tr>
<tr id={this.props.category + "DescriptionRow"}
className="small-description">
<td
colSpan={2}>
{chrome.i18n.getMessage("category_" + this.props.category + "_description")}
</td>
</tr>
</>
);
}
skipOptionSelected(event: React.ChangeEvent<HTMLSelectElement>): void {
let option: CategorySkipOption;
this.removeCurrentCategorySelection();
switch (event.target.value) {
case "disable":
return;
case "showOverlay":
option = CategorySkipOption.ShowOverlay;
break;
case "manualSkip":
option = CategorySkipOption.ManualSkip;
break;
case "autoSkip":
option = CategorySkipOption.AutoSkip;
break;
}
Config.config.categorySelections.push({
name: this.props.category,
option: option
});
// Forces the Proxy to send this to the chrome storage API
Config.config.categorySelections = Config.config.categorySelections;
}
/** Removes this category from the config list of category selections */
removeCurrentCategorySelection(): void {
// Remove it if it exists
for (let i = 0; i < Config.config.categorySelections.length; i++) {
if (Config.config.categorySelections[i].name === this.props.category) {
Config.config.categorySelections.splice(i, 1);
// Forces the Proxy to send this to the chrome storage API
Config.config.categorySelections = Config.config.categorySelections;
break;
}
}
}
getCategorySkipOptions(): JSX.Element[] {
let elements: JSX.Element[] = [];
let optionNames = ["disable", "showOverlay", "manualSkip", "autoSkip"];
for (const optionName of optionNames) {
elements.push(
<option key={optionName} value={optionName}>
{chrome.i18n.getMessage(optionName)}
</option>
);
}
return elements;
}
setColorState(event: React.ChangeEvent<HTMLInputElement>, preview: boolean) {
if (preview) {
this.setState({
previewColor: event.target.value
});
} else {
this.setState({
color: event.target.value
});
}
}
// Save text box data
save() {
// Validate colors
let checkVar = [this.state.color, this.state.previewColor]
for (const color of checkVar) {
if (color[0] !== "#" || (color.length !== 7 && color.length !== 4) || !utils.isHex(color.slice(1))) {
alert(chrome.i18n.getMessage("colorFormatIncorrect") + " " + color.slice(1) + " " + utils.isHex(color.slice(1)) + " " + utils.isHex("abcd123"));
return;
}
}
// Save colors
Config.config.barTypes[this.props.category].color = this.state.color;
Config.config.barTypes["preview-" + this.props.category].color = this.state.previewColor;
// Make listener get called
Config.config.barTypes = Config.config.barTypes;
}
}
export default CategorySkipOptionsComponent;

View File

@@ -0,0 +1,273 @@
import * as React from "react";
export interface NoticeProps {
noticeTitle: string,
maxCountdownTime?: () => number,
amountOfPreviousNotices?: number,
timed?: boolean,
idSuffix?: string,
fadeIn?: boolean,
// Callback for when this is closed
closeListener: () => void,
zIndex?: number
}
export interface NoticeState {
noticeTitle: string,
maxCountdownTime?: () => number,
countdownTime: number,
countdownText: string,
countdownManuallyPaused: boolean,
}
class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
countdownInterval: NodeJS.Timeout;
idSuffix: any;
amountOfPreviousNotices: number;
constructor(props: NoticeProps) {
super(props);
let maxCountdownTime = () => {
if (this.props.maxCountdownTime) return this.props.maxCountdownTime();
else return 4;
};
//the id for the setInterval running the countdown
this.countdownInterval = null;
this.amountOfPreviousNotices = props.amountOfPreviousNotices || 0;
this.idSuffix = props.idSuffix || "";
// Setup state
this.state = {
noticeTitle: props.noticeTitle,
maxCountdownTime,
//the countdown until this notice closes
countdownTime: maxCountdownTime(),
countdownText: null,
countdownManuallyPaused: false
}
}
componentDidMount() {
this.startCountdown();
}
render() {
let noticeStyle: React.CSSProperties = {
zIndex: this.props.zIndex || (50 + this.amountOfPreviousNotices)
}
return (
<table id={"sponsorSkipNotice" + this.idSuffix}
className={"sponsorSkipObject sponsorSkipNotice" + (this.props.fadeIn ? " sponsorSkipNoticeFadeIn" : "")}
style={noticeStyle}
onMouseEnter={() => this.timerMouseEnter()}
onMouseLeave={() => this.timerMouseLeave()}>
<tbody>
{/* First row */}
<tr id={"sponsorSkipNoticeFirstRow" + this.idSuffix}>
{/* Left column */}
<td>
{/* Logo */}
<img id={"sponsorSkipLogo" + this.idSuffix}
className="sponsorSkipLogo sponsorSkipObject"
src={chrome.extension.getURL("icons/IconSponsorBlocker256px.png")}>
</img>
<span id={"sponsorSkipMessage" + this.idSuffix}
className="sponsorSkipMessage sponsorSkipObject">
{this.state.noticeTitle}
</span>
</td>
{/* Right column */}
<td className="sponsorSkipNoticeRightSection"
style={{top: "11px"}}>
{/* Time left */}
{this.props.timed ? (
<span id={"sponsorSkipNoticeTimeLeft" + this.idSuffix}
onClick={() => this.toggleManualPause()}
className="sponsorSkipObject sponsorSkipNoticeTimeLeft">
{this.state.countdownText || (this.state.countdownTime + "s")}
</span>
) : ""}
{/* Close button */}
<img src={chrome.extension.getURL("icons/close.png")}
className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeCloseButton sponsorSkipNoticeRightButton"
onClick={() => this.close()}>
</img>
</td>
</tr>
{this.props.children}
</tbody>
</table>
);
}
timerMouseEnter() {
if (this.state.countdownManuallyPaused) return;
this.pauseCountdown();
}
timerMouseLeave() {
if (this.state.countdownManuallyPaused) return;
this.startCountdown();
}
toggleManualPause() {
this.setState({
countdownManuallyPaused: !this.state.countdownManuallyPaused
}, () => {
if (this.state.countdownManuallyPaused) {
this.pauseCountdown();
} else {
this.startCountdown();
}
});
}
//called every second to lower the countdown before hiding the notice
countdown() {
if (!this.props.timed) return;
let countdownTime = this.state.countdownTime - 1;
if (countdownTime <= 0) {
//remove this from setInterval
clearInterval(this.countdownInterval);
//time to close this notice
this.close();
return;
}
if (countdownTime == 3) {
//start fade out animation
let notice = document.getElementById("sponsorSkipNotice" + this.idSuffix);
notice.style.removeProperty("animation");
notice.classList.add("sponsorSkipNoticeFadeOut");
}
this.setState({
countdownTime
})
}
pauseCountdown() {
if (!this.props.timed) return;
//remove setInterval
clearInterval(this.countdownInterval);
this.countdownInterval = null;
//reset countdown and inform the user
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: this.state.countdownManuallyPaused ? chrome.i18n.getMessage("manualPaused") : chrome.i18n.getMessage("paused")
});
//remove the fade out class if it exists
let notice = document.getElementById("sponsorSkipNotice" + this.idSuffix);
notice.classList.remove("sponsorSkipNoticeFadeOut");
notice.style.animation = "none";
}
startCountdown() {
if (!this.props.timed) return;
//if it has already started, don't start it again
if (this.countdownInterval !== null) return;
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: null
});
this.countdownInterval = setInterval(this.countdown.bind(this), 1000);
}
resetCountdown() {
if (!this.props.timed) return;
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: null
});
}
/**
* @param silent If true, the close listener will not be called
*/
close(silent?: boolean) {
//remove setInterval
if (this.countdownInterval !== null) clearInterval(this.countdownInterval);
if (!silent) this.props.closeListener();
}
changeNoticeTitle(title) {
this.setState({
noticeTitle: title
});
}
addNoticeInfoMessage(message: string, message2: string = "") {
//TODO: Replace
let previousInfoMessage = document.getElementById("sponsorTimesInfoMessage" + this.idSuffix);
if (previousInfoMessage != null) {
//remove it
document.getElementById("sponsorSkipNotice" + this.idSuffix).removeChild(previousInfoMessage);
}
let previousInfoMessage2 = document.getElementById("sponsorTimesInfoMessage" + this.idSuffix + "2");
if (previousInfoMessage2 != null) {
//remove it
document.getElementById("sponsorSkipNotice" + this.idSuffix).removeChild(previousInfoMessage2);
}
//add info
let thanksForVotingText = document.createElement("p");
thanksForVotingText.id = "sponsorTimesInfoMessage" + this.idSuffix;
thanksForVotingText.className = "sponsorTimesInfoMessage";
thanksForVotingText.innerText = message;
//add element to div
document.querySelector("#sponsorSkipNotice" + this.idSuffix + " > tbody").insertBefore(thanksForVotingText, document.getElementById("sponsorSkipNoticeSpacer" + this.idSuffix));
if (message2 !== undefined) {
let thanksForVotingText2 = document.createElement("p");
thanksForVotingText2.id = "sponsorTimesInfoMessage" + this.idSuffix + "2";
thanksForVotingText2.className = "sponsorTimesInfoMessage";
thanksForVotingText2.innerText = message2;
//add element to div
document.querySelector("#sponsorSkipNotice" + this.idSuffix + " > tbody").insertBefore(thanksForVotingText2, document.getElementById("sponsorSkipNoticeSpacer" + this.idSuffix));
}
}
}
export default NoticeComponent;

View File

@@ -0,0 +1,37 @@
import * as React from "react";
export interface NoticeTextSelectionProps {
text: string,
idSuffix: string,
onClick?: (event: React.MouseEvent) => any
}
export interface NoticeTextSelectionState {
}
class NoticeTextSelectionComponent extends React.Component<NoticeTextSelectionProps, NoticeTextSelectionState> {
constructor(props: NoticeTextSelectionProps) {
super(props);
}
render() {
let style: React.CSSProperties = {};
if (this.props.onClick) {
style.cursor = "pointer";
style.textDecoration = "underline"
}
return (
<p id={"sponsorTimesInfoMessage" + this.props.idSuffix}
onClick={this.props.onClick}
style={style}
className="sponsorTimesInfoMessage">
{this.props.text}
</p>
);
}
}
export default NoticeTextSelectionComponent;

View File

@@ -0,0 +1,543 @@
import * as React from "react";
import * as CompileConfig from "../../config.json";
import Config from "../config"
import { ContentContainer, SponsorHideType, SponsorTime } from "../types";
import Utils from "../utils";
var utils = new Utils();
import NoticeComponent from "./NoticeComponent";
import NoticeTextSelectionComponent from "./NoticeTextSectionComponent";
enum SkipNoticeAction {
None,
Upvote,
Downvote,
CategoryVote,
Unskip
}
export interface SkipNoticeProps {
segments: SponsorTime[];
autoSkip: boolean;
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer;
closeListener: () => void
}
export interface SkipNoticeState {
noticeTitle: string;
messages: string[];
messageOnClick: (event: React.MouseEvent) => any;
countdownTime: number;
maxCountdownTime: () => number;
countdownText: string;
unskipText: string;
unskipCallback: (index: number) => void;
downvoting: boolean;
choosingCategory: boolean;
thanksForVotingText: boolean; //null until the voting buttons should be hidden
actionState: SkipNoticeAction;
}
class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeState> {
segments: SponsorTime[];
autoSkip: boolean;
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer;
amountOfPreviousNotices: number;
audio: HTMLAudioElement;
idSuffix: any;
noticeRef: React.MutableRefObject<NoticeComponent>;
categoryOptionRef: React.RefObject<HTMLSelectElement>;
// Used to update on config change
configListener: () => void;
constructor(props: SkipNoticeProps) {
super(props);
this.noticeRef = React.createRef();
this.categoryOptionRef = React.createRef();
this.segments = props.segments;
this.autoSkip = props.autoSkip;
this.contentContainer = props.contentContainer;
this.audio = null;
let categoryName = chrome.i18n.getMessage(this.segments.length > 1 ? "multipleSegments"
: "category_" + this.segments[0].category + "_short") || chrome.i18n.getMessage("category_" + this.segments[0].category);
let noticeTitle = categoryName + " " + chrome.i18n.getMessage("skipped");
if (!this.autoSkip) {
noticeTitle = chrome.i18n.getMessage("skip") + " " + categoryName + "?";
}
//add notice
this.amountOfPreviousNotices = document.getElementsByClassName("sponsorSkipNotice").length;
// Sort segments
if (this.segments.length > 1) {
this.segments.sort((a, b) => a.segment[0] - b.segment[0]);
}
//this is the suffix added at the end of every id
for (const segment of this.segments) {
this.idSuffix += segment.UUID;
}
this.idSuffix += this.amountOfPreviousNotices;
if (this.amountOfPreviousNotices > 0) {
//another notice exists
let previousNotice = document.getElementsByClassName("sponsorSkipNotice")[0];
previousNotice.classList.add("secondSkipNotice")
}
// Setup state
this.state = {
noticeTitle,
messages: [],
messageOnClick: null,
//the countdown until this notice closes
maxCountdownTime: () => 4,
countdownTime: 4,
countdownText: null,
unskipText: chrome.i18n.getMessage("unskip"),
unskipCallback: (index) => this.unskip(index),
downvoting: false,
choosingCategory: false,
thanksForVotingText: null,
actionState: SkipNoticeAction.None
}
if (!this.autoSkip) {
// Assume manual skip is only skipping 1 submission
Object.assign(this.state, this.getUnskippedModeInfo(0, chrome.i18n.getMessage("skip")));
}
}
componentDidMount() {
if (Config.config.audioNotificationOnSkip && this.audio) {
this.audio.volume = this.contentContainer().v.volume * 0.1;
this.audio.play();
}
}
render() {
let noticeStyle: React.CSSProperties = {
zIndex: 50 + this.amountOfPreviousNotices
}
if (this.contentContainer().onMobileYouTube) {
noticeStyle.bottom = "4em";
noticeStyle.transform = "scale(0.8) translate(10%, 10%)";
}
return (
<NoticeComponent noticeTitle={this.state.noticeTitle}
amountOfPreviousNotices={this.amountOfPreviousNotices}
idSuffix={this.idSuffix}
fadeIn={true}
timed={true}
maxCountdownTime={this.state.maxCountdownTime}
ref={this.noticeRef}
closeListener={() => this.closeListener()}>
{(Config.config.audioNotificationOnSkip) && <audio ref={(source) => { this.audio = source; }}>
<source src={chrome.extension.getURL("icons/beep.ogg")} type="audio/ogg"></source>
</audio>}
{/* Text Boxes */}
{this.getMessageBoxes()}
{/* Bottom Row */}
<tr id={"sponsorSkipNoticeSecondRow" + this.idSuffix}>
{/* Vote Button Container */}
{!this.state.thanksForVotingText ?
<td id={"sponsorTimesVoteButtonsContainer" + this.idSuffix}
className="sponsorTimesVoteButtonsContainer">
{/* Upvote Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
style={{marginRight: "10px"}}
src={chrome.extension.getURL("icons/thumbs_up.svg")}
title={chrome.i18n.getMessage("upvoteButtonInfo")}
onClick={() => this.prepAction(SkipNoticeAction.Upvote)}>
</img>
{/* Report Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
src={chrome.extension.getURL("icons/thumbs_down.svg")}
title={chrome.i18n.getMessage("reportButtonInfo")}
onClick={() => this.adjustDownvotingState(true)}>
</img>
</td>
:
<td id={"sponsorTimesVoteButtonInfoMessage" + this.idSuffix}
className="sponsorTimesInfoMessage sponsorTimesVoteButtonMessage"
style={{marginRight: "10px"}}>
{this.state.thanksForVotingText}
</td>
}
{/* Unskip Button */}
<td className="sponsorSkipNoticeUnskipSection">
<button id={"sponsorSkipUnskipButton" + this.idSuffix}
className="sponsorSkipObject sponsorSkipNoticeButton"
style={{marginLeft: "4px"}}
onClick={() => this.prepAction(SkipNoticeAction.Unskip)}>
{this.state.unskipText}
</button>
</td>
{/* Never show button if autoSkip is enabled */}
{!this.autoSkip ? "" :
<td className="sponsorSkipNoticeRightSection">
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={this.contentContainer().dontShowNoticeAgain}>
{chrome.i18n.getMessage("Hide")}
</button>
</td>
}
</tr>
{/* Downvote Options Row */}
{this.state.downvoting &&
<tr id={"sponsorSkipNoticeDownvoteOptionsRow" + this.idSuffix}>
<td id={"sponsorTimesDownvoteOptionsContainer" + this.idSuffix}>
{/* Normal downvote */}
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.prepAction(SkipNoticeAction.Downvote)}>
{chrome.i18n.getMessage("downvoteDescription")}
</button>
{/* Category vote */}
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.openCategoryChooser()}>
{chrome.i18n.getMessage("incorrectCategory")}
</button>
</td>
</tr>
}
{/* Category Chooser Row */}
{this.state.choosingCategory &&
<tr id={"sponsorSkipNoticeCategoryChooserRow" + this.idSuffix}>
<td>
{/* Category Selector */}
<select id={"sponsorTimeCategories" + this.idSuffix}
className="sponsorTimeCategories"
defaultValue={this.segments[0].category} //Just default to the first segment, as we don't know which they'll choose
ref={this.categoryOptionRef}
onChange={this.categorySelectionChange.bind(this)}>
{this.getCategoryOptions()}
</select>
{/* Submit Button */}
{this.segments.length === 1 &&
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.prepAction(SkipNoticeAction.CategoryVote)}>
{chrome.i18n.getMessage("submit")}
</button>
}
</td>
</tr>
}
{/* Segment Chooser Row */}
{this.state.actionState !== SkipNoticeAction.None &&
<tr id={"sponsorSkipNoticeSubmissionOptionsRow" + this.idSuffix}>
<td id={"sponsorTimesSubmissionOptionsContainer" + this.idSuffix}>
{this.getSubmissionChooser()}
</td>
</tr>
}
</NoticeComponent>
);
}
getSubmissionChooser(): JSX.Element[] {
let elements: JSX.Element[] = [];
for (let i = 0; i < this.segments.length; i++) {
elements.push(
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.performAction(i)}
key={"submission" + i + this.segments[i].category + this.idSuffix}>
{(i + 1) + ". " + chrome.i18n.getMessage("category_" + this.segments[i].category)}
</button>
);
}
return elements;
}
prepAction(action: SkipNoticeAction) {
if (this.segments.length === 1) {
this.performAction(0, action);
} else {
this.setState({
actionState: action
});
}
}
getMessageBoxes(): JSX.Element[] | JSX.Element {
if (this.state.messages.length === 0) {
// Add a spacer if there is no text
return (
<tr id={"sponsorSkipNoticeSpacer" + this.idSuffix}
className="sponsorBlockSpacer">
</tr>
);
}
let elements: JSX.Element[] = [];
for (let i = 0; i < this.state.messages.length; i++) {
elements.push(
<NoticeTextSelectionComponent idSuffix={this.idSuffix}
text={this.state.messages[i]}
onClick={this.state.messageOnClick}
key={i}>
</NoticeTextSelectionComponent>
)
}
return elements;
}
/**
* Performs the action from the current state
*
* @param index
*/
performAction(index: number, action?: SkipNoticeAction) {
switch (action ?? this.state.actionState) {
case SkipNoticeAction.None:
break;
case SkipNoticeAction.Upvote:
this.contentContainer().vote(1, this.segments[index].UUID, undefined, this);
break;
case SkipNoticeAction.Downvote:
this.contentContainer().vote(0, this.segments[index].UUID, undefined, this);
break;
case SkipNoticeAction.CategoryVote:
this.contentContainer().vote(undefined, this.segments[index].UUID, this.categoryOptionRef.current.value, this)
break;
case SkipNoticeAction.Unskip:
this.state.unskipCallback(index);
break;
}
this.setState({
actionState: SkipNoticeAction.None
});
}
adjustDownvotingState(value: boolean) {
if (!value) this.clearConfigListener();
this.setState({
downvoting: value,
choosingCategory: false
});
}
clearConfigListener() {
if (this.configListener) {
Config.configListeners.splice(Config.configListeners.indexOf(this.configListener), 1);
this.configListener = null;
}
}
openCategoryChooser() {
// Add as a config listener
this.configListener = () => this.forceUpdate();
Config.configListeners.push(this.configListener);
this.setState({
choosingCategory: true,
downvoting: false
}, () => {
if (this.segments.length > 1) {
// Use the action selectors as a submit button
this.prepAction(SkipNoticeAction.CategoryVote);
}
});
}
getCategoryOptions() {
let elements = [];
for (const category of Config.config.categorySelections) {
elements.push(
<option value={category.name}
key={category.name}>
{chrome.i18n.getMessage("category_" + category.name)}
</option>
);
}
if (elements.length < CompileConfig.categoryList.length) {
// Add show more button
elements.push(
<option value={"moreCategories"}
key={"moreCategories"}>
{chrome.i18n.getMessage("moreCategories")}
</option>
);
}
return elements;
}
categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>) {
// See if show more categories was pressed
if (event.target.value === "moreCategories") {
// Open options page
chrome.runtime.sendMessage({"message": "openConfig"});
// Reset option to original
event.target.value = this.segments[0].category;
return;
}
}
unskip(index: number) {
this.contentContainer().unskipSponsorTime(this.segments[index]);
this.unskippedMode(index, chrome.i18n.getMessage("reskip"));
}
/** Sets up notice to be not skipped yet */
unskippedMode(index: number, buttonText: string) {
//setup new callback and reset countdown
this.setState(this.getUnskippedModeInfo(index, buttonText), () => {
this.noticeRef.current.resetCountdown();
});
}
getUnskippedModeInfo(index: number, buttonText: string) {
let self = this;
let maxCountdownTime = function() {
let sponsorTime = self.segments[index];
let duration = Math.round((sponsorTime.segment[1] - self.contentContainer().v.currentTime) * (1 / self.contentContainer().v.playbackRate));
return Math.max(duration, 4);
};
return {
unskipText: buttonText,
unskipCallback: (index) => this.reskip(index),
//change max duration to however much of the sponsor is left
maxCountdownTime: maxCountdownTime,
countdownTime: maxCountdownTime()
}
}
reskip(index: number) {
this.contentContainer().reskipSponsorTime(this.segments[index]);
//reset countdown
this.setState({
unskipText: chrome.i18n.getMessage("unskip"),
unskipCallback: this.unskip.bind(this),
maxCountdownTime: () => 4,
countdownTime: 4
});
// See if the title should be changed
if (!this.autoSkip) {
this.setState({
noticeTitle: chrome.i18n.getMessage("noticeTitle")
});
}
}
afterVote(segment: SponsorTime, type: number, category: string) {
this.addVoteButtonInfo(chrome.i18n.getMessage("voted"));
if (type === 0) {
this.setNoticeInfoMessage(chrome.i18n.getMessage("hitGoBack"));
this.adjustDownvotingState(false);
}
// Change the sponsor locally
if (segment) {
if (type === 0) {
segment.hidden = SponsorHideType.Downvoted;
} else if (category) {
segment.category = category;
}
this.contentContainer().updatePreviewBar();
}
}
setNoticeInfoMessageWithOnClick(onClick: (event: React.MouseEvent) => any, ...messages: string[]) {
this.setState({
messages,
messageOnClick: (event) => onClick(event)
});
}
setNoticeInfoMessage(...messages: string[]) {
this.setState({
messages
});
}
addVoteButtonInfo(message) {
this.setState({
thanksForVotingText: message
});
}
resetVoteButtonInfo() {
this.setState({
thanksForVotingText: null
});
}
closeListener() {
this.clearConfigListener();
this.props.closeListener();
}
}
export default SkipNoticeComponent;

View File

@@ -0,0 +1,383 @@
import * as React from "react";
import Config from "../config";
import * as CompileConfig from "../../config.json";
import Utils from "../utils";
import { ContentContainer, SponsorTime } from "../types";
import SubmissionNoticeComponent from "./SubmissionNoticeComponent";
var utils = new Utils();
export interface SponsorTimeEditProps {
index: number,
idSuffix: string,
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer,
submissionNotice: SubmissionNoticeComponent;
}
export interface SponsorTimeEditState {
editing: boolean;
sponsorTimeEdits: string[][];
}
class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, SponsorTimeEditState> {
idSuffix: string;
categoryOptionRef: React.RefObject<HTMLSelectElement>;
configUpdateListener: () => void;
constructor(props: SponsorTimeEditProps) {
super(props);
this.categoryOptionRef = React.createRef();
this.idSuffix = this.props.idSuffix;
this.state = {
editing: false,
sponsorTimeEdits: [[null, null], [null, null]]
};
}
componentDidMount() {
// Prevent inputs from triggering key events
document.getElementById("sponsorTimesContainer" + this.idSuffix).addEventListener('keydown', function (event) {
event.stopPropagation();
});
// Add as a config listener
if (!this.configUpdateListener) {
this.configUpdateListener = () => this.configUpdate();
Config.configListeners.push(this.configUpdate.bind(this));
}
}
componentWillUnmount() {
if (this.configUpdateListener) {
Config.configListeners.splice(Config.configListeners.indexOf(this.configUpdate.bind(this)), 1);
}
}
render() {
let style: React.CSSProperties = {
textAlign: "center"
};
if (this.props.index != 0) {
style.marginTop = "15px";
}
// This method is required to get !important
// https://stackoverflow.com/a/45669262/1985387
let oldYouTubeDarkStyles = (node) => {
if (node) {
node.style.setProperty("color", "black", "important");
node.style.setProperty("text-shadow", "none", "important");
}
};
// Create time display
let timeDisplay: JSX.Element;
let sponsorTime = this.props.contentContainer().sponsorTimesSubmitting[this.props.index];
let segment = sponsorTime.segment;
if (this.state.editing) {
timeDisplay = (
<div id={"sponsorTimesContainer" + this.idSuffix}
className="sponsorTimeDisplay">
<span id={"nowButton0" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToNow(0)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
<input id={"submittingTimeMinutes0" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditMinutes"
ref={oldYouTubeDarkStyles}
type="number"
value={this.state.sponsorTimeEdits[0][0]}
onChange={(e) => {
let sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[0][0] = e.target.value;
this.setState({sponsorTimeEdits});
}}>
</input>
<input id={"submittingTimeSeconds0" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditSeconds"
ref={oldYouTubeDarkStyles}
type="number"
value={this.state.sponsorTimeEdits[0][1]}
onChange={(e) => {
let sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[0][1] = e.target.value;
this.setState({sponsorTimeEdits});
}}>
</input>
<span>
{" " + chrome.i18n.getMessage("to") + " "}
</span>
<input id={"submittingTimeMinutes1" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditMinutes"
ref={oldYouTubeDarkStyles}
type="text"
value={this.state.sponsorTimeEdits[1][0]}
onChange={(e) => {
let sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[1][0] = e.target.value;
this.setState({sponsorTimeEdits});
}}>
</input>
<input id={"submittingTimeSeconds1" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditSeconds"
ref={oldYouTubeDarkStyles}
type="text"
value={this.state.sponsorTimeEdits[1][1]}
onChange={(e) => {
let sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[1][1] = e.target.value;
this.setState({sponsorTimeEdits});
}}>
</input>
<span id={"nowButton1" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToNow(1)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
<span id={"endButton" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToEnd()}>
{chrome.i18n.getMessage("bracketEnd")}
</span>
</div>
);
} else {
timeDisplay = (
<div id={"sponsorTimesContainer" + this.idSuffix}
className="sponsorTimeDisplay"
onClick={this.toggleEditTime.bind(this)}>
{utils.getFormattedTime(segment[0], true) +
((!isNaN(segment[1])) ? " " + chrome.i18n.getMessage("to") + " " + utils.getFormattedTime(segment[1], true) : "")}
</div>
);
}
return (
<div style={style}>
{timeDisplay}
{/* Category */}
<div style={{position: "relative"}}>
<select id={"sponsorTimeCategories" + this.idSuffix}
className="sponsorTimeCategories"
defaultValue={sponsorTime.category}
ref={this.categoryOptionRef}
onChange={this.categorySelectionChange.bind(this)}>
{this.getCategoryOptions()}
</select>
<img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
className="helpButton"
src={chrome.extension.getURL("icons/help.svg")}
title={chrome.i18n.getMessage("categoryGuidelines")}
onClick={() => chrome.runtime.sendMessage({"message": "openConfig"})}>
</img>
</div>
<br/>
{/* Editing Tools */}
<span id={"sponsorTimeDeleteButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={this.deleteTime.bind(this)}>
{chrome.i18n.getMessage("delete")}
</span>
{(!isNaN(segment[1])) ? (
<span id={"sponsorTimePreviewButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={this.previewTime.bind(this)}>
{chrome.i18n.getMessage("preview")}
</span>
): ""}
{(!isNaN(segment[1])) ? (
<span id={"sponsorTimeEditButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={this.toggleEditTime.bind(this)}>
{this.state.editing ? chrome.i18n.getMessage("save") : chrome.i18n.getMessage("edit")}
</span>
): ""}
</div>
);
}
getCategoryOptions() {
let elements = [(
<option value={"chooseACategory"}
key={"chooseACategory"}>
{chrome.i18n.getMessage("chooseACategory")}
</option>
)];
for (const category of Config.config.categorySelections) {
elements.push(
<option value={category.name}
key={category.name}>
{chrome.i18n.getMessage("category_" + category.name)}
</option>
);
}
if (elements.length < CompileConfig.categoryList.length) {
// Add show more button
elements.push(
<option value={"moreCategories"}
key={"moreCategories"}>
{chrome.i18n.getMessage("moreCategories")}
</option>
);
}
return elements;
}
categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>) {
// See if show more categories was pressed
if (event.target.value === "moreCategories") {
// Open options page
chrome.runtime.sendMessage({"message": "openConfig"});
// Reset option to previous
event.target.value = this.props.contentContainer().sponsorTimesSubmitting[this.props.index].category;
return;
}
this.saveEditTimes();
}
setTimeToNow(index: number) {
this.setTimeTo(index, this.props.contentContainer().getRealCurrentTime());
}
setTimeToEnd() {
this.setTimeTo(1, this.props.contentContainer().v.duration);
}
setTimeTo(index: number, time: number) {
let sponsorTime = this.props.contentContainer().sponsorTimesSubmitting[this.props.index];
sponsorTime.segment[index] =
time;
this.setState({
sponsorTimeEdits: this.getFormattedSponsorTimesEdits(sponsorTime)
}, this.saveEditTimes);
}
toggleEditTime(): void {
if (this.state.editing) {
this.setState({
editing: false
});
this.saveEditTimes();
} else {
let sponsorTime = this.props.contentContainer().sponsorTimesSubmitting[this.props.index];
this.setState({
editing: true,
sponsorTimeEdits: this.getFormattedSponsorTimesEdits(sponsorTime)
});
}
}
/** Returns an array in the sponsorTimeEdits form (minutes and seconds) from a normal seconds sponsor time */
getFormattedSponsorTimesEdits(sponsorTime: SponsorTime): string[][] {
return [[String(utils.getFormattedMinutes(sponsorTime.segment[0])), String(utils.getFormattedSeconds(sponsorTime.segment[0]))],
[String(utils.getFormattedMinutes(sponsorTime.segment[1])), String(utils.getFormattedSeconds(sponsorTime.segment[1]))]];
}
saveEditTimes() {
let sponsorTimesSubmitting = this.props.contentContainer().sponsorTimesSubmitting;
if (this.state.editing) {
sponsorTimesSubmitting[this.props.index].segment =
[utils.getRawSeconds(parseFloat(this.state.sponsorTimeEdits[0][0]), parseFloat(this.state.sponsorTimeEdits[0][1])),
utils.getRawSeconds(parseFloat(this.state.sponsorTimeEdits[1][0]), parseFloat(this.state.sponsorTimeEdits[1][1]))];
}
sponsorTimesSubmitting[this.props.index].category = this.categoryOptionRef.current.value;
Config.config.segmentTimes.set(this.props.contentContainer().sponsorVideoID, sponsorTimesSubmitting);
this.props.contentContainer().updatePreviewBar();
}
previewTime(): void {
let sponsorTimes = this.props.contentContainer().sponsorTimesSubmitting;
let index = this.props.index;
let skipTime = sponsorTimes[index].segment[0];
if (this.state.editing) {
// Save edits before previewing
this.saveEditTimes();
}
this.props.contentContainer().previewTime(skipTime - 2);
}
deleteTime(): void {
let sponsorTimes = this.props.contentContainer().sponsorTimesSubmitting;
let index = this.props.index;
//if it is not a complete sponsor time
if (sponsorTimes[index].segment.length < 2) {
//update video player
this.props.contentContainer().changeStartSponsorButton(true, false);
}
sponsorTimes.splice(index, 1);
//save this
Config.config.segmentTimes.set(this.props.contentContainer().sponsorVideoID, sponsorTimes);
this.props.contentContainer().updatePreviewBar();
//if they are all removed
if (sponsorTimes.length == 0) {
this.props.submissionNotice.cancel();
//update video player
this.props.contentContainer().changeStartSponsorButton(true, false);
} else {
//update display
this.props.submissionNotice.forceUpdate();
}
}
configUpdate() {
this.forceUpdate();
}
}
export default SponsorTimeEditComponent;

View File

@@ -0,0 +1,195 @@
import * as React from "react";
import Config from "../config"
import { ContentContainer } from "../types";
import NoticeComponent from "./NoticeComponent";
import NoticeTextSelectionComponent from "./NoticeTextSectionComponent";
import SponsorTimeEditComponent from "./SponsorTimeEditComponent";
export interface SubmissionNoticeProps {
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer;
callback: () => any;
closeListener: () => void
}
export interface SubmissionNoticeeState {
noticeTitle: string,
messages: string[],
idSuffix: string;
}
class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, SubmissionNoticeeState> {
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer;
callback: () => any;
noticeRef: React.MutableRefObject<NoticeComponent>;
timeEditRefs: React.RefObject<SponsorTimeEditComponent>[];
videoObserver: MutationObserver;
constructor(props: SubmissionNoticeProps) {
super(props);
this.noticeRef = React.createRef();
this.contentContainer = props.contentContainer;
this.callback = props.callback;
let noticeTitle = chrome.i18n.getMessage("confirmNoticeTitle");
// Setup state
this.state = {
noticeTitle,
messages: [],
idSuffix: "SubmissionNotice"
}
}
componentDidMount() {
// Catch and rerender when the video size changes
//TODO: Use ResizeObserver when it is supported in TypeScript
this.videoObserver = new MutationObserver(() => {
this.forceUpdate();
});
this.videoObserver.observe(this.contentContainer().v, {
attributes: true
});
}
componentWillUnmount() {
if (this.videoObserver) {
this.videoObserver.disconnect();
}
}
render() {
return (
<NoticeComponent noticeTitle={this.state.noticeTitle}
idSuffix={this.state.idSuffix}
ref={this.noticeRef}
closeListener={this.cancel.bind(this)}
zIndex={50000}>
{/* Text Boxes */}
{this.getMessageBoxes()}
{/* Sponsor Time List */}
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
className="sponsorTimeMessagesRow"
style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}>
<td style={{width: "100%"}}>
{this.getSponsorTimeMessages()}
</td>
</tr>
{/* Last Row */}
<tr id={"sponsorSkipNoticeSecondRow" + this.state.idSuffix}>
<td className="sponsorSkipNoticeRightSection"
style={{position: "relative"}}>
{/* Guidelines button */}
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={() => window.open("https://github.com/ajayyy/SponsorBlock/wiki/Guidelines")}>
{chrome.i18n.getMessage(Config.config.submissionCountSinceCategories > 3 ? "guidelines" : "readTheGuidelines")}
</button>
{/* Submit Button */}
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={this.submit.bind(this)}>
{chrome.i18n.getMessage("submit")}
</button>
</td>
</tr>
</NoticeComponent>
);
}
getSponsorTimeMessages(): JSX.Element[] | JSX.Element {
let elements: JSX.Element[] = [];
this.timeEditRefs = [];
let sponsorTimes = this.props.contentContainer().sponsorTimesSubmitting;
for (let i = 0; i < sponsorTimes.length; i++) {
let timeRef = React.createRef<SponsorTimeEditComponent>();
elements.push(
<SponsorTimeEditComponent key={i}
idSuffix={this.state.idSuffix + i}
index={i}
contentContainer={this.props.contentContainer}
submissionNotice={this}
ref={timeRef}>
</SponsorTimeEditComponent>
);
this.timeEditRefs.push(timeRef);
}
return elements;
}
getMessageBoxes(): JSX.Element[] | JSX.Element {
let elements: JSX.Element[] = [];
for (let i = 0; i < this.state.messages.length; i++) {
elements.push(
<NoticeTextSelectionComponent idSuffix={this.state.idSuffix + i}
text={this.state.messages[i]}
key={i}>
</NoticeTextSelectionComponent>
);
}
return elements;
}
cancel() {
this.noticeRef.current.close(true);
this.contentContainer().resetSponsorSubmissionNotice();
this.props.closeListener();
}
submit() {
// save all items
for (const ref of this.timeEditRefs) {
ref.current.saveEditTimes();
}
let sponsorTimesSubmitting = this.props.contentContainer().sponsorTimesSubmitting;
for (const sponsorTime of sponsorTimesSubmitting) {
if (sponsorTime.category === "chooseACategory") {
alert(chrome.i18n.getMessage("youMustSelectACategory"));
return;
}
}
// Check if any non music categories are being used on a music video
if (this.contentContainer().videoInfo?.microformat?.playerMicroformatRenderer?.category === "Music") {
for (const sponsorTime of sponsorTimesSubmitting) {
if (sponsorTime.category === "sponsor") {
if (!confirm(chrome.i18n.getMessage("nonMusicCategoryOnMusic"))) return;
break;
}
}
}
this.props.callback();
this.cancel();
}
}
export default SubmissionNoticeComponent;

View File

@@ -1,16 +1,25 @@
import * as CompileConfig from "../config.json";
import { CategorySelection, CategorySkipOption, PreviewBarOption, SponsorTime } from "./types";
import Utils from "./utils";
const utils = new Utils();
interface SBConfig {
userID: string,
sponsorTimes: SBMap<string, any>,
whitelistedChannels: Array<any>,
// sponsorTimes: SBMap<string, SponsorTime[]>,
segmentTimes: SBMap<string, SponsorTime[]>,
defaultCategory: string,
whitelistedChannels: string[],
forceChannelCheck: boolean,
startSponsorKeybind: string,
submitKeybind: string,
minutesSaved: number,
skipCount: number,
sponsorTimesContributed: number,
submissionCountSinceCategories: number, // New count used to show the "Read The Guidelines!!" message
showTimeWithSkips: boolean,
unsubmittedWarning: boolean,
disableSkipping: boolean,
disableAutoSkip: boolean,
trackViewCount: boolean,
dontShowNotice: boolean,
hideVideoPlayerControls: boolean,
@@ -20,12 +29,32 @@ interface SBConfig {
hideDiscordLaunches: number,
hideDiscordLink: boolean,
invidiousInstances: string[],
invidiousUpdateInfoShowCount: number,
autoUpvote: boolean,
supportInvidious: boolean,
serverAddress: string,
minDuration: number,
checkForUnlistedVideos: boolean
audioNotificationOnSkip,
checkForUnlistedVideos: boolean,
testingServer: boolean,
// What categories should be skipped
categorySelections: CategorySelection[],
// Preview bar
barTypes: {
"preview-chooseACategory": PreviewBarOption,
"sponsor": PreviewBarOption,
"preview-sponsor": PreviewBarOption,
"intro": PreviewBarOption,
"preview-intro": PreviewBarOption,
"outro": PreviewBarOption,
"preview-outro": PreviewBarOption,
"interaction": PreviewBarOption,
"preview-interaction": PreviewBarOption,
"selfpromo": PreviewBarOption,
"preview-selfpromo": PreviewBarOption,
"music_offtopic": PreviewBarOption,
"preview-music_offtopic": PreviewBarOption,
}
}
interface SBObject {
@@ -33,6 +62,10 @@ interface SBObject {
defaults: SBConfig;
localConfig: SBConfig;
config: SBConfig;
// Functions
encodeStoredItem<T>(data: T): T | Array<any>;
convertJSON(): void;
}
// Allows a SBMap to be conveted into json form
@@ -53,24 +86,39 @@ class SBMap<T, U> extends Map {
}
}
set(key, value) {
const result = super.set(key, value);
get(key): U {
return super.get(key);
}
rawSet(key, value) {
return super.set(key, value);
}
update() {
// Store updated SBMap locally
chrome.storage.sync.set({
[this.id]: encodeStoredItem(this)
});
}
set(key: T, value: U) {
const result = super.set(key, value);
this.update();
return result;
}
delete(key) {
const result = super.delete(key);
// Store updated SBMap locally
chrome.storage.sync.set({
[this.id]: encodeStoredItem(this)
});
// Make sure there are no empty elements
for (const entry of this.entries()) {
if (entry[1].length === 0) {
super.delete(entry[0]);
}
}
this.update();
return result;
}
@@ -78,19 +126,11 @@ class SBMap<T, U> extends Map {
clear() {
const result = super.clear();
chrome.storage.sync.set({
[this.id]: encodeStoredItem(this)
});
this.update();
return result;
}
toJSON() {
return Array.from(this.entries());
}
}
var Config: SBObject = {
/**
* Callback function when an option is updated
@@ -98,15 +138,19 @@ var Config: SBObject = {
configListeners: [],
defaults: {
userID: null,
sponsorTimes: new SBMap("sponsorTimes"),
segmentTimes: new SBMap("segmentTimes"),
defaultCategory: "chooseACategory",
whitelistedChannels: [],
forceChannelCheck: false,
startSponsorKeybind: ";",
submitKeybind: "'",
minutesSaved: 0,
skipCount: 0,
sponsorTimesContributed: 0,
submissionCountSinceCategories: 0,
showTimeWithSkips: true,
unsubmittedWarning: true,
disableSkipping: false,
disableAutoSkip: false,
trackViewCount: true,
dontShowNotice: false,
hideVideoPlayerControls: false,
@@ -115,30 +159,95 @@ var Config: SBObject = {
hideUploadButtonPlayerControls: false,
hideDiscordLaunches: 0,
hideDiscordLink: false,
invidiousInstances: ["invidio.us", "invidiou.sh", "invidious.snopyta.org"],
invidiousUpdateInfoShowCount: 0,
autoUpvote: true,
invidiousInstances: ["invidio.us", "invidious.snopyta.org"],
supportInvidious: false,
serverAddress: CompileConfig.serverAddress,
minDuration: 0,
checkForUnlistedVideos: false
audioNotificationOnSkip: false,
checkForUnlistedVideos: false,
testingServer: false,
categorySelections: [{
name: "sponsor",
option: CategorySkipOption.AutoSkip
}],
// Preview bar
barTypes: {
"preview-chooseACategory": {
color: "#ffffff",
opacity: "0.7"
},
"sponsor": {
color: "#00d400",
opacity: "0.7"
},
"preview-sponsor": {
color: "#007800",
opacity: "0.7"
},
"intro": {
color: "#00ffff",
opacity: "0.7"
},
"preview-intro": {
color: "#008080",
opacity: "0.7"
},
"outro": {
color: "#0202ed",
opacity: "0.7"
},
"preview-outro": {
color: "#000070",
opacity: "0.7"
},
"interaction": {
color: "#cc00ff",
opacity: "0.7"
},
"preview-interaction": {
color: "#6c0087",
opacity: "0.7"
},
"selfpromo": {
color: "#ffff00",
opacity: "0.7"
},
"preview-selfpromo": {
color: "#bfbf35",
opacity: "0.7"
},
"music_offtopic": {
color: "#ff9900",
opacity: "0.7"
},
"preview-music_offtopic": {
color: "#a6634a",
opacity: "0.7"
}
}
},
localConfig: null,
config: null
config: null,
// Functions
encodeStoredItem,
convertJSON
};
// Function setup
/**
* A SBMap cannot be stored in the chrome storage.
* This data will be encoded into an array instead as specified by the toJSON function.
* This data will be encoded into an array instead
*
* @param data
*/
function encodeStoredItem(data) {
function encodeStoredItem<T>(data: T): T | Array<any> {
// if data is SBMap convert to json for storing
if(!(data instanceof SBMap)) return data;
return JSON.stringify(data);
return Array.from(data.entries());
}
/**
@@ -147,19 +256,20 @@ function encodeStoredItem(data) {
*
* @param {*} data
*/
function decodeStoredItem(id: string, data) {
if(typeof data !== "string") return data;
try {
let str = JSON.parse(data);
if(!Array.isArray(str)) return data;
return new SBMap(id, str);
} catch(e) {
function decodeStoredItem<T>(id: string, data: T): T | SBMap<string, SponsorTime[]> {
if (!Config.defaults[id]) return data;
// If all else fails, return the data
return data;
if (Config.defaults[id] instanceof SBMap) {
try {
if (!Array.isArray(data)) return data;
return new SBMap(id, data);
} catch(e) {
console.error("Failed to parse SBMap: " + id);
}
}
// If all else fails, return the data
return data;
}
function configProxy(): any {
@@ -210,21 +320,120 @@ function fetchConfig() {
});
}
function migrateOldFormats() { // Convert sponsorTimes format
for (const key in Config.localConfig) {
if (key.startsWith("sponsorTimes") && key !== "sponsorTimes" && key !== "sponsorTimesContributed") {
Config.config.sponsorTimes.set(key.substr(12), Config.config[key]);
delete Config.config[key];
function migrateOldFormats(config: SBConfig) {
if (config["disableAutoSkip"]) {
for (const selection of config.categorySelections) {
if (selection.name === "sponsor") {
selection.option = CategorySkipOption.ManualSkip;
chrome.storage.sync.remove("disableAutoSkip");
}
}
}
// Auto vote removal
if (config["autoUpvote"]) {
chrome.storage.sync.remove("autoUpvote");
}
// mobileUpdateShowCount removal
if (config["mobileUpdateShowCount"] !== undefined) {
chrome.storage.sync.remove("mobileUpdateShowCount");
}
// categoryUpdateShowCount removal
if (config["categoryUpdateShowCount"] !== undefined) {
chrome.storage.sync.remove("categoryUpdateShowCount");
}
// Channel URLS
if (config.whitelistedChannels.length > 0 &&
(config.whitelistedChannels[0] == null || config.whitelistedChannels[0].includes("/"))) {
const channelURLFixer = async() => {
let newChannelList: string[] = [];
for (const item of config.whitelistedChannels) {
if (item != null) {
if (item.includes("/channel/")) {
newChannelList.push(item.split("/")[2]);
} else if (item.includes("/user/") && utils.isContentScript()) {
// Replace channel URL with channelID
let response = await utils.asyncRequestToCustomServer("GET", "https://sponsor.ajay.app/invidious/api/v1/channels/" + item.split("/")[2] + "?fields=authorId");
if (response.ok) {
newChannelList.push((JSON.parse(response.responseText)).authorId);
} else {
// Add it at the beginning so it gets converted later
newChannelList.unshift(item);
}
} else if (item.includes("/user/")) {
// Add it at the beginning so it gets converted later (The API can only be called in the content script due to CORS issues)
newChannelList.unshift(item);
} else {
newChannelList.push(item);
}
}
}
config.whitelistedChannels = newChannelList;
}
channelURLFixer();
}
// Check if off-topic category needs to be removed
for (let i = 0; i < config.categorySelections.length; i++) {
if (config.categorySelections[i].name === "offtopic") {
config.categorySelections.splice(i, 1);
// Call set listener
config.categorySelections = config.categorySelections;
break;
}
}
// Migrate old "sponsorTimes"
if (config["sponsorTimes"]) {
let jsonData: any = config["sponsorTimes"];
// Check if data is stored in the old format for SBMap (a JSON string)
if (typeof jsonData === "string") {
try {
jsonData = JSON.parse(jsonData);
} catch(e) {
// Continue normally (out of this if statement)
}
}
// Otherwise junk data
if (Array.isArray(jsonData)) {
let oldMap = new Map(jsonData);
oldMap.forEach((sponsorTimes: number[][], key) => {
let segmentTimes: SponsorTime[] = [];
for (const segment of sponsorTimes) {
segmentTimes.push({
segment: segment,
category: "sponsor",
UUID: null
});
}
config.segmentTimes.rawSet(key, segmentTimes);
});
config.segmentTimes.update();
}
chrome.storage.sync.remove("sponsorTimes");
}
}
async function setupConfig() {
await fetchConfig();
addDefaults();
convertJSON();
Config.config = configProxy();
migrateOldFormats();
const config = configProxy();
migrateOldFormats(config);
Config.config = config;
}
// Reset config
@@ -232,7 +441,7 @@ function resetConfig() {
Config.config = Config.defaults;
};
function convertJSON() {
function convertJSON(): void {
Object.keys(Config.localConfig).forEach(key => {
Config.localConfig[key] = decodeStoredItem(key, Config.localConfig[key]);
});
@@ -243,6 +452,12 @@ function addDefaults() {
for (const key in Config.defaults) {
if(!Config.localConfig.hasOwnProperty(key)) {
Config.localConfig[key] = Config.defaults[key];
} else if (key === "barTypes") {
for (const key2 in Config.defaults[key]) {
if(!Config.localConfig[key].hasOwnProperty(key2)) {
Config.localConfig[key][key2] = Config.defaults[key][key2];
}
}
}
}
};
@@ -250,4 +465,4 @@ function addDefaults() {
// Sync config
setupConfig();
export default Config;
export default Config;

File diff suppressed because it is too large Load Diff

View File

@@ -5,36 +5,125 @@
'use strict';
let barTypes = {
"undefined": {
color: "#00d400",
opacity: "0.5"
},
"sponsor": {
color: "#00d400",
opacity: "0.5"
},
"previewSponsor": {
color: "#0000d4",
opacity: "0.5"
}
};
import Config from "../config";
import Utils from "../utils";
let utils = new Utils();
class PreviewBar {
container: HTMLUListElement;
parent: any;
onMobileYouTube: boolean;
onInvidious: boolean;
constructor(parent) {
timestamps: number[][];
types: string;
constructor(parent, onMobileYouTube, onInvidious) {
this.container = document.createElement('ul');
this.container.id = 'previewbar';
this.parent = parent;
this.updatePosition();
this.onMobileYouTube = onMobileYouTube;
this.onInvidious = onInvidious;
this.updatePosition(parent);
this.setupHoverText();
}
updatePosition() {
setupHoverText() {
if (this.onMobileYouTube || this.onInvidious) return;
let seekBar = document.querySelector(".ytp-progress-bar-container");
// Create label placeholder
let tooltipTextWrapper = document.querySelector(".ytp-tooltip-text-wrapper");
let titleTooltip = document.querySelector(".ytp-tooltip-title");
let categoryTooltip = document.createElement("div");
categoryTooltip.className = "sbHidden ytp-tooltip-title";
categoryTooltip.id = "sponsor-block-category-tooltip"
tooltipTextWrapper.insertBefore(categoryTooltip, titleTooltip.nextSibling);
let mouseOnSeekBar = false;
seekBar.addEventListener("mouseenter", (event) => {
mouseOnSeekBar = true;
});
seekBar.addEventListener("mouseleave", (event) => {
mouseOnSeekBar = false;
categoryTooltip.classList.add("sbHidden");
});
const observer = new MutationObserver((mutations, observer) => {
if (!mouseOnSeekBar) return;
// See if mutation observed is only this ID (if so, ignore)
if (mutations.length == 1 && (mutations[0].target as HTMLElement).id === "sponsor-block-category-tooltip") {
return;
}
let tooltips = document.querySelectorAll(".ytp-tooltip-text");
for (const tooltip of tooltips) {
let splitData = tooltip.textContent.split(":");
if (splitData.length === 2 && !isNaN(parseInt(splitData[0])) && !isNaN(parseInt(splitData[1]))) {
// Add label
let timeInSeconds = parseInt(splitData[0]) * 60 + parseInt(splitData[1]);
// Find category at that location
let category = null;
for (let i = 0; i < this.timestamps?.length; i++) {
if (this.timestamps[i][0] < timeInSeconds && this.timestamps[i][1] > timeInSeconds){
category = this.types[i];
}
}
if (category === null && !categoryTooltip.classList.contains("sbHidden")) {
categoryTooltip.classList.add("sbHidden");
tooltipTextWrapper.classList.remove("sbTooltipTwoTitleThumbnailOffset");
tooltipTextWrapper.classList.remove("sbTooltipOneTitleThumbnailOffset");
} else if (category !== null) {
categoryTooltip.classList.remove("sbHidden");
categoryTooltip.textContent = utils.shortCategoryName(category)
|| (chrome.i18n.getMessage("preview") + " " + utils.shortCategoryName(category.split("preview-")[1]));
// There is a title now
tooltip.classList.remove("ytp-tooltip-text-no-title");
// Add the correct offset for the number of titles there are
if (titleTooltip.textContent !== "") {
if (!tooltipTextWrapper.classList.contains("sbTooltipTwoTitleThumbnailOffset")) {
tooltipTextWrapper.classList.add("sbTooltipTwoTitleThumbnailOffset");
}
} else if (!tooltipTextWrapper.classList.contains("sbTooltipOneTitleThumbnailOffset")) {
tooltipTextWrapper.classList.add("sbTooltipOneTitleThumbnailOffset");
}
}
break;
}
}
});
observer.observe(tooltipTextWrapper, {
childList: true,
subtree: true
});
}
updatePosition(parent) {
//below the seek bar
// this.parent.insertAdjacentElement("afterEnd", this.container);
this.parent = parent;
if (this.onMobileYouTube) {
parent.style.backgroundColor = "rgba(255, 255, 255, 0.3)";
parent.style.opacity = "1";
this.container.style.transform = "none";
}
//on the seek bar
this.parent.insertAdjacentElement("afterBegin", this.container);
@@ -57,6 +146,9 @@ class PreviewBar {
return;
}
this.timestamps = timestamps;
this.types = types;
// to avoid rounding error resulting in width more than 100%
duration = Math.floor(duration * 100) / 100;
let width;
@@ -69,8 +161,8 @@ class PreviewBar {
let bar = this.createBar();
bar.setAttribute('data-vs-segment-type', types[i]);
bar.style.backgroundColor = barTypes[types[i]].color;
bar.style.opacity = barTypes[types[i]].opacity;
bar.style.backgroundColor = Config.config.barTypes[types[i]].color;
if (!this.onMobileYouTube) bar.style.opacity = Config.config.barTypes[types[i]].opacity;
bar.style.width = width + '%';
bar.style.left = (timestamps[i][0] / duration * 100) + "%";
bar.style.position = "absolute"

View File

@@ -1,437 +0,0 @@
'use strict';
/**
* The notice that tells the user that a sponsor was just skipped
*/
class SkipNotice {
parent: HTMLElement;
UUID: string;
manualSkip: boolean;
// Contains functions and variables from the content script needed by the skip notice
contentContainer: () => any;
maxCountdownTime: () => number;
countdownTime: any;
countdownInterval: NodeJS.Timeout;
unskipCallback: any;
idSuffix: any;
constructor(parent: HTMLElement, UUID: string, manualSkip: boolean = false, contentContainer) {
this.parent = parent;
this.UUID = UUID;
this.manualSkip = manualSkip;
this.contentContainer = contentContainer;
let noticeTitle = chrome.i18n.getMessage("noticeTitle");
if (manualSkip) {
noticeTitle = chrome.i18n.getMessage("noticeTitleNotSkipped");
}
this.maxCountdownTime = () => 4;
//the countdown until this notice closes
this.countdownTime = this.maxCountdownTime();
//the id for the setInterval running the countdown
this.countdownInterval = null;
//the unskip button's callback
this.unskipCallback = this.unskip.bind(this);
//add notice
let amountOfPreviousNotices = document.getElementsByClassName("sponsorSkipNotice").length;
//this is the suffix added at the end of every id
this.idSuffix = this.UUID + amountOfPreviousNotices;
if (amountOfPreviousNotices > 0) {
//already exists
let previousNotice = document.getElementsByClassName("sponsorSkipNotice")[0];
previousNotice.classList.add("secondSkipNotice")
}
let noticeElement = document.createElement("div");
//what sponsor time this is about
noticeElement.id = "sponsorSkipNotice" + this.idSuffix;
noticeElement.classList.add("sponsorSkipObject");
noticeElement.classList.add("sponsorSkipNotice");
noticeElement.style.zIndex = String(50 + amountOfPreviousNotices);
//add mouse enter and leave listeners
noticeElement.addEventListener("mouseenter", this.pauseCountdown.bind(this));
noticeElement.addEventListener("mouseleave", this.startCountdown.bind(this));
//the row that will contain the info
let firstRow = document.createElement("tr");
firstRow.id = "sponsorSkipNoticeFirstRow" + this.idSuffix;
let logoColumn = document.createElement("td");
let logoElement = document.createElement("img");
logoElement.id = "sponsorSkipLogo" + this.idSuffix;
logoElement.className = "sponsorSkipLogo sponsorSkipObject";
logoElement.src = chrome.extension.getURL("icons/IconSponsorBlocker256px.png");
let noticeMessage = document.createElement("span");
noticeMessage.id = "sponsorSkipMessage" + this.idSuffix;
noticeMessage.classList.add("sponsorSkipMessage");
noticeMessage.classList.add("sponsorSkipObject");
noticeMessage.innerText = noticeTitle;
//create the first column
logoColumn.appendChild(logoElement);
logoColumn.appendChild(noticeMessage);
//add the x button
let closeButtonContainer = document.createElement("td");
closeButtonContainer.className = "sponsorSkipNoticeRightSection";
closeButtonContainer.style.top = "11px";
let timeLeft = document.createElement("span");
timeLeft.id = "sponsorSkipNoticeTimeLeft" + this.idSuffix;
timeLeft.innerText = this.countdownTime + "s";
timeLeft.className = "sponsorSkipObject sponsorSkipNoticeTimeLeft";
let hideButton = document.createElement("img");
hideButton.src = chrome.extension.getURL("icons/close.png");
hideButton.className = "sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeCloseButton sponsorSkipNoticeRightButton";
hideButton.addEventListener("click", this.close.bind(this));
closeButtonContainer.appendChild(timeLeft);
closeButtonContainer.appendChild(hideButton);
//add all objects to first row
firstRow.appendChild(logoColumn);
firstRow.appendChild(closeButtonContainer);
let spacer = document.createElement("hr");
spacer.id = "sponsorSkipNoticeSpacer" + this.idSuffix;
spacer.className = "sponsorBlockSpacer";
//the row that will contain the buttons
let secondRow = document.createElement("tr");
secondRow.id = "sponsorSkipNoticeSecondRow" + this.idSuffix;
//thumbs up and down buttons
let voteButtonsContainer = document.createElement("td");
voteButtonsContainer.id = "sponsorTimesVoteButtonsContainer" + this.idSuffix;
voteButtonsContainer.className = "sponsorTimesVoteButtonsContainer"
let reportText = document.createElement("span");
reportText.id = "sponsorTimesReportText" + this.idSuffix;
reportText.className = "sponsorTimesInfoMessage sponsorTimesVoteButtonMessage";
reportText.innerText = chrome.i18n.getMessage("reportButtonTitle");
reportText.style.marginRight = "5px";
reportText.setAttribute("title", chrome.i18n.getMessage("reportButtonInfo"));
let downvoteButton = document.createElement("img");
downvoteButton.id = "sponsorTimesDownvoteButtonsContainer" + this.idSuffix;
downvoteButton.className = "sponsorSkipObject voteButton";
downvoteButton.src = chrome.extension.getURL("icons/report.png");
downvoteButton.addEventListener("click", () => this.contentContainer().vote(0, this.UUID, this));
downvoteButton.setAttribute("title", chrome.i18n.getMessage("reportButtonInfo"));
//add downvote and report text to container
voteButtonsContainer.appendChild(reportText);
voteButtonsContainer.appendChild(downvoteButton);
//add unskip button
let unskipContainer = document.createElement("td");
unskipContainer.className = "sponsorSkipNoticeUnskipSection";
let unskipButton = document.createElement("button");
unskipButton.id = "sponsorSkipUnskipButton" + this.idSuffix;
unskipButton.innerText = chrome.i18n.getMessage("unskip");
unskipButton.className = "sponsorSkipObject sponsorSkipNoticeButton";
unskipButton.addEventListener("click", this.unskipCallback);
unskipButton.style.marginLeft = "4px";
unskipContainer.appendChild(unskipButton);
//add don't show again button
let dontshowContainer = document.createElement("td");
dontshowContainer.className = "sponsorSkipNoticeRightSection";
let dontShowAgainButton = document.createElement("button");
dontShowAgainButton.innerText = chrome.i18n.getMessage("Hide");
dontShowAgainButton.className = "sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton";
dontShowAgainButton.addEventListener("click", this.contentContainer().dontShowNoticeAgain);
// Don't let them hide it if manually skipping
if (!this.manualSkip) {
dontshowContainer.appendChild(dontShowAgainButton);
}
//add to row
secondRow.appendChild(voteButtonsContainer);
secondRow.appendChild(unskipContainer);
secondRow.appendChild(dontshowContainer);
noticeElement.appendChild(firstRow);
noticeElement.appendChild(spacer);
noticeElement.appendChild(secondRow);
//get reference node
let referenceNode = document.getElementById("movie_player") || document.querySelector("#player-container .video-js");
if (referenceNode == null) {
//for embeds
let player = document.getElementById("player");
referenceNode = <HTMLElement> player.firstChild;
let index = 1;
//find the child that is the video player (sometimes it is not the first)
while (!referenceNode.classList.contains("html5-video-player") || !referenceNode.classList.contains("ytp-embed")) {
referenceNode = <HTMLElement> player.children[index];
index++;
}
}
referenceNode.prepend(noticeElement);
if (manualSkip) {
this.unskippedMode(chrome.i18n.getMessage("skip"));
}
this.startCountdown();
}
//called every second to lower the countdown before hiding the notice
countdown() {
this.countdownTime--;
if (this.countdownTime <= 0) {
//remove this from setInterval
clearInterval(this.countdownInterval);
//time to close this notice
this.close();
return;
}
if (this.countdownTime == 3) {
//start fade out animation
let notice = document.getElementById("sponsorSkipNotice" + this.idSuffix);
notice.style.removeProperty("animation");
notice.classList.add("sponsorSkipNoticeFadeOut");
}
this.updateTimerDisplay();
}
pauseCountdown() {
//remove setInterval
clearInterval(this.countdownInterval);
this.countdownInterval = null;
//reset countdown
this.countdownTime = this.maxCountdownTime();
//inform the user
let timeLeft = document.getElementById("sponsorSkipNoticeTimeLeft" + this.idSuffix);
timeLeft.innerText = chrome.i18n.getMessage("paused");
//remove the fade out class if it exists
let notice = document.getElementById("sponsorSkipNotice" + this.idSuffix);
notice.classList.remove("sponsorSkipNoticeFadeOut");
notice.style.animation = "none";
}
startCountdown() {
//if it has already started, don't start it again
if (this.countdownInterval !== null) return;
this.countdownInterval = setInterval(this.countdown.bind(this), 1000);
this.updateTimerDisplay();
}
updateTimerDisplay() {
//update the timer display
let timeLeft = document.getElementById("sponsorSkipNoticeTimeLeft" + this.idSuffix);
timeLeft.innerText = this.countdownTime + "s";
}
unskip() {
this.contentContainer().unskipSponsorTime(this.UUID);
this.unskippedMode(chrome.i18n.getMessage("reskip"));
}
/** Sets up notice to be not skipped yet */
unskippedMode(buttonText) {
//change unskip button to a reskip button
let unskipButton = this.changeUnskipButton(buttonText);
//setup new callback
this.unskipCallback = this.reskip.bind(this);
unskipButton.addEventListener("click", this.unskipCallback);
//change max duration to however much of the sponsor is left
this.maxCountdownTime = function() {
let sponsorTime = this.contentContainer().sponsorTimes[this.contentContainer().UUIDs.indexOf(this.UUID)];
let duration = Math.round(sponsorTime[1] - this.contentContainer().v.currentTime);
return Math.max(duration, 4);
};
this.countdownTime = this.maxCountdownTime();
this.updateTimerDisplay();
}
reskip() {
this.contentContainer().reskipSponsorTime(this.UUID);
//change reskip button to a unskip button
let unskipButton = this.changeUnskipButton(chrome.i18n.getMessage("unskip"));
//setup new callback
this.unskipCallback = this.unskip.bind(this);
unskipButton.addEventListener("click", this.unskipCallback);
//reset duration
this.maxCountdownTime = () => 4;
this.countdownTime = this.maxCountdownTime();
this.updateTimerDisplay();
// See if the title should be changed
if (this.manualSkip) {
this.changeNoticeTitle(chrome.i18n.getMessage("noticeTitle"));
this.contentContainer().vote(1, this.UUID, this);
}
}
/**
* Changes the text on the reskip button
*
* @param {string} text
* @returns {HTMLElement} unskipButton
*/
changeUnskipButton(text) {
let unskipButton = document.getElementById("sponsorSkipUnskipButton" + this.idSuffix);
unskipButton.innerText = text;
unskipButton.removeEventListener("click", this.unskipCallback);
return unskipButton;
}
afterDownvote() {
this.addVoteButtonInfo(chrome.i18n.getMessage("voted"));
this.addNoticeInfoMessage(chrome.i18n.getMessage("hitGoBack"));
//remove this sponsor from the sponsors looked up
//find which one it is
for (let i = 0; i < this.contentContainer().sponsorTimes.length; i++) {
if (this.contentContainer().UUIDs[i] == this.UUID) {
//this one is the one to hide
//add this as a hidden sponsorTime
this.contentContainer().hiddenSponsorTimes.push(i);
this.contentContainer().updatePreviewBar();
break;
}
}
}
changeNoticeTitle(title) {
let noticeElement = document.getElementById("sponsorSkipMessage" + this.idSuffix);
noticeElement.innerText = title;
}
addNoticeInfoMessage(message: string, message2: string = "") {
let previousInfoMessage = document.getElementById("sponsorTimesInfoMessage" + this.idSuffix);
if (previousInfoMessage != null) {
//remove it
document.getElementById("sponsorSkipNotice" + this.idSuffix).removeChild(previousInfoMessage);
}
let previousInfoMessage2 = document.getElementById("sponsorTimesInfoMessage" + this.idSuffix + "2");
if (previousInfoMessage2 != null) {
//remove it
document.getElementById("sponsorSkipNotice" + this.idSuffix).removeChild(previousInfoMessage2);
}
//add info
let thanksForVotingText = document.createElement("p");
thanksForVotingText.id = "sponsorTimesInfoMessage" + this.idSuffix;
thanksForVotingText.className = "sponsorTimesInfoMessage";
thanksForVotingText.innerText = message;
//add element to div
document.getElementById("sponsorSkipNotice" + this.idSuffix).insertBefore(thanksForVotingText, document.getElementById("sponsorSkipNoticeSpacer" + this.idSuffix));
if (message2 !== undefined) {
let thanksForVotingText2 = document.createElement("p");
thanksForVotingText2.id = "sponsorTimesInfoMessage" + this.idSuffix + "2";
thanksForVotingText2.className = "sponsorTimesInfoMessage";
thanksForVotingText2.innerText = message2;
//add element to div
document.getElementById("sponsorSkipNotice" + this.idSuffix).insertBefore(thanksForVotingText2, document.getElementById("sponsorSkipNoticeSpacer" + this.idSuffix));
}
}
resetNoticeInfoMessage() {
let previousInfoMessage = document.getElementById("sponsorTimesInfoMessage" + this.idSuffix);
if (previousInfoMessage != null) {
//remove it
document.getElementById("sponsorSkipNotice" + this.idSuffix).removeChild(previousInfoMessage);
}
}
addVoteButtonInfo(message) {
this.resetVoteButtonInfo();
//hide report button and text for it
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.idSuffix);
if (downvoteButton != null) {
downvoteButton.style.display = "none";
}
let downvoteButtonText = document.getElementById("sponsorTimesReportText" + this.idSuffix);
if (downvoteButtonText != null) {
downvoteButtonText.style.display = "none";
}
//add info
let thanksForVotingText = document.createElement("td");
thanksForVotingText.id = "sponsorTimesVoteButtonInfoMessage" + this.idSuffix;
thanksForVotingText.className = "sponsorTimesInfoMessage sponsorTimesVoteButtonMessage";
thanksForVotingText.innerText = message;
//add element to div
document.getElementById("sponsorSkipNoticeSecondRow" + this.idSuffix).prepend(thanksForVotingText);
}
resetVoteButtonInfo() {
let previousInfoMessage = document.getElementById("sponsorTimesVoteButtonInfoMessage" + this.idSuffix);
if (previousInfoMessage != null) {
//remove it
document.getElementById("sponsorSkipNoticeSecondRow" + this.idSuffix).removeChild(previousInfoMessage);
}
//show button again
document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.idSuffix).style.removeProperty("display");
}
//close this notice
close() {
//reset message
this.resetNoticeInfoMessage();
let notice = document.getElementById("sponsorSkipNotice" + this.idSuffix);
if (notice != null) {
notice.remove();
}
//remove setInterval
if (this.countdownInterval !== null) clearInterval(this.countdownInterval);
}
}
export default SkipNotice;

View File

@@ -1,6 +1,11 @@
import Config from "./config";
import * as CompileConfig from "../config.json";
// Make the config public for debugging purposes
(<any> window).SB = Config;
import Utils from "./utils";
import CategoryChooser from "./render/CategoryChooser";
var utils = new Utils();
window.addEventListener('DOMContentLoaded', init);
@@ -8,6 +13,13 @@ window.addEventListener('DOMContentLoaded', init);
async function init() {
utils.localizeHtmlPage();
// Remove header if needed
if (window.location.hash === "#embed") {
for (const element of document.getElementsByClassName("titleBar")) {
element.classList.add("hidden");
}
}
if (!Config.configListeners.includes(optionsConfigUpdateListener)) {
Config.configListeners.push(optionsConfigUpdateListener);
}
@@ -27,6 +39,8 @@ async function init() {
let checkbox = optionsElements[i].querySelector("input");
let reverse = optionsElements[i].getAttribute("toggle-type") === "reverse";
let confirmMessage = optionsElements[i].getAttribute("confirm-message");
if (optionResult != undefined) {
checkbox.checked = optionResult;
@@ -44,6 +58,12 @@ async function init() {
// Add click listener
checkbox.addEventListener("click", () => {
// Confirm if required
if (checkbox.checked && confirmMessage && !confirm(chrome.i18n.getMessage(confirmMessage))){
checkbox.checked = false;
return;
}
Config.config[option] = reverse ? !checkbox.checked : checkbox.checked;
// See if anything extra must be run
@@ -72,7 +92,7 @@ async function init() {
textChangeInput.value = Config.config[textChangeOption];
textChangeSetButton.addEventListener("click", () => {
textChangeSetButton.addEventListener("click", async () => {
// See if anything extra must be done
switch (textChangeOption) {
case "serverAddress":
@@ -84,6 +104,18 @@ async function init() {
return;
}
// Permission needed on Firefox
if (utils.isFirefox()) {
let permissionSuccess = await new Promise((resolve, reject) => {
chrome.permissions.request({
origins: [textChangeInput.value + "/"],
permissions: []
}, resolve);
});
if (!permissionSuccess) return;
}
break;
}
@@ -112,6 +144,16 @@ async function init() {
invidiousInstanceAddInit(<HTMLElement> optionsElements[i], privateTextChangeOption);
}
break;
case "button-press":
let actionButton = optionsElements[i].querySelector(".trigger-button");
switch(optionsElements[i].getAttribute("sync-option")) {
case "copyDebugInformation":
actionButton.addEventListener("click", copyDebugOutputToClipboard);
break;
}
break;
case "keybind-change":
let keybindButton = optionsElements[i].querySelector(".trigger-button");
@@ -138,6 +180,9 @@ async function init() {
});
break;
case "react-CategoryChooserComponent":
new CategoryChooser(optionsElements[i]);
break;
}
}
@@ -192,7 +237,7 @@ function invidiousInstanceAddInit(element: HTMLElement, option: string) {
let setButton = element.querySelector(".text-change-set");
setButton.addEventListener("click", async function(e) {
if (textBox.value == "" || textBox.value.includes("/") || textBox.value.includes("http") || textBox.value.includes(":")) {
if (textBox.value == "" || textBox.value.includes("/") || textBox.value.includes("http")) {
alert(chrome.i18n.getMessage("addInvidiousInstanceError"));
} else {
// Add this
@@ -253,17 +298,23 @@ function invidiousInit(checkbox: HTMLInputElement, option: string) {
* @param checkbox
* @param option
*/
function invidiousOnClick(checkbox: HTMLInputElement, option: string) {
if (checkbox.checked) {
utils.setupExtraSitePermissions(function (granted) {
if (!granted) {
Config.config[option] = false;
checkbox.checked = false;
}
});
} else {
utils.removeExtraSiteRegistration();
}
async function invidiousOnClick(checkbox: HTMLInputElement, option: string) {
return new Promise((resolve) => {
if (checkbox.checked) {
utils.setupExtraSitePermissions(function (granted) {
if (!granted) {
Config.config[option] = false;
checkbox.checked = false;
} else {
checkbox.checked = true;
}
resolve();
});
} else {
utils.removeExtraSiteRegistration();
}
});
}
/**
@@ -291,7 +342,7 @@ function activateKeybindChange(element: HTMLElement) {
element.querySelector(".option-hidden-section").classList.remove("hidden");
document.addEventListener("keydown", (e) => keybindKeyPressed(element, e), {once: true});
document.addEventListener("keydown", (e) => keybindKeyPressed(element, e), {once: true});
}
/**
@@ -303,25 +354,51 @@ function activateKeybindChange(element: HTMLElement) {
function keybindKeyPressed(element: HTMLElement, e: KeyboardEvent) {
var key = e.key;
let button = element.querySelector(".trigger-button");
if (["Shift", "Control", "Meta", "Alt", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Tab"].indexOf(key) !== -1) {
// Wait for more
document.addEventListener("keydown", (e) => keybindKeyPressed(element, e), {once: true});
} else {
let button: HTMLElement = element.querySelector(".trigger-button");
let option = element.getAttribute("sync-option");
// Make sure keybind isn't used by the other listener
// TODO: If other keybindings are going to be added, we need a better way to find the other keys used.
let otherKeybind = (option === "startSponsorKeybind") ? Config.config['submitKeybind'] : Config.config['startSponsorKeybind'];
if (key === otherKeybind) {
closeKeybindOption(element, button);
alert(chrome.i18n.getMessage("theKey") + " " + key + " " + chrome.i18n.getMessage("keyAlreadyUsed"));
return;
}
// cancel setting a keybind
if (key === "Escape") {
closeKeybindOption(element, button);
return;
}
Config.config[option] = key;
let status = <HTMLElement> element.querySelector(".option-hidden-section > .keybind-status");
status.innerText = chrome.i18n.getMessage("keybindDescriptionComplete");
let statusKey = <HTMLElement> element.querySelector(".option-hidden-section > .keybind-status-key");
statusKey.innerText = key;
// cancel setting a keybind
if (key === "Escape") {
element.querySelector(".option-hidden-section").classList.add("hidden");
button.classList.remove("disabled");
return;
}
}
let option = element.getAttribute("sync-option");
Config.config[option] = key;
let status = <HTMLElement> element.querySelector(".option-hidden-section > .keybind-status");
status.innerText = chrome.i18n.getMessage("keybindDescriptionComplete");
let statusKey = <HTMLElement> element.querySelector(".option-hidden-section > .keybind-status-key");
statusKey.innerText = key;
/**
* Closes the menu for editing the keybind
*
* @param element
* @param button
*/
function closeKeybindOption(element: HTMLElement, button: HTMLElement) {
element.querySelector(".option-hidden-section").classList.add("hidden");
button.classList.remove("disabled");
}
@@ -345,15 +422,56 @@ function activatePrivateTextChange(element: HTMLElement) {
element.querySelector(".option-hidden-section").classList.remove("hidden");
return;
}
textBox.value = Config.config[option];
let result = Config.config[option];
// See if anything extra must be done
switch (option) {
case "*":
let jsonData = JSON.parse(JSON.stringify(Config.localConfig));
// Fix segmentTimes data as it is destroyed from the JSON stringify
jsonData.segmentTimes = Config.encodeStoredItem(Config.localConfig.segmentTimes);
result = JSON.stringify(jsonData);
break;
}
textBox.value = result;
let setButton = element.querySelector(".text-change-set");
setButton.addEventListener("click", () => {
setButton.addEventListener("click", async () => {
let confirmMessage = element.getAttribute("confirm-message");
if (confirmMessage === null || confirm(chrome.i18n.getMessage(confirmMessage))) {
Config.config[option] = textBox.value;
// See if anything extra must be done
switch (option) {
case "*":
try {
let newConfig = JSON.parse(textBox.value);
for (const key in newConfig) {
Config.config[key] = newConfig[key];
}
Config.convertJSON();
if (newConfig.supportInvidious) {
let checkbox = <HTMLInputElement> document.querySelector("#support-invidious > label > label > input");
checkbox.checked = true;
await invidiousOnClick(checkbox, "supportInvidious");
}
window.location.reload();
} catch (e) {
alert(chrome.i18n.getMessage("incorrectlyFormattedOptions"));
}
break;
default:
Config.config[option] = textBox.value;
}
}
});
@@ -381,4 +499,36 @@ function validateServerAddress(input: string): string {
}
return input;
}
function copyDebugOutputToClipboard() {
// Build output debug information object
let output = {
debug: {
userAgent: navigator.userAgent,
platform: navigator.platform,
language: navigator.language,
extensionVersion: chrome.runtime.getManifest().version
},
config: JSON.parse(JSON.stringify(Config.localConfig)) // Deep clone config object
};
// Fix segmentTimes data as it is destroyed from the JSON stringify
output.config.segmentTimes = Config.encodeStoredItem(Config.localConfig.segmentTimes);
// Sanitise sensitive user config values
delete output.config.userID;
output.config.serverAddress = (output.config.serverAddress === CompileConfig.serverAddress)
? "Default server address" : "Custom server address";
output.config.invidiousInstances = output.config.invidiousInstances.length;
output.config.whitelistedChannels = output.config.whitelistedChannels.length;
// Copy object to clipboard
navigator.clipboard.writeText(JSON.stringify(output, null, 4))
.then(() => {
alert(chrome.i18n.getMessage("copyDebugInformationComplete"));
})
.catch(err => {
alert(chrome.i18n.getMessage("copyDebugInformationFailed"));
});;
}

View File

@@ -1,6 +1,7 @@
import Config from "./config";
import Utils from "./utils";
import { SponsorTime, SponsorHideType } from "./types";
var utils = new Utils();
interface MessageListener {
@@ -50,13 +51,13 @@ async function runThePopup(messageListener?: MessageListener) {
// Top toggles
"whitelistChannel",
"unwhitelistChannel",
"whitelistForceCheck",
"disableSkipping",
"enableSkipping",
// Options
"showNoticeAgain",
"optionsButton",
// More controls
"clearTimes",
"submitTimes",
"reportAnIssue",
// sponsorTimesContributions
@@ -82,9 +83,6 @@ async function runThePopup(messageListener?: MessageListener) {
// discordButtons
"discordButtonContainer",
"hideDiscordButton",
// submitTimesInfoMessage
"submitTimesInfoMessageContainer",
"submitTimesInfoMessage",
// Username
"setUsernameContainer",
"setUsernameButton",
@@ -105,10 +103,10 @@ async function runThePopup(messageListener?: MessageListener) {
//setup click listeners
PageElements.sponsorStart.addEventListener("click", sendSponsorStartMessage);
PageElements.whitelistChannel.addEventListener("click", whitelistChannel);
PageElements.whitelistForceCheck.addEventListener("click", openOptions);
PageElements.unwhitelistChannel.addEventListener("click", unwhitelistChannel);
PageElements.disableSkipping.addEventListener("click", () => toggleSkipping(true));
PageElements.enableSkipping.addEventListener("click", () => toggleSkipping(false));
PageElements.clearTimes.addEventListener("click", clearTimes);
PageElements.submitTimes.addEventListener("click", submitTimes);
PageElements.showNoticeAgain.addEventListener("click", showNoticeAgain);
PageElements.setUsernameButton.addEventListener("click", setUsernameButton);
@@ -121,7 +119,7 @@ async function runThePopup(messageListener?: MessageListener) {
let startTimeChosen = false;
//the start and end time pairs (2d)
let sponsorTimes = [];
let sponsorTimes: SponsorTime[] = [];
//current video ID of this tab
let currentVideoID = null;
@@ -157,10 +155,10 @@ async function runThePopup(messageListener?: MessageListener) {
//get the amount of times this user has contributed and display it to thank them
if (Config.config.sponsorTimesContributed != undefined) {
if (Config.config.sponsorTimesContributed > 1) {
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsors");
if (Config.config.sponsorTimesContributed !== 1) {
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Segments");
} else {
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsor");
PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Segment");
}
PageElements.sponsorTimesContributionsDisplay.innerText = Config.config.sponsorTimesContributed;
PageElements.sponsorTimesContributionsContainer.style.display = "unset";
@@ -170,9 +168,9 @@ async function runThePopup(messageListener?: MessageListener) {
if (userID != undefined) {
//there are probably some views on these submissions then
//get the amount of views from the sponsors submitted
utils.sendRequestToServer("GET", "/api/getViewsForUser?userID=" + userID, function(xmlhttp) {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
let viewCount = JSON.parse(xmlhttp.responseText).viewCount;
utils.sendRequestToServer("GET", "/api/getViewsForUser?userID=" + userID, function(response) {
if (response.status == 200) {
let viewCount = JSON.parse(response.responseText).viewCount;
if (viewCount != 0) {
if (viewCount > 1) {
PageElements.sponsorTimesViewsDisplayEndWord.innerText = chrome.i18n.getMessage("Segments");
@@ -187,9 +185,9 @@ async function runThePopup(messageListener?: MessageListener) {
});
//get this time in minutes
utils.sendRequestToServer("GET", "/api/getSavedTimeForUser?userID=" + userID, function(xmlhttp) {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
let minutesSaved = JSON.parse(xmlhttp.responseText).timeSaved;
utils.sendRequestToServer("GET", "/api/getSavedTimeForUser?userID=" + userID, function(response) {
if (response.status == 200) {
let minutesSaved = JSON.parse(response.responseText).timeSaved;
if (minutesSaved != 0) {
if (minutesSaved != 1) {
PageElements.sponsorTimesOthersTimeSavedEndWord.innerText = chrome.i18n.getMessage("minsLower");
@@ -208,9 +206,9 @@ async function runThePopup(messageListener?: MessageListener) {
//get the amount of times this user has skipped a sponsor
if (Config.config.skipCount != undefined) {
if (Config.config.skipCount != 1) {
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Sponsors");
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Segments");
} else {
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Sponsor");
PageElements.sponsorTimesSkipsDoneEndWord.innerText = chrome.i18n.getMessage("Segment");
}
PageElements.sponsorTimesSkipsDoneDisplay.innerText = Config.config.skipCount;
@@ -254,17 +252,15 @@ async function runThePopup(messageListener?: MessageListener) {
}
//load video times for this video
let sponsorTimesStorage = Config.config.sponsorTimes.get(currentVideoID);
let sponsorTimesStorage = Config.config.segmentTimes.get(currentVideoID);
if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) {
if (sponsorTimesStorage[sponsorTimesStorage.length - 1] != undefined && sponsorTimesStorage[sponsorTimesStorage.length - 1].length < 2) {
if (sponsorTimesStorage[sponsorTimesStorage.length - 1] != undefined && sponsorTimesStorage[sponsorTimesStorage.length - 1].segment.length < 2) {
startTimeChosen = true;
PageElements.sponsorStart.innerHTML = chrome.i18n.getMessage("sponsorEnd");
}
sponsorTimes = sponsorTimesStorage;
displaySponsorTimes();
//show submission section
PageElements.submissionSection.style.display = "unset";
@@ -279,7 +275,7 @@ async function runThePopup(messageListener?: MessageListener) {
);
}
function infoFound(request) {
function infoFound(request: {found: boolean, sponsorTimes: SponsorTime[]}) {
if(chrome.runtime.lastError) {
//This page doesn't have the injected content script, or at least not yet
displayNoVideo();
@@ -340,13 +336,17 @@ async function runThePopup(messageListener?: MessageListener) {
let sponsorTimesIndex = sponsorTimes.length - (startTimeChosen ? 1 : 0);
if (sponsorTimes[sponsorTimesIndex] == undefined) {
sponsorTimes[sponsorTimesIndex] = [];
sponsorTimes[sponsorTimesIndex] = {
segment: [],
category: Config.config.defaultCategory,
UUID: null
};
}
sponsorTimes[sponsorTimesIndex][startTimeChosen ? 1 : 0] = response.time;
sponsorTimes[sponsorTimesIndex].segment[startTimeChosen ? 1 : 0] = response.time;
let localStartTimeChosen = startTimeChosen;
Config.config.sponsorTimes.set(currentVideoID, sponsorTimes);
Config.config.segmentTimes.set(currentVideoID, sponsorTimes);
//send a message to the client script
if (localStartTimeChosen) {
@@ -363,28 +363,14 @@ async function runThePopup(messageListener?: MessageListener) {
updateStartTimeChosen();
//display video times on screen
displaySponsorTimes();
//show submission section
PageElements.submissionSection.style.display = "unset";
showSubmitTimesIfNecessary();
}
//display the video times from the array
function displaySponsorTimes() {
//remove all children
while (PageElements.sponsorMessageTimes.firstChild) {
PageElements.sponsorMessageTimes.removeChild(PageElements.sponsorMessageTimes.firstChild);
}
//add sponsor times
PageElements.sponsorMessageTimes.appendChild(getSponsorTimesMessageDiv(sponsorTimes));
}
//display the video times from the array at the top, in a different section
function displayDownloadedSponsorTimes(request) {
function displayDownloadedSponsorTimes(request: {found: boolean, sponsorTimes: SponsorTime[]}) {
if (request.sponsorTimes != undefined) {
//set it to the message
if (PageElements.downloadedSponsorMessageTimes.innerText != chrome.i18n.getMessage("channelWhitelisted")) {
@@ -398,16 +384,19 @@ async function runThePopup(messageListener?: MessageListener) {
sponsorTimeButton.className = "warningButton popupElement";
let extraInfo = "";
if (request.hiddenSponsorTimes.includes(i)) {
//this one is hidden
extraInfo = " (hidden)";
if (request.sponsorTimes[i].hidden === SponsorHideType.Downvoted) {
//this one is downvoted
extraInfo = " (" + chrome.i18n.getMessage("hiddenDueToDownvote") + ")";
} else if (request.sponsorTimes[i].hidden === SponsorHideType.MinimumDuration) {
//this one is too short
extraInfo = " (" + chrome.i18n.getMessage("hiddenDueToDuration") + ")";
}
sponsorTimeButton.innerText = getFormattedTime(request.sponsorTimes[i][0]) + " to " + getFormattedTime(request.sponsorTimes[i][1]) + extraInfo;
sponsorTimeButton.innerText = getFormattedTime(request.sponsorTimes[i].segment[0]) + " to " + getFormattedTime(request.sponsorTimes[i].segment[1]) + extraInfo;
let votingButtons = document.createElement("div");
let UUID = request.UUIDs[i];
let UUID = request.sponsorTimes[i].UUID;
//thumbs up and down buttons
let voteButtonsContainer = document.createElement("div");
@@ -451,12 +440,12 @@ async function runThePopup(messageListener?: MessageListener) {
}
//get the message that visually displays the video times
function getSponsorTimesMessage(sponsorTimes) {
function getSponsorTimesMessage(sponsorTimes: SponsorTime[]) {
let sponsorTimesMessage = "";
for (let i = 0; i < sponsorTimes.length; i++) {
for (let s = 0; s < sponsorTimes[i].length; s++) {
let timeMessage = getFormattedTime(sponsorTimes[i][s]);
for (let s = 0; s < sponsorTimes[i].segment.length; s++) {
let timeMessage = getFormattedTime(sponsorTimes[i].segment[s]);
//if this is an end time
if (s == 1) {
timeMessage = " to " + timeMessage;
@@ -464,6 +453,14 @@ async function runThePopup(messageListener?: MessageListener) {
//add commas if necessary
timeMessage = ", " + timeMessage;
}
if (sponsorTimes[i].hidden === SponsorHideType.Downvoted) {
//this one is downvoted
timeMessage += " (" + chrome.i18n.getMessage("hiddenDueToDownvote") + ")";
} else if (sponsorTimes[i].hidden === SponsorHideType.MinimumDuration) {
//this one is too short
timeMessage += " (" + chrome.i18n.getMessage("hiddenDueToDuration") + ")";
}
sponsorTimesMessage += timeMessage;
}
@@ -535,7 +532,7 @@ async function runThePopup(messageListener?: MessageListener) {
}
function previewSponsorTime(index) {
let skipTime = sponsorTimes[index][0];
let skipTime = sponsorTimes[index].segment[0];
if (document.getElementById("startTimeMinutes" + index) != null) {
//edit is currently open, use that time
@@ -582,28 +579,28 @@ async function runThePopup(messageListener?: MessageListener) {
startTimeMinutes.id = "startTimeMinutes" + index;
startTimeMinutes.className = "sponsorTime popupElement";
startTimeMinutes.type = "text";
startTimeMinutes.value = String(getTimeInMinutes(sponsorTimes[index][0]));
startTimeMinutes.value = String(getTimeInMinutes(sponsorTimes[index].segment[0]));
startTimeMinutes.style.width = "45px";
let startTimeSeconds = document.createElement("input");
startTimeSeconds.id = "startTimeSeconds" + index;
startTimeSeconds.className = "sponsorTime popupElement";
startTimeSeconds.type = "text";
startTimeSeconds.value = getTimeInFormattedSeconds(sponsorTimes[index][0]);
startTimeSeconds.value = getTimeInFormattedSeconds(sponsorTimes[index].segment[0]);
startTimeSeconds.style.width = "60px";
let endTimeMinutes = document.createElement("input");
endTimeMinutes.id = "endTimeMinutes" + index;
endTimeMinutes.className = "sponsorTime popupElement";
endTimeMinutes.type = "text";
endTimeMinutes.value = String(getTimeInMinutes(sponsorTimes[index][1]));
endTimeMinutes.value = String(getTimeInMinutes(sponsorTimes[index].segment[1]));
endTimeMinutes.style.width = "45px";
let endTimeSeconds = document.createElement("input");
endTimeSeconds.id = "endTimeSeconds" + index;
endTimeSeconds.className = "sponsorTime popupElement";
endTimeSeconds.type = "text";
endTimeSeconds.value = getTimeInFormattedSeconds(sponsorTimes[index][1]);
endTimeSeconds.value = getTimeInFormattedSeconds(sponsorTimes[index].segment[1]);
endTimeSeconds.style.width = "60px";
//the button to set the current time
@@ -675,11 +672,11 @@ async function runThePopup(messageListener?: MessageListener) {
}
function saveSponsorTimeEdit(index, closeEditMode = true) {
sponsorTimes[index][0] = getSponsorTimeEditTimes("startTime", index);
sponsorTimes[index][1] = getSponsorTimeEditTimes("endTime", index);
sponsorTimes[index].segment[0] = getSponsorTimeEditTimes("startTime", index);
sponsorTimes[index].segment[1] = getSponsorTimeEditTimes("endTime", index);
//save this
Config.config.sponsorTimes.set(currentVideoID, sponsorTimes);
Config.config.segmentTimes.set(currentVideoID, sponsorTimes);
messageHandler.query({
active: true,
@@ -692,8 +689,6 @@ async function runThePopup(messageListener?: MessageListener) {
});
if (closeEditMode) {
displaySponsorTimes();
showSubmitTimesIfNecessary();
}
}
@@ -701,7 +696,7 @@ async function runThePopup(messageListener?: MessageListener) {
//deletes the sponsor time submitted at an index
function deleteSponsorTime(index) {
//if it is not a complete sponsor time
if (sponsorTimes[index].length < 2) {
if (sponsorTimes[index].segment.length < 2) {
messageHandler.query({
active: true,
currentWindow: true
@@ -719,20 +714,8 @@ async function runThePopup(messageListener?: MessageListener) {
sponsorTimes.splice(index, 1);
//save this
Config.config.sponsorTimes.set(currentVideoID, sponsorTimes);
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: "sponsorDataChanged"}
);
});
//update display
displaySponsorTimes();
Config.config.segmentTimes.set(currentVideoID, sponsorTimes);
//if they are all removed
if (sponsorTimes.length == 0) {
//update chrome tab
@@ -750,69 +733,29 @@ async function runThePopup(messageListener?: MessageListener) {
//hide submission section
document.getElementById("submissionSection").style.display = "none";
}
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: "sponsorDataChanged"}
);
});
}
function clearTimes() {
//send new sponsor time state to tab
function submitTimes() {
if (sponsorTimes.length > 0) {
messageHandler.query({
active: true,
currentWindow: true
}, function(tabs) {
messageHandler.sendMessage(tabs[0].id, {
message: "changeStartSponsorButton",
showStartSponsor: true,
uploadButtonVisible: false
});
});
}
//reset sponsorTimes
sponsorTimes = [];
Config.config.sponsorTimes.set(currentVideoID, sponsorTimes);
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: "sponsorDataChanged"}
{message: 'submitTimes'},
);
});
displaySponsorTimes();
//hide submission section
document.getElementById("submissionSection").style.display = "none";
resetStartTimeChosen();
}
function submitTimes() {
//make info message say loading
PageElements.submitTimesInfoMessage.innerText = chrome.i18n.getMessage("Loading");
PageElements.submitTimesInfoMessageContainer.style.display = "unset";
if (sponsorTimes.length > 0) {
chrome.runtime.sendMessage({
message: "submitTimes",
videoID: currentVideoID
}, function(response) {
if (response != undefined) {
if (response.statusCode == 200) {
//hide loading message
PageElements.submitTimesInfoMessageContainer.style.display = "none";
clearTimes();
} else {
document.getElementById("submitTimesInfoMessage").innerText = utils.getErrorMessage(response.statusCode);
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
PageElements.submitTimesInfoMessageContainer.style.display = "unset";
}
}
});
}
}
@@ -841,7 +784,7 @@ async function runThePopup(messageListener?: MessageListener) {
//hides and shows the submit times button when needed
function showSubmitTimesIfNecessary() {
//check if an end time has been specified for the latest sponsor time
if (sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length > 1) {
if (sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].segment.length > 1) {
//show submit times button
document.getElementById("submitTimesContainer").style.display = "unset";
} else {
@@ -858,9 +801,9 @@ async function runThePopup(messageListener?: MessageListener) {
//make the options username setting option visible
function setUsernameButton() {
//get username from the server
utils.sendRequestToServer("GET", "/api/getUsername?userID=" + Config.config.userID, function (xmlhttp, error) {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
PageElements.usernameInput.value = JSON.parse(xmlhttp.responseText).userName;
utils.sendRequestToServer("GET", "/api/getUsername?userID=" + Config.config.userID, function (response) {
if (response.status == 200) {
PageElements.usernameInput.value = JSON.parse(response.responseText).userName;
PageElements.submitUsername.style.display = "unset";
PageElements.usernameInput.style.display = "unset";
@@ -869,13 +812,13 @@ async function runThePopup(messageListener?: MessageListener) {
PageElements.setUsername.style.display = "unset";
PageElements
PageElements.setUsernameStatusContainer.style.display = "none";
} else if (xmlhttp.readyState == 4) {
} else {
PageElements.setUsername.style.display = "unset";
PageElements.submitUsername.style.display = "none";
PageElements.usernameInput.style.display = "none";
PageElements.setUsernameStatusContainer.style.display = "unset";
PageElements.setUsernameStatus.innerText = utils.getErrorMessage(xmlhttp.status);
PageElements.setUsernameStatus.innerText = utils.getErrorMessage(response.status);
}
});
}
@@ -887,15 +830,15 @@ async function runThePopup(messageListener?: MessageListener) {
PageElements.setUsernameStatus.innerText = "Loading...";
//get the userID
utils.sendRequestToServer("POST", "/api/setUsername?userID=" + Config.config.userID + "&username=" + PageElements.usernameInput.value, function (xmlhttp, error) {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
utils.sendRequestToServer("POST", "/api/setUsername?userID=" + Config.config.userID + "&username=" + PageElements.usernameInput.value, function (response) {
if (response.status == 200) {
//submitted
PageElements.submitUsername.style.display = "none";
PageElements.usernameInput.style.display = "none";
PageElements.setUsernameStatus.innerText = chrome.i18n.getMessage("success");
} else if (xmlhttp.readyState == 4) {
PageElements.setUsernameStatus.innerText = utils.getErrorMessage(xmlhttp.status);
} else {
PageElements.setUsernameStatus.innerText = utils.getErrorMessage(response.status);
}
});
@@ -944,9 +887,6 @@ async function runThePopup(messageListener?: MessageListener) {
if (response.successType == 1 || (response.successType == -1 && response.statusCode == 429)) {
//success (treat rate limits as a success)
addVoteMessage(chrome.i18n.getMessage("voted"), UUID)
} else if (response.successType == 0) {
//failure: duplicate vote
addVoteMessage(chrome.i18n.getMessage("voteFail"), UUID)
} else if (response.successType == -1) {
addVoteMessage(utils.getErrorMessage(response.statusCode), UUID)
}
@@ -982,39 +922,46 @@ async function runThePopup(messageListener?: MessageListener) {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'getChannelURL'},
{message: 'getChannelID'},
function(response) {
if (!response.channelID) {
alert(chrome.i18n.getMessage("channelDataNotFound") + "\n\n" +
chrome.i18n.getMessage("itCouldBeAdblockerIssue"));
return;
}
//get whitelisted channels
let whitelistedChannels = Config.config.whitelistedChannels;
if (whitelistedChannels == undefined) {
whitelistedChannels = [];
let whitelistedChannels = Config.config.whitelistedChannels;
if (whitelistedChannels == undefined) {
whitelistedChannels = [];
}
//add on this channel
whitelistedChannels.push(response.channelID);
//change button
PageElements.whitelistChannel.style.display = "none";
PageElements.unwhitelistChannel.style.display = "unset";
if (!Config.config.forceChannelCheck) PageElements.whitelistForceCheck.style.display = "unset";
PageElements.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted");
PageElements.downloadedSponsorMessageTimes.style.fontWeight = "bold";
//save this
Config.config.whitelistedChannels = whitelistedChannels;
//send a message to the client
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id, {
message: 'whitelistChange',
value: true
});
}
//add on this channel
whitelistedChannels.push(response.channelURL);
//change button
PageElements.whitelistChannel.style.display = "none";
PageElements.unwhitelistChannel.style.display = "unset";
PageElements.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted");
PageElements.downloadedSponsorMessageTimes.style.fontWeight = "bold";
//save this
Config.config.whitelistedChannels = whitelistedChannels;
//send a message to the client
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id, {
message: 'whitelistChange',
value: true
});
}
);
);
}
);
});
@@ -1028,7 +975,7 @@ async function runThePopup(messageListener?: MessageListener) {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'getChannelURL'},
{message: 'getChannelID'},
function(response) {
//get whitelisted channels
let whitelistedChannels = Config.config.whitelistedChannels;
@@ -1037,7 +984,7 @@ async function runThePopup(messageListener?: MessageListener) {
}
//remove this channel
let index = whitelistedChannels.indexOf(response.channelURL);
let index = whitelistedChannels.indexOf(response.channelID);
whitelistedChannels.splice(index, 1);
//change button

View File

@@ -0,0 +1,15 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import CategoryChooserComponent from "../components/CategoryChooserComponent";
class CategoryChooser {
constructor(element: Element) {
ReactDOM.render(
<CategoryChooserComponent/>,
element
);
}
}
export default CategoryChooser;

69
src/render/SkipNotice.tsx Normal file
View File

@@ -0,0 +1,69 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import SkipNoticeComponent from "../components/SkipNoticeComponent";
import { SponsorTime } from "../types";
class SkipNotice {
segments: SponsorTime[];
autoSkip: boolean;
// Contains functions and variables from the content script needed by the skip notice
contentContainer: () => any;
noticeElement: HTMLDivElement;
skipNoticeRef: React.MutableRefObject<SkipNoticeComponent>;
constructor(segments: SponsorTime[], autoSkip: boolean = false, contentContainer) {
this.segments = segments;
this.autoSkip = autoSkip;
this.contentContainer = contentContainer;
//get reference node
let referenceNode = document.getElementById("player-container-id")
|| document.getElementById("movie_player") || document.querySelector("#player-container .video-js");
if (referenceNode == null) {
//for embeds
let player = document.getElementById("player");
referenceNode = player.firstChild as HTMLElement;
let index = 1;
//find the child that is the video player (sometimes it is not the first)
while (!referenceNode.classList.contains("html5-video-player") || !referenceNode.classList.contains("ytp-embed")) {
referenceNode = player.children[index] as HTMLElement;
index++;
}
}
let amountOfPreviousNotices = document.getElementsByClassName("sponsorSkipNotice").length;
//this is the suffix added at the end of every id
let idSuffix = "";
for (const segment of this.segments) {
idSuffix += segment.UUID;
}
idSuffix += amountOfPreviousNotices;
this.noticeElement = document.createElement("div");
this.noticeElement.id = "sponsorSkipNoticeContainer" + idSuffix;
referenceNode.prepend(this.noticeElement);
ReactDOM.render(
<SkipNoticeComponent segments={segments}
autoSkip={autoSkip}
contentContainer={contentContainer}
ref={this.skipNoticeRef}
closeListener={() => this.close()} />,
this.noticeElement
);
}
close() {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();
}
}
export default SkipNotice;

View File

@@ -0,0 +1,65 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import SubmissionNoticeComponent from "../components/SubmissionNoticeComponent";
class SubmissionNotice {
// Contains functions and variables from the content script needed by the skip notice
contentContainer: () => any;
callback: () => any;
noticeRef: React.MutableRefObject<SubmissionNoticeComponent>;
noticeElement: HTMLDivElement;
constructor(contentContainer: () => any, callback: () => any) {
this.noticeRef = React.createRef();
this.contentContainer = contentContainer;
this.callback = callback;
//get reference node
let referenceNode = document.getElementById("player-container-id")
|| document.getElementById("movie_player") || document.querySelector("#player-container .video-js");
if (referenceNode == null) {
//for embeds
let player = document.getElementById("player");
referenceNode = player.firstChild as HTMLElement;
let index = 1;
//find the child that is the video player (sometimes it is not the first)
while (!referenceNode.classList.contains("html5-video-player") || !referenceNode.classList.contains("ytp-embed")) {
referenceNode = player.children[index] as HTMLElement;
index++;
}
}
this.noticeElement = document.createElement("div");
this.noticeElement.id = "submissionNoticeContainer";
referenceNode.prepend(this.noticeElement);
ReactDOM.render(
<SubmissionNoticeComponent
contentContainer={contentContainer}
callback={callback}
ref={this.noticeRef}
closeListener={() => this.close()} />,
this.noticeElement
);
}
update() {
this.noticeRef.current.forceUpdate();
}
close() {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();
}
}
export default SubmissionNotice;

View File

@@ -1,7 +1,78 @@
interface videoDurationResponse {
import SubmissionNotice from "./render/SubmissionNotice";
import SkipNoticeComponent from "./components/SkipNoticeComponent";
interface ContentContainer {
(): {
vote: (type: any, UUID: any, category?: string, skipNotice?: SkipNoticeComponent) => void,
dontShowNoticeAgain: () => void,
unskipSponsorTime: (segment: SponsorTime) => void,
sponsorTimes: SponsorTime[],
sponsorTimesSubmitting: SponsorTime[],
v: HTMLVideoElement,
sponsorVideoID,
reskipSponsorTime: (segment: SponsorTime) => void,
updatePreviewBar: () => void,
onMobileYouTube: boolean,
sponsorSubmissionNotice: SubmissionNotice,
resetSponsorSubmissionNotice: () => void,
changeStartSponsorButton: (showStartSponsor: any, uploadButtonVisible: any) => Promise<boolean>,
previewTime: (time: number) => void,
videoInfo: any,
getRealCurrentTime: () => number
}
}
interface FetchResponse {
responseText: string,
status: number,
ok: boolean
}
interface VideoDurationResponse {
duration: number;
}
enum CategorySkipOption {
ShowOverlay,
ManualSkip,
AutoSkip
}
interface CategorySelection {
name: string;
option: CategorySkipOption
}
enum SponsorHideType {
Visible = undefined,
Downvoted = 1,
MinimumDuration
}
interface SponsorTime {
segment: number[];
UUID: string;
category: string;
hidden?: SponsorHideType;
}
interface PreviewBarOption {
color: string,
opacity: string
}
type VideoID = string;
export {
videoDurationResponse
FetchResponse,
VideoDurationResponse,
ContentContainer,
CategorySelection,
CategorySkipOption,
SponsorTime,
VideoID,
SponsorHideType,
PreviewBarOption
};

View File

@@ -1,4 +1,7 @@
import Config from "./config";
import { CategorySelection, SponsorTime, FetchResponse } from "./types";
import * as CompileConfig from "../config.json";
class Utils {
@@ -154,6 +157,42 @@ class Utils {
});
}
/**
* Gets just the timestamps from a sponsorTimes array
*
* @param sponsorTimes
*/
getSegmentsFromSponsorTimes(sponsorTimes: SponsorTime[]): number[][] {
let segments: number[][] = [];
for (const sponsorTime of sponsorTimes) {
segments.push(sponsorTime.segment);
}
return segments;
}
getSponsorIndexFromUUID(sponsorTimes: SponsorTime[], UUID: string): number {
for (let i = 0; i < sponsorTimes.length; i++) {
if (sponsorTimes[i].UUID === UUID) {
return i;
}
}
return -1;
}
getSponsorTimeFromUUID(sponsorTimes: SponsorTime[], UUID: string): SponsorTime {
return sponsorTimes[this.getSponsorIndexFromUUID(sponsorTimes, UUID)];
}
getCategorySelection(category: string): CategorySelection {
for (const selection of Config.config.categorySelections) {
if (selection.name === category) {
return selection;
}
}
}
localizeHtmlPage() {
//Localize by replacing __MSG_***__ meta tags
var objects = document.getElementsByClassName("sponsorBlockPageBody")[0].children;
@@ -230,6 +269,40 @@ class Utils {
return errorMessage;
}
/**
* Sends a request to a custom server
*
* @param type The request type. "GET", "POST", etc.
* @param address The address to add to the SponsorBlock server address
* @param callback
*/
async asyncRequestToCustomServer(type: string, url: string, data = {}): Promise<FetchResponse> {
return new Promise((resolve) => {
// Ask the background script to do the work
chrome.runtime.sendMessage({
message: "sendRequest",
type,
url,
data
}, (response) => {
resolve(response);
});
})
}
/**
* Sends a request to the SponsorBlock server with address added as a query
*
* @param type The request type. "GET", "POST", etc.
* @param address The address to add to the SponsorBlock server address
* @param callback
*/
async asyncRequestToServer(type: string, address: string, data = {}): Promise<FetchResponse> {
let serverAddress = Config.config.testingServer ? CompileConfig.testingServerAddress : Config.config.serverAddress;
return await (this.asyncRequestToCustomServer(type, serverAddress + address, data));
}
/**
* Sends a request to the SponsorBlock server with address added as a query
*
@@ -237,29 +310,72 @@ class Utils {
* @param address The address to add to the SponsorBlock server address
* @param callback
*/
sendRequestToServer(type: string, address: string, callback?: (xmlhttp: XMLHttpRequest, err: boolean) => any) {
let xmlhttp = new XMLHttpRequest();
xmlhttp.open(type, Config.config.serverAddress + address, true);
if (callback != undefined) {
xmlhttp.onreadystatechange = function () {
callback(xmlhttp, false);
};
xmlhttp.onerror = function(ev) {
callback(xmlhttp, true);
};
sendRequestToServer(type: string, address: string, callback?: (response: FetchResponse) => void) {
let serverAddress = Config.config.testingServer ? CompileConfig.testingServerAddress : Config.config.serverAddress;
// Ask the background script to do the work
chrome.runtime.sendMessage({
message: "sendRequest",
type,
url: serverAddress + address
}, (response) => {
callback(response);
});
}
getFormattedMinutes(seconds: number) {
return Math.floor(seconds / 60);
}
getFormattedSeconds(seconds: number) {
return seconds % 60;
}
getFormattedTime(seconds: number, precise?: boolean): string {
let hours = Math.floor(seconds / 60 / 60);
let minutes = Math.floor(seconds / 60) % 60;
let minutesDisplay = String(minutes);
let secondsNum = seconds % 60;
if (!precise) {
secondsNum = Math.floor(secondsNum);
}
//submit this request
xmlhttp.send();
let secondsDisplay: string = String(precise ? secondsNum.toFixed(3) : secondsNum);
if (secondsNum < 10) {
//add a zero
secondsDisplay = "0" + secondsDisplay;
}
if (hours && minutes < 10) {
//add a zero
minutesDisplay = "0" + minutesDisplay;
}
let formatted = (hours ? hours + ":" : "") + minutesDisplay + ":" + secondsDisplay;
return formatted;
}
shortCategoryName(categoryName: string): string {
return chrome.i18n.getMessage("category_" + categoryName + "_short") || chrome.i18n.getMessage("category_" + categoryName);
}
getRawSeconds(minutes: number, seconds: number): number {
return minutes * 60 + seconds;
}
isContentScript(): boolean {
return window.location.protocol === "http:" || window.location.protocol === "https:";
}
isHex(num: string): boolean {
return Boolean(num.match(/^[0-9a-f]+$/i));
}
/**
* Is this Firefox (web-extensions)
*/
isFirefox() {
isFirefox(): boolean {
return typeof(browser) !== "undefined";
}
}

View File

@@ -7,6 +7,7 @@
"outDir": "dist/js",
"noEmitOnError": true,
"typeRoots": [ "node_modules/@types" ],
"resolveJsonModule": true
"resolveJsonModule": true,
"jsx": "react"
}
}

View File

@@ -42,7 +42,8 @@ module.exports = env => ({
),
new BuildManifest({
browser: env.browser,
pretty: env.mode === "production"
pretty: env.mode === "production",
stream: env.stream
})
]
});

View File

@@ -8,6 +8,8 @@ const fs = require('fs');
const manifest = require("../manifest/manifest.json");
const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json");
const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json");
const betaManifestExtra = require("../manifest/beta-manifest-extra.json");
const firefoxBetaManifestExtra = require("../manifest/firefox-beta-manifest-extra.json");
// schema for options object
const schema = {
@@ -18,6 +20,9 @@ const schema = {
},
pretty: {
type: 'boolean'
},
steam: {
type: 'string'
}
}
};
@@ -40,6 +45,14 @@ class BuildManifest {
mergeObjects(manifest, chromeManifestExtra);
}
if (this.options.stream === "beta") {
mergeObjects(manifest, betaManifestExtra);
if (this.options.browser.toLowerCase() === "firefox") {
mergeObjects(manifest, firefoxBetaManifestExtra);
}
}
let result = JSON.stringify(manifest);
if (this.options.pretty) result = JSON.stringify(manifest, null, 2);