remove l10n from gitignore

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-03-09 15:33:59 +01:00
parent 1fc2bbcb08
commit cb31f9923f
3 changed files with 89 additions and 2 deletions

1
.gitignore vendored
View File

@@ -41,7 +41,6 @@ vendor-php
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
**/l10n/locale
**/l10n/template.pot
# protogen autogenerated

View File

@@ -1,6 +1,9 @@
SHELL := bash
NAME := userlog
# Where to write the files generated by this makefile.
OUTPUT_DIR = ./pkg/service/l10n
include ../../.make/recursion.mk
############ tooling ############
@@ -41,7 +44,10 @@ l10n-push:
.PHONY: l10n-read
l10n-read:
go-xgettext -o $(OUTPUT_DIR)/locale/en/LC_MESSAGES/default.pot --keyword=Template -s pkg/service/templates.go
go-xgettext -o $(OUTPUT_DIR)/locale/default.pot --keyword=Template -s pkg/service/templates.go
.PHONY: l10n-write
l10n-write:
############ licenses ############
.PHONY: ci-node-check-licenses

View File

@@ -0,0 +1,82 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2023-03-09 15:58+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: pkg/service/templates.go:30
msgid "Access to Space {space} lost"
msgstr ""
#: pkg/service/templates.go:45
msgid "Access to {resource} expired"
msgstr ""
#: pkg/service/templates.go:29
msgid "Membership expired"
msgstr ""
#: pkg/service/templates.go:14
msgid "Removed from Space"
msgstr ""
#: pkg/service/templates.go:34
msgid "Resource shared"
msgstr ""
#: pkg/service/templates.go:39
msgid "Resource unshared"
msgstr ""
#: pkg/service/templates.go:44
msgid "Share expired"
msgstr ""
#: pkg/service/templates.go:24
msgid "Space deleted"
msgstr ""
#: pkg/service/templates.go:19
msgid "Space disabled"
msgstr ""
#: pkg/service/templates.go:9
msgid "Space shared"
msgstr ""
#: pkg/service/templates.go:10
msgid "{user} added you to Space {space}"
msgstr ""
#: pkg/service/templates.go:25
msgid "{user} deleted Space {space}"
msgstr ""
#: pkg/service/templates.go:20
msgid "{user} disabled Space {space}"
msgstr ""
#: pkg/service/templates.go:15
msgid "{user} removed you from Space {space}"
msgstr ""
#: pkg/service/templates.go:35
msgid "{user} shared {resource} with you"
msgstr ""
#: pkg/service/templates.go:40
msgid "{user} unshared {resource} with you"
msgstr ""