adjust makefile

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-03-08 16:27:24 +01:00
parent b3bd2dc7c4
commit cfca9ec4b1
2 changed files with 12 additions and 2 deletions

View File

@@ -31,7 +31,17 @@ ci-go-generate: $(MOCKERY) # CI runs ci-node-generate automatically before this
ci-node-generate:
############ translations ########
include ../../.make/l10n.mk
.PHONY: l10n-pull
l10n-pull:
cd $(OUTPUT_DIR) && tx pull -a --skip --minimum-perc=75
.PHONY: l10n-push
l10n-push:
cd $(OUTPUT_DIR) && tx push -s --skip
.PHONY: l10n-read
l10n-read:
go-xgettext -o $(OUTPUT_DIR)/locale/en/LC_MESSAGES/default.pot --keyword=Template -s pkg/service/templates.go
############ licenses ############
.PHONY: ci-node-check-licenses

View File

@@ -52,7 +52,7 @@ type Converter struct {
serviceName string
registeredEvents map[string]events.Unmarshaller
// cached within one request not query other service too much
// cached within one request not to query other service too much
spaces map[string]*storageprovider.StorageSpace
users map[string]*user.User
resources map[string]*storageprovider.ResourceInfo