fix: say when there isn't enough space to extract a game

This commit is contained in:
MyLuxy committed 2026-10-18 22:14:29 +02:00
1 parent d0088575bf
commit 8022425ced
17 files changed
+34

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ import { t } from '../i18n/core.js';
var CASES = [
// Before STALE_PARTIAL: a full disk fails "write partial file".
[/no space left|ENOSPC/i, "noSpace", "freeThenResume"],
// An extraction is capped at the space free when it starts: its files outgrew it.
[/extraction size limit/i, "noSpaceExtract", "freeThenRetryExtract"],
[/partial files were deleted/i, "partialDeleted", "restart"],
[STALE_PARTIAL, "staleProgress", "restart"],
[/file changed since this partial/i, "fileChanged", "restart"],
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "لا يوجد اتصال بالخادم",
"errors.noMemory": "الذاكرة غير كافية للاستخراج",
"errors.noSpace": "لا توجد مساحة حرة كافية",
"errors.noSpaceExtract": "لا توجد مساحة كافية لفك ضغط اللعبة",
"errors.action.freeThenRetryExtract": "حرّر مساحة على وحدة التخزين ثم أعد المحاولة. يبقى التنزيل محفوظًا.",
"errors.noSpaceOn": "لا توجد مساحة كافية على {root}: يحتاج {need}، {free} خالية{queued, select, yes { بعد التحميلات المقررة} other {}}",
"errors.partIncomplete": "يبدو أن الجزء {part} غير مكتمل",
"errors.partialDeleted": "حُذفت الملفات التي تم تنزيلها",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "সার্ভারের সাথে কোনো সংযোগ নেই",
"errors.noMemory": "এক্সট্র্যাক্ট করার জন্য যথেষ্ট মেমরি নেই",
"errors.noSpace": "পর্যাপ্ত খালি স্থান নেই",
"errors.noSpaceExtract": "গেমটি এক্সট্র্যাক্ট করার মতো যথেষ্ট খালি জায়গা নেই",
"errors.action.freeThenRetryExtract": "ড্রাইভে জায়গা খালি করুন, তারপর আবার চেষ্টা করুন। ডাউনলোড রাখা থাকবে।",
"errors.noSpaceOn": "{root} এ পর্যাপ্ত স্থান নেই: {need} প্রয়োজন, {free} খালি{queued, select, yes { সারিবদ্ধ ডাউনলোডের পরে} other {}}",
"errors.partIncomplete": "অংশ {part} অসম্পূর্ণ মনে হচ্ছে",
"errors.partialDeleted": "ডাউনলোড করা ফাইলগুলি মুছে ফেলা হয়েছে",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "Keine Verbindung zum Server",
"errors.noMemory": "Nicht genug Speicher zum Entpacken",
"errors.noSpace": "Nicht genug Speicherplatz",
"errors.noSpaceExtract": "Nicht genug freier Speicher zum Entpacken des Spiels",
"errors.action.freeThenRetryExtract": "Gib Speicher auf dem Laufwerk frei und tippe auf Erneut versuchen. Der Download bleibt erhalten.",
"errors.noSpaceOn": "Nicht genug Platz auf {root}: benötigt {need}, {free} frei{queued, select, yes { nach anstehenden Downloads} other {}}",
"errors.partIncomplete": "Teil {part} scheint unvollständig zu sein",
"errors.partialDeleted": "Die heruntergeladenen Dateien wurden gelöscht",
+2
View File
@@ -185,6 +185,8 @@
"errors.noConnection": "No connection to the server",
"errors.noMemory": "Not enough memory to extract",
"errors.noSpace": "Not enough free space",
"errors.noSpaceExtract": "Not enough free space to extract this game",
"errors.action.freeThenRetryExtract": "Free up space on the drive, then Retry. The download is kept.",
"errors.noSpaceOn": "Not enough space on {root}: needs {need}, {free} free{queued, select, yes { after queued downloads} other {}}",
"errors.partIncomplete": "Part {part} looks incomplete",
"errors.partialDeleted": "Its downloaded files were deleted",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "Sin conexión al servidor",
"errors.noMemory": "No hay memoria suficiente para extraer",
"errors.noSpace": "Espacio libre insuficiente",
"errors.noSpaceExtract": "No hay espacio libre suficiente para extraer el juego",
"errors.action.freeThenRetryExtract": "Libera espacio en la unidad y pulsa Reintentar. La descarga se conserva.",
"errors.noSpaceOn": "Sin espacio en {root}: necesita {need}, {free} libre{queued, select, yes { después de descargas en cola} other {}}",
"errors.partIncomplete": "La parte {part} parece incompleta",
"errors.partialDeleted": "Se borraron sus archivos descargados",
+2
View File
@@ -183,6 +183,8 @@
"errors.noConnection": "اتصال به سرور برقرار نیست",
"errors.noMemory": "حافظهٔ کافی برای استخراج نیست",
"errors.noSpace": "فضای آزاد کافی نیست",
"errors.noSpaceExtract": "فضای خالی کافی برای استخراج بازی وجود ندارد",
"errors.action.freeThenRetryExtract": "روی درایو فضا آزاد کنید و دوباره تلاش کنید. دانلود حفظ می‌شود.",
"errors.noSpaceOn": "فضای کافی روی {root} نیست: نیاز به {need}، {free} آزاد{queued, select, yes { بعد از دانلودهای در صف} other {}}",
"errors.partIncomplete": "بخش {part} ناقص به نظر می‌رسد",
"errors.partialDeleted": "فایل‌های دانلودشده‌اش حذف شدند",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "Pas de connexion au serveur",
"errors.noMemory": "Mémoire insuffisante pour extraire",
"errors.noSpace": "Espace libre insuffisant",
"errors.noSpaceExtract": "Pas assez d'espace libre pour extraire le jeu",
"errors.action.freeThenRetryExtract": "Libérez de l'espace sur le disque, puis Réessayez. Le téléchargement est conservé.",
"errors.noSpaceOn": "Espace insuffisant sur {root} : nécessite {need}, {free} libre{queued, select, yes { après les téléchargements} other {}}",
"errors.partIncomplete": "La partie {part} semble incomplète",
"errors.partialDeleted": "Ses fichiers téléchargés ont été supprimés",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "सर्वर से कोई कनेक्शन नहीं",
"errors.noMemory": "एक्सट्रैक्ट करने के लिए पर्याप्त मेमोरी नहीं है",
"errors.noSpace": "पर्याप्त खाली स्थान नहीं",
"errors.noSpaceExtract": "गेम निकालने के लिए पर्याप्त खाली जगह नहीं है",
"errors.action.freeThenRetryExtract": "ड्राइव पर जगह खाली करें, फिर दोबारा कोशिश करें। डाउनलोड सुरक्षित रहता है।",
"errors.noSpaceOn": "{root} पर पर्याप्त स्थान नहीं: {need} की आवश्यकता है, {free} खाली{queued, select, yes { कतार में डाउनलोड के बाद} other {}}",
"errors.partIncomplete": "भाग {part} अधूरा लगता है",
"errors.partialDeleted": "डाउनलोड की गई फ़ाइलें हटा दी गईं",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "Tidak ada koneksi ke server",
"errors.noMemory": "Memori tidak cukup untuk mengekstrak",
"errors.noSpace": "Ruang bebas tidak cukup",
"errors.noSpaceExtract": "Ruang kosong tidak cukup untuk mengekstrak game",
"errors.action.freeThenRetryExtract": "Kosongkan ruang di drive, lalu Coba lagi. Unduhan tetap disimpan.",
"errors.noSpaceOn": "Ruang tidak cukup di {root}: memerlukan {need}, {free} gratis{queued, select, yes { setelah unduhan antrian} other {}}",
"errors.partIncomplete": "Bagian {part} tampaknya tidak lengkap",
"errors.partialDeleted": "File yang diunduh telah dihapus",
+2
View File
@@ -197,6 +197,8 @@
"errors.noConnection": "Nessuna connessione al server",
"errors.noMemory": "Memoria insufficiente per l'estrazione",
"errors.noSpace": "Spazio libero insufficiente",
"errors.noSpaceExtract": "Spazio libero insufficiente per estrarre il gioco",
"errors.action.freeThenRetryExtract": "Libera spazio sull'unità, poi Riprova. Il download resta salvato.",
"errors.noSpaceOn": "Spazio insufficiente su {root}: servono {need}, liberi {free}{queued, select, yes { dopo i download in coda} other {}}",
"errors.partIncomplete": "La parte {part} sembra incompleta",
"errors.partialDeleted": "I file scaricati sono stati eliminati",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "サーバーに接続できません",
"errors.noMemory": "展開に必要なメモリが足りません",
"errors.noSpace": "空き容量が足りません",
"errors.noSpaceExtract": "ゲームを展開する空き容量が足りません",
"errors.action.freeThenRetryExtract": "ドライブの空き容量を増やしてから再試行してください。ダウンロードは保持されます。",
"errors.noSpaceOn": "{root}の容量が足りません:必要{need}、空き{free}{queued, select, yes {(待機中のダウンロード後)} other {}}",
"errors.partIncomplete": "パート{part}が不完全なようです",
"errors.partialDeleted": "ダウンロード済みのファイルが削除されました",
+2
View File
@@ -185,6 +185,8 @@
"errors.noConnection": "Geen verbinding met de server",
"errors.noMemory": "Onvoldoende geheugen om het archief uit te pakken",
"errors.noSpace": "Onvoldoende vrije ruimte",
"errors.noSpaceExtract": "Niet genoeg vrije ruimte om het spel uit te pakken",
"errors.action.freeThenRetryExtract": "Maak ruimte vrij op de schijf en kies Opnieuw. De download blijft bewaard.",
"errors.noSpaceOn": "Onvoldoende ruimte op {root}: {need} vereist, {free} vrij{queued, select, yes { na downloads in de wachtrij} other {}}",
"errors.partIncomplete": "Deel {part} lijkt onvolledig",
"errors.partialDeleted": "De gedownloade bestanden zijn verwijderd",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "Sem conexão com o servidor",
"errors.noMemory": "Memória insuficiente para extrair",
"errors.noSpace": "Espaço livre insuficiente",
"errors.noSpaceExtract": "Espaço livre insuficiente para extrair o jogo",
"errors.action.freeThenRetryExtract": "Libere espaço na unidade e toque em Tentar novamente. O download é mantido.",
"errors.noSpaceOn": "Sem espaço em {root}: precisa {need}, {free} livre{queued, select, yes { após downloads na fila} other {}}",
"errors.partIncomplete": "A parte {part} parece incompleta",
"errors.partialDeleted": "Os arquivos baixados foram apagados",
+2
View File
@@ -183,6 +183,8 @@
"errors.noConnection": "Нет соединения с сервером",
"errors.noMemory": "Недостаточно памяти для распаковки",
"errors.noSpace": "Недостаточно свободного места",
"errors.noSpaceExtract": "Недостаточно свободного места для распаковки игры",
"errors.action.freeThenRetryExtract": "Освободите место на диске и нажмите «Повторить». Загрузка сохранится.",
"errors.noSpaceOn": "Недостаточно места на {root}: требуется {need}, {free} свободно{queued, select, yes { после загрузок в очереди} other {}}",
"errors.partIncomplete": "Часть {part}, похоже, загружена не полностью",
"errors.partialDeleted": "Загруженные файлы были удалены",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "سرور سے کوئی رابطہ نہیں",
"errors.noMemory": "ایکسٹریکٹ کرنے کے لیے کافی میموری نہیں ہے",
"errors.noSpace": "کافی خالی جگہ نہیں",
"errors.noSpaceExtract": "گیم نکالنے کے لیے کافی خالی جگہ نہیں ہے",
"errors.action.freeThenRetryExtract": "ڈرائیو پر جگہ خالی کریں، پھر دوبارہ کوشش کریں۔ ڈاؤن لوڈ محفوظ رہتا ہے۔",
"errors.noSpaceOn": "{root} پر کافی جگہ نہیں: {need} چاہیے، {free} خالی{queued, select, yes { قطار میں ڈاؤن لوڈ کے بعد} other {}}",
"errors.partIncomplete": "حصہ {part} نامکمل لگتا ہے",
"errors.partialDeleted": "ڈاؤن لوڈ کی گئی فائلیں حذف کر دی گئیں",
+2
View File
@@ -182,6 +182,8 @@
"errors.noConnection": "无法连接到服务器",
"errors.noMemory": "内存不足,无法解压",
"errors.noSpace": "可用空间不足",
"errors.noSpaceExtract": "可用空间不足,无法解压游戏",
"errors.action.freeThenRetryExtract": "请释放驱动器空间后重试。已下载的文件会保留。",
"errors.noSpaceOn": "{root} 空间不足:需要 {need},可用 {free}{queued, select, yes {(排队中的下载完成后)} other {}}",
"errors.partIncomplete": "第 {part} 部分似乎不完整",
"errors.partialDeleted": "已下载的文件已被删除",