Expand character model with additional attributes and advanced customization options
- Added fields such as `nickname`, `age`, `gender`, `species`, `nationality`, `status`, and others to enhance character customization. - Modified localization files to include new field labels and placeholders. - Updated `CharacterComponent` and `CharacterDetail` components with UI elements for the newly added attributes. - Introduced "Advanced Mode" toggle to manage visibility of extended customization options. - Refactored database models and repository methods (`addNewCharacter`, `updateCharacter`, and `fetchCharacters`) to handle the extended schema. - Improved data encryption and decryption workflows for secure storage of added attributes. - Enhanced user experience by reorganizing character customization layouts.
This commit is contained in:
@@ -436,19 +436,47 @@
|
||||
"back": "Back",
|
||||
"newCharacter": "New character",
|
||||
"basicInfo": "Basic information",
|
||||
"name": "Name",
|
||||
"namePlaceholder": "Enter a name",
|
||||
"name": "First name",
|
||||
"namePlaceholder": "Enter a first name",
|
||||
"lastName": "Last name",
|
||||
"lastNamePlaceholder": "Example: Smith",
|
||||
"nickname": "Nickname",
|
||||
"nicknamePlaceholder": "Nickname or alias",
|
||||
"role": "Role",
|
||||
"title": "Title",
|
||||
"titlePlaceholder": "Example: King, Captain, Doctor...",
|
||||
"gender": "Gender",
|
||||
"genderPlaceholder": "Character's gender",
|
||||
"age": "Age",
|
||||
"agePlaceholder": "Character's age",
|
||||
"historySection": "Background",
|
||||
"biography": "Biography",
|
||||
"biographyPlaceholder": "Character biography.",
|
||||
"history": "History",
|
||||
"historyPlaceholder": "Character history...",
|
||||
"roleFull": "Role",
|
||||
"roleFull": "Role in the story",
|
||||
"roleFullPlaceholder": "Role of the character in the story",
|
||||
"advancedMode": "Advanced mode",
|
||||
"showAdvanced": "Show",
|
||||
"hideAdvanced": "Hide",
|
||||
"identitySection": "Extended identity",
|
||||
"species": "Species",
|
||||
"speciesPlaceholder": "Human, Elf, Vampire...",
|
||||
"nationality": "Nationality",
|
||||
"nationalityPlaceholder": "Country or region of origin",
|
||||
"status": "Status",
|
||||
"residence": "Residence",
|
||||
"residencePlaceholder": "Current place of residence",
|
||||
"voiceSection": "Character voice",
|
||||
"speechPattern": "Speech pattern",
|
||||
"speechPatternPlaceholder": "How does this character speak? Accent, speech quirks...",
|
||||
"catchphrase": "Catchphrase",
|
||||
"catchphrasePlaceholder": "A signature phrase of the character",
|
||||
"authorSection": "Author notes",
|
||||
"notes": "Notes",
|
||||
"notesPlaceholder": "Personal notes about this character...",
|
||||
"colorLabel": "Color",
|
||||
"colorPlaceholder": "Color associated with the character",
|
||||
"fetchAttributesError": "Error fetching attributes.",
|
||||
"deleteTitle": "Delete character",
|
||||
"deleteMessage": "Are you sure you want to delete {name}? This action cannot be undone."
|
||||
|
||||
@@ -436,19 +436,47 @@
|
||||
"back": "Retour",
|
||||
"newCharacter": "Nouveau personnage",
|
||||
"basicInfo": "Informations de base",
|
||||
"name": "Nom",
|
||||
"namePlaceholder": "Entrer un nom",
|
||||
"name": "Prénom",
|
||||
"namePlaceholder": "Entrer un prénom",
|
||||
"lastName": "Nom de famille",
|
||||
"lastNamePlaceholder": "Exemple : Smith",
|
||||
"nickname": "Surnom",
|
||||
"nicknamePlaceholder": "Surnom ou alias du personnage",
|
||||
"role": "Rôle",
|
||||
"title": "Titre",
|
||||
"historySection": "Parcourt",
|
||||
"titlePlaceholder": "Exemple : Roi, Capitaine, Docteur...",
|
||||
"gender": "Genre",
|
||||
"genderPlaceholder": "Genre du personnage",
|
||||
"age": "Âge",
|
||||
"agePlaceholder": "Âge du personnage",
|
||||
"historySection": "Parcours",
|
||||
"biography": "Biographie",
|
||||
"biographyPlaceholder": "La biographie du personnage.",
|
||||
"history": "Histoire",
|
||||
"historyPlaceholder": "Histoire du personnage...",
|
||||
"roleFull": "Rôle",
|
||||
"roleFull": "Rôle dans l'histoire",
|
||||
"roleFullPlaceholder": "Rôle du personnage dans l'histoire",
|
||||
"advancedMode": "Mode avancé",
|
||||
"showAdvanced": "Afficher",
|
||||
"hideAdvanced": "Masquer",
|
||||
"identitySection": "Identité étendue",
|
||||
"species": "Espèce",
|
||||
"speciesPlaceholder": "Humain, Elfe, Vampire...",
|
||||
"nationality": "Nationalité",
|
||||
"nationalityPlaceholder": "Pays ou région d'origine",
|
||||
"status": "Statut",
|
||||
"residence": "Résidence",
|
||||
"residencePlaceholder": "Lieu de résidence actuel",
|
||||
"voiceSection": "Voix du personnage",
|
||||
"speechPattern": "Pattern de parole",
|
||||
"speechPatternPlaceholder": "Comment parle ce personnage ? Accent, tics de langage...",
|
||||
"catchphrase": "Phrase fétiche",
|
||||
"catchphrasePlaceholder": "Une phrase signature du personnage",
|
||||
"authorSection": "Notes de l'auteur",
|
||||
"notes": "Notes",
|
||||
"notesPlaceholder": "Notes personnelles sur ce personnage...",
|
||||
"colorLabel": "Couleur",
|
||||
"colorPlaceholder": "Couleur associée au personnage",
|
||||
"fetchAttributesError": "Erreur lors de la récupération des attributs.",
|
||||
"deleteTitle": "Supprimer le personnage",
|
||||
"deleteMessage": "Êtes-vous sûr de vouloir supprimer {name} ? Cette action est irréversible."
|
||||
|
||||
Reference in New Issue
Block a user