From 0331d9f40fbbedeb267dea632aa6c24b62f0e332 Mon Sep 17 00:00:00 2001 From: Aria <aria@suma-ev.de> Date: Mon, 2 Jul 2018 09:57:48 +0200 Subject: [PATCH] =?UTF-8?q?Title=20Attribut=20+=20=C3=9Cbersetzungen=20=20?= =?UTF-8?q?hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/lang/de/index.php | 2 ++ resources/lang/en/index.php | 4 +++- resources/views/index.blade.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/lang/de/index.php b/resources/lang/de/index.php index 1da10bbb2..d19a2780a 100644 --- a/resources/lang/de/index.php +++ b/resources/lang/de/index.php @@ -44,6 +44,8 @@ return [ 'key.placeholder' => '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', diff --git a/resources/lang/en/index.php b/resources/lang/en/index.php index 729a38ffb..0d5acfc7d 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,7 +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.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 a6cd12a45..bdde6a3e7 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> -- GitLab