Merge pull request #2813 from iv-org/SamantazFox-fix-comments

Fix youtube comments
This commit is contained in:
Samantaz Fox 2022-01-13 20:46:43 +01:00 committed by GitHub
commit 042ff8da64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ def template_youtube_comments(comments, locale, thin_mode, is_replies = false)
if child["replies"]?
replies_count_text = translate_count(locale,
"comments_view_x_replies",
child["replies"]["replyCount"].as_s.to_i? || 0,
child["replies"]["replyCount"].as_i64 || 0,
NumberFormatting::Separator
)