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

[Fix] Missing Percent on download + fuzzy search #1426

Merged
merged 4 commits into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions electron/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,20 @@ export const DXVK = {
LogPrefix.DXVKInstaller
)
)
.catch((error) =>
.catch((error) => {
if (tool.name === 'vkd3d') {
showErrorBoxModalAuto(
i18next.t('Missing Dependency'),
i18next.t(
'ZSTD was not found, please install it and restart Heroic'
)
)
}
logError(
`Extraction of ${tool.name} failed with: ${error}`,
LogPrefix.DXVKInstaller
)
)
})

exec(cleanCommand)
})
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"filesize": "^8.0.7",
"font-list": "^1.4.5",
"fs-extra": "^10.1.0",
"fuse.js": "^6.6.2",
"graceful-fs": "^4.2.10",
"heroic-wine-downloader": "^1.2.3",
"i18next": "^21.6.16",
Expand Down
3 changes: 3 additions & 0 deletions public/locales/bg/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Размер за сваляне",
"firstPlayed": "Пусната за пръв път",
"info": "Info",
"installSize": "Размер на инсталацията",
"language": "Език",
"lastPlayed": "Последно пускане",
"neverPlayed": "Никога",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Изиграно време"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/bg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Синхронизацията е завършена",
"unsync": "Десинхронизацията е завършена"
},
"Missing Dependency": "",
"nogames": "Няма намерени игри",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Управление на Wine",
"unzipping": "Разархивиране"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/ca/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Mida de la baixada",
"firstPlayed": "Primera partida",
"info": "Info",
"installSize": "Mida d'instal·lació",
"language": "Language",
"lastPlayed": "Última partida",
"neverPlayed": "Mai",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Temps jugat"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/ca/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "S'ha completat la sincronització",
"unsync": "S'ha completat la dessincronització"
},
"Missing Dependency": "",
"nogames": "No s'ha trobat cap joc",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Gestor del Wine",
"unzipping": "S'està descomprimint"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/cs/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Velikost ke stažení",
"firstPlayed": "Poprvé hráno",
"info": "Info",
"installSize": "Velikost instalace",
"language": "Jazyk",
"lastPlayed": "Naposledy hráno",
"neverPlayed": "Nikdy",
"platform": "Vyberte verzi platformy, kterou chcete nainstalovat",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Odehraný čas"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Synchronizace dokončena",
"unsync": "Desynchronizace dokončena"
},
"Missing Dependency": "",
"nogames": "Žádné hry nebyly nalezeny",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Správce Wine",
"unzipping": "Rozbalování"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/de/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Downloadgröße",
"firstPlayed": "Erstmals gespielt",
"info": "Info",
"installSize": "Installierte Größe",
"language": "Sprache",
"lastPlayed": "Zuletzt gespielt",
"neverPlayed": "Nie",
"platform": "Zu installierende Plattformversion auswählen",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Spielzeit"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Synchronisation abgeschlossen",
"unsync": "Synchronisation erfolgreich aufgehoben"
},
"Missing Dependency": "",
"nogames": "Keine Spiele gefunden",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Wine-Manager",
"unzipping": "Entpacke"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/el/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Μέγεθος λήψης",
"firstPlayed": "Παίχτηκε πρώτη φορά",
"info": "Info",
"installSize": "Μέγεθος Εγκατάστασης",
"language": "Γλώσσα",
"lastPlayed": "Παίχτηκε Τελευταία φορά",
"neverPlayed": "Ποτέ",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Συνολικός Χρόνος Παιχνιδιού"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/el/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Ο συγχρονισμός ολοκληρώθηκε",
"unsync": "Ο αποσυγχρονισμός ολοκληρώθηκε"
},
"Missing Dependency": "",
"nogames": "Δεν βρέθηκαν παιχνίδια",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Διαχειριστής Wine",
"unzipping": "Άνοιγμα"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/en/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Download Size",
"firstPlayed": "First Played",
"info": "Info",
"installSize": "Install Size",
"language": "Language",
"lastPlayed": "Last Played",
"neverPlayed": "Never",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Time Played"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Sync Complete",
"unsync": "Unsync Complete"
},
"Missing Dependency": "",
"nogames": "No Games Found",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Wine Manager",
"unzipping": "Unzipping"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/es/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Tamaño de Descarga",
"firstPlayed": "Jugado por Primera Vez",
"info": "Info",
"installSize": "Tamaño de Instalación",
"language": "Lenguaje",
"lastPlayed": "Jugado por Última Vez",
"neverPlayed": "Nunca",
"platform": "Seleccionar la Version de la Plataforma para Instalar",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Tiempo Jugado"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Sincronización completa",
"unsync": "Desincronizacion completa"
},
"Missing Dependency": "",
"nogames": "No se han encontrado juegos",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Gestor de Wine",
"unzipping": "Descomprimiendo"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/et/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Allalaadimise suurus",
"firstPlayed": "Esimest korda mängitud",
"info": "Info",
"installSize": "Paigaldamise suurus",
"language": "Keel",
"lastPlayed": "Viimati mängitud",
"neverPlayed": "Mitte kunagi",
"platform": "Valige paigaldatava platvormi versioon",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Mängitud aeg"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/et/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Sünkroonimine lõpetatud",
"unsync": "Mittesünkroniseerimine lõpetatud"
},
"Missing Dependency": "",
"nogames": "Mänge ei leitud",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Wine'i haldur",
"unzipping": "Lahtipakkimine"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/fa/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "سایز دانلود",
"firstPlayed": "اولین اجرا",
"info": "Info",
"installSize": "سایز نصب",
"language": "زبان",
"lastPlayed": "آخرین اجرا",
"neverPlayed": "هرگز",
"platform": "انتخاب نسخه پلتفرم برای نصب",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "زمان بازی"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/fa/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "همگامسازی کامل شد",
"unsync": "عدم همگامسازی کامل شد"
},
"Missing Dependency": "",
"nogames": "بازی یافت نشد",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "مدیریت کننده Wine",
"unzipping": "در حال خارج کردن از حالت فشرده"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/fi/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Latauksen koko",
"firstPlayed": "Ensimmäisen kerran pelattu",
"info": "Info",
"installSize": "Asennuskoko",
"language": "Kieli",
"lastPlayed": "Viimeksi pelattu",
"neverPlayed": "Ei koskaan",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Pelattu aika"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Synkronointi valmis",
"unsync": "Synkronoinnin poisto valmis"
},
"Missing Dependency": "",
"nogames": "Pelejä ei löydetty",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Wine Manageri",
"unzipping": "Purkaminen"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/fr/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Taille du téléchargement",
"firstPlayed": "Joué pour la première fois",
"info": "Info",
"installSize": "Taille de l'installation",
"language": "Langue",
"lastPlayed": "Joué la dernière fois",
"neverPlayed": "Jamais",
"platform": "Sélectionner la version de la plateforme pour installer",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Temps passé à jouer"
},
"gamecard": {
Expand Down
4 changes: 3 additions & 1 deletion public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"sync": "Synchronisation Complète",
"unsync": "Désynchronisation Complète"
},
"Missing Dependency": "",
"nogames": "Aucun jeu trouvé",
"notify": {
"error": {
Expand Down Expand Up @@ -393,5 +394,6 @@
"title": "Wine Manager",
"unzipping": "Unzipping"
}
}
},
"ZSTD was not found, please install it and restart Heroic": ""
}
3 changes: 3 additions & 0 deletions public/locales/gl/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@
"game": {
"downloadSize": "Tamaño da descarga",
"firstPlayed": "Xogado por primeira vez",
"info": "Info",
"installSize": "Tamaño da instalación",
"language": "Idioma",
"lastPlayed": "Xogado por última vez",
"neverPlayed": "Nunca",
"platform": "Select Platform Version to Install",
"reuirements": "System Requirements",
"tools": "Tools",
"totalPlayed": "Tempo xogado"
},
"gamecard": {
Expand Down
Loading