${t('notFound.title')}
@@ -27,7 +27,7 @@ class PageNotFound extends HTMLElement { customElements.define('page-not-found', PageNotFound); const style = document.createElement('style'); -style.textContent = /* css */ ` +style.textContent = /* css */` page-not-found .not-found { text-align: center; padding: var(--space-3xl) 0; diff --git a/js/components/pages/page-search.js b/js/components/pages/page-search.js index 9222d0a..ccdd0f1 100644 --- a/js/components/pages/page-search.js +++ b/js/components/pages/page-search.js @@ -76,10 +76,10 @@ class PageSearch extends HTMLElement { } render() { - this.innerHTML = /* html */ ` + this.innerHTML = /* html */`${t('search.loading')}
@@ -129,7 +129,7 @@ class PageSearch extends HTMLElement { } if (!this.hasFilters() && this.results.length === 0) { - return /* html */ ` + return /* html */`${t('search.enterQuery')}
@@ -138,7 +138,7 @@ class PageSearch extends HTMLElement { } if (this.results.length === 0) { - return /* html */ ` + return /* html */`${t('search.noResults')}
@@ -146,10 +146,10 @@ class PageSearch extends HTMLElement { `; } - return /* html */ ` + return /* html */`${t('search.resultsCount', { count: this.results.length })}