diff --git a/assets/jsons/bs-versions.json b/assets/jsons/bs-versions.json index d5c6ab3c..5485247f 100644 --- a/assets/jsons/bs-versions.json +++ b/assets/jsons/bs-versions.json @@ -682,7 +682,7 @@ "ReleaseDate": "1702309893", "year": "2023" }, - { + { "BSVersion": "1.34.5", "BSManifest": "7413405154512822201", "OculusBinaryId": "6639053626194360", @@ -691,7 +691,7 @@ "ReleaseDate": "1707745958", "year": "2024" }, - { + { "BSVersion": "1.34.6", "BSManifest": "4398761375819224126", "OculusBinaryId": "6682206641879058", diff --git a/assets/jsons/translations/de.json b/assets/jsons/translations/de.json index f777c60c..6bd2e5ff 100644 --- a/assets/jsons/translations/de.json +++ b/assets/jsons/translations/de.json @@ -737,7 +737,8 @@ "nps" : "Noten Pro Sekunde", "tags": "Stichworte", "specificities": "Allgemein", - "requirements": "Anforderungen" + "requirements": "Anforderungen", + "exclude": "ausschließen" }, "map-types": { "accuracy": "Präzision", @@ -793,6 +794,9 @@ "verified": "verifiziert", "fullSpread": "full spread" }, + "map-excludes": { + "installed": "installiert" + }, "difficulties": { "Easy": "einfach", "Normal": "normal", diff --git a/assets/jsons/translations/es.json b/assets/jsons/translations/es.json index 27c34ef6..418d7bdd 100644 --- a/assets/jsons/translations/es.json +++ b/assets/jsons/translations/es.json @@ -737,7 +737,8 @@ "nps" : "Notas Por Segundo", "tags": "tags", "specificities": "general", - "requirements": "requisitos" + "requirements": "requisitos", + "exclude": "excluir" }, "map-types": { "accuracy": "precisión", @@ -793,6 +794,9 @@ "verified": "verificado", "fullSpread": "panel completo" }, + "map-excludes": { + "installed": "instalado" + }, "difficulties": { "Easy": "fácil", "Normal": "normal", diff --git a/assets/jsons/translations/fr.json b/assets/jsons/translations/fr.json index e50b6212..1840d1d0 100644 --- a/assets/jsons/translations/fr.json +++ b/assets/jsons/translations/fr.json @@ -737,7 +737,8 @@ "nps" : "Notes Par Seconde", "tags": "tags", "specificities": "général", - "requirements": "requis" + "requirements": "requis", + "exclude": "exclure" }, "map-types": { "accuracy": "précision", @@ -793,6 +794,9 @@ "verified": "vérifiée", "fullSpread": "panel complet" }, + "map-excludes": { + "installed": "installé" + }, "difficulties": { "Easy": "facile", "Normal": "normal", diff --git a/assets/jsons/translations/ja.json b/assets/jsons/translations/ja.json index 58caf218..338ac1b5 100644 --- a/assets/jsons/translations/ja.json +++ b/assets/jsons/translations/ja.json @@ -737,7 +737,8 @@ "nps" : "秒間ノート数", "tags": "タグ", "specificities": "一般", - "requirements": "要Mod" + "requirements": "要Mod", + "exclude": "除外する" }, "map-types": { "accuracy": "正確", @@ -793,6 +794,9 @@ "verified": "認証済み", "fullSpread": "フルスプレッド" }, + "map-excludes": { + "installed": "インストール済み" + }, "difficulties": { "Easy": "easy", "Normal": "normal", diff --git a/assets/jsons/translations/ru.json b/assets/jsons/translations/ru.json index 97169f79..44d8ef73 100644 --- a/assets/jsons/translations/ru.json +++ b/assets/jsons/translations/ru.json @@ -736,7 +736,8 @@ "nps" : "Нот в Секунду", "tags": "тэги", "specificities": "основное", - "requirements": "требуемые моды" + "requirements": "требуемые моды", + "exclude": "исключить" }, "map-types": { "accuracy": "точность", @@ -792,6 +793,9 @@ "verified": "проверенные авторы", "fullSpread": "полный набор" }, + "map-excludes": { + "installed": "установленный" + }, "difficulties": { "Easy": "легко", "Normal": "нормально", diff --git a/assets/jsons/translations/zh-tw.json b/assets/jsons/translations/zh-tw.json index ea89a07f..86543d3b 100644 --- a/assets/jsons/translations/zh-tw.json +++ b/assets/jsons/translations/zh-tw.json @@ -737,7 +737,8 @@ "nps" : "每秒音符數", "tags": "標籤", "specificities": "general", - "requirements": "要求" + "requirements": "要求", + "exclude": "排除" }, "map-types": { "accuracy": "精確度", @@ -793,6 +794,9 @@ "verified": "Verified", "fullSpread": "Full spread" }, + "map-excludes": { + "installed": "已安裝" + }, "difficulties": { "Easy": "Easy", "Normal": "Normal", diff --git a/assets/jsons/translations/zh.json b/assets/jsons/translations/zh.json index 4efcef6b..057fe18c 100644 --- a/assets/jsons/translations/zh.json +++ b/assets/jsons/translations/zh.json @@ -737,7 +737,8 @@ "nps" : "每秒音符数", "tags": "标签", "specificities": "general", - "requirements": "要求" + "requirements": "要求", + "exclude": "排除" }, "map-types": { "accuracy": "精确度", @@ -793,6 +794,9 @@ "verified": "verified", "fullSpread": "full spread" }, + "map-excludes": { + "installed": "已安装" + }, "difficulties": { "Easy": "easy", "Normal": "normal", diff --git a/src/renderer/components/maps-mangement-components/filter-panel.component.tsx b/src/renderer/components/maps-mangement-components/filter-panel.component.tsx index c975ca0f..0459f19b 100644 --- a/src/renderer/components/maps-mangement-components/filter-panel.component.tsx +++ b/src/renderer/components/maps-mangement-components/filter-panel.component.tsx @@ -22,12 +22,13 @@ export type Props = { ref?: MutableRefObject; playlist?: boolean; filter: MapFilter; + localData?: boolean; onChange?: (filter: MapFilter) => void; onApply?: (filter: MapFilter) => void; onClose?: (filter: MapFilter) => void; }; -export function FilterPanel({ className, ref, playlist = false, filter, onChange, onApply, onClose }: Props) { +export function FilterPanel({ className, ref, playlist = false, filter, localData = true, onChange, onApply, onClose }: Props) { const t = useTranslation(); const [haveChanged, setHaveChanged] = useState(false); @@ -194,13 +195,17 @@ export function FilterPanel({ className, ref, playlist = false, filter, onChange {requirement} ))} -

{t("maps.map-filter-panel.exclude")}

- {MAP_EXCLUDES.map(exclude => ( -
handleCheckbox(exclude)}> - handleCheckbox(exclude)} /> - {translateMapExclude(exclude)} -
- ))} + { !localData && ( + <> +

{t("maps.map-filter-panel.exclude")}

+ {MAP_EXCLUDES.map(exclude => ( +
handleCheckbox(exclude)}> + handleCheckbox(exclude)} /> + {translateMapExclude(exclude)} +
+ ))} + + )}

{t("maps.map-filter-panel.tags")}

diff --git a/src/renderer/components/modal/modal-types/download-maps-modal.component.tsx b/src/renderer/components/modal/modal-types/download-maps-modal.component.tsx index de413fd2..c03baafb 100644 --- a/src/renderer/components/modal/modal-types/download-maps-modal.component.tsx +++ b/src/renderer/components/modal/modal-types/download-maps-modal.component.tsx @@ -182,7 +182,7 @@ export const DownloadMapsModal: ModalComponent
- filterContainerRef.current.close()} /> + filterContainerRef.current.close()} /> setQuery(e.target.value)} />