From: Michael Date: Mon, 16 May 2022 05:31:53 +0000 (+0000) Subject: Vote text changed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2dc9b4eda2f25383cc8759dde25fda6af4b5ea1d;p=friendica.git Vote text changed --- diff --git a/src/Model/Item.php b/src/Model/Item.php index d08b938581..2435e15c2a 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 c9e33b7762..3d85ff31d7 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