Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat-684] added mods version comparison #718

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
11 changes: 11 additions & 0 deletions assets/jsons/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Beschreibung",
"dropdown": {
"import-mods": "Mods importieren",
"compare-mods": "Mods vergleichen",
"uninstall-all": "Alle deinstallieren",
"unselect-all": "Alle abwählen"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "Die Version {outdatedVersion} ist veraltet, und einige Mods oder Funktionen funktionieren möglicherweise nicht mehr wie erwartet. Bitte lade die neueste empfohlene Version ({recommendedVersion}) von Beat Saber herunter, um die neuesten Funktionen und Fehlerbehebungen zu nutzen."
},
"mods-version-compare": {
"title": "Mods Versionsvergleich",
"select-version": "Wählen Sie eine Version",
"mod-types": {
"all": "Alle",
"installed": "Installiert",
"not-installed": "Nicht installiert",
"missing": "Fehlend"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Description",
"dropdown": {
"import-mods": "Import mods",
"compare-mods": "Compare mods",
"uninstall-all": "Uninstall all",
"unselect-all": "Unselect all"
}
Expand Down Expand Up @@ -901,6 +902,16 @@
},
"bs-version-outdated": {
"body": "The version {outdatedVersion} is outdated, and some mods or features may no longer work as expected. Please download the latest recommended version ({recommendedVersion}) of Beat Saber to enjoy the latest features and bugfixes."
},
"mods-version-compare": {
"title": "Mods Version Comparison",
"select-version": "Select a Version",
"mod-types": {
"all": "All",
"installed": "Installed",
"not-installed": "Not Installed",
"missing": "Missing"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Descripción",
"dropdown": {
"import-mods": "Importar mods",
"compare-mods": "Comparar mods",
"uninstall-all": "Desinstalar todos",
"unselect-all": "Deseleccionar todo"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "La versión {outdatedVersion} está obsoleta, y algunos mods o funciones pueden no funcionar como se espera. Por favor, descarga la última versión recomendada ({recommendedVersion}) de Beat Saber para disfrutar de las últimas funciones y correcciones de errores."
},
"mods-version-compare": {
"title": "Comparación de versiones de mods",
"select-version": "Seleccionar una versión",
"mod-types": {
"all": "Todos",
"installed": "Instalado",
"not-installed": "No instalado",
"missing": "Faltante"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Description",
"dropdown": {
"import-mods": "Importer des mods",
"compare-mods": "Comparer les mods",
"uninstall-all": "Tout désinstaller",
"unselect-all": "Tout désélectionner"
}
Expand Down Expand Up @@ -907,6 +908,16 @@
},
"bs-version-outdated": {
"body": "La version {outdatedVersion} est obsolète, et certains mods ou fonctionnalités peuvent ne plus fonctionner comme prévu. Veuillez télécharger la dernière version recommandée ({recommendedVersion}) de Beat Saber pour profiter des dernières fonctionnalités et corrections de bugs."
},
"mods-version-compare": {
"title": "Comparaison des versions des mods",
"select-version": "Sélectionner une version",
"mod-types": {
"all": "Tout",
"installed": "Installé",
"not-installed": "Non installé",
"missing": "Manquant"
}
}
},
"maps": {
Expand Down
57 changes: 34 additions & 23 deletions assets/jsons/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Descrizione",
"dropdown": {
"import-mods": "Importa mod",
"compare-mods": "Confronta i mod",
"uninstall-all": "Disinstalla tutto",
"unselect-all": "Deseleziona tutto"
}
Expand Down Expand Up @@ -878,30 +879,40 @@
"valid-btn": "Valida"
},
"launch-as-admin": {
"title": "Permessi di Amministratore",
"body": {
"info": "Steam è stato rilevato come in esecuzione con permessi di amministratore. Per comunicare con Steam, Beat Saber deve essere avviato anche come amministratore. Altrimenti, Beat Saber potrebbe riscontrare problemi e chiudersi dopo l'avvio.",
"info-2": "Avviare Beat Saber in modalità amministratore darà anche diritti di amministratore alle mod installate. Pertanto, è consigliato riavviare Steam senza permessi di amministratore.",
"info-3": "Si sconsiglia di dare diritti di amministratore a Steam, poiché questo influisce sui giochi e le mod installate, presentando un rischio per la sicurezza."
"title": "Permessi di Amministratore",
"body": {
"info": "Steam è stato rilevato come in esecuzione con permessi di amministratore. Per comunicare con Steam, Beat Saber deve essere avviato anche come amministratore. Altrimenti, Beat Saber potrebbe riscontrare problemi e chiudersi dopo l'avvio.",
"info-2": "Avviare Beat Saber in modalità amministratore darà anche diritti di amministratore alle mod installate. Pertanto, è consigliato riavviare Steam senza permessi di amministratore.",
"info-3": "Si sconsiglia di dare diritti di amministratore a Steam, poiché questo influisce sui giochi e le mod installate, presentando un rischio per la sicurezza."
},
"launch-as-admin": "Avvia come Amministratore",
"not-remind-me": "Non ricordarmelo"
},
"launch-as-admin": "Avvia come Amministratore",
"not-remind-me": "Non ricordarmelo"
},
"ask-install-path": {
"title": "Cartella di installazione",
"choose-folder-description": "Scegli la cartella che conterrà tutti i contenuti scaricati da BSManager. (versioni, mod, mappe, playlist, ecc.)",
"default": "Predefinito",
"default-tooltip": "Predefinito nella tua cartella home"
},
"choose-proton-folder": {
"title": "Cartella di Proton",
"proton-folder-description": "Su Linux, BSManager richiede Proton per funzionare. Scegli la cartella di installazione di Proton per continuare.",
"proton-folder-placeholder": "Cartella di installazione di Proton",
"where-is-proton-installed": "Dove è installato Proton?"
},
"bs-version-outdated": {
"body": "La versione {outdatedVersion} è obsoleta, e alcune mod o funzioni potrebbero non funzionare più come previsto. Per favore scarica l'ultima versione raccomandata ({recommendedVersion}) di Beat Saber per godere delle ultime funzioni e bugfix."
}
"ask-install-path": {
"title": "Cartella di installazione",
"choose-folder-description": "Scegli la cartella che conterrà tutti i contenuti scaricati da BSManager. (versioni, mod, mappe, playlist, ecc.)",
"default": "Predefinito",
"default-tooltip": "Predefinito nella tua cartella home"
},
"choose-proton-folder": {
"title": "Cartella di Proton",
"proton-folder-description": "Su Linux, BSManager richiede Proton per funzionare. Scegli la cartella di installazione di Proton per continuare.",
"proton-folder-placeholder": "Cartella di installazione di Proton",
"where-is-proton-installed": "Dove è installato Proton?"
},
"bs-version-outdated": {
"body": "La versione {outdatedVersion} è obsoleta, e alcune mod o funzioni potrebbero non funzionare più come previsto. Per favore scarica l'ultima versione raccomandata ({recommendedVersion}) di Beat Saber per godere delle ultime funzioni e bugfix."
},
"mods-version-compare": {
"title": "Confronto delle versioni dei mod",
"select-version": "Seleziona una versione",
"mod-types": {
"all": "Tutti",
"installed": "Installato",
"not-installed": "Non installato",
"missing": "Mancante"
}
}
},
"maps": {
"map-filter-panel": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "說明",
"dropdown": {
"import-mods": "モッドをインポート",
"compare-mods": "モッドを比較する",
"uninstall-all": "全てアンインストールする",
"unselect-all": "すべて選択解除"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "バージョン {outdatedVersion} は古いため、一部のモッドや機能が期待通りに動作しない場合があります。最新の機能やバグ修正を楽しむために、推奨される最新バージョンの Beat Saber ({recommendedVersion}) をダウンロードしてください。"
},
"mods-version-compare": {
"title": "MODのバージョン比較",
"select-version": "バージョンを選択する",
"mod-types": {
"all": "すべて",
"installed": "インストール済み",
"not-installed": "未インストール",
"missing": "欠落している"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "설명",
"dropdown": {
"import-mods": "모드 가져오기",
"compare-mods": "모드 비교하기",
"uninstall-all": "모두 제거",
"unselect-all": "모두 선택 해제"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "버전 {outdatedVersion}은(는) 오래되어 일부 모드나 기능이 예상대로 작동하지 않을 수 있습니다. 최신 기능과 버그 수정 사항을 즐기기 위해 Beat Saber의 최신 권장 버전 ({recommendedVersion})을 다운로드하십시오."
},
"mods-version-compare": {
"title": "모드 버전 비교",
"select-version": "버전 선택하기",
"mod-types": {
"all": "모두",
"installed": "설치됨",
"not-installed": "설치되지 않음",
"missing": "누락됨"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "Описание",
"dropdown": {
"import-mods": "Импортировать моды",
"compare-mods": "Сравнить моды",
"uninstall-all": "Удалить всё",
"unselect-all": "Снять все выделения"
}
Expand Down Expand Up @@ -905,6 +906,16 @@
},
"bs-version-outdated": {
"body": "Версия {outdatedVersion} устарела, и некоторые моды или функции могут работать некорректно. Пожалуйста, скачайте последнюю рекомендуемую версию ({recommendedVersion}) Beat Saber, чтобы воспользоваться новейшими функциями и исправлениями ошибок."
},
"mods-version-compare": {
"title": "Сравнение версий модов",
"select-version": "Выберите версию",
"mod-types": {
"all": "Все",
"installed": "Установлено",
"not-installed": "Не установлено",
"missing": "Отсутствует"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "描述",
"dropdown": {
"import-mods": "導入模組",
"compare-mods": "比較模組",
"uninstall-all": "全部移除",
"unselect-all": "取消全選"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "版本 {outdatedVersion} 已過時,某些模組或功能可能無法正常運作。請下載最新推薦的 Beat Saber 版本 ({recommendedVersion}),以享受最新功能和修正。"
},
"mods-version-compare": {
"title": "模組版本比較",
"select-version": "選擇版本",
"mod-types": {
"all": "全部",
"installed": "已安裝",
"not-installed": "未安裝",
"missing": "缺少"
}
}
},
"maps": {
Expand Down
11 changes: 11 additions & 0 deletions assets/jsons/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "描述",
"dropdown": {
"import-mods": "导入模组",
"compare-mods": "比较模",
"uninstall-all": "全部卸载",
"unselect-all": "取消全选"
}
Expand Down Expand Up @@ -906,6 +907,16 @@
},
"bs-version-outdated": {
"body": "版本 {outdatedVersion} 已过时,某些模组或功能可能无法正常工作。请下载最新推荐的 Beat Saber 版本 ({recommendedVersion}),以享受最新功能和修复。"
},
"mods-version-compare": {
"title": "模组版本比较",
"select-version": "选择版本",
"mod-types": {
"all": "全部",
"installed": "已安装",
"not-installed": "未安装",
"missing": "缺少"
}
}
},
"maps": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/helpers/proxy.helpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import log from 'electron-log';
import { RegDwordValue, RegSzValue } from "regedit-rs"
import { execOnOs } from "./env.helpers";
import { bootstrap } from 'global-agent';
import { bootstrap } from "global-agent";
import { StaticConfigurationService } from "../services/static-configuration.service";

const staticConfig = StaticConfigurationService.getInstance();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { BsmButton } from "renderer/components/shared/bsm-button.component";
import { BsmImage } from "renderer/components/shared/bsm-image.component";
import { useTranslation } from "renderer/hooks/use-translation.hook";
import { useTranslationV2 } from "renderer/hooks/use-translation.hook";
import { ModalComponent, ModalExitCode } from "renderer/services/modale.service";
import BeatConflict from "../../../../../assets/images/apngs/beat-conflict.png";
import BeatConflict from "../../../../../../assets/images/apngs/beat-conflict.png";

export const ModsDisclaimerModal: ModalComponent<void, void> = ({ resolver }) => {
const t = useTranslation();
const { text: t } = useTranslationV2();

return (
<form className="max-w-[800px] text-gray-800 dark:text-gray-200">
Expand Down
Loading
Loading