Actions
Feature #6428
closedInterim solution for i18n >= 0.4
Start date:
2010-09-17
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Description
As more users get the i18n gem >= 0.4 pulled into their system, I think we need an interim solution until redmine works with that (probably redmine 1.1). The changes proposed by Martin in #5608 make redmine work with i18n 0.4.1, but it still throws a deprecation warning each time it's loaded with a full trace.
Based on an IRC chat with Eric, I will try to reduce eliminate that trace so that redmine can be somewhat functional with i18n 0.4 without needlessly polluting the logs.
[20:10] thegcat: edavis10: ok, so the small fix for redmine/I18n makes everything work, but it will basically throw a deprecation warning each time the i18n gem gets reloaded [20:10] thegcat: edavis10: (which is on every page load in development xX) [20:12] thegcat: edavis10: we _could_ silence that warning by forcing @skip_syntax_deprecation to true in the i18n gem, or even overload the method that generates the warn to make a little less chatty (it currently throws the full trace…) [20:15] edavis10: thegcat: can you see about overloading it to 1) only show the single string with error and 2) say "you should install the correct version of the gem.... see redmine.org/issues…."
Related issues
Actions