mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update connect link text
This commit is contained in:
parent
a732797f08
commit
27038a906e
2 changed files with 67 additions and 63 deletions
|
@ -118,13 +118,16 @@
|
|||
url: linkUrl,
|
||||
data: {
|
||||
ConnectUsername: enteredConnectUsername
|
||||
}
|
||||
},
|
||||
dataType: 'json'
|
||||
|
||||
}).done(function () {
|
||||
}).done(function (result) {
|
||||
|
||||
var msgKey = result.IsPending ? 'MessagePendingMediaBrowserAccountAdded' : 'MessageMediaBrowserAccountAdded';
|
||||
|
||||
Dashboard.alert({
|
||||
|
||||
message: Globalize.translate('MessageMediaBrowserAccontAdded'),
|
||||
message: Globalize.translate(msgKey),
|
||||
title: Globalize.translate('HeaderMediaBrowserAccountAdded'),
|
||||
|
||||
callback: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue