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:
parent
a352aff93b
commit
5d65a85bdb
8 changed files with 103 additions and 3996 deletions
|
@ -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"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue