git -C '/home/opc/rocketa.git' show d7f6645 -- resources/views/admin/general/log/click.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/log/click.blade.php b/resources/views/admin/general/log/click.blade.php
index e7bbcf4..da726d2 100644
--- a/resources/views/admin/general/log/click.blade.php
+++ b/resources/views/admin/general/log/click.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">{{__('log-click.log_management')}} -{{__('log-click.click_log')}}</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/achieve/error_list') }}" class="btn btn-secondary px-1 w-100">エラー一覧</a>
+ <a href="{{ url('/admin/general/achieve/error_list') }}" class="btn btn-secondary px-1 w-100">{{__('log-click.error_list')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0 center_btn">
- <a href="{{ url('#') }}" class="btn btn-primary w-100">クリックログ</a>
+ <a href="{{ url('#') }}" class="btn btn-primary w-100">{{__('log-click.click_log')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0">
- <a href="" class="btn btn-secondary w-100 px-0">キックバック通知ログ</a>
+ <a href="" class="btn btn-secondary w-100 px-0">{{__('log-click.kickback_notification_log')}}</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">{{__('log-click.search')}}</a>
</h5>
</div>
@@ -43,7 +43,7 @@
<div class="col-md-6 px-0 align-self-stretch">
<div class="form-group row m-0 border-bottom h-100">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','フリーワード', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.keyword'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
@@ -57,7 +57,7 @@
<div class="col-md-6 px-0 right_col">
<div class="form-group row m-0 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','期間絞り込み<span class="required">必須</span>', ['class'=>'px-2 col-form-label'], false) }}
+ {{ Form::label('',__('log-click.date_range_filter').'<span class="required">'.__('log-click.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
@@ -98,12 +98,12 @@
<div class="col-md-6 px-0 px-0">
<div class="form-group row m-0 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','運営会社', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.operating_company'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('media_company_id', $items['media_company_datas'], $conditions['media_company_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('media_company_id', $items['media_company_datas'], $conditions['media_company_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>__('log-click.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -112,12 +112,12 @@
<div class="col-md-6 px-0">
<div class="form-group row m-0 border-bottom right_col">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','広告主', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.advertiser'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('client_id', $items['client_datas'], $conditions['client_id'], ['id'=>'client_select', 'class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('client_id', $items['client_datas'], $conditions['client_id'], ['id'=>'client_select', 'class'=>'form-select select2_search', 'data-placeholder'=>__('log-click.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -128,12 +128,12 @@
<div class="col-md-6 px-0 px-0">
<div class="form-group row m-0 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','パートナー', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.partner'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::select('media_id', $items['media_datas'], $conditions['media_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>'選択してください']) }}
+ {{ Form::select('media_id', $items['media_datas'], $conditions['media_id'], ['class'=>'form-select select2_search', 'data-placeholder'=>__('log-click.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -142,12 +142,12 @@
<div class="col-md-6 px-0 right_col">
<div class="form-group row m-0 h-100 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','広告', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.advertisement'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 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'=>__('log-click.select')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -158,12 +158,12 @@
<div class="col-md-6 px-0">
<div class="form-group row m-0 h-100 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','広告素材', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.ad_material'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::text('banner_id', $conditions['banner_id'], ['class'=>'form-control mb-2', 'placeholder'=>'広告素材を選択してください。']) }}
+ {{ Form::text('banner_id', $conditions['banner_id'], ['class'=>'form-control mb-2', 'placeholder'=>__('log-click.select_ad_material')]) }}
</div>
</div>
</div><!-- /.form-group -->
@@ -188,29 +188,29 @@
<div class="col-md-6 px-0">
<div class="form-group row m-0 h-100 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','ステータス', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.status'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 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_1_1'])}}
- {{ Form::label('search_form_check_1_1', '承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_1_1', __('log-click.approved'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('status[]', 2, (in_array(2, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_2'])}}
- {{ Form::label('search_form_check_1_2', '承認待ち', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_1_2', __('log-click.pending_approval'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('status[]', 3, (in_array(3, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_3'])}}
- {{ Form::label('search_form_check_1_3', '無効', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_1_3', __('log-click.invalid'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('status[]', 4, (in_array(4, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_4'])}}
- {{ Form::label('search_form_check_1_4', 'クリック', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_1_4', __('log-click.click'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -220,15 +220,15 @@
<div class="col-md-6 px-0 right_col">
<div class="form-group row m-0 h-100 border-bottom">
<div class="col-md-6 col-lg-5 col-xl-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('','表示件数', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('log-click.display_count'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
<div class="p-2 w-100">
{{ Form::select('count', [
- 20 => '20件',
- 50 => '50件',
- 100 => '100件'],
+ 20 => '20'.__('log-click.items'),
+ 50 => '50'.__('log-click.items'),
+ 100 => '100'.__('log-click.items')],
$conditions['count'], ['class'=>'form-select']
)}}
</div>
@@ -240,13 +240,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(__('log-click.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(__('log-click.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
@@ -264,14 +264,14 @@
<div class="area_btn">
<div class="row mx-0 mb-3 justify-content-start">
<div class="col-lg-3 col-md-4 col-sm-5 p-0">
- <button class="btn btn-secondary w-100" id="csv_button">結果をCSVでDL</a>
+ <button class="btn btn-secondary w-100" id="csv_button">{{__('log-click.download_results_csv')}}</a>
</div>
</div>
</div>
@endif
<div class="form_box border mb-3">
- <h5 class="mb-3 text-white bg-dark form_head">クリックログ一覧</h5>
+ <h5 class="mb-3 text-white bg-dark form_head">{{__('log-click.click_log_list')}}</h5>
@if (count($click_datas) > 0)
{{ Form::open(['id'=>'status_update']) }}
@@ -279,11 +279,11 @@
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-start mt-1">
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストをチェック', ['class'=>'btn btn-secondary mb-2 w-100 all_check_button']) }}
+ {{ Form::button(__('log-click.check_selected_list'), ['class'=>'btn btn-secondary mb-2 w-100 all_check_button']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストを成果調査回答', ['class'=>'btn btn-secondary mb-2 w-100 on-fixed approval_range']) }}
+ {{ Form::button(__('log-click.mark_selected_as_survey_response'), ['class'=>'btn btn-secondary mb-2 w-100 on-fixed approval_range']) }}
</div>
<!-- <button class="btn btn-secondary w-100 all_check_button">選択リストをチェック</a> -->
@@ -326,15 +326,15 @@
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">パートナー</span>
+ <span class="d-block text-center">{{__('log-click.partner_label')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 15%;">
- <span class="d-block text-center">広告</span>
+ <span class="d-block text-center">{{__('log-click.advertisement')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">成果報酬</span>
+ <span class="d-block text-center">{{__('log-click.performance_reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 7%;">
@@ -342,11 +342,11 @@
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">ステータス</span>
+ <span class="d-block text-center">{{__('log-click.status')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
- <span class="d-block text-center">クリック日時</span>
+ <span class="d-block text-center">{{__('log-click.click_datetime')}}</span>
</th>
<th scope="col" style="width: 5%;"></th>
@@ -358,21 +358,21 @@
<?php
$net_price = number_format($click_data->net_price);
if ($click_data->net_price_unit == 1) {
- $net_price .= '円';
+ $net_price .= __('log-click.yen');
} elseif ($click_data->net_price_unit == 2) {
$net_price .= '%';
}
$gross_price = number_format($click_data->gross_price);
if ($click_data->gross_price_unit == 1) {
- $gross_price .= '円';
+ $gross_price .= __('log-click.yen');
} elseif ($click_data->gross_price_unit == 2) {
$gross_price .= '%';
}
$ad_name = '';
if (isset($investigation[$key]) && $investigation[$key]) {
- $ad_name = '【成果調査回答分】';
+ $ad_name = '【'.__('log-click.performance_survey_response').'】';
}
$ad_name .= $click_data->ad_name;
?>
@@ -411,22 +411,22 @@
<td class="text-center align-middle">
@if ($click_data->status === 1)
- 承認
+ {{__('log-click.approved')}}
@elseif ($click_data->status === 0)
- 承認待ち
+ {{__('log-click.pending_approval')}}
@elseif ($click_data->status === 2)
- 無効
+ {{__('log-click.invalid')}}
@elseif ($click_data->status === 98 || $click_data->status === 99)
エラー
@else
- クリック
+ {{__('log-click.click')}}
@endif
</td>
<td class="text-center align-middle text-wrap">{{ $click_data->click_at }}</td>
<td class="align-middle">
- <a href="{{ url('/admin/general/achieve/regist/'.$click_data->id) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">編集</a>
+ <a href="{{ url('/admin/general/achieve/regist/'.$click_data->id) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">{{__('log-click.edit')}}</a>
</td>
</tr>
@endforeach
@@ -438,11 +438,11 @@
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-start mt-1">
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストをチェック', ['class'=>'btn btn-secondary mb-2 w-100 all_check_button']) }}
+ {{ Form::button(__('log-click.check_selected_list_repeat'), ['class'=>'btn btn-secondary mb-2 w-100 all_check_button']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストを成果調査回答', ['class'=>'btn btn-secondary mb-2 w-100 on-fixed approval_range']) }}
+ {{ Form::button(__('log-click.mark_selected_as_survey_response_repeat'), ['class'=>'btn btn-secondary mb-2 w-100 on-fixed approval_range']) }}
</div>
<!-- <button class="btn btn-secondary w-100 all_check_button">選択リストをチェック</a> -->
@@ -471,8 +471,7 @@
@else
{{-- 検索0件時 --}}
<div class="inner_box text-center">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('log-click.no_matching_data')!!}
</div>
@endif
</div><!-- /.form_box -->