Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d39e4ef

Browse filesBrowse files
committed
added another missing translation and removed deprecated video property
1 parent 21a0b1a commit d39e4ef
Copy full SHA for d39e4ef

5 files changed

+22-4Lines changed: 22 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎dist/NuoFlix/EnhancedNuoFlix.js‎

Copy file name to clipboardExpand all lines: dist/NuoFlix/EnhancedNuoFlix.js
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@
316316
[
317317
'Zurück zur Profil-Seite',
318318
'Back to profile page',
319+
],
320+
[
321+
'Name der neuen Playlist:',
322+
'Name of the new playlist:',
319323
],
320324
])
321325
],
@@ -576,6 +580,10 @@
576580
[
577581
'Zurück zur Profil-Seite',
578582
'Vernut\'sya na stranitsu profilya',
583+
],
584+
[
585+
'Name der neuen Playlist:',
586+
'Nazvaniye novogo pleylista:',
579587
],
580588
])
581589
],
@@ -2487,7 +2495,7 @@ function addPlaylistContainer() {
24872495
}
24882496
function initializePlaylistButtons() {
24892497
document.getElementById('createPlaylist').addEventListener('click', function() {
2490-
const name = prompt('Name der neuen Playlist:', '');
2498+
const name = prompt(t('Name der neuen Playlist:'), '');
24912499
if (!name) return;
24922500
const playlistObj = {
24932501
id: playlistData[playlistData.length - 1].id + 1,
@@ -3391,7 +3399,6 @@ function getVideoItemObject() {
33913399
} else {
33923400
currentVideoObj = {
33933401
id: id.getAttribute('data-id'),
3394-
unavailable: false,
33953402
url: window.location.pathname,
33963403
title: title.innerText,
33973404
};
Collapse file

‎src/NuoFlix/EnhancedNuoFlix/ProfilePage/functions_profilePage.js‎

Copy file name to clipboardExpand all lines: src/NuoFlix/EnhancedNuoFlix/ProfilePage/functions_profilePage.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ function addPlaylistContainer() {
887887
function initializePlaylistButtons() {
888888
// button "create"
889889
document.getElementById('createPlaylist').addEventListener('click', function() {
890-
const name = prompt('Name der neuen Playlist:', '');
890+
const name = prompt(t('Name der neuen Playlist:'), '');
891891
if (!name) return;
892892
const playlistObj = {
893893
id: playlistData[playlistData.length - 1].id + 1,
Collapse file

‎src/NuoFlix/EnhancedNuoFlix/Translations/en.txt‎

Copy file name to clipboardExpand all lines: src/NuoFlix/EnhancedNuoFlix/Translations/en.txt
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,9 @@
369369
'Zurück zur Profil-Seite',
370370
'Back to profile page',
371371
],
372+
373+
374+
[
375+
'Name der neuen Playlist:',
376+
'Name of the new playlist:',
377+
],
Collapse file

‎src/NuoFlix/EnhancedNuoFlix/Translations/ru.txt‎

Copy file name to clipboardExpand all lines: src/NuoFlix/EnhancedNuoFlix/Translations/ru.txt
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,9 @@
368368
'Zurück zur Profil-Seite',
369369
'Vernut\'sya na stranitsu profilya',
370370
],
371+
372+
373+
[
374+
'Name der neuen Playlist:',
375+
'Nazvaniye novogo pleylista:',
376+
],
Collapse file

‎src/NuoFlix/EnhancedNuoFlix/VideoPage/functions_videoPage.js‎

Copy file name to clipboardExpand all lines: src/NuoFlix/EnhancedNuoFlix/VideoPage/functions_videoPage.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ function getVideoItemObject() {
299299
currentVideoObj = {
300300
// if all required elements where found we can be pretty sure, everything is alright
301301
id: id.getAttribute('data-id'),
302-
unavailable: false,
303302
url: window.location.pathname,
304303
title: title.innerText,
305304
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.