From 59309159491f7fe5728cce0d8e418a4a52eb9aed Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 24 Jan 2025 20:22:44 -0800 Subject: [PATCH] TableHeaders fix --- dsc/locales/en-us.toml | 2 +- dsc/src/subcommand.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dsc/locales/en-us.toml b/dsc/locales/en-us.toml index 5000b20c..456f2d7e 100644 --- a/dsc/locales/en-us.toml +++ b/dsc/locales/en-us.toml @@ -99,7 +99,7 @@ noManifest = "Resource does not have a manifest" tableHeader_type = "Type" tableHeader_kind = "Kind" tableHeader_version = "Version" -tableheader_capabilities = "Capabilities" +tableHeader_capabilities = "Capabilities" tableHeader_adapter = "RequireAdapter" tableHeader_description = "Description" invalidManifest = "Error in manifest for" diff --git a/dsc/src/subcommand.rs b/dsc/src/subcommand.rs index e9851424..c1c3cc9c 100644 --- a/dsc/src/subcommand.rs +++ b/dsc/src/subcommand.rs @@ -578,11 +578,11 @@ fn list_resources(dsc: &mut DscManager, resource_name: Option<&String>, adapter_ let mut write_table = false; let mut table = Table::new(&[ t!("subcommand.tableHeader_type").to_string().as_ref(), - t!("subcommand.tableheader_kind").to_string().as_ref(), - t!("subcommand.tableheader_version").to_string().as_ref(), - t!("subcommand.tableheader_capabilities").to_string().as_ref(), - t!("subcommand.tableheader_adapter").to_string().as_ref(), - t!("subcommand.tableheader_description").to_string().as_ref(), + t!("subcommand.tableHeader_kind").to_string().as_ref(), + t!("subcommand.tableHeader_version").to_string().as_ref(), + t!("subcommand.tableHeader_capabilities").to_string().as_ref(), + t!("subcommand.tableHeader_adapter").to_string().as_ref(), + t!("subcommand.tableHeader_description").to_string().as_ref(), ]); if format.is_none() && io::stdout().is_terminal() { // write as table if format is not specified and interactive