mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
#8374: Using l10n
This commit is contained in:
parent
b46a23eab3
commit
0ea84cfb66
2 changed files with 3 additions and 2 deletions
|
@ -71,5 +71,6 @@ function showmore_dyn_settings(&$a,&$o) {
|
|||
|
||||
function showmore_dyn_script() {
|
||||
$limitHeight = DI::pConfig()->get(local_user(), 'showmore_dyn', 'limitHeight' );
|
||||
DI::page()['htmlhead'] .= '<script>var postLimitHeight = ' . intval($limitHeight) . ';</script>';
|
||||
$showmore_dyn_showmore_linktext = DI::l10n()->t('Show more ...');
|
||||
DI::page()['htmlhead'] .= '<script>var postLimitHeight = ' . intval($limitHeight) . '; var showmore_dyn_showmore_linktext = "' . $showmore_dyn_showmore_linktext . '"</script>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue