diff --git a/Configuration/Icons.php b/Configuration/Icons.php index a82c4c9..bc004cf 100644 --- a/Configuration/Icons.php +++ b/Configuration/Icons.php @@ -5,7 +5,7 @@ use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider; return [ - 'tx-conpassione-kennellist' => [ + 'tx-conpassione-kennel' => [ 'provider' => SvgIconProvider::class, 'source' => 'EXT:cpkm/Resources/Public/Icons/Kennel.svg', ], @@ -15,6 +15,11 @@ 'source' => 'EXT:cpkm/Resources/Public/Icons/Pedigree.svg', ], + 'tx-conpassione-litter' => [ + 'provider' => SvgIconProvider::class, + 'source' => 'EXT:cpkm/Resources/Public/Icons/Litter.svg', + ], + /* 'tx-myext-bitmapicon' => [ 'provider' => BitmapIconProvider::class, 'source' => 'EXT:my_extension/Resources/Public/Icons/mybitmap.png', diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index eae5187..48e28f0 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -12,18 +12,26 @@ // zusätzliche Icons für Folder-Seiten $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [ - 'label' => 'Kennels', - 'icon' => 'tx-conpassione-kennellist', - 'value' => 'kennellist' + 'label' => 'LLL:EXT:cpkm/Resources/Private/Language/locallang_db.xlf:pages.label.kennel', + 'icon' => 'tx-conpassione-kennel', + 'value' => 'kennel' ]; - - $GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-kennellist'] = 'tx-conpassione-kennellist'; + $GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-kennel'] = 'tx-conpassione-kennel'; // zusätzliche Icons für Folder-Seiten $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [ - 'label' => 'Pedigree', + 'label' => 'LLL:EXT:cpkm/Resources/Private/Language/locallang_db.xlf:pages.label.pedigree', 'icon' => 'tx-conpassione-pedigree', 'value' => 'pedigree' ]; $GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-pedigree'] = 'tx-conpassione-pedigree'; + + // zusätzliche Icons für Folder-Seiten + $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [ + 'label' => 'LLL:EXT:cpkm/Resources/Private/Language/locallang_db.xlf:pages.label.litter', + 'icon' => 'tx-conpassione-litter', + 'value' => 'litter' + ]; + $GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-litter'] = 'tx-conpassione-litter'; + }); diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 9ef779c..88a1907 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -9,7 +9,7 @@ 'tt_content', 'CType', 'kennel', - 'Wurfverwaltung', + 'LLL:EXT:cpkm/Resources/Private/Language/locallang_db.xlf:extname', 'before:default' ); }); diff --git a/ContentBlocks/RecordTypes/Kennel/Assets/Icon.svg b/ContentBlocks/RecordTypes/Kennel/Assets/Icon.svg index e41f8c5..0afa474 100644 --- a/ContentBlocks/RecordTypes/Kennel/Assets/Icon.svg +++ b/ContentBlocks/RecordTypes/Kennel/Assets/Icon.svg @@ -1,11 +1,12 @@ - - - + - + + + + diff --git a/ContentBlocks/RecordTypes/Kennel/language/de.labels.xlf b/ContentBlocks/RecordTypes/Kennel/language/de.labels.xlf index 02f6aaa..430416b 100644 --- a/ContentBlocks/RecordTypes/Kennel/language/de.labels.xlf +++ b/ContentBlocks/RecordTypes/Kennel/language/de.labels.xlf @@ -48,7 +48,7 @@ Adresse des Züchters - Name + First Name Vorname diff --git a/ContentBlocks/RecordTypes/Kennel/language/labels.xlf b/ContentBlocks/RecordTypes/Kennel/language/labels.xlf index ab28ee6..c4d9a3e 100644 --- a/ContentBlocks/RecordTypes/Kennel/language/labels.xlf +++ b/ContentBlocks/RecordTypes/Kennel/language/labels.xlf @@ -1,6 +1,6 @@ - +
@@ -37,7 +37,7 @@ Breeders address - Name + First Name Last name diff --git a/ContentBlocks/RecordTypes/Litter/assets/icon.svg b/ContentBlocks/RecordTypes/Litter/assets/icon.svg index f1c492e..e789565 100644 --- a/ContentBlocks/RecordTypes/Litter/assets/icon.svg +++ b/ContentBlocks/RecordTypes/Litter/assets/icon.svg @@ -1,14 +1,33 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - diff --git a/ContentBlocks/RecordTypes/Litter/config.yaml b/ContentBlocks/RecordTypes/Litter/config.yaml index 0ae80e9..b6e8ec7 100644 --- a/ContentBlocks/RecordTypes/Litter/config.yaml +++ b/ContentBlocks/RecordTypes/Litter/config.yaml @@ -7,6 +7,8 @@ languageAware: false labelField: - l_date - l_name + - l_kennel + - l_status sortField: - identifier: l_date order: asc diff --git a/ContentBlocks/RecordTypes/Litter/language/de.labels.xlf b/ContentBlocks/RecordTypes/Litter/language/de.labels.xlf index 30502b0..2950fdc 100644 --- a/ContentBlocks/RecordTypes/Litter/language/de.labels.xlf +++ b/ContentBlocks/RecordTypes/Litter/language/de.labels.xlf @@ -7,6 +7,62 @@ Litter Wurf + + Kennel + Zuchtstätte + + + Litter + Wurf + + + Day of Birth + Tag der Geburt + + + Status + Status + + + Mating report + Deckmeldung + + + Litter report + Wurfmeldung + + + not pregnant + nicht schwanger + + + Father + Vater + + + Mother + Mutter + + + Females + Hündinnen + + + Males + Rüden + + + Infos + Infos + + + Images + Bilder + + + Comment + Kommentar + diff --git a/ContentBlocks/RecordTypes/Litter/language/labels.xlf b/ContentBlocks/RecordTypes/Litter/language/labels.xlf index 6caf126..ebf5472 100644 --- a/ContentBlocks/RecordTypes/Litter/language/labels.xlf +++ b/ContentBlocks/RecordTypes/Litter/language/labels.xlf @@ -1,11 +1,53 @@ - +
Litter + + Kennel + + + Litter + + + Day of Birth + + + Status + + + Mating report + + + Litter report + + + not pregnant + + + Father + + + Mother + + + Females + + + Males + + + Infos + + + Images + + + Comment + diff --git a/ContentBlocks/RecordTypes/Pedigree/assets/icon.svg b/ContentBlocks/RecordTypes/Pedigree/assets/icon.svg index 57f84a5..d06f10b 100644 --- a/ContentBlocks/RecordTypes/Pedigree/assets/icon.svg +++ b/ContentBlocks/RecordTypes/Pedigree/assets/icon.svg @@ -1,10 +1,16 @@ - - - - - - - + + + + + + + + + + + + + diff --git a/ContentBlocks/RecordTypes/Pedigree/config.yaml b/ContentBlocks/RecordTypes/Pedigree/config.yaml index 499269f..e7ec206 100644 --- a/ContentBlocks/RecordTypes/Pedigree/config.yaml +++ b/ContentBlocks/RecordTypes/Pedigree/config.yaml @@ -8,6 +8,7 @@ labelField: - p_name - p_birth_date - p_sex + - p_kennel sortField: - identifier: p_name order: asc diff --git a/ContentBlocks/RecordTypes/Pedigree/language/de.labels.xlf b/ContentBlocks/RecordTypes/Pedigree/language/de.labels.xlf index d66842f..022c5e6 100644 --- a/ContentBlocks/RecordTypes/Pedigree/language/de.labels.xlf +++ b/ContentBlocks/RecordTypes/Pedigree/language/de.labels.xlf @@ -7,6 +7,118 @@ Pedigree Stammbaum + + Dogs Name + Name des Hundes + + + Breeder + Züchter + + + Date of Birth + Geburtstag + + + Sex + Geschlecht + + + Female + Hündin + + + Male + Rüde + + + Variety + Varietät + + + Status + Status + + + with a license + angekört + + + aktive + aktiv + + + inaktive + inaktiv + + + Coat Color + Stammbaum + + + Height + Risthöhe + + + No. chip + Chip-Nummer + + + No. SHSB + SHSB-Nummer + + + Father + Vater + + + Mother + Mutter + + + Owner + Besitzer + + + First Name + Vorname + + + Last Name + Nachname + + + Address + Adresse + + + Phone + Telefon + + + Mobile + Handy + + + eMail + E-Mail + + + Website + Webseite + + + Docs and images + Dokumente und Bilder + + + Images + Bilder + + + Docs + Dokumente + diff --git a/ContentBlocks/RecordTypes/Pedigree/language/labels.xlf b/ContentBlocks/RecordTypes/Pedigree/language/labels.xlf index 374f251..73ebffe 100644 --- a/ContentBlocks/RecordTypes/Pedigree/language/labels.xlf +++ b/ContentBlocks/RecordTypes/Pedigree/language/labels.xlf @@ -1,11 +1,95 @@ - +
Pedigree + + Dogs Name + + + Breeder + + + Date of Birth + + + Sex + + + Female + + + Male + + + Variety + + + Status + + + with a license + + + aktive + + + inaktive + + + Coat Color + + + Height + + + No. chip + + + No. SHSB + + + Father + + + Mother + + + Owner + + + First Name + + + Last Name + + + Address + + + Phone + + + Mobile + + + eMail + + + Website + + + Docs and images + + + Images + + + Docs + diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf new file mode 100644 index 0000000..c15df35 --- /dev/null +++ b/Resources/Private/Language/de.locallang_db.xlf @@ -0,0 +1,24 @@ + + + +
+ + + Kennel Management + Zuchtverwaltung + + + Kennel + Zuchtstätte + + + Litter + Deck- und Wurfmeldung + + + Pedigree + Stammbaum + + +
+
diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf new file mode 100644 index 0000000..4436832 --- /dev/null +++ b/Resources/Private/Language/locallang_db.xlf @@ -0,0 +1,20 @@ + + + +
+ + + Kennel Management + + + Kennel + + + Litter + + + Pedigree + + +
+
diff --git a/Resources/Public/Icons/Dpg.svg b/Resources/Public/Icons/Dpg.svg deleted file mode 100644 index 6c3ebe3..0000000 --- a/Resources/Public/Icons/Dpg.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Resources/Public/Icons/Kennel.svg b/Resources/Public/Icons/Kennel.svg index e41f8c5..0afa474 100644 --- a/Resources/Public/Icons/Kennel.svg +++ b/Resources/Public/Icons/Kennel.svg @@ -1,11 +1,12 @@ - - - + - + + + + diff --git a/Resources/Public/Icons/Litter.svg b/Resources/Public/Icons/Litter.svg new file mode 100644 index 0000000..e789565 --- /dev/null +++ b/Resources/Public/Icons/Litter.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/Public/Icons/Pedigree.svg b/Resources/Public/Icons/Pedigree.svg index 57f84a5..d06f10b 100644 --- a/Resources/Public/Icons/Pedigree.svg +++ b/Resources/Public/Icons/Pedigree.svg @@ -1,10 +1,16 @@ - - - - - - - + + + + + + + + + + + + +