194 lines
12 KiB
PHP
194 lines
12 KiB
PHP
<?php
|
|
|
|
/*
|
|
* AVSDev UF Organisations (https://avsdev.uk)
|
|
*
|
|
* @link https://git.avsdev.uk/avsdev/sprinkle-organisations
|
|
* @license https://git.avsdev.uk/avsdev/sprinkle-organisations/blob/master/LICENSE.md (LGPL-3.0 License)
|
|
*/
|
|
|
|
/**
|
|
* US English message token translations for the 'organisations' sprinkle.
|
|
*
|
|
* @author Craig Williams (https://avsdev.uk)
|
|
*/
|
|
return [
|
|
'ORGANISATION' => [
|
|
1 => 'Organisation',
|
|
2 => 'Organisations',
|
|
|
|
'PAGE_DESCRIPTION' => 'A listing of the organisations for your site. Provides management tools for editing and deleting organisations.',
|
|
'DELETED_PAGE_DESCRIPTION' => 'A listing of the deleted organisations for your site. Provides management tools for restoring and permenently deleting organisations.',
|
|
'INFO_PAGE' => 'Organisation information page for {{name}}',
|
|
'SUMMARY' => 'Organisation Summary',
|
|
|
|
'CREATE' => 'Create organisation',
|
|
'CREATION_SUCCESSFUL' => 'Successfully created organisation <strong>{{name}}</strong>',
|
|
|
|
'EDIT' => 'Edit organistion',
|
|
'UPDATE' => 'Details updated for organistion <strong>{{name}}</strong>',
|
|
|
|
'JOIN_SUCCESSFUL' => 'Successfully joined organisation <strong>{{name}}</strong>',
|
|
|
|
'LEAVE' => 'Leave organisation',
|
|
'LEAVE_CONFIRM' => 'Are you sure you want to leave the organisation <strong>{{name}}</strong>?',
|
|
'LEAVE_YES' => 'Yes, leave organisation.',
|
|
'LEAVE_SUCCESSFUL' => 'Successfully left organisation <strong>{{name}}</strong>',
|
|
|
|
'MERGE' => 'Merge organisation',
|
|
'MERGE_INFORM' => 'Select an organisation from the list below to merge organisation <strong>{{name}}</strong> into. All users of organisation <strong>{{name}}</strong> will be moved into the chosen organisation.',
|
|
'MERGE_SUCCESSFUL' => 'Successfully merged organisation <strong>{{source}}</strong> into organisation <strong>{{target}}</strong>.',
|
|
|
|
'DELETE' => 'Delete organisation',
|
|
'DELETE_CONFIRM' => 'Are you sure you want to delete the organisation <strong>{{name}}</strong>?',
|
|
'DELETE_YES' => 'Yes, delete organisation',
|
|
'DELETION_SUCCESSFUL' => 'Successfully deleted organisation <strong>{{name}}</strong>',
|
|
|
|
'MEMBER_COUNT' => '# Members <sub>(excl admins)</sub>',
|
|
'ADMIN_COUNT' => '# Admins',
|
|
|
|
'SELF' => 'My Organisations',
|
|
'MANAGE' => 'Manage Organisations',
|
|
'ASSIGN_NEW' => 'Assign to organisation',
|
|
|
|
'RESTORE_DELETED' => 'Restore organisation',
|
|
'RESTORE_SUCCESSFUL' => 'Successfully restored organistion <strong>{{name}}</strong>',
|
|
'PERMENENT_DELETE' => 'Permenetly delete organisation',
|
|
'PERMENENT_DELETE_CONFIRM' => 'Are you sure you want to <strong>permenently</strong> delete the organisation <strong>{{name}}</strong>?',
|
|
'PERMENENT_DELETE_YES' => 'Yes, permenently delete organisation',
|
|
'PERMENENT_DELETION_SUCCESSFUL' => 'Successfully permenently deleted organisation <strong>{{name}}</strong>',
|
|
|
|
'NOT_A_MEMBER' => 'You are not a member of organisation <strong>{{name}}</strong>.',
|
|
'ALREADY_IN_ONE' => 'You are already in an organisation.',
|
|
|
|
'NAME' => [
|
|
1 => 'Organisation name',
|
|
|
|
'EXPLAIN' => 'Please enter a name for the organisation',
|
|
'IN_USE' => 'Organisation name <strong>{{name}}</strong> is already in use.',
|
|
'IN_USE_REGISTER' => 'Organisation name <strong>{{name}}</strong> is already in use. Perhaps you would like to request to join it instead?',
|
|
],
|
|
'SLUG' => [
|
|
'IN_USE' => 'Organisation slug <strong>{{slug}}</strong> is already in use.',
|
|
],
|
|
'REGISTRATION' => [
|
|
'REGISTER' => 'Register organisation',
|
|
'SUCCESSFUL' => 'Successfully registered organisation <strong>{{name}}</strong>',
|
|
|
|
'ALREADY_IN_ONE' => 'You cannot register a new organisation because you are already in another organisation. (only one organisation allowed)',
|
|
|
|
'CANCEL' => 'Cancel organisation registration',
|
|
'CANCEL_CONFIRM' => 'Are you sure you want to cancel the registration request for organisation <strong>{{name}}</strong>?',
|
|
'CANCEL_YES' => 'Yes, cancel organisation registration',
|
|
'CANCEL_SUCCESSFUL' => 'Successfully cancelled registration of organisation <strong>{{name}}</strong>',
|
|
|
|
'PENDING' => 'This organisation is pending approval!',
|
|
'TOKEN_NOT_FOUND' => 'Approval token does not exist / Organisation registration has already been approved/denied.',
|
|
'APPROVED' => 'You have successfully approved the registration of organisation <strong>{{name}}</strong>.',
|
|
'DENIED' => 'You have successfully denied the registration of organisation <strong>{{name}}</strong>.',
|
|
'APPROVE' => 'Approve organisation registration',
|
|
'DENY' => 'Deny organisation registration',
|
|
],
|
|
'JOIN_REQUEST' => [
|
|
'SUBMIT_SUCCESSFUL' => 'Request to join organisation <strong>{{name}}</strong> sent',
|
|
|
|
'ALREADY_IN_ONE' => 'You cannot join another organisation because you are already in one (only one organisation allowed).',
|
|
|
|
'REQUEST' => 'Request to join organisation',
|
|
|
|
'CANCEL' => 'Cancel request to join organisation',
|
|
'CANCEL_CONFIRM' => 'Are you sure you want to cancel your request to join the organisation <strong>{{name}}</strong>?',
|
|
'CANCEL_YES' => 'Yes, cancel request',
|
|
'CANCEL_SUCCESSFUL' => 'Successfully cancelled request to join organisation <strong>{{name}}</strong>',
|
|
|
|
'ACCEPT' => 'Accept join request',
|
|
'ACCEPT_CONFIRM' => 'Are you sure you want to accept the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{name}}</strong>?',
|
|
'ACCEPT_CONFIRM_EXTRA' => 'This will allow them to submit noise records on the organisation\'s behalf, view other members and make agent requests.',
|
|
'ACCEPT_YES' => 'Yes, accept request',
|
|
'ACCEPT_SUCCESSFUL' => 'Successfully accepted the request made by user <strong>{{user_name}}</strong> to join organisation <strong>{{name}}</strong>',
|
|
|
|
'REJECT' => 'Reject join request',
|
|
'REJECT_CONFIRM' => 'Are you sure you want to reject the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{name}}</strong>?',
|
|
'REJECT_CONFIRM_EXTRA' => 'The requester will be notified of your rejection.',
|
|
'REJECT_YES' => 'Yes, reject request',
|
|
'REJECT_SUCCESSFUL' => 'Successfully rejected the request made by user <strong>{{user_name}}</strong> to join organisation <strong>{{name}}</strong>',
|
|
|
|
'ALREADY_MEMBER' => 'You are already a member of the organisation <strong>{{name}}</strong>.',
|
|
'REQUEST_PENDING' => 'You have already requested to join organisation <strong>{{name}}</strong>. Your request is awaiting approval.',
|
|
'NO_REQUEST' => 'You have no pending requests to join organisation <strong>{{name}}</strong>.',
|
|
|
|
'TOKEN_NOT_FOUND' => 'User join request token does not exist / user join request has already been accepted/rejected.',
|
|
'ACCEPTED' => 'You have successfully accepted the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{organisation_name}}</strong>.',
|
|
'REJECTED' => 'You have successfully rejected the request from user <strong>{{user_name}}</strong> to join organisation <strong>{{organisation_name}}</strong>.',
|
|
|
|
'ACCEPT' => 'Accept request to join',
|
|
'REJECT' => 'Reject request to join',
|
|
],
|
|
'MEMBER' => [
|
|
'NOT_FOUND' => 'User <strong>{{user_name}}</strong> is not a member of organisation <strong>{{name}}</strong>',
|
|
'NOT_AN_ADMIN' => 'User <strong>{{user_name}}</strong> is not an administrator of organisation <strong>{{name}}</strong>',
|
|
'ALREADY_AN_ADMIN' => 'User <strong>{{user_name}}</strong> is already an administrator of organisation <strong>{{name}}</strong>',
|
|
|
|
'REMOVE' => 'Remove member from organisation',
|
|
'REMOVE_CONFIRM' => 'Are you sure you want to remove member <strong>{{user_name}}</strong> from the organisation <strong>{{name}}</strong>?',
|
|
'REMOVE_YES' => 'Yes, remove member',
|
|
'REMOVE_SUCCESSFUL' => 'Successfully removed member <strong>{{user_name}}</strong> from organisation <strong>{{name}}</strong>',
|
|
|
|
'PROMOTE_CONFIRM' => 'Are you sure you wish to promote member <strong>{{user_name}}</strong> to be an administrator of organisation <strong>{{name}}</strong>?',
|
|
'PROMOTE_CONFIRM_EXTRA' => 'Once promoted they will be able to manage members and agents (edit, accept, reject, remove) on the organisation\'s behalf.',
|
|
'PROMOTE_YES' => 'Yes, promote member',
|
|
'PROMOTE_SUCCESSFUL' => 'Successfully promoted member <strong>{{user_name}}</strong> to an administrator of organisation <strong>{{name}}</strong>',
|
|
|
|
'DEMOTE_CONFIRM' => 'Are you sure you wish to demote administrator <strong>{{user_name}}</strong> from being an administrator of organisation <strong>{{name}}</strong>?',
|
|
'DEMOTE_CONFIRM_EXTRA' => 'Once demoted they will no longer be able to manage members and agents on the organisation\'s behalf.',
|
|
'DEMOTE_YES' => 'Yes, demote administrator',
|
|
'DEMOTE_SUCCESSFUL' => 'Successfully demoted administrator <strong>{{user_name}}</strong> from being an administrator of organisation <strong>{{name}}</strong>',
|
|
],
|
|
],
|
|
|
|
'MEMBER' => [
|
|
1 => 'Member',
|
|
2 => 'Members',
|
|
|
|
'REMOVE' => 'Remove member',
|
|
|
|
'PROMOTE' => 'Promote to administrator',
|
|
'DEMOTE' => 'Demote to member',
|
|
|
|
'EDIT' => 'Edit member',
|
|
'CHANGE_PASSWORD' => 'Change member password',
|
|
],
|
|
|
|
'ADMIN' => [
|
|
1 => 'Administrator',
|
|
2 => 'Administrators',
|
|
],
|
|
|
|
'MERGE' => 'Merge',
|
|
'MERGE_INTO' => 'Merge into',
|
|
'MERGE_CANNOT_UNDONE' => 'This action cannot be undone.',
|
|
|
|
'SOURCE_SLUG' => 'Source Slug',
|
|
'TARGET_SLUG' => 'Target Slug',
|
|
'SLUG_NOT_IN_USE' => 'A <strong>{{slug}}</strong> slug does not exist',
|
|
|
|
'CANCEL_REGISTRATION' => 'Cancel registration request',
|
|
'APPROVED' => 'Approved',
|
|
'PENDING' => 'Pending',
|
|
'APPROVE' => 'Approve',
|
|
'DENY' => 'Deny',
|
|
'ACCEPTED' => 'Accepted',
|
|
'REJECTED' => 'Rejected',
|
|
|
|
'VIEW_DELETED' => 'View deleted',
|
|
'DELETED' => 'Deleted',
|
|
'RETURN' => 'Return',
|
|
|
|
'JOIN' => 'Join',
|
|
'LEAVE' => 'Leave',
|
|
|
|
'ACTION_CANNOT_UNDONE' => 'This action cannot be undone!',
|
|
|
|
'IS_ADMINISTRATOR' => 'Administrator?',
|
|
];
|