wip
This commit is contained in:
parent
62e8cd7508
commit
7ae1813012
|
@ -9,7 +9,7 @@ class FreshExtension_kagiSummarizer_Controller extends Minz_ActionController {
|
|||
if ($kagi_token === null || trim($kagi_token) ==='') {
|
||||
echo json_encode(array(
|
||||
'response' => array(
|
||||
'output_text' => 'No Kagi token configured.',
|
||||
'output_text' => _t('ext.kagiSummarizer.ui.no_token_configured'),
|
||||
'error' => 'configuration'),
|
||||
'status' => 200));
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,8 @@ return array(
|
|||
'ui' => array(
|
||||
'summarize_button' => 'Summarize',
|
||||
'loading_summary' => 'Loading summary...',
|
||||
'error' => 'Error retrieving summary.'
|
||||
'error' => 'Error retrieving summary.',
|
||||
'no_token_configured' => 'No Kagi token configured.'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue