Adapt locale setup for monorepo, fix webconsole

This commit is contained in:
Denis Arh
2022-12-12 15:22:09 +01:00
committed by Jože Fortun
parent 39905c1788
commit b2f799f8d8
9 changed files with 94 additions and 16 deletions
+7
View File
@@ -0,0 +1,7 @@
package options
func (o *LocaleOpt) Defaults() {
if Environment().IsDevelopment() || o.DevelopmentMode {
o.Path = "../locale"
}
}