<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/globalite_extensions.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
 require 'globalite'
+require 'globalite_extensions'
 # Load the base translations, and the app overrides
 Globalite.add_localization_source(File.join(RAILS_ROOT, &quot;vendor&quot;, &quot;plugins&quot;, &quot;community_engine&quot;, &quot;lang&quot;, &quot;ui&quot;))
 Globalite.add_localization_source(File.join(RAILS_ROOT, &quot;lang&quot;, &quot;ui&quot;))
\ No newline at end of file</diff>
      <filename>engine_config/initializers/globalite.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,6 @@ require 'rails/core_ext'
 require 'globalite/l10n'
 require 'globalite/locale'
 Symbol.send :include, SymbolExtension
-String.send :include, StringExtension
 
 module Globalite
   extend L10n</diff>
      <filename>engine_plugins/globalite/lib/globalite.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,6 @@
 module Globalite 
 
-  module L10n
-    @@show_localization_keys_for_debugging = false
-    attr_accessor :show_localization_keys_for_debugging    
-    
+  module L10n   
     @@default_language = :en
     attr_reader :default_language
 </diff>
      <filename>engine_plugins/globalite/lib/globalite/l10n.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,23 +16,4 @@ module SymbolExtension # :nodoc:
   end
   alias :l_with_args :localize_with_args
   
-end
-
-module StringExtension
-  def localize(*args)
-    if args.first.is_a? Symbol
-      sym = args.shift
-    else
-      sym = underscore.tr(' ', '_').gsub(/[^a-z1-9_]+/i, '').to_sym
-    end
-    
-    if Globalite.show_localization_keys_for_debugging
-      # wrap in a span to show the localization key
-      return &quot;&lt;span localization_key='#{sym}'&gt;#{sym.localize(self, *args)}&lt;/span&gt;&quot;
-    else
-      sym.localize(self, *args)
-    end
-  end
-  alias :l :localize
-  
-end
+end
\ No newline at end of file</diff>
      <filename>engine_plugins/globalite/lib/rails/core_ext.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>65db7973a23ae8ecc48107ccd24bc63eaa5cee00</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Kearney</name>
    <email>bkearney@localhost.localdomain</email>
  </author>
  <url>http://github.com/bborn/communityengine/commit/b724ef99625a94e65d46be306c319409a964bc69</url>
  <id>b724ef99625a94e65d46be306c319409a964bc69</id>
  <committed-date>2008-07-15T09:55:11-07:00</committed-date>
  <authored-date>2008-07-15T09:55:11-07:00</authored-date>
  <message>Pulled all of the globalite extension code into a new extension file</message>
  <tree>e1b6abcf00353de315ac9eea31a204fdb8d76b48</tree>
  <committer>
    <name>Bryan Kearney</name>
    <email>bkearney@localhost.localdomain</email>
  </committer>
</commit>
