Skip to content

Commit

Permalink
Merge pull request #690 from SashaXser/main
Browse files Browse the repository at this point in the history
Доработка логики обновления субтитров при переводе видео
  • Loading branch information
ilyhalight authored Jul 4, 2024
2 parents b509c84 + 5b60225 commit feecc3d
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 feecc3d

Please sign in to comment.