Split locale enum, add duplicate values validation
This commit is contained in:
1 parent
7d9817994c
commit
48993dd9f5
7 files changed
+88
-55
No files matched your search
@@ -12,7 +12,7 @@ function Init()
|
||||
m.top.observeFieldScoped("buttonSelected", FuncName(Close))
|
||||
|
||||
scanLabel = m.top.findNode("scanLabel")
|
||||
scanLabel.text = Tr(Locale.ScanTheQrCode)
|
||||
scanLabel.text = Tr(Locale.LoginDialog.ScanTheQrCode)
|
||||
end function
|
||||
|
||||
function OnNodeReady()
|
||||
@@ -21,7 +21,7 @@ function OnNodeReady()
|
||||
if isValidAddress
|
||||
m.top.url = `${address}/invidious/login`
|
||||
else
|
||||
m.urlLabel.text = Tr(Locale.IpAddressNotAvailable)
|
||||
m.urlLabel.text = Tr(Locale.LoginDialog.IpAddressNotAvailable)
|
||||
end if
|
||||
|
||||
m.invidious.observeFieldScoped("authToken", FuncName(OnAuthTokenChange))
|
||||
|
||||
Reference in new issue
Block a user