From caa8c92cbe9b760fdf72616c11d4c906e6ba7cc1 Mon Sep 17 00:00:00 2001 From: Zeedif Date: Wed, 26 Aug 2026 20:41:00 -0600 Subject: [PATCH] fix(i18n): keep activateReason default untranslated per review Commonlib compares this value against the raw "updated" literal to distinguish automatic activation from a user-requested run, so translating it changes behaviour rather than just the displayed text. Keep the default raw and drop the "updated" catalogue entry; the manually-requested reason stays translated. --- src/common/messages/combinedMessages.prod.ts | 4 ---- src/common/messagesJson/en.json | 1 - src/common/messagesJson/es.json | 1 - src/common/messagesYAML/en.yaml | 1 - src/common/messagesYAML/es.yaml | 1 - src/modules/essential/ModuleMigration.ts | 6 +----- 6 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/common/messages/combinedMessages.prod.ts b/src/common/messages/combinedMessages.prod.ts index aeb61cdd..06032cee 100644 --- a/src/common/messages/combinedMessages.prod.ts +++ b/src/common/messages/combinedMessages.prod.ts @@ -12444,10 +12444,6 @@ export const allMessages: Readonly { super(core); } - async migrateUsingDoctor( - skipRebuild: boolean = false, - activateReason: string = $msg("updated"), - forceRescan = false - ) { + async migrateUsingDoctor(skipRebuild: boolean = false, activateReason = "updated", forceRescan = false) { const { shouldRebuild, shouldRebuildLocal, isModified, settings } = await performDoctorConsultation( { confirm: this.core.confirm,