Defect #5089

i18N error on truncated revision diff view

Added by Mischa The Evil over 12 years ago. Updated about 11 years ago.

Status:ClosedStart date:2010-03-15
Priority:NormalDue date:
Assignee:Jean-Baptiste Barth% Done:


Target version:1.2.1
Resolution:Fixed Affected version:1.2.0


While browsing the latest changes in the Redmine trunk on I noticed an strange error regarding the i18N. My account is configured to use the English language but the truncation-message at the bottom of the revision diff view appears in a language which is certainly not English (it looks like Spanish or something).

I'll attach a screenshot of it...

Just wanted to post it here to see if its related to only or not...

i18n-error_redmine_dot_org.jpg (43.8 KB) Mischa The Evil, 2010-03-15 21:57

Associated revisions

Revision 6073
Added by Jean-Baptiste Barth about 11 years ago

Do not cache I18n strings when truncating a long diff (#5089).


#1 Updated by Muntek Singh about 12 years ago

I am unable to reproduce on, nor in 0.9.4

#2 Updated by Jean-Baptiste Barth almost 12 years ago

  • Category changed from Website ( to SCM
  • Status changed from New to 7
  • Assignee changed from Jean-Philippe Lang to Jean-Baptiste Barth

Reproduced here, on and on trunk. Didn't have the time to take a look at the code, but I think it's be related to caching.

Steps to reproduce :
  • set the max diff lines to 2 or 3
  • display a diff
  • change your locale
  • display the same diff: old locale is still here

Same goes on activity page, activity is cached and may be in the wrong locale if you change your locale.

I'll take a deeper look at it as soon as I can.

#3 Updated by Jean-Baptiste Barth about 11 years ago

  • Status changed from 7 to Resolved
  • Target version set to 1.2.1
  • % Done changed from 0 to 100
  • Affected version (unused) set to 1.2.0
  • Resolution set to Fixed
  • Affected version set to 1.2.0

Fixed in r6073.

#4 Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Resolved to Closed

Merged in 1.2-stable, thanks.

Also available in: Atom PDF