git -C '/home/opc/rocketa.git' show d7f6645 -- resources/views/admin/ad/list.blade.phpcommit d7f664581606eb166399f1d8ed39b8c9e6434a37
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Mon Oct 13 18:50:12 2025 +0900
管理画面翻訳(未完成)
diff --git a/resources/views/admin/ad/list.blade.php b/resources/views/admin/ad/list.blade.php
index 752fc65..db68f18 100644
--- a/resources/views/admin/ad/list.blade.php
+++ b/resources/views/admin/ad/list.blade.php
@@ -8,12 +8,12 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">広告一覧</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('ad-list.ad_list')}}</h2>
<div class="accordion mb-3" id="accordion" role="tablist">
<div class="card-header p-0 bg-dark" role="tab" id="heading1">
<h5 class="mb-0 position-relative">
- <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">検索</a>
+ <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">{{__('ad-list.search')}}</a>
</h5>
</div>
@@ -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,19 +48,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.advertiser'), ['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('client_id', $items['client_datas'], $conditions['client_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('client_id', $items['client_datas'], $conditions['client_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>__('ad-list.please_select')]) }}
</div>
</div>
</div><!-- /.form-group -->
<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_device'), ['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,24 +134,24 @@
</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_settings'), ['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::radio('result_type', '', (!$conditions['result_type']), ['class'=>'form-check-input', 'id'=>'search_form_radio_5_0'])}}
- {{ Form::label('search_form_radio_5_0', '全て', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_5_0', __('ad-list.all'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('result_type', 1, ($conditions['result_type'] == 1), ['class'=>'form-check-input', 'id'=>'search_form_radio_5_1'])}}
- {{ Form::label('search_form_radio_5_1', '自動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_5_1', __('ad-list.auto_approval'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('result_type', 2, ($conditions['result_type'] == 2), ['class'=>'form-check-input', 'id'=>'search_form_radio_5_2'])}}
- {{ Form::label('search_form_radio_5_2', '手動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_5_2', __('ad-list.manual_approval'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -159,24 +159,24 @@
<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_settings'), ['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">
<div class="form-check form-check-inline">
{{ Form::radio('public_status', '', (!$conditions['public_status']), ['class'=>'form-check-input', 'id'=>'search_form_radio_7_0'])}}
- {{ Form::label('search_form_radio_7_0', '全て', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_7_0', __('ad-list.all'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('public_status', 1, ($conditions['public_status'] == 1), ['class'=>'form-check-input', 'id'=>'search_form_radio_7_1'])}}
- {{ Form::label('search_form_radio_7_1', '公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_7_1', __('ad-list.public'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('public_status', 2, ($conditions['public_status'] == 2), ['class'=>'form-check-input', 'id'=>'search_form_radio_7_2'])}}
- {{ Form::label('search_form_radio_7_2', '非公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_7_2', __('ad-list.private'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -184,7 +184,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.reward_delivery_method'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -196,24 +196,24 @@
<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-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::radio('status', '', (!$conditions['status']), ['class'=>'form-check-input', 'id'=>'search_form_radio_8_0'])}}
- {{ Form::label('search_form_radio_8_0', '全て', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_8_0', __('ad-list.all'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('status', 1, ($conditions['status'] == 1), ['class'=>'form-check-input', 'id'=>'search_form_radio_8_1'])}}
- {{ Form::label('search_form_radio_8_1', '公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_8_1', __('ad-list.public'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('status', 2, ($conditions['status'] == 2), ['class'=>'form-check-input', 'id'=>'search_form_radio_8_2'])}}
- {{ Form::label('search_form_radio_8_2', '非公開', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_8_2', __('ad-list.private'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -221,7 +221,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">
@@ -243,15 +243,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.items_per_page'), ['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>
@@ -261,13 +261,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']) }}
+ {{ Form::reset(__('ad-list.clear_filters'), ['class'=>'btn btn-secondary w-100 form_reset']) }}
</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>
@@ -283,11 +283,11 @@
<div class="area_btn area_btn_col_2">
<div class="row mx-0 justify-content-start">
<div class="col-lg-2 col-sm-3 mb-3 p-0">
- <a href="{{ url('admin/ad/regist') }}" class="btn btn-primary w-100">広告登録</a>
+ <a href="{{ url('admin/ad/regist') }}" class="btn btn-primary w-100">{{__('ad-list.add_ad')}}</a>
</div>
<div class="col-lg-2 col-sm-3 mb-3 p-0 end_btn">
- {{ Form::button('結果をCSVでDL', ['class'=>'btn btn-secondary w-100 get_csv']) }}
+ {{ Form::button(__('ad-list.download_results_csv'), ['class'=>'btn btn-secondary w-100 get_csv']) }}
</div>
</div>
</div>
@@ -297,13 +297,13 @@
@if ($datas)
{{ Form::open() }}
<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 ($datas['data'])
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-between align-items-center">
<div class="col-md-3 p-0">
- {{ Form::button('選択リストを削除', ['class'=>'btn btn-secondary mb-2 p-1 w-100']) }}
+ {{ Form::button(__('ad-list.delete_selected_list'), ['class'=>'btn btn-secondary mb-2 p-1 w-100']) }}
</div>
<div class="col-xl-7 col-lg-9 p-0">
@@ -331,27 +331,27 @@
</th>
<th class="align-middle" scope="col" style="width: 16%;">
- <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" style="width: 15%;">
- <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" style="width: 16%;">
- <span class="d-block text-center">  成果地点  </span>
+ <span class="d-block text-center">  {{__('ad-list.reward_point')}}  </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.reward_unit_price')}} </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_settings')}}</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_settings')}}</span>
</th>
<th scope="col" style="width: 15%;">      </th>
@@ -364,7 +364,7 @@
<td class="align-middle">
<div class="form-check p-0">
{{ Form::checkbox('', 1, null, ['class'=>'form-check-input m-0', 'id'=>'table_check_1'])}}
- {{ Form::label('table_check_1', '<span class="sr-only">リストチェック</span>', ['class'=>'form-check-label cell_check'], false) }}
+ {{ Form::label('table_check_1', '<span class="sr-only">'.__('ad-list.list_check').'</span>', ['class'=>'form-check-label cell_check'], false) }}
</div>
</td>
@@ -384,7 +384,7 @@
<span class="d-block w-100 ps-1">
{{ number_format($data['reward_datas'][0]['net_price']) }}
@if ($data['reward_datas'][0]['net_price_unit'] == 1)
- 円
+ {{__('ad-list.currency_jpy')}}
@else
%
@endif
@@ -398,7 +398,7 @@
<span class="d-block w-100 ps-1">
{{ number_format($data['reward_datas'][0]['gross_price']) }}
@if ($data['reward_datas'][0]['gross_price_unit'] == 1)
- 円
+ {{__('ad-list.currency_jpy')}}
@else
%
@endif
@@ -406,34 +406,34 @@
</div>
</div>
@else
- 無し
+ {{__('ad-list.none')}}
@endif
</td>
<td class="text-center align-middle">
@if ($data['result_type'] == 1)
- 自動
+ {{__('ad-list.auto')}}
@else
- 手動
+ {{__('ad-list.manual')}}
@endif
</td>
<td class="text-center align-middle">
@if ($data['public_status'] == 1)
- 公開
+ {{__('ad-list.public')}}
@else
- 非公開
+ {{__('ad-list.private')}}
@endif
</td>
<td class="align-middle text-center">
<div class="row m-0 align-items-center inner_area_btn inner_area_btn_col_2 justify-content-center">
<div class="col-lg-5 p-0">
- <a href="{{ url('/admin/ad/detail/'.$data['id']) }}" class="btn btn-secondary w-100 h-100 px-0">詳細</a>
+ <a href="{{ url('/admin/ad/detail/'.$data['id']) }}" class="btn btn-secondary w-100 h-100 px-0">{{__('ad-list.details')}}</a>
</div>
<div class="col-lg-5 p-0 ms-lg-2 end_btn">
- <a href="{{ url('/admin/ad/regist/'.$data['id']) }}" class="btn btn-secondary w-100 h-100 px-0">編集</a>
+ <a href="{{ url('/admin/ad/regist/'.$data['id']) }}" class="btn btn-secondary w-100 h-100 px-0">{{__('ad-list.edit')}}</a>
</div>
</div>
</td>
@@ -446,7 +446,7 @@
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-between align-items-center">
<div class="col-md-3 p-0">
- {{ Form::button('選択リストを削除', ['class'=>'btn btn-secondary mb-2 p-1 w-100']) }}
+ {{ Form::button(__('ad-list.delete_selected_list'), ['class'=>'btn btn-secondary mb-2 p-1 w-100']) }}
</div>
<div class="col-xl-7 col-lg-9 p-0">
@@ -465,8 +465,7 @@
@else
{{-- 検索0件時 --}}
<div class="inner_box text-center">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('ad-list.no_matching_data')!!}
</div>
@endif
</div><!-- /.form_box -->