mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 10:40:54 +00:00
Github => GitHub
This commit is contained in:
parent
a3d431d86f
commit
b5fc91e455
3 changed files with 6 additions and 6 deletions
|
@ -88,15 +88,15 @@ impl CopilotCodeVerification {
|
|||
let connect_button_label = if connect_clicked {
|
||||
"Waiting for connection..."
|
||||
} else {
|
||||
"Connect to Github"
|
||||
"Connect to GitHub"
|
||||
};
|
||||
v_flex()
|
||||
.flex_1()
|
||||
.gap_2()
|
||||
.items_center()
|
||||
.child(Headline::new("Use Github Copilot in Zed.").size(HeadlineSize::Large))
|
||||
.child(Headline::new("Use GitHub Copilot in Zed.").size(HeadlineSize::Large))
|
||||
.child(
|
||||
Label::new("Using Copilot requires an active subscription on Github.")
|
||||
Label::new("Using Copilot requires an active subscription on GitHub.")
|
||||
.color(Color::Muted),
|
||||
)
|
||||
.child(Self::render_device_code(data, cx))
|
||||
|
@ -139,7 +139,7 @@ impl CopilotCodeVerification {
|
|||
"You can enable Copilot by connecting your existing license once you have subscribed or renewed your subscription.",
|
||||
).color(Color::Warning))
|
||||
.child(
|
||||
Button::new("copilot-subscribe-button", "Subscribe on Github")
|
||||
Button::new("copilot-subscribe-button", "Subscribe on GitHub")
|
||||
.full_width()
|
||||
.on_click(|_, cx| cx.open_url(COPILOT_SIGN_UP_URL)),
|
||||
)
|
||||
|
|
|
@ -59,7 +59,7 @@ pub async fn latest_github_release(
|
|||
|
||||
Err(_) => {
|
||||
log::error!(
|
||||
"Error deserializing Github API response text: {:?}",
|
||||
"Error deserializing GitHub API response text: {:?}",
|
||||
String::from_utf8_lossy(body.as_slice())
|
||||
);
|
||||
return Err(anyhow!("error deserializing latest release"));
|
||||
|
|
|
@ -33,7 +33,7 @@ g h Show inline error (hover)
|
|||
|
||||
# Insert mode
|
||||
ctrl-x ctrl-o Open the completion menu
|
||||
ctrl-x ctrl-c Request Github Copilot suggestion (if configured)
|
||||
ctrl-x ctrl-c Request GitHub Copilot suggestion (if configured)
|
||||
ctrl-x ctrl-a Open the inline AI assistant (if configured)
|
||||
ctrl-x ctrl-l Open the LSP code actions
|
||||
ctrl-x ctrl-z Hides all suggestions
|
||||
|
|
Loading…
Reference in a new issue