mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 14:19:40 +00:00
QOL and wording changes to Server Select and Login Screens (#777)
This commit is contained in:
parent
afbeac95e9
commit
4ae67ed144
@ -2,5 +2,5 @@ sub init()
|
||||
m.top.poster.uri = "pkg:/images/spinner.png"
|
||||
m.top.control = "start"
|
||||
m.top.clockwise = true
|
||||
m.top.spinInterval = 2
|
||||
m.top.spinInterval = 3
|
||||
end sub
|
||||
|
@ -8,7 +8,7 @@ sub init()
|
||||
m.name.vertAlign = "center"
|
||||
m.name.horizAlign = "center"
|
||||
|
||||
m.value.hintText = tr("Enter a value...")
|
||||
m.value.hintText = tr("Enter a username")
|
||||
m.value.maxTextLength = 120
|
||||
end sub
|
||||
|
||||
@ -17,6 +17,7 @@ sub itemContentChanged()
|
||||
|
||||
m.name.text = data.label
|
||||
if data.type = "password"
|
||||
m.value.hintText = tr("Enter a password")
|
||||
m.value.secureMode = true
|
||||
end if
|
||||
|
||||
|
@ -47,7 +47,7 @@ end function
|
||||
sub show_dialog(configField)
|
||||
dialog = createObject("roSGNode", "StandardKeyboardDialog")
|
||||
m.configField = configField
|
||||
dialog.title = "Enter the " + configField.label
|
||||
dialog.title = configField.label
|
||||
dialog.buttons = [tr("OK"), tr("Cancel")]
|
||||
m.greenPalette = createObject("roSGNode", "RSGPalette")
|
||||
m.greenPalette.colors = {
|
||||
|
@ -23,12 +23,18 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
||||
else if key = "down" and submit.focusedChild = invalid
|
||||
submit.setFocus(true)
|
||||
return true
|
||||
else if key = "up" and submit.focusedChild <> invalid or quickConnect.focusedChild <> invalid
|
||||
else if key = "up" and submit.focusedChild <> invalid
|
||||
checkbox.setFocus(true)
|
||||
return true
|
||||
else if key = "up" and quickConnect.focusedChild <> invalid
|
||||
checkbox.setFocus(true)
|
||||
return true
|
||||
else if key = "up" and checkbox.focusedChild <> invalid
|
||||
list.setFocus(true)
|
||||
return true
|
||||
else if key = "right" and checkbox.focusedChild <> invalid
|
||||
quickConnect.setFocus(true)
|
||||
return true
|
||||
else if key = "right" and submit.focusedChild <> invalid
|
||||
quickConnect.setFocus(true)
|
||||
return true
|
||||
|
@ -29,9 +29,21 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
||||
'user navigating up to the server picker from the input box (it's only focusable if it has items)
|
||||
else if key = "up" and m.serverUrlContainer.hasFocus() and m.servers.Count() > 0
|
||||
m.serverPicker.setFocus(true)
|
||||
else if key = "up" and m.serverUrlContainer.hasFocus() and m.servers.Count() = 0
|
||||
ScanForServers()
|
||||
else if key = "back" and m.serverUrlContainer.hasFocus() and m.servers.Count() > 0
|
||||
m.serverPicker.setFocus(true)
|
||||
else if key = "OK" and m.serverUrlContainer.hasFocus()
|
||||
ShowKeyboard()
|
||||
'focus the serverUrl input from submit button
|
||||
else if key = "back" and m.submit.hasFocus() and m.servers.Count() > 0
|
||||
m.serverPicker.setFocus(true)
|
||||
else if key = "back" and m.submit.hasFocus() and m.servers.Count() = 0
|
||||
m.serverUrlContainer.setFocus(true)
|
||||
else if key = "back" and m.serverUrlContainer.hasFocus() and m.servers.Count() = 0
|
||||
ScanForServers()
|
||||
else if key = "back" and m.serverPicker.hasFocus() and m.servers.Count() > 0
|
||||
ScanForServers()
|
||||
' On "back" with or without available local servers, will rescan for servers
|
||||
else if key = "up" and m.submit.hasFocus()
|
||||
m.serverUrlContainer.setFocus(true)
|
||||
'focus the submit button from serverUrl
|
||||
@ -60,6 +72,7 @@ sub ScanForServers()
|
||||
'run the task
|
||||
m.ssdpScanner.observeField("content", "ScanForServersComplete")
|
||||
m.ssdpScanner.control = "RUN"
|
||||
m.spinner.visible = true
|
||||
end sub
|
||||
|
||||
sub ScanForServersComplete(event)
|
||||
|
@ -112,9 +112,17 @@
|
||||
<source>Home</source>
|
||||
<translation>Основен</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Въведете потребителско име</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Въведете паролата</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Въведете стойност…</translation>
|
||||
<translation>Въведете стойност...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
@ -112,9 +112,17 @@
|
||||
<source>Home</source>
|
||||
<translation>Domů</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Zadejte jméno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Zadejte heslo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Zadejte hodnotu…</translation>
|
||||
<translation>Zadejte hodnotu...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
@ -113,9 +113,17 @@
|
||||
<translation>Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Wert eingeben…</translation>
|
||||
<source>Enter a username</source>
|
||||
<translation>Benutzernamen eingeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Passwort eingeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Wert eingeben…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
<translation>Sortiert nach</translation>
|
||||
|
@ -113,8 +113,12 @@
|
||||
<translation>Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Enter a value…</translation>
|
||||
<source>Enter a username</source>
|
||||
<translation>Enter a username</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Enter a password</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
@ -374,7 +378,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Pick a Jellyfin server from the local network</source>
|
||||
<translation>Pick a Jellyfin server from the local network</translation>
|
||||
<translation>Select an available Jellyfin server from your local network:</translation>
|
||||
<extracomment>Instructions on initial app launch when the user is asked to pick a server from a list</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
@ -384,7 +388,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>...or enter server URL manually:</source>
|
||||
<translation>…or enter server URL manually:</translation>
|
||||
<translation>If no server is listed above, you may also enter the server URL manually:</translation>
|
||||
<extracomment>Instructions on initial app launch when the user is asked to manually enter a server URL</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -124,9 +124,17 @@
|
||||
<source>Home</source>
|
||||
<translation>Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Enter a username</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Enter a password</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Enter a value…</translation>
|
||||
<translation>Enter a value...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
@ -448,12 +456,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Pick a Jellyfin server from the local network</source>
|
||||
<translation>Pick a Jellyfin server from the local network</translation>
|
||||
<translation>Select an available Jellyfin server from your local network:</translation>
|
||||
<extracomment>Instructions on initial app launch when the user is asked to pick a server from a list</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
<source>...or enter server URL manually:</source>
|
||||
<translation>…or enter server URL manually:</translation>
|
||||
<translation>If no server is listed above, you may also enter the server URL manually:</translation>
|
||||
<extracomment>Instructions on initial app launch when the user is asked to manually enter a server URL</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -112,9 +112,17 @@
|
||||
<source>Home</source>
|
||||
<translation>Inicio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Ingresar nombre de usuario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Ingresar la contraseña</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Ingresar un valor…</translation>
|
||||
<translation>Ingresar un valor...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
@ -112,9 +112,17 @@
|
||||
<source>Home</source>
|
||||
<translation>Inicio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Ingres nombre de usuario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Ingres la contraseña</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Ingrese un valor…</translation>
|
||||
<translation>Ingres un valor...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
@ -113,8 +113,12 @@
|
||||
<translation>Inicio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Enter a value...</translation>
|
||||
<source>Enter a username</source>
|
||||
<translation>Ingres nombre de usuario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Ingres la contraseña</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
@ -168,9 +172,17 @@
|
||||
<source>Audio</source>
|
||||
<translation>Audio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Ingresar nombre de usuario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Ingresar la contraseña</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Introduce un valor…</translation>
|
||||
<translation>Ingresar un valor...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
@ -111,6 +111,14 @@
|
||||
<message>
|
||||
<source>Home</source>
|
||||
<translation>Accueil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Entrez votre nom d'utilisateur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Entrer le mot de passe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Accueil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Entrez votre nom d'utilisateur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Entrer le mot de passe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Entrez une valeur…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Kezdőlap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Adjon meg egy felhasználónevet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Írja be a jelszót</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Adj meg egy értéket…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Inserisci il tuo cognome</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Inserisci la password</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Inserire un valore…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Mājas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Ievadiet lietotājvārdu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Ievadiet paroli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Ievadi vērtību…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Início</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Insira nome de usuário</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Insira um senha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Insira um valor…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Acasă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Introduceți un nume de utilizator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Introduceți o parolă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Introduceți o valoare…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Domov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Zadajte používateľské meno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Zadajte heslo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Zadajte hodnotu…</translation>
|
||||
|
@ -112,6 +112,14 @@
|
||||
<source>Home</source>
|
||||
<translation>Domov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Vnesite svoje uporabniško ime</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Vnesite geslo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation>Vnesite vrednost…</translation>
|
||||
|
@ -112,9 +112,17 @@
|
||||
<source>Home</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a username</source>
|
||||
<translation>Faka igama lomsebenzisi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a password</source>
|
||||
<translation>Faka iphasiwedi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter a value...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Faka inani...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort Field</source>
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -11680,4 +11680,4 @@
|
||||
"integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw=="
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user