rocket-a


git -C '/home/opc/rocketa.git' show 07ed971 -- resources/views/media/ad/detail.blade.php

commit 07ed97127c59b6ce666edd54a2bf3e0583076e24
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Fri Oct 24 12:03:50 2025 +0900

    翻訳作業

diff --git a/resources/views/media/ad/detail.blade.php b/resources/views/media/ad/detail.blade.php
index e923bf4..41f6aa6 100644
--- a/resources/views/media/ad/detail.blade.php
+++ b/resources/views/media/ad/detail.blade.php
@@ -19,26 +19,26 @@ if (count($get_ad_material_datas) > 0) {
 
 {{-- コンテンツ内容 .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-detail.ad_management')}} - {{ $ad_data->name }} - {{__('ad-detail.details')}}</h2>
 
     {{ Form::open() }}
     <div class="area_btn">
         <div class="row mx-0 mb-3 justify-content-end">
             <div class="col-md-2 col-sm-3 col-4 p-0 me-2">
                 @if ($ad_data->public_status == 0 || $ad_data->status == 0)
-                    <div class="btn btn-success w-100 disabled opa-10">掲載終了</div>
+                    <div class="btn btn-success w-100 disabled opa-10">{{__('ad-detail.publication_ended')}}</div>
                 @elseif (isset($ad_join_media_data))
                     @if ($ad_join_media_data->status == 0)
-                        <div class="btn btn-outline-primary w-100 disabled opa-10">提携申請中</div>
+                        <div class="btn btn-outline-primary w-100 disabled opa-10">{{__('ad-detail.partnership_pending')}}</div>
                     @elseif ($ad_join_media_data->status == 1)
-                        <div class="btn btn-success w-100 disabled opa-10">提携中</div>
+                        <div class="btn btn-success w-100 disabled opa-10">{{__('ad-detail.partnered')}}</div>
                     @else
-                        <div class="btn btn-outline-danger w-100 disabled opa-10">提携否認</div>
+                        <div class="btn btn-outline-danger w-100 disabled opa-10">{{__('ad-detail.partnership_rejected')}}</div>
                     @endif
                 @else
                     {{ Form::hidden('ad_id', $ad_data->id) }}
                     {{ Form::hidden('media_id', $media_id) }}
-                    {{ Form::submit('提携申請する', ['class'=>'btn btn-primary w-100']) }}
+                    {{ Form::submit(__('ad-detail.apply_for_partnership'), ['class'=>'btn btn-primary w-100']) }}
                 @endif
             </div>
         </div>
@@ -64,13 +64,13 @@ if (count($get_ad_material_datas) > 0) {
                     <div class="table-responsive">
                         <table class="table table-bordered text-nowrap mb-0">
                             <tr>
-                                <th class="bg-light align-middle" style="width: 10%;" scope="row">運営会社</th>
+                                <th class="bg-light align-middle" style="width: 10%;" scope="row">{{__('ad-detail.operating_company')}}</th>
 
                                 <td style="width: 40%;">
                                     {{ $ad_data->management_company }}
                                 </td>
 
-                                <th class="bg-light align-middle" style="width: 10%;" scope="row">広告ID</th>
+                                <th class="bg-light align-middle" style="width: 10%;" scope="row">{{__('ad-detail.ad_id')}}</th>
 
                                 <td style="width: 40%;">
                                     {{ $ad_data->id }}
@@ -78,30 +78,30 @@ if (count($get_ad_material_datas) > 0) {
                             </tr>
 
                             <tr>
-                                <th class="bg-light align-middle" scope="row">成果地点</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.conversion_point')}}</th>
 
                                 <td>
                                     {{ $ad_data->success_criteria }}
                                 </td>
 
-                                <th class="bg-light align-middle" scope="row">成果報酬</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.reward')}}</th>
 
                                 <td>
                                     @if (isset($ad_reward_data))
                                         {{ number_format($ad_reward_data->net_price) }}
                                         @if ($ad_reward_data->net_price_unit == 1)
-                                            円
+                                            {{__('ad-detail.yen')}}
                                         @else
                                             %
                                         @endif
                                     @else
-                                        0円
+                                        0{{__('ad-detail.yen')}}
                                     @endif
                                 </td>
                             </tr>
 
                             <tr>
-                                <th class="bg-light align-middle" scope="row">開始日</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.start_date')}}</th>
 
                                 <td>
                                     @if ($ad_data->valid_start_date != '1000-01-01 00:00:00')
@@ -109,7 +109,7 @@ if (count($get_ad_material_datas) > 0) {
                                     @endif
                                 </td>
 
-                                <th class="bg-light align-middle" scope="row">終了日</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.end_date')}}</th>
 
                                 <td>
                                     @if ($ad_data->valid_end_date != '9999-12-31 23:59:59')
@@ -119,13 +119,13 @@ if (count($get_ad_material_datas) > 0) {
                             </tr>
 
                             <tr>
-                                <th class="bg-light align-middle" scope="row">カテゴリー</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.category')}}</th>
 
                                 <td>
                                     {{ __(\Config::get('const.ad_category')[$ad_data->category]) }}
                                 </td>
 
-                                <th class="bg-light align-middle" scope="row">対象デバイス</th>
+                                <th class="bg-light align-middle" scope="row">{{__('ad-detail.target_device')}}</th>
 
                                 <td class="text-wrap">
                                     @foreach (\Config::get('const.device_list') as $device_data)
@@ -170,7 +170,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">サイト説明</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.site_description')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -184,7 +184,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">成果条件</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.conversion_conditions')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -198,7 +198,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">却下条件</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.rejection_conditions')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -212,7 +212,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">成果対象顧客</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.eligible_customers')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -226,14 +226,14 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">ポイント付与上限</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.point_grant_limit')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
                 <div class="px-2 py-3 w-100">
                     <p class="mb-0 text-break text-justify">
                         @if ($ad_data->upper_limit_point)
-                            {{ number_format($ad_data->upper_limit_point) }}円
+                            {{ number_format($ad_data->upper_limit_point) }}{{__('ad-detail.yen')}}
                         @endif
                     </p>
                 </div>
@@ -242,7 +242,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">禁止事項</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.prohibited_actions')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -256,7 +256,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">備考</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.notes')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -270,7 +270,7 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0 border-bottom">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">認証サイクル</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.approval_cycle')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -284,28 +284,28 @@ if (count($get_ad_material_datas) > 0) {
 
         <div class="form-group row m-0">
             <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                <div class="px-2 col-form-label">リピート条件</div>
+                <div class="px-2 col-form-label">{{__('ad-detail.repeat_conditions')}}</div>
             </div>
 
             <div class="col-sm-10 px-0 d-flex align-items-center">
                 <div class="px-2 py-3 w-100">
-                    {{ $repeat_criteria[$ad_data->repeat_criteria] }}
+                    {{ __($repeat_criteria[$ad_data->repeat_criteria]) }}
                 </div>
             </div>
         </div><!-- /.form-group -->
     </div><!-- /.form_box -->
 
     <div class="form_box border mb-3" id="material_area">
-        <h5 class="mb-0 text-white bg-dark form_head">広告原稿一覧</h5>
+        <h5 class="mb-0 text-white bg-dark form_head">{{__('ad-detail.ad_creative_list')}}</h5>
 
         <div class="row m-0 inner_box justify-content-center">
             <div class="col-md-8 p-0">
                 <ul class="nav nav-pills w-100 manuscript_btn_box" role="tablist">
                     <li class="nav-item flex-fill">
-                        <a href="#list_bnr" class="btn btn-primary w-100 active" data-bs-toggle="pill" role="tab" aria-controls="bnr" aria-selected="true">バナー原稿</a>
+                        <a href="#list_bnr" class="btn btn-primary w-100 active" data-bs-toggle="pill" role="tab" aria-controls="bnr" aria-selected="true">{{__('ad-detail.banner_creative')}}</a>
                     </li>
                     <li class="nav-item flex-fill">
-                        <a href="#list_txt" class="btn btn-primary w-100" data-bs-toggle="pill" role="tab" aria-controls="txt" aria-selected="false">テキスト原稿</a>
+                        <a href="#list_txt" class="btn btn-primary w-100" data-bs-toggle="pill" role="tab" aria-controls="txt" aria-selected="false">{{__('ad-detail.text_creative')}}</a>
                     </li>
                 </ul>
             </div>
@@ -326,7 +326,7 @@ if (count($get_ad_material_datas) > 0) {
                                     <div class="row mx-0 mb-3 pb-2 border-bottom justify-content-between align-items-center">
                                         <div class="col-8 col-sm-10 px-0">
                                             <h5 class="font-weight-bold m-0">
-                                                素材ID:{{ $ad_material_data->id }}
+                                                {{__('ad-detail.material_id')}}:{{ $ad_material_data->id }}
                                             </h5>
                                         </div>
 
@@ -351,33 +351,33 @@ if (count($get_ad_material_datas) > 0) {
 
                                             <div class="row m-0 mt-2 justify-content-start">
                                                 <div class="col-lg-3 col-sm-4 p-0">
-                                                    {{ Form::button('バナー原稿をコピー', ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
+                                                    {{ Form::button(__('ad-detail.copy_banner_creative'), ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
                                                     <?php $copy_target++; ?>
                                                 </div>
                                             </div>
                                         </div>
 
                                         <div class="mt-3 pt-3 border-top">
-                                            <h6 class="h5 font-weight-bold">個別URL</h6>
+                                            <h6 class="h5 font-weight-bold">{{__('ad-detail.individual_url')}}</h6>
 
                                             {!! Form::text('', $ad_material_manuscripts[$ad_material_data->id][2], ['id'=>'copyTarget'.$copy_target, 'class'=>'form-control', 'readonly'=>'readonly']) !!}
 
                                             <div class="row m-0 mt-2 justify-content-start">
                                                 <div class="col-lg-3 col-sm-4 p-0">
-                                                    {{ Form::button('個別URLをコピー', ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
+                                                    {{ Form::button(__('ad-detail.copy_individual_url'), ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
                                                     <?php $copy_target++; ?>
                                                 </div>
                                             </div>
                                         </div>
 
                                         <div class="mt-3 pt-3 border-top">
-                                            <h6 class="h5 font-weight-bold">画像URL</h6>
+                                            <h6 class="h5 font-weight-bold">{{__('ad-detail.image_url')}}</h6>
 
                                             {!! Form::text('', $ad_material_manuscripts[$ad_material_data->id][3], ['id'=>'copyTarget'.$copy_target, 'class'=>'form-control', 'readonly'=>'readonly']) !!}
 
                                             <div class="row m-0 mt-2 justify-content-start">
                                                 <div class="col-lg-3 col-sm-4 p-0">
-                                                    {{ Form::button('画像URLをコピー', ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
+                                                    {{ Form::button(__('ad-detail.copy_image_url'), ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
                                                     <?php $copy_target++; ?>
                                                 </div>
                                             </div>
@@ -390,7 +390,7 @@ if (count($get_ad_material_datas) > 0) {
                 </ul>
             @else
                 <div class="inner_box text-center">
-                    該当データはありません。
+                    {{__('ad-detail.no_data_found')}}
                 </div>
             @endif
         </div><!-- /#list_bnr -->
@@ -402,7 +402,7 @@ if (count($get_ad_material_datas) > 0) {
                     @foreach ($ad_material_datas[3] as $ad_material_data)
                         <li class="form_box border mb-3 p-3">
                             <div class="mb-3 pb-2 border-bottom">
-                                <h5 class="font-weight-bold m-0">素材ID:{{ $ad_material_data->id }}</h5>
+                                <h5 class="font-weight-bold m-0">{{__('ad-detail.material_id')}}:{{ $ad_material_data->id }}</h5>
                             </div>
 
                             <div class="row m-0 justify-content-center">
@@ -414,7 +414,7 @@ if (count($get_ad_material_datas) > 0) {
 
                                 <div class="row m-0 mt-2 justify-content-start">
                                     <div class="col-lg-3 col-sm-4 p-0">
-                                        {{ Form::button('テキスト原稿をコピー', ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
+                                        {{ Form::button(__('ad-detail.copy_text_creative'), ['class'=>'btn btn-secondary w-100', 'onclick'=>'copyToClipboard('.$copy_target.')']) }}
                                         <?php $copy_target++; ?>
                                     </div>
                                 </div>
@@ -424,7 +424,7 @@ if (count($get_ad_material_datas) > 0) {
                 </ul>
             @else
                 <div class="inner_box text-center">
-                    該当データはありません。
+                    {{__('ad-detail.no_data_found')}}
                 </div>
             @endif
         </div><!-- /#list_txt -->

diff.txt · 最終更新: by root