mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-22 08:33:13 -04:00
40 lines
1.1 KiB
TypeScript
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__';
|
|
}
|
|
}
|