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:
lars 2007-08-21 23:31:35 +00:00
parent 4a8a292313
commit 152e67283a
728 changed files with 120019 additions and 0 deletions

View file

@ -0,0 +1,116 @@
#
# 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
#
"""Change date and time.
requires:
- date
- ntpdate (planned)
"""
__revision__ = "$Id"
import cryptobox.plugins.base
class date(cryptobox.plugins.base.CryptoBoxPlugin):
"""The date feature of the CryptoBox.
"""
plugin_capabilities = [ "system" ]
plugin_visibility = [ "preferences" ]
request_auth = False
rank = 10
def do_action(self, store=None, year=0, month=0, day=0, hour=0, minute=0):
"""The action handler.
"""
import datetime
if store:
try:
year, month, day = int(year), int(month), int(day)
hour, minute = int(hour), int(minute)
## check if the values are valid
datetime.datetime(year, month, day, hour, minute)
except ValueError:
self.hdf["Data.Warning"] = "Plugins.date.InvalidDate"
else:
new_date = "%02d%02d%02d%02d%d" % (month, day, hour, minute, year)
if self.__set_date(new_date):
self.cbox.log.info("changed date to: %s" % new_date)
self.hdf["Data.Success"] = "Plugins.date.DateChanged"
else:
## a failure should usually be an invalid date (we do not check it really)
self.cbox.log.info("failed to set date: %s" % new_date)
self.hdf["Data.Warning"] = "Plugins.date.InvalidDate"
self.__prepare_form_data()
return "form_date"
def get_status(self):
"""Retrieve the status of the feature.
"""
now = self.__get_current_date()
return "%d/%d/%d/%d/%d/%d" % \
(now.year, now.month, now.day, now.hour, now.minute, now.second)
def get_warnings(self):
import os
warnings = []
if not os.path.isfile(self.root_action.DATE_BIN):
warnings.append((48, "Plugins.%s.MissingProgramDate" % self.get_name()))
return warnings
def __prepare_form_data(self):
"""Set some hdf values.
"""
cur_date = self.__get_current_date()
self.hdf[self.hdf_prefix + "year"] = cur_date.year
self.hdf[self.hdf_prefix + "month"] = cur_date.month
self.hdf[self.hdf_prefix + "day"] = cur_date.day
self.hdf[self.hdf_prefix + "hour"] = cur_date.hour
self.hdf[self.hdf_prefix + "minute"] = cur_date.minute
def __get_current_date(self):
"""Retrieve the current date and time.
"""
import datetime
return datetime.datetime(2000, 1, 1).now()
def __set_date(self, new_date):
"""Set a new date and time.
"""
import subprocess
import os
proc = subprocess.Popen(
shell = False,
args = [
self.cbox.prefs["Programs"]["super"],
self.cbox.prefs["Programs"]["CryptoBoxRootActions"],
"plugin",
os.path.join(self.plugin_dir, "root_action.py"),
new_date])
proc.wait()
return proc.returncode == 0

View file

@ -0,0 +1,51 @@
<?cs # $Id$ ?>
<?cs call:handle_messages() ?>
<fieldset>
<legend>
<?cs call:show_plugin_icon() ?>
<?cs var:html_escape(Lang.Plugins.date.Title) ?>
</legend>
<?cs call:show_help(Lang.Plugins.date.Help.ChangeDate) ?>
<?cs call:print_form_header("set_date", "date") ?>
<p><label for="date"><?cs var:html_escape(Lang.Plugins.date.Text.Date) ?>: </label><br/>
<select id="date" name="day" tabindex="1" size="0"><?cs
loop: x = #1, #31, #1 ?>
<?cs if:x == Data.Plugins.date.day ?><option selected="selected"><?cs
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
</select>
<select name="month" tabindex="2" size="0"><?cs
loop: x = #1, #12, #1 ?>
<?cs if:x == Data.Plugins.date.month ?><option selected="selected" <?cs
else ?><option <?cs /if ?>value="<?cs var:x ?>"><?cs
var:html_escape(Lang.Plugins.date.Text.Months[x]) ?></option><?cs /loop ?>
</select>
<select name="year" tabindex="3" size="0"><?cs
loop: x = #2006, #2025, #1 ?>
<?cs if:x == Data.Plugins.date.year ?><option selected="selected"><?cs
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
</select></p>
<p><label for="time"><?cs var:html_escape(Lang.Plugins.date.Text.Time) ?>: </label><br/>
<select id="time" name="hour" tabindex="4" size="0"><?cs
loop: x = #0, #23, #1 ?>
<?cs if:x == Data.Plugins.date.hour ?><option selected="selected"><?cs
else ?><option><?cs /if ?><?cs if:x<10 ?>0<?cs /if ?><?cs var:x ?></option><?cs /loop ?>
</select>&nbsp;:&nbsp;
<select name="minute" tabindex="5" size="0"><?cs
loop: x = #0, #59, #1 ?>
<?cs if:x == Data.Plugins.date.minute ?><option selected="selected"><?cs
else ?><option><?cs /if ?><?cs if:x<10 ?>0<?cs /if ?><?cs var:x ?></option><?cs /loop ?>
</select></p>
<p><input type="hidden" name="store" value="yes" />
<button type="submit" tabindex="6"><?cs var:html_escape(Lang.Plugins.date.Button.ConfigDate) ?></button></p>
</form>
</fieldset>

