Index: trunk/extensions/EducationProgram/actions/EPRestoreAction.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | * @licence GNU GPL v3+ |
14 | 14 | * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
15 | 15 | */ |
16 | | -abstract class EPRestoreAction extends FormlessAction { |
| 16 | +class EPRestoreAction extends FormlessAction { |
17 | 17 | |
18 | 18 | /** |
19 | 19 | * (non-PHPdoc) |
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php |
— | — | @@ -483,6 +483,34 @@ |
484 | 484 | 'orgpage-delete-delete-button' => 'Delete institution', |
485 | 485 | 'orgpage-delete-none' => 'There is no institution titled "$1". Existing institutions can be found in [[Special:Courses|the institution list]].', |
486 | 486 | |
| 487 | + // Institution restoration |
| 488 | + 'orgpage-eprestore-title' => 'Restore institution "$1"', |
| 489 | + 'orgpage-eprestore-text' => 'You are about to restore institution $1 to a previous revision.', |
| 490 | + 'orgpage-eprestore-summary' => 'Reason for restoration:', |
| 491 | + 'orgpage-eprestore-restore-button' => 'Restore revision', |
| 492 | + 'orgpage-eprestore-cancel-button' => 'Cancel', |
| 493 | + |
| 494 | + // Course restoration |
| 495 | + 'coursepage-eprestore-title' => 'Restore course "$1"', |
| 496 | + 'coursepage-eprestore-text' => 'You are about to restore course $1 to a previous revision.', |
| 497 | + 'coursepage-eprestore-summary' => 'Reason for restoration:', |
| 498 | + 'coursepage-eprestore-restore-button' => 'Restore revision', |
| 499 | + 'coursepage-eprestore-cancel-button' => 'Cancel', |
| 500 | + |
| 501 | + // Institution undo revision |
| 502 | + 'orgpage-epundo-title' => 'Undo revision of institution "$1"', |
| 503 | + 'orgpage-epundo-text' => 'You are about undo a single revison of institution $1.', |
| 504 | + 'orgpage-epundo-summary' => 'Reason for revert:', |
| 505 | + 'orgpage-epundo-undo-button' => 'Undo revision', |
| 506 | + 'orgpage-epundo-cancel-button' => 'Cancel', |
| 507 | + |
| 508 | + // Course undo revision |
| 509 | + 'coursepage-epundo-title' => 'Undo revision of course "$1"', |
| 510 | + 'coursepage-epundo-text' => 'You are about undo a single revison of course $1.', |
| 511 | + 'coursepage-epundo-summary' => 'Reason for revert:', |
| 512 | + 'coursepage-epundo-undo-button' => 'Undo revision', |
| 513 | + 'coursepage-epundo-cancel-button' => 'Cancel', |
| 514 | + |
487 | 515 | // Special:Ambassador |
488 | 516 | 'ep-ambassador-does-not-exist' => 'There is no ambassador with name "$1". See [[Special:Ambassadors|here]] for a list of ambassadors.', |
489 | 517 | 'ep-ambassador-title' => 'Ambassador: $1', |