Use US English spelling of "behavior" and "customize" (#15117)

This PR fixes some instances that weren't using US English spellings of
"behavior" and "customize".

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-07-24 16:36:01 -04:00 committed by GitHub
parent 9c9a0bd24f
commit 0297a42735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 35 additions and 35 deletions

View file

@ -12,7 +12,7 @@ pub struct WorkspaceSettings {
pub confirm_quit: bool,
pub show_call_status_icon: bool,
pub autosave: AutosaveSetting,
pub restore_on_startup: RestoreOnStartupBehaviour,
pub restore_on_startup: RestoreOnStartupBehavior,
pub drop_target_size: f32,
pub when_closing_with_no_tabs: CloseWindowWhenNoItems,
pub use_system_path_prompts: bool,
@ -43,7 +43,7 @@ impl CloseWindowWhenNoItems {
#[derive(Copy, Clone, Default, Serialize, Deserialize, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub enum RestoreOnStartupBehaviour {
pub enum RestoreOnStartupBehavior {
/// Always start with an empty editor
None,
/// Restore the workspace that was closed last.
@ -78,7 +78,7 @@ pub struct WorkspaceSettingsContent {
/// Controls previous session restoration in freshly launched Zed instance.
/// Values: none, last_workspace, last_session
/// Default: last_session
pub restore_on_startup: Option<RestoreOnStartupBehaviour>,
pub restore_on_startup: Option<RestoreOnStartupBehavior>,
/// The size of the workspace split drop targets on the outer edges.
/// Given as a fraction that will be multiplied by the smaller dimension of the workspace.
///