summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/404.mako6
-rw-r--r--templates/pages/add.mako4
-rw-r--r--templates/pages/cats.mako2
-rw-r--r--templates/pages/const.mako21
-rw-r--r--templates/pages/constadd.mako4
-rw-r--r--templates/pages/constedit.mako2
-rw-r--r--templates/pages/constlist.mako8
-rw-r--r--templates/pages/edit.mako2
-rw-r--r--templates/pages/show.mako4
9 files changed, 29 insertions, 24 deletions
diff --git a/templates/404.mako b/templates/404.mako
index c47aee3..c8f5cd2 100644
--- a/templates/404.mako
+++ b/templates/404.mako
@@ -1,11 +1,11 @@
<%!
- title = "404 -- Page not found!"
+ title = "404 -- Seite konnte nicht gefunden werden!"
%>
<%inherit file="/page.mako" />
<p>
-Sorry - the requested page <i>${page}</i> cannot be found.
+ Sorry - die Seite <i>${page}</i> konnte nicht gefunden werden.
</p>
<%def name="heading()">
- 404 -- Page not found!
+ 404 -- Seite nicht gefunden
</%def>
diff --git a/templates/pages/add.mako b/templates/pages/add.mako
index daf26f1..4c7116f 100644
--- a/templates/pages/add.mako
+++ b/templates/pages/add.mako
@@ -1,7 +1,7 @@
<%inherit file="/page.mako" />
% if not form.valid:
- ERROR!
+ FEHLER!
% endif
<form name="add_expense" method="post">
@@ -10,7 +10,7 @@
</form>
<%def name="heading()">
- Add new expense
+ Neue Ausgabe hinzufügen
</%def>
<%def name="js()">
diff --git a/templates/pages/cats.mako b/templates/pages/cats.mako
index 3dbef4c..87fa3e9 100644
--- a/templates/pages/cats.mako
+++ b/templates/pages/cats.mako
@@ -13,7 +13,7 @@
<input id="new" name="n-" style="display:none;" />
<%def name="heading()">
- Categories
+ Kategorien
</%def>
<%def name="js()">
diff --git a/templates/pages/const.mako b/templates/pages/const.mako
index bbea78d..c8ea251 100644
--- a/templates/pages/const.mako
+++ b/templates/pages/const.mako
@@ -1,13 +1,18 @@
<%inherit file="/page.mako" />
<ul class="arrow">
- <li><span class="heading">Description:</span> ${exp.description}</li>
- <li><span class="heading">Category:</span> ${exp.category.name}</li>
- <li><span class="heading">Expense:</span> ${exp.expense}</li>
- <li><span class="heading">Monthly expense:</span> ${exp.monthly}</li>
- <li><span class="heading">Start Date:</span> ${dformat(exp.start)}</li>
- <li><span class="heading">End Date:</span> ${dformat(exp.end)}</li>
- <li><span class="heading">Occurrence (every x months):</span> ${exp.months}</li>
+ <li><span class="heading">Beschreibung:</span> ${exp.description}</li>
+ <li><span class="heading">Kategorie:</span> ${exp.category.name}</li>
+ <li><span class="heading">Betrag:</span> ${exp.expense}</li>
+ <li><span class="heading">Betrag pro Monat:</span> ${exp.monthly}</li>
+ <li><span class="heading">Start:</span> ${dformat(exp.start)}</li>
+ <li><span class="heading">Ende:</span> ${dformat(exp.end)}</li>
+ <li><span class="heading">Zahlungsrhythmus:</span>
+ % if exp.months == 1:
+ jeden Monat
+ % else:
+ alle ${exp.months} Monate
+ % endif
</ul>
<p><a href=${"/const/edit/%s" % exp.id | url}>Edit</a> <a href=${"/const/add/from/%s" % exp.id | url}>Create new based on this</a></p>
@@ -25,5 +30,5 @@
%>
<%def name="heading()">
- Constant Expense
+ Konstante Kosten
</%def>
diff --git a/templates/pages/constadd.mako b/templates/pages/constadd.mako
index 3eb78bc..6b6a98f 100644
--- a/templates/pages/constadd.mako
+++ b/templates/pages/constadd.mako
@@ -1,7 +1,7 @@
<%inherit file="/page.mako" />
% if not form.valid:
- ERROR!
+ FEHLER!
% endif
<form name="add_const_expense" method="post">
@@ -10,5 +10,5 @@
</form>
<%def name="heading()">
- Add new constant expense
+ Füge neue konstante Ausgabe hinzu
</%def>
diff --git a/templates/pages/constedit.mako b/templates/pages/constedit.mako
index d275cce..91aa1d8 100644
--- a/templates/pages/constedit.mako
+++ b/templates/pages/constedit.mako
@@ -1,5 +1,5 @@
<%inherit file="constadd.mako" />
<%def name="heading()">
- Edit constant expense
+ Konstante Ausgabe bearbeiten
</%def>
diff --git a/templates/pages/constlist.mako b/templates/pages/constlist.mako
index 12f6f85..02ff5aa 100644
--- a/templates/pages/constlist.mako
+++ b/templates/pages/constlist.mako
@@ -1,15 +1,15 @@
<%inherit file="/page.mako" />
-<p><a href=${"/const/add" | url}>Add new</a></p>
+<p><a href=${"/const/add" | url}>Neuen Eintrag hinzufügen</a></p>
-<h2>Current</h2>
+<h2>Aktuell</h2>
<ul class="arrow">
% for c in current:
<li><a href=${"/const/%s" % c.id | url}>${c.description} (${c.expense})</a></li>
% endfor
</ul>
-<h2>Outdated</h2>
+<h2>Veraltet</h2>
<ul class="arrow">
% for c in old:
<li><a href=${"/const/%s" % c.id | url}>${c.description} (${c.expense})</a></li>
@@ -17,5 +17,5 @@
</ul>
<%def name="heading()">
- Constant Expenses
+ Konstante Kosten
</%def>
diff --git a/templates/pages/edit.mako b/templates/pages/edit.mako
index 760c706..a6f5815 100644
--- a/templates/pages/edit.mako
+++ b/templates/pages/edit.mako
@@ -1,5 +1,5 @@
<%inherit file="add.mako" />
<%def name="heading()">
- Edit expense
+ Bearbeite Kosteneintrag
</%def>
diff --git a/templates/pages/show.mako b/templates/pages/show.mako
index ea9f2e2..ed487cb 100644
--- a/templates/pages/show.mako
+++ b/templates/pages/show.mako
@@ -40,9 +40,9 @@ ${self.left_arrow(date, date)}
<%def name="heading()">
% if len(exps) > 1:
- Current expenses
+ Aktuelle Kosten
% else:
- Expenses for ${get_d(exps[0])}
+ Kosten für ${get_d(exps[0])}
% endif
</%def>