Commit 2df56e9b authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed alteration translations

parent 64d2b183
{"timestamp":1673019387}
\ No newline at end of file
{"timestamp":1673349077}
\ No newline at end of file
......@@ -9,6 +9,6 @@ return [
'filter.default' => 'Sie erhalten die Benutzeroberfläche in <strong>:langName</strong>, aber Ergebnisse in <strong>ALLEN</strong> Sprachen. Für ausschließlich deutschsprachige Ergebnisse können Sie unter <a href="/settings" target="_blank">anpassen</a> die "Sprache auswählen".',
'produktanzeigen' => 'Produktanzeigen:',
'query.alteration' => 'Enthält Ergebnisse für <a href=":link">:alteration <img class= "mg-icon" src="/img/icon-lupe.svg"></a>',
'query.alteration.new' => 'Enthält Ergebnisse für <a href=":link">:alteration <img class= "mg-icon" src="/img/icon-lupe.svg"></a>',
'query.alteration.original' => 'Stattdessen nach <a href=":link">:original <img class= "mg-icon" src="/img/icon-lupe.svg"></a> suchen',
];
];
\ No newline at end of file
......@@ -11,6 +11,7 @@ return [
'query' => [
'alteration' => [
'original' => 'Instead search for <a href=":link">:original <img class= "mg-icon" src="/img/icon-lupe.svg"></a>',
'new' => 'Contains results for <a href=":link">:alteration <img class= "mg-icon" src="/img/icon-lupe.svg"></a>',
],
],
];
......@@ -12,6 +12,7 @@ return [
'query' => [
'alteration' => [
'original' => 'En su lugar, busque <a href=":link">:original <img class= "mg-icon" src="/img/ellipsis-horizontal.svg"></a>',
'new' => 'Contiene resultados para <a href=":link">:alteration <img class= "mg-icon" src="/img/ellipsis-horizontal.svg"></a>',
],
],
];
{{-- Show all infos --}}
@if(!empty($metager->alteredQuery) && !empty($metager->alterationOverrideQuery))
<div class="alteration">
<div>@lang('results.query.alteration', ['link' => $metager->generateEingabeLink($metager->alteredQuery), 'alteration' => $metager->alteredQuery ])</div>
<div>@lang('results.query.alteration.new', ['link' => $metager->generateEingabeLink($metager->alteredQuery), 'alteration' => $metager->alteredQuery ])</div>
<div class="original">@lang('results.query.alteration.original', ['link' => $metager->generateEingabeLink($metager->alterationOverrideQuery), 'original' => $metager->getEingabe()])</div>
</div>
@endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment