feat: 重构测试结构并添加动态表单组件
主要更改: - 重构测试文件结构,删除旧的测试文件并添加新的测试覆盖 - 添加 DynamicForm 组件及其测试 - 更新 Jest 配置以支持新的测试结构 - 更新组件、抽屉和国际化文件 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"common": {
|
||||
"noData": "No Data"
|
||||
},
|
||||
"my": {
|
||||
"editProfile": "Edit Profile",
|
||||
"generatedWorks": "Generated Works",
|
||||
@@ -126,8 +129,29 @@
|
||||
"noTags": "No recommended tags"
|
||||
},
|
||||
"templateDetail": {
|
||||
"title": "Hello, I'm a new resident of Zootopia 👋",
|
||||
"subtitle": "Mom, we're going to Zootopia too"
|
||||
"title": "Template Details",
|
||||
"subtitle": "Fill out the form to generate your work",
|
||||
"fillForm": "Fill Form",
|
||||
"startCreating": "Start Creating",
|
||||
"generations": "My Generations",
|
||||
"generationStarted": "Generation has started"
|
||||
},
|
||||
"dynamicForm": {
|
||||
"uploadFailed": "Upload failed, please try again",
|
||||
"field": "Field",
|
||||
"required": "is required",
|
||||
"fillRequiredFields": "Please fill in all required fields",
|
||||
"submitFailed": "Submission failed",
|
||||
"enterText": "Enter text",
|
||||
"image": "Image",
|
||||
"uploadImage": "Tap to upload image",
|
||||
"video": "Video",
|
||||
"videoUploaded": "Video uploaded",
|
||||
"uploadVideo": "Tap to upload video",
|
||||
"select": "Select",
|
||||
"selectPlaceholder": "Please select",
|
||||
"noFields": "No form fields to fill",
|
||||
"submit": "Submit"
|
||||
},
|
||||
"pointsDrawer": {
|
||||
"title": "My Points",
|
||||
@@ -142,7 +166,9 @@
|
||||
},
|
||||
"aiGenerationRecord": {
|
||||
"title": "AI Generation Record",
|
||||
"recentUsed": "Recently Used"
|
||||
"recentUsed": "Recently Used",
|
||||
"projectAll": "All Projects",
|
||||
"projectFace": "Face Projects"
|
||||
},
|
||||
"searchBar": {
|
||||
"placeholder": "Search",
|
||||
|
||||
Reference in New Issue
Block a user