복수형 정의의 불일치

Issue with pluralized (count) translation override에서 이어지는 토론입니다:

이 문제는 헝가리어에만 영향을 미치는 것이 아닐 것 같습니다. 이 글에서 언급된 Contribute > Bug 태그의 문제를 확인하면서 히브리어도 영향을 받을 수 있다는 생각이 들어, 더 많은 사례를 찾아보기 시작했습니다.

또 다른 사례를 찾았으므로, 더 많은 언어가 이 문제의 영향을 받고 있을 것으로 예상됩니다.

2개의 좋아요

Thanks @Moin!

I’ve made this change to stop the bleeding. This will limit the impact of failed compilations so that they only affect _MF strings, rather than taking down the whole site.

We’ll keep digging into the root cause, and update here when we have a solution.

11개의 좋아요

We’ve just merged a patch that relaxes the MessageFormat compiler, allowing invalid plural keys in the messages:
https://github.com/discourse/discourse/pull/28062

This should take care of most of the problems. Other patches should follow soon.

5개의 좋아요

Another patch has just been merged:
https://github.com/discourse/discourse/pull/28083

This will prevent creating invalid MF overrides in the admin UI.

5개의 좋아요

Just merged this PR:
https://github.com/discourse/discourse/pull/28097

Pluralization rules in Ruby should now be up-to-date with the ones we have in JS :slightly_smiling_face:

4개의 좋아요

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.