mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 17:19:34 +00:00
Remove frontend-only translations from messages domain and set frontend as default domain
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
f503251689
commit
c7c10a888f
16 changed files with 13 additions and 430 deletions
|
|
@ -79,9 +79,9 @@ export default class extends Controller {
|
|||
panelPlacement: this.element.dataset.panelPlacement,
|
||||
plugins: [recentSearchesPlugin],
|
||||
openOnFocus: true,
|
||||
placeholder: trans("search.placeholder", {}, 'frontend'),
|
||||
placeholder: trans("search.placeholder"),
|
||||
translations: {
|
||||
submitButtonTitle: trans("search.submit", {}, 'frontend')
|
||||
submitButtonTitle: trans("search.submit")
|
||||
},
|
||||
|
||||
// Use a navigator compatible with turbo:
|
||||
|
|
@ -150,7 +150,7 @@ export default class extends Controller {
|
|||
},
|
||||
templates: {
|
||||
header({ html }) {
|
||||
return html`<span class="aa-SourceHeaderTitle">${trans("part.labelp", {}, 'frontend')}</span>
|
||||
return html`<span class="aa-SourceHeaderTitle">${trans("part.labelp")}</span>
|
||||
<div class="aa-SourceHeaderLine" />`;
|
||||
},
|
||||
item({item, components, html}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue