'log' plugin: show warning if no log file is used

moved log file reading from cryptobox/core/main to 'log' plugin
added unittests for volume_mount, volume_format_fs and volume_rename
replace "get help" links with a "help mode" displaying information for every form
added first drafts of help texts for volume_mount, volume_format and partition
replaced the word 'container' with 'volume' in english texts
This commit is contained in:
lars 2006-12-12 13:34:05 +00:00
parent 77324ae946
commit 108acd0e8a
186 changed files with 4190 additions and 558 deletions

View file

@ -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

View file

@ -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

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
cryptobox (0.2.55-1) unstable; urgency=low
* more unittests
* new help system
-- Lars Kruse <devel@sumpfralle.de> Tue, 12 Dec 2006 04:47:47 +0100
cryptobox (0.2.54-1) unstable; urgency=low
* log plugin improved

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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"

View file

@ -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 <LL@li.org>\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"

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -42,5 +42,3 @@
</form>
<?cs call:help_link("CryptoBoxUserConfiguration") ?>

View file

@ -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 <devel@sumpfralle.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"

View file

@ -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"

View file

@ -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 <devel@sumpfralle.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\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!"

View file

@ -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 <devel@sumpfralle.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"

View file

@ -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"

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 <devel@sumpfralle.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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.

View file

@ -4,12 +4,19 @@
<?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.language_selection.Help.Select) ?>
<div id="lang">
<ul>
<?cs loop:index = #0, subcount(Data.Languages)-1, #1 ?>
<li><a href="<?cs
call:link("language_selection", 'weblang', Data.Languages[index].name, '','') ?>" title="<?cs
var:html_escape(Data.Languages[index].link) ?>" ><?cs
var:html_escape(Data.Languages[index].link) ?></a></li><?cs /loop ?>
var:html_escape(Data.Languages[index].link) ?></a>
<?cs if:Settings.Language == Data.Languages[index].name ?>
&nbsp;<img src="icons/language_selection?image=list_marker_tango.gif"
alt="symbol: current language" style="vertical-align:middle" />
<?cs /if ?>
</li><?cs /loop ?>
</ul>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -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")

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""