<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,16 +1,18 @@
 module Radiant::AvailableLocales
-    
-  def self.locales
+  
+  def self.locale_paths
     root_locales = [File.join(RADIANT_ROOT, 'config', 'locales'), File.join(RADIANT_ROOT, 'config', 'locales')].uniq
-    all_locale_paths = unless root_locales.empty?
+    unless root_locales.empty?
       Radiant::ExtensionLoader.locale_paths.dup + root_locales
     else
       Radiant::ExtensionLoader.locale_paths
     end
-
+  end
+    
+  def self.locales
     available_locales = {}
     
-    all_locale_paths.each do |path|    
+    locale_paths.each do |path|    
     	if File.exists? path
     		Dir.new(path).entries.collect do |x|
     		  result = x =~ /\.yml/ ? x.sub(/\.yml/,&quot;&quot;) : nil</diff>
      <filename>lib/radiant/available_locales.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e7b08070dc2ada7fedd57031e0b7d28ecf669901</id>
    </parent>
  </parents>
  <author>
    <name>Keith</name>
    <email>keith@keithbingman.com</email>
  </author>
  <url>http://github.com/radiant/radiant/commit/5b6596cedb88eb51311156417f9cbf75988638dd</url>
  <id>5b6596cedb88eb51311156417f9cbf75988638dd</id>
  <committed-date>2009-10-16T02:35:27-07:00</committed-date>
  <authored-date>2009-10-16T02:35:27-07:00</authored-date>
  <message>available locales now looks in the i18n_ extensions for language names</message>
  <tree>9586b522044163027ba2b9ef722f576d6228ee3a</tree>
  <committer>
    <name>Keith</name>
    <email>keith@keithbingman.com</email>
  </committer>
</commit>
