Commit Graph

36 Commits

Author SHA1 Message Date
Luke Brown
95ecc08a30 Added an example and explaination for using an optional path scope for the locale 2010-08-17 09:48:12 +01:00
Santiago Pastorino
b95d6e84b0 Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
Steven Hancock
1a35b6215f Removed deprecated |map| block argument from routing docs since it is no longer generated in edge Rails config/routes.rb
Didn't touch plugins guide since I'm not too clear on how routes work in plugins.
2010-07-11 23:57:26 -07:00
Josiah Ivey
ea9398f9ba Guides: Fix numerous broken links 2010-05-16 21:58:47 -05:00
Lawrence Pit
9bd91b00b8 Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-03 13:37:32 +02:00
eparreno
43d03c3a1c fix ActionController font and replace extract_locale_from_uri with extract_locale_from_tld 2010-04-15 11:05:34 +02:00
Xavier Noria
19fa272b52 Revert "I18n guide: change ActionController by Action Controller in some places and fix code example in 2.4 section"
This reverts commit 002da9b6eab67323270dc8e7ea34fe72b3397b98.
2010-04-15 10:37:43 +02:00
eparreno
002da9b6ea I18n guide: change ActionController by Action Controller in some places and fix code example in 2.4 section 2010-04-14 22:44:40 +02:00
Anil Wadghule
fe0b52befb Changes in guide as per Rails 3 features 2010-04-13 12:25:44 +05:30
Anil Wadghule
3f0097c715 Updated guide to use 'Rails.root.join' to construct path 2010-04-13 00:56:34 +05:30
Anil Wadghule
84e46437fa Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places. 2010-04-12 22:53:49 +05:30
Xavier Noria
2ad0618385 fixes broken link, thanks to veger 2009-12-25 23:04:24 +01:00
Xavier Noria
f2d65a456f i18n guide: removes some related for 2.2 2009-07-25 10:52:35 +02:00
Xavier Noria
0012ee5d95 i18n guide: minor tweaks 2009-07-25 10:38:57 +02:00
Karel Minarik
ee7487e46a Fix typo in I18n guide. Closes ticket #83 reported by noocx 2009-07-11 21:11:58 +02:00
Joseph Pecoraro
3014f0f4c5 Capitalized Rails where appropriate. 2009-05-29 16:26:50 -04:00
Evan Farrar
d3b3eb59b7 Fixes some typos in the guides. 2009-05-07 15:24:07 -05:00
Sean Schofield
de9ea3bf25 Made a minor syntax correction. 2009-04-27 11:05:38 -04:00
Karel Minarik
4f623f5f89 Better wording of environment.rb example code, thanks Paul Gillard
See https://rails.lighthouseapp.com/projects/16213/tickets/23-rails-i18
2009-04-25 11:32:40 +02:00
Karel Minarik
7163b64d32 Consolidate config/locale vs config/locales issue. [#16213] 2009-04-25 11:28:20 +02:00
Xavier Noria
a4b1ccec5c revised links in guides according to W3C link checker report 2009-03-15 21:31:20 +01:00
Xavier Noria
32c07c4566 fixes broken links in i18n guide 2009-03-15 10:36:48 +01:00
Mike Gunderloy
9ac0dade6d Minor edits to I18n guide; publish guide 2009-03-14 17:04:41 -05:00
Xavier Noria
b724427641 revised titles in i18n guide 2009-03-14 22:44:38 +01:00
Andreas Scherer
968a0ad502 Replace comma with full-stop in scoping chain. 2009-03-10 19:15:19 +01:00
Andreas Scherer
7ed698ed79 Revision of i18n guide, final sections. 2009-03-10 18:58:58 +01:00
Andreas Scherer
ffe2ddb7fb Revision of i18n guide, chapter 4.
Major change: Scoped lookup in the form 'active_record.error_messages'
seems to have been deprecated at least in Rails 2.2. Instead, the form
'activerecord.errors.messages' is implemented and documented.
2009-03-10 18:21:43 +01:00
Andreas Scherer
edd5d7f38c Revision of i18n guide, chapter 3. 2009-03-10 13:42:25 +01:00
Andreas Scherer
c9806fe176 Touch-up the 'i18n' part while reading the first two sections. 2009-03-09 18:31:51 +01:00
Karel Minarik
61656cf770 Fixed incorrect examples of ActiveRecord error message lookup in the I18N guide [Thanks Alex Fortuna]
See http://www.ruby-forum.com/topic/179273
2009-03-01 13:03:26 +01:00
Karel Minarik
a6f1e42c09 Added information about "lazy lookup" inside views (t '.foo') in I18N guide 2009-03-01 12:51:18 +01:00
Karel Minarik
959b827e40 Clarified info about "pragmatic approach to locale codes" and removed speculation about "locale inheritance" in the I18N guide [thanks Kip]
See http://groups.google.com/group/rails-i18n/msg/7b4513b3ca8abbf5
2009-03-01 12:37:03 +01:00
Karel Minarik
92dd9b3e9f Added information about "Localized views" into I18N guide
See:

* a98cd7ca9b
* http://afreshcup.com/2009/02/01/rails-23-localized-views/
2009-03-01 12:06:50 +01:00
Karel Minarik
48d4c0f011 Added note how to configure Rails loading mechanism to look for nested locale files (+config/locales/models/book/es.yml+, etc) to the I18N guide 2009-03-01 11:03:59 +01:00
Andreas Scherer
74c8ff53e7 More tables headers formatted. 2009-02-16 11:47:23 +01:00
Pratik Naik
96d610553e Merge docrails along with the new guides and guides generation code 2009-02-06 02:01:22 +00:00