115 lines
5.4 KiB
PHP
115 lines
5.4 KiB
PHP
<?php
|
|
$translations = [
|
|
'app_title' => 'Task-Based Marketplace',
|
|
'home' => 'Home',
|
|
'post_task' => 'Post a Task',
|
|
'manage_tasks' => 'Manage Your Tasks',
|
|
'my_applications' => 'My Applications',
|
|
'my_profile' => 'My Profile',
|
|
'logout' => 'Logout',
|
|
'login' => 'Login',
|
|
'signup' => 'Sign Up',
|
|
'search_tasks' => 'Search for tasks...',
|
|
'search' => 'Search',
|
|
'task_title' => 'Title',
|
|
'task_description' => 'Description',
|
|
'task_budget' => 'Budget',
|
|
'posted_by' => 'Posted by',
|
|
'apply' => 'Apply',
|
|
'task_details' => 'Task Details',
|
|
'all_tasks' => 'All Tasks',
|
|
'delete' => 'Delete',
|
|
'whatsapp_number' => 'WhatsApp Number',
|
|
'submit_application' => 'Submit Application',
|
|
'application_submitted' => 'Application Submitted',
|
|
'accept' => 'Accept',
|
|
'accepted' => 'Accepted',
|
|
'rejected' => 'Rejected',
|
|
'pending' => 'Pending',
|
|
'view_details' => 'View Details',
|
|
'no_tasks' => 'No tasks found.',
|
|
'no_applications' => 'No one has applied to this task yet.',
|
|
'no_tasks_posted' => 'You have not posted any tasks yet.',
|
|
'no_applications_submitted' => 'You have not applied to any tasks yet.',
|
|
'english' => 'English',
|
|
'arabic' => 'Arabic',
|
|
'hero_title' => 'Get anything done, today.',
|
|
'hero_subtitle' => 'The best place to find quick help for your daily tasks.',
|
|
'available_tasks' => 'Available Tasks',
|
|
'search_keywords' => 'Keywords...',
|
|
'search_category' => 'Category...',
|
|
'search_location' => 'Location...',
|
|
'no_tasks_found_criteria' => 'No tasks found matching your criteria. Try broadening your search!',
|
|
'login_title' => 'Login',
|
|
'email_label' => 'Email',
|
|
'password_label' => 'Password',
|
|
'login_button' => 'Login',
|
|
'no_account_prompt' => "Don't have an account?",
|
|
'signup_link' => 'Sign up',
|
|
'error_all_fields' => 'Please fill in all fields.',
|
|
'error_invalid_credentials' => 'Invalid email or password.',
|
|
'signup_title' => 'Create an Account',
|
|
'full_name_label' => 'Full Name',
|
|
'email_address_label' => 'Email Address',
|
|
'phone_number_label' => 'Phone Number',
|
|
'confirm_password_label' => 'Confirm Password',
|
|
'signup_button' => 'Sign Up',
|
|
'error_full_name_required' => 'Full name is required.',
|
|
'error_email_required' => 'Email is required.',
|
|
'error_invalid_email' => 'Invalid email format.',
|
|
'error_phone_required' => 'Phone number is required.',
|
|
'error_password_required' => 'Password is required.',
|
|
'error_passwords_no_match' => 'Passwords do not match.',
|
|
'error_email_exists' => 'A user with this email already exists.',
|
|
'error_database' => 'Database error. Please try again later.',
|
|
'profile_title' => "%s's Profile",
|
|
'member_since' => 'Member Since: %s',
|
|
'whatsapp_updated_success' => 'Your WhatsApp number has been updated successfully.',
|
|
'whatsapp_update_failed' => 'Failed to update WhatsApp number.',
|
|
'my_contact_info' => 'My Contact Information',
|
|
'whatsapp_number_label' => 'WhatsApp Number',
|
|
'whatsapp_placeholder' => 'Enter your WhatsApp number...',
|
|
'whatsapp_help_text' => 'This will only be shared with users whose applications you accept.',
|
|
'save_button' => 'Save',
|
|
'posted_tasks' => 'Posted Tasks',
|
|
'no_posted_tasks' => '%s has not posted any tasks yet.',
|
|
'completed_tasks' => 'Completed Tasks',
|
|
'no_completed_tasks' => '%s has not completed any tasks yet.',
|
|
'task_status' => 'Status',
|
|
'task_payout' => 'Payout',
|
|
'post_new_task_title' => 'Post a New Task',
|
|
'task_title_label' => 'Task Title',
|
|
'description_label' => 'Description',
|
|
'category_label' => 'Category',
|
|
'location_label' => 'Location',
|
|
'payout_label' => 'Payout',
|
|
'post_task_button' => 'Post Task',
|
|
'error_task_required_fields' => 'Title, description, and payout are required.',
|
|
'manage_tasks_title' => 'Manage Your Tasks',
|
|
'manage_tasks_description' => "Here are the tasks you've posted. Click on a task to view and manage applications.",
|
|
'no_posted_tasks_link' => 'You have not posted any tasks yet. <a href="post-task.php">Post one now!</a>',
|
|
'task_status_label' => 'Status',
|
|
'delete_task_confirm' => 'Are you sure you want to delete this task?',
|
|
'my_applications_title' => 'My Applications',
|
|
'my_applications_description' => "Here are the tasks you've applied for and their current status.",
|
|
'no_applications_yet' => 'You have not applied for any tasks yet.',
|
|
'posted_by_label' => 'Posted by',
|
|
'task_details_title' => 'Task Details',
|
|
'budget_label' => 'Budget',
|
|
'posted_on_label' => 'Posted on',
|
|
'applicants_title' => 'Applicants',
|
|
'add_whatsapp_prompt' => 'Please <a href="/profile.php?id={$_SESSION['user_id']}">add your WhatsApp number</a> to your profile before accepting applications.',
|
|
'no_applicants_yet' => 'No applications yet.',
|
|
'accept_button' => 'Accept',
|
|
'my_application_title' => 'My Application',
|
|
'application_accepted_message' => 'Congratulations! Your application was accepted.',
|
|
'contact_owner_whatsapp' => 'Contact the task owner on WhatsApp: <strong>%s</strong>',
|
|
'application_status_label' => 'Your application status is',
|
|
'apply_now_button' => 'Apply Now',
|
|
'manage_task_title' => 'Manage Task',
|
|
'reject_button' => 'Reject',
|
|
'back_to_my_tasks' => 'Back to All My Tasks',
|
|
'application_rejected_message' => 'Application rejected.',
|
|
'applicant_awarded' => 'This applicant was awarded the task.',
|
|
];
|