Skip to content

Commit 185240c

Browse files
committed
release: v1.0.0-beta2-build9
1 parent 836ce26 commit 185240c

25 files changed

Lines changed: 244 additions & 369 deletions

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-beta2-build8
1+
1.0.0-beta2-build9

changelog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## v1.0.0-beta2-build8
1+
## v1.0.0-beta2-build9
22

33
### 🐛 Bug Fixes
4-
- Fix brew package name extraction in install_batch to handle flags/options
4+
- Fix translation placeholders: {0}/{1} → %s for printf compatibility
5+
- Fix Ctrl+U update: exit alternate screen, show update message, skip confirmation

dist/lang/ar.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787
"search_results": "نتائج البحث",
8888
"error_detail": "تفاصيل الخطأ",
8989
"network_timeout": "انتهت مهلة اتصال الشبكة، يرجى التحقق من إعدادات الشبكة",
90-
"network_error": "خطأ في الشبكة: {0}",
90+
"network_error": "خطأ في الشبكة: %s",
9191
"check_network": "اقتراح: تحقق من اتصال الشبكة أو قم بإعداد وكيل",
92-
"permission_denied": "تم رفض الإذن: {0}",
92+
"permission_denied": "تم رفض الإذن: %s",
9393
"permission_suggestion": "اقتراح: تشغيل مع sudo أو الاتصال بالمسؤول",
9494
"need_sudo": "تتطلب هذه العملية امتيازات المسؤول",
9595
"need_admin": "يرجى التشغيل كمسؤول",
9696
"time_seconds": "ث",
9797
"time_total": "الوقت الإجمالي",
98-
"disk_space_low": "مساحة قرص غير كافية: {0}GB متاح، يوصى بـ {1}GB على الأقل",
98+
"disk_space_low": "مساحة قرص غير كافية: %sGB متاح، يوصى بـ %sGB على الأقل",
9999
"disk_space_warning": "⚠ مساحة القرص منخفضة، قد يفشل التثبيت",
100100
"disk_checking": "جاري التحقق من مساحة القرص...",
101101
"custom_space_toggle": "مسافة: تبديل",
@@ -107,20 +107,20 @@
107107
"checkpoint_saved": "تم حفظ تقدم التثبيت",
108108
"install_complete_state": "اكتمل التثبيت، تنظيف الملفات المؤقتة",
109109
"update_checking": "التحقق من التحديثات...",
110-
"update_available": "يتوفر إصدار جديد: {0} (الحالي: {1})",
110+
"update_available": "يتوفر إصدار جديد: %s (الحالي: %s)",
111111
"update_latest": "أنت على أحدث إصدار",
112112
"update_downloading": "تحميل التحديث...",
113113
"update_success": "تم التحديث بنجاح! يرجى إعادة تشغيل البرنامج النصي",
114-
"update_failed": "فشل التحديث: {0}",
114+
"update_failed": "فشل التحديث: %s",
115115
"update_prompt": "هل تريد التحديث إلى الإصدار الجديد؟ [Y/n]",
116-
"update_ctrl_u": "إصدار جديد {0} متاح. اضغط Ctrl+U للتحديث",
117-
"hook_running": "تشغيل البرنامج النصي: {0}",
116+
"update_ctrl_u": "إصدار جديد %s متاح. اضغط Ctrl+U للتحديث",
117+
"hook_running": "تشغيل البرنامج النصي: %s",
118118
"hook_success": "اكتمل البرنامج النصي",
119-
"hook_failed": "فشل البرنامج النصي: {0}",
119+
"hook_failed": "فشل البرنامج النصي: %s",
120120
"hooks_disabled": "البرامج النصية معطلة، استخدم --allow-hooks للتمكين",
121121
"hooks_enabled": "البرامج النصية ممكنة",
122-
"batch_installing": "تثبيت {0} حزمة دفعة واحدة...",
123-
"batch_success": "اكتمل التثبيت الدفعي: {0}/{1} نجح",
122+
"batch_installing": "تثبيت %s حزمة دفعة واحدة...",
123+
"batch_success": "اكتمل التثبيت الدفعي: %s/%s نجح",
124124
"batch_failed": "فشل التثبيت الدفعي جزئياً، الرجوع إلى التثبيت الفردي...",
125125
"bye": "تم إيقاف Quickstart-PC. مع السلامة!",
126126
"help_title": "Quickstart-PC - إعداد الكمبيوتر بنقرة واحدة",

