mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Update library management dialog titles
This commit is contained in:
parent
fb6e8f54b8
commit
8c1eab6034
2 changed files with 22 additions and 1 deletions
|
@ -933,3 +933,15 @@ msgstr ""
|
||||||
msgctxt "#33197"
|
msgctxt "#33197"
|
||||||
msgid "A sync is already running, please wait until it completes and try again."
|
msgid "A sync is already running, please wait until it completes and try again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#33198"
|
||||||
|
msgid "Select the libraries to update"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#33199"
|
||||||
|
msgid "Select the libraries to repair"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#33200"
|
||||||
|
msgid "Select the libraries to remove"
|
||||||
|
msgstr ""
|
|
@ -493,7 +493,16 @@ class Library(threading.Thread):
|
||||||
|
|
||||||
choices = [x['Name'] for x in libraries]
|
choices = [x['Name'] for x in libraries]
|
||||||
choices.insert(0, _(33121))
|
choices.insert(0, _(33121))
|
||||||
selection = dialog("multi", _(33120), choices)
|
|
||||||
|
titles = {
|
||||||
|
"RepairLibrarySelection": 33199,
|
||||||
|
"SyncLibrarySelection": 33198,
|
||||||
|
"RemoveLibrarySelection": 33200,
|
||||||
|
"AddLibrarySelection": 33120
|
||||||
|
}
|
||||||
|
title = titles.get(mode, "Failed to get title {}".format(mode))
|
||||||
|
|
||||||
|
selection = dialog("multi", _(title), choices)
|
||||||
|
|
||||||
if selection is None:
|
if selection is None:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue