forked from trent_larson/crowd-funder-for-time-pwa
Chore: simplify wording for person entities
- Replaced all instances of "Unnamed Member" with "Someone Unnamed" - Removed unused UNNAMED_MEMBER constant - Renamed UNNAMED_PERSON to THAT_UNNAMED_PERSON to match its value - Renamed UNNAMED_USER to UNNAMED_PERSON and changed the value to "unnamed person"
This commit is contained in:
@@ -33,7 +33,7 @@ import { logger } from "../utils/logger";
|
||||
import { PlatformServiceFactory } from "../services/PlatformServiceFactory";
|
||||
import { IIdentifier } from "@veramo/core";
|
||||
import { DEFAULT_ROOT_DERIVATION_PATH } from "./crypto";
|
||||
import { UNNAMED_USER } from "@/constants/entities";
|
||||
import { UNNAMED_PERSON } from "@/constants/entities";
|
||||
|
||||
// Consolidate this with src/utils/PlatformServiceMixin.mapQueryResultToValues
|
||||
function mapQueryResultToValues(
|
||||
@@ -193,7 +193,7 @@ export const nameForContact = (
|
||||
): string => {
|
||||
return (
|
||||
(contact?.name as string) ||
|
||||
(capitalize ? "This" : "this") + " " + UNNAMED_USER
|
||||
(capitalize ? "This" : "this") + " " + UNNAMED_PERSON
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user