Fixed an oversight in the logic in one of the steps to update and create shifts from the timesheet approval page, which led to update or create requests being sent with the users credentials instead of the employees
494 lines
22 KiB
TypeScript
494 lines
22 KiB
TypeScript
export default {
|
|
chatbot: {
|
|
chat_header: "AI Assistant",
|
|
chat_initial_message: "Welcome to your technical assistant.\nPlease provide the Customer ID to get a diagnostic report",
|
|
chat_placeholder: "Enter a Message",
|
|
chat_thinking: "Thinking...",
|
|
error: {
|
|
NO_REPLY_RECEIVED: "encountered an error while waiting for chatbot to reply",
|
|
SEND_MESSAGE_FAILED: "unable to send message to chatbot",
|
|
},
|
|
},
|
|
|
|
dashboard: {
|
|
carousel: {
|
|
welcome_title: "Welcome to the new Targo Application!",
|
|
welcome_message: "Development is complete and the application is live! Things have remained mostly the same, but with a new coat of paint, a more streamlined user experience, and most importantly, drastically improved security and optimization!",
|
|
help_title: "We have a help page!",
|
|
help_message: "We've modernized the app while trying to make as few functional changes as possible, but if there's ever any part of the site that leaves you scratching your head, feel free to check out the help page.",
|
|
},
|
|
useful_links: "useful links",
|
|
},
|
|
|
|
help: {
|
|
label: "Centre d'aide",
|
|
tutorial: {
|
|
dashboard: {
|
|
title: "Home Page",
|
|
news_feed: "News Feed",
|
|
chat_bot: "Technical chat-bot",
|
|
notifications: "Notifications",
|
|
},
|
|
personal_profile: {
|
|
title: "Personnal Profile",
|
|
personal_info: "Personal informations",
|
|
professional_info: "Professional informations",
|
|
},
|
|
timesheets: {
|
|
title: "Timesheet",
|
|
create_shift: "Add a new shift",
|
|
update_shift: "Update an existing shift",
|
|
delete_shift: "Removing a shift from the timesheet",
|
|
comment_shift: "Commenting a shift",
|
|
create_expense: "Add a new expense",
|
|
update_expense: "Update an existing expense",
|
|
delete_expense: "Removing an expense from the list",
|
|
|
|
},
|
|
employee_list: {
|
|
title: "Employee List",
|
|
terminated_employees: "Inactive employees",
|
|
},
|
|
employee_management: {
|
|
title: "Employee Management",
|
|
create_employee: "Creating a new employee",
|
|
update_employee: "Updating an existing employee's informations",
|
|
module_access: "App managing access tool",
|
|
schedule_preset: "Schedule preset management",
|
|
terminating_employee: "terminate an employee",
|
|
},
|
|
timesheets_approval: {
|
|
title: "Timesheets approval",
|
|
approval: "timesheet approvals",
|
|
inspect: "Inspect timesheets",
|
|
comment_expense: "Commenting an expense",
|
|
},
|
|
shared: {
|
|
search: "Advance search",
|
|
preferences: "Display mode",
|
|
calendar: "Navigation using the calendar",
|
|
display: "Display as cards or as a list"
|
|
},
|
|
},
|
|
},
|
|
|
|
employee_list: {
|
|
page_header: "Employee Directory",
|
|
table: {
|
|
first_name: "First name",
|
|
last_name: "Last name",
|
|
email: "Email",
|
|
phone_number: "Phone number",
|
|
role: "Role",
|
|
supervisor: "Supervisor",
|
|
company: "Company",
|
|
is_supervisor: "is a supervisor",
|
|
expected_daily_hours: "Expected Daily Hours",
|
|
active: "active",
|
|
inactive: "inactive",
|
|
},
|
|
errors: {
|
|
first_name_required: "Employee's first name is required",
|
|
last_name_required: "Employee's last name is required",
|
|
company_required: "Employee must be assigned to a company",
|
|
phone_number_required: "Employee's phone number required",
|
|
hire_date_required: "Employee's first work day must be entered",
|
|
daily_hours_required: "Provide employee's expected daily hours worked",
|
|
no_modules_warning: "All modules disabled. This will lock the user out.",
|
|
}
|
|
},
|
|
|
|
employee_management: {
|
|
add_employee: "Add employee",
|
|
modify_employee: "Modify employee",
|
|
access_label: "access",
|
|
details_label: "details",
|
|
schedule_label: "schedule",
|
|
can_be_entered_later: "OPTIONAL: can be entered later",
|
|
enter_delete_input: "type 'DELETE' to remove",
|
|
banked_hours: "available banked hours",
|
|
sick_hours: "available PTO hours",
|
|
vacation_hours: "available vacation hours",
|
|
schedule_presets: {
|
|
preset_list_placeholder: "Select a schedule",
|
|
preset_name_placeholder: "schedule preset name",
|
|
delete_warning: "",
|
|
delete_warning_employee_1: "This schedule is used by",
|
|
delete_warning_employee_2: "Deleting this preset will not affect previous timesheets, but they will no longer be able to apply this preset to their timesheets going forward.",
|
|
},
|
|
module_access: {
|
|
dashboard: "Dashboard",
|
|
employee_list: "employee list",
|
|
employee_management: "employee management",
|
|
personal_profile: "profile",
|
|
timesheets: "timesheets",
|
|
timesheets_approval: "timesheet approval",
|
|
chatbot: "chatbot",
|
|
user_access: "module access",
|
|
by_role: "by role",
|
|
by_module: "by module",
|
|
preset_admin: "administrator",
|
|
preset_employee: "employee",
|
|
uncheck_all: "remove all",
|
|
admin_description: "Check all modules",
|
|
employee_description: "Only check modules that are relevant to standard employees with no management access",
|
|
none_description: "Uncheck all modules",
|
|
usage_description: "You can use roles to enable preset modules, add or remove modules individually, or both",
|
|
},
|
|
filter: {
|
|
hide_terminated: "Hide inactive employees",
|
|
sort_by_tags: "sort by tags",
|
|
},
|
|
},
|
|
|
|
error: {
|
|
not_found_header: "page not found",
|
|
not_found_description: "You may have entered the wrong URL, or you may not have access to this page",
|
|
go_back: "go back",
|
|
},
|
|
|
|
login: {
|
|
page_header: "account login",
|
|
email: "e-mail",
|
|
password: "password",
|
|
connected: "Connected",
|
|
redirecting: "Redirecting...",
|
|
button: {
|
|
connect: "connect",
|
|
employee: "employee",
|
|
facebook: "Facebook",
|
|
remember_me: "remember me",
|
|
},
|
|
tooltip: {
|
|
coming_soon: "coming soon!",
|
|
},
|
|
error: {
|
|
login_failed: "Failed to login",
|
|
popups_blocked: "Popups are blocked on this device",
|
|
},
|
|
},
|
|
|
|
nav_bar: {
|
|
home: "homepage",
|
|
employee_list: "employee directory",
|
|
timesheet_approvals: "timesheet approvals",
|
|
timesheet: "timesheet",
|
|
profile: "profile",
|
|
help: "help",
|
|
logout: "log out",
|
|
},
|
|
|
|
profile: {
|
|
personal: {
|
|
tab_title: "personal",
|
|
first_name: "first name",
|
|
last_name: "last name",
|
|
phone_number: "phone number",
|
|
address: "address",
|
|
address_hint: "# address, city, region, country",
|
|
birthdate: "birthdate",
|
|
},
|
|
employee: {
|
|
tab_title: "career",
|
|
email: "e-mail",
|
|
job_title: "job title",
|
|
company: "company",
|
|
supervisor: "supervisor",
|
|
hired_date: "hiring date",
|
|
fired_date: "departure date",
|
|
bankroll_id: "payroll ID",
|
|
},
|
|
preferences: {
|
|
tab_title: "preferences",
|
|
display_options: "Color mode",
|
|
language_options: "language options",
|
|
'fr-FR': "Français",
|
|
'en-CA': "English",
|
|
dark_mode: "dark",
|
|
light_mode: "light",
|
|
auto_mode: "auto",
|
|
update_successful: "Preferences saved",
|
|
update_failed: "Failed to save preferences",
|
|
},
|
|
schedule_presets: {
|
|
tab_title: "Schedule",
|
|
selected_schedule: "Selected Schedule Preset",
|
|
new_preset: "Build a new preset",
|
|
},
|
|
errors: {
|
|
must_enter_birthdate: "You must enter a valid birthdate",
|
|
}
|
|
},
|
|
|
|
shared: {
|
|
error: {
|
|
no_data_found: "no data found",
|
|
no_search_results: "no results matching search",
|
|
generic_error: "An error occured",
|
|
},
|
|
label: {
|
|
search: "search",
|
|
filter: "filters",
|
|
loading: "loading...",
|
|
language: "Language",
|
|
add: "ajouter",
|
|
save: "save",
|
|
remove: "remove",
|
|
cancel: "cancel",
|
|
update: "update",
|
|
modify: "modify",
|
|
close: "close",
|
|
download: "download",
|
|
open: "open",
|
|
day: "day",
|
|
},
|
|
misc: {
|
|
or: "or",
|
|
and: "and",
|
|
to: "to",
|
|
from: "from",
|
|
yes: "yes",
|
|
no: "no",
|
|
in: "in",
|
|
out: "out",
|
|
},
|
|
shift_type: {
|
|
regular: "regular",
|
|
evening: "evening",
|
|
emergency: "emergency",
|
|
overtime: "overtime",
|
|
holiday: "holiday",
|
|
vacation: "vacation",
|
|
sick: "sick",
|
|
remote: "remote work",
|
|
},
|
|
weekday: {
|
|
sun: "dimanche",
|
|
mon: "lundi",
|
|
tue: "mardi",
|
|
wed: "mercredi",
|
|
thu: "jeudi",
|
|
fri: "vendredi",
|
|
sat: "samedi",
|
|
},
|
|
},
|
|
|
|
timesheet: {
|
|
page_header: "Timesheet",
|
|
week: "week",
|
|
total_hours: "total hours: ",
|
|
total_expenses: "total expenses: ",
|
|
vacation_available: "vacation time available: ",
|
|
sick_available: "sick time available: ",
|
|
banked_available: "available banked hours: ",
|
|
current_shifts: "shifts worked",
|
|
apply_preset: "auto-fill",
|
|
apply_preset_day: "Apply schedule to day",
|
|
apply_preset_week: "Apply schedule to week",
|
|
save_successful: "timesheets saved",
|
|
nav_button: {
|
|
calendar_date_picker: "Calendar",
|
|
current_week: "This week",
|
|
next_week: "Next period",
|
|
previous_week: "Previous period",
|
|
},
|
|
shift: {
|
|
actions: {
|
|
add: "Add Shift",
|
|
edit: "Edit shift",
|
|
delete: "Delete shift",
|
|
delete_confirmation_msg: "Delete this shift?",
|
|
},
|
|
types: {
|
|
label: "Shift`s Type",
|
|
EMERGENCY: "Emergency",
|
|
EVENING: "Evening",
|
|
HOLIDAY: "Holiday",
|
|
OVERTIME: "Overtime",
|
|
REGULAR: "Regular",
|
|
SICK: "Sick Leave",
|
|
VACATION: "Vacation",
|
|
REMOTE: "Remote",
|
|
OFFICE: "Office",
|
|
BANKING: "Banking Hours",
|
|
WITHDRAW_BANKED: "Withdrawing Hours",
|
|
},
|
|
fields: {
|
|
start: "Start (HH:mm)",
|
|
end: "End (HH:mm)",
|
|
header_comment: "Shift`s comment",
|
|
textarea_comment: "Leave a comment here",
|
|
},
|
|
},
|
|
expense: {
|
|
add_expense: 'Add Expense',
|
|
amount: 'Amount',
|
|
date: 'Date',
|
|
empty_list: 'No registered expenses',
|
|
employee_comment: 'Comment',
|
|
supervisor_comment: 'Supervisor note',
|
|
hints: {
|
|
amount_or_mileage: "Either amount or mileage, not both",
|
|
comment_required: "A comment required",
|
|
attach_file: "Attach File"
|
|
},
|
|
mileage: "mileage",
|
|
open_btn: "list of expenses",
|
|
title: "List of all expenses",
|
|
total_amount: "Total amount",
|
|
total_mileage: "Total mileage",
|
|
type: "Type",
|
|
types: {
|
|
PER_DIEM: "Per Diem",
|
|
EXPENSES: "expense",
|
|
MILEAGE: "mileage",
|
|
ON_CALL: "on-call allowance",
|
|
},
|
|
},
|
|
errors: {
|
|
EMPLOYEE_NOT_FOUND: "No employee matching current login details",
|
|
EMPTY_SICK_HOURS_BANK: "You don't have enough sick leave available to create this shift",
|
|
EXPENSE_NOT_FOUND: "No expense found with provided data",
|
|
INVALID_EXPENSE: "An expense contains missing or corrupted data",
|
|
INVALID_SHIFT: "A shift contains missing or corrupted data",
|
|
INVALID_SHIFT_TIME: "In and Out shift times are reversed",
|
|
INVALID_TIMESHEET: "Timesheet data is missing or corrupted",
|
|
PAY_PERIOD_NOT_FOUND: "No pay period matching given dates",
|
|
SHIFT_NOT_FOUND: "Shift missing or deleted",
|
|
SHIFT_OVERLAP: "An overlaps occured between 2 or more shifts",
|
|
SHIFT_OVERLAP_SHORT: "Overlap",
|
|
SHIFT_TIME_REQUIRED: "Time missing",
|
|
SHIFT_TYPE_REQUIRED: "Shift type required",
|
|
TIMESHEET_NOT_FOUND: "No timesheet found with provided data",
|
|
UPDATE_ERROR: "Error while updating data",
|
|
ERROR_SAVING_SHIFTS: "Timesheet changes were not saved",
|
|
},
|
|
},
|
|
|
|
timesheet_approvals: {
|
|
page_title: "Validation cartes de temps",
|
|
chart: {
|
|
hours_worked_title: "hours worked",
|
|
expenses_title: "expenses accrued",
|
|
},
|
|
event: {
|
|
update: "has updated",
|
|
create: "has created",
|
|
delete: "has deleted",
|
|
expense: "an expense",
|
|
shift: "a shift",
|
|
preset: "many shifts",
|
|
update_notification: "the data was updated automatically",
|
|
},
|
|
print_report: {
|
|
title: "Download options",
|
|
description: "Choose what to include in the report",
|
|
company: "companies",
|
|
type: "type",
|
|
shifts: "shifts",
|
|
expenses: "expenses",
|
|
options: "options",
|
|
},
|
|
table: {
|
|
full_name: "full name",
|
|
email: "email address",
|
|
is_approved: "approval",
|
|
expenses: "expenses",
|
|
mileage: "mileage",
|
|
verified: "approved",
|
|
unverified: "pending",
|
|
inactive: "inactive",
|
|
regular: "regular",
|
|
evening: "evening",
|
|
emergency: "emergency",
|
|
overtime: "overtime",
|
|
holiday: "holiday",
|
|
vacation: "vacation",
|
|
sick: "sick",
|
|
remote: "remote work",
|
|
weekly_hours_1: "1st week hours",
|
|
weekly_hours_2: "2nd week hours",
|
|
total_hours: "total hours",
|
|
filter_active: "show only active employees",
|
|
filter_team: "show my team only",
|
|
filter_columns: "Information displayed",
|
|
},
|
|
tooltip: {
|
|
button_detailed_view: "detailed view",
|
|
approve: "Approve",
|
|
unapprove: "remove approval",
|
|
},
|
|
},
|
|
|
|
descriptions: {
|
|
dashboard: {
|
|
menu: "To access the main menu, click the button located in the upper-left corner. This menu allows you to navigate through the entire application.",
|
|
news_feed: "General announcements and important updates are displayed here. This view is the same for all employees.",
|
|
notifications: "Notifications are accessible via the bell icon located in the upper-right corner. They allow you to quickly view information relevant to you, \
|
|
such as leave, vacation, or absence requests, overtime hours worked during the current week, \
|
|
and comments left by your supervisor.",
|
|
chat_bot: "To access the bot, simply click on the \"bot\" bubble. The conversational bot allows you to quickly find information about a client, \
|
|
an invoice, or a device.",
|
|
},
|
|
personal_profile: {
|
|
personal_info: "In the \"Personal\" tab, you can view your personal information, such as your name, phone numbers, \
|
|
address, and date of birth.",
|
|
professional_info: "In the \"Career\" tab, you can view your professional information, including your position, the name of the company you work for, \
|
|
your supervisor's name and email address, as well as your hire date.",
|
|
preferences: "In the \"Preferences\" tab, you can adjust certain settings based on your personal preferences, such as dark mode, \
|
|
language, and notifications.",
|
|
},
|
|
timesheets: {
|
|
create_shift: "To add a work shift, click the green \"Add Time\" tab and enter the following required information: \
|
|
the shift type, start time, end time, and whether the shift is on-site or remote. \
|
|
Then click \"Save\", located in the upper-right corner of the time card.",
|
|
update_shift: "To modify a work shift, click the information you want to update, adjust the value, then click \"Save\", \
|
|
located in the upper-right corner of the time card.",
|
|
delete_shift: "To delete a work shift, click the red trash icon associated with the entry.",
|
|
comment_shift: "To leave a comment on a work shift, click the conversation bubble icon located to the right of the shift entry, \
|
|
then click \"Save\" in the upper-right corner of the time card.",
|
|
create_expense: "To add an expense, access the expense list using the button located in the upper-right corner. \
|
|
You must then complete the following fields: the date (today's date is selected by default), the expense type, \
|
|
the amount or mileage, a comment justifying the expense, and attach a supporting document. \
|
|
Then click the \"Add\" button.",
|
|
update_expense: "To modify an expense, access the expense list, select the expense you wish to edit, make the necessary changes, \
|
|
then click \"Update\" to save.",
|
|
delete_expense: "To delete an expense, access the expense list and click the red trash icon.",
|
|
},
|
|
employee_list: {
|
|
terminated_employees: "This option allows you to show or hide employees who are no longer employed.",
|
|
},
|
|
employee_management: {
|
|
create_employee: "To create an employee, access the \"Add Employee\" menu located in the upper-left corner of the employee list. \
|
|
In the \"Details\" tab, first enter all required information, excluding the termination date. \
|
|
Then assign the appropriate access rights to the employee. Optionally, you may assign a preset schedule. \
|
|
Click \"Save\" to confirm the employee creation.",
|
|
update_employee: "To update an employee's information, access rights, or schedule, select the employee's profile and navigate to the appropriate tab. \
|
|
Make the necessary changes, then click \"Update\" to confirm.",
|
|
module_access: "To manage access to different parts of the application, select the desired employee's profile and navigate to the \"Access\" tab. \
|
|
Two selection options are available: by role or by module. If the employee is a supervisor, the \"Administrator\" role is recommended. \
|
|
For a standard employee, the \"Employee\" role is appropriate. Specific modules can also be selected in special cases.",
|
|
schedule_preset: "To assign, modify, or create a schedule for an employee, first select the employee, then navigate to the \"Schedule\" tab in the edit menu. \
|
|
You may select an existing schedule, create a new one by assigning a unique name, or copy an existing schedule, modify it, and rename it. \
|
|
Once satisfied, click \"Update\" to confirm your selection.",
|
|
terminating_employee: "To terminate an employee, select the employee's profile (or row). Once the edit menu is displayed, \
|
|
enter the termination date and click \"Update\".",
|
|
},
|
|
timesheets_approval: {
|
|
approval: "To approve a timesheet, click the bottom of the card where the lock icon is located. In list view, \
|
|
click the lock icon on the right side of the corresponding row.",
|
|
inspect: "To review an employee's work shifts or expenses, click the briefcase icon located in the upper-right corner. \
|
|
You will find statistics on hours worked as well as expenses incurred. Within this window, you may edit work shifts \
|
|
and expenses. Click \"Save\" to confirm the changes.",
|
|
comment_expense: "To leave a comment on an expense submitted by an employee, click the briefcase icon on the desired employee's card. \
|
|
Navigate to the expense list and click the supervisor comment bubble. \
|
|
Click \"Save\" to confirm your comment.",
|
|
},
|
|
shared: {
|
|
display: "This option allows you to choose the display mode that best suits your needs, either card view or detailed list view.",
|
|
search: "An advanced keyword search is available. Simply separate each keyword with a space, and the search bar will return results \
|
|
that include all entered keywords.",
|
|
calendar: "The calendar speeds up navigation. It allows you to select a specific date and display the pay period that includes the selected date.",
|
|
},
|
|
},
|
|
}; |