[showmore_dyn] Add new translation strings

- Update main translation file
This commit is contained in:
Hypolite Petovan 2020-12-31 09:16:52 -05:00
parent 14ebf55d56
commit 9d63da806e
2 changed files with 18 additions and 8 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,14 +17,24 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: showmore_dyn.php:62 #: showmore_dyn.php:59
msgid "Save Settings" msgid "Save Settings"
msgstr "" 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" msgid "Limit Height"
msgstr "" msgstr ""
#: showmore_dyn.php:73 #: 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..." msgid "Show more..."
msgstr "" msgstr ""

View file

@ -57,8 +57,8 @@ function showmore_dyn_settings(App &$a, &$o)
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/showmore_dyn/'); $t = Renderer::getMarkupTemplate('settings.tpl', 'addon/showmore_dyn/');
$o .= Renderer::replaceMacros($t, [ $o .= Renderer::replaceMacros($t, [
'$submit' => DI::l10n()->t('Save Settings'), '$submit' => DI::l10n()->t('Save Settings'),
'$header' => 'Show More Dynamic', '$header' => DI::l10n()->t('Show More Dynamic'),
'$limitHeight' => ['limitHeight', DI::l10n()->t('Limit Height'), $limitHeight, 'The maximal pixel height of posts, 0 to disable', '', '', 'number'], '$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'],
]); ]);
} }