mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 10:26:25 +08:00
This PR fixes 2 things. 1. If a `post` was written in `ja` (Japanese) and for some reason also had a `post_localization` that is `ja`, it becomes 200% 2. When getting completion progress for "English (US)", if there exists a "English (UK)" localization, we want to include that 3. Previously the completion count was also getting `post_localization` from posts that are not candidates. If the user switches `ai_translation_backfill_limit_to_public_content` from false to true, it would include previously localized PMs when it should not. Follow up: https://github.com/discourse/discourse/pull/33927 |
||
|---|---|---|
| .. | ||
| base_translator_spec.rb | ||
| category_candidates_spec.rb | ||
| category_locale_detector_spec.rb | ||
| category_localizer_spec.rb | ||
| content_splitter_spec.rb | ||
| entry_point_spec.rb | ||
| language_detector_spec.rb | ||
| post_candidates_spec.rb | ||
| post_detection_text_spec.rb | ||
| post_locale_detector_spec.rb | ||
| post_localizer_spec.rb | ||
| topic_candidates_spec.rb | ||
| topic_locale_detector_spec.rb | ||
| topic_localizer_spec.rb | ||