Skip to content

Commit

Permalink
[TASK] Cleanup settings.definitions.yaml
Browse files Browse the repository at this point in the history
- add categories
- move labels to labels.xlf
  • Loading branch information
Sebastian Fischer committed Nov 9, 2024
1 parent b8ffe02 commit 894fe85
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 17 deletions.
52 changes: 52 additions & 0 deletions Configuration/Sets/Books/labels.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" datatype="plaintext" original="EXT:fluid_styled_content/Configuration/Sets/FluidStyledContent/labels.xlf" date="2024-09-05T08:00:00Z" product-name="fluid_styled_content">
<header/>
<body>
<trans-unit id="label" resname="label">
<source>Book Libraries</source>
</trans-unit>

<trans-unit id="categories.sf-books" resname="categories.sf-books">
<source>Book Libraries</source>
</trans-unit>

<trans-unit id="settings.evoweb.sf_books.bookPageId" resname="settings.evoweb.sf_books.bookPageId">
<source>Book plugin page id</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.bookPageId" resname="settings.description.evoweb.sf_books.bookPageId">
<source>page id</source>
</trans-unit>
<trans-unit id="settings.evoweb.sf_books.authorPageId" resname="settings.evoweb.sf_books.authorPageId">
<source>Author plugin page id</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.authorPageId" resname="settings.description.evoweb.sf_books.authorPageId">
<source>page id</source>
</trans-unit>
<trans-unit id="settings.evoweb.sf_books.categoryPageId" resname="settings.evoweb.sf_books.categoryPageId">
<source>Category plugin page id</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.categoryPageId" resname="settings.description.evoweb.sf_books.categoryPageId">
<source>page id</source>
</trans-unit>
<trans-unit id="settings.evoweb.sf_books.seriesPageId" resname="settings.evoweb.sf_books.seriesPageId">
<source>Series plugin page id</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.seriesPageId" resname="settings.description.evoweb.sf_books.seriesPageId">
<source>page id</source>
</trans-unit>
<trans-unit id="settings.evoweb.sf_books.searchPageId" resname="settings.evoweb.sf_books.searchPageId">
<source>Search plugin page id</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.searchPageId" resname="settings.description.evoweb.sf_books.searchPageId">
<source>page id</source>
</trans-unit>
<trans-unit id="settings.evoweb.sf_books.excludeCategories" resname="settings.evoweb.sf_books.excludeCategories">
<source>Exclude category list</source>
</trans-unit>
<trans-unit id="settings.description.evoweb.sf_books.excludeCategories" resname="settings.description.evoweb.sf_books.excludeCategories">
<source>List of category ids to be excluded</source>
</trans-unit>
</body>
</file>
</xliff>
31 changes: 14 additions & 17 deletions Configuration/Sets/Books/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
categories:
sf-books: ~

settings:
evoweb.sf_books.bookPageId:
default: ''
label: 'Book plugin page id'
default: 0
type: int
description: 'page id'
category: sf-books
evoweb.sf_books.authorPageId:
default: ''
label: 'Author plugin page id'
default: 0
type: int
description: 'page id'
category: sf-books
evoweb.sf_books.categoryPageId:
default: ''
label: 'Category plugin page id'
default: 0
type: int
description: 'page id'
category: sf-books
evoweb.sf_books.seriesPageId:
default: ''
label: 'Series plugin page id'
default: 0
type: int
description: 'page id'
category: sf-books
evoweb.sf_books.searchPageId:
default: ''
label: 'Search plugin page id'
default: 0
type: int
description: 'page id'
category: sf-books
evoweb.sf_books.excludeCategories:
default: ''
label: 'Exclude category list'
type: string
description: 'List of category ids to be excluded'
category: sf-books

0 comments on commit 894fe85

Please sign in to comment.