Commit 466fda52 authored by Karl Hasselbring's avatar Karl Hasselbring

+ Übersetzungen für die Seitentitel

* Impressum zu Site Notice geändert
* Widget Seite auf Routes.php eingefügt
parent 3da0598d
...@@ -17,39 +17,39 @@ ...@@ -17,39 +17,39 @@
Route::get('/', function() Route::get('/', function()
{ {
return view('index', [ return view('index', [
'title' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen', 'title' => trans('titles.index'),
'homeIcon']); 'homeIcon']);
}); });
Route::get('impressum', function() Route::get('impressum', function()
{ {
return view('impressum') return view('impressum')
->with('title', 'Impressum - MetaGer') ->with('title', trans('titles.impressum'))
->with('css', 'impressum.css'); ->with('css', 'impressum.css');
}); });
Route::get('about', function() Route::get('about', function()
{ {
return view('about') return view('about')
->with('title', 'Über Uns - MetaGer') ->with('title', trans('titles.about'))
->with('css', 'about.css'); ->with('css', 'about.css');
}); });
Route::get('team', function() Route::get('team', function()
{ {
return view('team.team') return view('team.team')
->with('title', 'Team - MetaGer') ->with('title', trans('titles.team'))
->with('css', 'team.css'); ->with('css', 'team.css');
}); });
Route::get('team/pubkey-wsb', function() Route::get('team/pubkey-wsb', function()
{ {
return view('team.pubkey-wsb') return view('team.pubkey-wsb')
->with('title', 'Team - MetaGer'); ->with('title', trans('titles.team'));
}); });
Route::get('kontakt', function() Route::get('kontakt', function()
{ {
return view('kontakt.kontakt') return view('kontakt.kontakt')
->with('title', 'Kontakt - MetaGer') ->with('title', trans('titles.kontakt'))
->with('css', 'kontakt.css') ->with('css', 'kontakt.css')
->with('js', ['openpgp.min.js','kontakt.js']); ->with('js', ['openpgp.min.js','kontakt.js']);
}); });
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
Route::get('spende', function() Route::get('spende', function()
{ {
return view('spende') return view('spende')
->with('title', 'Spenden - MetaGer') ->with('title', trans('titles.spende'))
->with('css', 'donation.css'); ->with('css', 'donation.css');
}); });
Route::post('spende', 'MailController@donation'); Route::post('spende', 'MailController@donation');
...@@ -69,16 +69,23 @@ ...@@ -69,16 +69,23 @@
Route::get('datenschutz', function() Route::get('datenschutz', function()
{ {
return view('datenschutz') return view('datenschutz')
->with('title', 'Datenschutz und Privatsphäre - MetaGer') ->with('title', trans('titles.datenschutz'))
->with('css', 'privacy.css'); ->with('css', 'privacy.css');
}); });
Route::get('hilfe', function() Route::get('hilfe', function()
{ {
return view('hilfe') return view('hilfe')
->with('title', 'Hilfe - MetaGer') ->with('title', trans('titles.hilfe'))
->with('css', 'help.css'); ->with('css', 'help.css');
}); });
Route::get('widget', function()
{
return view('widget')
->with('title', trans('titles.widget'))
->with('css', 'widget.css');
});
Route::get('meta/meta.ger3', 'MetaGerSearch@test'); Route::get('meta/meta.ger3', 'MetaGerSearch@test');
}); });
*{
}
p {
white-space: pre-wrap;
}
\ No newline at end of file
<?php <?php
return [ return [
'title' => 'Impressum',
'headline.1' => 'SUMA-EV - Verein für freien Wissenszugang (e.V.)', 'headline.1' => 'SUMA-EV - Verein für freien Wissenszugang (e.V.)',
'headline.2' => 'in Kooperation mit der', 'headline.2' => 'in Kooperation mit der',
......
<?php
return [
'index' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen',
'impressum' => 'Impressum - MetaGer',
'about' => 'Über Uns - MetaGer',
'team' => 'Team - MetaGer',
'kontakt' => 'Kontakt - MetaGer',
'spende' => 'Spenden - MetaGer',
'datenschutz' => 'Datenschutz und Privatsphäre - MetaGer',
'hilfe' => 'Hilfe - MetaGer',
'widget' => 'MetaGer Widget'
];
\ No newline at end of file
<?php <?php
return [ return [
'title' => 'Site Notice',
'headline.1' => 'SUMA-EV - Verein für freien Wissenszugang (e.V.)', 'headline.1' => 'SUMA-EV - Verein für freien Wissenszugang (e.V.)',
'headline.2' => 'in cooperation with the', 'headline.2' => 'in cooperation with the',
......
...@@ -8,7 +8,7 @@ return [ ...@@ -8,7 +8,7 @@ return [
'nav5' => 'Contact', 'nav5' => 'Contact',
'nav6' => 'Team', 'nav6' => 'Team',
'nav7' => 'About us', 'nav7' => 'About us',
'nav8' => 'Impressum', 'nav8' => 'Site Notice',
'nav9' => 'Help', 'nav9' => 'Help',
'nav10' => 'Widget', 'nav10' => 'Widget',
'nav11' => 'Associator', 'nav11' => 'Associator',
......
<?php
return [
'index' => 'MetaGer: Search and Find Savely, Protect Privacy',
'impressum' => 'Site Notice - MetaGer',
'about' => 'About Us - MetaGer',
'team' => 'Team - MetaGer',
'kontakt' => 'Contact - MetaGer',
'spende' => 'Donation - MetaGer',
'datenschutz' => 'Privacy - MetaGer',
'hilfe' => 'Help - MetaGer',
'widget' => 'MetaGer Widget'
];
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
@section('title', $title ) @section('title', $title )
@section('content') @section('content')
<h1>Impressum</h1> <h1>{{ trans('impressum.title') }}</h1>
<h2><a href="http://suma-ev.de/" target="_blank">{{ trans('impressum.headline.1') }}</a></h2> <h2><a href="http://suma-ev.de/" target="_blank">{{ trans('impressum.headline.1') }}</a></h2>
<h2>{{ trans('impressum.headline.2') }} <a href="http://www.uni-hannover.de/" target="_blank">Leibniz Universität Hannover</a></h2> <h2>{{ trans('impressum.headline.2') }} <a href="http://www.uni-hannover.de/" target="_blank">Leibniz Universität Hannover</a></h2>
<p>{{ trans('impressum.info.1') }} <a href="http://de.wikipedia.org/wiki/Suma_e.V." target="_blank">SUMA-EV</a></p> <p>{{ trans('impressum.info.1') }} <a href="http://de.wikipedia.org/wiki/Suma_e.V." target="_blank">SUMA-EV</a></p>
......
Markdown is supported
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