<p>
{{ _("This is the latest release from %s.") % locale.format_date(latest_release.date, relative=False, shorter=True) }}
</p>
+
+ {% if latest_release_unstable %}
+ <hr>
+
+ <h4>
+ <a href="http://downloads.ipfire.org/release/{{ latest_release_unstable.sname }}">{{ latest_release_unstable.name }}</a>
+ </h4>
+ <span class="label label-warning">{{ _("Testing release") }}</span>
+ {% end %}
</div>
{% end %}
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-26 21:34+0100\n"
+"POT-Creation-Date: 2014-03-29 19:34+0100\n"
"PO-Revision-Date: 2014-03-26 21:38+0100\n"
"Last-Translator: Michael Tremer <michael.tremer@ipfire.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/news.html:61 templates/planet/search.html:3
#: templates/planet/year.html:3 templates/planet/user.html:3
#: templates/planet/posting.html:3 templates/planet/index.html:3
-#: templates/planet/base.html:6 templates/index.html:159
+#: templates/planet/base.html:6 templates/index.html:168
msgid "IPFire Planet"
msgstr "IPFire Planet"
#: templates/static/getinvolved.html:120 templates/static/donation.html:3
#: templates/static/donation.html:8 templates/modules/menu.html:47
-#: templates/wishlist/donate.html:3 templates/wishlist/modules/wish.html:30
+#: templates/wishlist/donate.html:3 templates/wishlist/modules/wish.html:31
#: templates/download-splash.html:57
msgid "Donate"
msgstr "Spenden"
msgstr "BIC-/SWIFT-Code"
#: templates/modules/donation-box.html:85
-#: templates/modules/donation-box.html:100
msgid "Reason for transfer"
msgstr "Verwendungszweck"
-#: templates/modules/donation-box.html:92
-msgid "bank transfer within Germany"
-msgstr "Überweisung innerhalb Deutschlands"
-
-#: templates/modules/donation-box.html:95
-msgid "Bank account owner"
-msgstr "Kontoinhaber"
-
-#: templates/modules/donation-box.html:96
-msgid "Bank account number"
-msgstr "Kontonummer"
-
-#: templates/modules/donation-box.html:97
-msgid "Bank code"
-msgstr "BLZ"
-
#: templates/modules/planet-entry.html:14 templates/planet/posting.html:28
msgid "Posted by"
msgstr "Erstellt von"
msgid "Terms & Conditions"
msgstr "Allgemeine Bedingungen"
-#: templates/wishlist/modules/wish.html:5
+#: templates/wishlist/modules/wish.html:6
msgid "Only a few days left!"
msgstr "Nur noch wenige Tage!"
-#: templates/wishlist/modules/wish.html:40
+#: templates/wishlist/modules/wish.html:41
msgid "funded"
msgstr "gesammelt"
-#: templates/wishlist/modules/wish.html:44
-#: templates/wishlist/modules/wish.html:54
+#: templates/wishlist/modules/wish.html:45
+#: templates/wishlist/modules/wish.html:55
#, python-format
msgid "%s €"
msgstr "%s €"
-#: templates/wishlist/modules/wish.html:45
+#: templates/wishlist/modules/wish.html:46
msgid "donated"
msgstr "gespendet"
-#: templates/wishlist/modules/wish.html:52
+#: templates/wishlist/modules/wish.html:53
msgid "day to go"
msgid_plural "days to go"
msgstr[0] "Tag übrig"
msgstr[1] "Tage übrig"
-#: templates/wishlist/modules/wish.html:55
+#: templates/wishlist/modules/wish.html:56
msgid "to go"
msgstr "noch"
-#: templates/wishlist/modules/wish.html:58
+#: templates/wishlist/modules/wish.html:59
msgid "In progress"
msgstr "In Entwicklung"
-#: templates/wishlist/modules/wish.html:60
+#: templates/wishlist/modules/wish.html:61
msgid "Finished"
msgstr "Beendet"
-#: templates/wishlist/modules/wish.html:62
+#: templates/wishlist/modules/wish.html:63
msgid "Funding ended"
msgstr "Sammlung beendet"
-#: templates/wishlist/modules/wish.html:72
+#: templates/wishlist/modules/wish.html:73
msgid "Share this wish with your friends and help us promote it!"
msgstr ""
"Teile diesen Wunsch mit deinen Freunden und hilf diesen bekannter zu machen!"
msgid "This funding runs until the goal is reached."
msgstr "Dieses Funding läuft, bis das Ziel erreicht ist."
-#: templates/wishlist/base.html:6 templates/index.html:180
+#: templates/wishlist/base.html:6 templates/index.html:189
msgid "IPFire Wishlist"
msgstr "IPFire Wunschliste"
msgid "This is the latest release from %s."
msgstr "Dies ist das neueste Release vom %s."
-#: templates/index.html:139
+#: templates/index.html:141
+msgid "Testing release"
+msgstr "Test-Release"
+
+#: templates/index.html:148
msgid "What's new?"
msgstr "Neuigkeiten"
-#: templates/index.html:181
+#: templates/index.html:190
msgid "The IPFire Crowdfunding Platform"
msgstr "Die IPFire Crowdfunding-Plattform"
-#: templates/index.html:189
+#: templates/index.html:198
msgid "NEW"
msgstr "NEU"
-#: templates/index.html:192
+#: templates/index.html:201
#, python-format
msgid "one day left"
msgid_plural "%(num)s days left"
msgstr[0] "noch ein Tag"
msgstr[1] "noch %(num)s Tage"
-#: templates/index.html:196
+#: templates/index.html:205
#, python-format
msgid "%d%% funded"
msgstr "%d%% gesammelt"
-#: templates/index.html:220
+#: templates/index.html:229
msgid "Please support us with your donation!"
msgstr "Unterstütze dieses Projekt mit deiner Spende!"
-#: templates/index.html:233
+#: templates/index.html:242
msgid "IPFire Hardware Appliances & Consulting"
msgstr "IPFire Hardware Appliances & Consulting"
-#: templates/index.html:233
+#: templates/index.html:242
msgid "by Lightning Wire Labs"
msgstr "von Lightning Wire Labs"
msgid "No title given"
msgstr "Kein Titel"
-#: templates/base.html:89
+#: templates/base.html:76
msgid "IPFire is free software"
msgstr "IPFire ist freie Software"
msgid "%(commas)s and %(last)s"
msgstr "%(commas)s und %(last)s"
+#~ msgid "bank transfer within Germany"
+#~ msgstr "Überweisung innerhalb Deutschlands"
+
+#~ msgid "Bank account owner"
+#~ msgstr "Kontoinhaber"
+
+#~ msgid "Bank account number"
+#~ msgstr "Kontonummer"
+
+#~ msgid "Bank code"
+#~ msgstr "BLZ"
+
#~ msgid "Choose an architecture:"
#~ msgstr "Architektur auswählen:"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-26 21:34+0100\n"
+"POT-Creation-Date: 2014-03-29 19:34+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"
#: templates/news.html:61 templates/planet/search.html:3
#: templates/planet/year.html:3 templates/planet/user.html:3
#: templates/planet/posting.html:3 templates/planet/index.html:3
-#: templates/planet/base.html:6 templates/index.html:159
+#: templates/planet/base.html:6 templates/index.html:168
msgid "IPFire Planet"
msgstr ""
#: templates/static/getinvolved.html:120 templates/static/donation.html:3
#: templates/static/donation.html:8 templates/modules/menu.html:47
-#: templates/wishlist/donate.html:3 templates/wishlist/modules/wish.html:30
+#: templates/wishlist/donate.html:3 templates/wishlist/modules/wish.html:31
#: templates/download-splash.html:57
msgid "Donate"
msgstr ""
msgstr ""
#: templates/modules/donation-box.html:85
-#: templates/modules/donation-box.html:100
msgid "Reason for transfer"
msgstr ""
-#: templates/modules/donation-box.html:92
-msgid "bank transfer within Germany"
-msgstr ""
-
-#: templates/modules/donation-box.html:95
-msgid "Bank account owner"
-msgstr ""
-
-#: templates/modules/donation-box.html:96
-msgid "Bank account number"
-msgstr ""
-
-#: templates/modules/donation-box.html:97
-msgid "Bank code"
-msgstr ""
-
#: templates/modules/planet-entry.html:14 templates/planet/posting.html:28
msgid "Posted by"
msgstr ""
msgid "Terms & Conditions"
msgstr ""
-#: templates/wishlist/modules/wish.html:5
+#: templates/wishlist/modules/wish.html:6
msgid "Only a few days left!"
msgstr ""
-#: templates/wishlist/modules/wish.html:40
+#: templates/wishlist/modules/wish.html:41
msgid "funded"
msgstr ""
-#: templates/wishlist/modules/wish.html:44
-#: templates/wishlist/modules/wish.html:54
+#: templates/wishlist/modules/wish.html:45
+#: templates/wishlist/modules/wish.html:55
#, python-format
msgid "%s €"
msgstr ""
-#: templates/wishlist/modules/wish.html:45
+#: templates/wishlist/modules/wish.html:46
msgid "donated"
msgstr ""
-#: templates/wishlist/modules/wish.html:52
+#: templates/wishlist/modules/wish.html:53
msgid "day to go"
msgid_plural "days to go"
msgstr[0] ""
msgstr[1] ""
-#: templates/wishlist/modules/wish.html:55
+#: templates/wishlist/modules/wish.html:56
msgid "to go"
msgstr ""
-#: templates/wishlist/modules/wish.html:58
+#: templates/wishlist/modules/wish.html:59
msgid "In progress"
msgstr ""
-#: templates/wishlist/modules/wish.html:60
+#: templates/wishlist/modules/wish.html:61
msgid "Finished"
msgstr ""
-#: templates/wishlist/modules/wish.html:62
+#: templates/wishlist/modules/wish.html:63
msgid "Funding ended"
msgstr ""
-#: templates/wishlist/modules/wish.html:72
+#: templates/wishlist/modules/wish.html:73
msgid "Share this wish with your friends and help us promote it!"
msgstr ""
msgid "This funding runs until the goal is reached."
msgstr ""
-#: templates/wishlist/base.html:6 templates/index.html:180
+#: templates/wishlist/base.html:6 templates/index.html:189
msgid "IPFire Wishlist"
msgstr ""
msgid "This is the latest release from %s."
msgstr ""
-#: templates/index.html:139
+#: templates/index.html:141
+msgid "Testing release"
+msgstr ""
+
+#: templates/index.html:148
msgid "What's new?"
msgstr ""
-#: templates/index.html:181
+#: templates/index.html:190
msgid "The IPFire Crowdfunding Platform"
msgstr ""
-#: templates/index.html:189
+#: templates/index.html:198
msgid "NEW"
msgstr ""
-#: templates/index.html:192
+#: templates/index.html:201
#, python-format
msgid "one day left"
msgid_plural "%(num)s days left"
msgstr[0] ""
msgstr[1] ""
-#: templates/index.html:196
+#: templates/index.html:205
#, python-format
msgid "%d%% funded"
msgstr ""
-#: templates/index.html:220
+#: templates/index.html:229
msgid "Please support us with your donation!"
msgstr ""
-#: templates/index.html:233
+#: templates/index.html:242
msgid "IPFire Hardware Appliances & Consulting"
msgstr ""
-#: templates/index.html:233
+#: templates/index.html:242
msgid "by Lightning Wire Labs"
msgstr ""
msgid "No title given"
msgstr ""
-#: templates/base.html:89
+#: templates/base.html:76
msgid "IPFire is free software"
msgstr ""
if ret:
return Release(self.backend, ret.id, data=ret)
+ def get_latest_unstable(self):
+ ret = self.db.get("SELECT * FROM releases r1 \
+ WHERE r1.published IS NOT NULL AND r1.published <= NOW() \
+ AND stable = %s AND NOT EXISTS ( \
+ SELECT * FROM releases r2 WHERE r2.stable = %s AND \
+ r2.published IS NOT NULL AND r2.published >= r1.published \
+ ) ORDER BY r1.published DESC LIMIT 1", False, True)
+
+ if ret:
+ return Release(self.backend, ret.id, data=ret)
+
def get_stable(self):
query = self.db.query("SELECT * FROM releases \
WHERE published IS NOT NULL AND published <= NOW() AND stable = TRUE \
# Get the latest release.
latest_release = self.releases.get_latest()
+ latest_release_unstable = self.releases.get_latest_unstable()
# Interesting items from the wishlist.
wishlist_items = self.wishlist.get_hot_wishes()
return self.render("index.html", latest_news=latest_news,
planet_posts=planet_posts, latest_release=latest_release,
+ latest_release_unstable=latest_release_unstable,
wishlist_items=wishlist_items)