Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 29 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ProctoringTextConverter | |
0.00% |
0 / 29 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getTextRegistry | |
0.00% |
0 / 29 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; under version 2 |
| 7 | * of the License (non-upgradable). |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | * |
| 18 | * Copyright (c) 2016 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | namespace oat\taoProctoring\model\textConverter; |
| 23 | |
| 24 | use oat\tao\model\textConverter\TextConverterService; |
| 25 | |
| 26 | class ProctoringTextConverter extends TextConverterService |
| 27 | { |
| 28 | public const SERVICE_ID = 'taoProctoring/textConverter'; |
| 29 | |
| 30 | /** |
| 31 | * Return the translation of key |
| 32 | * |
| 33 | * @return array |
| 34 | */ |
| 35 | public function getTextRegistry() |
| 36 | { |
| 37 | return array( |
| 38 | 'Assign administrator' => __('Assign administrator'), |
| 39 | 'Assign proctors' => __('Assign proctors'), |
| 40 | // phpcs:disable Generic.Files.LineLength |
| 41 | 'Please select one or more test site to manage proctors' => __('Please select one or more test site to manage proctors'), |
| 42 | // phpcs:enable Generic.Files.LineLength |
| 43 | 'Create Proctor' => __('Create Proctor'), |
| 44 | // phpcs:disable Generic.Files.LineLength |
| 45 | 'Create and authorize a proctor to the selected test sites' => __('Create and authorize a proctor to the selected test sites'), |
| 46 | // phpcs:enable Generic.Files.LineLength |
| 47 | 'Manage Proctors' => __('Manage Proctors'), |
| 48 | 'Define sub-centers' => __('Define sub-centers'), |
| 49 | 'The proctors will be authorized. Continue ?' => __('The proctors will be authorized. Continue ?'), |
| 50 | 'The proctors will be revoked. Continue ?' => __('The proctors will be revoked. Continue ?'), |
| 51 | 'The proctor will be authorized. Continue ?' => __('The proctor will be authorized. Continue ?'), |
| 52 | 'The proctor will be revoked. Continue ?' => __('The proctor will be revoked. Continue ?'), |
| 53 | 'Authorized proctors' => __('Authorized proctors'), |
| 54 | 'Partially authorized proctors' => __('Partially authorized proctors'), |
| 55 | 'No assigned proctors' => __('No assigned proctors'), |
| 56 | 'Assigned proctors' => __('Assigned proctors'), |
| 57 | 'Creates and authorizes proctor' => __('Creates and authorizes proctor'), |
| 58 | 'Authorize the selected proctors' => __('Authorize the selected proctors'), |
| 59 | 'Authorize the proctor' => __('Authorize the proctor'), |
| 60 | 'Revoke authorization for the selected proctors' => __('Revoke authorization for the selected proctor'), |
| 61 | 'Revoke the proctor' => __('Revoke the proctor'), |
| 62 | 'Proctors authorized' => __('Proctors authorized'), |
| 63 | 'Proctors revoked' => __('Proctors revoked'), |
| 64 | 'Proctor created' => __('Proctor created'), |
| 65 | 'No proctors in request param' => __('No proctors in request param'), |
| 66 | 'Test site %s' => __('Test site %s'), |
| 67 | 'Test center saved' => __('Test center saved'), |
| 68 | 'Edit test center' => __('Edit test center') |
| 69 | ); |
| 70 | } |
| 71 | } |