Defect #5089
closed
  
i18N error on truncated revision diff view
 
        
        Added by Mischa The Evil over 15 years ago.
        Updated over 14 years ago.
        
  
  
  
  Description
  
  While browsing the latest changes in the Redmine trunk on redmine.org I noticed an strange error regarding the i18N. My Redmine.org 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 redmine.org only or not...
   
 
  
  Files
  
 
  
  
    
    
    
    I am unable to reproduce on redmine.org, nor in 0.9.4
 
     
   
  
  
    
    
    
    
       - Category changed from Website (redmine.org) to SCM
 
       - Status changed from New to 7
 
       - Assignee changed from Jean-Philippe Lang to Jean-Baptiste Barth
 
    
    Reproduced here, on redmine.org 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.
 
     
   
  
  
    
    
    
    
       - 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
 
    
    
     
   
  
  
    
    
    
    
       - Status changed from Resolved to Closed
 
    
    Merged in 1.2-stable, thanks.
 
     
   
  
 
  
  
  
 
Also available in:  Atom
  PDF