Browse Source

change wording from "identity" to "identifier" in many places

starred-projects
Trent Larson 11 months ago
parent
commit
a87179d127
  1. 4
      src/components/GiftedDialog.vue
  2. 4
      src/components/OfferDialog.vue
  3. 17
      src/views/AccountViewView.vue
  4. 2
      src/views/ClaimView.vue
  5. 2
      src/views/ContactAmountsView.vue
  6. 2
      src/views/ContactGiftingView.vue
  7. 2
      src/views/ContactQRScanShowView.vue
  8. 4
      src/views/ContactsView.vue
  9. 12
      src/views/HomeView.vue
  10. 6
      src/views/ImportAccountView.vue
  11. 2
      src/views/NewEditProjectView.vue
  12. 4
      src/views/ProjectsView.vue
  13. 10
      src/views/SeedBackupView.vue
  14. 2
      src/views/StartView.vue

4
src/components/GiftedDialog.vue

@ -236,7 +236,7 @@ export default class GiftedDialog extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load Give records for DID ${activeDid} but no identity was found", "Attempted to load Give records for DID ${activeDid} but no identifier was found",
); );
} }
return identity; return identity;
@ -260,7 +260,7 @@ export default class GiftedDialog extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "You must select an identity before you can record a give.", text: "You must select an identifier before you can record a give.",
}, },
-1, -1,
); );

4
src/components/OfferDialog.vue

@ -166,7 +166,7 @@ export default class OfferDialog extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load Offer records for DID ${activeDid} but no identity was found", "Attempted to load Offer records for DID ${activeDid} but no identifier was found",
); );
} }
return identity; return identity;
@ -188,7 +188,7 @@ export default class OfferDialog extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "You must select an identity before you can record an offer.", text: "You must select an identifier before you can record an offer.",
}, },
-1, -1,
); );

17
src/views/AccountViewView.vue

@ -40,13 +40,14 @@
class="bg-amber-200 text-amber-900 border-amber-500 border-dashed border text-center rounded-md overflow-hidden px-4 py-3 mb-4" class="bg-amber-200 text-amber-900 border-amber-500 border-dashed border text-center rounded-md overflow-hidden px-4 py-3 mb-4"
> >
<p class="mb-4"> <p class="mb-4">
<b>Note:</b> Before you can take any action, you need an ID. <b>Note:</b> Before you can share with others or take any action, you
need an identifier.
</p> </p>
<router-link <router-link
:to="{ name: 'start' }" :to="{ name: 'start' }"
class="inline-block text-md uppercase bg-amber-600 text-white px-4 py-2 rounded-md" class="inline-block text-md uppercase bg-amber-600 text-white px-4 py-2 rounded-md"
> >
Generate Identity Create An Identifier
</router-link> </router-link>
</div> </div>
@ -217,7 +218,7 @@
<!-- Deep Identity Details --> <!-- Deep Identity Details -->
<h2 class="text-sm uppercase font-semibold mb-3"> <h2 class="text-sm uppercase font-semibold mb-3">
Deep Identity Details Deep Identifier Details
</h2> </h2>
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4"> <div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4">
<div class="text-slate-500 text-sm font-bold">Public Key (base 64)</div> <div class="text-slate-500 text-sm font-bold">Public Key (base 64)</div>
@ -329,7 +330,7 @@
:to="{ name: 'identity-switcher' }" :to="{ name: 'identity-switcher' }"
class="block w-fit text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2" class="block w-fit text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2"
> >
Switch Identity Switch Identifier
</router-link> </router-link>
<div class="flex py-4"> <div class="flex py-4">
@ -716,9 +717,9 @@ export default class AccountViewView extends Vue {
if ( if (
err instanceof Error && err instanceof Error &&
err.message === err.message ===
"Attempted to load account records with no identity available." "Attempted to load account records with no identifier available."
) { ) {
this.limitsMessage = "No identity."; this.limitsMessage = "No identifier.";
this.loadingLimits = false; this.loadingLimits = false;
} else { } else {
this.$notify( this.$notify(
@ -1020,9 +1021,9 @@ export default class AccountViewView extends Vue {
} else if ( } else if (
error instanceof Error && error instanceof Error &&
error.message === error.message ===
"Attempted to load Give records with no identity available." "Attempted to load Give records with no identifier available."
) { ) {
this.limitsMessage = "No identity."; this.limitsMessage = "No identifier.";
} else { } else {
// Handle other unknown errors // Handle other unknown errors
} }

2
src/views/ClaimView.vue

@ -335,7 +335,7 @@ export default class ClaimView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load project records with no identity available.", "Attempted to load project records with no identifier available.",
); );
} }
return identity; return identity;

2
src/views/ContactAmountsView.vue

@ -155,7 +155,7 @@ export default class ContactAmountssView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load Give records with no identity available.", "Attempted to load Give records with no identifier available.",
); );
} }
return identity; return identity;

2
src/views/ContactGiftingView.vue

@ -121,7 +121,7 @@ export default class ContactGiftingView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load Give records with no identity available.", "Attempted to load Give records with no identifier available.",
); );
} }
return identity; return identity;

2
src/views/ContactQRScanShowView.vue

@ -120,7 +120,7 @@ export default class ContactQRScanShow extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to show contact info with no identity available.", "Attempted to show contact info with no identifier available.",
); );
} }
return identity; return identity;

4
src/views/ContactsView.vue

@ -344,7 +344,7 @@ export default class ContactsView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load Give records with no identity available.", "Attempted to load Give records with no identifier available.",
); );
} }
return identity; return identity;
@ -962,7 +962,7 @@ export default class ContactsView extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Status Error", title: "Status Error",
text: "No identity is available.", text: "No identifier is available.",
}, },
-1, -1,
); );

12
src/views/HomeView.vue

@ -15,7 +15,8 @@
class="bg-amber-200 rounded-md overflow-hidden text-center px-4 py-3 mb-4" class="bg-amber-200 rounded-md overflow-hidden text-center px-4 py-3 mb-4"
> >
<p style="display: inline; align-items: center"> <p style="display: inline; align-items: center">
This app doesn't support notifications, so let's fix that. <br /> This currently doesn't support notifications, so let's fix that.
<br />
<!-- Note that that exact verbiage shows in the help. --> <!-- Note that that exact verbiage shows in the help. -->
<span v-if="userAgentInfo.getOS().name === 'iOS'"> <span v-if="userAgentInfo.getOS().name === 'iOS'">
@ -52,7 +53,7 @@
<a href="https://www.google.com/chrome/" class="text-blue-500" <a href="https://www.google.com/chrome/" class="text-blue-500"
>Google Chrome</a >Google Chrome</a
> >
or look for a way to install as an app. or look for a way to install as an app from this browser.
</span> </span>
</p> </p>
</div> </div>
@ -65,13 +66,14 @@
class="bg-amber-200 rounded-md overflow-hidden text-center px-4 py-3 mb-4" class="bg-amber-200 rounded-md overflow-hidden text-center px-4 py-3 mb-4"
> >
<p class="text-lg mb-3"> <p class="text-lg mb-3">
You need an <b>identifier</b> before you can record anyone's gives. Want to connect with your contacts, or share contributions or
projects?
</p> </p>
<router-link <router-link
:to="{ name: 'start' }" :to="{ name: 'start' }"
class="block text-center text-md font-bold uppercase bg-blue-500 text-white mt-2 px-2 py-3 rounded-md" class="block text-center text-md font-bold uppercase bg-blue-500 text-white mt-2 px-2 py-3 rounded-md"
> >
Create Your Identifier</router-link Create An Identifier</router-link
> >
</div> </div>
@ -85,7 +87,7 @@
:to="{ name: 'contact-qr' }" :to="{ name: 'contact-qr' }"
class="block text-center text-md font-bold uppercase bg-blue-500 text-white mt-2 px-2 py-3 rounded-md" class="block text-center text-md font-bold uppercase bg-blue-500 text-white mt-2 px-2 py-3 rounded-md"
> >
1. Show Them Your Identity Info</router-link 1. Show Them Your Identifier Info</router-link
> >
<router-link <router-link
:to="{ name: 'account' }" :to="{ name: 'account' }"

6
src/views/ImportAccountView.vue

@ -10,12 +10,12 @@
> >
<fa icon="chevron-left"></fa> <fa icon="chevron-left"></fa>
</button> </button>
Import Existing Identity Import Existing Identifier
</h1> </h1>
</div> </div>
<!-- Import Account Form --> <!-- Import Account Form -->
<p class="text-center text-xl mb-4 font-light"> <p class="text-center text-xl mb-4 font-light">
Enter your seed phrase below to import your identity on this device. Enter your seed phrase below to import your identifier on this device.
</p> </p>
<!-- id used by puppeteer test script --> <!-- id used by puppeteer test script -->
<input <input
@ -148,7 +148,7 @@ export default class ImportAccountView extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "Got an error creating that identity.", text: "Got an error creating that identifier.",
}, },
-1, -1,
); );

2
src/views/NewEditProjectView.vue

@ -170,7 +170,7 @@ export default class NewEditProjectView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load project records with no identity available.", "Attempted to load project records with no identifier available.",
); );
} }
return identity; return identity;

4
src/views/ProjectsView.vue

@ -202,7 +202,7 @@ export default class ProjectsView extends Vue {
if (!identity) { if (!identity) {
throw new Error( throw new Error(
"Attempted to load project records with no identity available.", "Attempted to load project records with no identifier available.",
); );
} }
return identity; return identity;
@ -225,7 +225,7 @@ export default class ProjectsView extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "You need an identity to load your projects.", text: "You need an identifier to load your projects.",
}, },
-1, -1,
); );

10
src/views/SeedBackupView.vue

@ -29,10 +29,10 @@
</p> </p>
<p v-if="numAccounts > 1"> <p v-if="numAccounts > 1">
<b class="text-orange-600">Note:</b> You have more than one identity <b class="text-orange-600">Note:</b> You have more than one identifier
stored in this browser. If they are all based on the same seed as the stored in this browser. If they are all based on the same seed as the
current identity, this one backup is sufficient; however, if you have current identifier, this one backup is sufficient; however, if you have
different seeds for other identities, you will have to back them up different seeds for other identifiers, you will have to back them up
separately. separately.
</p> </p>
@ -49,7 +49,7 @@
</p> </p>
</div> </div>
</div> </div>
<div v-else>You do not have an active identity.</div> <div v-else>You do not have an active identifier.</div>
</section> </section>
</template> </template>
@ -91,7 +91,7 @@ export default class SeedBackupView extends Vue {
this.numAccounts = accounts.length; this.numAccounts = accounts.length;
this.activeAccount = R.find((acc) => acc.did === activeDid, accounts); this.activeAccount = R.find((acc) => acc.did === activeDid, accounts);
} catch (err: unknown) { } catch (err: unknown) {
console.error("Got an error loading an identity:", err); console.error("Got an error loading an identifier:", err);
this.$notify( this.$notify(
{ {
group: "alert", group: "alert",

2
src/views/StartView.vue

@ -24,7 +24,7 @@
<!-- id used by puppeteer test script --> <!-- id used by puppeteer test script -->
<div id="start-question" class="mt-8"> <div id="start-question" class="mt-8">
<p class="text-center text-xl mb-4 font-light"> <p class="text-center text-xl mb-4 font-light">
Do you have an identity to import? Do you have an identifier to import?
</p> </p>
<a <a
@click="onClickYes()" @click="onClickYes()"

Loading…
Cancel
Save