Skip to content

Commit

Permalink
fix translate
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusconstantin2503 committed Sep 23, 2019
1 parent aa9f189 commit c06168b
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 71 deletions.
7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

7 changes: 7 additions & 0 deletions src/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#4E200A",
"titleBar.activeBackground": "#6D2D0D",
"titleBar.activeForeground": "#FEFAF8"
}
}
14 changes: 7 additions & 7 deletions src/black-stubs/resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('layouts.app', ['class' => 'login-page', 'page' => _('Login Page'), 'contentClass' => 'login-page'])
@extends('layouts.app', ['class' => 'login-page', 'page' => __('Login Page'), 'contentClass' => 'login-page'])

@section('content')
<div class="col-md-10 text-center ml-auto mr-auto">
Expand All @@ -11,7 +11,7 @@
<div class="card card-login card-white">
<div class="card-header">
<img src="{{ asset('black') }}/img/card-primary.png" alt="">
<h1 class="card-title">{{ _('Log in') }}</h1>
<h1 class="card-title">{{ __('Log in') }}</h1>
</div>
<div class="card-body">
<p class="text-dark mb-2">Sign in with <strong>admin@black.com</strong> and the password <strong>secret</strong></p>
Expand All @@ -21,7 +21,7 @@
<i class="tim-icons icon-email-85"></i>
</div>
</div>
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ _('Email') }}">
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}">
@include('alerts.feedback', ['field' => 'email'])
</div>
<div class="input-group{{ $errors->has('password') ? ' has-danger' : '' }}">
Expand All @@ -30,20 +30,20 @@
<i class="tim-icons icon-lock-circle"></i>
</div>
</div>
<input type="password" placeholder="{{ _('Password') }}" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}">
<input type="password" placeholder="{{ __('Password') }}" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}">
@include('alerts.feedback', ['field' => 'password'])
</div>
</div>
<div class="card-footer">
<button type="submit" href="" class="btn btn-primary btn-lg btn-block mb-3">{{ _('Get Started') }}</button>
<button type="submit" href="" class="btn btn-primary btn-lg btn-block mb-3">{{ __('Get Started') }}</button>
<div class="pull-left">
<h6>
<a href="{{ route('register') }}" class="link footer-link">{{ _('Create Account') }}</a>
<a href="{{ route('register') }}" class="link footer-link">{{ __('Create Account') }}</a>
</h6>
</div>
<div class="pull-right">
<h6>
<a href="{{ route('password.request') }}" class="link footer-link">{{ _('Forgot password?') }}</a>
<a href="{{ route('password.request') }}" class="link footer-link">{{ __('Forgot password?') }}</a>
</h6>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('layouts.app', ['class' => 'login-page', 'page' => _('Reset password'), 'contentClass' => 'login-page'])
@extends('layouts.app', ['class' => 'login-page', 'page' => __('Reset password'), 'contentClass' => 'login-page'])

@section('content')
<div class="col-lg-5 col-md-7 ml-auto mr-auto">
Expand All @@ -8,7 +8,7 @@
<div class="card card-login card-white">
<div class="card-header">
<img src="{{ asset('black') }}/img/card-primary.png" alt="">
<h1 class="card-title">{{ _('Reset password') }}</h1>
<h1 class="card-title">{{ __('Reset password') }}</h1>
</div>
<div class="card-body">
@include('alerts.success')
Expand All @@ -19,12 +19,12 @@
<i class="tim-icons icon-email-85"></i>
</div>
</div>
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ _('Email') }}">
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}">
@include('alerts.feedback', ['field' => 'email'])
</div>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary btn-lg btn-block mb-3">{{ _('Send Password Reset Link') }}</button>
<button type="submit" class="btn btn-primary btn-lg btn-block mb-3">{{ __('Send Password Reset Link') }}</button>
</div>
</div>
</form>
Expand Down
12 changes: 6 additions & 6 deletions src/black-stubs/resources/views/auth/passwords/reset.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('layouts.app', ['class' => 'login-page', 'page' => _('Reset password'), 'contentClass' => 'login-page'])
@extends('layouts.app', ['class' => 'login-page', 'page' => __('Reset password'), 'contentClass' => 'login-page'])

