about summary refs log tree commit diff
path: root/src/Locales.hs
diff options
context:
space:
mode:
authorVincent Ambo <v.ambo@me.com>2012-04-04T00·20+0200
committerVincent Ambo <v.ambo@me.com>2012-04-04T00·20+0200
commit3e16a443e67932ffa99d33e45591f14c0e44ef5a (patch)
tree4c331621ccec19f58caf40bc4db218955175999a /src/Locales.hs
parent5b80f528c7c518c7d82e70635f265be3c0120327 (diff)
version 3.3:
* added reCaptcha again (got too much spam)
Diffstat (limited to 'src/Locales.hs')
-rw-r--r--src/Locales.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Locales.hs b/src/Locales.hs
index 8041c4178b0f..b49434303658 100644
--- a/src/Locales.hs
+++ b/src/Locales.hs
@@ -16,7 +16,7 @@ import    BlogDB (BlogLang (..))
 
 data BlogError = NotFound | DBError
 
-version = "3.2"
+version = "3.3"
 
 allLang = [EN, DE]
 
@@ -28,6 +28,10 @@ blogTitle :: BlogLang -> Text -> Text
 blogTitle DE s = T.concat ["Tazjins Blog", s]
 blogTitle EN s = T.concat ["Tazjin's Blog", s]
 
+showLangText :: BlogLang -> Text
+showLangText EN = "en"
+showLangText DE = "de"
+
 -- index site headline
 topText DE = "Aktuelle Einträge"
 topText EN = "Latest entries"