View file

@ -0,0 +1,95 @@
#: Name
msgid "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,109 @@
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-03 21:17+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: Pootle 0.10.1\n"
#: Name
msgid "Change date and time"
msgstr "Datum und Uhrzeit ändern"
#: Link
msgid "Date"
msgstr "Datum"
#: Title
msgid "Date and time setting"
msgstr "Datum und Uhrzeit einstellen"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "Uhrzeit und Datum ändern"
#: Text.Time
msgid "Time"
msgstr "Uhrzeit"
#: Text.Months.1
msgid "January"
msgstr "Januar"
#: Text.Months.2
msgid "February"
msgstr "Februar"
#: Text.Months.3
msgid "March"
msgstr "März"
#: Text.Months.4
msgid "April"
msgstr "April"
#: Text.Months.5
msgid "May"
msgstr "Mai"
#: Text.Months.6
msgid "June"
msgstr "Juni"
#: Text.Months.7
msgid "July"
msgstr "Juli"
#: Text.Months.8
msgid "August"
msgstr "August"
#: Text.Months.9
msgid "September"
msgstr "September"
#: Text.Months.10
msgid "October"
msgstr "Oktober"
#: Text.Months.11
msgid "November"
msgstr "November"
#: Text.Months.12
msgid "December"
msgstr "Dezember"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "Einstellen der Uhrzeit und des Datums des CryptoBox-Servers."
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "Datum gesetzt"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "Das Datum wurde erfolgreich geändert."
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "Ungültiger Eingabewert"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "Es wurde ein ungültiger Wert für das Datum oder die Uhrzeit eingegeben. Bitte versuche es erneut."
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "Fehlendes Programm"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "Das Programm 'date' ist nicht installiert. Bitte den Administrator des CryptoBox Servers dieses Programm zu installieren."

View file

@ -0,0 +1,95 @@
#: Name
msgid "Change date and time"
msgstr "Change date and time"
#: Link
msgid "Date"
msgstr "Date"
#: Title
msgid "Date and time setting"
msgstr "Date and time setting"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "Set date and time"
#: Text.Time
msgid "Time"
msgstr "Time"
#: Text.Months.1
msgid "January"
msgstr "January"
#: Text.Months.2
msgid "February"
msgstr "February"
#: Text.Months.3
msgid "March"
msgstr "March"
#: Text.Months.4
msgid "April"
msgstr "April"
#: Text.Months.5
msgid "May"
msgstr "May"
#: Text.Months.6
msgid "June"
msgstr "June"
#: Text.Months.7
msgid "July"
msgstr "July"
#: Text.Months.8
msgid "August"
msgstr "August"
#: Text.Months.9
msgid "September"
msgstr "September"
#: Text.Months.10
msgid "October"
msgstr "October"
#: Text.Months.11
msgid "November"
msgstr "November"
#: Text.Months.12
msgid "December"
msgstr "December"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "Change the time and date for the CryptoBox server."
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "Date changed"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "The date was changed successfully."
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "Invalid value"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "An invalid value for date or time was supplied. Please try again."
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "Missing program"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."

View file

