Skip to content

Commit

Permalink
ignore pkg for gem release
Browse files Browse the repository at this point in the history
  • Loading branch information
graysky committed Apr 17, 2009
1 parent 8ee996b commit cd75ffe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
pkg
6 changes: 5 additions & 1 deletion README.rdoc
Expand Up @@ -17,12 +17,16 @@ Quick example - if you follow the key convention of structuring your locale bund

Then when writing the <tt>BlogPostsController.show</tt> action you can just use <tt>t('title')</tt> to fetch the string (equivalent to <tt>I18n.translate('blog_posts.show.title')</tt>). Similarly, in the <tt>show.erb</tt> template you can get use <tt>t('byline', :author => "Mike")</tt>. This extends to models and mailers as well. As they say, "Look at all the things I'm not doing!"

== Plugin Installation
== Installation

To install this plugin into your Rails app (2.2 or 2.3+):

./script/plugin install git://github.com/graysky/translator.git

To install as a gem add the following to config/environment.rb:

config.gem “graysky-translator”, :source => ‘http://gems.github.com’

== RDocs

{The RDocs are online}[http://graysky.github.com/translator/rdoc/index.html] or can be generated via <tt>rake rdoc</tt> in the translator plugin directory.
Expand Down

0 comments on commit cd75ffe

Please sign in to comment.