dist/lang/de.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787
"search_results": "Suchergebnisse",
8888
"error_detail": "Fehlerdetail",
8989
"network_timeout": "Netzwerkverbindung zeitüberschreitung, bitte überprüfen Sie Ihre Netzwerkeinstellungen",
90-
"network_error": "Netzwerkfehler: {0}",
90+
"network_error": "Netzwerkfehler: %s",
9191
"check_network": "Vorschlag: Überprüfen Sie die Netzwerkverbindung oder richten Sie einen Proxy ein",
92-
"permission_denied": "Berechtigung verweigert: {0}",
92+
"permission_denied": "Berechtigung verweigert: %s",
9393
"permission_suggestion": "Vorschlag: Mit sudo ausführen oder Administrator kontaktieren",
9494
"need_sudo": "Dieser Vorgang erfordert Administratorrechte",
9595
"need_admin": "Bitte als Administrator ausführen",
9696
"time_seconds": "s",
9797
"time_total": "Gesamtzeit",
98-
"disk_space_low": "Wenig Speicherplatz: {0}GB verfügbar, mindestens {1}GB empfohlen",
98+
"disk_space_low": "Wenig Speicherplatz: %sGB verfügbar, mindestens %sGB empfohlen",
9999
"disk_space_warning": "⚠ Wenig Speicherplatz, Installation könnte fehlschlagen",
100100
"disk_checking": "Speicherplatz wird überprüft...",
101101
"custom_space_toggle": "Leertaste: umschalten",
@@ -107,20 +107,20 @@
107107
"checkpoint_saved": "Installationsfortschritt gespeichert",
108108
"install_complete_state": "Installation abgeschlossen, temporäre Dateien werden bereinigt",
109109
"update_checking": "Suche nach Updates...",
110-
"update_available": "Neue Version verfügbar: {0} (aktuell: {1})",
110+
"update_available": "Neue Version verfügbar: %s (aktuell: %s)",
111111
"update_latest": "Bereits auf der neuesten Version",
112112
"update_downloading": "Update wird heruntergeladen...",
113113
"update_success": "Update erfolgreich! Bitte starten Sie das Skript neu",
114-
"update_failed": "Update fehlgeschlagen: {0}",
114+
"update_failed": "Update fehlgeschlagen: %s",
115115
"update_prompt": "Auf neue Version aktualisieren? [Y/n]",
116-
"update_ctrl_u": "Neue Version {0} verfügbar. Strg+U zum Aktualisieren",
117-
"hook_running": "Hook wird ausgeführt: {0}",
116+
"update_ctrl_u": "Neue Version %s verfügbar. Strg+U zum Aktualisieren",
117+
"hook_running": "Hook wird ausgeführt: %s",
118118
"hook_success": "Hook abgeschlossen",
119-
"hook_failed": "Hook fehlgeschlagen: {0}",
119+
"hook_failed": "Hook fehlgeschlagen: %s",
120120
"hooks_disabled": "Hooks deaktiviert, verwenden Sie --allow-hooks zum Aktivieren",
121121
"hooks_enabled": "Hooks aktiviert",
122-
"batch_installing": "Batch-Installation von {0} Paketen...",
123-
"batch_success": "Batch-Installation abgeschlossen: {0}/{1} erfolgreich",
122+
"batch_installing": "Batch-Installation von %s Paketen...",
123+
"batch_success": "Batch-Installation abgeschlossen: %s/%s erfolgreich",
124124
"batch_failed": "Batch-Installation teilweise fehlgeschlagen, Rückgriff auf Einzelinstallation...",
125125
"bye": "Quickstart-PC wurde beendet. Auf Wiedersehen!",
126126
"help_title": "Quickstart-PC - Ein-Klick-Setup für neue Computer",

