From 388506ec780d9617be7f8f8eeb96d13e581e702b Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Sun, 26 Aug 2007 19:06:40 +0000 Subject: rbutilqt: first attempt to Small and Complete Installation, could be improved. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14463 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/multiinstaller.cpp | 328 ++++ rbutil/rbutilqt/multiinstaller.h | 66 + rbutil/rbutilqt/progressloggergui.cpp | 7 + rbutil/rbutilqt/progressloggergui.h | 1 + rbutil/rbutilqt/progressloggerinterface.h | 1 + rbutil/rbutilqt/rbutil_de.ts | 2346 ++++++++++++++++++++++------- rbutil/rbutilqt/rbutilqt.cpp | 67 +- rbutil/rbutilqt/rbutilqt.h | 4 + rbutil/rbutilqt/rbutilqt.pro | 6 +- 9 files changed, 2234 insertions(+), 592 deletions(-) create mode 100644 rbutil/rbutilqt/multiinstaller.cpp create mode 100644 rbutil/rbutilqt/multiinstaller.h diff --git a/rbutil/rbutilqt/multiinstaller.cpp b/rbutil/rbutilqt/multiinstaller.cpp new file mode 100644 index 0000000000..dae059f0cc --- /dev/null +++ b/rbutil/rbutilqt/multiinstaller.cpp @@ -0,0 +1,328 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * + * Copyright (C) 2007 by Dominik Wenger + * $Id: multinstaller.cpp 14462 2007-08-26 16:44:23Z domonoky $ + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#include "multiinstaller.h" + +#include "installbootloader.h" +#include "progressloggergui.h" +#include "installzip.h" +#include "browseof.h" +#include "installthemes.h" + +MultiInstaller::MultiInstaller(QObject* parent): QObject(parent) +{ + +} + +void MultiInstaller::setUserSettings(QSettings* user) +{ + userSettings = user; +} +void MultiInstaller::setDeviceSettings(QSettings* dev) +{ + devices = dev; +} + +void MultiInstaller::setProxy(QUrl proxy) +{ + m_proxy = proxy; +} + +void MultiInstaller::installSmall() +{ + // create logger + logger = new ProgressLoggerGui(this); + logger->show(); + + m_plattform = userSettings->value("defaults/platform").toString(); + m_mountpoint = userSettings->value("defaults/mountpoint").toString(); + // show dialog with error if mount point is wrong + if(!QFileInfo(m_mountpoint).isDir()) { + logger->addItem(tr("Mount point is wrong!"),LOGERROR); + logger->abort(); + return; + } + + // Bootloader + m_error = false; + installed = false; + if(!installBootloader()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } + if(m_error) return; + logger->undoAbort(); + + // Rockbox + m_error = false; + installed = false; + if(!installRockbox()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } +} + +void MultiInstaller::installComplete() +{ + // create logger + logger = new ProgressLoggerGui(this); + logger->show(); + + m_plattform = userSettings->value("defaults/platform").toString(); + m_mountpoint = userSettings->value("defaults/mountpoint").toString(); + // show dialog with error if mount point is wrong + if(!QFileInfo(m_mountpoint).isDir()) { + logger->addItem(tr("Mount point is wrong!"),LOGERROR); + logger->abort(); + return; + } + // Bootloader + m_error = false; + installed = false; + if(!installBootloader()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } + if(m_error) return; + logger->undoAbort(); + + // Rockbox + m_error = false; + installed = false; + if(!installRockbox()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } + if(m_error) return; + logger->undoAbort(); + + // Fonts + m_error = false; + installed = false; + if(!installFonts()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } + if(m_error) return; + logger->undoAbort(); + + // Doom + m_error = false; + installed = false; + if(!installDoom()) + return; + else + { + // wait for boot loader installation finished + while(!installed) + QApplication::processEvents(); + } + if(m_error) return; + + + // theme + // this is a window + // it has its own logger window,so close our. + logger->close(); + installThemes(); + +} + + +void MultiInstaller::installdone(bool error) +{ + installed = true; + m_error = error; +} + + +void MultiInstaller::setVersionStrings(QMap ver) +{ + version = ver; + // version strings map is as following: + // rel_rev release version revision id + // rel_date release version release date + // same for arch_* and bleed_* + + qDebug() << "Install::setVersionStrings" << version; +} + +bool MultiInstaller::installBootloader() +{ + BootloaderInstaller* blinstaller = new BootloaderInstaller(this); + blinstaller->setMountPoint(m_mountpoint); + blinstaller->setProxy(m_proxy); + blinstaller->setDevice(m_plattform); + blinstaller->setBootloaderMethod(devices->value(m_plattform + "/bootloadermethod").toString()); + blinstaller->setBootloaderName(devices->value(m_plattform + "/bootloadername").toString()); + blinstaller->setBootloaderBaseUrl(devices->value("bootloader_url").toString()); + blinstaller->setBootloaderInfoUrl(devices->value("bootloader_info_url").toString()); + if(!blinstaller->downloadInfo()) + { + logger->addItem(tr("Could not get the bootloader info file!"),LOGERROR); + logger->abort(); + return false; + } + + if(blinstaller->uptodate()) + { + int ret = QMessageBox::question(NULL, tr("Bootloader Installation"), + tr("It seem your Bootloader is already uptodate.\n" + "Do really want to install it?"), + QMessageBox::Ok | QMessageBox::Ignore | + QMessageBox::Cancel, + QMessageBox::Ignore); + if(ret == QMessageBox::Cancel) + { + logger->addItem(tr("Bootloader installation Canceled!"),LOGERROR); + logger->abort(); + return false; + } + else if(ret == QMessageBox::Ignore) + { + // skip to next install step + logger->addItem(tr("Skipped Bootloader installation!"),LOGWARNING); + installed = true; + return true; + } + } + + // if fwpatcher , ask for extra file + QString offirmware; + if(devices->value(m_plattform + "/bootloadermethod").toString() == "fwpatcher") + { + BrowseOF ofbrowser(NULL); + ofbrowser.setFile(userSettings->value("defaults/ofpath").toString()); + if(ofbrowser.exec() == QDialog::Accepted) + { + offirmware = ofbrowser.getFile(); + qDebug() << offirmware; + if(!QFileInfo(offirmware).exists()) + { + logger->addItem(tr("Original Firmware Path is wrong!"),LOGERROR); + logger->abort(); + return false; + } + else + { + userSettings->setValue("defaults/ofpath",offirmware); + userSettings->sync(); + } + } + else + { + logger->addItem(tr("Original Firmware selection Canceled!"),LOGERROR); + logger->abort(); + return false; + } + } + blinstaller->setOrigFirmwarePath(offirmware); + + blinstaller->install(logger); + connect(blinstaller,SIGNAL(done(bool)),this,SLOT(installdone(bool))); + return true; +} + +bool MultiInstaller::installRockbox() +{ + QString file = QString("%1%2/rockbox.zip") + .arg(devices->value("bleeding_url").toString(), + userSettings->value("defaults/platform").toString()); + QString myversion = "r" + version.value("bleed_rev"); + + ZipInstaller* installer = new ZipInstaller(this); + installer->setUrl(file); + installer->setProxy(m_proxy); + installer->setLogSection("rockboxbase"); + installer->setLogVersion(myversion); + installer->setMountPoint(m_mountpoint); + installer->install(logger); + + connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool))); + + return true; +} + +bool MultiInstaller::installFonts() +{ + // create zip installer + ZipInstaller* installer = new ZipInstaller(this); + + installer->setUrl(devices->value("font_url").toString()); + installer->setProxy(m_proxy); + installer->setLogSection("Fonts"); + installer->setLogVersion(version.value("arch_date")); + installer->setMountPoint(m_mountpoint); + installer->install(logger); + + connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool))); + + return true; +} + +bool MultiInstaller::installDoom() +{ + // create zip installer + ZipInstaller* installer = new ZipInstaller(this); + + installer->setUrl(devices->value("doom_url").toString()); + installer->setProxy(m_proxy); + installer->setLogSection("Game Addons"); + installer->setLogVersion(version.value("arch_date")); + installer->setMountPoint(m_mountpoint); + installer->install(logger); + + connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool))); + + return true; +} + +bool MultiInstaller::installThemes() +{ + ThemesInstallWindow* tw = new ThemesInstallWindow(NULL); + tw->setDeviceSettings(devices); + tw->setUserSettings(userSettings); + tw->setProxy(m_proxy); + tw->setModal(true); + tw->show(); + + return true; +} + + diff --git a/rbutil/rbutilqt/multiinstaller.h b/rbutil/rbutilqt/multiinstaller.h new file mode 100644 index 0000000000..34c593843a --- /dev/null +++ b/rbutil/rbutilqt/multiinstaller.h @@ -0,0 +1,66 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * + * Copyright (C) 2007 by Dominik Wenger + * $Id: multiinstaller.h 14462 2007-08-26 16:44:23Z domonoky $ + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef MULTIINSTALLER_H +#define MULTIINSTALLER_H + +#include + +#include "progressloggerinterface.h" + + +class MultiInstaller : public QObject +{ + Q_OBJECT + +public: + MultiInstaller(QObject* parent); + + void setUserSettings(QSettings*); + void setDeviceSettings(QSettings*); + void setProxy(QUrl proxy); + void setVersionStrings(QMap); + + void installComplete(); + void installSmall(); + + +private slots: + void installdone(bool error); + +private: + bool installBootloader(); + bool installRockbox(); + bool installDoom(); + bool installFonts(); + bool installThemes(); + + ProgressloggerInterface* logger; + QSettings *devices; + QSettings *userSettings; + + QString m_mountpoint,m_plattform; + QUrl m_proxy; + QMap version; + + + volatile bool installed; + volatile bool m_error; +}; +#endif diff --git a/rbutil/rbutilqt/progressloggergui.cpp b/rbutil/rbutilqt/progressloggergui.cpp index 407ba26e1a..5bf7b92aaa 100644 --- a/rbutil/rbutilqt/progressloggergui.cpp +++ b/rbutil/rbutilqt/progressloggergui.cpp @@ -82,6 +82,13 @@ void ProgressLoggerGui::abort() emit aborted(); } +void ProgressLoggerGui::undoAbort() +{ + dp.buttonAbort->setText(tr("&Abort")); + dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/icons/process-stop.png"))); + connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); +} + void ProgressLoggerGui::close() { downloadProgress->close(); diff --git a/rbutil/rbutilqt/progressloggergui.h b/rbutil/rbutilqt/progressloggergui.h index c64e89ed50..e7ccce8d33 100644 --- a/rbutil/rbutilqt/progressloggergui.h +++ b/rbutil/rbutilqt/progressloggergui.h @@ -44,6 +44,7 @@ signals: public slots: virtual void abort(); + virtual void undoAbort(); virtual void close(); virtual void show(); diff --git a/rbutil/rbutilqt/progressloggerinterface.h b/rbutil/rbutilqt/progressloggerinterface.h index 00d175ab80..cf78bded7e 100644 --- a/rbutil/rbutilqt/progressloggerinterface.h +++ b/rbutil/rbutilqt/progressloggerinterface.h @@ -47,6 +47,7 @@ signals: public slots: virtual void abort()=0; + virtual void undoAbort() =0; virtual void close()=0; virtual void show()=0; diff --git a/rbutil/rbutilqt/rbutil_de.ts b/rbutil/rbutilqt/rbutil_de.ts index 06acae3b8d..5bf84fe959 100644 --- a/rbutil/rbutilqt/rbutil_de.ts +++ b/rbutil/rbutilqt/rbutil_de.ts @@ -1,586 +1,1760 @@ - - - - Config - - Language changed - Sprache geändert - - - You need to restart the application for the changed language to take effect. - Die Anwendung muss neu gestartet werden um die geänderten Spracheinstallungen anzuwenden. - - - - ConfigForm - - Configuration - Konfiguration - - - Configure Rockbox Utility - Rockbox Utility konfigurieren - - - &Ok - &Ok - - - &Cancel - &Abbrechen - - - &Proxy - &Proxy - - - &No Proxy - &kein Proxy - - - Use &System values - &Systemeinstellungen benutzen - - - &Manual Proxy settings - &Manuelle Proxyeinstellungen - - - Proxy Values - Proxyeinstellungen - - - &Host: - &Host: - - - &Port: - &Port: - - - &Username - &Benutzername - - - P&assword - P&asswort - - - &Language - &Sprache - - - &Scrobbler - - - - - Configure - - English - Deutsch - - - - Install - - Mount point is wrong! - Falscher Einhängepunkt! - - - &Ok - &Ok - - - This is the absolute up to the minute Rockbox built. A current build will get updated every time a change is made. - - - - <b>Note:</b> This option will always download a fresh copy. <b>This is the recommended version.</b> - - - - <b>Note:</b> This option will always download a fresh copy. - - - - This is the last released version of Rockbox. - - - - <b>Note:</b>The lastest released version is %1. <b>This is the recommended version.</b> - - - - These are automatically built each day from the current development source code. This generally has more features than the last release but may be much less stable. Features may change regularly. - - - - <b>Note:</b> archived version is %1. - - - - - InstallFrm - - Install Rockbox - Rockbox installieren - - - Select your device in the filesystem - - - - &Browse - - - - Please select the Rockbox version you want to install on your player: - - - - Version - Version - - - Rockbox &stable - - - - &Archived Build - - - - &Current Build - - - - Details - Details - - - Details about the selected version - - - - Note - Hinweis - - - Rockbox Utility stores copies of Rockbox it has downloaded on the local hard disk to save network traffic. If your local copy is no longer working, tick this box to download a fresh copy. - - - - &Don't use locally cached copy - &keine lokale Zwischenkopie verwenden - - - - InstallProgressFrm - - Progress - Fortschritt - - - &Abort - &Abbrechen - - - - RBInstaller - - Downloading file %1.%2 - Herunterladen von Datei %1.%2 - - - Download error: received HTTP error %1. - Fehler beim Herunterladen: HTTP Fehler %1. - - - &Ok - &Ok - - - Download error: %1 - Downloadfehler: %1 - - - Download finished. - Download abgeschlossen. - - - Extracting file. - Extrahiere Datei. - - - Opening archive failed: %1. - Öffnen des Archives fehlgeschlagen: %1 - - - Extracting failed: %1. - Extrahieren fehlgeschlagen: %1 - - - creating installation log - erzeuge Installationshistorie - - - Extraction finished successfully. - Extraktion erfolgreich abgeschlossen. - - - - RbUtilQt - - Network error: %1. Please check your network and proxy settings. - Netzwerkfehler: %1. Bitte Netzwerk und Proxyeinstellungen überprüfen. - - - - RbUtilQtFrm - - Rockbox Utility - - - - &Quick Start - - - - ... - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Complete Installation</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This installs the bootloader, a current build and the extras package. This is the recommended method for new installations.</p></body></html> - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Small installation</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This installs bootloader and the current build of Rockbox. If you don't want the extras package, choose this option.</p></body></html> - - - - &Installation - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install the bootloader</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Before Rockbox can be run on your audio player, you may have to install a bootloader. This is only necessary the first time Rockbox is installed.</p></body></html> - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Rockbox</span> on your audio player</p></body></html> - - - - &Extras - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Fonts Package</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The Fonts Package contains a couple of commonly used fonts. Installation is highly recommended.</p></body></html> - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Themes</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Rockbox' look can be customized by themes. You can choose and install several officially distributed themes.</p></body></html> - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Game Files</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400;">Doom needs a base wad file to run.</span></p></body></html> - - - - &Uninstallation - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Remove the bootloader</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">After removing the bootloader you won't be able starting Rockbox.</p></body></html> - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Uninstall Rockbox</span> from your audio player.</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This will leave the bootloader in place (you need to remove it manually).</p></body></html> - - - - &Manual - - - - &Device - - - - &Autodetect - - - - &File - &Datei - - - &About - Ü&ber - - - Empty local download cache - Download-Cache löschen - - - Install Rockbox Utility on player - Rockbox Utility auf dem Gerät installieren - - - &Configure - &Konfigurieren - - - E&xit - &Beenden - - - Ctrl+Q - Ctrl+Q - - - About &Qt - Über &Qt - - - Select the task group you want to perform - - - - InstallationTab - - - - This is the tab view of the tasks you can perform - - - - CompleteInstallationButton - - - - This performs a complete installation of Rockbox. It installs the bootloader, a current build and the extras package. - - - - Install Rockbox - - - - ButtonInstall - - - - This installs a build of Rockbox on your player. It can also upgrade an existing build. - - - - Install Bootloader - Bootloader installieren - - - Install Fonts package - Schriftarten-Paket installieren - - - Install themes - - - - Install game files - - - - Uninstall Bootloader - Bootloader entfernen - - - Uninstall Rockbox - Rockbox entfernen - - - Device selection combo box - - - - - UnZip - - ZIP operation completed successfully. - - - - Failed to initialize or load zlib library. - Initialisieren oder Laden der zlib-Bibliothek fehlgeschlagen. - - - zlib library error. - Fehler in zlib-Bibliothek. - - - Unable to create or open file. - Erzeugen oder Öffnen der Datei fehlgeschlagen. - - - Partially corrupted archive. Some files might be extracted. - Teilweise korruptes Archiv. Einige Dateien wurden möglicherweise extrahiert. - - - Corrupted archive. - Korruptes Archiv. - - - Wrong password. - Falsches Passwort. - - - No archive has been created yet. - - - - File or directory does not exist. - Datei oder Ordner existiert nicht. - - - File read error. - Fehler beim Lesen der Datei. - - - File write error. - Fehler beim Schreiben der Datei. - - - File seek error. - Fehler beim Durchsuchen der Datei. - - - Unable to create a directory. - - - - Invalid device. - Ungültiges Gerät. - - - Invalid or incompatible zip archive. - Ungültiges oder inkompatibles Zip-Archiv. - - - Inconsistent headers. Archive might be corrupted. - - - - Unknown error. - Unbekannter Fehler. - - - - Zip - - ZIP operation completed successfully. - - - - Failed to initialize or load zlib library. - Initialisieren oder Laden der zlib-Bibliothek fehlgeschlagen. - - - zlib library error. - Fehler in zlib-Bibliothek. - - - Unable to create or open file. - Erzeugen oder Öffnen der Datei fehlgeschlagen. - - - No archive has been created yet. - - - - File or directory does not exist. - Datei oder Ordner existiert nicht. - - - File read error. - Fehler beim Lesen der Datei. - - - File write error. - Fehler beim Schreiben der Datei. - - - File seek error. - Fehler beim Durchsuchen der Datei. - - - Unknown error. - Unbekannter Fehler. - - - - aboutBox - - About Rockbox Utility - Über Rockbox Utility - - - Installer and housekeeping utility for the Rockbox open source digital audio player firmware. - -© 2005 - 2007 The Rockbox Team. -Released under the GNU General Public License v2. - - - - - &Credits - - - - &License - &Lizenz - - - &Ok - &Ok - - - The Rockbox Utility - Rockbox Utility - - - + + + + + BootloaderInstaller + + + Starting bootloader installation + Beginne Bootloader installation + + + + unsupported install Method + Nicht unterstüzte Installations Methode + + + + Starting bootloader uninstallation + Beginne Bootloader Uninstallation + + + + No uninstallation possible + Uninstallation nicht möglich + + + + Download error: received HTTP error %1. + Fehler beim Herunterladen: HTTP Fehler %1. + + + + Download error: %1 + Downloadfehler: %1 + + + + Download finished. + Download abgeschlossen. + + + + Downloading file %1.%2 + Herunterladen von Datei %1.%2 + + + + Could not find the Original Firmware at: %1 + Konnte Original Firmware nicht finden: %1 + + + + Could not remove the Firmware at: %1 + Konnte die Firmware nicht entfernen: %1 + + + + Could not copy the Firmware from: %1 to %2 + Konnte die Firmware nicht von %1 nach %2 kopieren + + + + Finishing bootloader install + Bootloaderinstallation beendet + + + + Could not find the Firmware at: %1 + Konnte die Firmware nicht finden: %1 + + + + Could not rename: %1 to %2 + Konnte %1 nicht nach %2 umbenennen + + + + Could not copy: %1 to %2 + Konnte nicht %1 nach %2 kopieren + + + + Bootloader install finished successfully. + Bootloaderinstallation erfolgreich beendet. + + + + To finish the Bootloader installation, follow the steps below. + Um die Bootloaderinstallation zu beenden, folge den nachfolgenden Schritten. + + + + 1. Eject/Unmount your Device. + 1. Eject/Unmounte dein Gerät. + + + + 2. Unplug USB and any Power adapters. + 2. Entferne USB und Strom kabel. + + + + 3. Hold POWER to turn the Device off. + 3. Halte POWER um das Gerät auszuschalten. + + + + 4. Toggle the Battery switch on the Device. + 4. Schalte den Akku an und wieder aus. + + + + 5. Hold POWER to boot the Rockbox bootloader. + 5. Benütze den POWER Button um den Rockbox Bootloader zu booten. + + + + 2. Turn you Device OFF. + 2. Schalte den Gerät aus. + + + + 3. Insert Charger. + 3. Stecke das Ladegerät ein. + + + + Firmware doesn not exist: %1 + Firmare existiert nicht: %1 + + + + Original Firmware doesn not exist: %1 + Die Original Firmware existiert nicht: %1 + + + + Firmware does not exist: %1 + Firmware existiert nicht: %1 + + + + Searching for ipods + Suche Ipods + + + + No Ipods found + Keine Ipods gefunden + + + + Too many Ipods found + Zuviele Ipods gefunden + + + + could not open ipod + Konnte Ipod nicht öffnen + + + + could not read partitiontable + Konnte die Partitionstabelle nicht lesen + + + + No partition 0 on disk + Keine Partition auf Disk 0 + + + + [INFO] Part Start Sector End Sector Size (MB) Type + + [INFO] Part Start Sector End Sector Size (MB) Type + + + + [INFO] %1 %2 %3 %4 %5 (%6) + [INFO] %1 %2 %3 %4 %5 (%6) + + + + Failed to read firmware directory + Konnte das Firmware verzeichniss nicht lesen + + + + Unknown version number in firmware (%1) + Unbekannte Versionsnummer in Firmware (%1) + + + + Warning this is a MacPod, Rockbox doesnt work on this. Convert it to WinPod + Warnung, dies ist ein MacPod, Rockbox funktioniert so nicht. Konvertiere das Gerät zu einem WinPod + + + + Could not open Ipod in RW mode + Konnte den Ipod nicht im RW modus öffnen + + + + No bootloader detected. + Kein Bootloader detekiert. + + + + Successfully removed Bootloader + Der Bootloader wurde erfolgreich entfernt + + + + --delete-bootloader failed. + --delete-bootloader fehlgeschlagen. + + + + Successfully added Bootloader + Bootloader wurde erfolgreich installiert + + + + failed to add Bootloader + Konnte Bootloader nicht installieren + + + + Searching for sansas + Suche Sansas + + + + No Sansa found + Keine Sansa player gefunden + + + + Too many Sansas found + Zuviele Sansaplayer gefunden + + + + could not open Sansa + Konnte dem Sansaplayer nicht öffnen + + + + Disk is not an E200 (%1), aborting. + Dies ist kein E200 (%1), Fehler. + + + + ******************************************** +OLD ROCKBOX INSTALLATION DETECTED, ABORTING. +You must reinstall the original Sansa firmware before running +sansapatcher for the first time. +See http://www.rockbox.org/twiki/bin/view/Main/SansaE200Install +********************************************* + + + + + + Could not open Sansa in RW mode + + + + + Could not MD5Sum original firmware + + + + + Could not detect firmware type + + + + + Error in descramble + + + + + Error in patching + + + + + Error in scramble + + + + + Error in checksumming + + + + + 2. Boot into the original Firmware. + + + + + 3. Use the Firmware flash option in the Original Firmware. + + + + + 4. Reboot. + + + + + BrowseDirtreeFrm + + + Find Directory + Finde Verzeichnis + + + + Browse to the destination folder + Browser zum Zielordner + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + BrowseOFFrm + + + Find original Firmware + Finde original Firmware + + + + Browse for a downloaded copy of the original firmware + Browse nach einer heruntergladenen Kopie der Original Firmware + + + + Browse + Browser + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + Config + + + Language changed + Sprache geändert + + + + You need to restart the application for the changed language to take effect. + Die Anwendung muss neu gestartet werden um die geänderten Spracheinstallungen anzuwenden. + + + + Autodetection + Autoerkennung + + + + Could not detect a Mountpoint. +Select your Mountpoint manually. + Konnte kein Mountpunkt erkennen. +Selektiere ihn bitte manuell. + + + + Could not detect a device. +Select your device and Mountpoint manually. + Konnte kein Gerät detectieren. +Bitte wähle das Gerät und den Mountpoint manuell. + + + + ConfigForm + + + Configuration + Konfiguration + + + + Configure Rockbox Utility + Rockbox Utility konfigurieren + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + &Proxy + &Proxy + + + + &No Proxy + &kein Proxy + + + + Use &System values + &Systemeinstellungen benutzen + + + + &Manual Proxy settings + &Manuelle Proxyeinstellungen + + + + Proxy Values + Proxyeinstellungen + + + + &Host: + &Host: + + + + &Port: + &Port: + + + + &Username + &Benutzername + + + + P&assword + P&asswort + + + + &Language + &Sprache + + + + &Device + &Gerät + + + + Select your device in the &filesystem + Wähle dein Gerät im &filesystem + + + + &Browse + &Browse + + + + &Select your audio player + &Wähle dein Audio Player + + + + 1 + 1 + + + + &Autodetect + &Autoerkennung + + + + Use S&ystem values + Benutze S&ystem werte + + + + Pass&word + Pass&wort + + + + Cac&he + Cac&he + + + + Download cache settings + Download cache Einstellungen + + + + Rockbox Utility uses a local download cache to save network traffic. You can change the path to the cache and use it as local repository by enabling Offline mode. + + + + + Current cache size is %1 + Mommentane cache größe ist %1 + + + + P&ath + P&fad + + + + Disable local &download cache + Schalte lokalen &download cache aus + + + + O&ffline mode + O&ffline modus + + + + Clean cache &now + Lösche den Cache &jetzt + + + + Configure + + + English + Deutsch + + + + Install + + + Mount point is wrong! + Falscher Einhängepunkt! + + + + &Ok + &Ok + + + + This is the absolute up to the minute Rockbox built. A current build will get updated every time a change is made. + + + + + <b>Note:</b> This option will always download a fresh copy. <b>This is the recommended version.</b> + + + + + <b>Note:</b> This option will always download a fresh copy. + + + + + This is the last released version of Rockbox. + + + + + <b>Note:</b>The lastest released version is %1. <b>This is the recommended version.</b> + + + + + These are automatically built each day from the current development source code. This generally has more features than the last release but may be much less stable. Features may change regularly. + + + + + <b>Note:</b> archived version is %1. + + + + + InstallFrm + + + Install Rockbox + Rockbox installieren + + + + Please select the Rockbox version you want to install on your player: + + + + + Version + Version + + + + Rockbox &stable + + + + + &Archived Build + + + + + &Current Build + + + + + Details + Details + + + + Details about the selected version + + + + + Note + Hinweis + + + + Rockbox Utility stores copies of Rockbox it has downloaded on the local hard disk to save network traffic. If your local copy is no longer working, tick this box to download a fresh copy. + + + + + &Don't use locally cached copy + &keine lokale Zwischenkopie verwenden + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + InstallProgressFrm + + + Progress + Fortschritt + + + + &Abort + &Abbrechen + + + + InstallTalkFrm + + + Install Talk Files + + + + + Select the Folder to generate Talkfiles for. + + + + + &Browse + &Browse + + + + TTS Engine + + + + + Select a TTS Engine + + + + + Select the TTS executable in your Filesystem + + + + + Browse + Browser + + + + TTS Options + + + + + Encoder Engine + + + + + Select an Encoder + + + + + Select the Encoder executable in your Filesystem + + + + + Encoder Options + + + + + Overwrite Wavefiles + + + + + Remove Wavefiles + + + + + Run recursive + + + + + Overwrite Talkfiles + + + + + Strip Extensions + + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + InstallTalkWindow + + + The Folder to Talk is wrong! + + + + + Path to Encoder is wrong! + + + + + Path to TTS is wrong! + + + + + PreviewFrm + + + Preview + + + + + ProgressLoggerGui + + + &Ok + &Ok + + + + RBInstaller + + + Downloading file %1.%2 + Herunterladen von Datei %1.%2 + + + + Download error: received HTTP error %1. + Fehler beim Herunterladen: HTTP Fehler %1. + + + + &Ok + &Ok + + + + Download error: %1 + Downloadfehler: %1 + + + + Download finished. + Download abgeschlossen. + + + + Extracting file. + Extrahiere Datei. + + + + Opening archive failed: %1. + Öffnen des Archives fehlgeschlagen: %1 + + + + Extracting failed: %1. + Extrahieren fehlgeschlagen: %1 + + + + creating installation log + erzeuge Installationshistorie + + + + Extraction finished successfully. + Extraktion erfolgreich abgeschlossen. + + + + RbUtilQt + + + Network error: %1. Please check your network and proxy settings. + Netzwerkfehler: %1. Bitte Netzwerk und Proxyeinstellungen überprüfen. + + + + <b>%1 %2</b> at <b>%3</b> + + + + + <a href='%1'>PDF Manual</a> + + + + + <a href='%1'>HTML Manual (opens in browser)</a> + + + + + Select a device for a link to the correct manual + + + + + <a href='%1'>Manual Overview</a> + + + + + Confirm Installation + + + + + Do you really want to install the Bootloader? + + + + + Original Firmware Path is wrong! + + + + + Original Firmware selection Canceled! + + + + + Do you really want to install the fonts package? + + + + + Do you really want to install the voice file? + + + + + Do you really want to install the game addon files? + + + + + Confirm Uninstallation + + + + + Do you really want to uninstall the Bootloader? + + + + + Confirm download + + + + + Do you really want to download the manual? The manual will be saved to the root folder of your player. + + + + + Confirm installation + + + + + Do you really want to install Rockbox Utility to your player? After installation you can run it from the players hard drive. + + + + + Installing Rockbox Utility + + + + + Mount point is wrong! + Falscher Einhängepunkt! + + + + Error installing Rockbox Utility + + + + + Installing user configuration + + + + + Error installing user configuration + + + + + Successfully installed Rockbox Utility. + + + + + RbUtilQtFrm + + + Rockbox Utility + Rockbox Utility + + + + &Quick Start + &Schnell Start + + + + ... + ... + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Complete Installation</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This installs the bootloader, a current build and the extras package. This is the recommended method for new installations.</p></body></html> + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Vollständige Installation</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Die installiert den Bootloader, ein aktuellen build von Rockbox und die Extra pakete. Dies ist die empfohlene Installationsmethode für neue Installationen.</p></body></html> + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Small installation</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This installs bootloader and the current build of Rockbox. If you don't want the extras package, choose this option.</p></body></html> + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Kleine Installation</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Die installiert den Bootloader ein aktuellen Build von Rockbox. Wenn du die Extra Pakete nicht brauchst, wähle diese Option.</p></body></html> + + + + &Installation + &Installation + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install the bootloader</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Before Rockbox can be run on your audio player, you may have to install a bootloader. This is only necessary the first time Rockbox is installed.</p></body></html> + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Installiere den Bootloader</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bevor Rockbox auf einem Audio Player laufen kann, musst du eventuell einen Bootloader installieren. Dies ist nur für die erste Installation nötig.</p></body></html> + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Rockbox</span> on your audio player</p></body></html> + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Installiere Rockbox</span> auf deinem Audio Player</p></body></html> + + + + &Extras + &Extras + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Fonts Package</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The Fonts Package contains a couple of commonly used fonts. Installation is highly recommended.</p></body></html> + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Themes</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Rockbox' look can be customized by themes. You can choose and install several officially distributed themes.</p></body></html> + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Game Files</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400;">Doom needs a base wad file to run.</span></p></body></html> + + + + + &Uninstallation + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Uninstall Rockbox</span> from your audio player.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This will leave the bootloader in place (you need to remove it manually).</p></body></html> + + + + + &Manual + + + + + &File + &Datei + + + + &About + Ü&ber + + + + Empty local download cache + Download-Cache löschen + + + + Install Rockbox Utility on player + Rockbox Utility auf dem Gerät installieren + + + + &Configure + &Konfigurieren + + + + E&xit + &Beenden + + + + Ctrl+Q + Ctrl+Q + + + + About &Qt + Über &Qt + + + + Install Rockbox + + + + + Install Bootloader + Bootloader installieren + + + + Install Fonts package + Schriftarten-Paket installieren + + + + Install themes + + + + + Install game files + + + + + Uninstall Bootloader + Bootloader entfernen + + + + Uninstall Rockbox + Rockbox entfernen + + + + Device + + + + + Selected device: + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">none</span> at <span style=" font-weight:600;">unknown</span></p></body></html> + + + + + &Change + + + + + Welcome + + + + + Basic Rockbox installation + + + + + Install extras for Rockbox + + + + + &Accessibility + + + + + Install accessibility add-ons + + + + + Install Voice files + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Install Voice file</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Voice files are needed to make Rockbox speak the user interface. Speaking is enabled by default, so if you installed the voice file Rockbox will speak.</p></body></html> + + + + + Install Talk files + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Create Talk Files</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400;">Talkfiles are needed to let Rockbox speak File and Foldernames</span></p></body></html> + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Remove the bootloader</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">After removing the bootloader you won't be able to start Rockbox.</p></body></html> + + + + + View and download the manual + + + + + Read the manual + + + + + PDF manual + + + + + HTML manual + + + + + Download the manual + + + + + &PDF version + + + + + &HTML version (zip file) + + + + + Down&load + + + + + ThemeInstallFrm + + + Theme Installation + Theme Installation + + + + Selected Theme + Ausgewähltes Theme + + + + Description + Beschreibung + + + + Download size: + Download größe: + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + ThemesInstallWindow + + + no theme selected + Kein Theme ausgewählt. + + + + Network error: %1. +Please check your network and proxy settings. + Netzwerk Fehler: %1 +Bitte prüfe die Netzwerk und Proxy Einstellungen. + + + + the following error occured: +%1 + Der folgende Fehler ist aufgetreten: +%1 + + + + done. + Fertig. + + + + fetching details for %1 + hole Details für %1 + + + + fetching preview ... + hole Vorschau ... + + + + Download size %1 kiB + Download Größe: %1 kiB + + + + <b>Author:</b> %1<hr/> + <b>Autor:</b> %1<hr/> + + + + unknown + unbekann t + + + + <b>Version:</b> %1<hr/> + <b>Version:</b> %1<hr/> + + + + <b>Description:</b> %1<br/> + <b>Beschreibung:</b> %1<br/> + + + + no description + Keine Beschreibung vorhanden. + + + + no theme preview + Keine Themevorschau vorhanden. + + + + getting themes information ... + hole Theme Informationen ... + + + + Mount point is wrong! + Mounpoint ist ungültig! + + + + UnZip + + + ZIP operation completed successfully. + ZIP operation war erfolgreich. + + + + Failed to initialize or load zlib library. + Initialisieren oder Laden der zlib-Bibliothek fehlgeschlagen. + + + + zlib library error. + Fehler in zlib-Bibliothek. + + + + Unable to create or open file. + Erzeugen oder Öffnen der Datei fehlgeschlagen. + + + + Partially corrupted archive. Some files might be extracted. + Teilweise korruptes Archiv. Einige Dateien wurden möglicherweise extrahiert. + + + + Corrupted archive. + Korruptes Archiv. + + + + Wrong password. + Falsches Passwort. + + + + No archive has been created yet. + Momentan kein Archiv verfügbar. + + + + File or directory does not exist. + Datei oder Ordner existiert nicht. + + + + File read error. + Fehler beim Lesen der Datei. + + + + File write error. + Fehler beim Schreiben der Datei. + + + + File seek error. + Fehler beim Durchsuchen der Datei. + + + + Unable to create a directory. + Kann Verzeichniss nicht erstellen. + + + + Invalid device. + Ungültiges Gerät. + + + + Invalid or incompatible zip archive. + Ungültiges oder inkompatibles Zip-Archiv. + + + + Inconsistent headers. Archive might be corrupted. + Inkonsistente Header. Archiv ist wahrscheinlich beschädigt. + + + + Unknown error. + Unbekannter Fehler. + + + + UninstallFrm + + + Uninstall Rockbox + Deinstalliere Rockbox + + + + Please select the Uninstallation Methodl + Bitte wählen sie eine Deinstallationsmethode. + + + + Uninstallation Method + Deinstallations Methode + + + + Complete Uninstallation + Komplette Deinstallation + + + + Smart Uninstallation + Intelligente Deinstallation + + + + Please select what you want to uninstall + Bitte wählen sie die zu deinstallierenden Teile + + + + Installed Parts + Installierte Teile + + + + &Ok + &Ok + + + + &Cancel + &Abbrechen + + + + Uninstaller + + + Starting Uninstallation + Beginne Deinstallation. + + + + Finished Uninstallation + Deinstallation erfolgreich. + + + + Uninstalling + Deinstalliere + + + + Could not delete: + Dies File konnte nicht gelöscht werden: + + + + Uninstallation finished + Deinstallation erfolgreich. + + + + Zip + + + ZIP operation completed successfully. + ZIP operation war erfolgreich. + + + + Failed to initialize or load zlib library. + Initialisieren oder Laden der zlib-Bibliothek fehlgeschlagen. + + + + zlib library error. + Fehler in zlib-Bibliothek. + + + + Unable to create or open file. + Erzeugen oder Öffnen der Datei fehlgeschlagen. + + + + No archive has been created yet. + Momentan kein Archiv verfügbar. + + + + File or directory does not exist. + Datei oder Ordner existiert nicht. + + + + File read error. + Fehler beim Lesen der Datei. + + + + File write error. + Fehler beim Schreiben der Datei. + + + + File seek error. + Fehler beim Durchsuchen der Datei. + + + + Unknown error. + Unbekannter Fehler. + + + + ZipInstaller + + + done. + Fertig + + + + Installation finished successfully. + Die Installation war erfolgreich. + + + + Downloading file %1.%2 + Herunterladen von Datei %1.%2 + + + + Download error: received HTTP error %1. + Fehler beim Herunterladen: HTTP Fehler %1. + + + + Download error: %1 + Downloadfehler: %1 + + + + Download finished. + Download abgeschlossen. + + + + Extracting file. + Extrahiere Datei. + + + + Opening archive failed: %1. + Öffnen des Archives fehlgeschlagen: %1 + + + + Extracting failed: %1. + Extrahieren fehlgeschlagen: %1 + + + + Installing file. + Installiere Datei. + + + + Installing file failed. + Die Installation ist Fehlgeschlagen. + + + + Creating installation log + Erstelle Installationslog. + + + + aboutBox + + + About Rockbox Utility + Über Rockbox Utility + + + + &Credits + + + + + &License + &Lizenz + + + + &Ok + &Ok + + + + The Rockbox Utility + Rockbox Utility + + + + Installer and housekeeping utility for the Rockbox open source digital audio player firmware. + +© 2005 - 2007 The Rockbox Team. +Released under the GNU General Public License v2. + + + + + http://www.rockbox.org + + + + diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp index a374737bd8..6ae5fbf5e8 100644 --- a/rbutil/rbutilqt/rbutilqt.cpp +++ b/rbutil/rbutilqt/rbutilqt.cpp @@ -31,6 +31,7 @@ #include "installthemes.h" #include "uninstallwindow.h" #include "browseof.h" +#include "multiinstaller.h" #ifdef __linux #include @@ -93,10 +94,9 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent) connect(ui.buttonRemoveRockbox, SIGNAL(clicked()), this, SLOT(uninstall())); connect(ui.buttonRemoveBootloader, SIGNAL(clicked()), this, SLOT(uninstallBootloader())); connect(ui.buttonDownloadManual, SIGNAL(clicked()), this, SLOT(downloadManual())); - - // disable unimplemented stuff - ui.buttonSmall->setEnabled(false); - ui.buttonComplete->setEnabled(false); + connect(ui.buttonSmall, SIGNAL(clicked()), this, SLOT(smallInstall())); + connect(ui.buttonComplete, SIGNAL(clicked()), this, SLOT(completeInstall())); + #if !defined(STATIC) ui.actionInstall_Rockbox_Utility_on_player->setEnabled(false); #else @@ -299,6 +299,65 @@ void RbUtilQt::updateManual() } } +void RbUtilQt::completeInstall() +{ + if(QMessageBox::question(this, tr("Confirm Installation"), + tr("Do you really want to make a complete Installation?"), + QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes) return; + + MultiInstaller installer(this); + installer.setUserSettings(userSettings); + installer.setDeviceSettings(devices); + installer.setProxy(proxy()); + + buildInfo.open(); + QSettings info(buildInfo.fileName(), QSettings::IniFormat, this); + buildInfo.close(); + + devices->beginGroup(platform); + QString released = devices->value("released").toString(); + devices->endGroup(); + if(released == "yes") { + // only set the keys if needed -- querying will yield an empty string + // if not set. + versmap.insert("rel_rev", devices->value("last_release").toString()); + versmap.insert("rel_date", ""); // FIXME: provide the release timestamp + } + installer.setVersionStrings(versmap); + + installer.installComplete(); + +} + +void RbUtilQt::smallInstall() +{ + if(QMessageBox::question(this, tr("Confirm Installation"), + tr("Do you really want to make a small Installation?"), + QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes) return; + + MultiInstaller installer(this); + installer.setUserSettings(userSettings); + installer.setDeviceSettings(devices); + installer.setProxy(proxy()); + + buildInfo.open(); + QSettings info(buildInfo.fileName(), QSettings::IniFormat, this); + buildInfo.close(); + + devices->beginGroup(platform); + QString released = devices->value("released").toString(); + devices->endGroup(); + if(released == "yes") { + // only set the keys if needed -- querying will yield an empty string + // if not set. + versmap.insert("rel_rev", devices->value("last_release").toString()); + versmap.insert("rel_date", ""); // FIXME: provide the release timestamp + } + installer.setVersionStrings(versmap); + + installer.installSmall(); + +} void RbUtilQt::install() { diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h index a2e25112f3..8781e08a15 100644 --- a/rbutil/rbutilqt/rbutilqt.h +++ b/rbutil/rbutilqt/rbutilqt.h @@ -30,6 +30,7 @@ #include "progressloggergui.h" #include "installbootloader.h" + class RbUtilQt : public QMainWindow { Q_OBJECT @@ -61,6 +62,8 @@ class RbUtilQt : public QMainWindow void configDialog(void); void updateDevice(void); void updateSettings(void); + void completeInstall(void); + void smallInstall(void); void install(void); void installBl(void); void installFonts(void); @@ -78,6 +81,7 @@ class RbUtilQt : public QMainWindow void installPortable(void); void updateInfo(void); void updateTabs(int); + }; #endif diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index 8cff587972..55bb00e00e 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro @@ -34,7 +34,8 @@ SOURCES += rbutilqt.cpp \ uninstall.cpp \ uninstallwindow.cpp \ browseof.cpp \ - preview.cpp + preview.cpp \ + multiinstaller.cpp HEADERS += rbutilqt.h \ install.h \ @@ -69,7 +70,8 @@ HEADERS += rbutilqt.h \ uninstall.h \ uninstallwindow.h \ browseof.h \ - preview.h + preview.h \ + multiinstaller.h # Needed by QT on Win INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher -- cgit v1.2.3