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;
$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'), [

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 2022.05-rc\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -3740,7 +3740,7 @@ msgstr ""
#: src/Model/Item.php:3199
#, php-format
msgid "%d%s: %s (%d votes)"
msgid "%s (%d%s, %d votes)"
msgstr ""
#: src/Model/Item.php:3205