mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Adds the Performer contributor role and editable genre and tag rows to the book pages.
This commit is contained in:
1 parent
5a2c6c2bd8
commit
33603e63c7
13 files changed
+487
-58
No files matched your search
@@ -171,5 +171,10 @@ public enum MediaContributorRole
|
||||
/// <summary>
|
||||
/// The contributor orchestrated the music of the media item.
|
||||
/// </summary>
|
||||
Orchestrator
|
||||
Orchestrator,
|
||||
|
||||
/// <summary>
|
||||
/// The contributor performed the media item, without a more specific role being known.
|
||||
/// </summary>
|
||||
Performer
|
||||
}
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>الأنواع</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>أنواع الكتاب، مفصولة بفواصل.</value>
|
||||
<value>الأنواع الموسيقية الخاصة بالكتاب.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>المعرّف الرقمي للكتاب على Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>الوسوم</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>وسوم الكتاب، مفصولة بفواصل.</value>
|
||||
<value>الوسوم الخاصة بالكتاب.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>العنوان</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>منسق الأوركسترا</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>مؤدٍ</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>معرّف المساهم</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>الدور</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>آخر</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>النوع</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>إضافة نوع</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>وسم</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>إضافة وسم</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Genres</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>Die Genres des Buches, durch Kommas getrennt.</value>
|
||||
<value>Die Genres des Buchs.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>Die numerische Kennung des Buches bei Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Schlagwörter</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Die Schlagwörter des Buches, durch Kommas getrennt.</value>
|
||||
<value>Die Tags des Buchs.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Titel</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestrator</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Interpret</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Mitwirkenden-Id</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Rolle</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Sonstige</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Genre</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Genre hinzufügen</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Schlagwort</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Schlagwort hinzufügen</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -253,10 +253,10 @@
|
||||
<value>The native name of the original language of the book.</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>The genres of the book, separated by commas.</value>
|
||||
<value>The genres of the book.</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>The tags of the book, separated by commas.</value>
|
||||
<value>The tags of the book.</value>
|
||||
</data>
|
||||
<data name="ASINDescription" xml:space="preserve">
|
||||
<value>The Amazon Standard Identification Number of the book.</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestrator</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Performer</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Contributor Id</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Role</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Other</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Genre</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Add genre</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Tag</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Add tag</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Géneros</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>Los géneros del libro, separados por comas.</value>
|
||||
<value>Los géneros del libro.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>El identificador numérico del libro en Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Etiquetas</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Las etiquetas del libro, separadas por comas.</value>
|
||||
<value>Las etiquetas del libro.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Título</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orquestador</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Intérprete</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Id de colaborador</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Rol</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Otro</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Género</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Añadir género</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Etiqueta</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Añadir etiqueta</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Genres</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>Les genres du livre, séparés par des virgules.</value>
|
||||
<value>Les genres du livre.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>L'identifiant numérique du livre sur Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Étiquettes</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Les étiquettes du livre, séparées par des virgules.</value>
|
||||
<value>Les étiquettes du livre.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Titre</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestrateur</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Interprète</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Id du contributeur</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Rôle</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Autre</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Genre</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Ajouter un genre</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Étiquette</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Ajouter une étiquette</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Generi</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>I generi del libro, separati da virgole.</value>
|
||||
<value>I generi del libro.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>L'identificatore numerico del libro su Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Etichette</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Le etichette del libro, separate da virgole.</value>
|
||||
<value>I tag del libro.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Titolo</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestratore</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Interprete</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Id collaboratore</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Ruolo</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Altro</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Genere</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Aggiungi genere</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Etichetta</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Aggiungi etichetta</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>ジャンル</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>本のジャンル。カンマ区切り。</value>
|
||||
<value>本のジャンル。</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>Goodreads上の本の数値ID。</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>タグ</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>本のタグ。カンマ区切り。</value>
|
||||
<value>本のタグ。</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>タイトル</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>オーケストレーター</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>パフォーマー</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>貢献者 Id</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>役割</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>その他</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>ジャンル</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>ジャンルを追加</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>タグ</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>タグを追加</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -253,10 +253,10 @@
|
||||
<value>The native name of the original language of the book.</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>The genres of the book, separated by commas.</value>
|
||||
<value>The genres of the book.</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>The tags of the book, separated by commas.</value>
|
||||
<value>The tags of the book.</value>
|
||||
</data>
|
||||
<data name="ASINDescription" xml:space="preserve">
|
||||
<value>The Amazon Standard Identification Number of the book.</value>
|
||||
@@ -1050,4 +1050,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestrator</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Performer</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Contributor Id</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Role</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Other</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Genre</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Add genre</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Tag</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Add tag</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Genuri</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>Genurile cărții, separate prin virgule.</value>
|
||||
<value>Genurile cărții.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>Identificatorul numeric al cărții pe Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Etichete</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Etichetele cărții, separate prin virgule.</value>
|
||||
<value>Etichetele cărții.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Titlu</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Orchestrator</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Interpret</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Id contribuitor</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Rol</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Altele</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Gen</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Adaugă gen</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Etichetă</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Adaugă etichetă</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>Жанри</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>Жанри книги, розділені комами.</value>
|
||||
<value>Жанри книги.</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>Числовий ідентифікатор книги на Goodreads.</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>Теги</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>Теги книги, розділені комами.</value>
|
||||
<value>Теги книги.</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Назва</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>Оркестратор</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>Виконавець</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>Ідентифікатор учасника</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>Роль</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>Інше</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>Жанр</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>Додати жанр</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>Тег</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>Додати тег</value>
|
||||
</data>
|
||||
</root>
|
||||
+36
-3
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
@@ -94,7 +94,7 @@
|
||||
<value>体裁</value>
|
||||
</data>
|
||||
<data name="GenresDescription" xml:space="preserve">
|
||||
<value>图书的体裁,以逗号分隔。</value>
|
||||
<value>书籍的流派。</value>
|
||||
</data>
|
||||
<data name="GoodreadsIdDescription" xml:space="preserve">
|
||||
<value>图书在 Goodreads 上的数字标识。</value>
|
||||
@@ -304,7 +304,7 @@
|
||||
<value>标签</value>
|
||||
</data>
|
||||
<data name="TagsDescription" xml:space="preserve">
|
||||
<value>图书的标签,以逗号分隔。</value>
|
||||
<value>书籍的标签。</value>
|
||||
</data>
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>标题</value>
|
||||
@@ -1051,4 +1051,37 @@
|
||||
<data name="Orchestrator" xml:space="preserve">
|
||||
<value>配器师</value>
|
||||
</data>
|
||||
<data name="Performer" xml:space="preserve">
|
||||
<value>表演者</value>
|
||||
</data>
|
||||
<data name="ContributorId" xml:space="preserve">
|
||||
<value>贡献者 Id</value>
|
||||
</data>
|
||||
<data name="ContributorRole" xml:space="preserve">
|
||||
<value>角色</value>
|
||||
</data>
|
||||
<data name="Other" xml:space="preserve">
|
||||
<value>其他</value>
|
||||
</data>
|
||||
<data name="MusicBrainz" xml:space="preserve">
|
||||
<value>MusicBrainz</value>
|
||||
</data>
|
||||
<data name="Discogs" xml:space="preserve">
|
||||
<value>Discogs</value>
|
||||
</data>
|
||||
<data name="LastFm" xml:space="preserve">
|
||||
<value>Last.fm</value>
|
||||
</data>
|
||||
<data name="Genre" xml:space="preserve">
|
||||
<value>流派</value>
|
||||
</data>
|
||||
<data name="AddGenre" xml:space="preserve">
|
||||
<value>添加流派</value>
|
||||
</data>
|
||||
<data name="Tag" xml:space="preserve">
|
||||
<value>标签</value>
|
||||
</data>
|
||||
<data name="AddTag" xml:space="preserve">
|
||||
<value>添加标签</value>
|
||||
</data>
|
||||
</root>
|
||||
+85
-24
@@ -305,19 +305,47 @@
|
||||
|
||||
<h3 class="text-light-two">@_localizer["Genres"]</h3>
|
||||
<div class="form-row">
|
||||
<div class="form-label"><label for="genres-input">@_localizer["Genres"]</label>:</div>
|
||||
<div class="form-field">
|
||||
<input id="genres-input" type="text" class="enlightenment-input" value="@(string.Join(", ", genres.Select(genre => genre.Name)))" />
|
||||
</div>
|
||||
<table class="w-100 form-table book-list-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@_localizer["Genre"]</th>
|
||||
<th class="w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="genres-body">
|
||||
@foreach (var genre in genres)
|
||||
{
|
||||
<tr class="genre-row">
|
||||
<td><input type="text" class="enlightenment-input genre-name w-100" value="@(genre.Name)" /></td>
|
||||
<td><img src="~/images/ui/delete.svg" alt="@_localizer["Remove"]" title="@_localizer["Remove"]" class="remove-form-table-row-icon" /></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
<button id="btn-add-genre" type="button" class="confirm-button">@_localizer["AddGenre"]</button>
|
||||
<small class="form-label text-disabled form-description">@_localizer["GenresDescription"]</small>
|
||||
</div>
|
||||
|
||||
<h3 class="text-light-two">@_localizer["Tags"]</h3>
|
||||
<div class="form-row">
|
||||
<div class="form-label"><label for="tags-input">@_localizer["Tags"]</label>:</div>
|
||||
<div class="form-field">
|
||||
<input id="tags-input" type="text" class="enlightenment-input" value="@(string.Join(", ", tags.Select(tag => tag.Name)))" />
|
||||
</div>
|
||||
<table class="w-100 form-table book-list-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@_localizer["Tag"]</th>
|
||||
<th class="w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tags-body">
|
||||
@foreach (var tag in tags)
|
||||
{
|
||||
<tr class="tag-row">
|
||||
<td><input type="text" class="enlightenment-input tag-name w-100" value="@(tag.Name)" /></td>
|
||||
<td><img src="~/images/ui/delete.svg" alt="@_localizer["Remove"]" title="@_localizer["Remove"]" class="remove-form-table-row-icon" /></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
<button id="btn-add-tag" type="button" class="confirm-button">@_localizer["AddTag"]</button>
|
||||
<small class="form-label text-disabled form-description">@_localizer["TagsDescription"]</small>
|
||||
</div>
|
||||
|
||||
@@ -373,9 +401,9 @@
|
||||
<table class="w-100 form-table book-list-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-50">@_localizer["IsbnValue"]</th>
|
||||
<th class="w-40">@_localizer["IsbnFormat"]</th>
|
||||
<th class="w-10"></th>
|
||||
<th>@_localizer["IsbnValue"]</th>
|
||||
<th>@_localizer["IsbnFormat"]</th>
|
||||
<th class="w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="isbns-body">
|
||||
@@ -413,9 +441,9 @@
|
||||
<table class="w-100 form-table book-list-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-55">@_localizer["ContributorName"]</th>
|
||||
<th class="w-35">@_localizer["Role"]</th>
|
||||
<th class="w-10"></th>
|
||||
<th>@_localizer["ContributorName"]</th>
|
||||
<th>@_localizer["Role"]</th>
|
||||
<th class="w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="contributors-body">
|
||||
@@ -454,11 +482,11 @@
|
||||
<table class="w-100 form-table book-list-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-15">@_localizer["RatingValue"]</th>
|
||||
<th class="w-15">@_localizer["RatingMaxValue"]</th>
|
||||
<th class="w-25">@_localizer["RatingSource"]</th>
|
||||
<th class="w-25">@_localizer["RatingVoteCount"]</th>
|
||||
<th class="w-10"></th>
|
||||
<th>@_localizer["RatingValue"]</th>
|
||||
<th>@_localizer["RatingMaxValue"]</th>
|
||||
<th>@_localizer["RatingSource"]</th>
|
||||
<th>@_localizer["RatingVoteCount"]</th>
|
||||
<th class="w-40px"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ratings-body">
|
||||
@@ -529,9 +557,13 @@
|
||||
const isbnsBody = document.getElementById('isbns-body');
|
||||
const contributorsBody = document.getElementById('contributors-body');
|
||||
const ratingsBody = document.getElementById('ratings-body');
|
||||
const genresBody = document.getElementById('genres-body');
|
||||
const tagsBody = document.getElementById('tags-body');
|
||||
const btnAddIsbn = document.getElementById('btn-add-isbn');
|
||||
const btnAddContributor = document.getElementById('btn-add-contributor');
|
||||
const btnAddRating = document.getElementById('btn-add-rating');
|
||||
const btnAddGenre = document.getElementById('btn-add-genre');
|
||||
const btnAddTag = document.getElementById('btn-add-tag');
|
||||
|
||||
const jsLocalizedStrings = {
|
||||
bookSaved: @Json.Serialize(_localizer["BookSaved"].Value),
|
||||
@@ -569,9 +601,12 @@
|
||||
return Number.isNaN(parsed) ? null : parsed;
|
||||
}
|
||||
|
||||
// Splits a comma separated list into trimmed values.
|
||||
function splitList(value) {
|
||||
return value.split(',').map(item => item.trim()).filter(item => item !== '');
|
||||
// Builds a list of name valued entries from the rows of a table, skipping the rows whose name is empty.
|
||||
function buildNameList(body, rowSelector, inputSelector) {
|
||||
return Array.from(body.querySelectorAll(rowSelector))
|
||||
.map(row => row.querySelector(inputSelector).value.trim())
|
||||
.filter(name => name !== '')
|
||||
.map(name => ({ Name: name }));
|
||||
}
|
||||
|
||||
// Builds the payload of the edited book, matching the update request of the API.
|
||||
@@ -619,8 +654,8 @@
|
||||
ReleaseCountry: readComboboxValue('release-country-combobox') || null,
|
||||
ReleaseVersion: readValue('release-version-input') || null
|
||||
},
|
||||
Genres: splitList(readValue('genres-input')).map(name => ({ Name: name })),
|
||||
Tags: splitList(readValue('tags-input')).map(name => ({ Name: name })),
|
||||
Genres: buildNameList(genresBody, '.genre-row', '.genre-name'),
|
||||
Tags: buildNameList(tagsBody, '.tag-row', '.tag-name'),
|
||||
Language: buildLanguage('language-code-input', 'language-name-input', 'language-native-name-input'),
|
||||
OriginalLanguage: buildLanguage('original-language-code-input', 'original-language-name-input', 'original-language-native-name-input')
|
||||
}
|
||||
@@ -819,6 +854,24 @@
|
||||
</tr>`);
|
||||
}
|
||||
|
||||
// Adds a blank genre row.
|
||||
function addGenreRow() {
|
||||
genresBody.insertAdjacentHTML('beforeend', `
|
||||
<tr class="genre-row">
|
||||
<td><input type="text" class="enlightenment-input genre-name w-100" /></td>
|
||||
<td><img src="/images/ui/delete.svg" alt="${jsLocalizedStrings.remove}" title="${jsLocalizedStrings.remove}" class="remove-form-table-row-icon" /></td>
|
||||
</tr>`);
|
||||
}
|
||||
|
||||
// Adds a blank tag row.
|
||||
function addTagRow() {
|
||||
tagsBody.insertAdjacentHTML('beforeend', `
|
||||
<tr class="tag-row">
|
||||
<td><input type="text" class="enlightenment-input tag-name w-100" /></td>
|
||||
<td><img src="/images/ui/delete.svg" alt="${jsLocalizedStrings.remove}" title="${jsLocalizedStrings.remove}" class="remove-form-table-row-icon" /></td>
|
||||
</tr>`);
|
||||
}
|
||||
|
||||
// Removes the row of the clicked remove icon.
|
||||
function handleRowRemoval(event) {
|
||||
if (event.target.matches('.remove-form-table-row-icon'))
|
||||
@@ -833,9 +886,13 @@
|
||||
btnAddIsbn.addEventListener('click', addIsbnRow);
|
||||
btnAddContributor.addEventListener('click', addContributorRow);
|
||||
btnAddRating.addEventListener('click', addRatingRow);
|
||||
btnAddGenre.addEventListener('click', addGenreRow);
|
||||
btnAddTag.addEventListener('click', addTagRow);
|
||||
isbnsBody.addEventListener('click', handleRowRemoval);
|
||||
contributorsBody.addEventListener('click', handleRowRemoval);
|
||||
ratingsBody.addEventListener('click', handleRowRemoval);
|
||||
genresBody.addEventListener('click', handleRowRemoval);
|
||||
tagsBody.addEventListener('click', handleRowRemoval);
|
||||
document.addEventListener('DOMContentLoaded', InitializeAsync);
|
||||
|
||||
// Register cleanup for these listeners.
|
||||
@@ -847,9 +904,13 @@
|
||||
btnAddIsbn.removeEventListener('click', addIsbnRow);
|
||||
btnAddContributor.removeEventListener('click', addContributorRow);
|
||||
btnAddRating.removeEventListener('click', addRatingRow);
|
||||
btnAddGenre.removeEventListener('click', addGenreRow);
|
||||
btnAddTag.removeEventListener('click', addTagRow);
|
||||
isbnsBody.removeEventListener('click', handleRowRemoval);
|
||||
contributorsBody.removeEventListener('click', handleRowRemoval);
|
||||
ratingsBody.removeEventListener('click', handleRowRemoval);
|
||||
genresBody.removeEventListener('click', handleRowRemoval);
|
||||
tagsBody.removeEventListener('click', handleRowRemoval);
|
||||
document.removeEventListener('DOMContentLoaded', InitializeAsync);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user