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 (
Remco van 't Veer (author)
Sat Sep 06 06:22:43 -0700 2008
dutchify /
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Wed Sep 03 13:07:36 -0700 2008 | |
| |
README | Wed Sep 03 13:07:36 -0700 2008 | |
| |
Rakefile | Wed Nov 29 02:43:38 -0800 2006 | |
| |
init.rb | Tue Nov 28 01:04:53 -0800 2006 | |
| |
lib/ | Sat Sep 06 06:22:43 -0700 2008 | |
| |
test/ | Sat Sep 06 06:22:43 -0700 2008 |
README
= Dutchify
Dutchify rails app by replacing americanisms with nederlanderigheden.
= Example
Model:
class Bicycle < ActiveRecord::Base
dutch_names "fiets".with_plural("fietsen"),
:color => "kleur".with_plural("kleuren"),
:brand => "merk".with_plural("merken")
end
Scaffold it:
class BicycleController < ApplicationController
scaffold :bicycle
end
In your view:
Time.now.to_s # => "do 31 aug 2006, 22:13"
42.ordinalize # => "42ste"
"ik wil ijs".titleize # => "Ik Wil IJs"
time_ago_in_words(Time.now + 3141) # => "ongeveer 1 uur"
number_to_currency(3999.99) # => "€3.999,99"
== See also
http://blog.remvee.net/2006/08/28/dutchify_plugin
== Author
R.W. van 't Veer
== Copyright
Copyright (c) 2006, 2007, 2008 R.W. van 't Veer







