Skip to content

Commit

Permalink
v2.1.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed May 6, 2014
1 parent 65a7362 commit 9734374
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions project.clj
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 9734374

Please sign in to comment.