Browse Source

fix incorrect translation strings

pull/74/head
Chris 7 years ago
parent
commit
beb12147e0
  1. 2
      app/Setting.php
  2. 4
      resources/views/welcome.blade.php

2
app/Setting.php

@ -206,7 +206,7 @@ class Setting extends Model
$output .= '<div class="searchform">';
$output .= Form::open(['url' => $url, 'method' => 'get']);
$output .= '<div class="input-container">';
$output .= Form::text($var, null, ['class' => 'homesearch', 'placeholder' => $name.' '.__('app.settings.search').'...']);
$output .= Form::text($var, null, ['class' => 'homesearch', 'placeholder' => __($name).' '.__('app.settings.search').'...']);
$output .= '<button type="submit">'.ucwords(__('app.settings.remove')).'</button>';
$output .= '</div>';
$output .= Form::close();

4
resources/views/welcome.blade.php

@ -8,11 +8,11 @@
@else
<div class="message-container2">
<div class="alert alert-danger">
<p>{{ __('app.dash.no_apps',
<p>{!! __('app.dash.no_apps',
[
'link1' => '<a href="'.route('items.create').'">'.__('app.dash.link1').'</a>',
'link2' => '<a id="pin-item" href="">'.__('app.dash.link2').'</a>'
]) }}</p>
]) !!}</p>
</div>
</div>

Loading…
Cancel
Save