Browse Source

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

starred-projects
Trent Larson 8 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) {
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;
@ -260,7 +260,7 @@ export default class GiftedDialog extends Vue {
group: "alert",
type: "danger",
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,
);

4
src/components/OfferDialog.vue

@ -166,7 +166,7 @@ export default class OfferDialog extends Vue {
if (!identity) {
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;
@ -188,7 +188,7 @@ export default class OfferDialog extends Vue {
group: "alert",
type: "danger",
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,
);

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"
>
<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>
<router-link
:to="{ name: 'start' }"
class="inline-block text-md uppercase bg-amber-600 text-white px-4 py-2 rounded-md"
>
Generate Identity
Create An Identifier
</router-link>
</div>
@ -217,7 +218,7 @@
<!-- Deep Identity Details -->
<h2 class="text-sm uppercase font-semibold mb-3">
Deep Identity Details
Deep Identifier Details
</h2>
<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>
@ -329,7 +330,7 @@
: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"
>
Switch Identity
Switch Identifier
</router-link>
<div class="flex py-4">
@ -716,9 +717,9 @@ export default class AccountViewView extends Vue {
if (
err instanceof Error &&
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;
} else {
this.$notify(
@ -1020,9 +1021,9 @@ export default class AccountViewView extends Vue {
} else if (
error instanceof Error &&
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 {
// Handle other unknown errors
}

2
src/views/ClaimView.vue

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

2
src/views/ContactAmountsView.vue

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

2
src/views/ContactGiftingView.vue

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

2
src/views/ContactQRScanShowView.vue

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

4
src/views/ContactsView.vue

@ -344,7 +344,7 @@ export default class ContactsView extends Vue {
if (!identity) {
throw new Error(
"Attempted to load Give records with no identity available.",
"Attempted to load Give records with no identifier available.",
);
}
return identity;
@ -962,7 +962,7 @@ export default class ContactsView extends Vue {
group: "alert",
type: "danger",
title: "Status Error",
text: "No identity is available.",
text: "No identifier is available.",
},
-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"
>
<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. -->
<span v-if="userAgentInfo.getOS().name === 'iOS'">
@ -52,7 +53,7 @@
<a href="https://www.google.com/chrome/" class="text-blue-500"
>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>
</p>
</div>
@ -65,13 +66,14 @@
class="bg-amber-200 rounded-md overflow-hidden text-center px-4 py-3 mb-4"
>
<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>
<router-link
: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"
>
Create Your Identifier</router-link
Create An Identifier</router-link
>
</div>
@ -85,7 +87,7 @@
: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"
>
1. Show Them Your Identity Info</router-link
1. Show Them Your Identifier Info</router-link
>
<router-link
:to="{ name: 'account' }"

6
src/views/ImportAccountView.vue

@ -10,12 +10,12 @@
>
<fa icon="chevron-left"></fa>
</button>
Import Existing Identity
Import Existing Identifier
</h1>
</div>
<!-- Import Account Form -->
<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>
<!-- id used by puppeteer test script -->
<input
@ -148,7 +148,7 @@ export default class ImportAccountView extends Vue {
group: "alert",
type: "danger",
title: "Error",
text: "Got an error creating that identity.",
text: "Got an error creating that identifier.",
},
-1,
);

2
src/views/NewEditProjectView.vue

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

4
src/views/ProjectsView.vue

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

10
src/views/SeedBackupView.vue

@ -29,10 +29,10 @@
</p>
<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
current identity, this one backup is sufficient; however, if you have
different seeds for other identities, you will have to back them up
current identifier, this one backup is sufficient; however, if you have
different seeds for other identifiers, you will have to back them up
separately.
</p>
@ -49,7 +49,7 @@
</p>
</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>
</template>
@ -91,7 +91,7 @@ export default class SeedBackupView extends Vue {
this.numAccounts = accounts.length;
this.activeAccount = R.find((acc) => acc.did === activeDid, accounts);
} catch (err: unknown) {
console.error("Got an error loading an identity:", err);
console.error("Got an error loading an identifier:", err);
this.$notify(
{
group: "alert",

2
src/views/StartView.vue

@ -24,7 +24,7 @@
<!-- id used by puppeteer test script -->
<div id="start-question" class="mt-8">
<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>
<a
@click="onClickYes()"

Loading…
Cancel
Save