'error.format' => 'Invalid file format.',
'error.user_count' => 'Limit on user count.',
'error.expired' => 'Expiration date reached.',
+'error.file_storage' => 'File storage error.',
// Warning messages.
'warn.sure' => 'Are you sure?',
'label.approved' => 'Approved',
'label.approval' => 'Report approval',
'label.mark_approved' => 'Mark approved',
+'label.template' => 'Template',
+'label.attachments' => 'Attachments',
+'label.files' => 'Files',
+'label.image' => 'Image',
+'label.download' => 'Download',
// Form titles.
'title.error' => 'Error',
'title.time' => 'Time',
'title.edit_time_record' => 'Editing Time Record',
'title.delete_time_record' => 'Deleting Time Record',
+'title.time_files' => 'Time Record Files',
'title.expenses' => 'Expenses',
'title.edit_expense' => 'Editing Expense Item',
'title.delete_expense' => 'Deleting Expense Item',
'title.send_invoice' => 'Sending Invoice',
'title.charts' => 'Charts',
'title.projects' => 'Projects',
+'title.project_files' => 'Project Files',
'title.add_project' => 'Adding Project',
'title.edit_project' => 'Editing Project',
'title.delete_project' => 'Deleting Project',
'title.week_view' => 'Week View',
'title.swap_roles' => 'Swapping Roles',
'title.work_units' => 'Work Units',
+'title.templates' => 'Templates',
+'title.add_template' => 'Adding Template',
+'title.edit_template' => 'Editing Template',
+'title.delete_template' => 'Deleting Template',
+'title.edit_file' => 'Editing File',
+'title.delete_file' => 'Deleting File',
+'title.download_file' => 'Downloading File',
// Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
// Strings that are used in a single form must go to the specific form section.
'form.timesheets.active_timesheets' => 'Active Timesheets',
'form.timesheets.inactive_timesheets' => 'Inactive Timesheets',
+ // Templates form. See example at https://timetracker.anuko.com/templates.php
+'form.templates.active_templates' => 'Active Templates',
+'form.templates.inactive_templates' => 'Inactive Templates',
+
// Invoice form. See example at https://timetracker.anuko.com/invoice.php
// (you can get to this form after generating a report).
'form.invoice.number' => 'Invoice number',
'role.admin.description' => 'Site adminsitrator.',
// Timesheet View form. See example at https://timetracker.anuko.com/timesheet_view.php.
-// TODO: improve wording, then fill in other translation files.
'form.timesheet_view.submit_subject' => 'Timesheet approval request',
'form.timesheet_view.submit_body' => "A new timesheet requires approval.<p>User: %s.",
'form.timesheet_view.approve_subject' => 'Timesheet approved',
-'form.timesheet_view.approve_body' => "Dear User,\n\nYour timesheet %s was approved.",
+'form.timesheet_view.approve_body' => "Your timesheet %s was approved.<p>%s",
'form.timesheet_view.disapprove_subject' => 'Timesheet not approved',
-'form.timesheet_view.disapprove_subject' => "Dear User,\n\nYour timesheet %s was not approved.\n\n%s",
-'form.timesheet_view.success_message' => 'Notification sent by email.',
+'form.timesheet_view.disapprove_body' => "Your timesheet %s was not approved.<p>%s",
);