mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Added user language setting (#3875)
* Added user language setting * Added translation string for setting * Fixed import order + typo * improved checking if the user has a language saved in the db * The current saved language is now set a default inside the dropdown * fmt * When a user signs in and doesn't have a language saved, the current browser language is saved * updated gitea-sdk * Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language # Conflicts: # models/migrations/migrations.go # models/migrations/v62.go * Made tests work again * trigger CI * trigger CI * fmt * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * When loggin in, only the language col gets updated instead of everything
This commit is contained in:
		| @@ -109,6 +109,7 @@ type UpdateProfileForm struct { | ||||
| 	KeepEmailPrivate bool | ||||
| 	Website          string `binding:"ValidUrl;MaxSize(255)"` | ||||
| 	Location         string `binding:"MaxSize(50)"` | ||||
| 	Language         string `binding:"Size(5)"` | ||||
| } | ||||
|  | ||||
| // Validate validates the fields | ||||
|   | ||||
		Reference in New Issue
	
	Block a user