@section('content')
<div class="col-lg-5 col-md-7 ml-auto mr-auto">
Expand All @@ -8,7 +8,7 @@
<div class="card card-login card-white">
<div class="card-header">
<img src="{{ asset('black') }}/img/card-primary.png" alt="">
<h1 class="card-title">{{ _('Reset password') }}</h1>
<h1 class="card-title">{{ __('Reset password') }}</h1>
</div>
<div class="card-body">
@include('alerts.success')
Expand All @@ -21,7 +21,7 @@
<i class="tim-icons icon-email-85"></i>
</div>
</div>
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ _('Email') }}">
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}">
@include('alerts.feedback', ['field' => 'email'])
</div>
<div class="input-group{{ $errors->has('password') ? ' has-danger' : '' }}">
Expand All @@ -30,7 +30,7 @@
<i class="tim-icons icon-lock-circle"></i>
</div>
</div>
<input type="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" placeholder="{{ _('Password') }}">
<input type="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" placeholder="{{ __('Password') }}">
@include('alerts.feedback', ['field' => 'password'])
</div>
<div class="input-group">
Expand All @@ -39,11 +39,11 @@
<i class="tim-icons icon-lock-circle"></i>
</div>
</div>
<input type="password" name="password_confirmation" class="form-control" placeholder="{{ _('Confirm Password') }}">
<input type="password" name="password_confirmation" class="form-control" placeholder="{{ __('Confirm Password') }}">
</div>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary btn-lg btn-block mb-3">{{ _('Reset Password') }}</button>
<button type="submit" class="btn btn-primary btn-lg btn-block mb-3">{{ __('Reset Password') }}</button>
</div>
</div>
</form>
Expand Down
30 changes: 15 additions & 15 deletions src/black-stubs/resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('layouts.app', ['class' => 'register-page', 'page' => _('Register Page'), 'contentClass' => 'register-page'])
@extends('layouts.app', ['class' => 'register-page', 'page' => __('Register Page'), 'contentClass' => 'register-page'])

