implement song search

This commit is contained in:
Bui
2022-02-25 18:16:11 +00:00
parent 73a95abf62
commit 6c8b635c2a
9 changed files with 707 additions and 6 deletions

View File

@@ -1332,6 +1332,41 @@ var translations = {
ja: "Ver. %s",
en: "Version %s"
}
},
search: {
search: {
ja: "曲を検索",
en: "Search Songs"
},
searchInput: {
ja: "曲を検索...",
en: "Search for songs..."
},
noResults: {
ja: "結果は見つかりませんでした。",
en: "No results found."
},
tip: {
ja: "ヒント:",
en: "Tip:"
},
tips: {
ja: [
"CTRL+Fで検索窓を開く!"
],
en: [
"Open the search window by pressing CTRL+F!",
"Mix and match as many search filters as you want!",
"Only the 100 most relevant search results are shown.",
"Filter by genre by using the \"genre:\" keyword! (e.g. \"genre:variety\", \"genre:namco\")",
"Use filters like \"oni:10\" to search for songs with a particular difficulty!",
"Difficulty filters support ranges, too! Try \"ura:1-5\"!",
"Want to see your full combos? Try \"gold:any\", \"gold:oni\", etc.!",
"Only want to see creative songs? Use the \"creative:yes\" filter!",
"Find songs with lyrics enabled with the \"lyrics:yes\" filter!",
"Feel like trying something new? Use the \"played:no\" filter to only see songs you haven't played yet!"
]
}
}
}
var allStrings = {}