Vote text changed

This commit is contained in:
Michael 2022-05-16 05:31:53 +00:00
parent f277d9cd2f
commit 2dc9b4eda2
2 changed files with 3 additions and 3 deletions

View file

@ -3196,7 +3196,7 @@ class Item
$percent = $question['voters'] ? ($option['replies'] / $question['voters'] * 100) : 0; $percent = $question['voters'] ? ($option['replies'] / $question['voters'] * 100) : 0;
$options[$key]['percent'] = $percent; $options[$key]['percent'] = $percent;
$options[$key]['vote'] = DI::l10n()->t('%d%s: %s (%d votes)', round($percent, 1), '%', $option['name'], $option['replies']); $options[$key]['vote'] = DI::l10n()->t('%s (%d%s, %d votes)', $option['name'], round($percent, 1), '%', $option['replies']);
} }
$content .= Renderer::replaceMacros(Renderer::getMarkupTemplate('content/question.tpl'), [ $content .= Renderer::replaceMacros(Renderer::getMarkupTemplate('content/question.tpl'), [

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2022.05-rc\n" "Project-Id-Version: 2022.05-rc\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-05-16 05:05+0000\n" "POT-Creation-Date: 2022-05-16 05:29+0000\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"
@ -3740,7 +3740,7 @@ msgstr ""
#: src/Model/Item.php:3199 #: src/Model/Item.php:3199
#, php-format #, php-format
msgid "%d%s: %s (%d votes)" msgid "%s (%d%s, %d votes)"
msgstr "" msgstr ""
#: src/Model/Item.php:3205 #: src/Model/Item.php:3205