git -C '/home/opc/rocketa.git' show f84264b -- resources/views/client/ad/list.blade.phpcommit f84264bb160dc2a66a9e4ff8c8e30676f91a458d
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Thu Oct 9 18:35:25 2025 +0900
翻訳機能バグ修正
diff --git a/resources/views/client/ad/list.blade.php b/resources/views/client/ad/list.blade.php
index 44e7f3a..c29fc0a 100644
--- a/resources/views/client/ad/list.blade.php
+++ b/resources/views/client/ad/list.blade.php
@@ -8,7 +8,7 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">広告管理 - 広告検索</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('ad-list.ad-management')}} - {{__('ad-list.ad-search')}}</h2>
<div class="accordion mb-3" id="accordion" role="tablist">
<div class="card-header p-0 bg-dark" role="tab" id="heading1">
@@ -24,7 +24,7 @@
<div class="form_box border mb-2">
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告ID', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-id'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -36,7 +36,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'フリーワード', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.free-word'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -48,7 +48,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告主', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.advertiser'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -60,7 +60,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '対応デバイス', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.supported-devices'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -77,7 +77,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告種別', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-type'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -94,7 +94,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告カテゴリー', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-category'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -119,7 +119,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'アイコン表示', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.icon-display'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
@@ -134,19 +134,19 @@
</div>
<div class="col-sm-2 px-0 align-items-center bg-gray d-flex align-items-center half_col_r">
- {{ Form::label('', '提携承認設定', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.partnership-approval-setting'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::checkbox('result_type[]', 1, (in_array(1, $conditions['result_type'])), ['class'=>'form-check-input', 'id'=>'search_form_check_5_1'])}}
- {{ Form::label('search_form_check_5_1', '自動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_5_1', __('ad-list.auto-approval'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('result_type[]', 0, (in_array(0, $conditions['result_type'])), ['class'=>'form-check-input', 'id'=>'search_form_check_5_2'])}}
- {{ Form::label('search_form_check_5_2', '手動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_5_2', __('ad-list.manual-approval'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -154,19 +154,19 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '公開設定', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.publication-setting'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::checkbox('public_status[]', 1, (in_array(1, $conditions['public_status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_6_1'])}}
- {{ Form::label('search_form_check_6_1', '公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_6_1', __('ad-list.published'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('result_type[]', 0, (in_array(0, $conditions['result_type'])), ['class'=>'form-check-input', 'id'=>'search_form_check_6_2'])}}
- {{ Form::label('search_form_check_6_2', '非公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_6_2', __('ad-list.unpublished'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -174,19 +174,19 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '掲載ステータス', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.placement-status'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::checkbox('status[]', 1, (in_array(1, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_7_1'])}}
- {{ Form::label('search_form_check_7_1', '公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_7_1', __('ad-list.published'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('status[]', 0, (in_array(0, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_7_2'])}}
- {{ Form::label('search_form_check_7_2', '非公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_7_2', __('ad-list.unpublished'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -194,7 +194,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '登録日', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.registration-date'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -218,15 +218,15 @@
<div class="form-group row m-0">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '表示件数', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.display-count'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
{{ Form::select('count', [
- '20' => '20件',
- '50' => '50件',
- '100' => '100件'],
+ '20' => '20'.__('ad-list.items'),
+ '50' => '50'.__('ad-list.items'),
+ '100' => '100'.__('ad-list.items')],
$conditions['count'], ['class'=>'form-select']
) }}
</div>
@@ -236,13 +236,13 @@
<div class="row mx-0 mb-3 justify-content-end w-100">
<div class="col-md-2 p-0">
- {{ Form::reset('条件を解除', ['class'=>'btn btn-secondary w-100']) }}
+ {{ Form::reset(__('ad-list.clear-filters'), ['class'=>'btn btn-secondary w-100']) }}
</div>
</div>
<div class="row mx-0 justify-content-center w-100">
<div class="col-md-8 p-0">
- {{ Form::submit('検索', ['class'=>'btn btn-primary btn-lg w-100']) }}
+ {{ Form::submit(__('ad-list.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
@@ -255,7 +255,7 @@
</div><!-- /.accordion -->
<div class="form_box border mb-3">
- <h5 class="mb-0 text-white bg-dark form_head">広告一覧</h5>
+ <h5 class="mb-0 text-white bg-dark form_head">__('ad-list.ad-list')</h5>
@if (count($ad_datas) > 0)
{{ Form::open() }}
@@ -264,7 +264,7 @@
<div class="col-xl-7 col-lg-9 col-auto flex-fill p-0">
<div class="row m-0 align-items-center pager_box">
<div class="col-auto p-0">
- <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{ $ad_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}件表示</span>
+ <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{ $ad_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}{{__('ad-list.items-displayed')}}</span>
</div>
<div class="col-auto p-0">
@@ -280,27 +280,27 @@
<thead class="thead-light">
<tr>
<th class="align-middle" scope="col">
- <span class="d-block text-center">   広告名   </span>
+ <span class="d-block text-center">   {{__('ad-list.ad-name')}}   </span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">  広告カテゴリー  </span>
+ <span class="d-block text-center">  {{__('ad-list.ad-category')}}  </span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">  成果地点  </span>
+ <span class="d-block text-center">  {{__('ad-list.conversion-point')}}  </span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">成果報酬単価</span>
+ <span class="d-block text-center">{{__('ad-list.reward-per-conversion')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">承認設定</span>
+ <span class="d-block text-center">{{__('ad-list.approval-setting')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">公開設定</span>
+ <span class="d-block text-center">{{__('ad-list.publication-setting')}}</span>
</th>
<th scope="col" style="width: 15%">      </th>
@@ -329,7 +329,7 @@
@if (isset($reward_datas[$ad_data->ad_id]))
{{ number_format($reward_datas[$ad_data->ad_id]['gross_price']) }}
@if ($reward_datas[$ad_data->ad_id]['gross_price_unit'] == 1)
- 円
+ {{__('ad-list.jpy')}}
@else
%
@endif
@@ -341,24 +341,24 @@
<td class="text-center align-middle">
@if ($ad_data->result_type == 1)
- 自動
+ {{__('ad-list.automatic')}}
@else
- 手動
+ {{__('ad-list.manual')}}
@endif
</td>
<td class="text-center align-middle">
@if ($ad_data->public_status == 1)
- 公開
+ {{__('ad-list.published')}}
@else
- 非公開
+ {{__('ad-list.unpublished')}}
@endif
{{ $ad_data->id }}
</td>
<td class="align-middle">
- <a href="{{ url('/ad/detail/'.$ad_data->ad_id) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">詳細</a>
+ <a href="{{ url('/ad/detail/'.$ad_data->ad_id) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">{{__('ad-list.details')}}</a>
</td>
</tr>
@endforeach
@@ -371,7 +371,7 @@
<div class="col-xl-7 col-lg-9 col-auto flex-fill p-0">
<div class="row m-0 align-items-center pager_box">
<div class="col-auto p-0">
- <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{ $ad_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}件表示</span>
+ <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{ $ad_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}{{__('ad-list.items')}}{{__('ad-list.view')}}</span>
</div>
<div class="col-auto p-0">
@@ -385,8 +385,7 @@
@else
{{-- 検索0件時 --}}
<div class="inner_box text-center">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('ad-list.no-matching-data')!!}}
</div>
@endif
</div><!-- /.form_box -->