git -C '/home/opc/rocketa.git' show 7245d28 -- resources/views/admin/ad/regist.blade.phpcommit 7245d28b58611f78b3853832d95e2cc48ae639b5
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Tue Oct 21 10:34:10 2025 +0900
翻訳作業
diff --git a/resources/views/admin/ad/regist.blade.php b/resources/views/admin/ad/regist.blade.php
index f12976c..b713e02 100644
--- a/resources/views/admin/ad/regist.blade.php
+++ b/resources/views/admin/ad/regist.blade.php
@@ -200,7 +200,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['conditions_icon'] as $key => $conditions_icon_data)
<div class="form-check form-check-inline">
{{ Form::checkbox('conditions_icon['.$key.']', $key, $conditions_icon[$key], ['class'=>'form-check-input', 'id'=>'regist_form_check_2_'.$key])}}
- {{ Form::label('regist_form_check_2_'.$key, $conditions_icon_data[1]['title'], ['class'=>'form-check-label']) }}
+ {{ Form::label('regist_form_check_2_'.$key, __($conditions_icon_data[1]['title']), ['class'=>'form-check-label']) }}
</div>
@endforeach
</div>
@@ -217,7 +217,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-check form-check-inline">
{{ Form::checkbox('reward_type['.$key.']', 1, $reward_type[$key], ['class'=>'form-check-input ad_reward_type_checkbox', 'id'=>'regist_form_check_3_'.$key])}}
- {{ Form::label('regist_form_check_3_'.$key, $ad_reward_type_title, ['class'=>'form-check-label']) }}
+ {{ Form::label('regist_form_check_3_'.$key, __($ad_reward_type_title), ['class'=>'form-check-label']) }}
</div>
@endforeach
@@ -231,7 +231,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-group row m-0 border-bottom ad_reward_type_area_{{ $key }}">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', $ad_reward_type_title.'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
+ {{ Form::label('', __($ad_reward_type_title).'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -328,12 +328,15 @@ for ($i = 0; $i < 60; $i++) {
<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('',__('ad-regist.tracking_url').'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
+ {{ Form::label('',__('ad-regist.tracking_url').'<span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" data-bs-html="true"
+ title="{sid} click unique ID {ad_id} ad unique ID {client_id} client unique ID {media_id} media unique ID {media_uid} media user unique ID">
+ <i class="fas fa-question-circle text-primary" style="cursor:pointer;"></i>
+</span><span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
- {{ Form::url('url', $url, ['class'=>'form-control', 'placeholder'=>__('ad-regist.please_enter_url')]) }}
+ {{ Form::url('url', $url, ['class'=>'form-control', 'placeholder'=>'https://trackingurl.com?sid={sid}&ad_id={ad_id}&client_id={client_id}&media_id={media_id}&media_uid={media_uid}']) }}
@if($errors->has('url'))
<div class="err_msg mt-2">{{ $errors->first('url') }}</div>
@@ -1309,7 +1312,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-check form-check-inline">
{{ Form::checkbox('auto_update_reward_type_1['.$key.']', 1, $auto_update_reward_type_1[$key], ['class'=>'form-check-input auto_update_ad_reward_type_checkbox_1', 'id'=>'regist_form_check_5_'.$key])}}
- {{ Form::label('regist_form_check_5_'.$key, $ad_reward_type_title, ['class'=>'form-check-label']) }}
+ {{ Form::label('regist_form_check_5_'.$key, __($ad_reward_type_title), ['class'=>'form-check-label']) }}
</div>
@endforeach
</div>
@@ -1319,7 +1322,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-group row m-0 border-bottom auto_update_ad_reward_type_area_1_{{ $key }}">
<div class="col-sm-3 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', $ad_reward_type_title.'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
+ {{ Form::label('', __($ad_reward_type_title).'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
</div>
<div class="col-sm-9 px-0 d-flex align-items-center">
@@ -1645,7 +1648,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-check form-check-inline">
{{ Form::checkbox('auto_update_reward_type_2['.$key.']', 1, $auto_update_reward_type_2[$key], ['class'=>'form-check-input auto_update_ad_reward_type_checkbox_2', 'id'=>'regist_form_check_8_'.$key])}}
- {{ Form::label('regist_form_check_8_'.$key, $ad_reward_type_title, ['class'=>'form-check-label']) }}
+ {{ Form::label('regist_form_check_8_'.$key, __($ad_reward_type_title), ['class'=>'form-check-label']) }}
</div>
@endforeach
</div>
@@ -1655,7 +1658,7 @@ for ($i = 0; $i < 60; $i++) {
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
<div class="form-group row m-0 border-bottom auto_update_ad_reward_type_area_2_{{ $key }}">
<div class="col-sm-3 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', $ad_reward_type_title.'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
+ {{ Form::label('', __($ad_reward_type_title).'<span class="required">'.__('ad-regist.required').'</span>', ['class'=>'px-2 col-form-label'], false) }}
</div>
<div class="col-sm-9 px-0 d-flex align-items-center">
@@ -2091,7 +2094,7 @@ for ($i = 0; $i < 60; $i++) {
$icon_switch = 1;
}
?>
- {{ Html::image(asset($conditions_icon_data[$icon_switch]['url']), $conditions_icon_data[$icon_switch]['title'], ['class'=>'w-auto d-inline-block my-1 me-1']) }}
+ {{ Html::image(asset($conditions_icon_data[$icon_switch]['url']), __($conditions_icon_data[$icon_switch]['title']), ['class'=>'w-auto d-inline-block my-1 me-1']) }}
@endforeach
</div>
</div>
@@ -2106,7 +2109,7 @@ for ($i = 0; $i < 60; $i++) {
<div class="px-2 py-3 w-100">
@foreach ($items['reward_type'] as $key => $ad_reward_type_title)
@if (isset($reward_type[$key]) && $reward_type[$key] != 0)
- {{ $ad_reward_type_title }}
+ {{ __($ad_reward_type_title) }}
@endif
@endforeach
</div>
@@ -2117,7 +2120,7 @@ for ($i = 0; $i < 60; $i++) {
@if (isset($reward_type[$key]) && $reward_type[$key] != 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">{{ $ad_reward_type_title }}<span class="required">{{__('ad-regist.required')}}</span></div>
+ <div class="px-2 col-form-label">{{ __($ad_reward_type_title) }}<span class="required">{{__('ad-regist.required')}}</span></div>
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -2852,7 +2855,7 @@ for ($i = 0; $i < 60; $i++) {
<?php
if (isset($auto_update_reward_type_1[$key]) && $auto_update_reward_type_1[$key] != 0) {
?>
- {{ $ad_reward_type_title }}
+ {{ __($ad_reward_type_title) }}
<?php
}
?>
@@ -2865,7 +2868,7 @@ for ($i = 0; $i < 60; $i++) {
@if (isset($auto_update_reward_type_1[$key]) && $auto_update_reward_type_1[$key] != 0)
<div class="form-group row m-0 border-bottom">
<div class="col-sm-3 px-0 bg-gray d-flex align-items-center">
- <div class="px-2 col-form-label">{{ $ad_reward_type_title }}</div>
+ <div class="px-2 col-form-label">{{ __($ad_reward_type_title) }}</div>
</div>
<div class="col-sm-9 px-0 d-flex align-items-center">
@@ -3182,7 +3185,7 @@ for ($i = 0; $i < 60; $i++) {
<?php
if (isset($auto_update_reward_type_2[$key]) && $auto_update_reward_type_2[$key] != 0) {
?>
- {{ $ad_reward_type_title }}
+ {{ __($ad_reward_type_title) }}
<?php
}
?>
@@ -3195,7 +3198,7 @@ for ($i = 0; $i < 60; $i++) {
@if (isset($auto_update_reward_type_2[$key]) && $auto_update_reward_type_2[$key] != 0)
<div class="form-group row m-0 border-bottom">
<div class="col-sm-3 px-0 bg-gray d-flex align-items-center">
- <div class="px-2 col-form-label">{{ $ad_reward_type_title }}</div>
+ <div class="px-2 col-form-label">{{ __($ad_reward_type_title) }}</div>
</div>
<div class="col-sm-9 px-0 d-flex align-items-center">