-
Notifications
You must be signed in to change notification settings - Fork 512
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
chore(macros/GamesSidebar): add Russian translation #10984
chore(macros/GamesSidebar): add Russian translation #10984
Conversation
@mdn/yari-content-ru Can you please take a look at these changes? 🙏 |
In progress =) @caugner Is it possible to make this request editable for me? |
@leon-win You should be able to click on the "Files changed" tab, then select one more lines you want to make suggestions for, then click the "Add a suggestion" button, edit the selected lines, then click on "Start your review" (for the first comment) or "Add review comment" (for the following ones), finally click "Finish your review" at the top right. Here's a screen recording showing the suggestion feature: Screen.Recording.2024-04-24.at.23.38.12.mov |
Thank you for detailed description! 👍 But when there are a lot of edits, it’s more convenient to just commit to the request, in my opinion it’s faster and easier)) In the mdn/translated-content I can do this: Does it depend on the repository settings or do I just not have enough rights? |
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
Co-authored-by: Leonid Vinogradov <[email protected]>
@pseudopilot , спасибо за желание улучшить MDN!) Несколько комментариев. По поводу описания PR, если добавляешь секции По поводу самих изменений: в этом репоизитории я не могу вносить изменения напрямую (а это на мой взгляд быстрее и проще), поэтому пришлось делать несколько suggest'ов, ты их принял (кстати об этом хорошо бы писать комментарий, чтобы было наглядно)) и теперь можно бы вливать изменения... но есть проблема: То есть влить изменения с неподписанными коммитами не получится. Как подписывать коммиты можно прочитать в документации (https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification). Наверное будет проще создать новую ветку и новый PR. Если нет возможности этим заниматься, то могу сделать я, мне будет недолго, так как изменения уже подготовлены и доработаны. |
@leon-win , спасибо за пояснения. Я сделаю новый ПР. |
Блин))) Я только что (прямо несколько минут назад!) сделал #11005 Посмотри его плиз, если есть замечания, напиши комментарий. А этот ПР закроем. По поводу запуска А что возникает при запуске, какие сообщения? |
Всё отлично, спасибо! |
@caugner, close this PR please. I created a similar request (#11005) because this one was having problems with the merge due to signatures. And if it’s not difficult, please answer my question above (about rights in this repository). By the way, I can’t close this PR, as far as I understand this is also due to special access settings? |
@leon-win , с запуском разобрался. В .env была закомментирована строка с адресом translated-content. 😃 |
@leon-win Yes, you "only" have write access on the translated-content repo, but few people (mainly MDN staff) have this permission on the yari repo. But eventually we should have less translations in yari, because we want to migrate all sidebars to use |
Thank you for the explanation. |
The caveat is that you can then only have translated titles for the pages that are available in the current locale. |
Those for which there is no translation will have English names. In my opinion there is no contradiction in this. |
Summary
Add Russian translation to Games Sidebar.
Problem
When Russian language is chosen the Games Sidebar is still shown in English
Solution
Add Russian translation to
kumascript/macros/GamesSidebar.ejs
.Before
Games Sidebar is shown in
en-US
for Russian language contentAfter
Games Sidebar is shown in
ru
for Russian language content