language_models: Make wording for setting env vars consistent (#46240)
Release Notes: - N/A
This commit is contained in:
1 parent
27b0220894
commit
f92d93aeee
11 files changed
+11
-11
No files matched your search
@@ -1120,7 +1120,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign 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 Zed."),
|
||||
)
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted)
|
||||
|
||||
@@ -1411,7 +1411,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.render_static_credentials_ui())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign the {}, {} AND {} environment variables (or {} for Bedrock API Key authentication) and restart Zed.", ZED_BEDROCK_ACCESS_KEY_ID_VAR.name, ZED_BEDROCK_SECRET_ACCESS_KEY_VAR.name, ZED_BEDROCK_REGION_VAR.name, ZED_BEDROCK_BEARER_TOKEN_VAR.name),
|
||||
format!("You can also set the {}, {} AND {} environment variables (or {} for Bedrock API Key authentication) and restart Zed.", ZED_BEDROCK_ACCESS_KEY_ID_VAR.name, ZED_BEDROCK_SECRET_ACCESS_KEY_VAR.name, ZED_BEDROCK_REGION_VAR.name, ZED_BEDROCK_BEARER_TOKEN_VAR.name),
|
||||
)
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted)
|
||||
|
||||
@@ -635,7 +635,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(format!(
|
||||
"Or set the {API_KEY_ENV_VAR_NAME} environment variable."
|
||||
"You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
))
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -874,7 +874,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign the {GEMINI_API_KEY_VAR_NAME} environment variable and restart Zed."),
|
||||
format!("You can also set the {GEMINI_API_KEY_VAR_NAME} environment variable and restart Zed."),
|
||||
)
|
||||
.size(LabelSize::Small).color(Color::Muted),
|
||||
)
|
||||
|
||||
@@ -852,7 +852,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign 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 Zed."),
|
||||
)
|
||||
.size(LabelSize::Small).color(Color::Muted),
|
||||
)
|
||||
|
||||
@@ -743,7 +743,7 @@ impl ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign 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 Zed.")
|
||||
)
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -1300,7 +1300,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(format!(
|
||||
"You can also assign the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
"You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
))
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -504,7 +504,7 @@ impl Render for ConfigurationView {
|
||||
)
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign the {env_var_name} environment variable and restart Zed."),
|
||||
format!("You can also set the {env_var_name} environment variable and restart Zed."),
|
||||
)
|
||||
.size(LabelSize::Small).color(Color::Muted),
|
||||
)
|
||||
|
||||
@@ -849,7 +849,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(
|
||||
format!("You can also assign 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 Zed."),
|
||||
)
|
||||
.size(LabelSize::Small).color(Color::Muted),
|
||||
)
|
||||
|
||||
@@ -470,7 +470,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(format!(
|
||||
"You can also assign the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
"You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
))
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
@@ -473,7 +473,7 @@ impl Render for ConfigurationView {
|
||||
.child(self.api_key_editor.clone())
|
||||
.child(
|
||||
Label::new(format!(
|
||||
"You can also assign the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
"You can also set the {API_KEY_ENV_VAR_NAME} environment variable and restart Zed."
|
||||
))
|
||||
.size(LabelSize::Small)
|
||||
.color(Color::Muted),
|
||||
|
||||
Reference in new issue
Block a user