Skip to content

Commit

Permalink
Доработка логики обновления субтитров при переводе видео
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser committed Jul 4, 2024
1 parent b509c84 commit 5b60225
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/vot-cloudflare-min.user.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/vot-cloudflare.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6784,6 +6784,7 @@ class VideoHandler {
!this.subtitlesList.some(
(item) =>
item.source === "yandex" &&
item.translatedFromLanguage === this.videoData.detectedLanguage &&
item.language === this.videoData.responseLanguage,
)
) {
Expand Down
2 changes: 1 addition & 1 deletion dist/vot-min.user.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6664,6 +6664,7 @@ class VideoHandler {
!this.subtitlesList.some(
(item) =>
item.source === "yandex" &&
item.translatedFromLanguage === this.videoData.detectedLanguage &&
item.language === this.videoData.responseLanguage,
)
) {
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,7 @@ class VideoHandler {
!this.subtitlesList.some(
(item) =>
item.source === "yandex" &&
item.translatedFromLanguage === this.videoData.detectedLanguage &&
item.language === this.videoData.responseLanguage,
)
) {
Expand Down

0 comments on commit 5b60225

Please sign in to comment.