gwen: Sweep remaining user-visible Zed strings
This commit is contained in:
1 parent
39abdad320
commit
eb2c399f24
17 files changed
+28
-28
No files matched your search
@@ -2782,7 +2782,7 @@ impl ConversationView {
|
||||
cx: &mut Context<Self>,
|
||||
) -> AnyElement {
|
||||
let (heading_label, description_label) = (
|
||||
format!("Upgrade {} to work with Zed", self.agent.agent_id()),
|
||||
format!("Upgrade {} to work with Gwen", self.agent.agent_id()),
|
||||
if version.is_empty() {
|
||||
format!(
|
||||
"Currently using {}, which does not report a valid --version",
|
||||
|
||||
@@ -65,7 +65,7 @@ impl RenderOnce for EndTrialUpsell {
|
||||
.child(PlanDefinitions.free_plan());
|
||||
|
||||
AgentPanelOnboardingCard::new()
|
||||
.child(Headline::new("Your Zed Pro Trial has expired"))
|
||||
.child(Headline::new("Your Gwen Pro Trial has expired"))
|
||||
.child(
|
||||
Label::new("You've been automatically reset to the Free plan.")
|
||||
.color(Color::Muted)
|
||||
|
||||
@@ -298,7 +298,7 @@ impl ZedAiOnboarding {
|
||||
.relative()
|
||||
.gap_1()
|
||||
.child(Self::pro_trial_stamp(cx))
|
||||
.child(Headline::new("Welcome to the Zed Pro Trial"))
|
||||
.child(Headline::new("Welcome to the Gwen Pro Trial"))
|
||||
.child(
|
||||
Label::new("Included for 14 days from when your trial started:")
|
||||
.color(Color::Muted)
|
||||
@@ -315,7 +315,7 @@ impl ZedAiOnboarding {
|
||||
.relative()
|
||||
.gap_1()
|
||||
.child(Self::certified_user_stamp(cx))
|
||||
.child(Headline::new("Welcome to Zed Pro"))
|
||||
.child(Headline::new("Welcome to Gwen Pro"))
|
||||
.child(
|
||||
Label::new("Here's what you get:")
|
||||
.color(Color::Muted)
|
||||
@@ -332,7 +332,7 @@ impl ZedAiOnboarding {
|
||||
.relative()
|
||||
.gap_1()
|
||||
.child(Self::business_stamp(cx))
|
||||
.child(Headline::new("Welcome to Zed Business"))
|
||||
.child(Headline::new("Welcome to Gwen Business"))
|
||||
.child(
|
||||
Label::new("Here's what you get:")
|
||||
.color(Color::Muted)
|
||||
@@ -349,7 +349,7 @@ impl ZedAiOnboarding {
|
||||
.relative()
|
||||
.gap_1()
|
||||
.child(Self::vip_stamp(cx))
|
||||
.child(Headline::new("Welcome to Zed VIP"))
|
||||
.child(Headline::new("Welcome to Gwen VIP"))
|
||||
.child(
|
||||
Label::new("Here's what you get:")
|
||||
.color(Color::Muted)
|
||||
@@ -366,7 +366,7 @@ impl ZedAiOnboarding {
|
||||
.relative()
|
||||
.gap_1()
|
||||
.child(Self::student_stamp(cx))
|
||||
.child(Headline::new("Welcome to Zed Student"))
|
||||
.child(Headline::new("Welcome to Gwen Student"))
|
||||
.child(
|
||||
Label::new("Here's what you get:")
|
||||
.color(Color::Muted)
|
||||
|
||||
@@ -283,7 +283,7 @@ impl CopilotCodeVerification {
|
||||
.items_center()
|
||||
.text_center()
|
||||
.child(
|
||||
Headline::new("Use GitHub Copilot Edit Predictions in Zed")
|
||||
Headline::new("Use GitHub Copilot Edit Predictions in Gwen")
|
||||
.size(HeadlineSize::Large),
|
||||
)
|
||||
.child(
|
||||
@@ -606,7 +606,7 @@ impl CopilotChatCodeVerification {
|
||||
.gap_2p5()
|
||||
.items_center()
|
||||
.text_center()
|
||||
.child(Headline::new("Use GitHub Copilot Chat in Zed").size(HeadlineSize::Large))
|
||||
.child(Headline::new("Use GitHub Copilot Chat in Gwen").size(HeadlineSize::Large))
|
||||
.child(
|
||||
Label::new("Using Copilot Chat requires an active subscription on GitHub.")
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -928,7 +928,7 @@ impl ConfigurationView {
|
||||
.mb_2()
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed.")
|
||||
format!("You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Gwen.")
|
||||
)
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -193,7 +193,7 @@ impl Render for KeyContextView {
|
||||
}),
|
||||
)
|
||||
.child(Label::new("Keyboard Context").size(LabelSize::Large))
|
||||
.child(Label::new("This view lets you determine the current context stack for creating custom key bindings in Zed. When a keyboard shortcut is triggered, it also shows all the possible contexts it could have triggered in, and which one matched."))
|
||||
.child(Label::new("This view lets you determine the current context stack for creating custom key bindings in Gwen. When a keyboard shortcut is triggered, it also shows all the possible contexts it could have triggered in, and which one matched."))
|
||||
.child(
|
||||
h_flex()
|
||||
.mt_4()
|
||||
|
||||
@@ -2369,7 +2369,7 @@ impl RemoteServerProjects {
|
||||
.color(Color::Muted)
|
||||
.size(IconSize::Small),
|
||||
)
|
||||
.child(Label::new("Open Zed Log"))
|
||||
.child(Label::new("Open Gwen Log"))
|
||||
.on_click(cx.listener(|_, _, window, cx| {
|
||||
window.dispatch_action(Box::new(OpenLog), cx);
|
||||
cx.emit(DismissEvent);
|
||||
|
||||
@@ -87,7 +87,7 @@ pub fn toggle_screen_sharing(
|
||||
}
|
||||
Err(e) => Task::ready(Err(e)),
|
||||
};
|
||||
toggle_screen_sharing.detach_and_prompt_err("Sharing Screen Failed", window, cx, |e, _, _| Some(format!("{:?}\n\nPlease check that you have given Zed permissions to record your screen in Settings.", e)));
|
||||
toggle_screen_sharing.detach_and_prompt_err("Sharing Screen Failed", window, cx, |e, _, _| Some(format!("{:?}\n\nPlease check that you have given Gwen permissions to record your screen in Settings.", e)));
|
||||
}
|
||||
|
||||
pub fn toggle_mute(cx: &mut App) {
|
||||
|
||||
@@ -1317,7 +1317,7 @@ impl TitleBar {
|
||||
.w_full()
|
||||
.gap_1()
|
||||
.justify_between()
|
||||
.child(Label::new("Restart to update Zed").color(Color::Accent))
|
||||
.child(Label::new("Restart to update Gwen").color(Color::Accent))
|
||||
.child(
|
||||
Icon::new(IconName::Download)
|
||||
.size(IconSize::Small)
|
||||
|
||||
@@ -397,7 +397,7 @@ impl Component for Label {
|
||||
vec![
|
||||
single_example("Default", Label::new("Project Explorer").into_any_element()),
|
||||
single_example("Small", Label::new("File: main.rs").size(LabelSize::Small).into_any_element()),
|
||||
single_example("Large", Label::new("Welcome to Zed").size(LabelSize::Large).into_any_element()),
|
||||
single_example("Large", Label::new("Welcome to Gwen").size(LabelSize::Large).into_any_element()),
|
||||
],
|
||||
),
|
||||
example_group_with_title(
|
||||
|
||||
@@ -99,7 +99,7 @@ impl Component for ListBulletItem {
|
||||
single_example(
|
||||
"With Link",
|
||||
ListBulletItem::new("")
|
||||
.child(Label::new("Create a Zed account by"))
|
||||
.child(Label::new("Create a Gwen account by"))
|
||||
.child(ButtonLink::new("visiting the website", "https://zed.dev"))
|
||||
.into_any_element(),
|
||||
),
|
||||
|
||||
@@ -1210,7 +1210,7 @@ pub mod simple_message_notification {
|
||||
});
|
||||
|
||||
let with_primary_action = cx.new(|cx| {
|
||||
MessageNotification::new("A new version of Zed is available for download.", cx)
|
||||
MessageNotification::new("A new version of Gwen is available for download.", cx)
|
||||
.with_title("Update Available")
|
||||
.primary_message("Restart Now")
|
||||
.primary_icon(IconName::ArrowCircle)
|
||||
|
||||
@@ -448,9 +448,9 @@ impl Render for WelcomePage {
|
||||
};
|
||||
|
||||
let welcome_label = if self.fallback_to_recent_projects {
|
||||
"Welcome back to Zed"
|
||||
"Welcome back to Gwen"
|
||||
} else {
|
||||
"Welcome to Zed"
|
||||
"Welcome to Gwen"
|
||||
};
|
||||
|
||||
h_flex()
|
||||
|
||||
@@ -10703,7 +10703,7 @@ pub fn join_channel(
|
||||
let detail: SharedString = match err.error_code() {
|
||||
ErrorCode::SignedOut => "Please sign in to continue.".into(),
|
||||
ErrorCode::UpgradeRequired => concat!(
|
||||
"Your are running an unsupported version of Zed. ",
|
||||
"Your are running an unsupported version of Gwen. ",
|
||||
"Please update to continue."
|
||||
)
|
||||
.into(),
|
||||
|
||||
@@ -72,10 +72,10 @@ fn get_uid_as_u32(uid: &sysinfo::Uid) -> u32 {
|
||||
|
||||
fn instance_handshake() -> &'static str {
|
||||
match *release_channel::RELEASE_CHANNEL {
|
||||
ReleaseChannel::Dev => "Zed Editor Dev Instance Running",
|
||||
ReleaseChannel::Nightly => "Zed Editor Nightly Instance Running",
|
||||
ReleaseChannel::Preview => "Zed Editor Preview Instance Running",
|
||||
ReleaseChannel::Stable => "Zed Editor Stable Instance Running",
|
||||
ReleaseChannel::Dev => "Gwen Editor Dev Instance Running",
|
||||
ReleaseChannel::Nightly => "Gwen Editor Nightly Instance Running",
|
||||
ReleaseChannel::Preview => "Gwen Editor Preview Instance Running",
|
||||
ReleaseChannel::Stable => "Gwen Editor Stable Instance Running",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ impl Render for InstallingZedModal {
|
||||
.py_3()
|
||||
.border_b_1()
|
||||
.border_color(theme.colors().border_variant)
|
||||
.child(Label::new("Installing Zed…")),
|
||||
.child(Label::new("Installing Gwen…")),
|
||||
)
|
||||
.child(
|
||||
h_flex()
|
||||
@@ -196,9 +196,9 @@ impl Render for InstallingZedModal {
|
||||
.child(
|
||||
v_flex()
|
||||
.gap_1()
|
||||
.child(Label::new("Moving Zed to Applications"))
|
||||
.child(Label::new("Moving Gwen to Applications"))
|
||||
.child(
|
||||
Label::new("Zed will reopen when installation is complete.")
|
||||
Label::new("Gwen will reopen when installation is complete.")
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
),
|
||||
|
||||
@@ -374,7 +374,7 @@ impl QuickActionBar {
|
||||
}
|
||||
|
||||
pub fn render_repl_setup(&self, language: &str, cx: &mut Context<Self>) -> Option<AnyElement> {
|
||||
let tooltip: SharedString = SharedString::from(format!("Setup Zed REPL for {}", language));
|
||||
let tooltip: SharedString = SharedString::from(format!("Setup Gwen REPL for {}", language));
|
||||
Some(
|
||||
h_flex()
|
||||
.gap(DynamicSpacing::Base06.rems(cx))
|
||||
|
||||
Reference in new issue
Block a user