Places: Add config option to specify location details locale #465 #883

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-07-03 12:58:20 +02:00
parent 4b1cc5d424
commit 02d8525ade
30 changed files with 203 additions and 83 deletions

View File

@@ -13,5 +13,5 @@ func ClientIP(c *gin.Context) (ip string) {
// UserAgent returns the user agent from the request context or an empty string if it is unknown.
func UserAgent(c *gin.Context) string {
return header.UserAgent(c)
return header.ClientUserAgent(c)
}