mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 08:21:11 +00:00 
			
		
		
		
	Update gitea.com/macaron/i18n (#12806)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		
					parent
					
						
							
								47289344e2
							
						
					
				
			
			
				commit
				
					
						daefdd1385
					
				
			
		
					 12 changed files with 80 additions and 27 deletions
				
			
		
							
								
								
									
										2
									
								
								vendor/github.com/unknwon/i18n/i18n.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/unknwon/i18n/i18n.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -167,7 +167,7 @@ func SetMessageWithDesc(lang, langDesc string, localeFile interface{}, otherLoca
 | 
			
		|||
		lc.langDesc = langDesc
 | 
			
		||||
		lc.message = message
 | 
			
		||||
 | 
			
		||||
		if locales.Add(lc) == false {
 | 
			
		||||
		if !locales.Add(lc) {
 | 
			
		||||
			return ErrLangAlreadyExist
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue