Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(desktop-gpui): drop comments that restate the surface keys and mode titles

Richie McIlroye8dad9c9ba32
diff --git a/apps/desktop-gpui/src/i18n/surface_tests.rs b/apps/desktop-gpui/src/i18n/surface_tests.rs
index ee4ac7c2d..9da560ce9 100644
--- a/apps/desktop-gpui/src/i18n/surface_tests.rs
+++ b/apps/desktop-gpui/src/i18n/surface_tests.rs
@@ -1,6 +1,5 @@
use super::*;
-/// Keys the main window, controls, camera and onboarding conversion added.
pub(super) const NEW_COMMON: &[&str] = &[
"common.back",
"common.choose_allow_prompt",
diff --git a/apps/desktop-gpui/src/main_window.rs b/apps/desktop-gpui/src/main_window.rs
index 539360e9a..e9e8e6fdf 100644
--- a/apps/desktop-gpui/src/main_window.rs
+++ b/apps/desktop-gpui/src/main_window.rs
@@ -177,7 +177,6 @@ impl Mode {
}
}
- /// `{name} mode`, the hover card heading, as one message per mode.
fn hover_title(self) -> &'static str {
match self {
Self::Instant => tr::main::mode::hover::instant(),
@@ -186,7 +185,6 @@ impl Mode {
}
}
- /// `{name} Mode`, under the mode pill, as one message per mode.
fn header_title(self) -> &'static str {
match self {
Self::Instant => tr::main::mode::header::instant(),