mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Vote text changed
This commit is contained in:
parent
f277d9cd2f
commit
2dc9b4eda2
2 changed files with 3 additions and 3 deletions
|
@ -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'), [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue