Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Variable interpolation is broken in Disqus widget #642

Open
DmitryBarskov opened this issue Nov 3, 2023 · 2 comments
Open

Bug: Variable interpolation is broken in Disqus widget #642

DmitryBarskov opened this issue Nov 3, 2023 · 2 comments
Labels

Comments

@DmitryBarskov
Copy link
Contributor

DmitryBarskov commented Nov 3, 2023

Summary

Variable interpolation is broken in Disqus widget on Ru section of the website.
This bug appears on any article page, but it works in En section.

obraz

Reproduction steps

1. Go to https://guides.hexlet.io/ru/kanban/ or any other article under /ru/
2. Scroll to the very bottom of the page
3. Wait until Disqus widget is loaded

Expected result

See "5 откликов" or any other number

Actual result

See "%(voteCount) откликов"

Browsers

Firefox, Chrome, Safari

OS

Mac

@bobronaud
Copy link

взял в работу

@bobronaud
Copy link

bobronaud commented Jan 19, 2024

В коде проекта это не фиксится.
Если я правильно понял по этой доке, то компонент этих реакций собирается в личном кабинете на https://disqus.com/. И все надписи задаются там, в ЛК.
В самом проекте я пробовал менять локали в конфиге компонента DiscussionEmbed(который импортируется из либы disqus-react). При смене локали на англоязычных страницах меняется только 1 строка над смайликами:
image

image А при смене локали на русскоязычной странице таже самая строка меняется следующим образом: image

image

Поэтому исходя из этого, делаю вывод, что нужно фиксить сборку реакций в личном кабинете сервиса Disqus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants