Skip to content

Commit

Permalink
remove l10n from gitignore
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Mar 9, 2023
1 parent 93f4390 commit 942abb0
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion services/userlog/Makefile
Original file line number Diff line number Diff line change
@@ -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 ############
Expand Down Expand Up @@ -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
Expand Down
82 changes: 82 additions & 0 deletions services/userlog/pkg/service/l10n/locale/default.pot
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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 ""

0 comments on commit 942abb0

Please sign in to comment.