diff --git a/resources/lang/de/index.php b/resources/lang/de/index.php index 92912a3e558d4f9c45b34d104311af5f567b1502..296ed66ba035004e67b9725ebe5c861254d53090 100644 --- a/resources/lang/de/index.php +++ b/resources/lang/de/index.php @@ -46,6 +46,8 @@ return [ 'key.tooltip' => 'Mitglieder Key eingeben', 'placeholder' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen', + 'plugin.open-modal' => 'MetaGer-Plugin hinzufügen', + 'plugin.open-modal.title' => 'MetaGer zu Ihren Browser hinzufügen', 'plugin.head.1' => 'MetaGer zum Firefox hinzufügen', 'plugin.head.2' => 'MetaGer zum Chrome hinzufügen', 'plugin.head.3' => 'MetaGer zum Opera hinzufügen', @@ -56,6 +58,7 @@ return [ 'plugin.head.8' => 'MetaGer zum Firefox Klar hinzufügen', 'plugin.head.info' => '(aktuelle Sucheinstellungen werden übernommen)', + 'plugin.firefox.plugin' => 'Das Plugin für Firefox können Sie <a href="https://addons.mozilla.org/de/firefox/addon/metager-suche/?src=search" target="_blank">hier</a> herunterladen. Dadurch bleiben Ihre Sucheinstellungen jederzeit erhalten. Alternativ können Sie MetaGer auch als Standardsuchmaschine einrichten:', 'plugin.firefox.1' => 'Klicken Sie in Ihrem Browser oben rechts im Suchfeld auf die Lupe mit dem kleinen "+" und dann auf "MetaGer hinzufügen" (siehe Bild)', 'plugin.firefox.2' => 'Klicken Sie nun mit der rechten Maustaste auf das neue MetaGer Logo in der Liste und auf "als Standard Suchmaschine verwenden" (siehe Bild)', 'plugin.firefox.3' => 'MetaGer als Startseite im :browser einrichten', diff --git a/resources/lang/en/index.php b/resources/lang/en/index.php index d3e24504ebc0ade87d130290206864fe0c03aae7..0d5acfc7d4ecae7594a49a2b76680ab71a03be5a 100644 --- a/resources/lang/en/index.php +++ b/resources/lang/en/index.php @@ -38,6 +38,8 @@ return [ "placeholder" => "MetaGer: Privacy Protected Search & Find", + 'plugin.open-modal' => 'Install MetaGer-Plugin', + 'plugin.open-modal.title' => 'Add the MetaGer-Plugin to your browser', "plugin.head.1" => "Add MetaGer to your Firefox", "plugin.head.2" => "Add MetaGer to your Chrome", "plugin.head.3" => "Add MetaGer to your Opera", @@ -48,6 +50,7 @@ return [ "plugin.head.8" => "Add MetaGer to your Firefox Focus", "plugin.head.info" => "(selected search preferences will be used)", + 'plugin.firefox.plugin' => 'You can download the plugin for Firefox <a href="https://addons.mozilla.org/en-GB/firefox/addon/metager-suche/?src=search" target="_blank">here</a>. Using the plugin allows you to keep your search settings even when deleting your history data. Alternatively you can set MetaGer as your default search engine:', "plugin.firefox.1" => "Click on the magnifying glass with the small green \"+\" and then on \"Add MetaGer..\" (picture 1)", "plugin.firefox.2" => "Now right click on the new MetaGer Logo in the List and select \"Make MetaGer the default search engine\" (picture2)", "plugin.firefox.3" => "Use MetaGer as start page in :browser", diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index a6cd12a45530177cb9edca74ce6e835d3cafb5d3..bdde6a3e7f2e82086d7b6a313a84f206c13678d1 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -9,7 +9,7 @@ </h1> @include('parts.searchbar', ['class' => 'startpage-searchbar']) <div id="show-plugin-modal"> - <label for="plugin-modal-checkbox" role="button" class="btn btn-default open-plugin-modal" title="MetaGer zu Ihrem Browser hinzufügen"><i class="fa fa-plug" aria-hidden="true"></i> MetaGer-Plugin hinzufügen</a> + <label for="plugin-modal-checkbox" role="button" class="btn btn-default open-plugin-modal" title="{{ trans('index.plugin.open-modal.title') }}"><i class="fa fa-plug" aria-hidden="true"></i> {{ trans('index.plugin.open-modal') }}</a> </div> <script type="text/javascript" src="{{ mix('js/scriptStartPage.js') }}"></script> <script type="text/javascript" src="{{ mix('js/searchbar.js') }}"></script> diff --git a/resources/views/modals/plugin-modal.blade.php b/resources/views/modals/plugin-modal.blade.php index f431342cda22cc63f344be9a93ceb3e4f051f40a..145c48ab3260e94354c4a95b66c45ddc307196ca 100644 --- a/resources/views/modals/plugin-modal.blade.php +++ b/resources/views/modals/plugin-modal.blade.php @@ -20,7 +20,7 @@ @elseif ($browser === 'Safari') {{ trans('index.plugin.head.6') }} @elseif ($browser === 'Vivaldi') - {{ trans('index.plugin.head.6') }} + {{ trans('index.plugin.head.7') }} @else $(".seperator").addClass("hidden"); @endif @@ -29,6 +29,7 @@ </div> <div class="modal-body"> @if ($browser === 'Firefox' || $browser === 'Mozilla') + <h4>{!! trans('index.plugin.firefox.plugin') !!}</h4> <ol> <li>{{ trans('index.plugin.firefox.1') }}<img src="/img/Firefox.png" width="100%" /></li> <li>{{ trans('index.plugin.firefox.2') }}<img src="/img/Firefox_Standard.png" width="100%" /></li>