From 020e4bbf5b7a4337c22b3014ed13e86ef385af3b Mon Sep 17 00:00:00 2001 From: Frank Bell Date: Mon, 16 Dec 2024 21:28:14 +0000 Subject: [PATCH] refactor: improve language --- crates/pop-parachains/src/call/metadata/action.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/pop-parachains/src/call/metadata/action.rs b/crates/pop-parachains/src/call/metadata/action.rs index 05db261e..1e8298fc 100644 --- a/crates/pop-parachains/src/call/metadata/action.rs +++ b/crates/pop-parachains/src/call/metadata/action.rs @@ -43,19 +43,19 @@ pub enum Action { props(Pallet = "Assets") )] MintAsset, - /// Create an NFT collection. + /// Create a NFT collection. #[strum( serialize = "create_nft", message = "create", - detailed_message = "Create an NFT collection", + detailed_message = "Create a NFT collection", props(Pallet = "Nfts") )] CreateCollection, - /// Mint an NFT. + /// Mint a NFT. #[strum( serialize = "mint_nft", message = "mint", - detailed_message = "Mint an NFT", + detailed_message = "Mint a NFT", props(Pallet = "Nfts") )] MintNFT, @@ -139,8 +139,8 @@ mod tests { let descriptions = HashMap::from([ (CreateAsset, "Create an asset"), (MintAsset, "Mint an asset"), - (CreateCollection, "Create an NFT collection"), - (MintNFT, "Mint an NFT"), + (CreateCollection, "Create a NFT collection"), + (MintNFT, "Mint a NFT"), (PurchaseOnDemandCoretime, "Purchase on-demand coretime"), (Transfer, "Transfer balance"), (Register, "Register a parachain ID with genesis state and code"),