i18n 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/i18n.rb +6 -0
- data/lib/i18n/backend/active_record/translation.rb +2 -1
- data/lib/i18n/version.rb +1 -1
- metadata +2 -2
data/lib/i18n.rb
CHANGED
|
@@ -273,5 +273,11 @@ module I18n
|
|
|
273
273
|
@@exception_handler.call(exception, locale, key, options)
|
|
274
274
|
end
|
|
275
275
|
end
|
|
276
|
+
|
|
277
|
+
# Deprecated. Will raise a warning in future versions and then finally be
|
|
278
|
+
# removed. Use I18n.normalize_keys instead.
|
|
279
|
+
def normalize_translation_keys(locale, key, scope, separator = nil)
|
|
280
|
+
normalize_keys(locale, key, scope, separator)
|
|
281
|
+
end
|
|
276
282
|
end
|
|
277
283
|
end
|
data/lib/i18n/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sven Fuchs
|
|
@@ -13,7 +13,7 @@ autorequire:
|
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
15
|
|
|
16
|
-
date: 2010-02-
|
|
16
|
+
date: 2010-02-26 00:00:00 +01:00
|
|
17
17
|
default_executable:
|
|
18
18
|
dependencies: []
|
|
19
19
|
|