@ -0,0 +1,109 @@
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-01-30 19:31+0100\n"
"Last-Translator: kessel <kessel@systemausfall.org>\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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr "fecha"
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr "cambiar fecha y tiempo"
#: Text.Time
msgid "Time"
msgstr "tiempo"
#: Text.Months.1
msgid "January"
msgstr "enero"
#: Text.Months.2
msgid "February"
msgstr "febrero"
#: Text.Months.3
msgid "March"
msgstr "marzo"
#: Text.Months.4
msgid "April"
msgstr "abril"
#: Text.Months.5
msgid "May"
msgstr "mayo"
#: Text.Months.6
msgid "June"
msgstr "junio"
#: Text.Months.7
msgid "July"
msgstr "julio"
#: Text.Months.8
msgid "August"
msgstr "agosto"
#: Text.Months.9
msgid "September"
msgstr "septiembre"
#: Text.Months.10
msgid "October"
msgstr "octubre"
#: Text.Months.11
msgid "November"
msgstr "noviembre"
#: Text.Months.12
msgid "December"
msgstr "diciembre"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,109 @@
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-24 10:08+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 "Change date and time"
msgstr "Modificare data e ora"
#: Link
msgid "Date"
msgstr "Data"
#: Title
msgid "Date and time setting"
msgstr "Impostazioni di data e ora"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "Imposta data e ora"
#: Text.Time
msgid "Time"
msgstr "Ora"
#: Text.Months.1
msgid "January"
msgstr "Gennaio"
#: Text.Months.2
msgid "February"
msgstr "Febbraio"
#: Text.Months.3
msgid "March"
msgstr "Marzo"
#: Text.Months.4
msgid "April"
msgstr "Aprile"
#: Text.Months.5
msgid "May"
msgstr "Maggio"
#: Text.Months.6
msgid "June"
msgstr "Giugno"
#: Text.Months.7
msgid "July"
msgstr "Luglio"
#: Text.Months.8
msgid "August"
msgstr "Agosto"
#: Text.Months.9
msgid "September"
msgstr "Settembre"
#: Text.Months.10
msgid "October"
msgstr "Ottobre"
#: Text.Months.11
msgid "November"
msgstr "Novembre"
#: Text.Months.12
msgid "December"
msgstr "Dicembre"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "Modificare ora e data per il server CryptoBox."
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "Data modificata"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "La data è stata modificata con succeso."
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "Valore non valido"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "È stato inserito un valore non valido per la data o per l'ora. Riprovare."
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "Programma mancante"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "Il programma 'date' non è installato. Rivolgersi all'amministratore del server CryptoBox per installarlo e configurarlo opportunamente."

View file

