Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

v2.1.0-SNAPSHOT

  • Loading branch information...
commit 9734374c2b35bf54c1cb7d5a467e6dedae20a661 1 parent 65a7362
Peter Taoussanis authored
Showing with 6 additions and 4 deletions.
  1. +3 −0  CHANGELOG.md
  2. +1 −2  README.md
  3. +2 −2 project.clj
3  CHANGELOG.md
View
@@ -2,9 +2,12 @@
* **CHANGE**: Default :missing translations entry now avoids <>'s (no need for html escaping).
* **CHANGE**: `languages` now returns languages as "localized (unlocalized)" pairs rather than "unlocalized (localized)" pairs.
+ * **CHANGE** (from RC1): ClojureScript macros are now in primary `tower.clj` ns.
* **NEW**: `timezones` fn now supports optional timezone-ids arg.
* **NEW**: Add `all-timezone-ids` set.
* **NEW**: `locale`, `try-locale` now have an optional arg to return simplified (lang-only) locales.
+ * [#43] **NEW**: Translation fns can now take a _vector_ of descending-preference locales (@vvvvalvalval).
+ * [#43] **NEW**: Ring middleware now automatically attaches a smarter translation fn that'll search through all of a client's sorted Accept-Language header languages when looking for a translation.
## v2.1.0-RC1 / 2014 Mar 30
3  README.md
View
@@ -119,8 +119,7 @@ In all cases, translation requests are logged upon fallback to fallback locale o
```clojure
(ns my-clojurescript-ns
- (:require-macros [taoensso.tower :as tower-macros :refer (with-tscope)])
- (:require [taoensso.tower :as tower]))
+ (:require [taoensso.tower :as tower :refer-macros (with-tscope)]))
(def ^:private tconfig
{:fallback-locale :en
4 project.clj
View
@@ -1,4 +1,4 @@
-(defproject com.taoensso/tower "2.1.0-RC1"
+(defproject com.taoensso/tower "2.1.0-SNAPSHOT"
:author "Peter Taoussanis <https://www.taoensso.com>"
:description "Clojure i18n & L10n library"
:url "https://github.com/ptaoussanis/tower"
@@ -13,7 +13,7 @@
[[org.clojure/clojure "1.4.0"]
[com.taoensso/encore "1.5.0"]
[com.taoensso/timbre "3.1.6"]
- [markdown-clj "0.9.41"]]
+ [markdown-clj "0.9.43"]]
:test-paths ["test" "src"]
:profiles
Please sign in to comment.
Something went wrong with that request. Please try again.