@section('content')
<div class="row">
Expand All @@ -8,9 +8,9 @@
<i class="tim-icons icon-wifi"></i>
</div>
<div class="description">
<h3 class="info-title">{{ _('Marketing') }}</h3>
<h3 class="info-title">{{ __('Marketing') }}</h3>
<p class="description">
{{ _('We\'ve created the marketing campaign of the website. It was a very interesting collaboration.') }}
{{ __('We\'ve created the marketing campaign of the website. It was a very interesting collaboration.') }}
</p>
</div>
</div>
Expand All @@ -19,9 +19,9 @@
<i class="tim-icons icon-triangle-right-17"></i>
</div>
<div class="description">
<h3 class="info-title">{{ _('Fully Coded in HTML5') }}</h3>
<h3 class="info-title">{{ __('Fully Coded in HTML5') }}</h3>
<p class="description">
{{ _('We\'ve developed the website with HTML5 and CSS3. The client has access to the code using GitHub.') }}
{{ __('We\'ve developed the website with HTML5 and CSS3. The client has access to the code using GitHub.') }}
</p>
</div>
</div>
Expand All @@ -30,9 +30,9 @@
<i class="tim-icons icon-trophy"></i>
</div>
<div class="description">
<h3 class="info-title">{{ _('Built Audience') }}</h3>
<h3 class="info-title">{{ __('Built Audience') }}</h3>
<p class="description">
{{ _('There is also a Fully Customizable CMS Admin Dashboard for this product.') }}
{{ __('There is also a Fully Customizable CMS Admin Dashboard for this product.') }}
</p>
</div>
</div>
Expand All @@ -41,7 +41,7 @@
<div class="card card-register card-white">
<div class="card-header">
<img class="card-img" src="{{ asset('black') }}/img/card-primary.png" alt="Card image">
<h4 class="card-title">{{ _('Register') }}</h4>
<h4 class="card-title">{{ __('Register') }}</h4>
</div>
<form class="form" method="post" action="{{ route('register') }}">
@csrf
Expand All @@ -53,7 +53,7 @@
<i class="tim-icons icon-single-02"></i>
</div>
</div>
<input type="text" name="name" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" placeholder="{{ _('Name') }}">
<input type="text" name="name" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" placeholder="{{ __('Name') }}">
@include('alerts.feedback', ['field' => 'name'])
</div>
<div class="input-group{{ $errors->has('email') ? ' has-danger' : '' }}">
Expand All @@ -62,7 +62,7 @@
<i class="tim-icons icon-email-85"></i>
</div>
</div>
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ _('Email') }}">
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}">
@include('alerts.feedback', ['field' => 'email'])
</div>
<div class="input-group{{ $errors->has('password') ? ' has-danger' : '' }}">
Expand All @@ -71,7 +71,7 @@
<i class="tim-icons icon-lock-circle"></i>
</div>
</div>
<input type="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" placeholder="{{ _('Password') }}">
<input type="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" placeholder="{{ __('Password') }}">
@include('alerts.feedback', ['field' => 'password'])
</div>
<div class="input-group">
Expand All @@ -80,19 +80,19 @@
<i class="tim-icons icon-lock-circle"></i>
</div>
</div>
<input type="password" name="password_confirmation" class="form-control" placeholder="{{ _('Confirm Password') }}">
<input type="password" name="password_confirmation" class="form-control" placeholder="{{ __('Confirm Password') }}">
</div>
<div class="form-check text-left">
<label class="form-check-label">
<input class="form-check-input" type="checkbox">
<span class="form-check-sign"></span>
{{ _('I agree to the') }}
<a href="#">{{ _('terms and conditions') }}</a>.
{{ __('I agree to the') }}
<a href="#">{{ __('terms and conditions') }}</a>.
</label>
</div>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary btn-round btn-lg">{{ _('Get Started') }}</button>
<button type="submit" class="btn btn-primary btn-round btn-lg">{{ __('Get Started') }}</button>
</div>
</form>
</div>
Expand Down
14 changes: 7 additions & 7 deletions src/black-stubs/resources/views/layouts/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
<ul class="nav">
<li class="nav-item">
<a href="https://creative-tim.com" target="blank" class="nav-link">
{{ _('Creative Tim') }}
{{ __('Creative Tim') }}
</a>
</li>
<li class="nav-item">
<a href="https://updivision.com" target="blank" class="nav-link">
{{ _('Updivision') }}
{{ __('Updivision') }}
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
{{ _('About Us') }}
{{ __('About Us') }}
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
{{ _('Blog') }}
{{ __('Blog') }}
</a>
</li>
</ul>
<div class="copyright">
&copy; {{ now()->year }} {{ _('made with') }} <i class="tim-icons icon-heart-2"></i> {{ _('by') }}
<a href="https://creative-tim.com" target="_blank">{{ _('Creative Tim') }}</a> &amp;
<a href="https://updivision.com" target="_blank">{{ _('Updivision') }}</a> {{ _('for a better web') }}.
&copy; {{ now()->year }} {{ __('made with') }} <i class="tim-icons icon-heart-2"></i> {{ __('by') }}
<a href="https://creative-tim.com" target="_blank">{{ __('Creative Tim') }}</a> &amp;
<a href="https://updivision.com" target="_blank">{{ __('Updivision') }}</a> {{ __('for a better web') }}.
</div>
</div>
</footer>
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="{{ route('home') }}" class="nav-link text-primary">
<i class="tim-icons icon-minimal-left"></i> {{ _('Back to Dashboard') }}
<i class="tim-icons icon-minimal-left"></i> {{ __('Back to Dashboard') }}
</a>
</li>
<li class="nav-item ">
<a href="{{ route('register') }}" class="nav-link">
<i class="tim-icons icon-laptop"></i> {{ _('Register') }}
<i class="tim-icons icon-laptop"></i> {{ __('Register') }}
</a>
</li>
<li class="nav-item ">
<a href="{{ route('login') }}" class="nav-link">
<i class="tim-icons icon-single-02"></i> {{ _('Login') }}
<i class="tim-icons icon-single-02"></i> {{ __('Login') }}
</a>
</li>
</ul>
Expand Down
Loading

0 comments on commit c06168b

Please sign in to comment.