mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 03:05:45 +08:00
This PR changes Discourse AI translations from an opt-in category model to an opt-out model: instead of translating only selected `ai_translation_target_categories`, it introduces `ai_translation_excluded_categories`, updates the admin UI copy and save flow, changes topic/post/category candidate selection and detection jobs to translate all non-excluded categories by default, and adds a migration that converts existing target-category settings into the equivalent excluded-category list for existing sites. It also updates all related specs. --------- Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| 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 | ||
| localizable_quota_spec.rb | ||
| post_candidates_spec.rb | ||
| post_detection_text_spec.rb | ||
| post_locale_detector_spec.rb | ||
| post_localizer_spec.rb | ||
| tag_candidates_spec.rb | ||
| tag_locale_detector_spec.rb | ||
| tag_localizer_spec.rb | ||
| topic_candidates_spec.rb | ||
| topic_locale_detector_spec.rb | ||
| topic_localizer_spec.rb | ||
| translation_spec.rb | ||