From 25866011a8aab9bfc7c0542ad889ad22f60cd9c5 Mon Sep 17 00:00:00 2001 From: thomas-sc Date: Tue, 14 Jan 2025 19:10:40 +0100 Subject: [PATCH] handle translations for bibliography facet items with own language fields --- Configuration/TypoScript/setup.typoscript | 2 ++ .../Private/Language/bibliographylang.xlf | 35 +++++++++++++++++++ .../Private/Language/de.bibliographylang.xlf | 11 ++++++ 3 files changed, 48 insertions(+) create mode 100644 Resources/Private/Language/bibliographylang.xlf create mode 100644 Resources/Private/Language/de.bibliographylang.xlf diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index af73d1f..8f4ce02 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -34,6 +34,8 @@ plugin.tx_lisztcommon_searchlisting { extensionName = liszt_bibliography # the name of the entity index indexName = zotero + # the filename of the language file for translations in /Resources/Private/Language/ of the extension + languageFile = bibliographylang # the facets are multi selectable if multiselect is set # the filter fields filters { diff --git a/Resources/Private/Language/bibliographylang.xlf b/Resources/Private/Language/bibliographylang.xlf new file mode 100644 index 0000000..be36c0c --- /dev/null +++ b/Resources/Private/Language/bibliographylang.xlf @@ -0,0 +1,35 @@ + + + +
+ + + Typ + + + Beteiligte + + + Datum + + + Sprache + + + Journaltitel + + + Buch + + + Journal + + + Buchbereich + + + Abschlussarbeit + + + + diff --git a/Resources/Private/Language/de.bibliographylang.xlf b/Resources/Private/Language/de.bibliographylang.xlf new file mode 100644 index 0000000..6d4ce06 --- /dev/null +++ b/Resources/Private/Language/de.bibliographylang.xlf @@ -0,0 +1,11 @@ + + + +
+ + + Kategorie + + + +