diff --git a/skolehjem/resources/lang/dk/msg.php b/skolehjem/resources/lang/dk/msg.php index 2111bc3..8684692 100644 --- a/skolehjem/resources/lang/dk/msg.php +++ b/skolehjem/resources/lang/dk/msg.php @@ -10,6 +10,38 @@ return[ "vejledning" => "Vejledninger", "konto" => "Konto", "logud" => "Log ud", + "dereringenmenuplanerdenneuge" => "Der er ingen menuplaner denne uge", + "dereringenaktiviteter" => "Der er ingen aktiviteter", + "setilmeldteaktiviteter" => "Se tilmeldte aktiviteter", + "dinereservationer" => "Dine reservationer", + "duharingenreservationer" => "Du har ingen reservationer", + "reservervaskemaskine" => "Reserver vaskemaskine", + "kontakt" => "Kontakt", + "navn" => "Navn", + "email"=> "E-mail", + "ring" => "Ring", + "givfeedback" => "Giv feedback", + "sendfeedback" => "Send feedback omkring hvem el. hvad som helst", + "accepterer" => "Accepterer", + "dereringenvejledninger" => "Der er ingen vejledninger", + "telefon" => "Telefon", + "redigeroplysninger" => "Rediger Oplysninger", + "ændrepassword" => "Ænder Password", + "tilmeldteaktiviteter" => "Tilmeldte aktiviteter", + "duharikketilmeldtdignogenaktiviteter" => "Du har ikke tilmeldt dig nogen aktiviteter", + "tilbage" => "Tilbage", + "bookingliste" => "Bokking Liste", + "ugestor" => "Uge", + "maskiner" => "Maskiner", + "tilgængeligetider" => "Tilgængelige tider", + "reserver" => "Reserver", + "rediger" => "Rediger", + "nuværendepassword" => "Nuværende Password", + "nytpassword" => "Nyt password", + "confirmpassword" => "Gentag adgangskode", + + + ]; diff --git a/skolehjem/resources/lang/en/msg.php b/skolehjem/resources/lang/en/msg.php index 9dc5f50..76c9e00 100644 --- a/skolehjem/resources/lang/en/msg.php +++ b/skolehjem/resources/lang/en/msg.php @@ -16,7 +16,40 @@ return[ "torsdag" => "Thursday", "dereringenmenuplanerdenneuge" => "There is no menu for this week", "uge" => "week", + "ugestor" => "Week", "dereringenaktiviteter" => "There is no activity this week", "setilmeldteaktiviteter" => "See Registered Activities", "tilmeld" => "Register Activities ", + "tilmeldteaktiviteter" => "Your Registered Activities", + "duharikketilmeldtdignogenaktiviteter" => "You have not signed up for any activities", + "tilbage" => "Go Back", + "dinereservationer" => "Your reservations", + "fjern" => "Remove", + "tid" => "Time", + "reservervaskemaskine" => "Reserve washing machine", + "duharingenreservationer" => "You have no reservations", + "bookingliste" => "Booking List", + "dereringenvaskemaskiner" => "There are no washing machines", + "tilgængeligetider" => "Available times", + "maskiner" => "Washing machine", + "reserver" => "Reserves", + "kontakt" => "Contacts", + "navn" => "Name", + "email" => "E-mail", + "telefontid" => "Telephone hours", + "ring" => "Call", + "givfeedback" => "Feedback", + "sendfeedback" => "Send us feedback about what you like and what you don't like", + "dereringenkontakter" => "There are no contacts", + "accepterer" => "Accept", + "dereringenvejledninger" => "There are no guides", + "tilmelde" => "Participating", + "telefon" => "Phone", + "redigeroplysninger" => "Edit information", + "ændrepassword" => "Change Password", + "rediger" => "Edit", + "nuværendepassword" => "Current password", + "nytpassword" => "New password", + "confirmpassword" => "Confirm password", + ]; diff --git a/skolehjem/resources/views/app/contacts/index.blade.php b/skolehjem/resources/views/app/contacts/index.blade.php index 50a2741..816511d 100644 --- a/skolehjem/resources/views/app/contacts/index.blade.php +++ b/skolehjem/resources/views/app/contacts/index.blade.php @@ -5,25 +5,25 @@ @section("content")
-

Kontakt

+

{{__('msg.kontakt')}}

@if(!$contacts->isEmpty()) @foreach($contacts as $contact) -

Navn: {{ $contact->contactname }}

-

Email: {{ $contact->email }}

+

{{__('msg.navn')}}: {{ $contact->contactname }}

+

{{__('msg.email')}}: {{ $contact->email }}

{{ $contact->title }}

@if($contact->phonetimes) -

Telefontid:

+

{{__('msg.telefontid')}}:

{!! $contact->phonetimes !!} @endif @if($contact->phone) +45 {{ chunk_split($contact->phone, 2, ' ') }} - Ring + {{__('msg.ring')}} @endif @endforeach @else -

Der er ingen kontakter!

+

{{__('msg.dereringenkontakter')}}!

