Skip to content

Commit

Permalink
Merge branch '2.10.x' into 2.11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Jun 5, 2024
2 parents 61221e8 + f25e3c8 commit 25f4191
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Plugin/Indexer/Page/Save/ReindexPageAfterSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ public function afterSave(
\Magento\Framework\Model\ResourceModel\Db\AbstractDb $result,
\Magento\Framework\Model\AbstractModel $page
) {
if ($page->getIsSearchable()) {
$cmsPageIndexer = $this->indexerRegistry->get(Fulltext::INDEXER_ID);
if (!$cmsPageIndexer->isScheduled()) {
$cmsPageIndexer->reindexRow($page->getId());
}
$cmsPageIndexer = $this->indexerRegistry->get(Fulltext::INDEXER_ID);
if (!$cmsPageIndexer->isScheduled()) {
$cmsPageIndexer->reindexRow($page->getId());
}

return $result;
Expand Down
13 changes: 13 additions & 0 deletions i18n/de_AT.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"Yes","Ja"
"No","Nein"
"Smile Elasticsuite CMS Search","Smile Elasticsuite CMS Search"
"Is searchable","Ist durchsuchbar"
"CMS settings","CMS Einstellungen"
"Setting","Einstellungen"
"Max result","Maximale Anzahl an Ergebnissen"
"Maximum number of results to display in result block.","Maximale Anzahl an Ergebnissen im Suchblock"
"Elasticsuite Cms Page Indexing","Elasticsuite Cms Page Indexing"
"Reindex Elasticsuite cms pages.","Elasticsuite CMS Seiten reindizieren."
"Cms page","CMS Seiten"
"Show more.","Mehr anzeigen"
"Results in cms pages.","Suchergebnisse auf Inhaltsseiten"
13 changes: 13 additions & 0 deletions i18n/de_DE.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"Yes","Ja"
"No","Nein"
"Smile Elasticsuite CMS Search","Smile Elasticsuite CMS Search"
"Is searchable","Ist durchsuchbar"
"CMS settings","CMS Einstellungen"
"Setting","Einstellungen"
"Max result","Maximale Anzahl an Ergebnissen"
"Maximum number of results to display in result block.","Maximale Anzahl an Ergebnissen im Suchblock"
"Elasticsuite Cms Page Indexing","Elasticsuite Cms Page Indexing"
"Reindex Elasticsuite cms pages.","Elasticsuite CMS Seiten reindizieren."
"Cms page","CMS Seiten"
"Show more.","Mehr anzeigen"
"Results in cms pages.","Suchergebnisse auf Inhaltsseiten"

0 comments on commit 25f4191

Please sign in to comment.