Skip to content

Commit

Permalink
update lang
Browse files Browse the repository at this point in the history
  • Loading branch information
deeepak-panwar committed Feb 24, 2024
1 parent 4e38781 commit 89b5272
Show file tree
Hide file tree
Showing 24 changed files with 165 additions and 165 deletions.
24 changes: 12 additions & 12 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('eventmie::auth.authapp')

@section('title')
@lang('eventmie-pro::em.login')
@lang('eventmie::em.login')
@endsection

@section('authcontent')
Expand All @@ -11,7 +11,7 @@
@if (config('voyager.demo_mode'))
<div class="alert alert-info">
<a href="https://eventmie-docs.classiebit.com/docs/2.0/demo-accounts" target="_blank">
@lang('eventmie-pro::em.visit_accounts')
@lang('eventmie::em.visit_accounts')
</a>
</div>
@endif
Expand All @@ -31,16 +31,16 @@
</ul>
</div>
@endif
<h3 class="mb-4">@lang('eventmie-pro::em.login')</h3>
<h3 class="mb-4">@lang('eventmie::em.login')</h3>
<!-- form -->
<form method="POST" action="{{ route('eventmie.login_post') }}">
<!-- email -->
<div class="mb-3">
<label for="email" class="form-label">@lang('eventmie-pro::em.email_address')</label>
<label for="email" class="form-label">@lang('eventmie::em.email_address')</label>
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input id="email" type="email"
class="wpcf7-form-control form-control{{ $errors->has('email') ? ' is-invalid' : '' }}"
name="email" value="{{ old('email') }}" required autofocus placeholder="@lang('eventmie-pro::em.email')">
name="email" value="{{ old('email') }}" required autofocus placeholder="@lang('eventmie::em.email')">
@if ($errors->has('email'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
Expand All @@ -50,10 +50,10 @@ class="wpcf7-form-control form-control{{ $errors->has('email') ? ' is-invalid' :
</div>
<!-- password -->
<div class="mb-3">
<label for="password" class="form-label">@lang('eventmie-pro::em.password')</label>
<label for="password" class="form-label">@lang('eventmie::em.password')</label>
<input id="password" type="password"
class="wpcf7-form-control form-control{{ $errors->has('password') ? ' is-invalid' : '' }}"
name="password" required placeholder="@lang('eventmie-pro::em.password')">
name="password" required placeholder="@lang('eventmie::em.password')">
@if ($errors->has('password'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
Expand All @@ -65,21 +65,21 @@ class="wpcf7-form-control form-control{{ $errors->has('password') ? ' is-invalid
<div class="form-check ">
<input class="form-check-input" type="checkbox" name="remember" id="remember" checked
value="1">
<label class="form-check-label" for="remember">@lang('eventmie-pro::em.remember')</label>
<label class="form-check-label" for="remember">@lang('eventmie::em.remember')</label>
</div>
<!-- forgot password -->
<div class="fw-bold">
<a href="{{ route('eventmie.password.request') }}" class="text-inherit"> @lang('eventmie-pro::em.forgot_password')</a>
<a href="{{ route('eventmie.password.request') }}" class="text-inherit"> @lang('eventmie::em.forgot_password')</a>
</div>

</div>
<!-- button -->
<button type="submit" class="btn btn-primary btn-block">@lang('eventmie-pro::em.login') <i
<button type="submit" class="btn btn-primary btn-block">@lang('eventmie::em.login') <i
class="fas fa-sign-in-alt"></i></button>
</form>
<div class="mt-4">
<p class="mb-0">@lang('eventmie-pro::em.donot_account')<a href="{{ route('eventmie.register_show') }}">
@lang('eventmie-pro::em.register')</a></p>
<p class="mb-0">@lang('eventmie::em.donot_account')<a href="{{ route('eventmie.register_show') }}">
@lang('eventmie::em.register')</a></p>
</div>


Expand Down
12 changes: 6 additions & 6 deletions resources/views/auth/passwords/email.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('eventmie::auth.authapp')

@section('title')
@lang('eventmie-pro::em.forgot_password')
@lang('eventmie::em.forgot_password')
@endsection

@section('authcontent')
Expand All @@ -12,31 +12,31 @@
{{ session('status') }}
</div>
@endif
<h3 class="my-4">@lang('eventmie-pro::em.forgot_password')</h3>
<h3 class="my-4">@lang('eventmie::em.forgot_password')</h3>
<!-- form -->
<form method="POST" action="{{ route('eventmie.password.email') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">

<!-- email -->
<div class="mb-3">
<label for="email" class="form-label">@lang('eventmie-pro::em.email_address')</label>
<label for="email" class="form-label">@lang('eventmie::em.email_address')</label>
<input id="email" type="email"
class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email"
value="{{ old('email') }}" required autofocus placeholder="@lang('eventmie-pro::em.email')">
value="{{ old('email') }}" required autofocus placeholder="@lang('eventmie::em.email')">
@if ($errors->has('email'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
<button type="submit" class="btn btn-primary btn-block text-center">
<i class="fas fa-paper-plane"></i>@lang('eventmie-pro::em.send_password_reset_link')
<i class="fas fa-paper-plane"></i>@lang('eventmie::em.send_password_reset_link')
</button>
</form>
<div class="mt-3">
<p class="mb-0">
<span class="ml-3">
<a class="btn btn-link text-center" href="{{ route('eventmie.login') }}">@lang('eventmie-pro::em.cancel')</a>
<a class="btn btn-link text-center" href="{{ route('eventmie.login') }}">@lang('eventmie::em.cancel')</a>
</span>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions resources/views/auth/passwords/reset.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@extends('eventmie::auth.authapp')

@section('title')
@lang('eventmie-pro::em.reset_password')
@lang('eventmie::em.reset_password')
@endsection

@section('authcontent')
<div class="card border-0 shadow">
<div class="card-body p-8">
<h3 class="mb-4">@lang('eventmie-pro::em.reset_password')</h3>
<h3 class="mb-4">@lang('eventmie::em.reset_password')</h3>

<form method="POST" action="{{ route('eventmie.password.reset_post') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
Expand All @@ -18,7 +18,7 @@
<input id="email" type="email"
class="wpcf7-form-control form-control{{ $errors->has('email') ? ' is-invalid' : '' }}"
name="email" value="{{ $email ?? old('email') }}" required autofocus
placeholder="@lang('eventmie-pro::em.email')">
placeholder="@lang('eventmie::em.email')">
@if ($errors->has('email'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
Expand All @@ -28,7 +28,7 @@ class="wpcf7-form-control form-control{{ $errors->has('email') ? ' is-invalid' :
<div class="mb-3">
<input id="password" type="password"
class="wpcf7-form-control form-control{{ $errors->has('password') ? ' is-invalid' : '' }}"
name="password" required placeholder="@lang('eventmie-pro::em.new') @lang('eventmie-pro::em.password')">
name="password" required placeholder="@lang('eventmie::em.new') @lang('eventmie::em.password')">
@if ($errors->has('password'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
Expand All @@ -38,10 +38,10 @@ class="wpcf7-form-control form-control{{ $errors->has('password') ? ' is-invalid

<div class="mb-3">
<input id="password-confirm" type="password" class="wpcf7-form-control form-control"
name="password_confirmation" required placeholder="@lang('eventmie-pro::em.confirm_password')">
name="password_confirmation" required placeholder="@lang('eventmie::em.confirm_password')">
</div>

<button type="submit" class="btn btn-primary">@lang('eventmie-pro::em.reset_password')</button>
<button type="submit" class="btn btn-primary">@lang('eventmie::em.reset_password')</button>

</form>
</div>
Expand Down
24 changes: 12 additions & 12 deletions resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('eventmie::auth.authapp')

@section('title')
@lang('eventmie-pro::em.register')
@lang('eventmie::em.register')
@endsection

@section('authcontent')
Expand All @@ -23,30 +23,30 @@
<div class="card-body p-5">


<h3 class="mb-4">@lang('eventmie-pro::em.register')</h3>
<h3 class="mb-4">@lang('eventmie::em.register')</h3>
<!-- form -->
<form method="POST" action="{{ route('eventmie.register') }}">
@csrf
<div class="mb-3">
<label for="email" class="form-label">@lang('eventmie-pro::em.name')</label>
<label for="email" class="form-label">@lang('eventmie::em.name')</label>
<input id="name" type="text" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}"
name="name" value="{{ old('name') }}" required autofocus placeholder="@lang('eventmie-pro::em.name')">
name="name" value="{{ old('name') }}" required autofocus placeholder="@lang('eventmie::em.name')">
</div>

<!-- email -->
<div class="mb-3">
<label for="email" class="form-label">@lang('eventmie-pro::em.email_address')</label>
<label for="email" class="form-label">@lang('eventmie::em.email_address')</label>
<input id="email" type="email"
class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email"
value="{{ old('email') }}" required placeholder="@lang('eventmie-pro::em.email')">
value="{{ old('email') }}" required placeholder="@lang('eventmie::em.email')">

</div>
<!-- password -->
<div class="mb-3">
<label for="password" class="form-label">@lang('eventmie-pro::em.password')</label>
<label for="password" class="form-label">@lang('eventmie::em.password')</label>
<input id="password" type="password"
class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required
placeholder="@lang('eventmie-pro::em.password')">
placeholder="@lang('eventmie::em.password')">

</div>

Expand All @@ -55,22 +55,22 @@ class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="pa
<input class="form-check-input" type="checkbox" name="accept" id="accept" checked value="1"
hidden>
<p class="text-sm">
@lang('eventmie-pro::em.accept_terms')
@lang('eventmie::em.accept_terms')
</p>
</div>
<!-- button -->

<button type="submit" class="btn btn-primary btn-block"><i class="fas fa-door-open"></i>
@lang('eventmie-pro::em.register')</button>
@lang('eventmie::em.register')</button>

<div class="d-flex justify-content-between mb-2 pb-2 mt-3 text-sm ">
<!-- form check -->
<div class="fw-bold">
<a href="{{ route('eventmie.password.request') }}" class="text-inherit">@lang('eventmie-pro::em.forgot_password')</a>
<a href="{{ route('eventmie.password.request') }}" class="text-inherit">@lang('eventmie::em.forgot_password')</a>
</div>
<!-- forgot password -->
<div class="fw-bold">
<a href="{{ route('eventmie.login') }}" class="text-inherit"> @lang('eventmie-pro::em.login')</a>
<a href="{{ route('eventmie.login') }}" class="text-inherit"> @lang('eventmie::em.login')</a>
</div>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/bookings/customer_bookings.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('eventmie::layouts.app')

@section('title')
@lang('eventmie-pro::em.mybookings')
@lang('eventmie::em.mybookings')
@endsection

@section('content')
Expand Down
28 changes: 14 additions & 14 deletions resources/views/bookings/show.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('eventmie::layouts.app')

@section('title')
@lang('eventmie-pro::em.booking_details')
@lang('eventmie::em.booking_details')
@endsection

@section('content')
Expand All @@ -21,32 +21,32 @@
<div class="table-responsive">
{{-- booking details --}}

<h3 class="text-center bg-light p-3">@lang('eventmie-pro::em.booking_info')</h3>
<h3 class="text-center bg-light p-3">@lang('eventmie::em.booking_info')</h3>
<table class="table">
<tr>
<th>@lang('eventmie-pro::em.order_id')</th>
<th>@lang('eventmie::em.order_id')</th>
<td>{{ $booking['order_number'] }}</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.event_category')</th>
<th>@lang('eventmie::em.event_category')</th>
<td>{{ $booking['event_category'] }}</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.event')</th>
<th>@lang('eventmie::em.event')</th>
<td>{{ $booking['event_title'] }}</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.start_date')</th>
<th>@lang('eventmie::em.start_date')</th>
<td>{{ userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }}
{{ showTimezone() }}
</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.end_date')</th>
<th>@lang('eventmie::em.end_date')</th>
@if (userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', 'Y-m-d') <=
userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', 'Y-m-d'))
<td>{{ userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }}
Expand All @@ -60,28 +60,28 @@
</tr>

<tr>
<th>@lang('eventmie-pro::em.start_time')</th>
<th>@lang('eventmie::em.start_time')</th>
<td>
{{ userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(false)) }}
{{ showTimezone() }}
</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.end_time')</th>
<th>@lang('eventmie::em.end_time')</th>
<td>{{ userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', format_carbon_date(false)) }}
{{ showTimezone() }}
</td>
</tr>
<tr>
<th>@lang('eventmie-pro::em.booking_date')</th>
<th>@lang('eventmie::em.booking_date')</th>
<td>{{ userTimezone($booking['created_at'], 'Y-m-d H:i:s', format_carbon_date(true)) }}
{{ showTimezone() }}
</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.booking_status')</th>
<th>@lang('eventmie::em.booking_status')</th>
<td><span
class="label label-success">{{ $booking['status'] == 0 ? 'Inactive' : 'Active' }}</span>
</td>
Expand All @@ -103,16 +103,16 @@ class="label label-success">{{ $booking['status'] == 0 ? 'Inactive' : 'Active' }
<div class="card-body">
{{-- customer details --}}

<h3 class="text-center bg-light p-3">@lang('eventmie-pro::em.customer_info')</h3>
<h3 class="text-center bg-light p-3">@lang('eventmie::em.customer_info')</h3>
<hr>
<table class="table table-hover">
<tr>
<th>@lang('eventmie-pro::em.name')</th>
<th>@lang('eventmie::em.name')</th>
<td>{{ $booking['customer_name'] }}</td>
</tr>

<tr>
<th>@lang('eventmie-pro::em.email')</th>
<th>@lang('eventmie::em.email')</th>
<td>{{ $booking['customer_email'] }}</td>
</tr>

Expand Down
Loading

0 comments on commit 89b5272

Please sign in to comment.