Skip to content

Commit 812fd9a

Browse files
committed
Bug fix
1 parent c96f973 commit 812fd9a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Controllers/TranslatorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function update($form_data, $page, $plugin_settings)
123123
$new_content = $page[$form_data['translate_result_add_to_field']].$translate_result;
124124
}
125125

126-
$this->helper->debug([$new_content, $form_data]);
126+
// $this->helper->debug([$new_content, $form_data]);
127127
}
128128

129129
$this->helper->debug($api_result);

src/resources/views/plugins/page-tab-translator/translator.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@
3131
"translate_content", 'type'=>'textarea' ])
3232
</div>
3333
</div>
34-
<div class="pb-5 mb-5"></div>
34+
<div class="pb-5 mb-5 text-light">
35+
Translate provider: {{$helper->s('plugin.page-tab-translator.api_provider')}}
36+
( {{$helper->s('plugin.page-tab-translator.app_id')}} )
37+
</div>

0 commit comments

Comments
 (0)