@endif - Send feedback omkring hvem el. hvad som helst - Giv Feedback + {{__('msg.sendfeedback')}} + {{__('msg.givfeedback')}}
@endsection diff --git a/skolehjem/resources/views/app/events/index.blade.php b/skolehjem/resources/views/app/events/index.blade.php index 2e328b7..4e62feb 100644 --- a/skolehjem/resources/views/app/events/index.blade.php +++ b/skolehjem/resources/views/app/events/index.blade.php @@ -15,7 +15,7 @@ {!! session()->get('error#' . $event->id) !!} {!! session()->get('signup#' . $event->id) !!} - + @endforeach @else diff --git a/skolehjem/resources/views/app/events/yourevents.blade.php b/skolehjem/resources/views/app/events/yourevents.blade.php index fa80589..fb24768 100644 --- a/skolehjem/resources/views/app/events/yourevents.blade.php +++ b/skolehjem/resources/views/app/events/yourevents.blade.php @@ -5,7 +5,7 @@ @section("content")
-

Tilmeldte Aktiviteter

+

{{__('msg.tilmeldteaktiviteter')}}

{!! session()->get('eventunsubscribed') !!} @if(!$userevents->isEmpty()) @foreach($userevents as $userevent) @@ -19,8 +19,8 @@ @endforeach @else -

Du har ikke tilmeldt dig nogen aktiviteter!

+

{{__('msg.duharikketilmeldtdignogenaktiviteter')}}!

@endif - Tilbage + {{__('msg.tilbage')}}
@endsection diff --git a/skolehjem/resources/views/app/guides/index.blade.php b/skolehjem/resources/views/app/guides/index.blade.php index 09a3303..2c17dd1 100644 --- a/skolehjem/resources/views/app/guides/index.blade.php +++ b/skolehjem/resources/views/app/guides/index.blade.php @@ -11,7 +11,7 @@ }
-

Vejledninger

+

{{__('msg.vejledning')}}

@if(!$guides->isEmpty()) @foreach($guides as $guide)

{{ $guide->name }}

@@ -19,7 +19,7 @@
@endforeach @else -

Der er ingen vejledninger.

+

{{__('msg.dereringenvejledninger')}}.

@endif
@endsection diff --git a/skolehjem/resources/views/app/users/account.blade.php b/skolehjem/resources/views/app/users/account.blade.php index 0d983be..79bc768 100644 --- a/skolehjem/resources/views/app/users/account.blade.php +++ b/skolehjem/resources/views/app/users/account.blade.php @@ -7,28 +7,28 @@ @section("content")
-

Konto

-

Navn: {{ Auth::user()->name_first . " " . Auth::user()->name_last }}

-

Email: {{ Auth::user()->email }}

-

Telefon Nr.: {{ Auth::user()->phone }}

+

{{__('msg.konto')}}

+

{{__('msg.navn')}}: {{ Auth::user()->name_first . " " . Auth::user()->name_last }}

+

{{__('msg.email')}}: {{ Auth::user()->email }}

+

{{__('msg.telefon')}} Nr.: {{ Auth::user()->phone }}

{!! session()->get('success#credentialschanged') !!} - Rediger Oplysninger - Ændre Password + {{__('msg.redigeroplysninger')}} + {{__('msg.ændrepassword')}} - - + @if(request()->cookie('languagesSetting') == "dk") + + @else + + @endif + @if(request()->cookie('languagesSetting') == "en") + + @else + + @endif - +
- - @endsection diff --git a/skolehjem/resources/views/app/users/edit.blade.php b/skolehjem/resources/views/app/users/edit.blade.php index 6cdbf83..5d24194 100644 --- a/skolehjem/resources/views/app/users/edit.blade.php +++ b/skolehjem/resources/views/app/users/edit.blade.php @@ -6,18 +6,18 @@ @section("content")
-

Konto

+

{{__('msg.konto')}}

Auth::user()]) }}"> @csrf @method("put") - Navn: + {{__('msg.navn')}}: name_last }}" disabled> - Email: + {{__('msg.email')}}: - Telefon Nr.: + {{__('msg.telefon')}} Nr.: - - Tilbage + + {{__('msg.tilbage')}}
@endsection diff --git a/skolehjem/resources/views/app/users/editpass.blade.php b/skolehjem/resources/views/app/users/editpass.blade.php index 9497b5d..a5c9559 100644 --- a/skolehjem/resources/views/app/users/editpass.blade.php +++ b/skolehjem/resources/views/app/users/editpass.blade.php @@ -6,29 +6,30 @@ @section("content")
-

Konto

+

{{__('msg.konto')}}

Auth::user()]) }}"> @csrf @method("put") - Nuværende Password: + {{__('msg.nuværendepassword')}}:
- Nyt Password: + {{__('msg.nytpassword')}}:
- Confirm Password: + {{__('msg.confirmpassword')}}:
{!! session()->get('error#notsamepass') !!} {!! session()->get('error#oldpass') !!} - +
+ {{__('msg.tilbage')}}