维护所有模块的多语言功能,对接友情分类接口和友情链接接口

This commit is contained in:
linxd
2025-06-18 16:37:25 +08:00
parent cc6706b409
commit 2a0532f775
34 changed files with 1828 additions and 1005 deletions

View File

@ -1,14 +0,0 @@
export default {
// About page
'about.title': 'About Us',
'about.company.title': 'Company Profile',
'about.advantages.title': 'Platform Advantages',
'about.history.title': 'Development History',
'about.contact.title': 'Contact Us',
'about.address': 'Headquarters Address',
'about.phone': 'Phone',
'about.hotline': 'Service Hotline',
'about.email': 'Email',
'about.worktime': 'Working Hours',
'about.copyright': '© 2024 COSCO SHIPPING E-Bidding Platform. All Rights Reserved.',
};

View File

@ -0,0 +1,52 @@
export default {
// About Us Management Page
'aboutManage.title': 'About Us Management',
'aboutManage.save': 'Save',
'aboutManage.saveSuccess': 'Save successful',
'aboutManage.saveFailed': 'Save failed',
'aboutManage.fetchFailed': 'Failed to fetch data',
// Form Tabs
'aboutManage.form.chineseTab': 'Chinese',
'aboutManage.form.englishTab': 'English',
// Chinese Form Items
'aboutManage.form.title': 'Title (Chinese)',
'aboutManage.form.titleRequired': 'Please enter Chinese title',
'aboutManage.form.titlePlaceholder': 'Please enter Chinese title',
'aboutManage.form.content': 'Content (Chinese)',
'aboutManage.form.contentRequired': 'Please enter Chinese content',
'aboutManage.form.contentPlaceholder': 'Please enter Chinese content...',
'aboutManage.form.address': 'Address (Chinese)',
'aboutManage.form.addressRequired': 'Please enter Chinese address',
'aboutManage.form.addressPlaceholder': 'Please enter Chinese address',
'aboutManage.form.contactsPhone': 'Contact Phone (Chinese)',
'aboutManage.form.contactsPhoneRequired': 'Please enter Chinese contact phone',
'aboutManage.form.contactsPhonePlaceholder': 'Please enter Chinese contact phone',
'aboutManage.form.contactsEmail': 'Contact Email (Chinese)',
'aboutManage.form.contactsEmailRequired': 'Please enter Chinese contact email',
'aboutManage.form.contactsEmailPlaceholder': 'Please enter Chinese contact email',
'aboutManage.form.contactsConsult': 'Consultation Method (Chinese)',
'aboutManage.form.contactsConsultRequired': 'Please enter Chinese consultation method',
'aboutManage.form.contactsConsultPlaceholder': 'Please enter Chinese consultation method',
// English Form Items
'aboutManage.form.titleEn': 'Title (English)',
'aboutManage.form.titleEnRequired': 'Please enter English title',
'aboutManage.form.titleEnPlaceholder': 'Please enter English title',
'aboutManage.form.contentEn': 'Content (English)',
'aboutManage.form.contentEnRequired': 'Please enter English content',
'aboutManage.form.contentEnPlaceholder': 'Please enter English content...',
'aboutManage.form.addressEn': 'Address (English)',
'aboutManage.form.addressEnRequired': 'Please enter English address',
'aboutManage.form.addressEnPlaceholder': 'Please enter English address',
'aboutManage.form.contactsPhoneEn': 'Contact Phone (English)',
'aboutManage.form.contactsPhoneEnRequired': 'Please enter English contact phone',
'aboutManage.form.contactsPhoneEnPlaceholder': 'Please enter English contact phone',
'aboutManage.form.contactsEmailEn': 'Contact Email (English)',
'aboutManage.form.contactsEmailEnRequired': 'Please enter English contact email',
'aboutManage.form.contactsEmailEnPlaceholder': 'Please enter English contact email',
'aboutManage.form.contactsConsultEn': 'Consultation Method (English)',
'aboutManage.form.contactsConsultEnRequired': 'Please enter English consultation method',
'aboutManage.form.contactsConsultEnPlaceholder': 'Please enter English consultation method',
};

View File

