git -C '/home/opc/rocketa.git' show d7f6645 -- resources/views/admin/general/report/published.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/general/report/published.blade.php b/resources/views/admin/general/report/published.blade.php
index 5c5de05..67079f6 100644
--- a/resources/views/admin/general/report/published.blade.php
+++ b/resources/views/admin/general/report/published.blade.php
@@ -9,20 +9,20 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">レポート管理 - 掲載レポート</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('report-published.report_management')}} - {{__('report-published.listing_report')}}</h2>
<div class="area_btn ">
<div class="row mx-0 mb-3 justify-content-start">
<div class="col-lg-2 col-sm-3 p-0">
- <a href="{{ url('/admin/general/report/monthly') }}" class="btn btn-secondary px-1 w-100">月別</a>
+ <a href="{{ url('/admin/general/report/monthly') }}" class="btn btn-secondary px-1 w-100">{{__('report-published.monthly')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0 center_btn">
- <a href="{{ url('/admin/general/report/daily') }}" class="btn btn-secondary w-100">日別</a>
+ <a href="{{ url('/admin/general/report/daily') }}" class="btn btn-secondary w-100">{{__('report-published.daily')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0">
- <a href="{{ url('#') }}" class="btn btn-primary w-100">掲載</a>
+ <a href="{{ url('#') }}" class="btn btn-primary w-100">{{__('report-published.listing')}}</a>
</div>
</div>
</div>
@@ -30,7 +30,7 @@
<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">{{__('report-published.search')}}</a>
</h5>
</div>
@@ -41,29 +41,29 @@
<div class="form_box border mb-3">
<div class="form-group row m-0 border-bottom">
<div class="col-md-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'レポート対象', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.report_target'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::radio('item', 1, ($conditions['item'] == 1), ['id'=>'search_form_radio_1_1', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_1_1', '広告', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_1_1', __('report-published.advertisement'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('item', 2, ($conditions['item'] == 2), ['id'=>'search_form_radio_1_2', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_1_2', '広告素材別', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_1_2', __('report-published.by_ad_material'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('item', 3, ($conditions['item'] == 3), ['id'=>'search_form_radio_1_3', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_1_3', '広告主別', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_1_3', __('report-published.by_advertiser'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('item', 4, ($conditions['item'] == 4), ['id'=>'search_form_radio_1_4', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_1_4', 'パートナー別', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_1_4', __('report-published.by_partner'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -71,7 +71,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-md-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '発生期間絞り込み', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.filter_occurrence_period'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-10 px-0 d-flex align-items-center">
@@ -89,7 +89,7 @@
</div>
<div class="my-2">
- ※最大60日まで絞り込みは可能です。
+ {{__('report-published.filter_limit_note')}}
@if($errors->has('over_days'))
<div class="err_msg mt-2">{{ $errors->first('over_days') }}</div>
@@ -98,32 +98,32 @@
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 1, ($conditions['target_date_type'] == 1), ['id'=>'search_form_radio_2_1', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_1', '上記期間', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_1', __('report-published.selected_period'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 2, ($conditions['target_date_type'] == 2), ['id'=>'search_form_radio_2_2', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_2', '今月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_2', __('report-published.this_month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 3, ($conditions['target_date_type'] == 3), ['id'=>'search_form_radio_2_3', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_3', '先月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_3', __('report-published.last_month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 4, ($conditions['target_date_type'] == 4), ['id'=>'search_form_radio_2_4', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_4', '今日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_4', __('report-published.today'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 5, ($conditions['target_date_type'] == 5), ['id'=>'search_form_radio_2_5', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_5', '昨日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_5', __('report-published.yesterday'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 6, ($conditions['target_date_type'] == 6), ['id'=>'search_form_radio_2_6', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_6', '過去7日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_6', __('report-published.past_7_days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -131,7 +131,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-md-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '確定期間絞り込み', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.filter_confirmation_period'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-10 px-0 d-flex align-items-center">
@@ -149,7 +149,7 @@
</div>
<div class="my-2">
- ※最大60日まで絞り込みは可能です。
+ {{__('report-published.filter_limit_note')}}
@if($errors->has('fixed_over_days'))
<div class="err_msg mt-2">{{ $errors->first('fixed_over_days') }}</div>
@@ -158,32 +158,32 @@
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 1, ($conditions['fixed_target_date_type'] == 1), ['id'=>'search_form_radio_3_1', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_1', '上記期間', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_1', __('report-published.selected_period'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 2, ($conditions['fixed_target_date_type'] == 2), ['id'=>'search_form_radio_3_2', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_2', '今月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_2', __('report-published.this_month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 3, ($conditions['fixed_target_date_type'] == 3), ['id'=>'search_form_radio_3_3', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_3', '先月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_3', __('report-published.last_month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 4, ($conditions['fixed_target_date_type'] == 4), ['id'=>'search_form_radio_3_4', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_4', '今日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_4', __('report-published.today'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 5, ($conditions['fixed_target_date_type'] == 5), ['id'=>'search_form_radio_3_5', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_5', '昨日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_5', __('report-published.yesterday'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('fixed_target_date_type', 6, ($conditions['fixed_target_date_type'] == 6), ['id'=>'search_form_radio_3_6', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_6', '過去7日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_6', __('report-published.past_7_days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -191,24 +191,24 @@
<div class="form-group row m-0">
<div class="col-md-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'ソート', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.sort'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::radio('sort', '', ($conditions['sort'] == ''), ['id'=>'search_form_radio_3_', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_', 'デフォルト', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_', __('report-published.default'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('sort', 'click_count', ($conditions['sort'] == 'click_count'), ['id'=>'search_form_radio_3_click_count', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_click_count', 'クリック数', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_click_count', __('report-published.clicks'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('sort', 'cv_count', ($conditions['sort'] == 'cv_count'), ['id'=>'search_form_radio_3_cv_count', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_cv_count', '発生件数', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_cv_count', __('report-published.occurrences'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -220,12 +220,12 @@
<div class="col-md-6 px-0">
<div class="form-group row m-0 border-bottom">
<div class="col-md-6 col-lg-5 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '運営会社', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.operating_company'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('media_company_id', $media_company_list, $conditions['media_company_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('media_company_id', $media_company_list, $conditions['media_company_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>__('report-published.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -234,12 +234,12 @@
<div class="col-md-6 px-0 px-0 right_col">
<div class="form-group row m-0 border-bottom">
<div class="col-md-6 col-lg-5 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告主', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.advertiser'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('client_id', $client_list, $conditions['client_id'], ['id'=>'client_select', 'class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('client_id', $client_list, $conditions['client_id'], ['id'=>'client_select', 'class'=>'form-select select2_search', 'data-placeholder'=>__('report-published.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -250,12 +250,12 @@
<div class="col-md-6 px-0">
<div class="form-group row m-0">
<div class="col-md-6 col-lg-5 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'パートナー', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.partner'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('media_id', $media_list, $conditions['media_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('media_id', $media_list, $conditions['media_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>__('report-published.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -264,12 +264,12 @@
<div class="col-md-6 px-0 px-0 right_col">
<div class="form-group row m-0">
<div class="col-md-6 col-lg-5 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('report-published.advertisement'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('ad_id', $ad_list, $conditions['ad_id'], ['id'=>'ad_select', 'class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('ad_id', $ad_list, $conditions['ad_id'], ['id'=>'ad_select', 'class'=>'form-select select2_search', 'data-placeholder'=>__('report-published.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -279,13 +279,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(__('report-published.clear_conditions'), ['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(__('report-published.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
@@ -302,12 +302,12 @@
<div class="area_btn">
<div class="row mx-0 mb-3 justify-content-start">
<div class="col-lg-2 col-md-3 col-sm-4 p-0">
- {{ Form::button('結果をCSVでDL', ['class'=>'btn btn-secondary w-100 get_csv']) }}
+ {{ Form::button(__('report-published.download_results_csv'), ['class'=>'btn btn-secondary w-100 get_csv']) }}
</div>
</div>
</div>
- <h5 class="mb-0 text-white bg-dark box_head">掲載レポート</h5>
+ <h5 class="mb-0 text-white bg-dark box_head">{{__('report-published.listing_report')}}</h5>
<div class="table-responsive scroll">
<table id="table_sorter" class="table table-bordered table-striped text-nowrap mb-0 table_sorter scroll_inner">
@@ -318,13 +318,13 @@
<span class="d-block text-center">
     
@if ($conditions['item'] == 1)
- 広告名
+ {{__('report-published.advertisement_name')}}
@elseif ($conditions['item'] == 2)
- 広告素材
+ {{__('report-published.ad_material')}}
@elseif ($conditions['item'] == 3)
- 広告主
+ {{__('report-published.advertiser_label')}}
@elseif ($conditions['item'] == 4)
- パートナー
+ {{__('report-published.partner_label')}}
@endif
     
</span>
@@ -332,55 +332,55 @@
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">クリック数</span>
+ <span class="d-block text-center">{{__('report-published.clicks')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">発生件数</span>
+ <span class="d-block text-center">{{__('report-published.occurrences')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">発生率</span>
+ <span class="d-block text-center">{{__('report-published.occurrence_rate')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">発生報酬[N]</span>
+ <span class="d-block text-center">{{__('report-published.occurrence_reward')}}[N]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">発生報酬[G]</span>
+ <span class="d-block text-center">{{__('report-published.occurrence_reward')}}[G]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">確定件数</span>
+ <span class="d-block text-center">{{__('report-published.confirmed_cases')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">確定率</span>
+ <span class="d-block text-center">{{__('report-published.confirmation_rate')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">確定報酬[N]</span>
+ <span class="d-block text-center">{{__('report-published.confirmed_reward')}}[N]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">確定報酬[G]</span>
+ <span class="d-block text-center">{{__('report-published.confirmed_reward')}}[G]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">固定費[N]</span>
+ <span class="d-block text-center">{{__('report-published.fixed_cost')}}[N]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">固定費[G]</span>
+ <span class="d-block text-center">{{__('report-published.fixed_cost')}}[G]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">報酬合計[N]</span>
+ <span class="d-block text-center">{{__('report-published.total_reward')}}[N]</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">報酬合計[G]</span>
+ <span class="d-block text-center">{{__('report-published.total_reward')}}[G]</span>
</th>
</tr>
</thead>
@@ -401,11 +401,11 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['click_count']) }}件
+ {{ number_format($report_datas[$key]['click_count']) }}{{__('report-published.items')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['cv_count']) }}件
+ {{ number_format($report_datas[$key]['cv_count']) }}{{__('report-published.items')}}
</td>
<td class="align-middle text-end text-break">
@@ -421,7 +421,7 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['fixed_count']) }}件
+ {{ number_format($report_datas[$key]['fixed_count']) }}{{__('report-published.items')}}
</td>
<td class="align-middle text-end text-break">
@@ -429,27 +429,27 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['fixed_net_reward']) }}円
+ {{ number_format($report_datas[$key]['fixed_net_reward']) }}{{__('report-published.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['fixed_gross_reward']) }}円
+ {{ number_format($report_datas[$key]['fixed_gross_reward']) }}{{__('report-published.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['fixed_cost_net_reward']) }}円
+ {{ number_format($report_datas[$key]['fixed_cost_net_reward']) }}{{__('report-published.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['fixed_cost_gross_reward']) }}円
+ {{ number_format($report_datas[$key]['fixed_cost_gross_reward']) }}{{__('report-published.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['total_net_reward']) }}円
+ {{ number_format($report_datas[$key]['total_net_reward']) }}{{__('report-published.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($report_datas[$key]['total_gross_reward']) }}円
+ {{ number_format($report_datas[$key]['total_gross_reward']) }}{{__('report-published.yen')}}
</td>
</tr>
@endforeach
@@ -459,8 +459,7 @@
@else
<div class="form_box border">
<div class="inner_box text-center bo">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('report-published.no_matching_data')!!}
</div>
</div>
@endif