Sfoglia il codice sorgente

Rename Ai Companion page to Ai Assistant in the UI.

Update sidebar, page title, alerts, settings copy, and privacy usage strings to match the new name.

Co-authored-by: Cursor <cursoragent@cursor.com>
huzaifahayat12 2 mesi fa
parent
commit
fd9598d72f
2 ha cambiato i file con 13 aggiunte e 13 eliminazioni
  1. 6 6
      zoom_app.xcodeproj/project.pbxproj
  2. 7 7
      zoom_app/ViewController.swift

+ 6 - 6
zoom_app.xcodeproj/project.pbxproj

@@ -261,10 +261,10 @@
 				INFOPLIST_KEY_NSCameraUsageDescription = "Zoom App needs camera access for video in embedded Zoom meetings.";
 				INFOPLIST_KEY_NSHumanReadableCopyright = "";
 				INFOPLIST_KEY_NSMainStoryboardFile = Main;
-				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Zoom App needs microphone access for audio in embedded Zoom meetings and for Ai Companion recordings.";
+				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Zoom App needs microphone access for audio in embedded Zoom meetings and for Ai Assistant recordings.";
 				INFOPLIST_KEY_NSPrincipalClass = NSApplication;
-				INFOPLIST_KEY_NSScreenCaptureUsageDescription = "Zoom App captures system audio during meetings (when allowed) so recordings include computer sound in Ai Companion.";
-				INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Zoom App uses Apple speech recognition to generate transcripts from your saved meeting audio in Ai Companion.";
+				INFOPLIST_KEY_NSScreenCaptureUsageDescription = "Zoom App captures system audio during meetings (when allowed) so recordings include computer sound in Ai Assistant.";
+				INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Zoom App uses Apple speech recognition to generate transcripts from your saved meeting audio in Ai Assistant.";
 				INFOPLIST_KEY_ZoomOAuthClientId = isvIAKPhSPOhBxFUkiY2A;
 				LD_RUNPATH_SEARCH_PATHS = (
 					"$(inherited)",
@@ -301,10 +301,10 @@
 				INFOPLIST_KEY_NSCameraUsageDescription = "Zoom App needs camera access for video in embedded Zoom meetings.";
 				INFOPLIST_KEY_NSHumanReadableCopyright = "";
 				INFOPLIST_KEY_NSMainStoryboardFile = Main;
-				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Zoom App needs microphone access for audio in embedded Zoom meetings and for Ai Companion recordings.";
+				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Zoom App needs microphone access for audio in embedded Zoom meetings and for Ai Assistant recordings.";
 				INFOPLIST_KEY_NSPrincipalClass = NSApplication;
-				INFOPLIST_KEY_NSScreenCaptureUsageDescription = "Zoom App captures system audio during meetings (when allowed) so recordings include computer sound in Ai Companion.";
-				INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Zoom App uses Apple speech recognition to generate transcripts from your saved meeting audio in Ai Companion.";
+				INFOPLIST_KEY_NSScreenCaptureUsageDescription = "Zoom App captures system audio during meetings (when allowed) so recordings include computer sound in Ai Assistant.";
+				INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Zoom App uses Apple speech recognition to generate transcripts from your saved meeting audio in Ai Assistant.";
 				INFOPLIST_KEY_ZoomOAuthClientId = isvIAKPhSPOhBxFUkiY2A;
 				LD_RUNPATH_SEARCH_PATHS = (
 					"$(inherited)",

+ 7 - 7
zoom_app/ViewController.swift

@@ -61,7 +61,7 @@ class ViewController: NSViewController {
         case meetings = "Meetings"
         case scheduler = "Scheduler"
         case widgets = "Widgets"
-        case aiCompanion = "Ai Companion"
+        case aiCompanion = "Ai Assistant"
         case settings = "Settings"
     }
 
@@ -1819,7 +1819,7 @@ class ViewController: NSViewController {
     private func requestMeetingRecordingConsent(title: String) -> MeetingRecordingConsentChoice {
         let alert = NSAlert()
         alert.messageText = "Record this meeting locally?"
-        alert.informativeText = "With your consent, the app will record meeting audio on this Mac and show it in AI Companion after the meeting."
+        alert.informativeText = "With your consent, the app will record meeting audio on this Mac and show it in Ai Assistant after the meeting."
         alert.addButton(withTitle: "Allow and Continue")
         alert.addButton(withTitle: "Continue Without Recording")
         alert.window.title = title
@@ -4514,7 +4514,7 @@ class ViewController: NSViewController {
         settingsNotificationsBlock = notificationsBlock
         stack.setCustomSpacing(24, after: notificationsBlock)
 
-        let transcriptionTitle = textLabel("Ai Companion transcription", font: .systemFont(ofSize: 16, weight: .semibold), color: primaryText)
+        let transcriptionTitle = textLabel("Ai Assistant transcription", font: .systemFont(ofSize: 16, weight: .semibold), color: primaryText)
         let transcriptionSubtitle = textLabel(
             "Preferred languages are used for Apple on-device speech recognition after each meeting recording.",
             font: .systemFont(ofSize: 12, weight: .regular),
@@ -6402,7 +6402,7 @@ class ViewController: NSViewController {
         homeSidebarRowViews = [:]
         homeSidebarIconViews = [:]
         homeSidebarLabels = [:]
-        let sidebar = makeSidebar(items: ["Home", "Meetings", "Scheduler", "Widgets", "Ai Companion", "Settings"], selected: selectedHomeSidebarItem, style: .home)
+        let sidebar = makeSidebar(items: ["Home", "Meetings", "Scheduler", "Widgets", "Ai Assistant", "Settings"], selected: selectedHomeSidebarItem, style: .home)
         let content = NSView()
         content.wantsLayer = true
         content.layer?.backgroundColor = NSColor.clear.cgColor
@@ -7360,7 +7360,7 @@ class ViewController: NSViewController {
         root.addSubview(container)
 
         // Header row: recordings list (AI Companion mode).
-        let title = makeLabel("AI Companion", size: 28, color: primaryText, weight: .bold, centered: false)
+        let title = makeLabel("Ai Assistant", size: 28, color: primaryText, weight: .bold, centered: false)
         let subtitle = makeLabel("Get notes from your previous meetings", size: 13, color: secondaryText, weight: .regular, centered: false)
         let count = makeLabel("0 recordings", size: 12, color: secondaryText, weight: .medium, centered: false)
         let titleStack = NSStackView(views: [title, subtitle, count])
@@ -8467,7 +8467,7 @@ class ViewController: NSViewController {
         guard let index = aiCompanionSelectedIndex,
               aiCompanionSummaries.indices.contains(index) else {
             aiCompanionDetailEmptyLabel?.stringValue = aiCompanionSummaries.isEmpty
-                ? "Run an AI Companion-enabled meeting to see notes here."
+                ? "Run an Ai Assistant-enabled meeting to see notes here."
                 : "Select a meeting on the left to view its AI notes."
             aiCompanionDetailEmptyLabel?.isHidden = false
             return
@@ -9511,7 +9511,7 @@ class ViewController: NSViewController {
             return "calendar.badge.clock"
         case "Widgets":
             return filled ? "rectangle.grid.2x2.fill" : "rectangle.grid.2x2"
-        case "Ai Companion":
+        case "Ai Assistant":
             return filled ? "sparkles" : "sparkles"
         case "Settings":
             // `gearshape.fill` may not exist on all macOS versions; handled via safe image assignment.