diff options
author | Nicolas Hennion <nicolas@nicolargo.com> | 2014-03-27 19:57:12 +0100 |
---|---|---|
committer | Nicolas Hennion <nicolas@nicolargo.com> | 2014-03-27 19:57:12 +0100 |
commit | 4177046cdd3be8f2019799490de54a7aab5b0550 (patch) | |
tree | 3044535877b908d50cf2462ceb87bc267d9610c6 | |
parent | 005ea50b045ff00777dc5825f098586420d31ec2 (diff) | |
parent | d9b0b6a414d9826a51a23ad24f303205aa33471e (diff) |
Remove glances.pot from repository. Will be generated automatically by the i18n script
-rwxr-xr-x | i18n-gen.sh | 127 | ||||
-rw-r--r-- | i18n/de/LC_MESSAGES/glances.mo | bin | 7693 -> 10393 bytes | |||
-rw-r--r-- | i18n/de/LC_MESSAGES/glances.po | 590 |
3 files changed, 432 insertions, 285 deletions
diff --git a/i18n-gen.sh b/i18n-gen.sh index 94090d6b..a74a591e 100755 --- a/i18n-gen.sh +++ b/i18n-gen.sh @@ -1,19 +1,108 @@ -#!/bin/sh -# -# To create a new language pack XX -# > mkdir -p ./i18n/XX/LC_MESSAGES/ -# > msginit --input=./i18n/glances.pot --output=./i18n/XX/LC_MESSAGES/glances.po -# Translate using the ./i18n/XX/LC_MESSAGES/glances.po file -# Then add XX to the LANG_LIST -# Run this script -# - -LANG_LIST='es fr it pt_BR zh_CN de' - -xgettext --language=Python --keyword=_ --output=./i18n/glances.pot ./glances/glances.py - -for i in $LANG_LIST; do - echo "Generate language pack for: $i" - msgmerge --update --no-fuzzy-matching --backup=off ./i18n/$i/LC_MESSAGES/glances.po ./i18n/glances.pot - msgfmt ./i18n/$i/LC_MESSAGES/glances.po --output-file ./i18n/$i/LC_MESSAGES/glances.mo -done +#!/bin/bash + +#Calculates the direcory of the script in case it is run from another directory +ROOT="${0%%i18n-gen.sh}" + +function usage() { + cat <<EOT +Usage: $0 <subcommand> language_code + +Available subcommands: + init + creates a new folder for a new language + update + updates an existing language file with new Strings from the sources + gen + generates the parsed language file + +update and gen also accept the wildcard language_code ALL + +Suggested Workflows (with XX as language_code): + New Language + 1. $0 init XX + 2. translation of ${ROOT}i18n/XX/LC_MESSAGES/glances.po + 3. $0 gen XX + Update Language + 1. $0 update XX + 2. update translations of ${ROOT}i18n/XX/LC_MESSAGES/glances.po + 3. $0 gen XX +EOT +exit +} + +function gen_pot() { + xgettext --language=Python --keyword=_ --output=${ROOT}i18n/glances.pot ${ROOT}glances/glances.py +} + +OPERATION="$1" +shift + +if [ -z "$1" ]; then + usage +fi + +case "$OPERATION" in + init) + # If there is already a language file for specified language there is no need to generate a new one + # doing so would result in a loss of all already translated strings for that language + if [ -f "${ROOT}i18n/$1/LC_MESSAGES/glances.po" ]; then + echo "Error:" + echo "Language file for language $1 already exists" + echo "Please run \"$0 help\" for more information" + exit 1 + fi + # Actual generation + mkdir -p ${ROOT}i18n/$1/LC_MESSAGES/ + gen_pot + msginit --locale="$1" --input=${ROOT}i18n/glances.pot --output=${ROOT}i18n/$1/LC_MESSAGES/glances.po + exit 0 + ;; + update) + # When the language code is ALL fetch all language codes and save them + # else test if the specified language code really exists + if [ "$1" = "ALL" ]; then + LANG_LIST="$(ls -d ${ROOT}i18n/*/ | awk -F / '{print $(NF-1)}')" + else + if [ ! -f "${ROOT}i18n/$1/LC_MESSAGES/glances.po" ]; then + echo "Error:" + echo "Language file for language $1 doesn't exists" + echo "Please run \"$0 help\" for more information" + exit 1 + fi + LANG_LIST="$1" + fi + # regenerate the pot file so that it conatins the new strings and then update the language files accordingly + gen_pot + for i in $LANG_LIST; do + msgmerge --update --no-fuzzy-matching --backup=off ${ROOT}i18n/$i/LC_MESSAGES/glances.po ${ROOT}i18n/glances.pot + echo "Language file for language $i updated" + done + exit 0 + ;; + gen) + # When the language code is ALL fetch all language codes and save them + # else test if the specified language code really exists + if [ "$1" = "ALL" ]; then + LANG_LIST="$(ls -d ${ROOT}i18n/*/ | awk -F / '{print $(NF-1)}')" + else + if [ ! -f "${ROOT}i18n/$1/LC_MESSAGES/glances.po" ]; then + echo "Error:" + echo "Language file for language $1 doesn't exists" + echo "Please run \"$0 help\" for more information" + exit 1 + fi + LANG_LIST="$1" + fi + # compile the language files + for i in $LANG_LIST; do + msgfmt ${ROOT}i18n/$i/LC_MESSAGES/glances.po --output-file ${ROOT}i18n/$i/LC_MESSAGES/glances.mo + echo "Compiled language file for language $i generated" + done + exit 0 + ;; + *) + # if anything other is entered as first argument print the usage overview + # so, the message to run "i18n-gen.sh help" is a LIE but who cares since the cake was a lie in the first place! + usage + ;; +esac diff --git a/i18n/de/LC_MESSAGES/glances.mo b/i18n/de/LC_MESSAGES/glances.mo Binary files differindex cea30acb..08e342d2 100644 --- a/i18n/de/LC_MESSAGES/glances.mo +++ b/i18n/de/LC_MESSAGES/glances.mo diff --git a/i18n/de/LC_MESSAGES/glances.po b/i18n/de/LC_MESSAGES/glances.po index bab51cda..bdd5bbf7 100644 --- a/i18n/de/LC_MESSAGES/glances.po +++ b/i18n/de/LC_MESSAGES/glances.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: GLANCES 1.7.3\n" +"Project-Id-Version: GLANCES 1.7.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-23 01:08+0100\n" -"PO-Revision-Date: 2013-12-23 01:06+0100\n" +"POT-Creation-Date: 2014-03-27 18:39+0100\n" +"PO-Revision-Date: 2014-03-27 19:07+0100\n" "Last-Translator: David Tiersch <d.tiersch@gmail.com>\n" "Language-Team: German\n" "Language: de\n" @@ -16,536 +16,561 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.6.3\n" +"X-Generator: Poedit 1.6.4\n" -#: glances/glances.py:398 +#: glances/glances.py:405 #, python-format msgid "Error decoding config file '%s': %s" -msgstr "" +msgstr "Fehler beim Dekodieren der Konfig-Datei '%s': %s" -#: glances/glances.py:1107 +#: glances/glances.py:1152 msgid "hddtemp error" msgstr "hddtemp-Fehler" -#: glances/glances.py:1939 +#: glances/glances.py:2099 msgid "Error: Cannot init the curses library.\n" msgstr "Fehler: Die curses-Bibliothek kann nicht initialisiert werden.\n" -#: glances/glances.py:2500 -msgid "{0} {1} with {2} {3} on {4}" -msgstr "{0} {1} mit {2} {3} auf {4}" +#: glances/glances.py:2664 +msgid "{0} ({1} {2} / {3} {4})" +msgstr "{0} ({1} {2} / {3} {4})" + +#: glances/glances.py:2669 +msgid "{0} ({1} {2} {3})" +msgstr "{0} ({1} {2} {3})" -#: glances/glances.py:2505 -msgid "{0} {1} {2} on {3}" -msgstr "{0} {1} {2} auf {3}" +#: glances/glances.py:2675 +msgid "Uptime: {0}" +msgstr "Betriebszeit: {0}" -#: glances/glances.py:2550 +#: glances/glances.py:2738 msgid "PerCPU" msgstr "Pro CPU" -#: glances/glances.py:2556 glances/glances.py:2610 glances/glances.py:2906 -#: glances/glances.py:3067 glances/glances.py:3463 +#: glances/glances.py:2744 glances/glances.py:2798 glances/glances.py:3103 +#: glances/glances.py:3267 glances/glances.py:3672 msgid "Compute data..." msgstr "Berechne Daten..." -#: glances/glances.py:2560 glances/glances.py:2620 +#: glances/glances.py:2748 glances/glances.py:2808 msgid "user:" msgstr "" -#: glances/glances.py:2562 glances/glances.py:2629 +#: glances/glances.py:2750 glances/glances.py:2817 msgid "system:" msgstr "" -#: glances/glances.py:2565 glances/glances.py:2657 +#: glances/glances.py:2753 glances/glances.py:2854 msgid "iowait:" msgstr "" -#: glances/glances.py:2568 glances/glances.py:2636 +#: glances/glances.py:2756 glances/glances.py:2824 msgid "idle:" msgstr "" -#: glances/glances.py:2604 +#: glances/glances.py:2792 msgid "CPU" +msgstr "CPU" + +#: glances/glances.py:2835 +msgid "steal:" msgstr "" -#: glances/glances.py:2648 +#: glances/glances.py:2845 msgid "nice:" msgstr "" -#: glances/glances.py:2667 +#: glances/glances.py:2864 msgid "irq:" msgstr "" -#: glances/glances.py:2689 glances/glances.py:3678 +#: glances/glances.py:2886 glances/glances.py:3890 msgid "Load" -msgstr "" +msgstr "Last" -#: glances/glances.py:2693 +#: glances/glances.py:2890 msgid "-core" msgstr "" -#: glances/glances.py:2697 +#: glances/glances.py:2894 msgid "1 min:" -msgstr "" +msgstr "1 min:" -#: glances/glances.py:2704 +#: glances/glances.py:2901 msgid "5 min:" -msgstr "" +msgstr "5 min:" -#: glances/glances.py:2714 +#: glances/glances.py:2911 msgid "15 min:" -msgstr "" +msgstr "15 min:" -#: glances/glances.py:2746 +#: glances/glances.py:2943 msgid "Mem" msgstr "" -#: glances/glances.py:2756 glances/glances.py:2842 +#: glances/glances.py:2953 glances/glances.py:3039 msgid "total:" msgstr "" -#: glances/glances.py:2765 glances/glances.py:2852 +#: glances/glances.py:2962 glances/glances.py:3049 msgid "used:" msgstr "belegt:" -#: glances/glances.py:2773 glances/glances.py:2861 +#: glances/glances.py:2970 glances/glances.py:3058 msgid "free:" msgstr "frei:" -#: glances/glances.py:2786 +#: glances/glances.py:2983 msgid "active:" msgstr "aktiv:" -#: glances/glances.py:2794 +#: glances/glances.py:2991 msgid "inactive:" msgstr "inaktiv:" -#: glances/glances.py:2804 +#: glances/glances.py:3001 msgid "buffers:" msgstr "Buffer:" -#: glances/glances.py:2812 +#: glances/glances.py:3009 msgid "cached:" msgstr "gecached:" -#: glances/glances.py:2830 +#: glances/glances.py:3027 msgid "Swap" msgstr "" -#: glances/glances.py:2878 +#: glances/glances.py:3075 msgid "Network" msgstr "Netzwerk" -#: glances/glances.py:2901 glances/glances.py:3062 +#: glances/glances.py:3098 glances/glances.py:3262 msgid "Cannot grab data..." -msgstr "" +msgstr "Kann Daten nicht lesen..." -#: glances/glances.py:2989 +#: glances/glances.py:3189 msgid "Sensors" msgstr "Sensoren" -#: glances/glances.py:2992 glances/glances.py:3025 +#: glances/glances.py:3192 glances/glances.py:3225 msgid "°C" -msgstr "" +msgstr "°C" -#: glances/glances.py:3022 +#: glances/glances.py:3222 msgid "HDD Temp" msgstr "" -#: glances/glances.py:3051 +#: glances/glances.py:3251 msgid "Disk I/O" msgstr "" -#: glances/glances.py:3055 +#: glances/glances.py:3255 msgid "In/s" msgstr "" -#: glances/glances.py:3057 +#: glances/glances.py:3257 msgid "Out/s" msgstr "" -#: glances/glances.py:3103 +#: glances/glances.py:3303 msgid "Mount" msgstr "" -#: glances/glances.py:3107 +#: glances/glances.py:3307 msgid "Used" msgstr "Belegt" -#: glances/glances.py:3109 +#: glances/glances.py:3309 msgid "Total" msgstr "" -#: glances/glances.py:3151 +#: glances/glances.py:3351 msgid "WARNING|CRITICAL logs" -msgstr "" +msgstr "WARNUNG|KRITISCH Logs" -#: glances/glances.py:3153 +#: glances/glances.py:3353 msgid " (lasts " msgstr " (letzte" -#: glances/glances.py:3154 +#: glances/glances.py:3354 msgid " entries)" msgstr " Einträge)" -#: glances/glances.py:3156 +#: glances/glances.py:3356 msgid " (one entry)" msgstr " (ein Eintrag)" -#: glances/glances.py:3255 +#: glances/glances.py:3455 msgid "Processes (disabled)" msgstr "Prozesse (deaktiviert)" -#: glances/glances.py:3260 -msgid "Processes" -msgstr "Prozesse" +#: glances/glances.py:3470 +msgid "Tasks" +msgstr "" + +#: glances/glances.py:3478 +msgid "thr" +msgstr "" -#: glances/glances.py:3271 -msgid "running" -msgstr "laufend" +#: glances/glances.py:3480 +msgid "run" +msgstr "" -#: glances/glances.py:3273 -msgid "sleeping" -msgstr "schlafend" +#: glances/glances.py:3482 +msgid "slp" +msgstr "" -#: glances/glances.py:3275 -msgid "other" -msgstr "andere" +#: glances/glances.py:3484 +msgid "oth" +msgstr "" -#: glances/glances.py:3281 +#: glances/glances.py:3490 msgid "sorted automatically" msgstr "automatisch sortiert" -#: glances/glances.py:3283 +#: glances/glances.py:3492 msgid "sorted by " msgstr "sortiert nach " -#: glances/glances.py:3307 +#: glances/glances.py:3516 msgid "RUNNING" msgstr "LAUFEND" -#: glances/glances.py:3307 +#: glances/glances.py:3516 msgid "NOT RUNNING" msgstr "NICHT LAUFEND" -#: glances/glances.py:3321 +#: glances/glances.py:3530 msgid "Error: " msgstr "Fehler: " -#: glances/glances.py:3323 +#: glances/glances.py:3532 msgid "Cannot execute command" -msgstr "" +msgstr "Kann Kommando nicht ausführen" -#: glances/glances.py:3383 +#: glances/glances.py:3592 msgid "VIRT" msgstr "" -#: glances/glances.py:3387 +#: glances/glances.py:3596 msgid "RES" msgstr "" -#: glances/glances.py:3391 +#: glances/glances.py:3600 msgid "CPU%" -msgstr "" +msgstr "CPU%" -#: glances/glances.py:3396 +#: glances/glances.py:3605 msgid "MEM%" msgstr "" -#: glances/glances.py:3404 +#: glances/glances.py:3613 msgid "PID" msgstr "" -#: glances/glances.py:3410 +#: glances/glances.py:3619 msgid "USER" msgstr "" -#: glances/glances.py:3416 +#: glances/glances.py:3625 msgid "NI" msgstr "" -#: glances/glances.py:3422 +#: glances/glances.py:3631 msgid "S" msgstr "" -#: glances/glances.py:3428 +#: glances/glances.py:3637 msgid "TIME+" -msgstr "" +msgstr "ZEIT+" -#: glances/glances.py:3434 +#: glances/glances.py:3643 msgid "IOR/s" msgstr "" -#: glances/glances.py:3439 +#: glances/glances.py:3648 msgid "IOW/s" msgstr "" -#: glances/glances.py:3457 +#: glances/glances.py:3666 msgid "NAME" -msgstr "" +msgstr "NAME" -#: glances/glances.py:3614 +#: glances/glances.py:3828 msgid "Connected to " -msgstr "" +msgstr "Verbunden zu " -#: glances/glances.py:3617 +#: glances/glances.py:3831 msgid "Disconnected from " -msgstr "" +msgstr "Verbindung getrennt zu " -#: glances/glances.py:3619 +#: glances/glances.py:3833 msgid "Press 'h' for help" msgstr "Drück 'h' für Hilfe" -#: glances/glances.py:3651 +#: glances/glances.py:3865 msgid "Glances {0} with PsUtil {1}" msgstr "Glances {0} mit PsUtil {1}" -#: glances/glances.py:3657 +#: glances/glances.py:3871 msgid "Glances {0}" -msgstr "" - -#: glances/glances.py:3664 -msgid "OK" -msgstr "" +msgstr "Glances {0}" -#: glances/glances.py:3667 +#: glances/glances.py:3878 msgid "CAREFUL" -msgstr "" +msgstr "VORSICHT" -#: glances/glances.py:3670 +#: glances/glances.py:3881 msgid "WARNING" -msgstr "" +msgstr "WARNUNG" -#: glances/glances.py:3673 +#: glances/glances.py:3884 msgid "CRITICAL" -msgstr "" +msgstr "KRITISCH" -#: glances/glances.py:3677 +#: glances/glances.py:3888 msgid "CPU user %" msgstr "" -#: glances/glances.py:3677 +#: glances/glances.py:3888 msgid "CPU system %" msgstr "" -#: glances/glances.py:3678 +#: glances/glances.py:3889 msgid "CPU iowait %" msgstr "" -#: glances/glances.py:3679 -msgid "RAM memory %" +#: glances/glances.py:3889 +msgid "CPU steal %" msgstr "" -#: glances/glances.py:3679 -msgid "Swap memory %" +#: glances/glances.py:3890 +msgid "RAM %" msgstr "" -#: glances/glances.py:3680 -msgid "Temp °C" +#: glances/glances.py:3927 +msgid "Swap %" msgstr "" -#: glances/glances.py:3680 +#: glances/glances.py:3927 +msgid "Temp °C" +msgstr "Temp °C" + +#: glances/glances.py:3928 msgid "HDD Temp °C" msgstr "" -#: glances/glances.py:3681 +#: glances/glances.py:3928 msgid "Filesystem %" msgstr "Dateisystem %" -#: glances/glances.py:3681 +#: glances/glances.py:3929 msgid "CPU process %" msgstr "CPU Prozess %" -#: glances/glances.py:3682 +#: glances/glances.py:3929 msgid "MEM process %" msgstr "MEM Prozess %" -#: glances/glances.py:3737 +#: glances/glances.py:3965 msgid "a" -msgstr "" +msgstr "a" -#: glances/glances.py:3737 +#: glances/glances.py:3965 msgid "Sort processes automatically" msgstr "Prozesse automatisch sortieren" -#: glances/glances.py:3738 +#: glances/glances.py:3966 msgid "c" -msgstr "" +msgstr "c" -#: glances/glances.py:3738 +#: glances/glances.py:3966 msgid "Sort processes by CPU%" msgstr "Prozesse nach CPU% sortieren" -#: glances/glances.py:3739 +#: glances/glances.py:3967 msgid "m" -msgstr "" +msgstr "m" -#: glances/glances.py:3739 +#: glances/glances.py:3967 msgid "Sort processes by MEM%" msgstr "Prozesse nach MEM% sortieren" -#: glances/glances.py:3740 +#: glances/glances.py:3968 msgid "p" -msgstr "" +msgstr "p" -#: glances/glances.py:3740 +#: glances/glances.py:3968 msgid "Sort processes by name" msgstr "Prozesse nach Name sortieren" -#: glances/glances.py:3741 +#: glances/glances.py:3969 msgid "i" -msgstr "" +msgstr "i" -#: glances/glances.py:3741 +#: glances/glances.py:3969 msgid "Sort processes by I/O rate" msgstr "Prozesse nach I/O-Rate sortieren" -#: glances/glances.py:3742 +#: glances/glances.py:3970 msgid "d" -msgstr "" +msgstr "d" -#: glances/glances.py:3742 +#: glances/glances.py:3970 msgid "Show/hide disk I/O stats" msgstr "Zeige/Verstecke Disk I/O-Statistik" -#: glances/glances.py:3743 +#: glances/glances.py:3971 msgid "f" -msgstr "" +msgstr "f" -#: glances/glances.py:3743 +#: glances/glances.py:3971 msgid "Show/hide file system stats" msgstr "Zeige/Verstecke Dateisystem-Statistik" -#: glances/glances.py:3744 +#: glances/glances.py:3972 msgid "n" -msgstr "" +msgstr "n" -#: glances/glances.py:3744 +#: glances/glances.py:3972 msgid "Show/hide network stats" msgstr "Zeige/Verstecke Netzwerk-Statistik" -#: glances/glances.py:3745 +#: glances/glances.py:3973 msgid "s" -msgstr "" +msgstr "s" -#: glances/glances.py:3745 +#: glances/glances.py:3973 msgid "Show/hide sensors stats" msgstr "Zeige/Verstecke Sensor-Statisik" -#: glances/glances.py:3746 +#: glances/glances.py:3974 msgid "y" -msgstr "" +msgstr "y" -#: glances/glances.py:3746 +#: glances/glances.py:3974 msgid "Show/hide hddtemp stats" msgstr "Zeige/Verstecke hddtemp-Statistik" -#: glances/glances.py:3758 +#: glances/glances.py:3986 msgid "l" -msgstr "" +msgstr "l" -#: glances/glances.py:3758 +#: glances/glances.py:3986 msgid "Show/hide logs" msgstr "Zeige/Verstecke Logs" -#: glances/glances.py:3759 +#: glances/glances.py:3987 msgid "b" -msgstr "" +msgstr "b" -#: glances/glances.py:3759 +#: glances/glances.py:3987 msgid "Bytes or bits for network I/O" msgstr "Bytes oder Bits für Netzwerk I/O" -#: glances/glances.py:3760 +#: glances/glances.py:3988 msgid "w" -msgstr "" +msgstr "w" -#: glances/glances.py:3760 +#: glances/glances.py:3988 msgid "Delete warning logs" msgstr "Lösche warning-Logs" -#: glances/glances.py:3761 +#: glances/glances.py:3989 msgid "x" -msgstr "" +msgstr "x" -#: glances/glances.py:3761 +#: glances/glances.py:3989 msgid "Delete warning and critical logs" msgstr "Lösche warning- und critical-Logs" -#: glances/glances.py:3762 +#: glances/glances.py:3990 msgid "1" -msgstr "" +msgstr "1" -#: glances/glances.py:3762 +#: glances/glances.py:3990 msgid "Global CPU or per-CPU stats" msgstr "Globale oder Pro-CPU-Statistik" -#: glances/glances.py:3763 +#: glances/glances.py:3991 msgid "h" -msgstr "" +msgstr "h" -#: glances/glances.py:3763 +#: glances/glances.py:3991 msgid "Show/hide this help screen" msgstr "Zeige/Verstecke diesen Hilfe-Bildschirm" -#: glances/glances.py:3764 +#: glances/glances.py:3992 msgid "t" -msgstr "" +msgstr "t" -#: glances/glances.py:3764 +#: glances/glances.py:3992 msgid "View network I/O as combination" msgstr "Zeige Netzwerk I/O kombiniert" -#: glances/glances.py:3765 +#: glances/glances.py:3993 msgid "u" -msgstr "" +msgstr "u" -#: glances/glances.py:3765 +#: glances/glances.py:3993 msgid "View cumulative network I/O" msgstr "Zeige kumulative Netzwerk I/O" -#: glances/glances.py:3766 +#: glances/glances.py:3994 +msgid "z" +msgstr "z" + +#: glances/glances.py:3994 +msgid "Show/hide processes list" +msgstr "Zeige/Verstecke Prozess-Liste" + +#: glances/glances.py:3995 msgid "q" -msgstr "" +msgstr "q" -#: glances/glances.py:3766 +#: glances/glances.py:3995 msgid "Quit (Esc and Ctrl-C also work)" msgstr "Beenden (Esc und Strg-C funktionieren auch)" -#: glances/glances.py:3800 glances/glances.py:4169 +#: glances/glances.py:4028 glances/glances.py:4401 glances/glances.py:4406 msgid "%Y-%m-%d %H:%M:%S" msgstr "%d.%m.%Y %H:%M:%S" -#: glances/glances.py:4053 +#: glances/glances.py:4285 #, python-format msgid "Couldn't open socket: %s" msgstr "Kann Socket nicht öffnen: %s" -#: glances/glances.py:4234 +#: glances/glances.py:4471 msgid "Error: creating client socket" msgstr "Fehler: Client-Socket konnte nicht erstellt werden" -#: glances/glances.py:4243 +#: glances/glances.py:4479 +#, python-format +msgid "Couldn't create socket: %s" +msgstr "Konnte Socket nicht erzeugen: %s" + +#: glances/glances.py:4483 msgid "Error: Connection to server failed. Bad password." msgstr "Fehler: Verbindung zum Server gescheitert. Ungültiges Passwort." -#: glances/glances.py:4246 +#: glances/glances.py:4486 msgid "Error: Connection to server failed. Unknown error." msgstr "Fehler: Verbindung zum Server gescheitert. Unbekannter Fehler." -#: glances/glances.py:4279 +#: glances/glances.py:4519 msgid "Glances version " -msgstr "" +msgstr "Glances Version " -#: glances/glances.py:4279 +#: glances/glances.py:4519 msgid " with PsUtil " msgstr " mit PsUtil " -#: glances/glances.py:4284 +#: glances/glances.py:4524 msgid "Usage: glances [options]" msgstr "Benutzung: glances [optionen]" -#: glances/glances.py:4285 +#: glances/glances.py:4525 msgid "" "\n" "Options:" @@ -553,192 +578,225 @@ msgstr "" "\n" "Optionen:" -#: glances/glances.py:4286 +#: glances/glances.py:4526 msgid "\t-b\t\tDisplay network rate in Byte per second" msgstr "\t-b\t\tZeige Netzwerk-Rate in Byte pro Sekunde" -#: glances/glances.py:4287 +#: glances/glances.py:4527 msgid "\t-B @IP|HOST\tBind server to the given IPv4/IPv6 address or hostname" msgstr "" +"\t-B @IP|HOST\tBinde Server an die gegebene IPv4/IPv6 Adresse oder Hostnamen" -#: glances/glances.py:4288 +#: glances/glances.py:4528 msgid "" "\t-c @IP|HOST\tConnect to a Glances server by IPv4/IPv6 address or hostname" msgstr "" +"\t-c @IP|HOST\tVerbinde zu einem Glances Server mit by IPv4/IPv6 Adresse " +"oder Hostnamen" -#: glances/glances.py:4289 +#: glances/glances.py:4529 msgid "\t-C FILE\t\tPath to the configuration file" -msgstr "" +msgstr "\t-C FILE\t\tPfad zur Konfigurations-Datei" -#: glances/glances.py:4290 +#: glances/glances.py:4530 msgid "\t-d\t\tDisable disk I/O module" msgstr "\t-d\t\tDeaktiviere Disk I/O-Modul" -#: glances/glances.py:4291 +#: glances/glances.py:4531 msgid "\t-e\t\tEnable sensors module" msgstr "\t-e\t\tAktiviere Sensor-Modul" -#: glances/glances.py:4292 +#: glances/glances.py:4532 msgid "\t-f FILE\t\tSet the HTML output folder or CSV file" -msgstr "" +msgstr "\t-f FILE\t\tSetze den HTML-Ausgabe-Ordner oder die CSV-Datei" -#: glances/glances.py:4293 +#: glances/glances.py:4533 msgid "\t-h\t\tDisplay the help and exit" msgstr "\t-h\t\tZeige die Hilfe und beende" -#: glances/glances.py:4294 +#: glances/glances.py:4534 msgid "\t-m\t\tDisable mount module" msgstr "\t-m\t\tDeaktivere Mount-Modul" -#: glances/glances.py:4295 +#: glances/glances.py:4535 msgid "\t-n\t\tDisable network module" msgstr "\t-n\t\tDeaktiviere Netzwerk-Modul" -#: glances/glances.py:4296 +#: glances/glances.py:4536 msgid "\t-o OUTPUT\tDefine additional output (available: HTML or CSV)" -msgstr "" +msgstr "\t-o OUTPUT\tBestimme zusätzliche Ausgabe (verfügbar: HTML oder CSV)" -#: glances/glances.py:4297 +#: glances/glances.py:4537 #, python-format msgid "\t-p PORT\t\tDefine the client/server TCP port (default: %d)" msgstr "\t-p PORT\t\tDefiniere den TCP-Port des Clients/Servers (Standard: %d)" -#: glances/glances.py:4299 +#: glances/glances.py:4539 msgid "\t-P PASSWORD\tDefine a client/server password" -msgstr "" +msgstr "\t-P PASSWORD\tSetze ein Client-/Server-Passwort" -#: glances/glances.py:4300 +#: glances/glances.py:4540 msgid "\t--password\tDefine a client/server password from the prompt" -msgstr "" +msgstr "\t--password\tSetze ein Client-/Server-Passwort auf der Kommandozeile" -#: glances/glances.py:4301 +#: glances/glances.py:4541 msgid "\t-r\t\tDisable process list" msgstr "\t-r\t\tDeaktiviere Prozess-Liste" -#: glances/glances.py:4302 +#: glances/glances.py:4542 msgid "\t-s\t\tRun Glances in server mode" msgstr "\t-s\t\tStarte Glances im Server-Modus" -#: glances/glances.py:4303 +#: glances/glances.py:4543 #, python-format msgid "\t-t SECONDS\tSet refresh time in seconds (default: %d sec)" msgstr "" +"\t-t SECONDS\tSetze Aktualisierungs-Zeit in Sekunden (Standard: %d sek)" -#: glances/glances.py:4305 +#: glances/glances.py:4545 msgid "\t-v\t\tDisplay the version and exit" msgstr "\t-v\t\tZeige die Version und beende" -#: glances/glances.py:4306 +#: glances/glances.py:4546 msgid "\t-y\t\tEnable hddtemp module" msgstr "\t-y\t\tAktiviere hddtemp-Modul" -#: glances/glances.py:4307 +#: glances/glances.py:4547 msgid "\t-z\t\tDo not use the bold color attribute" msgstr "\t-z\t\tSetze Farben nicht in fett" -#: glances/glances.py:4308 +#: glances/glances.py:4548 msgid "\t-1\t\tStart Glances in per CPU mode" msgstr "\t-1\t\tStarte Glances im Pro-CPU-Modus" -#: glances/glances.py:4343 +#: glances/glances.py:4583 msgid "Password: " -msgstr "" +msgstr "Passwort: " -#: glances/glances.py:4345 +#: glances/glances.py:4585 msgid "Password (confirm): " -msgstr "" +msgstr "Passwort (bestätigen): " -#: glances/glances.py:4352 +#: glances/glances.py:4592 msgid "[Warning] Passwords did not match, please try again...\n" msgstr "" +"[Warnung] Passwörter stimmen nicht überein, bitte erneut versuchen...\n" -#: glances/glances.py:4434 -msgid "Error: -P flag need an argument (password)" -msgstr "Fehler: -P benötigt ein Argument (password)" - -#: glances/glances.py:4441 -msgid "Error: -B flag need an argument (bind IP address)" -msgstr "Fehler: -B benötigt ein Argument (Bind-IP-Adresse)" +#: glances/glances.py:4664 +msgid "Try 'glances -h' for more information." +msgstr "Versuch 'glances -h' für mehr Informationen." -#: glances/glances.py:4449 -msgid "Error: -c flag need an argument (server IP address/name)" -msgstr "Fehler: -c benötigt ein Argument (Server-IP-Adresse/Name)" - -#: glances/glances.py:4465 +#: glances/glances.py:4690 #, python-format msgid "Error: Unknown output %s" msgstr "Fehler: Unbekannte Ausgabe %s" -#: glances/glances.py:4471 -msgid "Error: PySensors library not found" -msgstr "Fehler: Bibliothek PySensors kann nicht gefunden werden" - -#: glances/glances.py:4476 -msgid "Error: Sensors module is only available on Linux" -msgstr "Fehler: Das Sensor-Modul ist nur unter Linux verfügbar" - -#: glances/glances.py:4486 +#: glances/glances.py:4701 msgid "Error: Refresh time should be a positive integer" msgstr "Fehler: Aktualisierungszeit muss eine positive ganze Zahl sein" -#: glances/glances.py:4512 +#: glances/glances.py:4727 +msgid "Error: Cannot use both -P and --password flag" +msgstr "Fehler: Kann nicht gleichzeitig -P und --password benutzen" + +#: glances/glances.py:4732 msgid "Error: Cannot use both -s and -c flag" msgstr "Fehler: Kann nicht gleichzeitig -s und -c benutzen" -#: glances/glances.py:4515 +#: glances/glances.py:4735 msgid "Error: Cannot use both -s and -o flag" msgstr "Fehler: Kann nicht gleichzeitig -s und -o benutzen" -#: glances/glances.py:4518 +#: glances/glances.py:4738 msgid "Define the password for the Glances server" -msgstr "" +msgstr "Setze das Passwort für den Glances Server" -#: glances/glances.py:4522 +#: glances/glances.py:4742 msgid "Error: Cannot use both -c and -o flag" msgstr "Fehler: Kann nicht gleichzeitig -c und -o benutzen" -#: glances/glances.py:4525 +#: glances/glances.py:4745 msgid "Error: Cannot use both -c and -C flag" msgstr "Fehler: Kann nicht gleichzeitig -c und -C benutzen" -#: glances/glances.py:4526 -msgid " Limits are set based on the server ones" -msgstr " Grenzen werden auf Grundlage des Server gesetzt" +#: glances/glances.py:4746 +msgid "Limits are set based on the server ones" +msgstr "Die Grenzen basieren auf denen des Ser |