@ -0,0 +1,109 @@
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-26 03:06+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 "Change date and time"
msgstr "日付と時刻の変更"
#: Link
msgid "Date"
msgstr "日付"
#: Title
msgid "Date and time setting"
msgstr "日付と時刻の設定"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "日付と時刻を設定する"
#: Text.Time
msgid "Time"
msgstr "時刻"
#: Text.Months.1
msgid "January"
msgstr "1月"
#: Text.Months.2
msgid "February"
msgstr "2月"
#: Text.Months.3
msgid "March"
msgstr "3月"
#: Text.Months.4
msgid "April"
msgstr "4月"
#: Text.Months.5
msgid "May"
msgstr "5月"
#: Text.Months.6
msgid "June"
msgstr "6月"
#: Text.Months.7
msgid "July"
msgstr "7月"
#: Text.Months.8
msgid "August"
msgstr "8月"
#: Text.Months.9
msgid "September"
msgstr "9月"
#: Text.Months.10
msgid "October"
msgstr "10月"
#: Text.Months.11
msgid "November"
msgstr "11月"
#: Text.Months.12
msgid "December"
msgstr "12月"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "クリプトボックスサーバーの日付と時刻を変更します。"
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "日付を変更しました"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "日付の変更に成功しました。"
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "無効な値です"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "日付や時刻に無効な値が入力されました。もう一度試してください。"
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "外部プログラムがありません"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "'date'コマンドがインストールされていないようです。クリプトボックスの管理者に、インストールを依頼してください。"

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,109 @@
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:52+0200\n"
"PO-Revision-Date: 2007-03-28 18:00+0100\n"
"Last-Translator: KAZNOWSKI & ASSOCIATES <office@kaznowski.pl>\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=2; plural=(n != 1);\n"
"X-Generator: Translate Toolkit 0.10.1\n"
#: Name
msgid "Change date and time"
msgstr "Zmień datę i godzinę"
#: Link
msgid "Date"
msgstr "Data"
#: Title
msgid "Date and time setting"
msgstr "Ustawienia daty i godziny"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "Ustaw datę i godzinę"
#: Text.Time
msgid "Time"
msgstr "Czas"
#: Text.Months.1
msgid "January"
msgstr "styczeń"
#: Text.Months.2
msgid "February"
msgstr "luty"
#: Text.Months.3
msgid "March"
msgstr "marzec"
#: Text.Months.4
msgid "April"
msgstr "kwiecień"
#: Text.Months.5
msgid "May"
msgstr "maj"
#: Text.Months.6
msgid "June"
msgstr "czerwiec"
#: Text.Months.7
msgid "July"
msgstr "lipiec"
#: Text.Months.8
msgid "August"
msgstr "sierpień"
#: Text.Months.9
msgid "September"
msgstr "wrzesień"
#: Text.Months.10
msgid "October"
msgstr "październik"
#: Text.Months.11
msgid "November"
msgstr "listopad"
#: Text.Months.12
msgid "December"
msgstr "grudzień"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "Zmień datę i godzinę serwera CryptoBox."
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "Datę zmieniono"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "Zmieniono datę."
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "Nieprawidłowe dane"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "Podano nieprawidłowe dane godziny lub daty. Proszę spróbować ponownie."
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "Brak programu"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "Program 'data' nie został zainstalowany. Proszę zwrócić się do administratora serwera CryptoBox, aby prawidłowo skonfigurał go."

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,109 @@
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-06 10:07+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 "Change date and time"
msgstr "Spremeni datum in čas"
#: Link
msgid "Date"
msgstr "Datum"
#: Title
msgid "Date and time setting"
msgstr "Nastavitve datum/čas"
#: Button.ConfigDate
msgid "Set date and time"
msgstr "Nastavi datum/čas"
#: Text.Time
msgid "Time"
msgstr "Čas"
#: Text.Months.1
msgid "January"
msgstr "Januar"
#: Text.Months.2
msgid "February"
msgstr "Februar"
#: Text.Months.3
msgid "March"
msgstr "Marec"
#: Text.Months.4
msgid "April"
msgstr "April"
#: Text.Months.5
msgid "May"
msgstr "Maj"
#: Text.Months.6
msgid "June"
msgstr "Junij"
#: Text.Months.7
msgid "July"
msgstr "Julij"
#: Text.Months.8
msgid "August"
msgstr "Avgust"
#: Text.Months.9
msgid "September"
msgstr "September"
#: Text.Months.10
msgid "October"
msgstr "Oktober"
#: Text.Months.11
msgid "November"
msgstr "November"
#: Text.Months.12
msgid "December"
msgstr "December"
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr "Spremeni čas in datum za Cryptobox server"
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr "Datum je spremenjen"
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr "Datum je bil uspešno spremenjen"
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr "Neveljavna vrednost"
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr "Nepravilen vnos datuma ali časa. Prosimo poskusite ponovno."
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr "Program manjka"
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr "Program \"datum\" ni nameščen. Prosite Cryptobox server administratorja naj program pravilno namesti. "

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,110 @@
#, 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 "Change date and time"
msgstr ""
#: Link
msgid "Date"
msgstr ""
#: Title
msgid "Date and time setting"
msgstr ""
#: Button.ConfigDate
msgid "Set date and time"
msgstr ""
#: Text.Time
msgid "Time"
msgstr ""
#: Text.Months.1
msgid "January"
msgstr ""
#: Text.Months.2
msgid "February"
msgstr ""
#: Text.Months.3
msgid "March"
msgstr ""
#: Text.Months.4
msgid "April"
msgstr ""
#: Text.Months.5
msgid "May"
msgstr ""
#: Text.Months.6
msgid "June"
msgstr ""
#: Text.Months.7
msgid "July"
msgstr ""
#: Text.Months.8
msgid "August"
msgstr ""
#: Text.Months.9
msgid "September"
msgstr ""
#: Text.Months.10
msgid "October"
msgstr ""
#: Text.Months.11
msgid "November"
msgstr ""
#: Text.Months.12
msgid "December"
msgstr ""
#: Help.ChangeDate
msgid "Change the time and date for the CryptoBox server."
msgstr ""
#: SuccessMessage.DateChanged.Title
msgid "Date changed"
msgstr ""
#: SuccessMessage.DateChanged.Text
msgid "The date was changed successfully."
msgstr ""
#: WarningMessage.InvalidDate.Title
msgid "Invalid value"
msgstr ""
#: WarningMessage.InvalidDate.Text
msgid "An invalid value for date or time was supplied. Please try again."
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Title
msgid "Missing program"
msgstr ""
#: EnvironmentWarning.MissingProgramDate.Text
msgid "The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly."
msgstr ""

View file

