Files
aliasvault/mobile-app/utils/generators/Identity/implementations/IdentityGeneratorEn.ts

40 lines
1.1 KiB
TypeScript

import { BaseIdentityGenerator } from "./base/BaseIdentityGenerator";
/**
* Identity generator for English language using English word dictionaries.
*/
export class IdentityGeneratorEn extends BaseIdentityGenerator {
/**
* Get the male first names.
*/
protected getFirstNamesMaleJson(): string[] {
/*
* This is a placeholder for the dictionary-loader to replace with the actual data.
* See vite-plugins/dictionary-loader.ts for more information.
*/
return '__FIRSTNAMES_MALE_EN__';
}
/**
* Get the female first names.
*/
protected getFirstNamesFemaleJson(): string[] {
/*
* This is a placeholder for the dictionary-loader to replace with the actual data.
* See vite-plugins/dictionary-loader.ts for more information.
*/
return '__FIRSTNAMES_FEMALE_EN__';
}
/**
* Get the last names.
*/
protected getLastNamesJson(): string[] {
/*
* This is a placeholder for the dictionary-loader to replace with the actual data.
* See vite-plugins/dictionary-loader.ts for more information.
*/
return '__LASTNAMES_EN__';
}
}