From 3948c66c6c08074a2c67dbbaba17644200812afb Mon Sep 17 00:00:00 2001 From: jkoberg Date: Tue, 20 Aug 2024 10:02:30 +0200 Subject: [PATCH] fix(activitylog): fix translation pipeline Signed-off-by: jkoberg --- Makefile | 5 +++-- .../unreleased/fix-acitivity-translations.md | 5 +++++ .../activitylog/pkg/service/l10n/.tx/config | 10 +++++++++ .../activitylog/pkg/service/l10n/userlog.pot | 22 ------------------- 4 files changed, 18 insertions(+), 24 deletions(-) create mode 100644 changelog/unreleased/fix-acitivity-translations.md create mode 100644 services/activitylog/pkg/service/l10n/.tx/config delete mode 100644 services/activitylog/pkg/service/l10n/userlog.pot diff --git a/Makefile b/Makefile index 646c7d56036..3c3ba483f7c 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,10 @@ RESET := $(shell tput -Txterm sgr0) # add a service here when it uses transifex L10N_MODULES := \ + services/activitylog \ + services/graph \ services/notifications \ - services/userlog \ - services/graph + services/userlog # if you add a module here please also add it to the .drone.star file OCIS_MODULES = \ diff --git a/changelog/unreleased/fix-acitivity-translations.md b/changelog/unreleased/fix-acitivity-translations.md new file mode 100644 index 00000000000..d608b1aad63 --- /dev/null +++ b/changelog/unreleased/fix-acitivity-translations.md @@ -0,0 +1,5 @@ +Bugfix: Activity Translations + +translations for activities did not show up in transifex + +https://github.com/owncloud/ocis/pull/9856 diff --git a/services/activitylog/pkg/service/l10n/.tx/config b/services/activitylog/pkg/service/l10n/.tx/config new file mode 100644 index 00000000000..12cf80e752a --- /dev/null +++ b/services/activitylog/pkg/service/l10n/.tx/config @@ -0,0 +1,10 @@ +[main] +host = https://www.transifex.com + +[o:owncloud-org:p:owncloud:r:ocis-activitylog] +file_filter = locale//LC_MESSAGES/activitylog.po +minimum_perc = 75 +source_file = activitylog.pot +source_lang = en +type = PO + diff --git a/services/activitylog/pkg/service/l10n/userlog.pot b/services/activitylog/pkg/service/l10n/userlog.pot deleted file mode 100644 index 606d31510c8..00000000000 --- a/services/activitylog/pkg/service/l10n/userlog.pot +++ /dev/null @@ -1,22 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "Project-Id-Version: \n" - "Report-Msgid-Bugs-To: EMAIL\n" - "POT-Creation-Date: 2024-06-14 15:29+0200\n" - "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" - "Last-Translator: FULL NAME \n" - "Language-Team: LANGUAGE \n" - "Language: \n" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=CHARSET\n" - "Content-Transfer-Encoding: 8bit\n" - -#: pkg/service/response.go:15 -msgid "{user} created {resource}" -msgstr "" -