This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 44b1004ff7bd4e5d5c4cfcf236e15e3974ab11c9
tree b9eb60520a9b17a1dae46a24c977c2ae6ec589f2
parent 2ea3ffcd7241b3e08b397e196ce1e6a35676fa7c
tree b9eb60520a9b17a1dae46a24c977c2ae6ec589f2
parent 2ea3ffcd7241b3e08b397e196ce1e6a35676fa7c
| name | age | message | |
|---|---|---|---|
| |
README.textile | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
spec/ | ||
| |
tasks/ | ||
| |
uninstall.rb |
README.textile
I18nLabel
Since labels don’t use I18n in Rails 2.2 (I was too late in submitting the
patch), we’d have to make due with a plugin.
Installation and configuration consists of 1 easy steps:
- Run:
Example
In your translation file:
en-US: activerecord: attributes: topic: name: A nice nameIn your view:
<%= form_for @topic do |f| %> <%= f.label :name %> <% end %>The result is:
<label for="topic_name">A nice name (please ignore the minor problem with html in github)For more information about where to put your translations,
visit my blog
Copyright © 2008 Iain Hecker, released under the MIT license









