@ -1,5 +1,5 @@
import axios from "axios" ;
import axios from "axios" ;
import { UNNAMED_PERSON } from "./entities" ;
import { THAT_ UNNAMED_PERSON } from "./entities" ;
// Notification message constants for user-facing notifications
// Notification message constants for user-facing notifications
// Add new notification messages here as needed
// Add new notification messages here as needed
@ -868,7 +868,7 @@ export const NOTIFY_CONTACT_LINK_COPIED = {
// Template for registration success message
// Template for registration success message
// Used in: ContactsView.vue (register method - registration success with contact name)
// Used in: ContactsView.vue (register method - registration success with contact name)
export const getRegisterPersonSuccessMessage = ( name? : string ) : string = >
export const getRegisterPersonSuccessMessage = ( name? : string ) : string = >
` ${ name || UNNAMED_PERSON } ${ NOTIFY_REGISTER_PERSON_SUCCESS . message } ` ;
` ${ name || THAT_ UNNAMED_PERSON} ${ NOTIFY_REGISTER_PERSON_SUCCESS . message } ` ;
// Template for visibility success message
// Template for visibility success message
// Used in: ContactsView.vue (setVisibility method - visibility success with contact name)
// Used in: ContactsView.vue (setVisibility method - visibility success with contact name)
@ -1373,7 +1373,7 @@ export function createQRContactAddedMessage(hasVisibility: boolean): string {
export function createQRRegistrationSuccessMessage (
export function createQRRegistrationSuccessMessage (
contactName : string ,
contactName : string ,
) : string {
) : string {
return ` ${ contactName || UNNAMED_PERSON } ${ NOTIFY_QR_REGISTRATION_SUCCESS . message } ` ;
return ` ${ contactName || THAT_ UNNAMED_PERSON} ${ NOTIFY_QR_REGISTRATION_SUCCESS . message } ` ;
}
}
// ContactQRScanShowView.vue timeout constants
// ContactQRScanShowView.vue timeout constants