This consolidates the places where a default language has to be set. - Removed import of the 'userService' package into the 'languages' util package This was required to prevent a cyclic import between the two packages. - Added a 'UserRetriever' interface to read the language setting of users inside the 'languages' package |
||
---|---|---|
.. | ||
cache.go | ||
config.go | ||
email.go | ||
env.go | ||
filesizeFetcher.go | ||
i2p.go | ||
i18n.go | ||
logger.go | ||
navigation.go | ||
scrape.go | ||
search.go | ||
sorting.go | ||
trackers.go | ||
upload.go |