Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove dead code n locs (#38050)

Natalie Tayc7f5fac25db7
diff --git a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
index aefb19f521d..172e423beaf 100644
--- a/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
+++ b/plugins/discourse-ai/admin/assets/javascripts/discourse/components/ai-translations.gjs
@@ -124,12 +124,6 @@ export default class AiTranslations extends Component {
);
}
- get descriptionTooltip() {
- return i18n("discourse_ai.translations.stats.description_tooltip", {
- count: this.total,
- });
- }
-
@action
navigateToLocalizationSettings() {
this.router.transitionTo("adminConfig.localization.settings", {
@@ -250,12 +244,6 @@ export default class AiTranslations extends Component {
}
}
- get descriptionKey() {
- return this.done === this.total
- ? "discourse_ai.translations.stats.complete_language_detection_description"
- : "discourse_ai.translations.stats.incomplete_language_detection_description";
- }
-
get backfillStatusMessage() {
if (
this.args.model?.backfill_enabled &&
diff --git a/plugins/discourse-ai/config/locales/client.en.yml b/plugins/discourse-ai/config/locales/client.en.yml
index 1be7fe905d3..1fa6521260b 100644
--- a/plugins/discourse-ai/config/locales/client.en.yml
+++ b/plugins/discourse-ai/config/locales/client.en.yml
@@ -386,8 +386,6 @@ en:
enable_translations: "Enable automatic translations"
stats:
title: "Translation statistics"
- complete_language_detection_description: "All %{total} eligible posts have their language detected."
- incomplete_language_detection_description: "%{done} of %{total} eligible posts have their language detected."
backfill_disabled: "Backfilling is disabled, only new posts will be translated."
backfill_message: "<a href='%{settingsUrl}'>Backfill settings</a> are configured to translate all posts after %{date} — this is estimated to take %{eta}."
eta_minutes: