tag v0.3.1 released
This commit is contained in:
parent
58db140585
commit
d6b3f77778
718 changed files with 100584 additions and 0 deletions
15
v0.3.1/plugins/disks/disks.cs
Normal file
15
v0.3.1/plugins/disks/disks.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.disks.Title.Disks) ?></h1>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<?cs if:subcount(Data.Disks) == 0 ?>
|
||||
<?cs call:hint("Plugins.disks.NoDisksAvailable") ?>
|
||||
<?cs else ?>
|
||||
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
|
||||
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
|
||||
<?cs call:show_volume(Data.Disks[index]) ?>
|
||||
<?cs /loop ?>
|
||||
<?cs /if ?>
|
||||
|
48
v0.3.1/plugins/disks/disks.py
Normal file
48
v0.3.1/plugins/disks/disks.py
Normal file
|
@ -0,0 +1,48 @@
|
|||
#
|
||||
# Copyright 2006 sense.lab e.V.
|
||||
#
|
||||
# This file is part of the CryptoBox.
|
||||
#
|
||||
# The CryptoBox is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# The CryptoBox is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with the CryptoBox; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
"""The disks feature of the CryptoBox.
|
||||
"""
|
||||
|
||||
__revision__ = "$Id"
|
||||
|
||||
import cryptobox.plugins.base
|
||||
|
||||
class disks(cryptobox.plugins.base.CryptoBoxPlugin):
|
||||
"""The disk feature of the CryptoBox.
|
||||
"""
|
||||
|
||||
plugin_capabilities = [ "system" ]
|
||||
plugin_visibility = [ "menu" ]
|
||||
request_auth = False
|
||||
rank = 10
|
||||
|
||||
def do_action(self):
|
||||
"""The action handler.
|
||||
"""
|
||||
self.cbox.reread_container_list()
|
||||
return "disks"
|
||||
|
||||
|
||||
def get_status(self):
|
||||
"""Retrieve the current status of the feature.
|
||||
"""
|
||||
return ":".join([e.get_device() for e in self.cbox.get_container_list()])
|
||||
|
15
v0.3.1/plugins/disks/intl/cryptobox-server-feature-disks.pot
Normal file
15
v0.3.1/plugins/disks/intl/cryptobox-server-feature-disks.pot
Normal file
|
@ -0,0 +1,15 @@
|
|||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,29 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: 2006-12-14 03:46+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 "Datenträgerübersicht"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Datenträger"
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr "Verfügbare Datenträger"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr "Keine verfügbaren Daträger gefunden!"
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr "Disk overview"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Disks"
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr "Available disks"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
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!"
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CryptoBox-Server 0.3\n"
|
||||
"Report-Msgid-Bugs-To: translate@cryptobox.org\n"
|
||||
"POT-Creation-Date: 2006-12-18 11:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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 ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title.Disks
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
10
v0.3.1/plugins/disks/language.hdf
Normal file
10
v0.3.1/plugins/disks/language.hdf
Normal file
|
@ -0,0 +1,10 @@
|
|||
Name = Disk overview
|
||||
Link = Disks
|
||||
|
||||
Title.Disks = Available disks
|
||||
|
||||
AdviceMessage {
|
||||
NoDisksAvailable {
|
||||
Text = No available disks were found!
|
||||
}
|
||||
}
|
BIN
v0.3.1/plugins/disks/plugin_icon.gif
Normal file
BIN
v0.3.1/plugins/disks/plugin_icon.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
v0.3.1/plugins/disks/plugin_icon.png
Normal file
BIN
v0.3.1/plugins/disks/plugin_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
43
v0.3.1/plugins/disks/unittests.py
Normal file
43
v0.3.1/plugins/disks/unittests.py
Normal file
|
@ -0,0 +1,43 @@
|
|||
#
|
||||
# Copyright 2006 sense.lab e.V.
|
||||
#
|
||||
# This file is part of the CryptoBox.
|
||||
#
|
||||
# The CryptoBox is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# The CryptoBox is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with the CryptoBox; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
__revision__ = "$Id"
|
||||
|
||||
import cryptobox.web.testclass
|
||||
|
||||
class unittests(cryptobox.web.testclass.WebInterfaceTestClass):
|
||||
|
||||
def test_read_form(self):
|
||||
'''display all devices'''
|
||||
self.register_auth(self.url)
|
||||
self.cmd.go(self.url + "disks?weblang=en")
|
||||
self.cmd.find("Available disks")
|
||||
|
||||
|
||||
def test_is_device_in_list(self):
|
||||
"""check if the device-under-test is in the device list"""
|
||||
self.register_auth(self.url)
|
||||
self.cmd.go(self.url + "disks?weblang=en")
|
||||
self.cmd.find("Available disks")
|
||||
self.cmd.find(r'Data.Status.Plugins.disks=(.*)$', "m")
|
||||
devices = self.locals["__match__"].split(":")
|
||||
self.assertTrue(len(devices)>0)
|
||||
self.assertTrue("/dev/%s" % self.device in devices)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue