mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 00:03:46 +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
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-03-15 21:20+0100\n"
|
||||
"POT-Creation-Date: 2020-12-31 09:16-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -17,14 +17,24 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: showmore_dyn.php:62
|
||||
#: showmore_dyn.php:59
|
||||
msgid "Save Settings"
|
||||
msgstr ""
|
||||
|
||||
#: showmore_dyn.php:64 showmore_dyn.php:65
|
||||
#: showmore_dyn.php:60
|
||||
msgid "Show More Dynamic"
|
||||
msgstr ""
|
||||
|
||||
#: showmore_dyn.php:61
|
||||
msgid "Limit Height"
|
||||
msgstr ""
|
||||
|
||||
#: showmore_dyn.php:73
|
||||
msgid "Show more ..."
|
||||
#: showmore_dyn.php:61
|
||||
msgid ""
|
||||
"The maximal pixel height of posts before the Show More link is added, 0 to "
|
||||
"disable"
|
||||
msgstr ""
|
||||
|
||||
#: showmore_dyn.php:69
|
||||
msgid "Show more..."
|
||||
msgstr ""
|
||||
|
|
|
@ -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…
Reference in a new issue