From 8508aa57adfff818f8bbd9dfe78f437b2ac2cb64 Mon Sep 17 00:00:00 2001 From: Gerhard Steenkamp Date: Thu, 23 Nov 2023 12:05:32 +0200 Subject: [PATCH] use sentence case --- src/plugins/oSnap/Proposal.vue | 9 +++++---- src/plugins/oSnap/components/ExternalLink.vue | 2 +- .../components/TransactionBuilder/TransactionBuilder.vue | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/plugins/oSnap/Proposal.vue b/src/plugins/oSnap/Proposal.vue index 8c27ab18..f48e1009 100644 --- a/src/plugins/oSnap/Proposal.vue +++ b/src/plugins/oSnap/Proposal.vue @@ -60,7 +60,7 @@ function enrichTransactionForDisplay(transaction: Transaction) { type: 'Transfer NFT', recipient, collectable: `${collectable?.tokenName} #${collectable?.id}`, - 'collectable address': collectable?.address + 'collectible address': collectable?.address }; } return { ...commonProperties, type: 'Raw' }; @@ -87,9 +87,10 @@ function enrichTransactionForDisplay(transaction: Transaction) {

Transaction #{{ index + 1 }} — {{ type }}

- {{ - key - }} + {{ key }} {{ value }} diff --git a/src/plugins/oSnap/components/ExternalLink.vue b/src/plugins/oSnap/components/ExternalLink.vue index 39d02e2b..8334c8ef 100644 --- a/src/plugins/oSnap/components/ExternalLink.vue +++ b/src/plugins/oSnap/components/ExternalLink.vue @@ -16,7 +16,7 @@ defineProps<{ :href="sanitizeUrl(link)" target="_blank" :class="[ - 'inline-flex w-full items-center gap-2 whitespace-nowrap rounded-3xl border border-skin-border bg-skin-bg px-4 font-semibold capitalize leading-[42px] hover:border-skin-text', + 'inline-flex w-full items-center gap-2 whitespace-nowrap rounded-3xl border border-skin-border bg-skin-bg px-4 font-semibold first-letter:capitalize leading-[42px] hover:border-skin-text', { 'pointer-events-none': disabled } ]" rel="noopener noreferrer" diff --git a/src/plugins/oSnap/components/TransactionBuilder/TransactionBuilder.vue b/src/plugins/oSnap/components/TransactionBuilder/TransactionBuilder.vue index f22e2c90..7b24db4f 100644 --- a/src/plugins/oSnap/components/TransactionBuilder/TransactionBuilder.vue +++ b/src/plugins/oSnap/components/TransactionBuilder/TransactionBuilder.vue @@ -76,6 +76,6 @@ const safeLink = computed(() => }) " > - Add Transaction + + Add transaction +