dist/lang/en-US.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787
"search_results": "Search results",
8888
"error_detail": "Error detail",
8989
"network_timeout": "Network connection timed out, please check your network",
90-
"network_error": "Network error: {0}",
90+
"network_error": "Network error: %s",
9191
"check_network": "Suggestion: Check network connection or set proxy",
92-
"permission_denied": "Permission denied: {0}",
92+
"permission_denied": "Permission denied: %s",
9393
"permission_suggestion": "Suggestion: Run with sudo or contact your administrator",
9494
"need_sudo": "This operation requires administrator privileges",
9595
"need_admin": "Please run as Administrator",
9696
"time_seconds": "s",
9797
"time_total": "Total time",
98-
"disk_space_low": "Low disk space: {0}GB available, at least {1}GB recommended",
98+
"disk_space_low": "Low disk space: %sGB available, at least %sGB recommended",
9999
"disk_space_warning": "⚠ Low disk space, installation may fail",
100100
"disk_checking": "Checking disk space...",
101101
"custom_space_toggle": "Space: toggle",
@@ -107,20 +107,20 @@
107107
"checkpoint_saved": "Installation progress saved",
108108
"install_complete_state": "Installation complete, cleaning up",
109109
"update_checking": "Checking for updates...",
110-
"update_available": "New version available: {0} (current: {1})",
110+
"update_available": "New version available: %s (current: %s)",
111111
"update_latest": "Already on the latest version",
112112
"update_downloading": "Downloading update...",
113113
"update_success": "Update successful! Please restart the script",
114-
"update_failed": "Update failed: {0}",
114+
"update_failed": "Update failed: %s",
115115
"update_prompt": "Update to new version? [Y/n]",
116-
"update_ctrl_u": "New version {0} available. Press Ctrl+U to update",
117-
"hook_running": "Running hook: {0}",
116+
"update_ctrl_u": "New version %s available. Press Ctrl+U to update",
117+
"hook_running": "Running hook: %s",
118118
"hook_success": "Hook completed",
119-
"hook_failed": "Hook failed: {0}",
119+
"hook_failed": "Hook failed: %s",
120120
"hooks_disabled": "Hooks disabled, use --allow-hooks to enable",
121121
"hooks_enabled": "Hooks enabled",
122-
"batch_installing": "Batch installing {0} packages...",
123-
"batch_success": "Batch install complete: {0}/{1} succeeded",
122+
"batch_installing": "Batch installing %s packages...",
123+
"batch_success": "Batch install complete: %s/%s succeeded",
124124
"batch_failed": "Batch install partially failed, falling back to individual install...",
125125
"bye": "Quickstart-PC has exited. Goodbye!",
126126
"help_title": "Quickstart-PC - One-click computer setup",

dist/lang/fr.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787
"search_results": "Résultats de recherche",
8888
"error_detail": "Détail de l'erreur",
8989
"network_timeout": "Délai de connexion réseau dépassé, veuillez vérifier vos paramètres réseau",
90-
"network_error": "Erreur réseau : {0}",
90+
"network_error": "Erreur réseau : %s",
9191
"check_network": "Suggestion : Vérifiez la connexion réseau ou configurez un proxy",
92-
"permission_denied": "Permission refusée : {0}",
92+
"permission_denied": "Permission refusée : %s",
9393
"permission_suggestion": "Suggestion : Exécutez avec sudo ou contactez votre administrateur",
9494
"need_sudo": "Cette opération nécessite des privilèges d'administrateur",
9595
"need_admin": "Veuillez exécuter en tant qu'administrateur",
9696
"time_seconds": "s",
9797
"time_total": "Temps total",
98-
"disk_space_low": "Espace disque insuffisant : {0}GB disponible, au moins {1}GB recommandé",
98+
"disk_space_low": "Espace disque insuffisant : %sGB disponible, au moins %sGB recommandé",
9999
"disk_space_warning": "⚠ Espace disque faible, l'installation peut échouer",
100100
"disk_checking": "Vérification de l'espace disque...",
101101
"custom_space_toggle": "Espace: basculer",
@@ -107,20 +107,20 @@
107107
"checkpoint_saved": "Progression de l'installation sauvegardée",
108108
"install_complete_state": "Installation terminée, nettoyage des fichiers temporaires",
109109
"update_checking": "Vérification des mises à jour...",
110-
"update_available": "Nouvelle version disponible : {0} (actuelle : {1})",
110+
"update_available": "Nouvelle version disponible : %s (actuelle : %s)",
111111
"update_latest": "Déjà sur la dernière version",
112112
"update_downloading": "Téléchargement de la mise à jour...",
113113
"update_success": "Mise à jour réussie ! Veuillez redémarrer le script",
114-
"update_failed": "Échec de la mise à jour : {0}",
114+
"update_failed": "Échec de la mise à jour : %s",
115115
"update_prompt": "Mettre à jour vers la nouvelle version ? [Y/n]",
116-
"update_ctrl_u": "Nouvelle version {0} disponible. Appuyez sur Ctrl+U pour mettre à jour",
117-
"hook_running": "Exécution du hook : {0}",
116+
"update_ctrl_u": "Nouvelle version %s disponible. Appuyez sur Ctrl+U pour mettre à jour",
117+
"hook_running": "Exécution du hook : %s",
118118
"hook_success": "Hook terminé",
119-
"hook_failed": "Échec du hook : {0}",
119+
"hook_failed": "Échec du hook : %s",
120120
"hooks_disabled": "Hooks désactivés, utilisez --allow-hooks pour activer",
121121
"hooks_enabled": "Hooks activés",
122-
"batch_installing": "Installation groupée de {0} paquets...",
123-
"batch_success": "Installation groupée terminée : {0}/{1} réussis",
122+
"batch_installing": "Installation groupée de %s paquets...",
123+
"batch_success": "Installation groupée terminée : %s/%s réussis",
124124
"batch_failed": "Installation groupée partiellement échouée, retour à l'installation individuelle...",
125125
"bye": "Quickstart-PC a été arrêté. Au revoir !",
126126
"help_title": "Quickstart-PC - Configuration rapide d'un nouvel ordinateur",

