created new tag v0.3.4.5 (based on v0.3.4.3)
merged changeset 969 updated list of contributers
This commit is contained in:
parent
4a8a292313
commit
152e67283a
728 changed files with 120019 additions and 0 deletions
19
v0.3.4.5/plugins/disks/disks.cs
Normal file
19
v0.3.4.5/plugins/disks/disks.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?cs call:show_plugin_icon() ?>
|
||||
<?cs var:html_escape(Lang.Plugins.disks.Title) ?>
|
||||
</legend>
|
||||
<?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 ?>
|
||||
</fieldset>
|
||||
|
48
v0.3.4.5/plugins/disks/disks.py
Normal file
48
v0.3.4.5/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()])
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr ""
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr ""
|
||||
|
||||
#: Title
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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,15 @@
|
|||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr "Disk overview"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Disks"
|
||||
|
||||
#: Title
|
||||
msgid "Available disks"
|
||||
msgstr "Available disks"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr "No available disks were found!"
|
|
@ -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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-04-01 15:55+0200\n"
|
||||
"PO-Revision-Date: 2007-02-26 11:41+0100\n"
|
||||
"Last-Translator: Fabrizio Tarizzo <software@fabriziotarizzo.org>\n"
|
||||
"Language-Team: Italian <software@fabriziotarizzo.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 "Disk overview"
|
||||
msgstr "Elenco dei dischi"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Dischi"
|
||||
|
||||
#: Title
|
||||
msgid "Available disks"
|
||||
msgstr "Dischi disponibili"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr "Non è stato trovato alcun disco disponibile!"
|
|
@ -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: 2007-02-03 12:02+0100\n"
|
||||
"PO-Revision-Date: 2007-02-23 11:37+0100\n"
|
||||
"Last-Translator: kinneko <kinneko@gmail.com>\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=1; plural=0;\n"
|
||||
"X-Generator: Pootle 0.10.1\n"
|
||||
|
||||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr "ディスクの状態"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "ディスク"
|
||||
|
||||
#: Title
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-04-01 15:55+0200\n"
|
||||
"PO-Revision-Date: 2007-03-29 09:30+0200\n"
|
||||
"Last-Translator: Andrzej S. Kaznowski <andrzej@kaznowski.com>\n"
|
||||
"Language-Team: POLSKI <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=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: Pootle 0.10.1\n"
|
||||
|
||||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr "Przegląd dysków"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Dyski"
|
||||
|
||||
#: Title
|
||||
msgid "Available disks"
|
||||
msgstr "Dostępne dyski"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr "Nie znaleziono dostępnych dysków!"
|
|
@ -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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+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
|
||||
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: 2007-02-03 12:02+0100\n"
|
||||
"PO-Revision-Date: 2006-12-21 15:01+0100\n"
|
||||
"Last-Translator: tenzin <clavdiaa@yahoo.com>\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=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"
|
||||
|
||||
#: Name
|
||||
msgid "Disk overview"
|
||||
msgstr "Pregled diska"
|
||||
|
||||
#: Link
|
||||
msgid "Disks"
|
||||
msgstr "Diski"
|
||||
|
||||
#: Title
|
||||
msgid "Available disks"
|
||||
msgstr "Razpoložljivi diski"
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr "Noben disk ni na razpolago"
|
|
@ -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: 2007-02-03 12:02+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
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
|
@ -0,0 +1,30 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-02-05 23:28+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
|
||||
msgid "Available disks"
|
||||
msgstr ""
|
||||
|
||||
#: AdviceMessage.NoDisksAvailable.Text
|
||||
msgid "No available disks were found!"
|
||||
msgstr ""
|
10
v0.3.4.5/plugins/disks/language.hdf
Normal file
10
v0.3.4.5/plugins/disks/language.hdf
Normal file
|
@ -0,0 +1,10 @@
|
|||
Name = Disk overview
|
||||
Link = Disks
|
||||
|
||||
Title = Available disks
|
||||
|
||||
AdviceMessage {
|
||||
NoDisksAvailable {
|
||||
Text = No available disks were found!
|
||||
}
|
||||
}
|
BIN
v0.3.4.5/plugins/disks/plugin_icon.gif
Normal file
BIN
v0.3.4.5/plugins/disks/plugin_icon.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
v0.3.4.5/plugins/disks/plugin_icon.png
Normal file
BIN
v0.3.4.5/plugins/disks/plugin_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
43
v0.3.4.5/plugins/disks/unittests.py
Normal file
43
v0.3.4.5/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"
|
||||
|
||||
from cryptobox.tests.base import WebInterfaceTestClass
|
||||
|
||||
class unittests(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(self.device in devices)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue