Skip to content

Commit

Permalink
Fix transliteration rule example in docs. [#4526 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Noria <fxn@hashref.com>
  • Loading branch information
norman authored and fxn committed May 3, 2010
1 parent b3dcbed commit 756f762
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions activesupport/lib/active_support/inflector/transliterate.rb
Expand Up @@ -24,8 +24,9 @@ module Inflector
# # Store the transliterations in locales/de.yml
# i18n:
# transliterate:
# ü: "ue"
# ö: "oe"
# :rule
# ü: "ue"
# ö: "oe"
#
# # Or set them using Ruby
# I18n.backend.store_translations(:de, :i18n => {
Expand Down

3 comments on commit 756f762

@norman
Copy link
Contributor Author

@norman norman commented on 756f762 May 3, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for applying so quickly, I'm a little embarrassed one that slipped by me.

@norman
Copy link
Contributor Author

@norman norman commented on 756f762 May 3, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errr... and now I just saw the colon is on the wrong side of :rule. :-/ I think I've been doing too much Sass lately... any way to fix without another ticket?

@fxn
Copy link
Member

@fxn fxn commented on 756f762 May 3, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it was fixed later in 34d5725, no problem I didn't see it at first glance either :).

Please sign in to comment.