From 9d63da806e7897b2129cecdc315cb9551d134e8a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 31 Dec 2020 09:16:52 -0500 Subject: [PATCH] [showmore_dyn] Add new translation strings - Update main translation file --- showmore_dyn/lang/C/messages.po | 20 +++++++++++++++----- showmore_dyn/showmore_dyn.php | 6 +++--- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/showmore_dyn/lang/C/messages.po b/showmore_dyn/lang/C/messages.po index 0dc4d11c..c91cb1d0 100644 --- a/showmore_dyn/lang/C/messages.po +++ b/showmore_dyn/lang/C/messages.po @@ -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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/showmore_dyn/showmore_dyn.php b/showmore_dyn/showmore_dyn.php index da384faa..bf8f5608 100644 --- a/showmore_dyn/showmore_dyn.php +++ b/showmore_dyn/showmore_dyn.php @@ -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'] .= << var postLimitHeight = $limitHeight; -- 2.39.5