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
@@ -197,9 +197,9 @@ function OnFiltersChange()
|
||||
end if
|
||||
end for
|
||||
if filterCount > 0
|
||||
m.filtersButton.text = `${Tr(Locale.Filters)} (${filterCount})`
|
||||
m.filtersButton.text = `${Tr(Locale.Buttons.Filters)} (${filterCount})`
|
||||
else
|
||||
m.filtersButton.text = Tr(Locale.Filters)
|
||||
m.filtersButton.text = Tr(Locale.Buttons.Filters)
|
||||
end if
|
||||
end function
|
||||
|
||||
@@ -210,7 +210,7 @@ function Search(text as string)
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`
|
||||
"title": `${Tr(Locale.Search)} - ${text}`
|
||||
"title": `${Tr(Locale.NavBar.Search)} - ${text}`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "search"
|
||||
"queryParams": {
|
||||
@@ -232,7 +232,7 @@ function Search(text as string)
|
||||
end for
|
||||
|
||||
m.rowList.feeds = [{
|
||||
"title": `${Tr(Locale.Search)} - ${text}`
|
||||
"title": `${Tr(Locale.NavBar.Search)} - ${text}`
|
||||
"feedSources": [feedSource]
|
||||
}]
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user