@ -27,4 +27,8 @@ export default {
"采购失败(流标)公告": "Failed Procurement Announcement",
"加载更多": "Load More",
"登录/注册": "Login/Register",
// Buttons
"common.confirm": "Confirm",
"common.cancel": "Cancel",
};

View File

@ -2,14 +2,94 @@ export default {
// Friendly Links Management page
'friendLink.title': 'Friendly Links Management',
'friendLink.name': 'Name',
'friendLink.nameEn': 'English Name',
'friendLink.url': 'URL',
'friendLink.logo': 'Logo',
'friendLink.thumbnail': 'Thumbnail',
'friendLink.sort': 'Sort Order',
'friendLink.status': 'Status',
'friendLink.category': 'Category',
'friendLink.operation': 'Operation',
'friendLink.add': 'Add Link',
'friendLink.edit': 'Edit Link',
'friendLink.delete': 'Delete Link',
'friendLink.batchDelete': 'Batch Delete',
'friendLink.enable': 'Enable',
'friendLink.disable': 'Disable',
'friendLink.enabled': 'Enabled',
'friendLink.disabled': 'Disabled',
'friendLink.selectedCount': '{count} items selected',
// Form related
'friendLink.form.name.required': 'Please enter link name',
'friendLink.form.name.placeholder': 'Please enter link name',
'friendLink.form.nameEn.required': 'Please enter English name',
'friendLink.form.nameEn.placeholder': 'Please enter English name',
'friendLink.form.category.required': 'Please select category',
'friendLink.form.category.placeholder': 'Please select category',
'friendLink.form.url.required': 'Please enter URL',
'friendLink.form.url.invalid': 'Please enter a valid URL',
'friendLink.form.url.placeholder': 'Please enter URL starting with http:// or https://',
'friendLink.form.thumbnail.required': 'Please upload thumbnail',
'friendLink.form.thumbnail.upload': 'Upload Thumbnail',
'friendLink.form.sort.required': 'Please enter sort order',
'friendLink.form.sort.placeholder': 'Please enter sort order, smaller number comes first',
// Operation tips
'friendLink.delete.confirm.title': 'Delete Confirmation',
'friendLink.delete.confirm.content': 'Are you sure you want to delete this link?',
'friendLink.delete.success': 'Deleted successfully',
'friendLink.batchDelete.empty': 'Please select items to delete',
'friendLink.batchDelete.confirm.title': 'Batch Delete Confirmation',
'friendLink.batchDelete.confirm.content': 'Are you sure you want to delete {count} selected items?',
'friendLink.batchDelete.success': 'Batch delete successful',
'friendLink.add.success': 'Added successfully',
'friendLink.update.success': 'Updated successfully',
'friendLink.enable.success': 'Enabled successfully',
'friendLink.disable.success': 'Disabled successfully',
'friendLink.enable.confirm.title': 'Enable Confirmation',
'friendLink.enable.confirm.content': 'Are you sure you want to enable this link?',
'friendLink.disable.confirm.title': 'Disable Confirmation',
'friendLink.disable.confirm.content': 'Are you sure you want to disable this link?',
// Friendly Link Category Management
'friendLink.category.title': 'Friendly Link Category Management',
'friendLink.category.name': 'Category Name',
'friendLink.category.level': 'Level',
'friendLink.category.sort': 'Sort Order',
'friendLink.category.parentCategory': 'Parent Category',
'friendLink.category.operation': 'Operation',
'friendLink.category.add': 'Add Category',
'friendLink.category.addChild': 'Add Subcategory',
'friendLink.category.edit': 'Edit',
'friendLink.category.delete': 'Delete',
'friendLink.category.form.title.add': 'Add Category',
'friendLink.category.form.title.addChild': 'Add Subcategory',
'friendLink.category.form.title.edit': 'Edit Category',
'friendLink.category.form.name': 'Category Name',
'friendLink.category.form.name.placeholder': 'Please enter category name',
'friendLink.category.form.name.required': 'Please enter category name',
'friendLink.category.form.parentCategory': 'Parent Category',
'friendLink.category.form.parentCategory.placeholder': 'Please select parent category',
'friendLink.category.form.parentCategory.required': 'Please select parent category',
'friendLink.category.form.sort': 'Sort Order',
'friendLink.category.form.sort.placeholder': 'Please enter sort value, smaller number comes first',
'friendLink.category.form.sort.required': 'Please enter sort value',
'friendLink.category.delete.confirm.title': 'Delete Category',
'friendLink.category.delete.confirm.content': 'Are you sure you want to delete category "{name}"?',
'friendLink.category.delete.hasChildren': 'This category has subcategories and cannot be deleted directly',
'friendLink.category.delete.success': 'Deleted successfully',
'friendLink.category.add.success': 'Added successfully',
'friendLink.category.update.success': 'Updated successfully',
// Category Type
'friendLink.category.type': 'Type',
'friendLink.category.type.normal': 'Normal Display',
'friendLink.category.type.featured': 'Featured Display',
'friendLink.category.form.type': 'Category Type',
'friendLink.category.form.type.placeholder': 'Please select category type',
'friendLink.category.form.type.required': 'Please select category type',
'friendLink.category.form.remark': 'Remark',
'friendLink.category.form.remark.placeholder': 'Please enter remark',
'friendLink.category.form.remark.required': 'Please enter remark',
};

