mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-27 02:24:40 +00:00 
			
		
		
		
	Update locale.go
This commit is contained in:
		
							parent
							
								
									481f34394a
								
							
						
					
					
						commit
						f0270027b8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -29,7 +29,7 @@ type SettingService interface { | ||||||
| 
 | 
 | ||||||
| func InitLocalizer(i18nFS embed.FS, settingService SettingService) error { | func InitLocalizer(i18nFS embed.FS, settingService SettingService) error { | ||||||
| 	// set default bundle to english
 | 	// set default bundle to english
 | ||||||
| 	i18nBundle = i18n.NewBundle(language.MustParse("en-US")) | 	i18nBundle = i18n.NewBundle(language.MustParse("vi-VN")) | ||||||
| 	i18nBundle.RegisterUnmarshalFunc("toml", toml.Unmarshal) | 	i18nBundle.RegisterUnmarshalFunc("toml", toml.Unmarshal) | ||||||
| 
 | 
 | ||||||
| 	// parse files
 | 	// parse files
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 quydang
						quydang