@ -0,0 +1,47 @@
Name = Change date and time
Link = Date
Title = Date and time setting
Button.ConfigDate = Set date and time
Text.Date = Date
Text.Time = Time
Text.Months {
1 = January
2 = February
3 = March
4 = April
5 = May
6 = June
7 = July
8 = August
9 = September
10 = October
11 = November
12 = December
}
Help.ChangeDate = Change the time and date for the CryptoBox server.
SuccessMessage {
DateChanged {
Title = Date changed
Text = The date was changed successfully.
}
}
WarningMessage {
InvalidDate {
Title = Invalid value
Text = An invalid value for date or time was supplied. Please try again.
}
}
EnvironmentWarning {
MissingProgramDate {
Title = Missing program
Text = The program 'date' is not installed. Please ask the administrator of the CryptoBox server to configure it properly.
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1,58 @@
#!/usr/bin/env python
#
# 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"
## necessary: otherwise CryptoBoxRootActions.py will refuse to execute this script
PLUGIN_TYPE = "cryptobox"
DATE_BIN = "/bin/date"
import subprocess
import re
import sys
import os
if __name__ == "__main__":
args = sys.argv[1:]
self_bin = sys.argv[0]
if len(args) > 1:
sys.stderr.write("%s: too many arguments (%s)\n" % (self_bin, args))
sys.exit(1)
if len(args) == 0:
sys.stderr.write("%s: no argument supplied\n" % self_bin)
sys.exit(1)
if re.search(r'\D', args[0]):
sys.stderr.write("%s: illegal argument (%s)\n" % (self_bin, args[0]))
sys.exit(1)
proc = subprocess.Popen(
shell = False,
stdout = subprocess.PIPE,
args = [DATE_BIN, args[0]])
proc.wait()
sys.exit(proc.returncode)

View file

@ -0,0 +1,97 @@
#
# 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_get_date(self):
"""retrieve the current date"""
date = self._get_current_date()
def test_change_date(self):
"""set the date back and forth"""
now = self._get_current_date()
## copy current time
new_date = dict(now)
## move three minutes forward (more is not nice because of screensavers)
new_date["minute"] = (now["minute"] + 3) % 60
## in case of minute-overflow we also have to move the hour a little bit forward
new_date["hour"] = now["hour"] + ((now["minute"] + 3) / 60)
## move forward ...
self._setDate(new_date)
self.assertEquals(new_date, self._get_current_date())
## ... and backward
self._setDate(now)
self.assertEquals(now, self._get_current_date())
def test_try_broken_date(self):
"""expect error messages for invalid dates"""
self._setDate({"hour":12, "minute":40, "year":2004, "month":7, "day":0})
self.cmd.find("invalid value for date")
self._setDate({"hour":12, "minute":40, "year":"x", "month":7, "day":2})
self.cmd.find("invalid value for date")
self._setDate({"hour":12, "minute":40, "year":2004, "month":2, "day":31})
self.cmd.find("invalid value for date")
def _get_current_date(self):
date_url = self.url + "date"
self.register_auth(date_url)
self.cmd.go(date_url)
self.cmd.find("Data.Status.Plugins.date=([0-9]+/[0-9]+/[0-9]+/[0-9]+/[0-9]+/[0-9]+)$", "m")
dateNumbers = self.locals["__match__"].split("/")
self.assertEquals(len(dateNumbers), 6)
## we ignore seconds
dateField = {
"year" : int(dateNumbers[0]),
"month" : int(dateNumbers[1]),
"day" : int(dateNumbers[2]),
"hour" : int(dateNumbers[3]),
"minute" : int(dateNumbers[4])}
return dateField
def _setDate(self, date):
"""for now we have to use this function instead of the one below"""
date_url = self.url + "date?weblang=en&store=1&year=%s&month=%s&day=%s&hour=%s&minute=%s"\
% (str(date["year"]), str(date["month"]), str(date["day"]),
str(date["hour"]), str(date["minute"]))
self.register_auth(date_url)
self.cmd.go(date_url)
def _setDateBroken(self, date):
"""this should work, but the parsing of twill seems to be broken
as soon as the twill bug is fixed, we should use this function"""
date_url = self.url + "date"
self.register_auth(date_url)
self.cmd.go(date_url)
self.cmd.formvalue("set_date", "year", str(date["year"]))
self.cmd.formvalue("set_date", "month", str(date["month"]))
self.cmd.formvalue("set_date", "day", str(date["day"]))
self.cmd.formvalue("set_date", "hour", str(date["hour"]))
self.cmd.formvalue("set_date", "minute", str(date["minute"]))
self.cmd.submit()