Skip to content

Commit

Permalink
Initial conversion to Rails 2.2 I18n
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesu committed Dec 3, 2008
1 parent ace6548 commit d82fd5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ general:
# Localisation
default_language:
handler: StringConfigHandler
default: en-US
default: en
comment: ""
order: 10

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/config_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def self.load_sys
} : nil

# Globalite
Globalite.locale = AppConfig.default_language.nil? ? 'en-US' : AppConfig.default_language
I18n.default_locale= AppConfig.default_language.nil? ? 'en' : AppConfig.default_language
end

def self.try_libs
Expand All @@ -138,4 +138,4 @@ def self.try_libs
@@tried_libs = true
end

end
end

0 comments on commit d82fd5f

Please sign in to comment.