From 3d8916d3e80bdf33487cfbbfd641441cde799f02 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Mon, 3 Oct 2011 16:23:54 +0200 Subject: started german translation --- CMakeLists.txt | 15 + main.cpp | 14 + translations/acritoxinstaller_de.ts | 697 ++++++++++++++++++++++++++++++++++++ 3 files changed, 726 insertions(+) create mode 100644 translations/acritoxinstaller_de.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fadd73..e62a468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,11 +33,26 @@ set(acritoxinstaller_SRCS mainwizard.cpp main.cpp backend.cpp listitem.cpp listd set(acritoxinstaller_MOC_HDRS mainwizard.h backend.h listdelegate.h ${wizard_HDRS}) set(acritoxinstaller_UIS ${wizard_UIS}) +set(FILES_TO_TRANSLATE ${acritoxinstaller_SRCS} ${acritoxinstaller_MOC_HDRS} ${acritoxinstaller_UIS}) +file (GLOB TRANSLATIONS_FILES translations/*.ts) + qt4_wrap_cpp(acritoxinstaller_MOC_SRCS ${acritoxinstaller_MOC_HDRS}) qt4_wrap_ui(acritoxinstaller_UIS_H ${acritoxinstaller_UIS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) add_executable(acritoxinstaller ${acritoxinstaller_SRCS} ${acritoxinstaller_MOC_SRCS} ${acritoxinstaller_UIS_H}) target_link_libraries(acritoxinstaller ${QT_LIBRARIES} qtermwidget crypt) +option (UPDATE_TRANSLATIONS "Update source translation translations/*.ts +files (WARNING: make clean will delete the source .ts files! Danger!)") +if (UPDATE_TRANSLATIONS) + qt4_create_translation(QM_FILES ${FILES_TO_TRANSLATE} +${TRANSLATIONS_FILES}) +else (UPDATE_TRANSLATIONS) + qt4_add_translation(QM_FILES ${TRANSLATIONS_FILES}) +endif (UPDATE_TRANSLATIONS) +add_custom_target (translations_target DEPENDS ${QM_FILES}) +install(FILES ${QM_FILES} DESTINATION ${QT_TRANSLATIONS_DIR}) +add_dependencies(acritoxinstaller translations_target) + install(TARGETS acritoxinstaller RUNTIME DESTINATION "${BIN_INSTALL_DIR}" LIBRARY DESTINATION "${LIB_INSTALL_DIR}") diff --git a/main.cpp b/main.cpp index 6423dd2..5667d15 100644 --- a/main.cpp +++ b/main.cpp @@ -1,9 +1,23 @@ #include +#include +#include +#include #include "mainwizard.h" int main(int argc, char** argv) { QApplication app(argc, argv); + QString locale = QLocale::system().name(); + QTranslator *translator; + + translator = new QTranslator(&app); + translator->load(QString("qt_")+locale, QLibraryInfo::location(QLibraryInfo::TranslationsPath)); + app.installTranslator(translator); + + translator = new QTranslator(&app); + translator->load(QString("acritoxinstaller_")+locale, QLibraryInfo::location(QLibraryInfo::TranslationsPath)); + app.installTranslator(translator); + MainWizard *l = new MainWizard; l->show(); return app.exec(); diff --git a/translations/acritoxinstaller_de.ts b/translations/acritoxinstaller_de.ts new file mode 100644 index 0000000..fa4d2bd --- /dev/null +++ b/translations/acritoxinstaller_de.ts @@ -0,0 +1,697 @@ + + + + + MainWizard + + + Installer + Installer + + + + Backend Error + Backend Fehler + + + + An error occurred: + +%1 + Ein Fehler ist aufgetreten: + +%1 + + + + wpBootloader + + + WizardPage + WizardPage + + + + Bootloader + Bootloader + + + + Select a bootloader and its installation target + Auswahl des Bootloaders und dessen Installationsziel + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Select your <span style=" font-weight:600;">bootloader</span>:</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A bootloader is needed to boot the Linux kernel or other operating systems and has to be installed on a bootable device (e.g. Harddisk, USB-Stick, Floppy)</p></body></html> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Wählen Sie einen <span style=" font-weight:600;">Bootloader</span> aus:</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ein Bootloader wird benötigt um den Linux-Kernel oder ein anderes installiertes Betriebssystem zu starten und muss auf einem Bootmedium (z.B. Festplatte, USB-Stick, Diskette) installiert werden</p></body></html> + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Bootloader installation target</span>: </p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Select the device where you want to install your bootloader. Usually you use the MBR (Master Boot Record) of the first device, but you could also install it to the root (<span style=" font-weight:600;">/</span>) partition. </p></body></html> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Bootloader Installationsziel</span>: </p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Wählen Sie das Gerät auf welches der Bootloader installiert werden soll. Gewöhnlich wird der MBR (Master Boot Record) des ersten Geräts verwendet, aber er kann auch in die Rootpartition (<span style=" font-weight:600;">/</span>) installiert werden. </p></body></html> + + + + wpHdMap + + + WizardPage + + + + + Partitions + + + + + HD Map + + + + + Partition + + + + + Mountpoint + + + + + Format with + + + + + Automount + + + + + mount on boot + + + + + wpInstallation + + + Installation + + + + + This may take some time... + + + + + Current task: + + + + + Installation completed: + + + + + Checking the installation configuration... + + + + + Setting up the installation target... + + + + + Preparing partitions for install... + + + + + Formatting, setting up mountpoints and mounting partitions according to your settings. + + + + + Copying system to installation target... + + + + + Updating /etc/fstab on installation target... + + + + + Setting up users and passwords... + + + + + Copying data for the default user... + + + + + The home-directory of the live user is copied to the home-directory of the user on the installation target. + + + + + Copying system settings... + + + + + Selected files from /etc are copied to the installation target. + + + + + Updating configuration files... + + + + + Removing live-only stuff... + + + + + Removing packages that are only needed on a live system from the installation (e.g. this installer) + + + + + Configuring services... + + + + + Setting up the services which get started automatically when booting the installation. + + + + + Installing bootmanager to the selected target... + + + + + Generating an initial ramdisk and installing %1 to %2 + + + + + Cleaning up... + + + + + The installation took %1m%2s. + + + + + Finished. + + + + + wpNetwork + + + WizardPage + + + + + Network configuration + + + + + Set your hostname + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Please enter a <span style=" font-weight:600;">hostname</span> for your computer.</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This should consist of letters (a-z) and numbers (0-9) only.</p></body></html> + + + + + Hostname: + + + + + wpPartMan + + + WizardPage + + + + + Partition Manager + + + + + Partition your disk + + + + + save and/or quit the partition manager to continue + + + + + wpPartManSel + + + WizardPage + + + + + Partitions + + + + + Select partition manager + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">You have decided to <span style=" font-weight:600;">partition your harddisks</span> manually.</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Please select your favorite partition manager from the list.</p></body></html> + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Please select the harddisk you want to partition from the list.</p></body></html> + + + + + cfdisk + + + + + cfdisk is a curses-based partition editor. It is text-only (curses), but it is easy to use. + + + + + fdisk + + + + + fdisk is a classic partition table manipulator for Linux. It has a Command Line Interface. + + + + + GParted + + + + + GParted is the Gnome Partition Editor application. It has a Graphical User Interface. [recommended] + + + + + QtParted + + + + + QTParted is a Partition Magic clone, so it has a GUI. Sometimes it's a bit buggy, so it is not recommended to use for huge changes on the partition table. + + + + + No description available... + + + + + wpPartitions + + + Partitions + Partitionen + + + + Please select your preferred way to partition your harddisks + Bitte wählen Sie aus wie Sie Ihre Festplatten partitionieren möchten + + + + Manual partitioning + Manuelle Partitionierung + + + + You will have to do the partitioning with a partition-manager manually. This way you have more possibilities to adjust the installation to your needs. The automatic partitioning lacks several features and is only a (computer generated) list of some possible options. + Sie müssen die Partitionierung manuell mit einem Partition-Manager vornehmen. Damit haben Sie mehr Möglichkeiten um die Installation an Ihre Bedürfnisse anzupassen. Der automatischen Partitionierung fehlen einige Funktionen - sie sind nur eine (computergenerierte) Liste einiger weniger Möglichkeiten. + + + + Already partitioned + Bereits partitioniert + + + + If you have already partitioned for the installation and don't want to start a partition manager then select this. + Wenn Sie bereits partitioniert haben und keinen Partition-Manager starten wollen wählen Sie diese Option. + + + + wpRootPartition + + + WizardPage + + + + + Partitions + + + + + Select root partition + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Select your <span style=" font-weight:600;">root-partition</span> and a filesystem to <span style=" font-weight:600;">format</span> the partition with (optionally).</p></body></html> + + + + + format partition with filesystem: + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">If you want to specify advanced options (e.g. a separate /home partition) please select <span style=" font-weight:600;">advanced partition options</span>.</p></body></html> + + + + + advanced partition options + + + + + wpRootPwd + + + WizardPage + + + + + User configuration + + + + + Password for the system administrator account (root) + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Please enter the password for <span style=" font-weight:600;">root</span>:</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The root account is a special user account that has all rights and permissions on your system (e.g. installing software, adding users, ...). Therefore <span style=" font-weight:600;">keep it secret!</span></p></body></html> + + + + + Password: + + + + + Retype Password: + + + + + <b>Note that all passwords must have 6 - 20 characters!</b> + + + + + Please enter a password! + + + + + Password must have at least 6 characters! + + + + + Passwords don't match! + + + + + wpSummary + + + Installation + + + + + Summary + + + + + Start Installation + + + + + Installation type + + + + + HD install + + + + + %1 will be used as %2 + + + + + It will be formatted with %1 + + + + + It will be mounted automatically on boot + + + + + Bootloader + + + + + %1 will be installed to %2 + + + + + wpUserCfg + + + WizardPage + + + + + User configuration + + + + + Username + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Realname</span>: Enter your name here.</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also enter a <span style=" font-weight:600;">username</span> for a less privileged account:</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Your user account is your &quot;normal&quot; working account. Your applications are launched from there and don't have full rights, only for this user account.</p></body></html> + + + + + Realname: + + + + + Username: + + + + + wpUserPwd + + + WizardPage + + + + + User configuration + + + + + Password for your user account + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">Please enter the password for your <span style=" font-weight:600;">user</span> account:</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Just as the root password you should keep this one secret!</p></body></html> + + + + + Password: + + + + + Retype Password: + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; 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;">If you <span style=" font-weight:600;">enable Auto-Login</span> you won't be asked a password to login when booting.</p></body></html> + + + + + Enable Auto-Login + + + + + <b>Note that all passwords must have 6 - 20 characters!</b> + + + + + Please enter a password! + + + + + Password must have at least 6 characters! + + + + + Passwords don't match! + + + + + wpWelcome + + + WizardPage + WizardPage + + + + welcome + willommen + + + -- cgit v1.0