localize button text
This commit is contained in:
parent
c0fd5271b6
commit
96b6dd28f7
|
@ -23,7 +23,9 @@ class KagiSummarizerExtension extends Minz_Extension {
|
|||
}
|
||||
|
||||
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
|
||||
$entry->_content('<p class="kagi-summary"><a class="btn" href="#">Summarize</a></p>' . $entry->content());
|
||||
$this->registerTranslates();
|
||||
|
||||
$entry->_content('<p class="kagi-summary"><a class="btn" href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@ return array(
|
|||
'configure' => array(
|
||||
'kagi_token' => 'Kagi Token',
|
||||
'kagi_token_help' => 'Copy and paste the "Session Link" from your <a href="https://kagi.com/settings?p=user_details" target="_blank">Kagi Account</a> settings.'
|
||||
),
|
||||
'ui' => array(
|
||||
'summarize_button' => 'Summarize'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue