<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>MIT-LICENSE</filename>
    </added>
    <added>
      <filename>init.rb</filename>
    </added>
    <added>
      <filename>install.rb</filename>
    </added>
    <added>
      <filename>lib/click_to_globalize.rb</filename>
    </added>
    <added>
      <filename>tasks/click_to_globalize.rake</filename>
    </added>
    <added>
      <filename>templates/_click_to_globalize.html.erb</filename>
    </added>
    <added>
      <filename>templates/click_to_globalize.css</filename>
    </added>
    <added>
      <filename>templates/click_to_globalize.js</filename>
    </added>
    <added>
      <filename>templates/locale_controller.rb</filename>
    </added>
    <added>
      <filename>templates/locale_helper.rb</filename>
    </added>
    <added>
      <filename>test/browser.html</filename>
    </added>
    <added>
      <filename>test/click_to_globalize_test.rb</filename>
    </added>
    <added>
      <filename>test/console.html</filename>
    </added>
    <added>
      <filename>test/fixtures/globalize_countries.yml</filename>
    </added>
    <added>
      <filename>test/fixtures/globalize_languages.yml</filename>
    </added>
    <added>
      <filename>test/fixtures/globalize_translations.yml</filename>
    </added>
    <added>
      <filename>test/functional/ajax_inplaceeditor.html</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_eight.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_five.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_four.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_lorem.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_lorem_area.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_one.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_seven.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_six.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_three.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_two.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_eight.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_five.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_four.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_lorem.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_lorem_area.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_one.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_seven.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_six.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_three.xml</filename>
    </added>
    <added>
      <filename>test/functional/fixtures/translate_unformatted_two.xml</filename>
    </added>
    <added>
      <filename>test/lib/jstest.rb</filename>
    </added>
    <added>
      <filename>test/lib/unittest.js</filename>
    </added>
    <added>
      <filename>test/test.css</filename>
    </added>
    <added>
      <filename>test/test_helper.rb</filename>
    </added>
    <added>
      <filename>test/unit/ajax_inplaceeditor.html</filename>
    </added>
    <added>
      <filename>test/unit/click_to_globalize.html</filename>
    </added>
    <added>
      <filename>test/unit/element_mixins.html</filename>
    </added>
    <added>
      <filename>test/unit/fixtures/translations.json</filename>
    </added>
    <added>
      <filename>test/unit/selectors.html</filename>
    </added>
    <added>
      <filename>test/unit/unit_tests.html</filename>
    </added>
    <added>
      <filename>uninstall.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -0,0 +1,137 @@
