1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Improve NSFW warning in player

This commit is contained in:
Chocobozzz 2025-07-09 15:32:57 +02:00
parent f2556d80e3
commit ee96cf3a19
No known key found for this signature in database
GPG key ID: 583A612D890159BE
10 changed files with 249 additions and 138 deletions

View file

@ -87,13 +87,16 @@ const playerKeys = {
'Audio only': 'Audio only',
'Sensitive content': 'Sensitive content',
'This video contains sensitive content.': 'This video contains sensitive content.',
'This video contains sensitive content, including:': 'This video contains sensitive content, including:',
'Learn more': 'Learn more',
'Content warning': 'Content warning',
'Violence': 'Violence',
'Shocking Content': 'Shocking Content',
'Explicit Sex': 'Explicit Sex',
'Upload speed:': 'Upload speed:',
'Download speed:': 'Download speed:'
'Download speed:': 'Download speed:',
'Uploader note:': 'Uploader note:',
'Close': 'Close'
}
Object.assign(playerKeys, videojs)