aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabout.cgi41
-rw-r--r--dudle.rb2
-rwxr-xr-xindex.cgi7
-rw-r--r--locale/de/dudle.po83
4 files changed, 118 insertions, 15 deletions
diff --git a/about.cgi b/about.cgi
new file mode 100755
index 0000000..1d78448
--- /dev/null
+++ b/about.cgi
@@ -0,0 +1,41 @@
+#!/usr/bin/env ruby
+
+############################################################################
+# Copyright 2009,2010 Benjamin Kellermann #
+# #
+# This file is part of dudle. #
+# #
+# Dudle is free software: you can redistribute it and/or modify it under #
+# the terms of the GNU Affero General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# Dudle 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 Affero General Public #
+# License for more details. #
+# #
+# You should have received a copy of the GNU Affero General Public License #
+# along with dudle. If not, see <http://www.gnu.org/licenses/>. #
+############################################################################
+
+if __FILE__ == $0
+
+require "dudle"
+
+$d = Dudle.new
+
+$d << "<div>" + _("If you find a bug or have something else, which disturbes you, please let me know:")
+$d << '<a href="mailto:Benjamin_dot_Kellermann@tu-dresden_in_germany?subject=Feedback%20to%20dudle">' + _("give feedback") + "</a></div>"
+$d << "<div><h2>" + _("--verbose") + "</h2>"
+$d << _("The sourcecode of this application is available under the terms of")
+$d << "<a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html'>" + _("AGPL Version 3") + "</a>"
+$d << "<br />"
+$d << _("You can get the code, using") + ' <a href="http://bazaar-vcs.org/">bazaar</a>:'
+$d << "<pre>bzr branch #{SITEURL} dudle</pre></div>"
+
+
+$d.out
+end
+
+
diff --git a/dudle.rb b/dudle.rb
index 3c9db83..f6981e0 100644
--- a/dudle.rb
+++ b/dudle.rb
@@ -47,6 +47,8 @@ class Dudle
tabs += @configtabs
tabs << @deletetab
tabs << ["",""]
+ else
+ tabs << [_("About"),"about.cgi"]
end
tabs << @customizetab
tabs.each{|tab,file|
diff --git a/index.cgi b/index.cgi
index 7eb012e..bd045b2 100755
--- a/index.cgi
+++ b/index.cgi
@@ -130,6 +130,13 @@ NOTICE
</form>
CREATE
+ if defined?(EXAMPLES)
+ $d << "<div><h2>" + _("Examples") + "</h2>"
+ $d << _("If you want to play around with the Tool, you may want to take a look at these Example Polls:") + "<br />"
+ $d << "<a href='#{EXAMPLES["event_schedule_example"]}'>" + _("Event Schedule Poll") + "</a><br />" if EXAMPLES["event_schedule_example"]
+ $d << "<a href='#{EXAMPLES["normal_example"]}'>" + _("Normal Poll") + "</a></div>" if EXAMPLES["normal_example"]
+ end
+
$d << NOTICE
end
diff --git a/locale/de/dudle.po b/locale/de/dudle.po
index 0ab9653..7dc9e48 100644
--- a/locale/de/dudle.po
+++ b/locale/de/dudle.po
@@ -19,8 +19,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
-"POT-Creation-Date: 2010-01-23 21:29+0100\n"
-"PO-Revision-Date: 2010-01-23 21:29+0100\n"
+"POT-Creation-Date: 2010-01-23 23:35+0100\n"
+"PO-Revision-Date: 2010-01-23 23:35+0100\n"
"Last-Translator: Benjamin Kellermann <Benjamin.Kellermann@tu-dresden.de>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -31,6 +31,35 @@ msgstr ""
"X-Poedit-Country: GERMANY\n"
"X-Poedit-SearchPath-0: .\n"
+#: about.cgi:28
+msgid ""
+"If you find a bug or have something else, which disturbes you, please let me "
+"know:"
+msgstr ""
+"Schreiben Sie mir bitte eine E-Mail, wenn Sie einen Bug finden oder etwas "
+"anderes haben, was Sie stört:"
+
+#: about.cgi:29
+msgid "give feedback"
+msgstr "Feedback"
+
+#: about.cgi:30
+msgid "--verbose"
+msgstr "--verbose"
+
+#: about.cgi:31
+msgid "The sourcecode of this application is available under the terms of"
+msgstr ""
+"Der Sourcecode zu dieser Applikation ist unter folgender Lizenz verfügbar:"
+
+#: about.cgi:32
+msgid "AGPL Version 3"
+msgstr "AGPL Version 3"
+
+#: about.cgi:34
+msgid "You can get the code, using"
+msgstr "Sie können sich den code herunterladen. Sie benötigen dazu"
+
#: customize.cgi:31 customize.rb:31
msgid "Customize Personal Settings"
msgstr "Persönliche Einstellungen anpassen"
@@ -149,6 +178,26 @@ msgstr "Kann Buchstaben, Zahlen, Bindestriche und Unterstriche enthalten."
msgid "Create"
msgstr "Erstellen"
+#: index.cgi:134
+msgid "Examples"
+msgstr "Beispiele"
+
+#: index.cgi:135
+msgid ""
+"If you want to play around with the Tool, you may want to take a look at "
+"these Example Polls:"
+msgstr ""
+"Wenn sie diese Applikation ausprobieren möchten, können sie auch auf "
+"folgende Beispielumfragen schauen:"
+
+#: index.cgi:136
+msgid "Event Schedule Poll"
+msgstr "Nach einer Zeit fragen"
+
+#: index.cgi:137
+msgid "Normal Poll"
+msgstr "Eine normale Umfrage"
+
#: access_control.rb:87
msgid "Password"
msgstr "Passwort"
@@ -313,55 +362,59 @@ msgstr "“"
msgid "Home"
msgstr "Hauptseite"
-#: dudle.rb:67
+#: dudle.rb:51
+msgid "About"
+msgstr "Über dudle"
+
+#: dudle.rb:69
msgid "Customize"
msgstr "Personalisieren"
-#: dudle.rb:71
+#: dudle.rb:73
msgid "Poll"
msgstr "Umfrage"
-#: dudle.rb:72 history.rb:35
+#: dudle.rb:74 history.rb:35
msgid "History"
msgstr "Versionen"
-#: dudle.rb:75
+#: dudle.rb:77
msgid "Edit Columns"
msgstr "Spalten bearbeiten"
-#: dudle.rb:76 invite_participants.rb:34
+#: dudle.rb:78 invite_participants.rb:34
msgid "Invite Participants"
msgstr "Teilnehmer einladen"
-#: dudle.rb:77
+#: dudle.rb:79
msgid "Access Control"
msgstr "Zugriffskontrolle"
-#: dudle.rb:78
+#: dudle.rb:80
msgid "Overview"
msgstr "Übersicht"
-#: dudle.rb:80
+#: dudle.rb:82
msgid "Delete Poll"
msgstr "Umfrage löschen"
-#: dudle.rb:147 dudle.rb:165
+#: dudle.rb:152 dudle.rb:170
msgid "Previous"
msgstr "Zurück"
-#: dudle.rb:148 dudle.rb:166
+#: dudle.rb:153 dudle.rb:171
msgid "Next"
msgstr "Weiter"
-#: dudle.rb:149 dudle.rb:167
+#: dudle.rb:154 dudle.rb:172
msgid "Finish"
msgstr "Fertig"
-#: dudle.rb:172
+#: dudle.rb:177
msgid "All changes were saved sucessfully."
msgstr "Alle Änderungen wurden erfolgreich gespeichert."
-#: dudle.rb:172
+#: dudle.rb:177
msgid "Proceed!"
msgstr "Weiter"