diff --git a/src/Model/Item.php b/src/Model/Item.php index d08b93858..2435e15c2 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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'), [ diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index c9e33b776..3d85ff31d 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -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 \n" "Language-Team: LANGUAGE \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