diff --git a/bin/cryptobox-unittests.conf b/bin/cryptobox-unittests.conf index 5fb60de..8801354 100644 --- a/bin/cryptobox-unittests.conf +++ b/bin/cryptobox-unittests.conf @@ -77,11 +77,11 @@ Languages = en, de, sl, fr [Programs] cryptsetup = /sbin/cryptsetup mkfs = /sbin/mkfs -nice = /usr/bin/nice blkid = /sbin/blkid blockdev = /sbin/blockdev mount = /bin/mount umount = /bin/umount +nice = /usr/bin/nice super = /usr/bin/super # this is the "program" name as defined in /etc/super.tab CryptoBoxRootActions = CryptoBoxRootActions diff --git a/bin/do_unittests.sh b/bin/do_unittests.sh index d09cd46..00e3608 100755 --- a/bin/do_unittests.sh +++ b/bin/do_unittests.sh @@ -19,11 +19,23 @@ if /sbin/losetup /dev/loop1 &>/dev/null || test -e /dev/ubdb exit 1 fi +dest_files="" +while test $# -gt 0 + do files="${files} $(cd $(dirname $1); pwd)/$(basename $1)" + shift + done + # chdir to 'bin' - all config settings depend on this cd "${BASE_DIR}/bin" -# do the tests -for a in ${BASE_DIR}/src/cryptobox/tests/test.*.py - do testoob -v "$a" - done +if test -n "$files" + then # do the specified tests + for a in $files + do testoob -v "$a" + done + else # do all tests + for a in ${BASE_DIR}/src/cryptobox/tests/test.*.py + do testoob -v "$a" + done + fi diff --git a/debian/changelog b/debian/changelog index c694488..9861098 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cryptobox (0.2.55-1) unstable; urgency=low + + * more unittests + * new help system + + -- Lars Kruse Tue, 12 Dec 2006 04:47:47 +0100 + cryptobox (0.2.54-1) unstable; urgency=low * log plugin improved diff --git a/intl/cryptobox-server.pot b/intl/cryptobox-server.pot index 60af3a2..bf92c49 100644 --- a/intl/cryptobox-server.pot +++ b/intl/cryptobox-server.pot @@ -179,3 +179,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/cs/cryptobox-server.po b/intl/cs/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/cs/cryptobox-server.po +++ b/intl/cs/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/da/cryptobox-server.po b/intl/da/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/da/cryptobox-server.po +++ b/intl/da/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/de/cryptobox-server.po b/intl/de/cryptobox-server.po index d0bbcd0..9207ccb 100644 --- a/intl/de/cryptobox-server.po +++ b/intl/de/cryptobox-server.po @@ -180,6 +180,36 @@ msgstr "" msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" +#: Text.ProjectNote +#, fuzzy +msgid "The CryptoBox is a project by" +msgstr "Die CryptoBox ist ein Projekt von" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +#, fuzzy +msgid "This action is not available while the volume is active. Please close it first." +msgstr "Diese Aktion kann nicht durchgeführt werden, solange der Datenträger geöffnet ist. Bitte schließe ihn zuvor." + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" + #~ msgid "volume_mount" #~ msgstr "volume_mount" diff --git a/intl/en/cryptobox-server.po b/intl/en/cryptobox-server.po index 88f6750..fd005ba 100644 --- a/intl/en/cryptobox-server.po +++ b/intl/en/cryptobox-server.po @@ -1,18 +1,5 @@ -# -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: age \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Pootle 0.10.1\n" #: Name msgid "English" @@ -55,8 +42,8 @@ msgid "Website of project" msgstr "Website of project" #: Text.ProjectNote -msgid "The CryptoBox is a project by" -msgstr "The CryptoBox is a project by" +msgid "The CryptoBox is a project of" +msgstr "The CryptoBox is a project of" #: Text.ContainerName msgid "Container's name" @@ -128,13 +115,13 @@ msgstr "Invalid request" #: WarningMessage.InvalidAction.Text msgid "" -"This request is not defined. If you think, this is a bug, " -"get in contact with us. Please read the FAQ before." -"Thanks for your contribution!" +"Sorry - I do not know how to handle this request. If you think, that this is " +"a bug, then you should send the most recent part of the CryptoBox log to " +"info@cryptobox.org." msgstr "" -"This request is not defined. If you think, this is a bug, " -"get in contact with us. Please read the FAQ before." -"Thanks for your contribution!" +"Sorry - I do not know how to handle this request. If you think, that this is " +"a bug, then you should send the most recent part of the CryptoBox log to " +"info@cryptobox.org." #: WarningMessage.InvalidAction.Link.Text msgid "View log" @@ -146,20 +133,20 @@ msgstr "Something weird happened" #: WarningMessage.RuntimeError.Text msgid "" -"This situation was unexpected. We (the developers of the CryptoBox) " -"will try to fix this problem. Get in contact with us. Please read the FAQ before." -"Thanks for your contribution!" +"We (the developer of the CryptoBox) would like to fix this problem for you " +"and others. Please send the most recent part of the CryptoBox log to " +"info@cryptobox.org. Thanks for your contribution!" msgstr "" -"This situation was unexpected. We (the developers of the CryptoBox) " -"will try to fix this problem. Get in contact with us. Please read the FAQ before." -"Thanks for your contribution!" +"We (the developer of the CryptoBox) would like to fix this problem for you " +"and others. Please send the most recent part of the CryptoBox log to " +"info@cryptobox.org. Thanks for your contribution!" #: EnvironmentWarning.ReadOnlyConfig.Text msgid "" -"Read-only setup detected - you should create a configuration " +"Read-only setup detected - probably you should create a configuration " "partition." msgstr "" -"Read-only setup detected - you should create a configuration " +"Read-only setup detected - probably you should create a configuration " "partition." #: EnvironmentWarning.ReadOnlyConfig.Link.Text @@ -174,18 +161,102 @@ msgstr "The connection is not encrypted - passwords can be easily intercepted." msgid "Use encrypted connection" msgstr "Use encrypted connection" -#: WarningMessage.VolumeMayNotBeMounted.Link.Rel -msgid "volume_mount" -msgstr "volume_mount" +#: AdviceMessage.VolumeIsBusy.Title +msgid "Disk is busy" +msgstr "Disk is busy" -#: WarningMessage.InvalidAction.Link.Rel -msgid "logs" -msgstr "logs" +#: AdviceMessage.VolumeIsBusy.Text +msgid "This disk is currently busy. Please wait for a moment." +msgstr "This disk is currently busy. Please wait for a moment." -#: EnvironmentWarning.ReadOnlyConfig.Link.Rel -msgid "partition" -msgstr "partition" +#: AdviceMessage.VolumeIsBusy.Link.Text +msgid "Show all disks" +msgstr "Show all disks" -#: EnvironmentWarning.NoSSL.Link.Prot -msgid "https" -msgstr "https" +#: WarningMessage.AccessDenied.Text +msgid "" +"Sorry - you did not enter the right credentials! (Try user 'admin' and " +"password 'admin' and change this setting soon.)" +msgstr "" +"Sorry - you did not enter the right credentials! (Try user 'admin' and " +"password 'admin' and change this setting soon.)" + +#: WarningMessage.AccessDenied.Link.Text +msgid "Change password now" +msgstr "Change password now" + +#: Text.ContainerName +msgid "Volume's name" +msgstr "Volume's name" + +#: WarningMessage.AccessDenied.Text +msgid "" +"Sorry - you did not enter the right credentials! (Maybe try the default " +"setting: username=>'admin' / password=>'admin'.)" +msgstr "" +"Sorry - you did not enter the right credentials! (Maybe try the default " +"setting: username=>'admin' / password=>'admin'.)" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "The CryptoBox is a project by" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "Enable help" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "Disable help" + +#: WarningMessage.AccessDenied.Text +msgid "" +"Sorry - you did not enter the right credentials! Maybe you should try the " +"default setting: username=>'admin' / password=>'admin'." +msgstr "" +"Sorry - you did not enter the right credentials! Maybe you should try the " +"default setting: username=>'admin' / password=>'admin'." + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "The volume is open" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "" +"This action is not available while the volume is active. Please close it " +"first." +msgstr "" +"This action is not available while the volume is active. Please close it " +"first." + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "Close volume" + +#~ msgid "" +#~ "This request is not defined. If you think, this is a bug, get in contact " +#~ "with us. Please read the FAQ before.Thanks for your contribution!" +#~ msgstr "" +#~ "This request is not defined. If you think, this is a bug, get in contact " +#~ "with us. Please read the FAQ before.Thanks for your contribution!" + +#~ msgid "" +#~ "This situation was unexpected. We (the developers of the CryptoBox) will " +#~ "try to fix this problem. Get in contact with us. Please read the FAQ " +#~ "before.Thanks for your contribution!" +#~ msgstr "" +#~ "This situation was unexpected. We (the developers of the CryptoBox) will " +#~ "try to fix this problem. Get in contact with us. Please read the FAQ " +#~ "before.Thanks for your contribution!" + +#~ msgid "volume_mount" +#~ msgstr "volume_mount" + +#~ msgid "logs" +#~ msgstr "logs" + +#~ msgid "partition" +#~ msgstr "partition" + +#~ msgid "https" +#~ msgstr "https" diff --git a/intl/es/cryptobox-server.po b/intl/es/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/es/cryptobox-server.po +++ b/intl/es/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/fi/cryptobox-server.po b/intl/fi/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/fi/cryptobox-server.po +++ b/intl/fi/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/fr/cryptobox-server.po b/intl/fr/cryptobox-server.po index 7b56570..5fd1e7a 100644 --- a/intl/fr/cryptobox-server.po +++ b/intl/fr/cryptobox-server.po @@ -179,3 +179,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/hu/cryptobox-server.po b/intl/hu/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/hu/cryptobox-server.po +++ b/intl/hu/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/it/cryptobox-server.po b/intl/it/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/it/cryptobox-server.po +++ b/intl/it/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/ja/cryptobox-server.po b/intl/ja/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/ja/cryptobox-server.po +++ b/intl/ja/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/nl/cryptobox-server.po b/intl/nl/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/nl/cryptobox-server.po +++ b/intl/nl/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/pl/cryptobox-server.po b/intl/pl/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/pl/cryptobox-server.po +++ b/intl/pl/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/pt/cryptobox-server.po b/intl/pt/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/pt/cryptobox-server.po +++ b/intl/pt/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/ru/cryptobox-server.po b/intl/ru/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/ru/cryptobox-server.po +++ b/intl/ru/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/sl/cryptobox-server.po b/intl/sl/cryptobox-server.po index 1113372..a1b5fec 100644 --- a/intl/sl/cryptobox-server.po +++ b/intl/sl/cryptobox-server.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" -"X-Generator: Pootle 0.10.1\n" +"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "English" @@ -179,3 +179,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/intl/sv/cryptobox-server.po b/intl/sv/cryptobox-server.po index 2afc8cf..3d2dcf7 100644 --- a/intl/sv/cryptobox-server.po +++ b/intl/sv/cryptobox-server.po @@ -180,3 +180,31 @@ msgstr "" #: WarningMessage.AccessDenied.Text msgid "Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.)" msgstr "" + +#: Text.ProjectNote +msgid "The CryptoBox is a project by" +msgstr "" + +#: Button.EnableHelp +msgid "Enable help" +msgstr "" + +#: Button.DisableHelp +msgid "Disable help" +msgstr "" + +#: WarningMessage.AccessDenied.Text +msgid "Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Title +msgid "The volume is open" +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Text +msgid "This action is not available while the volume is active. Please close it first." +msgstr "" + +#: WarningMessage.VolumeMayNotBeMounted.Link.Text +msgid "Close volume" +msgstr "" diff --git a/plugins/date/form_date.cs b/plugins/date/form_date.cs index ea2c8e6..ca5c4e0 100644 --- a/plugins/date/form_date.cs +++ b/plugins/date/form_date.cs @@ -42,5 +42,3 @@ - - diff --git a/plugins/date/intl/en/cryptobox-server-feature-date.po b/plugins/date/intl/en/cryptobox-server-feature-date.po index ff2703a..42a1050 100644 --- a/plugins/date/intl/en/cryptobox-server-feature-date.po +++ b/plugins/date/intl/en/cryptobox-server-feature-date.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Change date and time" diff --git a/plugins/date/intl/sl/cryptobox-server-feature-date.po b/plugins/date/intl/sl/cryptobox-server-feature-date.po index e00a01d..1eda4f6 100644 --- a/plugins/date/intl/sl/cryptobox-server-feature-date.po +++ b/plugins/date/intl/sl/cryptobox-server-feature-date.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" -"X-Generator: Pootle 0.10.1\n" +"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Change date and time" diff --git a/plugins/disks/intl/en/cryptobox-server-feature-disks.po b/plugins/disks/intl/en/cryptobox-server-feature-disks.po index 239e59f..cdf113e 100644 --- a/plugins/disks/intl/en/cryptobox-server-feature-disks.po +++ b/plugins/disks/intl/en/cryptobox-server-feature-disks.po @@ -1,30 +1,27 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Disk overview" msgstr "Disk overview" #: Link -msgid "Volumes" -msgstr "Volumes" +msgid "Disks" +msgstr "Disks" #: Title.Disks -msgid "Available volumes" -msgstr "Available volumes" +msgid "Available disks" +msgstr "Available disks" #: AdviceMessage.NoDisksAvailable.Text -msgid "There is no volume available!" -msgstr "There is no volume available!" +msgid "No available disks were found!" +msgstr "No available disks were found!" + +#~ msgid "Volumes" +#~ msgstr "Volumes" + +#~ msgid "Available volumes" +#~ msgstr "Available volumes" + +#~ msgid "There is no volume available!" +#~ msgstr "There is no volume available!" diff --git a/plugins/help/intl/en/cryptobox-server-feature-help.po b/plugins/help/intl/en/cryptobox-server-feature-help.po index 6c47bff..e7e7e8e 100644 --- a/plugins/help/intl/en/cryptobox-server-feature-help.po +++ b/plugins/help/intl/en/cryptobox-server-feature-help.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "User manual" diff --git a/plugins/help/intl/sl/cryptobox-server-feature-help.po b/plugins/help/intl/sl/cryptobox-server-feature-help.po index 363a534..80f6b31 100644 --- a/plugins/help/intl/sl/cryptobox-server-feature-help.po +++ b/plugins/help/intl/sl/cryptobox-server-feature-help.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" -"X-Generator: Pootle 0.10.1\n" +"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "User manual" diff --git a/plugins/language_selection/intl/cryptobox-server-feature-language_selection.pot b/plugins/language_selection/intl/cryptobox-server-feature-language_selection.pot index 40977b4..a510c28 100644 --- a/plugins/language_selection/intl/cryptobox-server-feature-language_selection.pot +++ b/plugins/language_selection/intl/cryptobox-server-feature-language_selection.pot @@ -23,3 +23,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/cs/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/cs/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/cs/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/cs/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/da/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/da/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/da/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/da/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/de/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/de/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/de/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/de/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/en/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/en/cryptobox-server-feature-language_selection.po index a61a3ed..e168a55 100644 --- a/plugins/language_selection/intl/en/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/en/cryptobox-server-feature-language_selection.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Choose interface language" @@ -22,5 +10,16 @@ msgid "Languages" msgstr "Languages" #: Title.Language -msgid "Choose your interface language" -msgstr "Choose youur interface language" +msgid "Choose an interface language" +msgstr "Choose an interface language" + +#: Help.Select +msgid "" +"Choose your preferred interface language. This setting will be kept for your " +"browsing session." +msgstr "" +"Choose your preferred interface language. This setting will be kept for your " +"browsing session." + +#~ msgid "Choose your interface language" +#~ msgstr "Choose youur interface language" diff --git a/plugins/language_selection/intl/es/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/es/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/es/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/es/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/fi/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/fi/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/fi/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/fi/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/fr/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/fr/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/fr/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/fr/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/hu/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/hu/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/hu/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/hu/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/it/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/it/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/it/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/it/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/ja/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/ja/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/ja/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/ja/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/nl/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/nl/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/nl/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/nl/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/pl/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/pl/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/pl/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/pl/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/pt/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/pt/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/pt/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/pt/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/ru/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/ru/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/ru/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/ru/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/sl/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/sl/cryptobox-server-feature-language_selection.po index b766f7e..c2adc62 100644 --- a/plugins/language_selection/intl/sl/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/sl/cryptobox-server-feature-language_selection.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" -"X-Generator: Pootle 0.10.1\n" +"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Choose interface language" @@ -23,3 +23,7 @@ msgstr "Jezik" #: Title.Language msgid "Choose an interface language" msgstr "Izberite Jezik" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/intl/sv/cryptobox-server-feature-language_selection.po b/plugins/language_selection/intl/sv/cryptobox-server-feature-language_selection.po index fcbd19a..21fcb7f 100644 --- a/plugins/language_selection/intl/sv/cryptobox-server-feature-language_selection.po +++ b/plugins/language_selection/intl/sv/cryptobox-server-feature-language_selection.po @@ -24,3 +24,7 @@ msgstr "" #: Title.Language msgid "Choose an interface language" msgstr "" + +#: Help.Select +msgid "Choose your preferred interface language. This setting will be kept for your browsing session." +msgstr "" diff --git a/plugins/language_selection/language.hdf b/plugins/language_selection/language.hdf index 5789cbc..6df1fec 100644 --- a/plugins/language_selection/language.hdf +++ b/plugins/language_selection/language.hdf @@ -3,3 +3,5 @@ Link = Languages Title.Language = Choose an interface language +Help.Select = Choose your preferred interface language. This setting will be kept for your browsing session. + diff --git a/plugins/language_selection/language_selection.cs b/plugins/language_selection/language_selection.cs index 5e26101..30449e5 100644 --- a/plugins/language_selection/language_selection.cs +++ b/plugins/language_selection/language_selection.cs @@ -4,12 +4,19 @@ + +
  • " title="" >
  • + var:html_escape(Data.Languages[index].link) ?> + +  symbol: current language + +
diff --git a/plugins/language_selection/list_marker_tango.gif b/plugins/language_selection/list_marker_tango.gif new file mode 100644 index 0000000..64a611f Binary files /dev/null and b/plugins/language_selection/list_marker_tango.gif differ diff --git a/plugins/language_selection/unittests.py b/plugins/language_selection/unittests.py index af63747..7184664 100644 --- a/plugins/language_selection/unittests.py +++ b/plugins/language_selection/unittests.py @@ -25,14 +25,18 @@ import cryptobox.web.testclass class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_read_form(self): + """Check if the 'language_selection' plugin works. + """ url = self.url + "language_selection?weblang=en" self.register_auth(url) self.cmd.go(url) - self.cmd.find('hoose an interface language') + self.cmd.find('Choose an interface language') def test_check_language_list(self): - url = self.url + "language_selection" + """Check the list of available languages. + """ + url = self.url + "language_selection?weblang=en" self.register_auth(url) self.cmd.go(url) self.cmd.find(r'Data.Status.Plugins.language_selection=(.*)$', "m") diff --git a/plugins/logs/intl/cryptobox-server-feature-logs.pot b/plugins/logs/intl/cryptobox-server-feature-logs.pot index 3160284..a7e3539 100644 --- a/plugins/logs/intl/cryptobox-server-feature-logs.pot +++ b/plugins/logs/intl/cryptobox-server-feature-logs.pot @@ -31,3 +31,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/cs/cryptobox-server-feature-logs.po b/plugins/logs/intl/cs/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/cs/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/cs/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/da/cryptobox-server-feature-logs.po b/plugins/logs/intl/da/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/da/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/da/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/de/cryptobox-server-feature-logs.po b/plugins/logs/intl/de/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/de/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/de/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/en/cryptobox-server-feature-logs.po b/plugins/logs/intl/en/cryptobox-server-feature-logs.po index e4d27c6..e10e326 100644 --- a/plugins/logs/intl/en/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/en/cryptobox-server-feature-logs.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Show the content of the log file" @@ -31,4 +19,68 @@ msgstr "The logfile of the CryptoBox is empty." #: Text.Refresh msgid "Refresh" +msgstr "Refresh" + +#: Name +msgid "Show event log" +msgstr "Show event log" + +#: Link +msgid "Event log" +msgstr "Event log" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "CryptoBox event log" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "Show all messages" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "Show warnings and errors" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "Show errors only" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "Time passed" + +#: Text.EventText +msgid "Description" +msgstr "Description" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "days" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "hours" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "minutes" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "seconds" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "There are no messages available." + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "No log file configured" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "" +"The CryptoBox is not configured to log events to a file. Thus it is not " +"possible to review log events." msgstr "" +"The CryptoBox is not configured to log events to a file. Thus it is not " +"possible to review log events." diff --git a/plugins/logs/intl/es/cryptobox-server-feature-logs.po b/plugins/logs/intl/es/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/es/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/es/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/fi/cryptobox-server-feature-logs.po b/plugins/logs/intl/fi/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/fi/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/fi/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/fr/cryptobox-server-feature-logs.po b/plugins/logs/intl/fr/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/fr/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/fr/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/hu/cryptobox-server-feature-logs.po b/plugins/logs/intl/hu/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/hu/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/hu/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/it/cryptobox-server-feature-logs.po b/plugins/logs/intl/it/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/it/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/it/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/ja/cryptobox-server-feature-logs.po b/plugins/logs/intl/ja/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/ja/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/ja/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/nl/cryptobox-server-feature-logs.po b/plugins/logs/intl/nl/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/nl/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/nl/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/pl/cryptobox-server-feature-logs.po b/plugins/logs/intl/pl/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/pl/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/pl/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/pt/cryptobox-server-feature-logs.po b/plugins/logs/intl/pt/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/pt/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/pt/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/ru/cryptobox-server-feature-logs.po b/plugins/logs/intl/ru/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/ru/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/ru/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/sl/cryptobox-server-feature-logs.po b/plugins/logs/intl/sl/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/sl/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/sl/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/intl/sv/cryptobox-server-feature-logs.po b/plugins/logs/intl/sv/cryptobox-server-feature-logs.po index 2c4bc52..ebc49f3 100644 --- a/plugins/logs/intl/sv/cryptobox-server-feature-logs.po +++ b/plugins/logs/intl/sv/cryptobox-server-feature-logs.po @@ -32,3 +32,63 @@ msgstr "" #: Text.Refresh msgid "Refresh" msgstr "" + +#: Name +msgid "Show event log" +msgstr "" + +#: Link +msgid "Event log" +msgstr "" + +#: Title.Log +msgid "CryptoBox event log" +msgstr "" + +#: Text.ShowAll +msgid "Show all messages" +msgstr "" + +#: Text.AtLeastWarnings +msgid "Show warnings and errors" +msgstr "" + +#: Text.OnlyErrors +msgid "Show errors only" +msgstr "" + +#: Text.AgeOfEvent +msgid "Time passed" +msgstr "" + +#: Text.EventText +msgid "Description" +msgstr "" + +#: Text.TimeUnits.Days +msgid "days" +msgstr "" + +#: Text.TimeUnits.Hours +msgid "hours" +msgstr "" + +#: Text.TimeUnits.Minutes +msgid "minutes" +msgstr "" + +#: Text.TimeUnits.Seconds +msgid "seconds" +msgstr "" + +#: AdviceMessage.EmptyLog.Text +msgid "There are no messages available." +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Title +msgid "No log file configured" +msgstr "" + +#: AdviceMessage.NoLogFileConfigured.Text +msgid "The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events." +msgstr "" diff --git a/plugins/logs/language.hdf b/plugins/logs/language.hdf index b186acf..926a276 100644 --- a/plugins/logs/language.hdf +++ b/plugins/logs/language.hdf @@ -19,5 +19,10 @@ Text { AdviceMessage { EmptyLog.Text = There are no messages available. + + NoLogFileConfigured { + Title = No log file configured + Text = The CryptoBox is not configured to log events to a file. Thus it is not possible to review log events. + } } diff --git a/plugins/logs/logs.css b/plugins/logs/logs.css index 68173c7..e71d72d 100644 --- a/plugins/logs/logs.css +++ b/plugins/logs/logs.css @@ -9,7 +9,7 @@ } #log table.log td.text { - font-size: 0.8em; + font-size: 0.9em; font-family: monospace; } diff --git a/plugins/logs/logs.py b/plugins/logs/logs.py index 2ac294e..5470e49 100644 --- a/plugins/logs/logs.py +++ b/plugins/logs/logs.py @@ -67,10 +67,11 @@ class logs(cryptobox.plugins.base.CryptoBoxPlugin): if not level in LOG_LEVELS: self.cbox.log.info("[logs] invalid log level: %s" % str(level)) level = None - for (index, line) in enumerate(self.__get_log_content(lines, size, level)): + for (index, line) in enumerate(self.__filter_log_content(lines, size, level)): self.__set_line_hdf_data(self.hdf_prefix + "Content.%d" % index, line) self.hdf[self.hdf_prefix + "StyleSheetFile"] = os.path.abspath(os.path.join( self.plugin_dir, "logs.css")) + self.hdf[self.hdf_prefix + "Destination"] = self.cbox.prefs["Log"]["Destination"].lower() return "show_log" @@ -83,7 +84,7 @@ class logs(cryptobox.plugins.base.CryptoBoxPlugin): self.cbox.prefs["Log"]["Details"]) - def __get_log_content(self, lines, max_size, level): + def __filter_log_content(self, lines, max_size, level): """Filter, sort and shorten the log content. """ if level and level in LOG_LEVELS: @@ -93,7 +94,7 @@ class logs(cryptobox.plugins.base.CryptoBoxPlugin): del filtered_levels[0] content = [] current_length = 0 - for line in self.cbox.get_log_data(): + for line in self.__get_log_data(): for one_level in filtered_levels: if line.find(one_level) != -1: break @@ -108,7 +109,7 @@ class logs(cryptobox.plugins.base.CryptoBoxPlugin): if max_size and current_length >= max_size: break else: - content = self.cbox.get_log_data(lines, max_size) + content = self.__get_log_data(lines, max_size) return content @@ -159,3 +160,35 @@ class logs(cryptobox.plugins.base.CryptoBoxPlugin): except IndexError: pass + + def __get_log_data(self, lines=None, max_size=None): + """get the most recent log entries of the log file + + the maximum number and size of these entries can be limited by + 'lines' and 'max_size' + """ + # return nothing if the currently selected log output is not a file + try: + if self.cbox.prefs["Log"]["Destination"].upper() != "FILE": + return [] + log_file = self.cbox.prefs["Log"]["Details"] + except KeyError: + self.cbox.log.error( + "could not evaluate one of the following config settings: " + + "[Log]->Destination or [Log]->Details") + return [] + try: + fdesc = open(log_file, "r") + if max_size: + fdesc.seek(-max_size, 2) # seek relative to the end of the file + content = fdesc.readlines() + fdesc.close() + except IOError: + self.cbox.log.warn("failed to read the log file (%s)" % log_file) + return [] + if lines: + content = content[-lines:] + content.reverse() + return content + + diff --git a/plugins/logs/show_log.cs b/plugins/logs/show_log.cs index 6c245ab..e36c17e 100644 --- a/plugins/logs/show_log.cs +++ b/plugins/logs/show_log.cs @@ -27,7 +27,9 @@
- 0 ?> + + + 0 ?> @@ -66,3 +68,4 @@ + diff --git a/plugins/logs/unittests.py b/plugins/logs/unittests.py index 3faa88d..3d8fa3f 100644 --- a/plugins/logs/unittests.py +++ b/plugins/logs/unittests.py @@ -25,12 +25,16 @@ import cryptobox.web.testclass class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_read_logs(self): + """Read the log files. + """ log_url = self.url + "logs" self.register_auth(log_url) self.cmd.go(log_url) self.cmd.find('
') def test_write_logs(self): + """Send a log message and read it again. + """ log_text = "unittest - just a marker - please ignore" self.cbox.log.error(log_text) log_url = self.url + "logs" @@ -39,6 +43,8 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): self.cmd.find(log_text) def test_invalid_args(self): + """Send various invalid input combinations to the 'log' plugin. + """ log_url = self.url + "logs" self.cmd.go(log_url + "?lines=10") self.cmd.find('
') diff --git a/plugins/network/form_network.cs b/plugins/network/form_network.cs index 509e2d5..48e1330 100644 --- a/plugins/network/form_network.cs +++ b/plugins/network/form_network.cs @@ -26,5 +26,3 @@ - - diff --git a/plugins/network/intl/en/cryptobox-server-feature-network.po b/plugins/network/intl/en/cryptobox-server-feature-network.po index 5451159..ddf32f5 100644 --- a/plugins/network/intl/en/cryptobox-server-feature-network.po +++ b/plugins/network/intl/en/cryptobox-server-feature-network.po @@ -1,18 +1,5 @@ -# -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Pootle 0.10.1\n" #: Name msgid "Configure network" @@ -35,8 +22,8 @@ msgid "Invalid value" msgstr "Invalid value" #: WarningMessage.InvalidIP.Text -msgid "The network address (IP) was invalid and therefore not changed." -msgstr "The network address (IP) was invalid and therefore not changed." +msgid "An invalid network address (IP) was supplied. Please try again." +msgstr "An invalid network address (IP) was supplied. Please try again." #: SuccessMessage.IPChanged.Title msgid "Network address changed" @@ -44,8 +31,11 @@ msgstr "Network address changed" #: SuccessMessage.IPChanged.Text msgid "" -"The network address has been changed. In a few seconds you will be " +"The network address has been changed. In a few seconds you will get " "redirected to the new address." msgstr "" -"The network address has been changed. In a few seconds you will be " +"The network address has been changed. In a few seconds you will get " "redirected to the new address." + +#~ msgid "The network address (IP) was invalid and therefore not changed." +#~ msgstr "The network address (IP) was invalid and therefore not changed." diff --git a/plugins/network/unittests.py b/plugins/network/unittests.py index c371c2a..8ecfd59 100644 --- a/plugins/network/unittests.py +++ b/plugins/network/unittests.py @@ -27,7 +27,7 @@ from network import CHANGE_IP_DELAY class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_ip_change(self): - '''change of network address''' + '''Change network address.''' ## the time module is necessary for the CHANGE_IP_DELAY import time self.register_auth(self.url + "network") @@ -68,6 +68,8 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_inputs(self): + """Check various input patterns for 'network' plugin. + """ self.register_auth(self.url + "network") self.cmd.go(self.url + "network" + "?redirected=1") self.cmd.notfind("problem") diff --git a/plugins/partition/intl/cryptobox-server-feature-partition.pot b/plugins/partition/intl/cryptobox-server-feature-partition.pot index 6b5113c..7c8703d 100644 --- a/plugins/partition/intl/cryptobox-server-feature-partition.pot +++ b/plugins/partition/intl/cryptobox-server-feature-partition.pot @@ -167,3 +167,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/cs/cryptobox-server-feature-partition.po b/plugins/partition/intl/cs/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/cs/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/cs/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/da/cryptobox-server-feature-partition.po b/plugins/partition/intl/da/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/da/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/da/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/de/cryptobox-server-feature-partition.po b/plugins/partition/intl/de/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/de/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/de/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/en/cryptobox-server-feature-partition.po b/plugins/partition/intl/en/cryptobox-server-feature-partition.po index 18cb333..2ab65c9 100644 --- a/plugins/partition/intl/en/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/en/cryptobox-server-feature-partition.po @@ -1,30 +1,17 @@ -# -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Pootle 0.10.1\n" #: Name msgid "Disk partitioning" msgstr "Disk partitioning" #: Link -msgid "Manage volumes" -msgstr "Manage volumes" +msgid "Partition a disk" +msgstr "Partition a disk" #: Title.Partition -msgid "Volumes creation" -msgstr "Volumes creation" +msgid "Disk partitions" +msgstr "Disk partitions" #: Button.SelectDevice msgid "Manual partitioning" @@ -95,15 +82,15 @@ msgid "Automatically creating a configuration partition." msgstr "Automatically creating a configuration partition." #: Text.RemovalContainers -msgid "The data on these disks will be deleted, if you continue" -msgstr "The data on these disks will be deleted, if you continue" +msgid "These disks will be destroyed, if you continue" +msgstr "These disks will be destroyed, if you continue" #: AdviceMessage.DeviceDataIsLost.Text msgid "" -"If you continue, you will deleted all data on the choosen disk. Please be " +"If you continue, you will destroy all data on the choosen disk. Please be " "VERY careful!" msgstr "" -"If you continue, you will deleted all data on the choosen disk. Please be " +"If you continue, you will destroy all data on the choosen disk. Please be " "VERY careful!" #: SuccessMessage.Partitioned.Title @@ -115,46 +102,46 @@ msgid "The disk was partitioned successfully." msgstr "The disk was partitioned successfully." #: SuccessMessage.EasySetup.Title -msgid "Volume initialization completed" -msgstr "Volume initialization completed" +msgid "Initialization completed" +msgstr "Initialization completed" #: SuccessMessage.EasySetup.Text -msgid "Automatic partitioning was finished successfully." -msgstr "Automatic partitioning was finished successfully." +msgid "Automatic initialization was finished successfully." +msgstr "Automatic initialization was finished successfully." #: WarningMessage.NoDisksAvailable.Title -msgid "No available disks were found!" -msgstr "No available disks were found!" +msgid "No disks found" +msgstr "No disks found" #: WarningMessage.NoDisksAvailable.Text msgid "" -"Please check your cryptobox-server configuration and the connected disks." +"No suitable disks found - please check your configuration and hardware setup." msgstr "" -"Please check your cryptobox-server configuration and the connected disks." +"No suitable disks found - please check your configuration and hardware setup." #: WarningMessage.PartitioningFailed.Title msgid "Partitioning failed" msgstr "Partitioning failed" #: WarningMessage.PartitioningFailed.Text -msgid "The partitioning of this disk failed for some reason - sorry!" -msgstr "The partitioning of this disk failed for some reason - sorry!" +msgid "The partitioning of the device failed for some reason - sorry!" +msgstr "The partitioning of the device failed for some reason - sorry!" #: WarningMessage.FormattingFailed.Title msgid "Formatting failed" msgstr "Formatting failed" #: WarningMessage.FormattingFailed.Text -msgid "The filesystem formatting on this disk failed - sorry!" -msgstr "The filesystem formatting on this disk failed - sorry!" +msgid "The formatting of the filesystems of the device failed - sorry!" +msgstr "The formatting of the filesystems of the device failed - sorry!" #: WarningMessage.DiskIsBusy.Title msgid "This disk is busy" msgstr "This disk is busy" #: WarningMessage.DiskIsBusy.Text -msgid "Please deactivate all volumes of this disk before partitioning." -msgstr "Please deactivate all volumes of this disk before partitioning." +msgid "Please deactivate all containers of this disk before partitioning." +msgstr "Please deactivate all containers of this disk before partitioning." #: WarningMessage.DiskIsBusy.Link.Text msgid "Show all disks" @@ -165,14 +152,96 @@ msgid "Invalid size" msgstr "Invalid size" #: WarningMessage.PartitionTooBig.Text -msgid "The volume size you entered exceeded the available size of the disk." +msgid "The container size you entered exceeded the available size of the disk." msgstr "" -"The volume size you entered exceeded the available size of the disk." +"The container size you entered exceeded the available size of the disk." + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a container is 10 megabytes." +msgstr "The minimum size of a container is 10 megabytes." + +#: WarningMessage.PartitioningFailed.Link.Text +msgid "Show log messages" +msgstr "Show log messages" + +#: Help.Partitioning +msgid "" +"You can split every disk into one ore more parts, which are called " +"'partitions'. This is useful if you want to seperate your data or if you " +"want to encrypt only a part of your disk." +msgstr "" +"You can split every disk into one ore more parts, which are called " +"'partitions'. This is useful if you want to seperate your data or if you " +"want to encrypt only a part of your disk." + +#: Help.SelectDevice +msgid "" +"Choose one of the disks given in the list. Be aware that you lose all data " +"on the partitions of this disk if you confirm this action later." +msgstr "" +"Choose one of the disks given in the list. Be aware that you lose all data " +"on the partitions of this disk if you confirm this action later." + +#: Help.PartMode +msgid "" +"You may choose between 'automatic' and 'manual' partitioning. Automatic " +"partitioning creates only one partition for the whole disk. With manual " +"partition you can split the disk into multiple parts of different size." +msgstr "" +"You may choose between 'automatic' and 'manual' partitioning. Automatic " +"partitioning creates only one partition for the whole disk. With manual " +"partition you can split the disk into multiple parts of different size." + +#: Help.PartitionList +msgid "" +"Choose a size for your partitions and add it to the list by clicking on the " +"corresponding button. You may remove any partition later. Nothing will get " +"written to your disk until you click on the 'write partition table' button. " +"Be very careful as you destroy all data on this disk." +msgstr "" +"Choose a size for your partitions and add it to the list by clicking on the " +"corresponding button. You may remove any partition later. Nothing will get " +"written to your disk until you click on the 'write partition table' button. " +"Be very careful as you destroy all data on this disk." + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "Formatting of at least one volume failed - sorry!" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "Please close all volumes of this disk before partitioning." + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "The volume size you entered exceeded the available size of the disk." #: WarningMessage.PartitionTooSmall.Text msgid "The minimum size of a volume is 10 megabytes." msgstr "The minimum size of a volume is 10 megabytes." -#: WarningMessage.DiskIsBusy.Link.Rel -msgid "disks" -msgstr "disks" +#~ msgid "Manage volumes" +#~ msgstr "Manage volumes" + +#~ msgid "Volumes creation" +#~ msgstr "Volumes creation" + +#~ msgid "The data on these disks will be deleted, if you continue" +#~ msgstr "The data on these disks will be deleted, if you continue" + +#~ msgid "Volume initialization completed" +#~ msgstr "Volume initialization completed" + +#~ msgid "No available disks were found!" +#~ msgstr "No available disks were found!" + +#~ msgid "" +#~ "Please check your cryptobox-server configuration and the connected disks." +#~ msgstr "" +#~ "Please check your cryptobox-server configuration and the connected disks." + +#~ msgid "The filesystem formatting on this disk failed - sorry!" +#~ msgstr "The filesystem formatting on this disk failed - sorry!" + +#~ msgid "disks" +#~ msgstr "disks" diff --git a/plugins/partition/intl/es/cryptobox-server-feature-partition.po b/plugins/partition/intl/es/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/es/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/es/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/fi/cryptobox-server-feature-partition.po b/plugins/partition/intl/fi/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/fi/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/fi/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/fr/cryptobox-server-feature-partition.po b/plugins/partition/intl/fr/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/fr/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/fr/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/hu/cryptobox-server-feature-partition.po b/plugins/partition/intl/hu/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/hu/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/hu/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/it/cryptobox-server-feature-partition.po b/plugins/partition/intl/it/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/it/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/it/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/ja/cryptobox-server-feature-partition.po b/plugins/partition/intl/ja/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/ja/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/ja/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/nl/cryptobox-server-feature-partition.po b/plugins/partition/intl/nl/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/nl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/nl/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/pl/cryptobox-server-feature-partition.po b/plugins/partition/intl/pl/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/pl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/pl/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/pt/cryptobox-server-feature-partition.po b/plugins/partition/intl/pt/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/pt/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/pt/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/ru/cryptobox-server-feature-partition.po b/plugins/partition/intl/ru/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/ru/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/ru/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/sl/cryptobox-server-feature-partition.po b/plugins/partition/intl/sl/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/sl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/sl/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/intl/sv/cryptobox-server-feature-partition.po b/plugins/partition/intl/sv/cryptobox-server-feature-partition.po index 08fb071..2207119 100644 --- a/plugins/partition/intl/sv/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/sv/cryptobox-server-feature-partition.po @@ -168,3 +168,35 @@ msgstr "" #: WarningMessage.PartitioningFailed.Link.Text msgid "Show log messages" msgstr "" + +#: Help.Partitioning +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgstr "" + +#: Help.SelectDevice +msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later." +msgstr "" + +#: Help.PartMode +msgid "You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size." +msgstr "" + +#: Help.PartitionList +msgid "Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk." +msgstr "" + +#: WarningMessage.FormattingFailed.Text +msgid "Formatting of at least one volume failed - sorry!" +msgstr "" + +#: WarningMessage.DiskIsBusy.Text +msgid "Please close all volumes of this disk before partitioning." +msgstr "" + +#: WarningMessage.PartitionTooBig.Text +msgid "The volume size you entered exceeded the available size of the disk." +msgstr "" + +#: WarningMessage.PartitionTooSmall.Text +msgid "The minimum size of a volume is 10 megabytes." +msgstr "" diff --git a/plugins/partition/language.hdf b/plugins/partition/language.hdf index 5379d5e..fcd330f 100644 --- a/plugins/partition/language.hdf +++ b/plugins/partition/language.hdf @@ -29,6 +29,15 @@ Text { RemovalContainers = These disks will be destroyed, if you continue } + +Help { + Partitioning = You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk. + SelectDevice = Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk if you confirm this action later. + PartMode = You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size. + PartitionList = Choose a size for your partitions and add it to the list by clicking on the corresponding button. You may remove any partition later. Nothing will get written to your disk until you click on the 'write partition table' button. Be very careful as you destroy all data on this disk. +} + + AdviceMessage { DeviceDataIsLost { Text = If you continue, you will destroy all data on the choosen disk. Please be VERY careful! @@ -74,18 +83,18 @@ WarningMessage { DiskIsBusy { Title = This disk is busy - Text = Please deactivate all containers of this disk before partitioning. + Text = Please close all volumes of this disk before partitioning. Link.Text = Show all disks Link.Rel = disks } PartitionTooBig { Title = Invalid size - Text = The container size you entered exceeded the available size of the disk. + Text = The volume size you entered exceeded the available size of the disk. } PartitionTooSmall { Title = Invalid size - Text = The minimum size of a container is 10 megabytes. + Text = The minimum size of a volume is 10 megabytes. } } diff --git a/plugins/partition/select_device.cs b/plugins/partition/select_device.cs index 4e14c84..ab226aa 100644 --- a/plugins/partition/select_device.cs +++ b/plugins/partition/select_device.cs @@ -8,6 +8,10 @@ 0 ?> + + + + @@ -20,13 +24,6 @@

- -
@@ -43,5 +40,3 @@ - - diff --git a/plugins/partition/set_partitions.cs b/plugins/partition/set_partitions.cs index 6e80b4d..e4529ca 100644 --- a/plugins/partition/set_partitions.cs +++ b/plugins/partition/set_partitions.cs @@ -9,6 +9,8 @@ + +
@@ -76,7 +78,5 @@

- - diff --git a/plugins/partition/show_format_progress.cs b/plugins/partition/show_format_progress.cs deleted file mode 100644 index 126d37b..0000000 --- a/plugins/partition/show_format_progress.cs +++ /dev/null @@ -1,17 +0,0 @@ - - - - -

- - - -

-

    - -
  • :  -
  • - -
-

- diff --git a/plugins/plugin_manager/intl/en/cryptobox-server-feature-plugin_manager.po b/plugins/plugin_manager/intl/en/cryptobox-server-feature-plugin_manager.po index 0ef7fdf..5b69269 100644 --- a/plugins/plugin_manager/intl/en/cryptobox-server-feature-plugin_manager.po +++ b/plugins/plugin_manager/intl/en/cryptobox-server-feature-plugin_manager.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Plugin Manager" diff --git a/plugins/plugin_manager/plugin_list.cs b/plugins/plugin_manager/plugin_list.cs index 6fbd194..c951c89 100644 --- a/plugins/plugin_manager/plugin_list.cs +++ b/plugins/plugin_manager/plugin_list.cs @@ -116,5 +116,3 @@ each:x = Settings.PluginList ?> - - diff --git a/plugins/plugin_manager/unittests.py b/plugins/plugin_manager/unittests.py index 48163db..caebd79 100644 --- a/plugins/plugin_manager/unittests.py +++ b/plugins/plugin_manager/unittests.py @@ -25,6 +25,8 @@ import cryptobox.web.testclass class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_read_form(self): + """Check if the 'plugin_manager' works. + """ url = self.url + "plugin_manager?weblang=en" self.register_auth(url) self.cmd.go(url) @@ -32,6 +34,9 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_set_options(self): + """Do some various stuff. + """ + #TODO: these 'tests' are really a bit stupid - someone should fix this url = self.url + "plugin_manager" self.register_auth(url) self.cmd.go(url + r"?plugin_name=t/-!") @@ -57,6 +62,8 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_move_up(self): + """Move some plugins up. + """ #TODO: if we want to be perfect, then we should check the change of the rank url = self.url + "plugin_manager" self.register_auth(url) @@ -69,6 +76,8 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_move_down(self): + """Move some plugins down. + """ ## TODO: if we want to be perfect, then we should check the change of the rank url = self.url + "plugin_manager" self.register_auth(url) @@ -79,4 +88,3 @@ class unittests(cryptobox.web.testclass.WebInterfaceTestClass): self.cmd.go(url + r"?plugin_name=disks&action=down") self.cmd.find('Plugin Manager') - diff --git a/plugins/shutdown/form_shutdown.cs b/plugins/shutdown/form_shutdown.cs index 5f80441..2d0fa05 100644 --- a/plugins/shutdown/form_shutdown.cs +++ b/plugins/shutdown/form_shutdown.cs @@ -14,5 +14,3 @@ icon: reboot
- - diff --git a/plugins/shutdown/intl/en/cryptobox-server-feature-shutdown.po b/plugins/shutdown/intl/en/cryptobox-server-feature-shutdown.po index 19bee5f..9619451 100644 --- a/plugins/shutdown/intl/en/cryptobox-server-feature-shutdown.po +++ b/plugins/shutdown/intl/en/cryptobox-server-feature-shutdown.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Shutdown or reboot the computer" @@ -46,8 +34,12 @@ msgid "Shutting down the system" msgstr "Shutting down the system" #: SuccessMessage.Shutdown.Text -msgid "If the computer does not turn off itself within a minute, then you should plug it off manually." -msgstr "If the computer does not turn off itself within a minute, then you should plug it off manually." +msgid "" +"If the computer does not turn off itself within a minute, then you should " +"plug it off manually." +msgstr "" +"If the computer does not turn off itself within a minute, then you should " +"plug it off manually." #: SuccessMessage.Reboot.Title msgid "Rebooting the system" diff --git a/plugins/system_preferences/intl/en/cryptobox-server-feature-system_preferences.po b/plugins/system_preferences/intl/en/cryptobox-server-feature-system_preferences.po index adf2aeb..028be13 100644 --- a/plugins/system_preferences/intl/en/cryptobox-server-feature-system_preferences.po +++ b/plugins/system_preferences/intl/en/cryptobox-server-feature-system_preferences.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "System preferences" diff --git a/plugins/user_manager/intl/en/cryptobox-server-feature-user_manager.po b/plugins/user_manager/intl/en/cryptobox-server-feature-user_manager.po index 3f08b26..e76dacb 100644 --- a/plugins/user_manager/intl/en/cryptobox-server-feature-user_manager.po +++ b/plugins/user_manager/intl/en/cryptobox-server-feature-user_manager.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "User Manager" @@ -91,8 +79,8 @@ msgstr "The choosen username does already exist. Please choose another one." #: WarningMessage.NeverRemoveReservedUser.Title msgid "Reserved user" -msgstr "" +msgstr "Reserved user" #: WarningMessage.NeverRemoveReservedUser.Text msgid "You may not remove a reserved user. Sorry!" -msgstr "" +msgstr "You may not remove a reserved user. Sorry!" diff --git a/plugins/user_manager/user_list.cs b/plugins/user_manager/user_list.cs index 4a7f3f4..55d0d04 100644 --- a/plugins/user_manager/user_list.cs +++ b/plugins/user_manager/user_list.cs @@ -72,5 +72,3 @@
- - diff --git a/plugins/volume_automount/intl/en/cryptobox-server-feature-volume_automount.po b/plugins/volume_automount/intl/en/cryptobox-server-feature-volume_automount.po index 7379d47..74aa50a 100644 --- a/plugins/volume_automount/intl/en/cryptobox-server-feature-volume_automount.po +++ b/plugins/volume_automount/intl/en/cryptobox-server-feature-volume_automount.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Automatic activation" @@ -59,45 +47,40 @@ msgstr "Automatic activation is not possible for encrypted volumes." #: Name msgid "Automatic opening" -msgstr "" +msgstr "Automatic opening" #: Link msgid "AutoOpen" -msgstr "" +msgstr "AutoOpen" #: Title.AutoMountVolume msgid "Open during startup" -msgstr "" +msgstr "Open during startup" #: Button.AutoMountOn msgid "Enable automatic opening" -msgstr "" +msgstr "Enable automatic opening" #: Button.AutoMountOff msgid "Disable automatic opening" -msgstr "" +msgstr "Disable automatic opening" #: Text.AutoIsOn -#, fuzzy msgid "Currently automatic opening is enabled" -msgstr "Currently automatic activation is enabled" +msgstr "Currently automatic opening is enabled" #: Text.AutoIsOff -#, fuzzy msgid "Currently automatic opening is disabled" -msgstr "Currently automatic activation is disabled" +msgstr "Currently automatic opening is disabled" #: SuccessMessage.AutoMountEnabled.Text -#, fuzzy msgid "This volume will get opened during startup" -msgstr "This volume will get activated during startup" +msgstr "This volume will get opened during startup" #: SuccessMessage.AutoMountDisabled.Text -#, fuzzy msgid "This volume will not get opened during startup" -msgstr "This volume will not get activated during startup" +msgstr "This volume will not get opened during startup" #: AdviceMessage.NoAutoMountForEncryptedVolumes.Text -#, fuzzy msgid "Automatic opening is not possible for encrypted volumes." -msgstr "Automatic activation is not possible for encrypted volumes." +msgstr "Automatic opening is not possible for encrypted volumes." diff --git a/plugins/volume_automount/language.hdf b/plugins/volume_automount/language.hdf index 14efcb4..98745a4 100644 --- a/plugins/volume_automount/language.hdf +++ b/plugins/volume_automount/language.hdf @@ -32,7 +32,7 @@ SuccessMessage { AdviceMessage { NoAutoMountForEncryptedVolumes { - Text = Automatic opening is not possible for encrypted volumes. + Text = Automatic activation is not possible for encrypted volumes. } } diff --git a/plugins/volume_automount/volume_automount.cs b/plugins/volume_automount/volume_automount.cs index 9bb26e1..9e55832 100644 --- a/plugins/volume_automount/volume_automount.cs +++ b/plugins/volume_automount/volume_automount.cs @@ -21,5 +21,3 @@ - - diff --git a/plugins/volume_chpasswd/intl/en/cryptobox-server-feature-volume_chpasswd.po b/plugins/volume_chpasswd/intl/en/cryptobox-server-feature-volume_chpasswd.po index 34357de..d7e19bd 100644 --- a/plugins/volume_chpasswd/intl/en/cryptobox-server-feature-volume_chpasswd.po +++ b/plugins/volume_chpasswd/intl/en/cryptobox-server-feature-volume_chpasswd.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Change volume password" @@ -34,8 +22,14 @@ msgid "Format volume" msgstr "Format volume" #: AdviceMessage.FormatForEncryptionSupport.Text -msgid "This volume is not encrypted. If you want to turn on encryption, then you have to format the volume. Beware: this will destroy all data of this container." -msgstr "This volume is not encrypted. If you want to turn on encryption, then you have to format the volume. Beware: this will destroy all data of this container." +msgid "" +"This volume is not encrypted. If you want to turn on encryption, then you " +"have to format the volume. Beware: this will destroy all data of this " +"container." +msgstr "" +"This volume is not encrypted. If you want to turn on encryption, then you " +"have to format the volume. Beware: this will destroy all data of this " +"container." #: AdviceMessage.FormatForEncryptionSupport.Link.Text msgid "Format this volume" @@ -58,9 +52,12 @@ msgid "The password of this volume could not be changed - sorry!" msgstr "The password of this volume could not be changed - sorry!" #: AdviceMessage.FormatForEncryptionSupport.Text -#, fuzzy -msgid "This volume is not encrypted. If you want to turn on encryption, then you have to format the volume. Beware: this will destroy all data of this volume." -msgstr "This volume is not encrypted. If you want to turn on encryption, then you have to format the volume. Beware: this will destroy all data of this container." +msgid "" +"This volume is not encrypted. If you want to turn on encryption, then you " +"have to format the volume. Beware: this will destroy all data of this volume." +msgstr "" +"This volume is not encrypted. If you want to turn on encryption, then you " +"have to format the volume. Beware: this will destroy all data of this volume." #~ msgid "volume_format_fs" #~ msgstr "volume_format_fs" diff --git a/plugins/volume_chpasswd/volume_chpasswd.cs b/plugins/volume_chpasswd/volume_chpasswd.cs index bdd8823..23759f6 100644 --- a/plugins/volume_chpasswd/volume_chpasswd.cs +++ b/plugins/volume_chpasswd/volume_chpasswd.cs @@ -33,5 +33,3 @@ - - diff --git a/plugins/volume_details/intl/en/cryptobox-server-feature-volume_details.po b/plugins/volume_details/intl/en/cryptobox-server-feature-volume_details.po index 9e9f68f..3a5c796 100644 --- a/plugins/volume_details/intl/en/cryptobox-server-feature-volume_details.po +++ b/plugins/volume_details/intl/en/cryptobox-server-feature-volume_details.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Technical details of a volume" @@ -67,8 +55,8 @@ msgstr "Used space of volume" #: Text.StatusActive msgid "open" -msgstr "" +msgstr "open" #: Text.StatusPassive msgid "closed" -msgstr "" +msgstr "closed" diff --git a/plugins/volume_format_fs/intl/cryptobox-server-feature-volume_format_fs.pot b/plugins/volume_format_fs/intl/cryptobox-server-feature-volume_format_fs.pot index f9155c6..e39569b 100644 --- a/plugins/volume_format_fs/intl/cryptobox-server-feature-volume_format_fs.pot +++ b/plugins/volume_format_fs/intl/cryptobox-server-feature-volume_format_fs.pot @@ -95,3 +95,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/cs/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/cs/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/cs/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/cs/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/da/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/da/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/da/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/da/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/de/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/de/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/de/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/de/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/en/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/en/cryptobox-server-feature-volume_format_fs.po index 99caa54..ad0b443 100644 --- a/plugins/volume_format_fs/intl/en/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/en/cryptobox-server-feature-volume_format_fs.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Create filesystems" @@ -82,20 +70,88 @@ msgid "Formatting failed" msgstr "Formatting failed" #: WarningMessage.FormatFailed.Text -msgid "Formatting of the selected filesystem failed for unknown reasons - sorry!" -msgstr "Formatting of the selected filesystem failed for unknown reasons - sorry!" +msgid "" +"Formatting of the selected filesystem failed for unknown reasons - sorry!" +msgstr "" +"Formatting of the selected filesystem failed for unknown reasons - sorry!" #: SuccessMessage.FormatSuccess.Title msgid "Formatting is running" -msgstr "" +msgstr "Formatting is running" #: SuccessMessage.FormatSuccess.Text -msgid "The selected filesystem is being formatted in the background. This may take some time (depending on the size of your disk)." +msgid "" +"The selected filesystem is being formatted in the background. This may take " +"some time (depending on the size of your disk)." msgstr "" +"The selected filesystem is being formatted in the background. This may take " +"some time (depending on the size of your disk)." #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" +msgstr "View log messages" + +#: Help.Format +msgid "" +"Usually you will only have to format a volume if you want to turn encryption " +"on or off. Be aware, that you will destroy all data of this volume." msgstr "" +"Usually you will only have to format a volume if you want to turn encryption " +"on or off. Be aware, that you will destroy all data of this volume." + +#: Help.Filesystem +msgid "" +"Use a filesystem of your choice. The linux filesystem (ext3) should be a " +"good choice. The windows filesystem (Fat32) is only useful, if you plan to " +"connect your harddisk directly to a computer running the windows operating " +"system." +msgstr "" +"Use a filesystem of your choice. The linux filesystem (ext3) should be a " +"good choice. The windows filesystem (Fat32) is only useful, if you plan to " +"connect your harddisk directly to a computer running the windows operating " +"system." + +#: Help.Encryption +msgid "" +"Enable encryption if you want to keep your data private. You have to enter " +"the password to open a encrypted container. Be aware that your encrypted " +"data is accessible for your local network. Close it, whenever you do not " +"need it anymore." +msgstr "" +"Enable encryption if you want to keep your data private. You have to enter " +"the password to open a encrypted container. Be aware that your encrypted " +"data is accessible for your local network. Close it, whenever you do not " +"need it anymore." + +#: Help.Password +msgid "" +"Please choose a very good password consisting of letters, digits and special " +"characters. There is no minimal length required, but you should not use less " +"than ten characters. Twenty or more are recommended." +msgstr "" +"Please choose a very good password consisting of letters, digits and special " +"characters. There is no minimal length required, but you should not use less " +"than ten characters. Twenty or more are recommended." + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "You must close this volume before you may initialize it." + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "Close volume now" + +#: Help.Encryption +msgid "" +"Enable encryption if you want to keep your data private. You have to enter " +"the password to open an encrypted container. Be aware that your encrypted " +"data is accessible for your local network. Close it, whenever you do not " +"need it anymore." +msgstr "" +"Enable encryption if you want to keep your data private. You have to enter " +"the password to open an encrypted container. Be aware that your encrypted " +"data is accessible for your local network. Close it, whenever you do not " +"need it anymore." #~ msgid "action" #~ msgstr "action" diff --git a/plugins/volume_format_fs/intl/es/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/es/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/es/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/es/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/fi/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/fi/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/fi/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/fi/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/fr/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/fr/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/fr/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/fr/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/hu/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/hu/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/hu/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/hu/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/it/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/it/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/it/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/it/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/ja/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/ja/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/ja/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/ja/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/nl/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/nl/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/nl/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/nl/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/pl/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/pl/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/pl/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/pl/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/pt/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/pt/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/pt/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/pt/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/ru/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/ru/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/ru/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/ru/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/sl/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/sl/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/sl/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/sl/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/intl/sv/cryptobox-server-feature-volume_format_fs.po b/plugins/volume_format_fs/intl/sv/cryptobox-server-feature-volume_format_fs.po index 41ce84f..6295b89 100644 --- a/plugins/volume_format_fs/intl/sv/cryptobox-server-feature-volume_format_fs.po +++ b/plugins/volume_format_fs/intl/sv/cryptobox-server-feature-volume_format_fs.po @@ -96,3 +96,31 @@ msgstr "" #: WarningMessage.FormatFailed.Link.Text msgid "View log messages" msgstr "" + +#: Help.Format +msgid "Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume." +msgstr "" + +#: Help.Filesystem +msgid "Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system." +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open a encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" + +#: Help.Password +msgid "Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Text +msgid "You must close this volume before you may initialize it." +msgstr "" + +#: AdviceMessage.UnmountBeforeInit.Link.Text +msgid "Close volume now" +msgstr "" + +#: Help.Encryption +msgid "Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore." +msgstr "" diff --git a/plugins/volume_format_fs/language.hdf b/plugins/volume_format_fs/language.hdf index ef3c2c6..af3af65 100644 --- a/plugins/volume_format_fs/language.hdf +++ b/plugins/volume_format_fs/language.hdf @@ -13,14 +13,23 @@ Text { No = No } + +Help { + Format = Usually you will only have to format a volume if you want to turn encryption on or off. Be aware, that you will destroy all data of this volume. + Filesystem = Use a filesystem of your choice. The linux filesystem (ext3) should be a good choice. The windows filesystem (Fat32) is only useful, if you plan to connect your harddisk directly to a computer running the windows operating system. + Encryption = Enable encryption if you want to keep your data private. You have to enter the password to open an encrypted container. Be aware that your encrypted data is accessible for your local network. Close it, whenever you do not need it anymore. + Password = Please choose a very good password consisting of letters, digits and special characters. There is no minimal length required, but you should not use less than ten characters. Twenty or more are recommended. +} + + AdviceMessage { FormatWarning { Text = All data of the selected filesystem will get lost! } UnmountBeforeInit { - Text = You must deactivate this volume before you may initialize it. - Link.Text = Deactive volume now + Text = You must close this volume before you may initialize it. + Link.Text = Close volume now Link.Rel = volume_mount Link.Attr1.name = action Link.Attr1.value = umount diff --git a/plugins/volume_format_fs/unittests.py b/plugins/volume_format_fs/unittests.py index c58738b..4746375 100644 --- a/plugins/volume_format_fs/unittests.py +++ b/plugins/volume_format_fs/unittests.py @@ -24,9 +24,71 @@ import cryptobox.web.testclass class unittests(cryptobox.web.testclass.WebInterfaceTestClass): + def test_read_form(self): + """Simply check if the plugin works. + """ url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device self.register_auth(url) self.cmd.go(url) self.cmd.find('Initializing filesystem') + + def test_invalid_actions(self): + """Try to issue some invalid orders. + """ + url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + ## try invalid filesystem type + self.cmd.go(url + "&fs_type=foo") + self.cmd.find('Initializing filesystem') + ## try invalid container type + self.cmd.go(url + "&container_type=foo") + self.cmd.find('Initializing filesystem') + ## missing confirmation + self.cmd.go(url + "&store=step1") + self.cmd.find('Confirmation missing') + ## call luks form + self.cmd.go(url + "&store=step1&confirm=1&container_type=luks") + self.cmd.find('name="crypto_password2"') + ## try 'step2' with plain container type + self.cmd.go(url + "&store=step2&confirm=1&container_type=plain") + self.cmd.find('Initializing filesystem') + ## try invalid 'store' + self.cmd.go(url + "&store=foo") + self.cmd.find('Initializing filesystem') + ## try without password + self.cmd.go(url + "&store=step2&container_type=luks&fs_type=windows" \ + + "&crypto_password=&crypto_password2=foo") + self.cmd.find('Missing password') + ## try with different passwords + self.cmd.go(url + "&store=step2&container_type=luks&fs_type=windows" \ + + "&crypto_password=bar&crypto_password2=foo") + self.cmd.find('Different passwords') + + + def test_format_open_device(self): + """Try to format an open device. + """ + url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + ## mount device + self.cmd.go(self.url + "volume_mount?weblang=en&device=%2Fdev%2F" \ + + self.device + "&action=mount_plain") + self.cmd.find('Data.Status.Plugins.volume_mount=active') + ## try plain device + self.cmd.go(url + "&store=step1&confirm=1&container_type=plain&fs_type=linux") + self.cmd.find('This action is not available while the volume is active.') + ## try luks device + self.cmd.go(url + "&store=step2&container_type=luks&fs_type=windows" \ + + "&crypto_password=foo&crypto_password2=foo") + self.cmd.find('This action is not available while the volume is active.') + self.cmd.go(self.url + "volume_mount?weblang=en&device=%2Fdev%2F" \ + + self.device + "&action=umount") + + + def test_format_device(self): + """Formatting of a device was done in 'volume_mount' plugin tests. + """ + pass + diff --git a/plugins/volume_format_fs/volume_format.cs b/plugins/volume_format_fs/volume_format.cs index 0578974..cad2fc5 100644 --- a/plugins/volume_format_fs/volume_format.cs +++ b/plugins/volume_format_fs/volume_format.cs @@ -1,9 +1,11 @@ - -

+ + + + @@ -32,5 +34,3 @@ - - diff --git a/plugins/volume_format_fs/volume_format_fs.py b/plugins/volume_format_fs/volume_format_fs.py index 584f242..9cce800 100644 --- a/plugins/volume_format_fs/volume_format_fs.py +++ b/plugins/volume_format_fs/volume_format_fs.py @@ -41,8 +41,12 @@ class volume_format_fs(cryptobox.plugins.base.CryptoBoxPlugin): def do_action(self, store=None, fs_type="windows", container_type="luks", crypto_password=None, crypto_password2=None, confirm=None): if not fs_type in FSTYPES.keys(): self.cbox.log.info("invalid filesystem type choosen: %s" % str(fs_type)) - return "format_volume" + return "volume_format" self.hdf[self.hdf_prefix + "fs_type"] = fs_type + if not container_type in ['plain', 'luks']: + self.cbox.log.info("invalid container type type choosen: %s" % \ + str(container_type)) + return "volume_format" self.hdf[self.hdf_prefix + "container_type"] = container_type for t in FSTYPES.keys(): self.hdf[self.hdf_prefix + "fs_types." + t] = t diff --git a/plugins/volume_format_fs/volume_format_luks.cs b/plugins/volume_format_fs/volume_format_luks.cs index 90f1c12..b916384 100644 --- a/plugins/volume_format_fs/volume_format_luks.cs +++ b/plugins/volume_format_fs/volume_format_luks.cs @@ -4,6 +4,8 @@ + + @@ -27,5 +29,3 @@ - - diff --git a/plugins/volume_mount/intl/cryptobox-server-feature-volume_mount.pot b/plugins/volume_mount/intl/cryptobox-server-feature-volume_mount.pot index 928e7bf..f861f91 100644 --- a/plugins/volume_mount/intl/cryptobox-server-feature-volume_mount.pot +++ b/plugins/volume_mount/intl/cryptobox-server-feature-volume_mount.pot @@ -143,3 +143,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/cs/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/cs/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/cs/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/cs/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/da/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/da/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/da/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/da/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/de/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/de/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/de/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/de/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/en/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/en/cryptobox-server-feature-volume_mount.po index 726a9eb..c4af091 100644 --- a/plugins/volume_mount/intl/en/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/en/cryptobox-server-feature-volume_mount.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:03+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Mount and umount volumes" @@ -62,8 +50,10 @@ msgid "Unknown format" msgstr "Unknown format" #: WarningMessage.InvalidContainerType.Text -msgid "The type of this volume ist not known. Maybe you want to initialize itfirst?" -msgstr "The type of this volume ist not known. Maybe you want to initialize itfirst?" +msgid "" +"The type of this volume ist not known. Maybe you want to initialize itfirst?" +msgstr "" +"The type of this volume ist not known. Maybe you want to initialize itfirst?" #: WarningMessage.InvalidContainerType.Link.Text msgid "Format volume" @@ -74,8 +64,12 @@ msgid "Deactivation failed" msgstr "Deactivation failed" #: WarningMessage.UmountFailed.Text -msgid "The volume could not be deactivated. Probably some files are still in use. In case of emergency just shut down the CryptoBox!" -msgstr "The volume could not be deactivated. Probably some files are still in use. In case of emergency just shut down the CryptoBox!" +msgid "" +"The volume could not be deactivated. Probably some files are still in use. " +"In case of emergency just shut down the CryptoBox!" +msgstr "" +"The volume could not be deactivated. Probably some files are still in use. " +"In case of emergency just shut down the CryptoBox!" #: WarningMessage.IsAlreadyMounted.Title msgid "Already active" @@ -95,57 +89,93 @@ msgstr "The volume is currently not active." #: Title.Mount msgid "Open volume" -msgstr "" +msgstr "Open volume" #: Title.Umount msgid "Turn on the volume" -msgstr "" +msgstr "Turn on the volume" #: Button.Umount msgid "Close volume" -msgstr "" +msgstr "Close volume" #: SuccessMessage.MountDone.Title msgid "Volume opened" -msgstr "" +msgstr "Volume opened" #: SuccessMessage.MountDone.Text msgid "The content of this volume is available now." -msgstr "" +msgstr "The content of this volume is available now." #: SuccessMessage.UmountDone.Title msgid "Volume closed" -msgstr "" +msgstr "Volume closed" #: SuccessMessage.UmountDone.Text msgid "The content of this volume is protected from access now." -msgstr "" +msgstr "The content of this volume is protected from access now." #: WarningMessage.UmountFailed.Title msgid "Closing failed" -msgstr "" +msgstr "Closing failed" #: WarningMessage.UmountFailed.Text msgid "The volume could not be closed. Probably some files are still in use." -msgstr "" +msgstr "The volume could not be closed. Probably some files are still in use." #: WarningMessage.IsAlreadyMounted.Title msgid "Already open" -msgstr "" +msgstr "Already open" #: WarningMessage.IsAlreadyMounted.Text -#, fuzzy msgid "The volume is already open." -msgstr "The volume is already active." +msgstr "The volume is already open." #: WarningMessage.IsNotMounted.Title msgid "Already closed" -msgstr "" +msgstr "Already closed" #: WarningMessage.IsNotMounted.Text -#, fuzzy msgid "The volume is already closed." -msgstr "The volume is already active." +msgstr "The volume is already closed." + +#: Title.Mount +msgid "Opening a volume" +msgstr "Opening a volume" + +#: Title.Umount +msgid "Closing a volume" +msgstr "Closing a volume" + +#: Help.Open +msgid "" +"The volume is currently closed. If you open the volume, then you will be " +"able to access the data of this volume. Just search in your network " +"environment for the server and browse through its shares." +msgstr "" +"The volume is currently closed. If you open the volume, then you will be " +"able to access the data of this volume. Just search in your network " +"environment for the server and browse through its shares." + +#: Help.Close +msgid "" +"Currently the volume is open. All files are accessible for everyone who has " +"access to your local network. Just search in your network environment for " +"the server and browse through its shares. Before you close the volume you " +"should quit all programs with open files on it." +msgstr "" +"Currently the volume is open. All files are accessible for everyone who has " +"access to your local network. Just search in your network environment for " +"the server and browse through its shares. Before you close the volume you " +"should quit all programs with open files on it." + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "Opening failed" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "The volume could not be opened for some reason. Sorry!" #~ msgid "volume_format_fs" #~ msgstr "volume_format_fs" diff --git a/plugins/volume_mount/intl/es/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/es/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/es/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/es/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/fi/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/fi/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/fi/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/fi/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/fr/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/fr/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/fr/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/fr/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/hu/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/hu/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/hu/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/hu/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/it/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/it/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/it/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/it/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/ja/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/ja/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/ja/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/ja/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/nl/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/nl/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/nl/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/nl/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/pl/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/pl/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/pl/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/pl/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/pt/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/pt/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/pt/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/pt/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/ru/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/ru/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/ru/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/ru/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/sl/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/sl/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/sl/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/sl/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/intl/sv/cryptobox-server-feature-volume_mount.po b/plugins/volume_mount/intl/sv/cryptobox-server-feature-volume_mount.po index 3592f75..5eaa2f7 100644 --- a/plugins/volume_mount/intl/sv/cryptobox-server-feature-volume_mount.po +++ b/plugins/volume_mount/intl/sv/cryptobox-server-feature-volume_mount.po @@ -144,3 +144,27 @@ msgstr "" #: WarningMessage.IsNotMounted.Text msgid "The volume is already closed." msgstr "" + +#: Title.Mount +msgid "Opening a volume" +msgstr "" + +#: Title.Umount +msgid "Closing a volume" +msgstr "" + +#: Help.Open +msgid "The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares." +msgstr "" + +#: Help.Close +msgid "Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it." +msgstr "" + +#: WarningMessage.MountFailed.Title +msgid "Opening failed" +msgstr "" + +#: WarningMessage.MountFailed.Text +msgid "The volume could not be opened for some reason. Sorry!" +msgstr "" diff --git a/plugins/volume_mount/language.hdf b/plugins/volume_mount/language.hdf index 57ff300..e379763 100644 --- a/plugins/volume_mount/language.hdf +++ b/plugins/volume_mount/language.hdf @@ -14,6 +14,12 @@ Button { } +Help { + Open = The volume is currently closed. If you open the volume, then you will be able to access the data of this volume. Just search in your network environment for the server and browse through its shares. + Close = Currently the volume is open. All files are accessible for everyone who has access to your local network. Just search in your network environment for the server and browse through its shares. Before you close the volume you should quit all programs with open files on it. +} + + SuccessMessage { MountDone { Title = Volume opened @@ -30,7 +36,7 @@ SuccessMessage { WarningMessage { MountFailed { Title = Opening failed - Text = The volume could not be activated for some reason. Sorry! + Text = The volume could not be opened for some reason. Sorry! } MountCryptoFailed { diff --git a/plugins/volume_mount/unittests.py b/plugins/volume_mount/unittests.py index 8fdd1b8..16747ee 100644 --- a/plugins/volume_mount/unittests.py +++ b/plugins/volume_mount/unittests.py @@ -21,16 +21,142 @@ __revision__ = "$Id" import cryptobox.web.testclass +import twill class unittests(cryptobox.web.testclass.WebInterfaceTestClass): + def test_read_form(self): + """Simply check if the plugin works + """ url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device self.register_auth(url) - ## first: umount if necessary - self.cmd.go(url + "&action=umount") - ## now we can start self.cmd.go(url) - #TODO: make sure, that device is closed before self.cmd.find('Open volume') + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + + + def test_mount(self): + """Do all variations of mount/umount actions. + """ + url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + ## we may not split these tests into two functions, as the order + ## is important (we must leave a clean plain volume behind) + self.__do_tests_with_luks() + self.__do_tests_with_plain() + + + def __do_tests_with_luks(self): + """Some tests with a luks partition. + """ + url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device + self.__format_luks() + ## mount the volume + self.cmd.go(url) + self.cmd.find('Open volume') + self.cmd.formvalue("mount", "pw", "foo") + self.cmd.submit() + self.cmd.find('Volume opened') + self.cmd.find('Data.Status.Plugins.volume_mount=active') + ## try to mount active volume + self.cmd.go(url + "&action=mount_luks&pw=foo") + self.cmd.find('The volume is already open.') + ## close the volume + self.cmd.submit() + self.cmd.find('Volume closed') + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + ## try plain instead of luks + self.cmd.go(url + "&action=mount_plain") + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + self.cmd.find('Unknown format') + ## no password supplied + self.cmd.go(url + "&action=mount_luks") + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + self.cmd.find('Missing password') + ## wrong password supplied + self.cmd.go(url + "&action=mount_luks&pw=bar") + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + self.cmd.find('Maybe you entered the wrong password?') + + + def __do_tests_with_plain(self): + """Some tests with a plain partition. + """ + url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device + self.__format_plain() + ## open plain volume + self.cmd.go(url) + self.cmd.find('Open volume') + self.cmd.submit() + self.cmd.find('Volume opened') + self.cmd.find('Data.Status.Plugins.volume_mount=active') + ## try to mount active volume + self.cmd.go(url + "&action=mount_plain") + self.cmd.find('The volume is already open.') + ## umount + self.cmd.submit() + self.cmd.find('Volume closed') + self.cmd.find('Data.Status.Plugins.volume_mount=passive') + ## try to umount closed volume + self.cmd.go(url + "&action=umount") + self.cmd.find('The volume is already closed.') + + + def __format_luks(self): + """Format a luks partition. + """ + url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url) + self.cmd.find('select name="fs_type"') + self.cmd.formvalue("set_type", "fs_type", "linux") + self.cmd.formvalue("set_type", "container_type", "luks") + self.cmd.formvalue("set_type", "confirm", "1") + self.cmd.submit() + self.cmd.find('name="crypto_password"') + self.cmd.formvalue("set_luks", "crypto_password", "foo") + self.cmd.formvalue("set_luks", "crypto_password2", "foo") + self.cmd.submit() + self.cmd.find('Formatting is running') + self.__wait_until_ready() + + + def __format_plain(self): + """Format a plaintext partition. + """ + url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url) + self.cmd.find('select name="fs_type"') + self.cmd.formvalue("set_type", "fs_type", "windows") + self.cmd.formvalue("set_type", "container_type", "plain") + self.cmd.formvalue("set_type", "confirm", "1") + self.cmd.submit() + self.cmd.find('Formatting is running') + self.__wait_until_ready() + + + def __wait_until_ready(self): + """Wait until the device is ready again. + """ + import time + finish_time = time.time() + 120 + while self.__is_device_busy(): + if (time.time() > finish_time): + self.fail("timeout for plain formatting expired") + time.sleep(5) + + + def __is_device_busy(self): + """Check if the device is busy. + """ + url = self.url + "volume_format_fs?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url) + try: + self.cmd.find("Disk is busy") + return True + except twill.errors.TwillAssertionError: + return False diff --git a/plugins/volume_mount/volume_mount.cs b/plugins/volume_mount/volume_mount.cs index b898ddf..fe15c06 100644 --- a/plugins/volume_mount/volume_mount.cs +++ b/plugins/volume_mount/volume_mount.cs @@ -2,6 +2,8 @@ + +

@@ -16,5 +18,3 @@

- - diff --git a/plugins/volume_mount/volume_mount.py b/plugins/volume_mount/volume_mount.py index b69ca17..fc02a96 100644 --- a/plugins/volume_mount/volume_mount.py +++ b/plugins/volume_mount/volume_mount.py @@ -84,6 +84,10 @@ class volume_mount(cryptobox.plugins.base.CryptoBoxPlugin): def __do_mount_luks(self, pw): + if self.container.get_type() != cbxContainer.CONTAINERTYPES["luks"]: + ## not a luks container - fail silently + self.cbox.log.info("plugin 'volume_mount' - invalid container type") + return "volume_status" if self.container.is_mounted(): self.hdf["Data.Warning"] = "Plugins.volume_mount.IsAlreadyMounted" self.cbox.log.info("the device (%s) is already mounted" % self.device) @@ -92,10 +96,6 @@ class volume_mount(cryptobox.plugins.base.CryptoBoxPlugin): self.hdf["Data.Warning"] = "EmptyPassword" self.cbox.log.info("no password was supplied for mounting of device: '%s'" % self.device) return "volume_status" - if self.container.get_type() != cbxContainer.CONTAINERTYPES["luks"]: - ## not a luks container - fail silently - self.cbox.log.info("plugin 'volume_mount' - invalid container type") - return "volume_status" try: self.container.mount(pw) except CBMountError, err_msg: diff --git a/plugins/volume_mount/volume_umount.cs b/plugins/volume_mount/volume_umount.cs index 2a365ac..3d51c34 100644 --- a/plugins/volume_mount/volume_umount.cs +++ b/plugins/volume_mount/volume_umount.cs @@ -2,11 +2,11 @@ + +

- - diff --git a/plugins/volume_props/intl/en/cryptobox-server-feature-volume_props.po b/plugins/volume_props/intl/en/cryptobox-server-feature-volume_props.po index 2441009..2491d60 100644 --- a/plugins/volume_props/intl/en/cryptobox-server-feature-volume_props.po +++ b/plugins/volume_props/intl/en/cryptobox-server-feature-volume_props.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Volume properties" diff --git a/plugins/volume_rename/intl/cryptobox-server-feature-volume_rename.pot b/plugins/volume_rename/intl/cryptobox-server-feature-volume_rename.pot index 1116748..6d678d5 100644 --- a/plugins/volume_rename/intl/cryptobox-server-feature-volume_rename.pot +++ b/plugins/volume_rename/intl/cryptobox-server-feature-volume_rename.pot @@ -79,3 +79,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/cs/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/cs/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/cs/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/cs/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/da/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/da/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/da/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/da/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/de/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/de/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/de/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/de/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/en/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/en/cryptobox-server-feature-volume_rename.po index 0adca79..de3c9eb 100644 --- a/plugins/volume_rename/intl/en/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/en/cryptobox-server-feature-volume_rename.po @@ -1,17 +1,5 @@ -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CryptoBox-Server 0.3\n" -"Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-11-28 05:04+0100\n" -"PO-Revision-Date: 2006-11-29 19:31+0100\n" -"Last-Translator: Lars Kruse \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Translate Toolkit 0.10.1\n" #: Name msgid "Rename volume" @@ -62,8 +50,12 @@ msgid "The supplied new name of the container was invalid. Please try again!" msgstr "The supplied new name of the container was invalid. Please try again!" #: WarningMessage.SetVolumeNameFailed.Text -msgid "Could not change the name of the container. Take a look at the log files for details." -msgstr "Could not change the name of the container. Take a look at the log files for details." +msgid "" +"Could not change the name of the container. Take a look at the log files for " +"details." +msgstr "" +"Could not change the name of the container. Take a look at the log files for " +"details." #: WarningMessage.VolumeNameIsInUse.Title msgid "Could not change volume name" @@ -74,14 +66,32 @@ msgid "The new name is already in use by another volume." msgstr "The new name is already in use by another volume." #: AdviceMessage.NoRenameIfActive.Text -#, fuzzy msgid "You can not rename a volume while it is open." -msgstr "You can not rename a volume while it is active." +msgstr "You can not rename a volume while it is open." #: WarningMessage.NoRenameIfActive.Text -#, fuzzy msgid "You may not rename a volume while it is open." -msgstr "You may not rename a volume while it is active." +msgstr "You may not rename a volume while it is open." + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "Close volume now" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "Changing of volume's name failed" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "The supplied new name of the volume was invalid. Please try again!" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "" +"Could not change the name of the volume. Take a look at the log files for " +"details." +msgstr "" +"Could not change the name of the volume. Take a look at the log files for " +"details." #~ msgid "action" #~ msgstr "action" diff --git a/plugins/volume_rename/intl/es/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/es/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/es/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/es/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/fi/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/fi/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/fi/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/fi/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/fr/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/fr/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/fr/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/fr/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/hu/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/hu/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/hu/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/hu/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/it/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/it/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/it/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/it/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/ja/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/ja/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/ja/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/ja/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/nl/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/nl/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/nl/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/nl/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/pl/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/pl/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/pl/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/pl/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/pt/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/pt/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/pt/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/pt/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/ru/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/ru/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/ru/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/ru/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/sl/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/sl/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/sl/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/sl/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/intl/sv/cryptobox-server-feature-volume_rename.po b/plugins/volume_rename/intl/sv/cryptobox-server-feature-volume_rename.po index 38f9c2c..d334bc0 100644 --- a/plugins/volume_rename/intl/sv/cryptobox-server-feature-volume_rename.po +++ b/plugins/volume_rename/intl/sv/cryptobox-server-feature-volume_rename.po @@ -80,3 +80,19 @@ msgstr "" #: WarningMessage.NoRenameIfActive.Text msgid "You may not rename a volume while it is open." msgstr "" + +#: AdviceMessage.NoRenameIfActive.Link.Text +msgid "Close volume now" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Title +msgid "Changing of volume's name failed" +msgstr "" + +#: WarningMessage.InvalidVolumeName.Text +msgid "The supplied new name of the volume was invalid. Please try again!" +msgstr "" + +#: WarningMessage.SetVolumeNameFailed.Text +msgid "Could not change the name of the volume. Take a look at the log files for details." +msgstr "" diff --git a/plugins/volume_rename/language.hdf b/plugins/volume_rename/language.hdf index 9ce4e5d..0c0fe6d 100644 --- a/plugins/volume_rename/language.hdf +++ b/plugins/volume_rename/language.hdf @@ -14,7 +14,7 @@ Button { AdviceMessage { NoRenameIfActive { Text = You can not rename a volume while it is open. - Link.Text = Deactivate volume now + Link.Text = Close volume now Link.Rel = volume_mount Link.Attr1.name = action Link.Attr1.value = umount @@ -39,13 +39,13 @@ WarningMessage { } InvalidVolumeName { - Title = Changing of container's name failed - Text = The supplied new name of the container was invalid. Please try again! + Title = Changing of volume's name failed + Text = The supplied new name of the volume was invalid. Please try again! } SetVolumeNameFailed { - Title = Changing of container's name failed - Text = Could not change the name of the container. Take a look at the log files for details. + Title = Changing of volume's name failed + Text = Could not change the name of the volume. Take a look at the log files for details. } VolumeNameIsInUse { diff --git a/plugins/volume_rename/unittests.py b/plugins/volume_rename/unittests.py index dd83de6..d1a42b5 100644 --- a/plugins/volume_rename/unittests.py +++ b/plugins/volume_rename/unittests.py @@ -25,9 +25,118 @@ import cryptobox.web.testclass class unittests(cryptobox.web.testclass.WebInterfaceTestClass): def test_read_form(self): + """Check if the 'volume_rename' plugin works. + """ url = self.url + "volume_rename?weblang=en&device=%2Fdev%2F" + self.device self.register_auth(url) self.cmd.go(url) - self.cmd.find('name') - self.cmd.find('hange') + self.cmd.find('Change the name of this volume') + + + def test_rename(self): + """Try to rename the volume. + """ + save_name = self.__get_name() + ## set 'foo' + self.__set_name("foo") + self.cmd.find('The name of this volume was changed successfully.') + self.assertEquals("foo", self.__get_name()) + ## set 'bar' + self.__set_name("bar") + self.cmd.find('The name of this volume was changed successfully.') + self.assertEquals("bar", self.__get_name()) + ## set the same name twice to catch all lines of code + self.__set_name("bar") + self.cmd.notfind('The name of this volume was changed successfully.') + self.assertEquals("bar", self.__get_name()) + self.__set_name(save_name) + self.assertEquals(save_name, self.__get_name()) + + + def test_invalid_names(self): + """Setting of invalid names should fail. + """ + save_name = self.__get_name() + ## we want to avoid, that if the previous name is (by accident) 'foo' + ## then the later search for "changed successfully" would fail + if save_name == "foo": + self.__set_name("bar") + self.__set_name("foo") + self.cmd.find('The name of this volume was changed successfully.') + self.assertEquals("foo", self.__get_name()) + self.__set_name("foo:") + self.cmd.find("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name("foo/") + self.cmd.find("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name("foo&") + self.cmd.find("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name("foo*") + self.cmd.find("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name("foo(") + self.cmd.find("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name("") + self.cmd.notfind("Changing of volume's name failed") + self.assertEquals("foo", self.__get_name()) + self.__set_name(save_name) + self.assertEquals(save_name, self.__get_name()) + + + def test_rename_while_open(self): + """Try to change the name of the volume while it is open. + """ + save_name = self.__get_name() + ## first set the name to 'bar' + self.__set_name("bar") + mount_url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(mount_url) + name_url = self.url + "volume_rename?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(name_url) + self.cmd.go(mount_url + "&action=mount_plain") + self.cmd.find('Volume opened') + ## we have to do it manually, as there is no form when it is open + self.cmd.go(name_url + "&store=1&vol_name=foo") + self.cmd.find('You may not rename a volume while it is open.') + self.assertEquals("bar", self.__get_name()) + self.cmd.go(mount_url + "&action=umount") + self.__set_name(save_name) + self.assertEquals(save_name, self.__get_name()) + + + def test_name_in_use(self): + """Try to set a name that is already in use. + """ + used_name = [ e.get_name() for e in self.cbox.get_container_list() + if e.get_device() != self.device ] + if not used_name: + self.fail("could not find another device for this test") + old_name = self.__get_name() + self.assertNotEquals(old_name, used_name[0]) + self.__set_name(used_name[0]) + self.cmd.find('The new name is already in use by another volume.') + self.assertEquals(old_name, self.__get_name()) + + + def __set_name(self, name): + """Set the name of a volume. + """ + url = self.url + "volume_rename?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url) + self.cmd.formvalue("set_name", "vol_name", name) + self.cmd.submit() + + + def __get_name(self): + """Retrieve the current name of the volume. + """ + url = self.url + "volume_rename?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url) + self.cmd.find("Data.Status.Plugins.volume_rename=(.*)$", "m") + return self.locals["__match__"] diff --git a/plugins/volume_rename/volume_rename.cs b/plugins/volume_rename/volume_rename.cs index edbe42d..9e8bf7c 100644 --- a/plugins/volume_rename/volume_rename.cs +++ b/plugins/volume_rename/volume_rename.cs @@ -16,5 +16,3 @@

- - diff --git a/plugins/volume_rename/volume_rename.py b/plugins/volume_rename/volume_rename.py index 5a0d036..f7c6e3d 100644 --- a/plugins/volume_rename/volume_rename.py +++ b/plugins/volume_rename/volume_rename.py @@ -47,7 +47,7 @@ class volume_rename(cryptobox.plugins.base.CryptoBoxPlugin): self.container = self.cbox.get_container(self.device) if not self.container: return "invalid device" - return "name=%s" % self.container.get_name() + return "%s" % self.container.get_name() def __prepare_hdf(self): @@ -55,9 +55,6 @@ class volume_rename(cryptobox.plugins.base.CryptoBoxPlugin): def __set_volume_name(self, vol_name): - if not vol_name: - self.hdf["Data.Warning"] = "Plugins.volume_rename.InvalidVolumeName" - return "volume_rename" if vol_name == self.container.get_name(): ## nothing has to be done return "volume_rename" diff --git a/scripts/update_english.sh b/scripts/update_english.sh new file mode 100755 index 0000000..4a1fd77 --- /dev/null +++ b/scripts/update_english.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +which potool &>/dev/null || { echo "potool not found - try 'apt-get install potool'" >&2; exit 1; } + +PROJ_DIR=$(cd "$(dirname $0)/.."; pwd) + +find "$PROJ_DIR/intl" "$PROJ_DIR/plugins" -type f -name \*.po | grep /intl/en/ | while read a + do potool -c -n scmt "$a" > "${a}.new" && mv "${a}.new" "$a" + done + diff --git a/src/cryptobox/__init__.py b/src/cryptobox/__init__.py index 0e09e4e..605235d 100644 --- a/src/cryptobox/__init__.py +++ b/src/cryptobox/__init__.py @@ -10,5 +10,5 @@ __all__ = ['core', 'web', 'plugins', 'tests'] __revision__ = "$Id$" -__version__ = "0.2.54" +__version__ = "0.2.55" diff --git a/src/cryptobox/core/container.py b/src/cryptobox/core/container.py index 012e519..8c12f52 100644 --- a/src/cryptobox/core/container.py +++ b/src/cryptobox/core/container.py @@ -224,11 +224,6 @@ class CryptoBoxContainer: return if self.is_mounted(): raise CBVolumeIsActive("this container is currently active") - devnull = None - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) ## remove any potential open luks mapping self.__umount_luks() ## create the luks header @@ -261,7 +256,7 @@ class CryptoBoxContainer: proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["cryptsetup"], @@ -352,10 +347,6 @@ class CryptoBoxContainer: def __get_non_luks_uuid(self): """return UUID for ext2/3 and vfat filesystems""" - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) proc = subprocess.Popen( shell=False, stdout=subprocess.PIPE, @@ -367,7 +358,6 @@ class CryptoBoxContainer: "-w", os.devnull, self.device]) (stdout, stderr) = proc.communicate() - devnull.close() ## execution failed? if proc.returncode != 0: self.cbox.log.info("retrieving of partition type (" + str(self.device) \ @@ -395,7 +385,6 @@ class CryptoBoxContainer: def __get_type_id_of_partition(self): "returns the type of the partition (see 'man blkid')" - devnull = None proc = subprocess.Popen( shell = False, stdout = subprocess.PIPE, @@ -422,23 +411,17 @@ class CryptoBoxContainer: def __is_luks_partition(self): "check if the given device is a luks partition" - devnull = None - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, - stderr = devnull, + stdout = subprocess.PIPE, + stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["cryptsetup"], "--batch-mode", "isLuks", self.device]) proc.wait() - devnull.close() return proc.returncode == 0 @@ -454,10 +437,6 @@ class CryptoBoxContainer: if self.is_mounted(): raise CBVolumeIsActive("this container is already active") self.__umount_luks() - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) self.__clean_mount_dirs() if not os.path.exists(self.__get_mount_point()): self.__create_mount_directory(self.__get_mount_point()) @@ -469,7 +448,7 @@ class CryptoBoxContainer: proc = subprocess.Popen( shell = False, stdin = subprocess.PIPE, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -488,7 +467,7 @@ class CryptoBoxContainer: proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -501,23 +480,17 @@ class CryptoBoxContainer: err_msg = "Could not mount the filesystem: %s" % (proc.stderr.read().strip(), ) self.cbox.log.warn(err_msg) raise CBMountError(err_msg) - devnull.close() self.cbox.send_event_notification("postmount", self.__get_event_args()) def __umount_luks(self): "umount a luks partition" - devnull = None - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) self.cbox.send_event_notification("preumount", self.__get_event_args()) if self.is_mounted(): proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -533,7 +506,7 @@ class CryptoBoxContainer: proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -547,7 +520,6 @@ class CryptoBoxContainer: err_msg = "Could not remove the luks mapping: %s" % (proc.stderr.read().strip(), ) self.cbox.log.warn(err_msg) raise CBUmountError(err_msg) - devnull.close() self.cbox.send_event_notification("postumount", self.__get_event_args()) @@ -555,11 +527,6 @@ class CryptoBoxContainer: "mount a plaintext partition" if self.is_mounted(): raise CBVolumeIsActive("this container is already active") - devnull = None - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) self.__clean_mount_dirs() if not os.path.exists(self.__get_mount_point()): self.__create_mount_directory(self.__get_mount_point()) @@ -571,7 +538,7 @@ class CryptoBoxContainer: proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -584,7 +551,6 @@ class CryptoBoxContainer: err_msg = "Could not mount the filesystem: %s" % (proc.stderr.read().strip(), ) self.cbox.log.warn(err_msg) raise CBMountError(err_msg) - devnull.close() self.cbox.send_event_notification("postmount", self.__get_event_args()) @@ -594,16 +560,11 @@ class CryptoBoxContainer: self.cbox.log.info("trying to umount while volume (%s) is mounted" % \ self.get_device()) return - devnull = None - try: - devnull = open(os.devnull, "w") - except IOError: - self.cbox.log.warn("Could not open %s" % (os.devnull, )) self.cbox.send_event_notification("preumount", self.__get_event_args()) proc = subprocess.Popen( shell = False, stdin = None, - stdout = devnull, + stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ self.cbox.prefs["Programs"]["super"], @@ -615,7 +576,6 @@ class CryptoBoxContainer: err_msg = "Could not umount the filesystem: %s" % (proc.stderr.read().strip(), ) self.cbox.log.warn(err_msg) raise CBUmountError(err_msg) - devnull.close() self.cbox.send_event_notification("postumount", self.__get_event_args()) diff --git a/src/cryptobox/core/main.py b/src/cryptobox/core/main.py index 3440bbc..079c96c 100644 --- a/src/cryptobox/core/main.py +++ b/src/cryptobox/core/main.py @@ -230,36 +230,6 @@ class CryptoBox: return False - def get_log_data(self, lines=None, max_size=None): - """get the most recent log entries of the cryptobox - - the maximum number and size of these entries can be limited by - 'lines' and 'max_size' - """ - # return nothing if the currently selected log output is not a file - try: - if self.prefs["Log"]["Destination"].upper() != "FILE": - return [] - log_file = self.prefs["Log"]["Details"] - except KeyError: - self.log.error("could not evaluate one of the following config settings: " - + "[Log]->Destination or [Log]->Details") - return [] - try: - fdesc = open(log_file, "r") - if max_size: - fdesc.seek(-max_size, 2) # seek relative to the end of the file - content = fdesc.readlines() - fdesc.close() - except IOError: - self.log.warn("failed to read the log file (%s)" % log_file) - return [] - if lines: - content = content[-lines:] - content.reverse() - return content - - def get_container_list(self, filter_type=None, filter_name=None): "retrieve the list of all containers of this cryptobox" try: diff --git a/src/cryptobox/web/dataset.py b/src/cryptobox/web/dataset.py index c308aa7..33854ec 100644 --- a/src/cryptobox/web/dataset.py +++ b/src/cryptobox/web/dataset.py @@ -66,7 +66,18 @@ class WebInterfaceDataset(dict): self.cbox.log.info("language loaded: %s" % lang) except KeyError: ## language was not found - self.cbox.log.warn("invalid language specified in configuration: %s" % lang) + self.cbox.log.warn( + "invalid language specified in configuration: %s" % lang) + + ## check the help setting + try: + if cherrypy.request.params["help"] == "1": + self["Settings.Help"] = "1" + self["Settings.LinkAttrs.help"] = "1" + except (AttributeError, KeyError): + ## no setting or first start before request + pass + try: self["Data.ScriptURL.Prot"] = cherrypy.request.scheme host = cherrypy.request.headers["Host"] @@ -83,8 +94,8 @@ class WebInterfaceDataset(dict): port = 443 else: ## unknown scheme -> port 0 - self.cbox.log.info( - "unknown protocol scheme used: %s" % (cherrypy.request.scheme,)) + self.cbox.log.info("unknown protocol scheme used: %s" % \ + (cherrypy.request.scheme,)) port = 0 self["Data.ScriptURL.Port"] = port ## retrieve the relative address of the CGI (or the cherrypy base address) @@ -93,6 +104,11 @@ class WebInterfaceDataset(dict): self["Data.ScriptURL.Path"] = path complete_url += path self["Data.ScriptURL"] = complete_url + for (key, value) in cherrypy.request.params.items(): + if isinstance(value, list): + self["Data.ScriptParams.%s" % key] = value[0] + else: + self["Data.ScriptParams.%s" % key] = str(value) except AttributeError: self["Data.ScriptURL"] = "" @@ -202,4 +218,3 @@ class WebInterfaceDataset(dict): self["Settings.PluginDir"] = self.prefs["Locations"]["PluginDir"][0] self["Settings.SettingsDir"] = self.prefs["Locations"]["SettingsDir"] - diff --git a/src/cryptobox/web/languages.py b/src/cryptobox/web/languages.py index 51f0a29..e55a2f1 100644 --- a/src/cryptobox/web/languages.py +++ b/src/cryptobox/web/languages.py @@ -1,4 +1,4 @@ -#-*- coding: UTF-8 -*- +#-*- coding: utf-8 -*- # # Copyright 2006 sense.lab e.V. # diff --git a/src/cryptobox/web/sites.py b/src/cryptobox/web/sites.py index 6c300af..032e554 100644 --- a/src/cryptobox/web/sites.py +++ b/src/cryptobox/web/sites.py @@ -214,7 +214,7 @@ class WebInterfaceSites: @cherrypy.expose - def index(self, weblang=""): + def index(self, weblang="", help="0", device=None): """the default page on startup - we show the list of available disks """ self.__reset_dataset() @@ -271,7 +271,7 @@ class WebInterfaceSites: """ returns a function that is suitable for handling a cherrypy page request """ - def handler(self, weblang="", device=None, redirect=None, message_keep=None, **args): + def handler(self, weblang="", device=None, help="0", redirect=None, message_keep=None, **args): """this function handles a cherrypy page request """ plugin.reset() @@ -362,7 +362,7 @@ class WebInterfaceSites: @cherrypy.expose - def test(self, weblang=""): + def test(self, weblang="", help="0", device=None): """test authentication - this function may be safely removed """ self.__reset_dataset() @@ -372,7 +372,7 @@ class WebInterfaceSites: @cherrypy.expose - def test_stream(self): + def test_stream(self, weblang="", help="0", device=None): """just for testing purposes - to check if the "stream_response" feature actually works - for now (September 02006) it does not seem to be ok """ diff --git a/src/cryptobox/web/testclass.py b/src/cryptobox/web/testclass.py index 6dc3bce..f844564 100644 --- a/src/cryptobox/web/testclass.py +++ b/src/cryptobox/web/testclass.py @@ -33,8 +33,6 @@ import cryptobox.web.sites import os -## we do the following, for easy surfing -## e.g. use: cbx.go(your_url) ## commands api: http://twill.idyll.org/commands.html CBXHOST = "localhost" CBXPORT = 8081 @@ -88,14 +86,20 @@ class WebInterfaceTestClass(unittest.TestCase): ## use /dev/ubd? if possible - otherwise /dev/hd? ## so it will be possible to use these tests inside of an uml self.blockdevice, self.device = self.__find_test_device() + ## umount the device (just to be sure) + url = self.url + "volume_mount?weblang=en&device=%2Fdev%2F" + self.device + self.register_auth(url) + self.cmd.go(url + "&action=umount") def tearDown(self): '''clean up the room when leaving''' - # remove intercept. + ## remove intercept. twill.remove_wsgi_intercept(CBXHOST, CBXPORT) - # shut down the cherrypy server. + ## stop the cryptobox + cherrypy.root.cleanup() + ## shut down the cherrypy server. cherrypy.server.stop() self.output.close() diff --git a/stuff/commit-policy.txt b/stuff/commit-policy.txt new file mode 100644 index 0000000..09caa38 --- /dev/null +++ b/stuff/commit-policy.txt @@ -0,0 +1,11 @@ +The usual steps before commit: + - scripts/update_po_files.py + - scripts/update_english.sh + - ../tags/make-deb.sh 0.2.$VERSION + - run unittests: + - bin/uml-setup.py + - log into uml + - install the previously build package + - invoke-rc.d cryptobox-server stop + - hostfs/bin/do_unittests.sh + diff --git a/templates/header.cs b/templates/header.cs index 44577c1..12a18db 100644 --- a/templates/header.cs +++ b/templates/header.cs @@ -74,15 +74,19 @@ icon: logo -
+ + +
+
+ diff --git a/templates/language.hdf b/templates/language.hdf index d580b7c..fc06db4 100644 --- a/templates/language.hdf +++ b/templates/language.hdf @@ -19,7 +19,8 @@ Text { Button { - HelpForForm = Get help + EnableHelp = Enable help + DisableHelp = Disable help } @@ -38,9 +39,7 @@ WarningMessage { AccessDenied { Title = Invalid access credentials - Text = Sorry - you did not enter the right credentials! (Maybe try the default setting: username=>'admin' / password=>'admin'.) - Link.Text = Change password now - Link.Rel = user_manager + Text = Sorry - you did not enter the right credentials! Maybe you should try the default setting: username=>'admin' / password=>'admin'. } EmptyPassword { @@ -65,9 +64,11 @@ WarningMessage { VolumeMayNotBeMounted { Title = The volume is open - Text = This action is not available while the container is active. Please close it first. + Text = This action is not available while the volume is active. Please close it first. Link.Text = Close volume Link.Rel = volume_mount + Link.Attr1.name = action + Link.Attr1.value = umount } InvalidAction { diff --git a/templates/macros.cs b/templates/macros.cs index 54c711a..0ac9398 100644 --- a/templates/macros.cs +++ b/templates/macros.cs @@ -159,14 +159,52 @@ def:show_volume(volume) ?>?&=