, 2013.
+# This file is distributed under the same license as the cashonly package.
#
#, fuzzy
msgid ""
@@ -195,183 +194,183 @@ msgstr "Kontoauszug"
msgid "Debt Reminder"
msgstr "Schuldenerinnerung"
-#: templates/cash/base.html:22 templates/cash/buy_confirm.html:17
-#: templates/cash/product_detail.html:11
+#: templates/cashonly/base.html:22 templates/cashonly/buy_confirm.html:17
+#: templates/cashonly/product_detail.html:11
msgid "Name"
msgstr "Name"
-#: templates/cash/base.html:24 templates/cash/login.html:25
+#: templates/cashonly/base.html:24 templates/cashonly/login.html:25
msgid "Username"
msgstr "Benutzername"
-#: templates/cash/base.html:25
+#: templates/cashonly/base.html:25
msgid "Credit"
msgstr "Guthaben"
-#: templates/cash/base.html:27
+#: templates/cashonly/base.html:27
msgid "Warning!"
msgstr "Achtung!"
-#: templates/cash/base.html:27
+#: templates/cashonly/base.html:27
#, python-format
msgid "Only %(debtlimitamount)s € until reaching the debt limit."
msgstr ""
"Nur noch %(debtlimitamount)s € bis zum Erreichen des "
"Schuldenlimits."
-#: templates/cash/base.html:63
+#: templates/cashonly/base.html:63
msgid "Overview"
msgstr "Übersicht"
-#: templates/cash/base.html:64 templates/cash/includes/product_list.html:12
+#: templates/cashonly/base.html:64 templates/cashonly/includes/product_list.html:12
msgid "Buy"
msgstr "Kaufen"
-#: templates/cash/base.html:65
+#: templates/cashonly/base.html:65
msgctxt "monthly staement"
msgid "Transaction list"
msgstr "Kontoauszug"
-#: templates/cash/base.html:66 templates/cash/usersettings.html:29
-#: templates/cash/usersettings_saved.html:6
+#: templates/cashonly/base.html:66 templates/cashonly/usersettings.html:29
+#: templates/cashonly/usersettings_saved.html:6
msgid "Preferences"
msgstr "Einstellungen"
-#: templates/cash/base.html:68
+#: templates/cashonly/base.html:68
msgid "Administration"
msgstr "Administration"
-#: templates/cash/base.html:80
+#: templates/cashonly/base.html:80
msgid "Logout"
msgstr "Abmelden"
-#: templates/cash/base.html:92
+#: templates/cashonly/base.html:92
#, python-format
msgid "Welcome, %(firstname)s!"
msgstr "Herzlich willkommen, %(firstname)s!"
-#: templates/cash/base.html:98
+#: templates/cashonly/base.html:98
msgid "Account information"
msgstr "Kontoinformationen"
-#: templates/cash/base.html:102
+#: templates/cashonly/base.html:102
msgid "Username:"
msgstr "Benutzername:"
-#: templates/cash/base.html:104
+#: templates/cashonly/base.html:104
msgid "Full name:"
msgstr "Realname:"
-#: templates/cash/base.html:106
+#: templates/cashonly/base.html:106
msgid "E-Mail address:"
msgstr "E-Mail Adresse:"
-#: templates/cash/base.html:108
+#: templates/cashonly/base.html:108
msgid "Credit:"
msgstr "Guthaben:"
-#: templates/cash/base.html:117
+#: templates/cashonly/base.html:117
msgid "Last purchased products"
msgstr "Zuletzt gekaufte Produkte"
-#: templates/cash/base.html:127
+#: templates/cashonly/base.html:127
msgid "Your transactions in the last 12 hours"
msgstr "Transaktionen in den vergangenen 12 Stunden"
-#: templates/cash/base.html:133
+#: templates/cashonly/base.html:133
msgid "There where no transactions in your account in the last 12 hours."
msgstr "In den vergangenen 12 Stunden wurden keine Transaktionen durchgeführt."
-#: templates/cash/buy_confirm.html:8 templates/cash/buy_error.html:8
-#: templates/cash/buy_thanks.html:8
+#: templates/cashonly/buy_confirm.html:8 templates/cashonly/buy_error.html:8
+#: templates/cashonly/buy_thanks.html:8
msgid "Buy product"
msgstr "Produkt kaufen"
-#: templates/cash/buy_confirm.html:13
+#: templates/cashonly/buy_confirm.html:13
msgid "Confirm purchase."
msgstr "Einkauf bestätigen."
-#: templates/cash/buy_confirm.html:18 templates/cash/product_detail.html:12
+#: templates/cashonly/buy_confirm.html:18 templates/cashonly/product_detail.html:12
msgid "Price"
msgstr "Preis"
-#: templates/cash/buy_confirm.html:19 templates/cash/product_detail.html:13
+#: templates/cashonly/buy_confirm.html:19 templates/cashonly/product_detail.html:13
msgid "Category"
msgstr "Kategorie"
-#: templates/cash/buy_confirm.html:22
+#: templates/cashonly/buy_confirm.html:22
msgid "Do you really want to buy this product?"
msgstr "Möchtest du dieses Produkt wirklich kaufen?"
-#: templates/cash/buy_confirm.html:23 templates/cash/buy_confirm.html.py:24
+#: templates/cashonly/buy_confirm.html:23 templates/cashonly/buy_confirm.html.py:24
msgid "Yes"
msgstr "Ja"
-#: templates/cash/buy_confirm.html:25
+#: templates/cashonly/buy_confirm.html:25
msgid "No"
msgstr "Nein"
-#: templates/cash/buy_error.html:11
+#: templates/cashonly/buy_error.html:11
msgid "You cannot buy this product, as the debt limit has been reached."
msgstr ""
"Du kannst dieses Produkt nicht kaufen, da das Schuldenlimit erreicht wurde."
-#: templates/cash/buy_error.html:14 templates/cash/buy_thanks.html:14
-#: templates/cash/usersettings_saved.html:11
+#: templates/cashonly/buy_error.html:14 templates/cashonly/buy_thanks.html:14
+#: templates/cashonly/usersettings_saved.html:11
msgid "Back"
msgstr "Zurück"
-#: templates/cash/buy_thanks.html:11
+#: templates/cashonly/buy_thanks.html:11
msgid "Thanks for your purchase!"
msgstr "Danke für deinen Einkauf."
-#: templates/cash/login.html:24
+#: templates/cashonly/login.html:24
msgid "Please sign in"
msgstr "Bitte anmelden."
-#: templates/cash/login.html:26
+#: templates/cashonly/login.html:26
msgid "Password"
msgstr "Passwort"
-#: templates/cash/login.html:27
+#: templates/cashonly/login.html:27
msgid "Sign in"
msgstr "Anmelden"
-#: templates/cash/product_detail.html:8
+#: templates/cashonly/product_detail.html:8
msgid "Product details"
msgstr "Produktdetails"
-#: templates/cash/product_list.html:10
+#: templates/cashonly/product_list.html:10
msgid "All categories"
msgstr "Alle Kategorien"
-#: templates/cash/transaction_list.html:7
+#: templates/cashonly/transaction_list.html:7
msgctxt "monthly statement"
msgid "Transaction list"
msgstr "Kontoauszug"
-#: templates/cash/transaction_list.html:13
+#: templates/cashonly/transaction_list.html:13
msgid "less detailed"
msgstr "weniger Details"
-#: templates/cash/transaction_list.html:15
+#: templates/cashonly/transaction_list.html:15
msgid "more detailed"
msgstr "mehr Details"
-#: templates/cash/transaction_list.html:24
+#: templates/cashonly/transaction_list.html:24
#, python-format
msgid "Page %(current)s of %(num)s"
msgstr "Seite %(current)s von %(num)s"
-#: templates/cash/transaction_list.html:30
+#: templates/cashonly/transaction_list.html:30
msgid "No transactions have been made, yet."
msgstr "Es wurden noch keine Transaktionen durchgeführt."
-#: templates/cash/usersettings.html:34
+#: templates/cashonly/usersettings.html:34
msgid "Daily digest"
msgstr "Tägliche Zusammenfassung"
-#: templates/cash/usersettings.html:36
+#: templates/cashonly/usersettings.html:36
msgid ""
"The digest will be sent nightly, as long as there were transaction made in "
"the past 24 hours."
@@ -379,15 +378,15 @@ msgstr ""
"Der Kontoauszug wird nachts versandt, sofern in den vergangenen 24 Stunden "
"Kontobewegungen stattgefunden haben."
-#: templates/cash/usersettings.html:40 templates/cash/usersettings.html:60
+#: templates/cashonly/usersettings.html:40 templates/cashonly/usersettings.html:60
msgid "Save"
msgstr ""
-#: templates/cash/usersettings.html:52
+#: templates/cashonly/usersettings.html:52
msgid "Change PIN"
msgstr "PIN ändern"
-#: templates/cash/usersettings.html:54
+#: templates/cashonly/usersettings.html:54
msgid ""
"The PIN is asked for after scanning the member's ID card. If this field is "
"left blank, no PIN will be needed to log in."
@@ -395,39 +394,39 @@ msgstr ""
"Der PIN wird nach dem Einscannen des Mitgliederausweises abgefragt. Wenn das "
"Feld leergelassen wird, wird kein PIN abgefragt."
-#: templates/cash/usersettings.html:75 templates/cash/usersettings.html:82
+#: templates/cashonly/usersettings.html:75 templates/cashonly/usersettings.html:82
msgid "Clear PIN"
msgstr "PIN löschen"
-#: templates/cash/usersettings.html:78
+#: templates/cashonly/usersettings.html:78
msgid "Do you really want to clear your PIN?"
msgstr "Möchtest du deinen PIN wirklich löschen?"
-#: templates/cash/usersettings.html:81
+#: templates/cashonly/usersettings.html:81
msgid "Cancel"
msgstr "Abbrechen"
-#: templates/cash/usersettings_saved.html:9
+#: templates/cashonly/usersettings_saved.html:9
msgid "The settings have been saved successfully!"
msgstr "Die Einstellungen wurden erfolgreich gespeichert."
-#: templates/cash/includes/product_list.html:8
+#: templates/cashonly/includes/product_list.html:8
msgid "Product image"
msgstr "Produktbild"
-#: templates/cash/includes/transaction_list.html:7
+#: templates/cashonly/includes/transaction_list.html:7
msgid "Date"
msgstr "Datum"
-#: templates/cash/includes/transaction_list.html:8
+#: templates/cashonly/includes/transaction_list.html:8
msgid "Subject"
msgstr "Betreff"
-#: templates/cash/includes/transaction_list.html:9
+#: templates/cashonly/includes/transaction_list.html:9
msgid "Description"
msgstr "Beschreibung"
-#: templates/cash/includes/transaction_list.html:10
+#: templates/cashonly/includes/transaction_list.html:10
msgctxt "money"
msgid "amount"
msgstr "Betrag"
diff --git a/cash/management/__init__.py b/cashonly/management/__init__.py
similarity index 100%
rename from cash/management/__init__.py
rename to cashonly/management/__init__.py
diff --git a/cash/management/commands/__init__.py b/cashonly/management/commands/__init__.py
similarity index 100%
rename from cash/management/commands/__init__.py
rename to cashonly/management/commands/__init__.py
diff --git a/cash/management/commands/dailydigest.py b/cashonly/management/commands/dailydigest.py
similarity index 96%
rename from cash/management/commands/dailydigest.py
rename to cashonly/management/commands/dailydigest.py
index 6ff383f..694a9d1 100644
--- a/cash/management/commands/dailydigest.py
+++ b/cashonly/management/commands/dailydigest.py
@@ -1,4 +1,4 @@
-from cash.models import *
+from cashonly.models import *
from django.conf import settings
from django.core.mail import send_mass_mail
from django.core.management.base import NoArgsCommand, CommandError
@@ -20,7 +20,7 @@ class Command(NoArgsCommand):
def handle_noargs(self, **options):
translation.activate('de')
- tpl = get_template('cash/daily_digest.txt')
+ tpl = get_template('cashonly/daily_digest.txt')
messages = []
for a in Account.objects.all():
@@ -29,7 +29,7 @@ class Command(NoArgsCommand):
'credit': a.credit,
'range': RANGE,
'url': USERSETTINGS_URL}
-
+
transactions = Transaction.objects.filter(account = a) \
.filter(timestamp__gte=(datetime.datetime.now()
- datetime.timedelta(hours = RANGE)))
diff --git a/cash/management/commands/debtreminder.py b/cashonly/management/commands/debtreminder.py
similarity index 92%
rename from cash/management/commands/debtreminder.py
rename to cashonly/management/commands/debtreminder.py
index aa9d298..09a10f9 100644
--- a/cash/management/commands/debtreminder.py
+++ b/cashonly/management/commands/debtreminder.py
@@ -1,5 +1,5 @@
-from cash.models import *
+from cashonly.models import *
from django.conf import settings
from django.core.mail import send_mass_mail
from django.core.management.base import NoArgsCommand
@@ -14,7 +14,7 @@ class Command(NoArgsCommand):
def handle_noargs(self, **options):
translation.activate('de')
- tpl = get_template('cash/debt_reminder.txt')
+ tpl = get_template('cashonly/debt_reminder.txt')
messages = []
for a in Account.objects.all():
diff --git a/cash/models.py b/cashonly/models.py
similarity index 100%
rename from cash/models.py
rename to cashonly/models.py
diff --git a/cash/static/images/no-image.png b/cashonly/static/images/no-image.png
similarity index 100%
rename from cash/static/images/no-image.png
rename to cashonly/static/images/no-image.png
diff --git a/cash/static/signin.css b/cashonly/static/signin.css
similarity index 100%
rename from cash/static/signin.css
rename to cashonly/static/signin.css
diff --git a/cash/static/style.css b/cashonly/static/style.css
similarity index 100%
rename from cash/static/style.css
rename to cashonly/static/style.css
diff --git a/cash/templates/cash/base.html b/cashonly/templates/cashonly/base.html
similarity index 95%
rename from cash/templates/cash/base.html
rename to cashonly/templates/cashonly/base.html
index 41fbb8c..a17f18e 100644
--- a/cash/templates/cash/base.html
+++ b/cashonly/templates/cashonly/base.html
@@ -116,7 +116,7 @@
{% trans "Last purchased products" %}
- {% include "cash/includes/product_list.html" with products=latest_purchases class="col-xs-6 col-md-4" only %}
+ {% include "cashonly/includes/product_list.html" with products=latest_purchases class="col-xs-6 col-md-4" only %}
@@ -126,7 +126,7 @@
{% trans "Your transactions in the last 12 hours" %}
{% if latest_transactions %}
- {% include "cash/includes/transaction_list.html" with transactions=latest_transactions only %}
+ {% include "cashonly/includes/transaction_list.html" with transactions=latest_transactions only %}
{% else %}
{% blocktrans %}There where no transactions in your account in the last 12 hours.{% endblocktrans %}
diff --git a/cash/templates/cash/buy_confirm.html b/cashonly/templates/cashonly/buy_confirm.html
similarity index 96%
rename from cash/templates/cash/buy_confirm.html
rename to cashonly/templates/cashonly/buy_confirm.html
index fd7b4a8..69619a3 100644
--- a/cash/templates/cash/buy_confirm.html
+++ b/cashonly/templates/cashonly/buy_confirm.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load i18n %}
diff --git a/cash/templates/cash/buy_error.html b/cashonly/templates/cashonly/buy_error.html
similarity index 89%
rename from cash/templates/cash/buy_error.html
rename to cashonly/templates/cashonly/buy_error.html
index 79cd55b..82a314c 100644
--- a/cash/templates/cash/buy_error.html
+++ b/cashonly/templates/cashonly/buy_error.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load i18n %}
diff --git a/cash/templates/cash/buy_thanks.html b/cashonly/templates/cashonly/buy_thanks.html
similarity index 88%
rename from cash/templates/cash/buy_thanks.html
rename to cashonly/templates/cashonly/buy_thanks.html
index 1e4aa23..9a013ea 100644
--- a/cash/templates/cash/buy_thanks.html
+++ b/cashonly/templates/cashonly/buy_thanks.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load i18n %}
diff --git a/cash/templates/cash/daily_digest.txt b/cashonly/templates/cashonly/daily_digest.txt
similarity index 100%
rename from cash/templates/cash/daily_digest.txt
rename to cashonly/templates/cashonly/daily_digest.txt
diff --git a/cash/templates/cash/debt_reminder.txt b/cashonly/templates/cashonly/debt_reminder.txt
similarity index 100%
rename from cash/templates/cash/debt_reminder.txt
rename to cashonly/templates/cashonly/debt_reminder.txt
diff --git a/cash/templates/cash/includes/product_list.html b/cashonly/templates/cashonly/includes/product_list.html
similarity index 100%
rename from cash/templates/cash/includes/product_list.html
rename to cashonly/templates/cashonly/includes/product_list.html
diff --git a/cash/templates/cash/includes/transaction_list.html b/cashonly/templates/cashonly/includes/transaction_list.html
similarity index 100%
rename from cash/templates/cash/includes/transaction_list.html
rename to cashonly/templates/cashonly/includes/transaction_list.html
diff --git a/cashonly/templates/cashonly/index.html b/cashonly/templates/cashonly/index.html
new file mode 100644
index 0000000..3cbf89a
--- /dev/null
+++ b/cashonly/templates/cashonly/index.html
@@ -0,0 +1 @@
+{% extends "cashonly/base.html" %}
diff --git a/cash/templates/cash/login.html b/cashonly/templates/cashonly/login.html
similarity index 100%
rename from cash/templates/cash/login.html
rename to cashonly/templates/cashonly/login.html
diff --git a/cash/templates/cash/product_detail.html b/cashonly/templates/cashonly/product_detail.html
similarity index 90%
rename from cash/templates/cash/product_detail.html
rename to cashonly/templates/cashonly/product_detail.html
index 81966b2..1c6184f 100644
--- a/cash/templates/cash/product_detail.html
+++ b/cashonly/templates/cashonly/product_detail.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load i18n %}
diff --git a/cash/templates/cash/product_list.html b/cashonly/templates/cashonly/product_list.html
similarity index 77%
rename from cash/templates/cash/product_list.html
rename to cashonly/templates/cashonly/product_list.html
index 50aa357..52cee30 100644
--- a/cash/templates/cash/product_list.html
+++ b/cashonly/templates/cashonly/product_list.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load static %}
{% load i18n %}
@@ -15,6 +15,6 @@
-{% include "cash/includes/product_list.html" with products=product_list only %}
+{% include "cashonly/includes/product_list.html" with products=product_list only %}
{% endblock %}
diff --git a/cash/templates/cash/transaction_list.html b/cashonly/templates/cashonly/transaction_list.html
similarity index 91%
rename from cash/templates/cash/transaction_list.html
rename to cashonly/templates/cashonly/transaction_list.html
index eae438f..ff4710e 100644
--- a/cash/templates/cash/transaction_list.html
+++ b/cashonly/templates/cashonly/transaction_list.html
@@ -1,4 +1,4 @@
-{% extends "cash/base.html" %}
+{% extends "cashonly/base.html" %}
{% load i18n %}
@@ -16,7 +16,7 @@
-{% include "cash/includes/transaction_list.html" with transactions=transaction_list only %}
+{% include "cashonly/includes/transaction_list.html" with transactions=transaction_list only %}