Commit
20aa33efef8d14e54b4e8a41dca9b233df959996
Exists in
master
and in
28 other branches
1.2+SPB2, 2_split_by_role, add_fields_in_api, api_fixies, api_pagination, api_private_token, api_tasks, article_hit_count, blog_page_bug, checkbox_to_user_can_edit_page, communities_ratings, communities_ratings_moderation, community_ratings_rebase, fix_cloned_article_parent, fix_gallery_image_url, fix_javascript_categories, fix_optional_fields, fix_suggest_article, fix_user_email_validation, highlight_block_fix, notification_plugin, notification_plugin_rebase, script_to_update, split_by_role, stable, temp_ratings, tests, tests_fixies
Silence warning about deprecated interpolation for Rails < 3.0.0
This was only fixed on Feb 14th 2011:
https://rails.lighthouseapp.com/projects/8994/tickets/4525-favor-in-all-code-instead-of-deprecated-as-interpolation-syntax-for-i18n
| @@ -0,0 +1,9 @@ |
| @@ -0,0 +1,9 @@ |
| |
1
| +require 'i18n/version' |
| |
2
| + |
| |
3
| +if I18n::VERSION > '0.3.7' && Rails::VERSION::STRING < '3.0.0' |
| |
4
| + module I18n::Backend::Base |
| |
5
| + def warn_syntax_deprecation! |
| |
6
| + # nothing |
| |
7
| + end |
| |
8
| + end |
| |
9
| +end |