+ClickToGlobalize
+=================
+
+ClickToGlobalize is an extension for Globalize plugin, it allows to edit in
+place globalized labels. With this plugin you don't have to create a
+globalization back-end, but just edit your interface in place!!
+
+If you have a previous globalization experience, you probably noticed that the
+main problem of dedicated back-ends is the lack of the context where the
+string will be placed in. It isn't a trivial issue: you'll never know if the
+meaning of your string is harmonious with other labels and how your string will
+be rendered, until the page load.
+
+Now you can forget this issues, you can directly globalize in place!!
+
+Check for news and tutorials at the project home page[http://www.lucaguidi.com/pages/click-to-globalize].
+
+Getting Started
+===============
+
+1. Install Globalize[http://www.globalize-rails.org/].
+
+2. Install Click To Globalize:
+   $ ./scripts/plugin install http://dev.23labs.net/svn/rails/plugins/click_to_globalize/trunk
+
+3. Add at the end of your layout the following code:
+   &lt;%= click_to_globalize -%&gt;
+
+4. Put in your view:
+   &lt;%= 'hello_world'.t %&gt;
+
+5. Start your server and click to globalize.
+
+Prerequisites
+=============
+
+* Globalize plugin: www.globalize-rails.org.
+  
+* RedCloth gem (optional) for textile formatting.
+
+* BlueCloth gem (optional) for markdown formatting.
+
+Install
+=======
+
+1. Install Globalize, if you don't already done.
+
+2. Install Click To Globalize:
+   Rails 2.0
+   $ ./scripts/plugin install http://dev.23labs.net/svn/rails/plugins/click_to_globalize/trunk
+   Rails 1.2.x
+   $ ./scripts/plugin install http://dev.23labs.net/svn/rails/plugins/click_to_globalize/branches/for-1.2.x
+
+3. Run the setup task:
+   $ rake click:setup
+   
+4. Run the tests (optional):
+   $ rake click:test
+
+5. Choose your languages, they will be used to create a picker menu.
+   class ApplicationController &lt; ActionController::Base
+     self.languages = { :english =&gt; 'en-US', :italian =&gt; 'it-IT' }
+   end
+   
+6. If you like to use wiki-formatting styles, you could use textile (RedCloth)
+   or markdown (BlueCloth).
+   class ApplicationController &lt; ActionController::Base
+     self.formatting :textile
+   end
+
+7. Personalize the access to the globalization features, overriding #globalize:
+   class ApplicationController &lt; ActionController::Base
+     def globalize?
+       current_user.admin?
+     end
+   end
+   
+   NOTE: #globalize? is method to turn on/off all the Click to Globalize features.
+   NOTE: self.globalize? has been deprecated in favor of globalize?.
+
+8. Add at the end of your layout the following code:
+   &lt;%= click_to_globalize -%&gt;
+
+Uninstall
+=========
+
+1. $ ./script/plugin remove click_to_globalize
+
+Features
+========
+
+* In place editing for each globalized string.
+
+* Easy and painless plug-in/plug-out process.
+
+* Unobtrusive Javascripts.
+
+* Textile and Markdown support.
+
+* Auto transformation from input text to textarea for long strings.
+
+Common Issues
+=============
+
+* Since the Globalize plugin creates folders like 'for-1.2', be sure to rename
+  the folder to 'globalize'.
+
+* Due to unobtrusive nature of the plugin, each page is parsed by javascript
+  to find the right element and bind to it an Ajax.InPlaceEditor.
+  Be sure your (X)HTML is wellformed.
+
+  NOTE: If you use the Rails scaffold system, Click To Globalize
+  doesn't works. Cleanup the code before to use.
+
+* If you use a wiki-formatting style it could be advisable to use #h to avoid
+  security problems (i.e. XSS).
+  &lt;%= textilize(h('some_text'.t)) %&gt;
+  
+Contribute
+==========
+
+* Check out the code and test it:
+  $ svn co http://dev.23labs.net/svn/rails/plugins/click_to_globalize/trunk
+  $ rake click:test
+
+* Create a ticket to: http://dev.23labs.net/rails/trac.cgi
+
+* Create a patch and add as attachement to the ticket.
+
+Credits
+=======
+
+Javascript tests are based on Prototype[http://prototypejs.org] test libs.
+
+
+
+Copyright (c) 2007-2008 Luca Guidi - http://23labs.net, released under the MIT license
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e5ca279912b8cd9c70a22a3c81b95b34fb18f027</id>
    </parent>
  </parents>
  <author>
    <name>Luca Guidi</name>
    <email>guidi.luca@gmail.com</email>
  </author>
  <url>http://github.com/jodosha/click-to-globalize/commit/1af433c05e5124d6c09ba80611b54cafaa766f93</url>
  <id>1af433c05e5124d6c09ba80611b54cafaa766f93</id>
  <committed-date>2008-05-12T05:24:18-07:00</committed-date>
  <authored-date>2008-05-12T05:24:18-07:00</authored-date>
  <message>Initial import</message>
  <tree>1f15bc0750aa57a892a94c287cb2e0319aa7d1d2</tree>
  <committer>
    <name>Luca Guidi</name>
    <email>guidi.luca@gmail.com</email>
  </committer>
</commit>
