air18n 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/air18n/backend.rb +3 -0
- data/lib/air18n/version.rb +1 -1
- metadata +2 -2
data/lib/air18n/backend.rb
CHANGED
@@ -35,6 +35,9 @@ module Air18n
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def reload_translations(locales)
|
38
|
+
if defined?(STATSD)
|
39
|
+
STATSD.increment("Air18n.backend.reload_translations")
|
40
|
+
end
|
38
41
|
# We don't want to load translations of unused phrases, so we exclude
|
39
42
|
# unused from the set of translations we initialize.
|
40
43
|
translations_hash = PhraseTranslation.translations_for_locales(locales, :exclude_unused => true)
|
data/lib/air18n/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: air18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-11-
|
16
|
+
date: 2012-11-08 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: i18n
|