Add comprehensive spell management functionality
- Introduced spell management with creation, editing, deletion, and tagging capabilities. - Added `Spell`, `SpellList`, `SpellTagManager` models with corresponding IPC handlers for data operations. - Implemented `SpellList` and `SpellTagChip` components for UI interactions with spells and tags. - Localized spell-related strings for English (e.g., error messages, tooltips, and prompts). - Enhanced database models and repositories with encryption and decryption workflows for secure data handling. - Updated API to include filtering, searching, and tag-based spell management options.
This commit is contained in:
@@ -456,6 +456,80 @@
|
||||
"characterSectionElement": {
|
||||
"newItem": "New {item}"
|
||||
},
|
||||
"spellComponent": {
|
||||
"enableTool": "Enable spell book",
|
||||
"enableToolDescription": "Manage the spells and magic of your universe.",
|
||||
"errorNameRequired": "Spell name is required.",
|
||||
"errorDescriptionRequired": "Spell description is required.",
|
||||
"errorAppearanceRequired": "Spell appearance is required.",
|
||||
"errorAddSpell": "Error adding spell.",
|
||||
"errorUpdateSpell": "Error updating spell.",
|
||||
"errorDeleteSpell": "Error deleting spell.",
|
||||
"successAdd": "Spell added successfully.",
|
||||
"successUpdate": "Spell updated successfully.",
|
||||
"successDelete": "Spell deleted successfully."
|
||||
},
|
||||
"spellList": {
|
||||
"search": "Search for a spell...",
|
||||
"add": "Add a spell",
|
||||
"manageTags": "Manage tags",
|
||||
"filterByTag": "Filter by tag",
|
||||
"filterByLevel": "Filter by level",
|
||||
"allTags": "All tags",
|
||||
"allLevels": "All levels",
|
||||
"noSpells": "No spells created",
|
||||
"noSpellsDescription": "Add your first spell to get started."
|
||||
},
|
||||
"spellDetail": {
|
||||
"back": "Back",
|
||||
"newSpell": "New spell",
|
||||
"save": "Save",
|
||||
"delete": "Delete",
|
||||
"deleteTitle": "Delete spell",
|
||||
"deleteMessage": "You are about to permanently delete the spell \"{name}\".",
|
||||
"basicInfo": "Basic information",
|
||||
"name": "Spell name",
|
||||
"namePlaceholder": "Enter spell name",
|
||||
"description": "Description",
|
||||
"descriptionPlaceholder": "Describe the effects and nature of the spell",
|
||||
"appearance": "Appearance",
|
||||
"appearancePlaceholder": "Describe the visual appearance of the spell",
|
||||
"tags": "Tags",
|
||||
"addTag": "Add a tag...",
|
||||
"createTag": "Create \"{name}\"",
|
||||
"powerLevel": "Power level",
|
||||
"components": "Components",
|
||||
"componentsPlaceholder": "Ingredients, gestures, incantations required...",
|
||||
"limitations": "Limitations",
|
||||
"limitationsPlaceholder": "Restrictions, side effects, conditions of use...",
|
||||
"notes": "Notes",
|
||||
"notesPlaceholder": "Additional notes about the spell..."
|
||||
},
|
||||
"spellTagManager": {
|
||||
"title": "Tag management",
|
||||
"back": "Back",
|
||||
"addTag": "Add a tag",
|
||||
"tagName": "Tag name",
|
||||
"tagNamePlaceholder": "Tag name...",
|
||||
"tagColor": "Color",
|
||||
"editTag": "Edit tag",
|
||||
"preview": "Preview",
|
||||
"deleteTagTitle": "Delete tag",
|
||||
"delete": "Delete",
|
||||
"confirmDelete": "Delete this tag? It will be removed from all spells.",
|
||||
"noTags": "No tags created",
|
||||
"successAdd": "Tag added successfully.",
|
||||
"successUpdate": "Tag updated successfully.",
|
||||
"successDelete": "Tag deleted successfully."
|
||||
},
|
||||
"spellPowerLevels": {
|
||||
"none": "None",
|
||||
"minor": "Minor",
|
||||
"moderate": "Moderate",
|
||||
"major": "Major",
|
||||
"legendary": "Legendary",
|
||||
"divine": "Divine"
|
||||
},
|
||||
"aboutEditors": {
|
||||
"title": "About Scribe",
|
||||
"version": "Version",
|
||||
|
||||
Reference in New Issue
Block a user