about summary refs log tree commit diff
path: root/src/Locales.hs
diff options
context:
space:
mode:
authorVincent Ambo <viam@humac.com>2012-03-03T15·39+0100
committerVincent Ambo <viam@humac.com>2012-03-03T15·39+0100
commit96093c9009554cd63431022635fccf54e47438e2 (patch)
treeab73bc04716645ac52068336d4f45c470e600707 /src/Locales.hs
parent485e27147574106d5925ea9ab880739d8e1c4f6e (diff)
* Pagination (finally!)
* slight CSS change
Diffstat (limited to 'src/Locales.hs')
-rw-r--r--src/Locales.hs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Locales.hs b/src/Locales.hs
index c3d11bc887af..6fb5849b8c0f 100644
--- a/src/Locales.hs
+++ b/src/Locales.hs
@@ -17,6 +17,10 @@ version = ("2.2b" :: String)
 
 allLang = [EN, DE]
 
+if' :: Bool -> a -> a -> a
+if' True x _ = x
+if' False _ y = y
+
 blogTitle :: BlogLang -> String -> String
 blogTitle DE s = "Tazjins Blog" ++ s
 blogTitle EN s = "Tazjin's Blog" ++ s
@@ -59,11 +63,11 @@ getMonth l y m = monthName l m ++ show y
 entireMonth DE = "Ganzer Monat"
 entireMonth EN = "Entire month"
 
-prevMonth DE = "Früher"
-prevMonth EN = "Earlier"
+backText DE = "Früher"
+backText EN = "Earlier"
 
-nextMonth DE = "Später"
-nextMonth EN = "Later"
+nextText DE = "Später"
+nextText EN = "Later"
 
 -- contact information
 contactText DE = "Wer mich kontaktieren will: "