rocket-a


git -C '/home/opc/rocketa.git' show f14d77f -- resources/views/admin/ad/unit_price/list.blade.php

commit f14d77f0854ea539cc4cf3939a965a90ab2deac3
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Fri Oct 17 18:19:48 2025 +0900

    翻訳作業
    クリック処理更新
    成果受け取り作業更新

diff --git a/resources/views/admin/ad/unit_price/list.blade.php b/resources/views/admin/ad/unit_price/list.blade.php
index be2d364..6b6c516 100644
--- a/resources/views/admin/ad/unit_price/list.blade.php
+++ b/resources/views/admin/ad/unit_price/list.blade.php
@@ -9,12 +9,12 @@
 
 {{-- コンテンツ内容 .main_col内 --}}
 @section('content')
-    <h2 class="mb-3 pb-2 border-bottom">広告管理 - {{ $ad_data->name }} - 特別単価一覧</h2>
+    <h2 class="mb-3 pb-2 border-bottom">{{__('ad-unit_price-list.ad_management')}} - {{ $ad_data->name }} - {{__('ad-unit_price-list.special_unit_price_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-unit_price-list.search')}}</a>
             </h5>
         </div>
 
@@ -25,7 +25,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('', 'パートナー', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('', __('ad-unit_price-list.partner'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -37,7 +37,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-unit_price-list.setting_period'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -59,7 +59,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    <label class="px-2 col-form-label">成果報酬単価</label>
+                                    <label class="px-2 col-form-label">{{__('ad-unit_price-list.performance_reward_unit_price')}}</label>
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -68,7 +68,7 @@
                                             <div class="form_price">
                                                 {{ Form::text('gross_price', $conditions['gross_price'], ['class'=>'form-control d-inline-block me-2'])}}
                                                 {{ Form::select('gross_price_unit', [
-                                                    '1' => '円',
+                                                    '1' => __('ad-unit_price-list.yen'),
                                                     '2' => '%'],
                                                     $conditions['gross_price_unit'], ['class'=>'form-select d-inline-block']
                                                 )}}
@@ -80,19 +80,19 @@
 
                             <div class="form-group row m-0">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    <label class="px-2 col-form-label">ステータス</label>
+                                    <label class="px-2 col-form-label">{{__('ad-unit_price-list.status')}}</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::checkbox('status[]', 1, (in_array(1, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_2_1'])}}
-                                            {{ Form::label('search_form_check_2_1', '有効', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_check_2_1', __('ad-unit_price-list.active'), ['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_2_0'])}}
-                                            {{ Form::label('search_form_check_2_0', '無効', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_check_2_0', __('ad-unit_price-list.inactive'), ['class'=>'form-check-label']) }}
                                         </div>
                                     </div>
                                 </div>
@@ -101,13 +101,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-unit_price-list.clear_conditions'), ['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-unit_price-list.search_2'), ['class'=>'btn btn-primary btn-lg w-100']) }}
                             </div>
                         </div>
 
@@ -122,7 +122,7 @@
     <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">
-                <a href="{{ url('/admin/ad/unit_price/regist/'.$ad_data->id) }}" class="btn btn-primary w-100">特別単価追加</a>
+                <a href="{{ url('/admin/ad/unit_price/regist/'.$ad_data->id) }}" class="btn btn-primary w-100">{{__('ad-unit_price-list.add_special_unit_price')}}</a>
             </div>
         </div>
     </div>
@@ -130,19 +130,19 @@
     @if ($conditions['search'])
         {{ Form::open(['id'=>'select_delete']) }}
             <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-unit_price-list.special_unit_price_list')}}</h5>
 
                 @if (count($group_datas) > 0)
                     <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 select_delete']) }}
+                                {{ Form::button(__('ad-unit_price-list.delete_selected_list'), ['class'=>'btn btn-secondary mb-2 p-1 w-100 select_delete']) }}
                             </div>
 
                             <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">{{ $group_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}件表示</span>
+                                        <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{__('ad-unit_price-list.pagenation_text',['all'=>$group_datas->total(),'some'=> $paginate_data['stert_prev']."-". $paginate_data['end_prev']])}}</span>
                                     </div>
 
                                     <div class="col-auto p-0">
@@ -164,23 +164,23 @@
                                     </th>
 
                                     <th class="align-middle" scope="col" style="width: 10%;">
-                                        <span class="d-block mb-2 text-center">&emsp;&emsp;パートナー&emsp;&emsp;</span>
+                                        <span class="d-block mb-2 text-center">&emsp;&emsp;{{__('ad-unit_price-list.partner')}}&emsp;&emsp;</span>
                                     </th>
 
                                     <th class="align-middle" scope="col" style="width: 15%;">
-                                        <span class="d-block mb-2 text-center">&emsp;&emsp;成果報酬&emsp;&emsp;</span>
+                                        <span class="d-block mb-2 text-center">&emsp;&emsp;{{__('ad-unit_price-list.performance_reward')}}&emsp;&emsp;</span>
                                     </th>
 
                                     <th class="align-middle" scope="col" width="10%;">
-                                        <span class="d-block mb-2 text-center">&emsp;&emsp;&emsp;単価&emsp;&emsp;&emsp;</span>
+                                        <span class="d-block mb-2 text-center">&emsp;&emsp;&emsp;{{__('ad-unit_price-list.unit_price')}}&emsp;&emsp;&emsp;</span>
                                     </th>
 
                                     <th class="align-middle" scope="col" style="width: 32%;">
-                                        <span class="d-block mb-2 text-center">&emsp;&emsp;&emsp;&emsp;&emsp;期間&emsp;&emsp;&emsp;&emsp;&emsp;</span>
+                                        <span class="d-block mb-2 text-center">&emsp;&emsp;&emsp;&emsp;&emsp;{{__('ad-unit_price-list.period')}}&emsp;&emsp;&emsp;&emsp;&emsp;</span>
                                     </th>
 
                                     <th class="align-middle" scope="col" style="width: 10%;">
-                                        <span class="d-block mb-2 text-center">ステータス</span>
+                                        <span class="d-block mb-2 text-center">{{__('ad-unit_price-list.status')}}</span>
                                     </th>
                                     
                                     <th scope="col" style="width: 10%;">&emsp;&emsp;&emsp;</th>
@@ -193,7 +193,7 @@
                                         <td class="align-middle">
                                             <div class="form-check m-0">
                                                 {{ Form::checkbox('reward_id[]', $group_data['reward_id'], false, ['class'=>'form-check-input', 'id'=>'table_check_'.$key])}}
-                                                {{ Form::label('table_check_'.$key, '<span class="sr-only">リストチェック</span>', ['class'=>'form-check-label cell_check'], false) }}
+                                                {{ Form::label('table_check_'.$key, '<span class="sr-only">'.__('ad-unit_price-list.list_check').'</span>', ['class'=>'form-check-label cell_check'], false) }}
                                             </div>
                                         </td>
 
@@ -216,7 +216,7 @@
                                                     <span class="d-block w-100 ps-1">
                                                         {{ number_format($group_data['net_price']) }}
                                                         @if ($group_data['net_price_unit'] == 1)
-                                                            円
+                                                            {{__('ad-unit_price-list.yen')}}
                                                         @elseif ($group_data['net_price_unit'] == 2)
                                                             %
                                                         @endif
@@ -230,7 +230,7 @@
                                                     <span class="d-block w-100 ps-1">
                                                         {{ number_format($group_data['gross_price']) }}
                                                         @if ($group_data['gross_price_unit'] == 1)
-                                                            円
+                                                            {{__('ad-unit_price-list.yen')}}
                                                         @elseif ($group_data['gross_price_unit'] == 2)
                                                             %
                                                         @endif
@@ -255,14 +255,14 @@
 
                                         <td class="text-center align-middle">
                                             @if ($group_data['status'] == 1)
-                                                有効
+                                                {{__('ad-unit_price-list.active')}}
                                             @else
-                                                無効
+                                                {{__('ad-unit_price-list.inactive')}}
                                             @endif
                                         </td>
 
                                         <td class="align-middle">
-                                            <a href="{{ url('/admin/ad/unit_price/regist/'.$ad_data->id.'/'.$group_data['group_id']) }}" class="btn btn-secondary btn-sm text-white w-100">編集</a>
+                                            <a href="{{ url('/admin/ad/unit_price/regist/'.$ad_data->id.'/'.$group_data['group_id']) }}" class="btn btn-secondary btn-sm text-white w-100">{{__('ad-unit_price-list.edit')}}</a>
                                         </td>
                                     </tr>
                                 @endforeach
@@ -273,13 +273,13 @@
                     <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 select_delete']) }}
+                                {{ Form::button(__('ad-unit_price-list.delete_selected_list'), ['class'=>'btn btn-secondary mb-2 p-1 w-100 select_delete']) }}
                             </div>
 
                             <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">{{ $group_datas->total() }}件中 {{ $paginate_data['stert_prev'] }}-{{ $paginate_data['end_prev'] }}件表示</span>
+                                        <span class="d-inline-block mb-3 pe-3 pager_bleakdown">{{__('ad-unit_price-list.pagenation_text',['all'=>$group_datas->total(),'some'=> $paginate_data['stert_prev']."-". $paginate_data['end_prev']])}}</span>
                                     </div>
 
                                     <div class="col-auto p-0">
@@ -292,8 +292,7 @@
                 @else
                     {{-- 検索0件時 --}}
                     <div class="inner_box text-center">
-                        該当データはありません。<br>
-                        条件を変更して検索してください。
+                        {{__('ad-unit_price-list.no_matching_data')}}
                     </div>
                 @endif
             </div><!-- /.form_box -->

diff.txt · 最終更新: by root