This commit is contained in:
Rudis Muiznieks 2023-09-25 16:43:22 -05:00
parent 62e8cd7508
commit 7ae1813012
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class FreshExtension_kagiSummarizer_Controller extends Minz_ActionController {
if ($kagi_token === null || trim($kagi_token) ==='') { if ($kagi_token === null || trim($kagi_token) ==='') {
echo json_encode(array( echo json_encode(array(
'response' => array( 'response' => array(
'output_text' => 'No Kagi token configured.', 'output_text' => _t('ext.kagiSummarizer.ui.no_token_configured'),
'error' => 'configuration'), 'error' => 'configuration'),
'status' => 200)); 'status' => 200));
return; return;

View File

@ -9,7 +9,8 @@ return array(
'ui' => array( 'ui' => array(
'summarize_button' => 'Summarize', 'summarize_button' => 'Summarize',
'loading_summary' => 'Loading summary...', 'loading_summary' => 'Loading summary...',
'error' => 'Error retrieving summary.' 'error' => 'Error retrieving summary.',
'no_token_configured' => 'No Kagi token configured.'
) )
) )
); );