dist/lang/it.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787
"search_results": "Risultati della ricerca",
8888
"error_detail": "Dettaglio errore",
8989
"network_timeout": "Timeout di connessione di rete, controllare le impostazioni di rete",
90-
"network_error": "Errore di rete: {0}",
90+
"network_error": "Errore di rete: %s",
9191
"check_network": "Suggerimento: Controllare la connessione di rete o impostare un proxy",
92-
"permission_denied": "Permesso negato: {0}",
92+
"permission_denied": "Permesso negato: %s",
9393
"permission_suggestion": "Suggerimento: Eseguire con sudo o contattare l'amministratore",
9494
"need_sudo": "Questa operazione richiede privilegi di amministratore",
9595
"need_admin": "Eseguire come amministratore",
9696
"time_seconds": "s",
9797
"time_total": "Tempo totale",
98-
"disk_space_low": "Spazio su disco insufficiente: {0}GB disponibile, almeno {1}GB consigliato",
98+
"disk_space_low": "Spazio su disco insufficiente: %sGB disponibile, almeno %sGB consigliato",
9999
"disk_space_warning": "⚠ Spazio su disco insufficiente, l'installazione potrebbe fallire",
100100
"disk_checking": "Verifica dello spazio su disco...",
101101
"custom_space_toggle": "Spazio: alterna",
@@ -107,20 +107,20 @@
107107
"checkpoint_saved": "Progresso dell'installazione salvato",
108108
"install_complete_state": "Installazione completata, pulizia file temporanei",
109109
"update_checking": "Verifica aggiornamenti...",
110-
"update_available": "Nuova versione disponibile: {0} (attuale: {1})",
110+
"update_available": "Nuova versione disponibile: %s (attuale: %s)",
111111
"update_latest": "Già sull'ultima versione",
112112
"update_downloading": "Download aggiornamento...",
113113
"update_success": "Aggiornamento riuscito! Riavviare lo script",
114-
"update_failed": "Aggiornamento fallito: {0}",
114+
"update_failed": "Aggiornamento fallito: %s",
115115
"update_prompt": "Aggiornare alla nuova versione? [Y/n]",
116-
"update_ctrl_u": "Nuova versione {0} disponibile. Premi Ctrl+U per aggiornare",
117-
"hook_running": "Esecuzione hook: {0}",
116+
"update_ctrl_u": "Nuova versione %s disponibile. Premi Ctrl+U per aggiornare",
117+
"hook_running": "Esecuzione hook: %s",
118118
"hook_success": "Hook completato",
119-
"hook_failed": "Hook fallito: {0}",
119+
"hook_failed": "Hook fallito: %s",
120120
"hooks_disabled": "Hook disabilitati, usa --allow-hooks per abilitare",
121121
"hooks_enabled": "Hook abilitati",
122-
"batch_installing": "Installazione batch di {0} pacchetti...",
123-
"batch_success": "Installazione batch completata: {0}/{1} riusciti",
122+
"batch_installing": "Installazione batch di %s pacchetti...",
123+
"batch_success": "Installazione batch completata: %s/%s riusciti",
124124
"batch_failed": "Installazione batch parzialmente fallita, ritorno all'installazione individuale...",
125125
"bye": "Quickstart-PC è stato chiuso. Arrivederci!",
126126
"help_title": "Quickstart-PC - Configurazione rapida di nuovo computer",

dist/lang/ja.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,36 +91,36 @@
9191
"search_results": "検索結果",
9292
"error_detail": "エラー詳細",
9393
"network_timeout": "ネットワーク接続がタイムアウトしました。ネットワーク設定を確認してください",
94-
"network_error": "ネットワークエラー: {0}",
94+
"network_error": "ネットワークエラー: %s",
9595
"check_network": "提案: ネットワーク接続を確認するかプロキシを設定してください",
96-
"permission_denied": "権限がありません: {0}",
96+
"permission_denied": "権限がありません: %s",
9797
"permission_suggestion": "提案: sudo で実行するか管理者に連絡してください",
9898
"need_sudo": "この操作には管理者権限が必要です",
9999
"need_admin": "管理者として実行してください",
100100
"time_seconds": "",
101101
"time_total": "合計時間",
102-
"disk_space_low": "ディスク容量不足: 利用可能 {0}GB、最低 {1}GB 推奨",
102+
"disk_space_low": "ディスク容量不足: 利用可能 %sGB、最低 %sGB 推奨",
103103
"disk_space_warning": "⚠ ディスク容量が少ないため、インストールに失敗する可能性があります",
104104
"disk_checking": "ディスク容量を確認中...",
105105
"resume_found": "未完了のインストールが見つかりました。続行しますか?[Y/n]",
106106
"resuming": "前回のチェックポイントから再開...",
107107
"checkpoint_saved": "インストール進捗が保存されました",
108108
"install_complete_state": "インストール完了、一時ファイルをクリーンアップ",
109109
"update_checking": "アップデートを確認中...",
110-
"update_available": "新しいバージョンがあります: {0} (現在: {1})",
110+
"update_available": "新しいバージョンがあります: %s (現在: %s)",
111111
"update_latest": "最新バージョンです",
112112
"update_downloading": "アップデートをダウンロード中...",
113113
"update_success": "アップデート成功!スクリプトを再起動してください",
114-
"update_failed": "アップデート失敗: {0}",
114+
"update_failed": "アップデート失敗: %s",
115115
"update_prompt": "新しいバージョンに更新しますか?[Y/n]",
116-
"update_ctrl_u": "新しいバージョン {0} があります。Ctrl+U で更新",
117-
"hook_running": "フックを実行: {0}",
116+
"update_ctrl_u": "新しいバージョン %s があります。Ctrl+U で更新",
117+
"hook_running": "フックを実行: %s",
118118
"hook_success": "フックの実行が完了しました",
119-
"hook_failed": "フックの実行に失敗しました: {0}",
119+
"hook_failed": "フックの実行に失敗しました: %s",
120120
"hooks_disabled": "フックスクリプトは無効です、--allow-hooks を使用して有効にしてください",
121121
"hooks_enabled": "フックスクリプトが有効になりました",
122-
"batch_installing": "{0} 個のパッケージを一括インストール中...",
123-
"batch_success": "一括インストール完了: {0}/{1} 成功",
122+
"batch_installing": "%s 個のパッケージを一括インストール中...",
123+
"batch_success": "一括インストール完了: %s/%s 成功",
124124
"batch_failed": "一括インストールが一部失敗しました、個別インストールにフォールバック...",
125125
"bye": "Quickstart-PC が終了しました。さようなら!",
126126
"help_title": "Quickstart-PC - ワンクリックで新PCをセットアップ",

0 commit comments

Comments
 (0)