246 lines
14 KiB
TypeScript
246 lines
14 KiB
TypeScript
|
|
export default {
|
|
'header.browse_toys': 'Browse Toys',
|
|
'header.login': 'Login',
|
|
'header.register': 'Register',
|
|
'header.my_account': 'My Account',
|
|
'header.dashboard': 'Dashboard',
|
|
'header.profile': 'Profile',
|
|
'header.logout': 'Logout',
|
|
'header.admin_panel': 'Admin Panel',
|
|
'footer.copy': '© {year} ToyShare. All rights reserved.',
|
|
'footer.tagline': 'Sharing happiness, one toy at a time.',
|
|
'home.welcome': 'Welcome to ToyShare!',
|
|
'home.discover': 'Discover a world of fun! Share your beloved toys or find new adventures by renting from our friendly community.',
|
|
'home.explore_toys': 'Explore Toys',
|
|
'home.share_your_toy': 'Share Your Toy',
|
|
'home.available_toys': 'Available Toys',
|
|
'home.no_toys_available': 'No toys available at the moment. Check back soon!',
|
|
'login.welcome_back': 'Welcome Back!',
|
|
'login.description': 'Log in to your ToyShare account to continue.',
|
|
'login.email_label': 'Email Address',
|
|
'login.password_label': 'Password',
|
|
'login.submit_button': 'Log In',
|
|
'login.loading_button': 'Logging in...',
|
|
'login.forgot_password': 'Forgot your password? <link>Reset it here</link>.',
|
|
'login.no_account': "Don't have an account? <link>Sign up now</link>",
|
|
'login.success_title': 'Login Successful',
|
|
'login.welcome_back_toast': 'Welcome back!',
|
|
'login.failure_title': 'Login Failed',
|
|
'login.invalid_credentials_toast': 'Invalid email or password.',
|
|
'login.invalid_credentials_toast_user': 'Invalid email or password. (Hint: user@example.com / password or admin@example.com / passwordadmin)',
|
|
'register.create_account': 'Create Your Account',
|
|
'register.description': 'Join ToyShare and start sharing the fun!',
|
|
'register.name_label': 'Full Name',
|
|
'register.confirm_password_label': 'Confirm Password',
|
|
'register.submit_button': 'Create Account',
|
|
'register.loading_button': 'Registering...',
|
|
'register.has_account': 'Already have an account? <link>Log in</link>',
|
|
'toy_details.back_to_toys': 'Back to All Toys',
|
|
'toy_details.toy_not_found_title': 'Toy Not Found',
|
|
'toy_details.toy_not_found_description': 'Sorry, the toy you are looking for does not exist or has been removed.',
|
|
'toy_details.owner': 'Owner',
|
|
'toy_details.location': 'Location',
|
|
'toy_details.price': 'Price',
|
|
'toy_details.price_free': 'Free',
|
|
'toy_details.price_per_day': '/day',
|
|
'toy_details.request_to_rent': 'Request to Rent',
|
|
'dashboard.layout.loading': 'Loading Dashboard...',
|
|
'dashboard.sidebar.user_dashboard': 'User Dashboard',
|
|
'dashboard.sidebar.toy_management': 'Toy Management',
|
|
'dashboard.sidebar.overview': 'Overview',
|
|
'dashboard.sidebar.my_toys': 'My Toys',
|
|
'dashboard.sidebar.add_new_toy': 'Add New Toy',
|
|
'dashboard.sidebar.my_rentals': 'My Rentals',
|
|
'dashboard.sidebar.rental_requests': 'Rental Requests',
|
|
'dashboard.sidebar.rental_history': 'Rental History',
|
|
'dashboard.sidebar.account': 'Account',
|
|
'dashboard.sidebar.profile_settings': 'Profile Settings',
|
|
'dashboard.sidebar.logout': 'Logout',
|
|
'dashboard.overview.welcome': 'Welcome to Your Dashboard!',
|
|
'dashboard.overview.description': 'Manage your toys, rentals, and account settings all in one place.',
|
|
'dashboard.overview.my_listed_toys': 'My Listed Toys',
|
|
'dashboard.overview.view_my_toys': 'View My Toys',
|
|
'dashboard.overview.toys_i_renting': "Toys I'm Renting",
|
|
'dashboard.overview.view_my_rentals': 'View My Rentals',
|
|
'dashboard.overview.pending_requests': 'Pending Requests',
|
|
'dashboard.overview.manage_requests': 'Manage Requests',
|
|
'dashboard.overview.quick_actions': 'Quick Actions',
|
|
'dashboard.overview.add_new_toy_button': 'Add a New Toy',
|
|
'dashboard.overview.update_profile_button': 'Update Profile',
|
|
'dashboard.overview.tips_for_sharers': 'Tips for Sharers',
|
|
'dashboard.overview.tip1': 'Take clear photos of your toys from multiple angles.',
|
|
'dashboard.overview.tip2': 'Write detailed and accurate descriptions.',
|
|
'dashboard.overview.tip3': 'Keep your availability calendar up-to-date.',
|
|
'dashboard.overview.tip4': 'Respond promptly to rental requests.',
|
|
'dashboard.my_toys.title': 'My Listed Toys',
|
|
'dashboard.my_toys.description': "Manage the toys you've shared with the community.",
|
|
'dashboard.my_toys.add_new_toy_button': 'Add New Toy',
|
|
'dashboard.my_toys.no_toys_title': 'No Toys Listed Yet',
|
|
'dashboard.my_toys.no_toys_description': 'Share your first toy and spread the joy!',
|
|
'dashboard.my_toys.add_first_toy_button': 'Add Your First Toy',
|
|
'dashboard.my_toys.view_toy_action': 'View Toy',
|
|
'dashboard.my_toys.edit_toy_action': 'Edit Toy',
|
|
'dashboard.my_toys.delete_toy_action': 'Delete Toy',
|
|
'dashboard.my_toys.rental_count_one': 'Rented 1 time',
|
|
'dashboard.my_toys.rental_count_many': 'Rented {count} times',
|
|
'dashboard.profile.title': 'Profile Settings',
|
|
'dashboard.profile.description': 'Manage your personal information and account settings.',
|
|
'dashboard.profile.personal_info_title': 'Personal Information',
|
|
'dashboard.profile.personal_info_description': 'Update your publicly visible profile information.',
|
|
'dashboard.profile.avatar_url_label': 'Avatar URL',
|
|
'dashboard.profile.full_name_label': 'Full Name',
|
|
'dashboard.profile.email_label': 'Email Address (Read-only)',
|
|
'dashboard.profile.bio_label': 'Bio',
|
|
'dashboard.profile.phone_label': 'Phone Number',
|
|
'dashboard.profile.location_label': 'Location',
|
|
'dashboard.profile.save_button': 'Save Profile Changes',
|
|
'dashboard.profile.saving_button': 'Saving Profile...',
|
|
'dashboard.profile.change_password_title': 'Change Password',
|
|
'dashboard.profile.change_password_description': 'Update your account password for security.',
|
|
'dashboard.profile.current_password_label': 'Current Password',
|
|
'dashboard.profile.new_password_label': 'New Password',
|
|
'dashboard.profile.confirm_new_password_label': 'Confirm New Password',
|
|
'dashboard.profile.update_password_button': 'Update Password',
|
|
'dashboard.profile.updating_password_button': 'Updating Password...',
|
|
'dashboard.profile.language_settings_title': 'Language Settings',
|
|
'dashboard.profile.language_settings_description': 'Choose your preferred display language for the application.',
|
|
'dashboard.profile.display_language_label': 'Display Language',
|
|
'dashboard.profile.language_updated_toast': 'Language updated successfully.',
|
|
'lang.english': 'English',
|
|
'lang.traditional_chinese': 'Traditional Chinese',
|
|
'lang.select_language': 'Select Language',
|
|
'general.back_to_my_toys': 'Back to My Toys',
|
|
'general.toy_not_found': 'Toy Not Found',
|
|
'general.cannot_edit_nonexistent_toy': 'Cannot edit a toy that does not exist.',
|
|
'add_toy_form.edit_title': 'Edit Your Toy',
|
|
'add_toy_form.add_title': 'Share a New Toy',
|
|
'add_toy_form.edit_description': 'Update the details of your toy listing.',
|
|
'add_toy_form.add_description': 'Fill in the details below to list your toy for others to enjoy.',
|
|
'add_toy_form.name_label': 'Toy Name',
|
|
'add_toy_form.description_label': 'Description',
|
|
'add_toy_form.category_label': 'Category',
|
|
'add_toy_form.select_category_placeholder': 'Select a category',
|
|
'add_toy_form.price_label': 'Rental Price per Day ($)',
|
|
'add_toy_form.location_label': 'Location (Optional)',
|
|
'add_toy_form.images_label': 'Toy Images (URLs)',
|
|
'add_toy_form.images_description': 'Enter direct URLs to your toy images. Add up to 5 images.',
|
|
'add_toy_form.add_image_button': 'Add Another Image',
|
|
'add_toy_form.availability_label': 'Weekly Availability',
|
|
'add_toy_form.save_button': 'Save Changes',
|
|
'add_toy_form.list_button': 'List My Toy',
|
|
'add_toy_form.saving_button': 'Saving Changes...',
|
|
'add_toy_form.listing_button': 'Listing Toy...',
|
|
'dashboard.rentals.title': 'My Rentals',
|
|
'dashboard.rentals.description': 'Toys you are currently renting from others.',
|
|
'dashboard.rentals.no_rentals_title': 'No Active Rentals',
|
|
'dashboard.rentals.no_rentals_description': "You haven't rented any toys yet. Explore available toys and find your next adventure!",
|
|
'dashboard.rentals.browse_toys_button': 'Browse Toys',
|
|
'dashboard.rentals.rented_from': 'Rented from: {ownerName}',
|
|
'dashboard.rentals.rental_ends': 'Rental ends: {date}',
|
|
'dashboard.rentals.view_toy_details_button': 'View Toy Details',
|
|
'dashboard.rentals.contact_owner_button': 'Contact Owner',
|
|
'dashboard.requests.title': 'Rental Requests',
|
|
'dashboard.requests.description': 'Manage incoming rental requests for your toys.',
|
|
'dashboard.requests.no_requests_title': 'No Rental Requests',
|
|
'dashboard.requests.no_requests_description': 'You currently have no pending rental requests for your toys.',
|
|
'dashboard.requests.no_requests_content': 'When someone requests to rent one of your toys, it will appear here.',
|
|
'dashboard.requests.requested_by': 'Requested by',
|
|
'dashboard.requests.dates': 'Dates',
|
|
'dashboard.requests.message': 'Message',
|
|
'dashboard.requests.approve_button': 'Approve',
|
|
'dashboard.requests.decline_button': 'Decline',
|
|
'dashboard.requests.message_requester_button': 'Message Requester',
|
|
'dashboard.requests.view_toy_listing_button': 'View Toy Listing',
|
|
'dashboard.requests.status_pending': 'Pending',
|
|
'dashboard.requests.status_approved': 'Approved',
|
|
'dashboard.requests.status_declined': 'Declined',
|
|
'owner_toys.title_specific': "{ownerName}'s Toy Collection",
|
|
'owner_toys.title_generic': "Owner's Toy Collection",
|
|
'owner_toys.about_owner': "About {ownerName}",
|
|
'owner_toys.no_toys_listed_by': '{ownerName} has not listed any toys yet.',
|
|
'owner_toys.owner_not_found': 'Owner profile not found or they have no toys listed.',
|
|
'owner_toys.back_to_home': 'Back to Home',
|
|
'owner_toys.unknown_owner': 'Unknown Owner',
|
|
'owner_toys.unknown_owner_simple': 'This Owner',
|
|
'toy_categories.educational': 'Educational',
|
|
'toy_categories.vehicles': 'Vehicles',
|
|
'toy_categories.electronics': 'Electronics',
|
|
'toy_categories.plush_toys': 'Plush Toys',
|
|
'toy_categories.musical': 'Musical',
|
|
'toy_categories.outdoor': 'Outdoor',
|
|
'toy_categories.board_games': 'Board Games',
|
|
'toy_categories.action_figures': 'Action Figures',
|
|
'toy_categories.dolls': 'Dolls',
|
|
'toy_categories.puzzles': 'Puzzles',
|
|
'toy_categories.arts_crafts': 'Arts & Crafts',
|
|
'toy_categories.building_blocks': 'Building Blocks',
|
|
'admin.layout.loading': 'Loading Admin Panel...',
|
|
'admin.layout.unauthorized_title': 'Unauthorized Access',
|
|
'admin.layout.unauthorized_description': 'You do not have permission to access this page.',
|
|
'admin.layout.back_to_home_button': 'Back to Home',
|
|
'admin.sidebar.title': 'ToyShare Admin',
|
|
'admin.sidebar.management_console': 'Management Console',
|
|
'admin.sidebar.navigation': 'Navigation',
|
|
'admin.sidebar.overview': 'Overview',
|
|
'admin.sidebar.site_settings': 'Site Settings',
|
|
'admin.sidebar.user_management': 'User Management',
|
|
'admin.sidebar.toy_management': 'Toy Management',
|
|
'admin.sidebar.account': 'Account',
|
|
'admin.sidebar.back_to_dashboard': 'Back to Dashboard',
|
|
'admin.sidebar.logout': 'Logout',
|
|
'admin.overview.title': 'Admin Overview',
|
|
'admin.overview.description': 'Welcome to the ToyShare Admin Panel.',
|
|
'admin.overview.quick_stats': 'Quick Stats',
|
|
'admin.overview.total_users': 'Total Users',
|
|
'admin.overview.total_toys': 'Total Toys',
|
|
'admin.overview.pending_requests': 'Pending Rental Requests',
|
|
'admin.overview.manage_users_button': 'Manage Users',
|
|
'admin.overview.manage_toys_button': 'Manage Toys',
|
|
'admin.overview.go_to_site_settings_button': 'Go to Site Settings',
|
|
'admin.site_settings.title': 'Site Settings',
|
|
'admin.site_settings.description': 'Manage global site settings and toy categories.',
|
|
'admin.site_settings.general_settings_card_title': 'General Settings',
|
|
'admin.site_settings.current_title_label': 'Current Site Title',
|
|
'admin.site_settings.new_title_label': 'New Site Title',
|
|
'admin.site_settings.save_title_button': 'Save Site Title',
|
|
'admin.site_settings.toy_category_card_title': 'Toy Category Management',
|
|
'admin.site_settings.current_categories_label': 'Current Categories',
|
|
'admin.site_settings.no_categories_yet': 'No categories defined yet.',
|
|
'admin.site_settings.remove_category_button': 'Remove',
|
|
'admin.site_settings.new_category_label': 'New Category Name',
|
|
'admin.site_settings.add_category_button': 'Add Category',
|
|
'admin.site_settings.category_name_placeholder': 'Enter category name',
|
|
'admin.site_settings.save_categories_button': 'Save Categories',
|
|
'admin.site_settings.categories_saved_toast': 'Toy categories (mock) saved!',
|
|
'admin.site_settings.title_saved_toast': 'Site title (mock) saved!',
|
|
'admin.users.title': 'User Management',
|
|
'admin.users.description': 'View and manage user accounts and permissions.',
|
|
'admin.users.table_header_name': 'Name',
|
|
'admin.users.table_header_email': 'Email',
|
|
'admin.users.table_header_role': 'Role',
|
|
'admin.users.table_header_actions': 'Actions',
|
|
'admin.users.edit_button': 'Edit',
|
|
'admin.users.no_users_found': 'No users found.',
|
|
'admin.toys.title': 'Toy Management',
|
|
'admin.toys.description': 'View and manage all toy listings in the system.',
|
|
'admin.toys.table_header_name': 'Toy Name',
|
|
'admin.toys.table_header_owner': 'Owner',
|
|
'admin.toys.table_header_category': 'Category',
|
|
'admin.toys.table_header_actions': 'Actions',
|
|
'admin.toys.edit_button': 'Edit Toy',
|
|
'admin.toys.no_toys_found': 'No toys found.',
|
|
'dashboard.rental_history.title': 'My Rental History',
|
|
'dashboard.rental_history.description': 'View your past toy rentals.',
|
|
'dashboard.rental_history.no_history_title': 'No Rental History Yet',
|
|
'dashboard.rental_history.no_history_description': 'Once you rent and return toys, they will appear here.',
|
|
'dashboard.rental_history.browse_toys_button': 'Browse Toys to Rent',
|
|
'rental_history_card.rented_from': 'Rented from',
|
|
'rental_history_card.rental_period': 'Rental Period',
|
|
'rental_history_card.status': 'Status',
|
|
'rental_history_card.cost': 'Total Cost',
|
|
'rental_history_card.view_toy_button': 'View Toy',
|
|
'rental_history_card.status_completed': 'Completed',
|
|
'rental_history_card.status_returned': 'Returned',
|
|
} as const;
|