1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Use embed package for translations instead of generated files

Replace "go generate" with the new embed package.
This commit is contained in:
Frédéric Guillot 2021-02-16 22:58:44 -08:00 committed by fguillot
parent a352aff93b
commit 5d65a85bdb
8 changed files with 103 additions and 3996 deletions

View file

@ -216,5 +216,4 @@ func main() {
generateBundle("template/views.go", "template", "templateViewsMap", glob("template/html/*.html"))
generateBundle("template/common.go", "template", "templateCommonMap", glob("template/html/common/*.html"))
generateBundle("locale/translations.go", "locale", "translations", glob("locale/translations/*.json"))
}