everythingbehind-i18n 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/i18n.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "i18n"
3
- s.version = "0.1.2"
3
+ s.version = "0.1.3"
4
4
  s.date = "2008-12-16"
5
5
  s.summary = "Internationalization support for Ruby"
6
6
  s.email = "rails-i18n@googlegroups.com"
@@ -74,7 +74,7 @@ module I18n
74
74
  @translations = nil
75
75
  end
76
76
 
77
- def locales
77
+ def available_locales
78
78
  translations.keys
79
79
  end
80
80
 
data/lib/i18n.rb CHANGED
@@ -47,8 +47,8 @@ module I18n
47
47
  end
48
48
 
49
49
  # Returns an array of availiable locales
50
- def locales
51
- backend.locales
50
+ def available_locales
51
+ backend.available_locales
52
52
  end
53
53
 
54
54
  # Lists all available translation keys (including scopes) for a given locale
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: everythingbehind-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Fuchs