Commit Graph

53 Commits

Author SHA1 Message Date
Harshad Sabne
b58f3a6417 Underscore in markdown should be escaped with backslash [ci skip]
In the absence of proper escaping the first link was getting messed up and remaining part of the sentence (2nd link) was not displayed in the rendered markdown on the website though it was displaying correctly in the repository markdown file.
2013-11-26 23:25:34 +05:30
Harshad Sabne
a4bba9ce8d Globalize has moved to a new repository
From (svenfuchs/globalize3) to (globalize/globalize)
2013-11-25 11:25:13 +05:30
Xavier Noria
17c29a0df0 Merge remote-tracking branch 'docrails/master'
Conflicts:
	activesupport/lib/active_support/core_ext/hash/deep_merge.rb
	activesupport/lib/active_support/core_ext/hash/keys.rb
2013-11-24 20:00:24 +01:00
Jacob Evan Shreve
c796cc2ba7 Added a missing close parenthesis to i18n.md 2013-11-21 22:18:17 -05:00
Harshad Sabne
deeeaef6d2 Fix broken Wikipedia link. 2013-11-13 20:48:40 +05:30
Vijay Dev
216ec8d559 Merge branch 'master' of github.com:rails/docrails 2013-11-07 23:32:47 +05:30
Derek Prior
0e41b0a87a Clarify HTML Safe Translations [ci-skip]
I think it's confusing to say "Use them in views without escaping." We
use all keys in views without escaping - the escaping is done for us
automatically _unless_ we call html_safe or the key ends in _html.
2013-11-05 11:16:04 -05:00
Jay Hayes
614b203e1d Fixes typo 2013-10-20 19:51:19 -05:00
Jay Hayes
da1d2fb483 Update I18n guide to note the additional features of the translate view helper 2013-10-19 10:33:47 -05:00
Grayson Wright
52f3717569 [Documentation] Add a missing validation to I18n docs
The guide was missing a description of the error message
interpolation for validates_numericality_of with
the :only_integer option.
2013-09-24 17:07:57 -04:00
Juanito Fatas
1355956d6f [ci skip] Fix links in section 5.3 of i18n.md
Now all links point to the correct line number.
2013-09-10 01:48:51 +08:00
Juanito Fatas
451f433205 [ci skip] Add missing setting locale code snippet.
This is for 3 Internationalizing your Application of i18n.md.

Missing the code as mentioned in 2.3, setting locale.

Without this, the example to add config/locales/pirate.yml will not work.
2013-09-10 01:48:44 +08:00
Juanito Fatas
0096b1535d [ci skip] Change link name of Rails i18n wiki.
Actually it's Ruby i18n link.
2013-09-09 14:12:02 +08:00
Paul Nikitochkin
2c8bc2cdcd Use Ruby on Rails Coding Conventions for code examples in the guides
* Indent after private/protected
* Ruby >= 1.9 syntax for hashes
* Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks.

[ci skip]
2013-09-06 21:42:29 +03:00
Xavier Noria
b77f25cb84 cleans the guides sources from fancy non-ASCII stuff 2013-08-23 17:59:11 +02:00
Sadjow Leão
23c5d6d9ad Add plural form example for AR I18n section [ci skip] 2013-08-13 00:06:03 -03:00
Iain Beeston
78f953dff8 Updated the guide to say that the localisation file for validation messages is in activemodel, not activerecord 2013-08-03 21:39:46 +10:00
Wojciech Wnętrzak
ce757c4c7e Added missing closing bracket for markdown url in guides [ci skip] 2013-08-01 12:21:21 +02:00
Ankit Gupta
4509f9eaed Fixing the broken URL [skip ci] 2013-07-29 14:24:55 +01:00
Vijay Dev
69e7e6ba89 Merge branch 'master' of github.com:rails/docrails 2013-07-06 00:08:40 +05:30
Mihail Evsyukov
867138aa99 Specify request method in guides [ci skip] 2013-07-04 23:45:58 +03:00
Robin Dupret
82551712b3 Complete a sentence in i18n guide's introduction
Add a list of what will be covered into this guide
2013-06-30 12:34:46 +02:00
Wouter van Lelyveld
8c0fc98214 Fixing links to accept_language plugin/middleware 2013-06-27 09:18:52 +02:00
Rajarshi Das
931df6da30 fix the path of action view from actionpack/lib/action_view => actionview/lib/action_view 2013-06-21 16:56:43 +05:30
Sunny Ripert
70b302b189 Remove double spaces in code examples 2013-05-28 14:38:02 +02:00
Prathamesh Sonpatki
730dd1a96b Github -> GitHub [ci skip] 2013-05-05 17:56:24 +05:30
hughkelsey
3c530dbc77 Added missing ')' on routing_filter link 2013-04-23 12:29:11 -07:00
Yves Senn
c918298c8e describe Action Mailer I18n subject lookup 2013-04-04 13:22:12 +02:00
Carlos Antonio da Silva
2bca2f6418 Revert "updating i18n guide with locale config location."
This reverts commit 46902908910c041e268429d674bbe084399cc664.
2013-01-22 09:28:07 -02:00
Gosha Arinich
0acf92184d prefer american spelling of 'behavior' 2013-01-07 11:47:27 +03:00
Henare Degan
0939a812a0 Globalize2 is only compatible with Rails 2 so link to Globalize3 instead 2012-12-09 23:17:33 +11:00
Francesco Rodriguez
f19e41fb16 update guides to use _action callbacks [ci skip] 2012-12-07 23:43:46 -05:00
Chris Walquist
c41576ea45 match text with translation file example 2012-12-02 14:37:18 -06:00
Steve Klabnik
d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik
6dcae8ae9c Add periods to the bullet points in guides.
Talked with @fxn about this. Bullet points should have periods at the ends.
2012-11-29 05:14:08 -08:00
burningTyger
8dabfbebdb use em-dashes instead of two minuses in guides 2012-11-10 23:00:00 +01:00
Francesco Rodriguez
2ef4d5ed5c fix output messages - docs [ci skip] 2012-10-22 14:27:55 -05:00
Rafael Mendonça França
9eeb00976d Revert "divided into folder with the language"
This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252.

REASON: Translation work can not be done in the docrails repository
2012-10-17 10:15:55 -03:00
Rodrigo Martins
f5b9ed4fbc divided into folder with the language 2012-10-17 03:34:10 -03:00
AvnerCohen
61c64dc942 1.9 hash syntax for guides, work-in-progress 2012-10-11 16:38:31 +02:00
Steve Klabnik
4690290891 updating i18n guide with locale config location.
This changed in rails/rails#43e14f8
2012-10-08 11:29:37 -07:00
Victor Costan
c7d39f2a2e Fix truncated line in the i18n edge guide 2012-10-01 15:15:09 -04:00
Vijay Dev
cf3e760b87 copy editing [ci skip] 2012-09-28 23:15:09 +05:30
Francesco Rodriguez
530102f656 add a note about DynamicForm in error_messages_for section [ci skip] 2012-09-24 15:39:45 -05:00
Prem Sichanugrist
1fa5c3b39f Fix footnote format
Markdown has footnote, but Redcarpet doesn't support it.
2012-09-17 15:55:17 -04:00
Prem Sichanugrist
721afdcc4b Fix remaining formatting problems in the guide 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
2e89ac34cf Convert image tags to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
2c38567646 Convert all tables to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
9873dd800b Convert all the links into Markdown format 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
31ef4cf656 Convert all inline codes to Markdown syntax 2012-09-17 15:54:23 -04:00