View File

@ -1,22 +0,0 @@
export default {
// Help Center Management
'helpCenter.title': 'Help Center Management',
'helpCenter.question': 'Question',
'helpCenter.category': 'Category',
'helpCenter.createTime': 'Create Time',
'helpCenter.updateTime': 'Update Time',
'helpCenter.status': 'Status',
'helpCenter.operation': 'Operation',
'helpCenter.edit': 'Edit',
'helpCenter.delete': 'Delete',
'helpCenter.add': 'Add',
'helpCenter.search': 'Search',
'helpCenter.all': 'All',
'helpCenter.published': 'Published',
'helpCenter.unpublished': 'Unpublished',
'helpCenter.draft': 'Draft',
'helpCenter.publish': 'Publish',
'helpCenter.unpublish': 'Unpublish',
'helpCenter.confirmDelete': 'Are you sure you want to delete this help item?',
'helpCenter.batchDelete': 'Are you sure you want to delete selected help items?',
};

View File

@ -0,0 +1,108 @@
export default {
// Help Center Management List Page
'helpManage.title': 'Help Center Management',
'helpManage.serialNumber': 'No.',
'helpManage.title.label': 'Title',
'helpManage.category': 'Category',
'helpManage.date': 'Date',
'helpManage.status': 'Status',
'helpManage.publisher': 'Publisher',
'helpManage.operation': 'Operation',
'helpManage.view': 'View',
'helpManage.edit': 'Edit',
'helpManage.publish': 'Publish',
'helpManage.unpublish': 'Unpublish',
'helpManage.delete': 'Delete',
'helpManage.top': 'Top',
'helpManage.untop': 'Untop',
'helpManage.add': 'Add',
'helpManage.search': 'Search',
'helpManage.reset': 'Reset',
'helpManage.submit': 'Submit',
'helpManage.cancel': 'Cancel',
'helpManage.confirmDelete': 'Are you sure you want to delete this help item?',
'helpManage.batchDelete': 'Are you sure you want to delete the selected help items?',
'helpManage.confirmPublish': 'Are you sure you want to publish this help item?',
'helpManage.confirmUnpublish': 'Are you sure you want to unpublish this help item?',
'helpManage.confirmTop': 'Are you sure you want to top this help item?',
'helpManage.confirmUntop': 'Are you sure you want to untop this help item?',
'helpManage.publishSuccess': 'Publish successful',
'helpManage.unpublishSuccess': 'Unpublish successful',
'helpManage.publishFailed': 'Publish failed',
'helpManage.unpublishFailed': 'Unpublish failed',
'helpManage.topSuccess': 'Top successful',
'helpManage.untopSuccess': 'Untop successful',
'helpManage.topFailed': 'Top failed',
'helpManage.untopFailed': 'Untop failed',
'helpManage.deleteSuccess': 'Delete successful',
'helpManage.deleteFailed': 'Delete failed',
'helpManage.batchDeleteSuccess': 'Batch delete successful',
'helpManage.batchDeleteFailed': 'Batch delete failed',
'helpManage.addSuccess': 'Add successful',
'helpManage.addFailed': 'Add failed',
'helpManage.updateSuccess': 'Update successful',
'helpManage.updateFailed': 'Update failed',
'helpManage.fetchFailed': 'Failed to fetch help center list',
'helpManage.fetchDetailFailed': 'Failed to fetch details',
'helpManage.noDeleteItems': 'No items to delete',
'helpManage.selectedCount': '{count} items selected',
'helpManage.publishedNoEdit': 'Published help items cannot be edited',
'helpManage.publishedNoDelete': 'Published help items cannot be deleted',
'helpManage.deleteConfirmTitle': 'Title',
'helpManage.deleteConfirmContent': 'This action cannot be undone',
'helpManage.searchTitlePlaceholder': 'Enter title keywords',
'helpManage.searchCategoryPlaceholder': 'Select category',
'helpManage.searchStatusPlaceholder': 'Select status',
// Help Center Form
'helpManage.form.isTop': 'Top',
'helpManage.form.category': 'Category',
'helpManage.form.categoryRequired': 'Please select a category',
'helpManage.form.categoryPlaceholder': 'Please select a category',
'helpManage.form.chineseTab': 'Chinese',
'helpManage.form.englishTab': 'English',
'helpManage.form.titleZh': 'Title (Chinese)',
'helpManage.form.titleZhRequired': 'Please enter Chinese title',
'helpManage.form.titleZhPlaceholder': 'Please enter Chinese title',
'helpManage.form.contentZh': 'Content (Chinese)',
'helpManage.form.contentZhRequired': 'Please enter Chinese content',
'helpManage.form.contentZhPlaceholder': 'Please enter help content...',
'helpManage.form.answerContentZh': 'Answer Content (Chinese)',
'helpManage.form.answerContentZhPlaceholder': 'Please enter answer content...',
'helpManage.form.titleEn': 'Title (English)',
'helpManage.form.titleEnRequired': 'Please enter English title',
'helpManage.form.titleEnPlaceholder': 'Please enter English title',
'helpManage.form.contentEn': 'Content (English)',
'helpManage.form.contentEnRequired': 'Please enter English content',
'helpManage.form.contentEnPlaceholder': 'Please enter help content...',
'helpManage.form.answerContentEn': 'Answer Content (English)',
'helpManage.form.answerContentEnPlaceholder': 'Please enter answer content...',
// Help Center Detail
'helpManage.detail.title': 'Title',
'helpManage.detail.titleEn': 'English Title',
'helpManage.detail.category': 'Category',
'helpManage.detail.isTop': 'Is Top',
'helpManage.detail.status': 'Status',
'helpManage.detail.creator': 'Creator',
'helpManage.detail.createTime': 'Create Time',
'helpManage.detail.updateTime': 'Update Time',
'helpManage.detail.contentZh': 'Content (Chinese)',
'helpManage.detail.contentEn': 'Content (English)',
'helpManage.detail.answerContentZh': 'Answer Content (Chinese)',
'helpManage.detail.answerContentEn': 'Answer Content (English)',
'helpManage.detail.yes': 'Yes',
'helpManage.detail.no': 'No',
// Help Status
'helpManage.status.draft': 'Draft',
'helpManage.status.published': 'Published',
'helpManage.status.unpublished': 'Unpublished',
'helpManage.status.unknown': 'Unknown',
// Help Categories
'helpManage.category.registerGuide': 'Registration Guide',
'helpManage.category.biddingGuide': 'Bidding Guide',
'helpManage.category.faq': 'FAQ',
'helpManage.category.contactUs': 'Contact Us',
};

View File

@ -0,0 +1,86 @@
export default {
// Policies and Regulations Management List Page
'policyManage.title': 'Policies & Regulations Management',
'policyManage.serialNumber': 'No.',
'policyManage.title.label': 'Title',
'policyManage.date': 'Date',
'policyManage.status': 'Status',
'policyManage.publisher': 'Publisher',
'policyManage.operation': 'Operation',
'policyManage.view': 'View',
'policyManage.edit': 'Edit',
'policyManage.publish': 'Publish',
'policyManage.unpublish': 'Unpublish',
'policyManage.delete': 'Delete',
'policyManage.top': 'Top',
'policyManage.add': 'Add',
'policyManage.search': 'Search',
'policyManage.reset': 'Reset',
'policyManage.submit': 'Submit',
'policyManage.cancel': 'Cancel',
'policyManage.close': 'Close',
'policyManage.confirmDelete': 'Are you sure you want to delete this policy?',
'policyManage.confirmDeleteBatch': 'Are you sure you want to delete the selected policies?',
'policyManage.confirmPublish': 'Are you sure you want to publish this policy?',
'policyManage.confirmUnpublish': 'Are you sure you want to unpublish this policy?',
'policyManage.deleteSuccess': 'Delete successful',
'policyManage.deleteFailed': 'Delete failed',
'policyManage.batchDeleteSuccess': 'Delete successful',
'policyManage.batchDeletePartialFailed': 'Some deletions failed, please refresh and try again',
'policyManage.batchDeleteFailed': 'Batch delete failed',
'policyManage.publishSuccess': 'Publish successful',
'policyManage.unpublishSuccess': 'Unpublish successful',
'policyManage.publishFailed': 'Publish failed',
'policyManage.unpublishFailed': 'Unpublish failed',
'policyManage.fetchFailed': 'Failed to fetch data',
'policyManage.fetchDetailFailed': 'Failed to fetch details',
'policyManage.deleteConfirmTitle': 'Title',
'policyManage.deleteConfirmContent': 'This action cannot be undone',
'policyManage.selectedCount': '{count} items selected',
'policyManage.searchTitlePlaceholder': 'Enter title keywords',
'policyManage.searchStatusPlaceholder': 'Select status',
// Policy Form Page
'policyManage.form.title': 'Policy & Regulation',
'policyManage.form.add': 'Add Policy & Regulation',
'policyManage.form.edit': 'Edit Policy & Regulation',
'policyManage.form.view': 'View Policy & Regulation',
'policyManage.form.isTop': 'Set as Top',
'policyManage.form.chineseTab': 'Chinese',
'policyManage.form.englishTab': 'English',
'policyManage.form.titleZh': 'Title (Chinese)',
'policyManage.form.titleZhRequired': 'Please enter Chinese title',
'policyManage.form.titleZhPlaceholder': 'Please enter Chinese title',
'policyManage.form.contentZh': 'Content (Chinese)',
'policyManage.form.contentZhRequired': 'Please enter Chinese content',
'policyManage.form.contentZhPlaceholder': 'Please enter Chinese content...',
'policyManage.form.titleEn': 'Title (English)',
'policyManage.form.titleEnRequired': 'Please enter English title',
'policyManage.form.titleEnPlaceholder': 'Please enter English title',
'policyManage.form.contentEn': 'Content (English)',
'policyManage.form.contentEnRequired': 'Please enter English content',
'policyManage.form.contentEnPlaceholder': 'Please enter English content...',
'policyManage.form.addSuccess': 'Add successful',
'policyManage.form.updateSuccess': 'Update successful',
'policyManage.form.addFailed': 'Add failed',
'policyManage.form.updateFailed': 'Update failed',
// Policy Details Page
'policyManage.detail.title': 'Title',
'policyManage.detail.titleEn': 'English Title',
'policyManage.detail.isTop': 'Is Top',
'policyManage.detail.status': 'Status',
'policyManage.detail.creator': 'Creator',
'policyManage.detail.createTime': 'Create Time',
'policyManage.detail.updateTime': 'Update Time',
'policyManage.detail.contentZh': 'Chinese Content',
'policyManage.detail.contentEn': 'English Content',
'policyManage.detail.yes': 'Yes',
'policyManage.detail.no': 'No',
// Policy Status
'policyManage.status.draft': 'Draft',
'policyManage.status.published': 'Published',
'policyManage.status.unpublished': 'Unpublished',
'policyManage.status.unknown': 'Unknown',
};