mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #460 from dhartung/feedback-for-stream-link-copy
Added toast notification when copy-stream is executed
This commit is contained in:
commit
aca14802e0
@ -319,6 +319,10 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
|||||||
textArea.select();
|
textArea.select();
|
||||||
try {
|
try {
|
||||||
document.execCommand('copy');
|
document.execCommand('copy');
|
||||||
|
|
||||||
|
require(['toast'], function (toast) {
|
||||||
|
toast(globalize.translate('CopyStreamURLSuccess'));
|
||||||
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Failed to copy to clipboard");
|
console.error("Failed to copy to clipboard");
|
||||||
}
|
}
|
||||||
|
@ -1295,6 +1295,8 @@
|
|||||||
"ButtonTrailer": "Trailer",
|
"ButtonTrailer": "Trailer",
|
||||||
"ButtonWebsite": "Webseite",
|
"ButtonWebsite": "Webseite",
|
||||||
"ChangingMetadataImageSettingsNewContent": "Änderungen an Metadaten- und Artwork-Einstellungen betreffen nur der Bibliothek neu hinzugefügte Inhalte. Um diese Änderungen auf existierende Medien anzuwenden müssen die Metadaten manuell aktualisiert werden.",
|
"ChangingMetadataImageSettingsNewContent": "Änderungen an Metadaten- und Artwork-Einstellungen betreffen nur der Bibliothek neu hinzugefügte Inhalte. Um diese Änderungen auf existierende Medien anzuwenden müssen die Metadaten manuell aktualisiert werden.",
|
||||||
|
"CopyStreamURL": "Kopiere Streaminglink",
|
||||||
|
"CopyStreamURLSuccess": "Link erfolgreich kopiert.",
|
||||||
"Desktop": "Desktop",
|
"Desktop": "Desktop",
|
||||||
"Download": "Download",
|
"Download": "Download",
|
||||||
"Extras": "Extras",
|
"Extras": "Extras",
|
||||||
|
@ -454,5 +454,6 @@
|
|||||||
"HeaderPasswordReset": "Password Reset",
|
"HeaderPasswordReset": "Password Reset",
|
||||||
"HeaderPaths": "Paths",
|
"HeaderPaths": "Paths",
|
||||||
"HeaderPendingInvitations": "Pending Invitations",
|
"HeaderPendingInvitations": "Pending Invitations",
|
||||||
"CopyStreamURL": "Copy Stream URL"
|
"CopyStreamURL": "Copy Stream URL",
|
||||||
|
"CopyStreamURLSuccess": "URL copied successfully."
|
||||||
}
|
}
|
||||||
|
@ -161,6 +161,7 @@
|
|||||||
"ContinueWatching": "Continue watching",
|
"ContinueWatching": "Continue watching",
|
||||||
"Continuing": "Continuing",
|
"Continuing": "Continuing",
|
||||||
"CopyStreamURL": "Copy Stream URL",
|
"CopyStreamURL": "Copy Stream URL",
|
||||||
|
"CopyStreamURLSuccess": "URL copied successfully.",
|
||||||
"CriticRating": "Critic rating",
|
"CriticRating": "Critic rating",
|
||||||
"CustomDlnaProfilesHelp": "Create a custom profile to target a new device or override a system profile.",
|
"CustomDlnaProfilesHelp": "Create a custom profile to target a new device or override a system profile.",
|
||||||
"DateAdded": "Date added",
|
"DateAdded": "Date added",
|
||||||
|
Loading…
Reference in New Issue
Block a user