From 6a319bec8ceceb396a03b15ccbaf34649d251b02 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Fri, 6 Mar 2026 01:03:38 -0800 Subject: [PATCH] Move update logs into Debug menu (#1008) Move "Copy Update Logs" and "Copy Focus Logs" from a standalone top-level "Update Logs" menu into the existing Debug menu. Remove the now-unused menu.updateLogs.title localization key. Co-authored-by: cmux Co-authored-by: Claude Opus 4.6 --- Resources/Localizable.xcstrings | 113 -------------------------------- Sources/cmuxApp.swift | 18 ++--- 2 files changed, 9 insertions(+), 122 deletions(-) diff --git a/Resources/Localizable.xcstrings b/Resources/Localizable.xcstrings index d022b0f2..dd1a936a 100644 --- a/Resources/Localizable.xcstrings +++ b/Resources/Localizable.xcstrings @@ -35723,119 +35723,6 @@ } } }, - "menu.updateLogs.title": { - "extractionState": "manual", - "localizations": { - "en": { - "stringUnit": { - "state": "translated", - "value": "Update Logs" - } - }, - "ja": { - "stringUnit": { - "state": "translated", - "value": "アップデートログ" - } - }, - "zh-Hans": { - "stringUnit": { - "state": "translated", - "value": "更新日志" - } - }, - "zh-Hant": { - "stringUnit": { - "state": "translated", - "value": "更新記錄" - } - }, - "ko": { - "stringUnit": { - "state": "translated", - "value": "업데이트 로그" - } - }, - "de": { - "stringUnit": { - "state": "translated", - "value": "Update-Protokolle" - } - }, - "es": { - "stringUnit": { - "state": "translated", - "value": "Registros de actualización" - } - }, - "fr": { - "stringUnit": { - "state": "translated", - "value": "Journaux de mise à jour" - } - }, - "it": { - "stringUnit": { - "state": "translated", - "value": "Log aggiornamento" - } - }, - "da": { - "stringUnit": { - "state": "translated", - "value": "Opdateringslogfiler" - } - }, - "pl": { - "stringUnit": { - "state": "translated", - "value": "Dzienniki aktualizacji" - } - }, - "ru": { - "stringUnit": { - "state": "translated", - "value": "Журналы обновлений" - } - }, - "bs": { - "stringUnit": { - "state": "translated", - "value": "Logovi ažuriranja" - } - }, - "ar": { - "stringUnit": { - "state": "translated", - "value": "سجلات التحديث" - } - }, - "nb": { - "stringUnit": { - "state": "translated", - "value": "Oppdateringslogger" - } - }, - "pt-BR": { - "stringUnit": { - "state": "translated", - "value": "Logs de Atualização" - } - }, - "th": { - "stringUnit": { - "state": "translated", - "value": "บันทึกการอัปเดต" - } - }, - "tr": { - "stringUnit": { - "state": "translated", - "value": "Güncelleme Günlükleri" - } - } - } - }, "menu.view.actualSize": { "extractionState": "manual", "localizations": { diff --git a/Sources/cmuxApp.swift b/Sources/cmuxApp.swift index 40645ea6..99ea9f8f 100644 --- a/Sources/cmuxApp.swift +++ b/Sources/cmuxApp.swift @@ -270,15 +270,6 @@ struct cmuxApp: App { } #endif - CommandMenu(String(localized: "menu.updateLogs.title", defaultValue: "Update Logs")) { - Button(String(localized: "menu.updateLogs.copyUpdateLogs", defaultValue: "Copy Update Logs")) { - appDelegate.copyUpdateLogs(nil) - } - Button(String(localized: "menu.updateLogs.copyFocusLogs", defaultValue: "Copy Focus Logs")) { - appDelegate.copyFocusLogs(nil) - } - } - CommandMenu(String(localized: "menu.notifications.title", defaultValue: "Notifications")) { let snapshot = notificationMenuSnapshot @@ -377,6 +368,15 @@ struct cmuxApp: App { Divider() + Button(String(localized: "menu.updateLogs.copyUpdateLogs", defaultValue: "Copy Update Logs")) { + appDelegate.copyUpdateLogs(nil) + } + Button(String(localized: "menu.updateLogs.copyFocusLogs", defaultValue: "Copy Focus Logs")) { + appDelegate.copyFocusLogs(nil) + } + + Divider() + Button("Trigger Sentry Test Crash") { appDelegate.triggerSentryTestCrash(nil) }