mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
[showmore_dyn] Add new translation strings
- Update main translation file
This commit is contained in:
parent
14ebf55d56
commit
9d63da806e
2 changed files with 18 additions and 8 deletions
|
@ -57,8 +57,8 @@ function showmore_dyn_settings(App &$a, &$o)
|
|||
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/showmore_dyn/');
|
||||
$o .= Renderer::replaceMacros($t, [
|
||||
'$submit' => DI::l10n()->t('Save Settings'),
|
||||
'$header' => 'Show More Dynamic',
|
||||
'$limitHeight' => ['limitHeight', DI::l10n()->t('Limit Height'), $limitHeight, 'The maximal pixel height of posts, 0 to disable', '', '', 'number'],
|
||||
'$header' => DI::l10n()->t('Show More Dynamic'),
|
||||
'$limitHeight' => ['limitHeight', DI::l10n()->t('Limit Height'), $limitHeight, DI::l10n()->t('The maximal pixel height of posts before the Show More link is added, 0 to disable'), '', '', 'number'],
|
||||
]);
|
||||
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ function showmore_dyn_settings(App &$a, &$o)
|
|||
function showmore_dyn_script()
|
||||
{
|
||||
$limitHeight = intval(DI::pConfig()->get(local_user(), 'showmore_dyn', 'limitHeight', 250));
|
||||
$showmore_dyn_showmore_linktext = DI::l10n()->t('Show more ...');
|
||||
$showmore_dyn_showmore_linktext = DI::l10n()->t('Show more...');
|
||||
DI::page()['htmlhead'] .= <<<EOT
|
||||
<script>
|
||||
var postLimitHeight = $limitHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue