Skip to content
Browse files

Bump snap version to 0.4

  • Loading branch information...
1 parent 410920c commit 50dd7d30861b02fad555eeeba98423037a4edee3 @ozataman committed
Showing with 18 additions and 2 deletions.
  1. +16 −0 README.md
  2. +2 −2 snap-extension-si18n.cabal
View
16 README.md
@@ -8,3 +8,19 @@
## TODO
+
+Here are some pieces we might be able to integrate into this package:
+
+ * A ready-to-go "translate" Heist splice binding that gets the key from the
+ tag and splices in the translation.
+ * extension-session integration that looks up the "locale" variable from the
+ session to determine the correct locale for the active user/session
+ * A function that returns a "translator" inside the Snap monad, which itself
+ is a function that accepts a key and possibly a set of substitution tokens
+ and returns the translated value. This function can be passed to pure
+ view/template constructors.
+
+
+These ideas are being tested and will be integrated if it turns out they are
+useful.
+
View
4 snap-extension-si18n.cabal
@@ -28,8 +28,8 @@ Library
, filepath
, mtl
, si18n
- , snap >= 0.3 && < 0.4
- , snap-core >= 0.3 && < 0.4
+ , snap >= 0.4 && < 0.5
+ , snap-core >= 0.4 && < 0.5
, text >= 0.11
, transformers

0 comments on commit 50dd7d3

Please sign in to comment.
Something went wrong with that request. Please try again.