Use the ellipsis symbol consistently

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-09-15 12:52:13 +02:00
committed by Alexis Sellier
parent c687c8d575
commit 5cb733e73b
11 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
disabled={connecting}
waiting={connecting}>
{#if connecting}
Connecting...
Connecting…
{:else}
{caption}
{/if}
+1 -1
View File
@@ -8,7 +8,7 @@ describe("Logic", () => {
cy.get("input").should(
"have.attr",
"placeholder",
"Search a name or address...",
"Search a name or address…",
);
});
+1 -1
View File
@@ -33,4 +33,4 @@
type="text"
bind:value={input}
on:keydown={handleKeydown}
placeholder="Search a name or address..." />
placeholder="Search a name or address…" />
+1 -1
View File
@@ -66,7 +66,7 @@
<span slot="subtitle">
{#if $state.connection === State.Connecting}
Connecting...
Connecting…
{:else if $state.connection === State.SigningPermit}
Approving registration fee. Please confirm in your wallet.
{:else if $state.connection === State.SigningCommit}
+1 -1
View File
@@ -58,7 +58,7 @@
{#if state.status === Status.Signing}
<p>Please confirm the transaction in your wallet</p>
{:else if state.status === Status.Pending}
<p>Waiting for transaction to be processed...</p>
<p>Waiting for transaction to be processed…</p>
{:else if state.status === Status.Success}
<p>Your registration was successfully updated.</p>
{:else if state.status === Status.Failed}
+5 -5
View File
@@ -72,7 +72,7 @@
{
name: "address",
validate: "address",
placeholder: "Ethereum address, eg. 0x4a9cf21...bc91",
placeholder: "Ethereum address, eg. 0x4a9cf21…bc91",
description:
"The address this name resolves to. " +
(reverseRecord
@@ -121,7 +121,7 @@
name: "id",
label: "Radicle",
validate: "identity",
placeholder: "Radicle URN, eg. rad:git:hnrkqdpm9ub19oc8d...",
placeholder: "Radicle URN, eg. rad:git:hnrkqdpm9ub19oc8d…",
description: "The local radicle identity associated with this name.",
value: r.profile.id,
editable: true,
@@ -143,7 +143,7 @@
name: "seed.id",
label: "Seed ID",
validate: "id",
placeholder: "hynkyndc6w3p8urucakobzncqny7xxtw88...",
placeholder: "hynkyndc6w3p8urucakobzncqny7xxtw88…",
description:
"The Device ID of a Radicle Link node that hosts entities associated with this name.",
value: r.profile.seed?.id,
@@ -153,10 +153,10 @@
name: "anchors",
label: "Anchors",
validate: "URN",
placeholder: "URN, eg. eip155:1:0x4a9cf21...",
placeholder: "URN, eg. eip155:1:0x4a9cf21…",
description:
"URN under which associated project anchors can be found. " +
"To point to a Radicle org on Ethereum, use the CAIP-10 ID, eg. *eip155:1:0x4a9cf21...*",
"To point to a Radicle org on Ethereum, use the CAIP-10 ID, eg. *eip155:1:0x4a9cf21…*",
value: r.profile.anchorsAccount,
editable: true,
},
+2 -2
View File
@@ -118,11 +118,11 @@
{#if isBeneficiary}
{#if $state === State.WithdrawingSign}
<Button disabled waiting={true} variant="primary">
Waiting for signature...
Waiting for signature…
</Button>
{:else if $state === State.Withdrawing}
<Button disabled waiting={true} variant="primary">
Withdrawing...
Withdrawing…
</Button>
{:else if $state === State.Idle}
<Button
+1 -1
View File
@@ -125,7 +125,7 @@
{#if state === State.Signing}
Please confirm the transaction in your wallet.
{:else if state === State.Pending}
Waiting for transaction to be processed...
Waiting for transaction to be processed…
{:else if state === State.Proposing && org}
Proposal is being submitted to the safe
<span class="txt-bold">{formatAddress(org.owner)}</span>
+2 -2
View File
@@ -143,7 +143,7 @@
{#if state === State.Signing}
Please confirm the transaction in your wallet.
{:else if state === State.Pending}
Waiting for transaction to be processed...
Waiting for transaction to be processed…
{:else if state === State.Proposing && org}
Proposal is being submitted
<span class="txt-bold">{formatAddress(org.owner)}</span>
@@ -185,7 +185,7 @@
on:click={onSubmit}
disabled={!name || state !== State.Idle}>
{#if state === State.Checking}
Checking...
Checking…
{:else}
Submit
{/if}
+1 -1
View File
@@ -120,7 +120,7 @@ describe("Format functions", () => {
test.each([
{
hash: "0x8f918133b56bb85c18ea192549503f0ea59e3beb1f88023f442656c660018e3a",
expected: "0x8f91...8e3a",
expected: "0x8f91…8e3a",
},
{ hash: "0x8f91813", expected: "0x8f91813" }, // If the string length is less than 10 characters the entire string is returned.
])("formatHash $hash => $expected", ({ hash, expected }) => {
+1 -1
View File
@@ -180,7 +180,7 @@ export function formatIpfsFile(ipfs: string | undefined): string | undefined {
export function formatHash(hash: string): string {
if (hash.length < 10) return hash;
return (
hash.substring(0, 6) + "..." + hash.substring(hash.length - 4, hash.length)
hash.substring(0, 6) + "…" + hash.substring(hash.length - 4, hash.length)
);
}