mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove useless abstractions and hardcoded text for toasts
This commit is contained in:
parent
5d76722a27
commit
3272d12f64
6 changed files with 10 additions and 20 deletions
|
@ -865,7 +865,7 @@ export default function () {
|
|||
}, currentPlayer);
|
||||
form.querySelector('input').value = '';
|
||||
|
||||
toast('Message sent.');
|
||||
toast(globalize.translate('MessageSent'));
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
@ -882,7 +882,7 @@ export default function () {
|
|||
}, currentPlayer);
|
||||
form.querySelector('input').value = '';
|
||||
|
||||
toast('Text sent.');
|
||||
toast(globalize.translate('TextSent'));
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue