Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(desktop-gpui): pin the About and Give Feedback menu strings

Richie McIlroy4ff84113861d
diff --git a/apps/desktop-gpui/src/i18n/tests.rs b/apps/desktop-gpui/src/i18n/tests.rs
index ddae54d5f..bd33dd14e 100644
--- a/apps/desktop-gpui/src/i18n/tests.rs
+++ b/apps/desktop-gpui/src/i18n/tests.rs
@@ -45,7 +45,14 @@ fn english_matches_the_literals_it_replaced() {
(tr::menu::window::title(), "Window".into()),
(tr::menu::window::zoom(), "Zoom".into()),
(tr::menu::help::title(), "Help".into()),
+ (tr::menu::help::feedback(), "Give Feedback…".into()),
(tr::menu::help::changelog(), "Changelog".into()),
+ (
+ tr::menu::about::licensed(),
+ "Licensed under AGPL-3.0".into(),
+ ),
+ (tr::menu::about::website(), "Website".into()),
+ (tr::menu::about::commit(), "Commit".into()),
(tr::menu::help::dashboard(), "Dashboard".into()),
(tr::menu::help::documentation(), "Documentation".into()),
(tr::menu::help::faq(), "FAQ".into()),
diff --git a/apps/desktop-gpui/src/menus.rs b/apps/desktop-gpui/src/menus.rs
index 62e0c39d5..675c96b63 100644
--- a/apps/desktop-gpui/src/menus.rs
+++ b/apps/desktop-gpui/src/menus.rs
@@ -1287,7 +1287,7 @@ mod tests {
(
"Help".into(),
vec![
- "Feedback".into(),
+ "Give Feedback…".into(),
"-".into(),
"Changelog".into(),
"-".into(),