Location: PHPKode > projects > Course-manager > courseman-0.1.1/language.php
<?php
  $lang_javascript_test = array(
	'en' => 'javascript testsuite',
	'de' => 'Javascript-Testsuite');
  $lang_terms = array(
	'en' => 'terms of service',
	'de' => 'Anmeldebedingungen');
  $lang_terms_accepted = array(
	'en' => "I have read and accepted the
<a $terms_ref>" . $lang_terms[$language] . "</a>.",
	'de' => "Die <a $terms_ref>" . $lang_terms[$language] . "</a>
habe ich gelesen und akzeptiert.");
  $lang_terms_pure_demonstration = array(
	'en' => 'This is only a demonstration of technology.
Thus, submitting data does not qualify or commit you for anything.',
	'de' => 'Da es sich um eine reine Technologie-Demonstration handelt,
führt das Einreichen von Daten zu keinerlei Verpflichtungen oder Ansprüchen.');
  $lang_terms_warn_publicity = array(
	'en' => 'All submitted data is publicly available
through the administration interface.
Thus, you may only submit data
you want to make public and are allowed to do so.',
	'de' => 'Sämtliche gesendeten Daten sind über
die Verwaltungsschnittstelle öffentlich zugänglich.
Daher dürfen nur Daten gesendet werden,
deren Veröffentlichung Sie verantworten können.');
  $lang_terms_data_usage = array(
	'en' => 'The data you submit may be used
to further improve the software.',
	'de' => 'Die eingesendeten Daten können zur Weiterentwicklung
der Software verwendet werden.');
  $lang_terms_suggest_pseudonym = array(
	'en' => 'You may use a pseudonym to use this demonstration.
This is encouraged for the protection of your privacy.',
	'de' => 'Selbstverständlich können Sie zum Verwenden
dieser Technologie-Demonstration auch Pseudonyme verwenden,
was im Sinne des Datenschutzes auch angeraten sein soll.');
  function lang_choose($language,$chosen) {
    global $accusative_pronoun,$gender;
    $translations = array(
	'en' => 'Please choose the ' . $chosen,
	'de' => 'Bitte wählen Sie '
			. $accusative_pronoun[$gender[$chosen]]
			. ' ' . $chosen);
    return $translations[$language];
  }
  function lang_no_course_chosen($language,$course) {
    $translations = array(
	'en' => "You didn't make a choice for course " . $course . "!",
	'de' => "Sie haben keine Wahl für Kurs " . $course . " getroffen!");
    return $translations[$language];
  }
  function lang_no_participants($language,$course) {
    $translations = array(
	'en' => "No participants selected for course '$course'!",
	'de' => "Keine Teilnehmer für Kurs '$course_name' ausgewählt!");
    return $translations[$language];
  }
  function lang_not_sent($language,$recipient) {
    $translations = array(
	'en' => "Unable to send to $recipient!",
	'de' => "Senden an $recipient fehlgeschlagen!");
    return $translations[$language];
  }
  function lang_sent($language,$recipient) {
    $translations = array(
	'en' => "Successfully sent to $recipient.",
	'de' => "Erfolgreich gesendet at $recipient.");
    return $translations[$language];
  }
  function lang_confirm_courses($language,$state) {
    $translations = array(
	'en' => "You have been $state for the following courses",
	'de' => "Sie wurden in den folgenden Kursen $state");
    return $translations[$language];
  }
  function lang_account_created($language,$name) {
    $translations = array(
	'en' => "Account '$name' created.",
	'de' => "Konto '$name' erstellt.");
    return $translations[$language];
  }
  function lang_account_deleted($language,$name) {
    $translations = array(
	'en' => "Account '$name' deleted.",
	'de' => "Konto '$name' gelöscht.");
    return $translations[$language];
  }
  function lang_capability_granted($language,$user) {
    $translations = array(
	'en' => "The capability was granted to '$user'.",
	'de' => "Die Befugnis wurde an '$user' verliehen.");
    return $translations[$language];
  }
  function lang_suggest_loss_prevention($language,$delimiter) {
    $translations = array(
	'en' => "Please note " . $delimiter
		. "that your changes will get lost if you don't " . $delimiter
		. "submit your selection.",
	'de' => "Bitte beachten Sie, " . $delimiter
		. "dass die Änderungen verloren gehen, " . $delimiter
		. "wenn Sie die Auswahl nicht übernehmen.");
    return $translations[$language];
  }
  function lang_password_reset_to($language,$new) {
    $translations = array(
	'en' => "The password was reset to $new.",
	'de' => "Das Passwort wurde zurückgesetzt auf $new.");
    return $translations[$language];
  }
  function lang_password_set($language,$user) {
    $translations = array(
	'en' => "The password for user '$user' has been set.",
	'de' => "Das Passwort für Benutzer '$user' wurde gesetzt.");
    return $translations[$language];
  }
  function lang_capability_revoked($language,$user) {
    $translations = array(
	'en' => 'The capability was revoked from ' . "'" . $user . "'" . '.',
	'de' => 'Die Befugnis von ' . "'" . $user . "'" . ' wurde entzogen.');
    return $translations[$language];
  }
  $possessive = array(
	1 => array(
		"singular" => array(
			"male" => "meinen",
			"female" => "meine"),
		"plural" => array(
			"male" => "unseren",
			"female" => "unsere")),
	2 => array(
		"singular" => array(
			"male" => "deinen",
			"female" => "deine"),
		"plural" => array(
			"male" => "euren",
			"female" => "eure"),
		"polite" => array(
			"male" => "Ihren",
			"neutral" => "Ihr",
			"female" => "Ihre")));
  function possessive($language,$person,$number,$gender) {
    global $possessive;
    if ('en' == $language) {
      $translation = array(
	1 => array(
		"singular" => "my",
		"plural" => "our"),
	2 => array(
		"singular" => "your",
		"plural" => "your",
		"polite" => "your"));
      return $translation[$person][$number];
    } else {
      return $possessive[$person][$number][$gender];
    }
  }
  function lang_count($counted,$number_creation,$from,$to) {
    global $plural;
    $count = '';
    for ($current = $from; $current <= $to; $current++) {
      $count .= $number_creation($current) . ' ' . ((1 == $current)
			? $counted
			: $plural[$counted]) . '
';
    }
    return $count;
  }
  $german_months = array(
  	"01" => "Januar",
	"02" => "Februar",
	"03" => "März",
	"04" => "April",
	"05" => "Mai",
	"06" => "Juni",
	"07" => "Juli",
	"08" => "August",
	"09" => "September",
	"10" => "Oktober",
	"11" => "November",
	"12" => "Dezember");
  function german_date($time) {
    global $german_months;
    return date('j', $time) . '. '
    		. $german_months[date('m', $time)] . ' '
		. date('Y', $time);
  }
  function lang_time($language,$time) {
    $translations = array(
	'en' => date('l dS \of F Y h:i A',$time),
	'de' => german_date($time) . ', ' . date('H:i', $time));
    return $translations[$language];
  }
  function lang_too_early($language,$time) {
    $translations = array(
	'en' => 'Registrations are not possible before '
			. lang_time($language,$time) . '!',
	'de' => 'Anmeldungen sind erst ab dem '
			. lang_time($language,$time) . ' möglich!');
    return $translations[$language];
  }
  function lang_too_late($language,$time) {
    $translations = array(
	'en' => 'Registrations are not possible after '
			. lang_time($language,$time) . '!',
	'de' => 'Anmeldungen sind nur bis zum '
			. lang_time($language,$time) . ' möglich!');
    return $translations[$language];
  }
  function ling_does($language,$subject,$object,$verb) {
    global $does;
    $translations = array(
	'en' => "$subject " . $does[$verb] . " $object",
	'de' => "$subject " . $does[$verb] . " $object");
    return $translations[$language];
  }
  function ling_does_not($language,$subject,$object,$verb) {
    global $does;
    $translations = array(
	'en' => "$subject doesn't $verb $object",
	'de' => "$subject " . $does[$verb] . " $object nicht");
    return $translations[$language];
  }
  function ling_done_simple($language,$subject,$verb) {
    global $done;
    $translations = array(
	'en' => "$subject " . $done[$verb],
	'de' => "$subject " . $done[$verb]);
    return $translations[$language];
  }
  function ling_done_simple_not($language,$subject,$verb) {
    global $done;
    $translations = array(
	'en' => "$subject not " . $done[$verb],
	'de' => "$subject nicht " . $done[$verb]);
    return $translations[$language];
  }
  function ling_hook($language,$hooked) {
    $translations = array(
	'en' => "$hooked hook",
	'de' => "$hooked-Hook");
    return $translations[$language];
  }
  function ling_use($language,$use,$used) {
    $translations = array(
	'en' => $used . ' for ' . $use,
	'de' => $used . ' für ' . $use);
    return $translations[$language];
  }
  function ling_belong($language,$belonging,$belonged) {
    $translations = array(
	'en' => $belonging . ' of ' . $belonged,
	'de' => $belonging . ' von ' . $belonged);
    return $translations[$language];
  }
  function ling_temporal_at($language,$placed,$placement) {
    $translations = array(
	'en' => $placed . ' at ' . $placement,
	'de' => $placed . ' am ' . $placement);
    return $translations[$language];
  }
  function ling_without($language,$base,$removed) {
    $translations = array(
	'en' => $base . ' without ' . $removed,
	'de' => $base . ' ohne ' . $removed);
    return $translations[$language];
  }
  function ling_verb_short($language,$verb,$object) {
    $translations = array(
	'en' => "$verb $object",
	'de' => "$object $verb");
    return $translations[$language];
  }
  function ling_verb($language,$verb,$object) {
    global $gender,$accusative_pronoun;
    $translations = array(
	'en' => 'the ' . $object,
	'de' => $accusative_pronoun[$gender[$object]] . ' ' . $object);
    return ling_verb_short($language,$verb,$translations[$language]);
  }
  function ling_enable($language,$enabled) {
    $translations = array(
	'en' => 'enable ' . $enabled,
	'de' => $enabled . ' einschalten');
    return $translations[$language];
  }
  function ling_disable($language,$disabled) {
    $translations = array(
	'en' => 'disable ' . $disabled,
	'de' => $disabled . ' abschalten');
    return $translations[$language];
  }
  function ling_choose($language,$chosen) {
    $translations = array(
	'en' => 'choose ' . $chosen,
	'de' => $chosen . ' wählen');
    return $translations[$language];
  }
  function ling_set($language,$set) {
    $translations = array(
	'en' => 'set ' . $set,
	'de' => $set . ' setzen');
    return $translations[$language];
  }
  function ling_grant($language,$granted) {
    $translations = array(
	'en' => 'grant ' . $granted,
	'de' => $granted . ' verleihen');
    return $translations[$language];
  }
  function ling_revoke($language,$revoked) {
    $translations = array(
	'en' => 'revoke ' . $revoked,
	'de' => $revoked . ' entziehen');
    return $translations[$language];
  }
  function ling_create($language,$created) {
    $translations = array(
	'en' => 'create ' . $created,
	'de' => $created . ' erstellen');
    return $translations[$language];
  }
  function ling_delete_short($language,$deleted) {
    $translations = array(
	'en' => 'delete ' . $deleted,
	'de' => $deleted . ' löschen');
    return $translations[$language];
  }
  function ling_delete($language,$deleted) {
    global $gender;
    $translations = array(
	'en' => 'the ' . $deleted,
	'de' => $accusative_pronoun[$gender[$deleted]] . ' ' . $deleted);
    return ling_delete_short($language,$translations[$language]);
  }
  function ling_new($language,$new) {
    global $gender;
    $gendered = array(
	'male' => 'neuen',
	'female' => 'neue',
	'neutral' => 'neues');
    $translations = array(
	'en' => 'new ' . $new,
	'de' => $gendered[$gender[$new]] . ' ' . $new);
    return $translations[$language];
  }
  function ling_old($language,$old) {
    global $gender;
    $gendered = array(
	'male' => 'alten',
	'female' => 'alte',
	'neutral' => 'altes');
    $translations = array(
	'en' => 'old ' . $old,
	'de' => $gendered[$gender[$old]] . ' ' . $old);
    return $translations[$language];
  }
  $gender = array(
  	"" => "error",
	"Anrede" => "female",
	"Kategorie" => "female",
	"Konto" => "neutral",
	"Kurs" => "male",
	"Kennwort" => "neutral",
	"Termin" => "male");
  $accusative_pronoun = array(
  	"error" => "ERROR: bogus data in natural language generator",
	"female" => "die",
	"male" => "den",
	"neutral" => "das");
  $lang_noscript = array(
	'en' => "Your browser doesn't support JavaScript.
This page can only be correctly displayed with JavaScript.
Please enable JavaScript or use a browser that supports it.",
	'de' => "Ihr Browser unterstützt kein JavaScript.
Diese Seite funktioniert nur ordnungsgemäß
mit eingeschaltetem JavaScript.
Bitte schalten Sie JavaScript ein
oder benutzen Sie einen Browser, der dies unterstützt.");
  $lang_credentials_intro = array(
	'en' => 'here you get the access credentials for the staff interface
of the course registration system.',
	'de' => 'hier erhalten Sie Ihre Zugangsdaten
für die Mitarbeiterschnittstelle des Kursanmeldesystems.');
  $lang_may_change = array(
	'de' => 'Änderung gestattet.',
	'en' => 'Changing authorized.');
  $lang_no_change = array(
	'de' => 'Änderung nicht gestattet.',
	'en' => 'Changing not authorized.');
  $lang_set = array(
	'en' => 'set',
	'de' => 'Menge');
  $lang_empty_set = array(
	'en' => 'empty set',
	'de' => 'leere Menge');
  $lang_element = array(
	'en' => 'element',
	'de' => 'Element');
  $lang_checked_element = array(
	'en' => 'checked element',
	'de' => 'geprüftes Element');
  $lang_expected_element = array(
	'en' => 'expected element',
	'de' => 'erwartetes Element');
  $lang_unexpected_element = array(
	'en' => 'unexpected element',
	'de' => 'unerwartetes Element');
  $lang_removed_element = array(
	'en' => 'removed element',
	'de' => 'entferntes Element');
  $lang_remaining_element = array(
	'en' => 'remaining element',
	'de' => 'geprüftes Element');
  $lang_inserted_element = array(
	'en' => 'inserted element',
	'de' => 'eingefügtes Element');
  $lang_contain = array(
	'en' => 'contain',
	'de' => 'enthalten');
  $lang_test_results = array(
	'en' => 'test results',
	'de' => 'Testergebnisse');
  $lang_personal_data = array(
	'en' => 'Personal data',
	'de' => 'Persönliche Daten');
  $lang_course_data = array(
	'en' => 'Course data',
	'de' => 'Kursdaten');
  $lang_course_registration = array(
	'en' => 'registration for courses',
	'de' => 'Kursanmeldung');
  $lang_registration_change = array(
	'en' => 'changing the ' . $lang_course_registration[$language],
	'de' => 'Änderung der ' . $lang_course_registration[$language]);
  $lang_approval = array(
	'en' => 'approval',
	'de' => 'Zulassung');
  $lang_year = array(
	'en' => 'year',
	'de' => 'Jahr');
  $lang_category = array(
	'en' => 'category',
	'de' => 'Kategorie');
  $lang_nil = array(
	'en' => 'no',
	'de' => 'keine');
  $lang_registration = array(
	'en' => 'registration',
	'de' => 'Anmeldung');
  $lang_salutation = array(
	'en' => 'Salutation',
	'de' => 'Anrede');
  $lang_name = array(
	'en' => 'Name',
	'de' => 'Name');
  $lang_first_name = array(
	'en' => 'First Name',
	'de' => 'Vorname');
  $lang_email = array(
	'en' => 'E-Mail',
	'de' => 'E-Mail');
  $lang_phone = array(
	'en' => 'Phone Number',
	'de' => 'Telefonnummer');
  $lang_course_period = array(
	'en' => 'course period',
	'de' => 'Kursperiode');
  $lang_attended_prep_course = array(
	'en' => 'preparatory course you attended',
	'de' => 'besuchter Vorkurs');
  $lang_prep_course = array(
	'en' => 'preparatory course',
	'de' => 'Vorkurs');
  $lang_link = array(
	'en' => 'Link',
	'de' => 'Link');
  $lang_frame = array(
	'en' => 'frame',
	'de' => 'Rahmen');
  $lang_access = array(
	'en' => 'access',
	'de' => 'Zugriff');
  $lang_capability = array(
	'en' => 'capability',
	'de' => 'Befugnis');
  $lang_username = array(
	'en' => 'user name',
	'de' => 'Benutzername');
  $lang_password = array(
	'en' => 'password',
	'de' => 'Kennwort');
  $lang_enter_password = array(
	'en' => 'Please enter the password you got after registration',
	'de' => 'Bitte geben Sie das bei der Anmeldung erhaltene Kennwort an');
  $lang_pronouncable = array(
	'en' => 'pronouncable as',
	'de' => 'sprechbar als');
  function lang_change_password_under($language,$target) {
    $translations = array(
	'en' => "The password can be changed
into one that is more easily remembered on $target.",
	'de' => "Das Passwort kann unter $target in ein einfacher zu
merkendes geändert werden.");
    return $translations[$language];
  }
  $lang_account = array(
	'en' => 'account',
	'de' => 'Konto');
  $lang_please_save = array(
	'en' => 'please save',
	'de' => 'bitte speichern');
  $lang_again = array(
	'en' => 'again',
	'de' => 'noch einmal');
  $lang_new_account = array(
	'en' => 'new ' . $lang_account[$language],
	'de' => 'neues ' . $lang_account[$language]);
  $lang_registered = array(
	'en' => 'Registered',
	'de' => 'Angemeldeter');
  $lang_participant = array(
	'en' => 'participant',
	'de' => 'Teilnehmer');
  $lang_course_admin = array(
	'en' => 'administration of courses',
	'de' => 'Kursverwaltung');
  $lang_participant_admin = array(
	'en' => 'administration of participants',
	'de' => 'Teilnehmerverwaltung');
  $lang_account_admin = array(
	'en' => 'account administration',
	'de' => 'Kontenverwaltung');
  $lang_registration_statistics = array(
	'en' => 'registration statistics',
	'de' => 'Anmeldestatistiken');
  $lang_registered_accepted = array(
	'en' => 'registered person has been accepted for the course',
	'de' => 'Angemeldete Person wurde in den Kurs aufgenommen');
  $lang_registered_alternative_accepted = array(
	'en' => 'registered person has been accepted for the '
			. 'alternative course',
	'de' => 'Angemeldete Person wurde in die Kurs-Alternative aufgenommen');
  $lang_registered_not_accepted = array(
	'en' => 'registered person has not been accepted',
	'de' => 'Angemeldete Person wurde nicht aufgenommen');
  $lang_change_sort_order = array(
	'en' => 'click on a column title to change the sort order',
	'de' => 'Klicken Sie auf die Spaltentitel, um die '
			. 'Sortierreihenfolge zu ändern');
  $lang_change_registration = array(
	'en' => 'for subsequently changing the registration',
	'de' => 'zum späteren Ändern der Anmeldung');
  function lang_confirm($language,$confirmed) {
    $translations = array(
	'en' => 'Do you really want to ' . $confirmed . '?',
	'de' => 'Möchten Sie wirklich ' . $confirmed . '?');
    return $translations[$language];
  }
  function lang_redirect($language,$target) {
    $translations = array(
	'en' => "Please click <a href='$target'>here</a> to proceed
if you are not redirected automatically.",
	'de' => "Sollten Sie nicht automatisch weitergeleitet werden,
klicken Sie bitte <a href='$target'>hier</a>,
um mit der Anmeldung fortzufahren.");
    return $translations[$language];
  }
  $lang_password_change = array(
	'en' => 'password change',
	'de' => 'Passwortänderung');
  $lang_change_password = array(
	'en' => 'change the password',
	'de' => 'das Passwort ändern');
  $lang_grant_capability = array(
	'en' => ling_grant($language,'the capability'),
	'de' => ling_grant($language,'die Befugnis'));
  $lang_revoke_capability = array(
	'en' => ling_revoke($language,'the capability'),
	'de' => ling_revoke($language,'die Befugnis'));
  $lang_database_failure = array(
	'en' => 'database connection failed.',
	'de' => 'Datenbankverbindung fehlgeschlagen.');
  $lang_authentication_failure = array(
	'en' => 'Permission denied!',
	'de' => 'Authentifizierung benötigt!');
  $lang_multiple_registrations = array(
	'en' => 'Your registration could not be processed
because you have already registered.
Please use the link from your confirmation mail
for changing your registration.',
	'de' => 'Ihre Anmeldung konnte nicht verarbeitet werden,
da für Ihre Person bereits eine Anmeldung vorliegt.
Bitte benutzen Sie für die Änderung der Anmeldung
den Link aus Ihrer Bestätigungsmail.');
  $lang_confirmation_sent = array(
	'en' => 'A confirmation mail has been sent to you',
	'de' => 'Eine Bestätigungsmail wurde an Sie verschickt');
  $lang_confirmation_not_sent = array(
	'en' => 'Unable to send a confirmation mail to you',
	'de' => 'Die Bestätigungsmail konnte nicht gesendet werden');
  $lang_registration_deleted = array(
	'en' => 'Your registration has been deleted',
	'de' => 'Ihre Anmeldung wurde gelöscht');
  $lang_suggest_saving = array(
	'en' => 'Do you want to save your changes first?',
	'de' => 'Möchten Sie vorher die Änderungen speichern?');
  $lang_warn_loss = array(
	'en' => 'They will get lost otherwise',
	'de' => 'Diese gehen andernfalls verloren');
  $lang_cycle_prepared = array(
	'en' => 'Registration cycle prepared.',
	'de' => 'Anmeldeperiode vorbereitet.');
  $lang_contact_details = array(
	'en' => 'table of contact details',
	'de' => 'Liste Kontaktdaten');
  $lang_registrations_by_course = array(
	'en' => 'registrations by course (only primary choice counted)',
	'de' => 'Anmeldungen nach Kursen (nur erste Wahl wird gezählt)');
  $lang_registration_error = array(
	'en' => 'A problem ocurred while processing your registration.
Please regard the following hints:',
	'de' => 'Fehler beim Verarbeiten der Anmeldung.
Bitte beachten Sie die folgenden Hinweise:');
  $lang_sending_confirmations = array(
	'en' => 'Sending confirmation mails',
	'de' => 'Versand der Bestätigungen');
  $lang_confirmations_sent = array(
	'en' => 'All confirmations have been sent.',
	'de' => 'Alle Bestätigungen wurden versandt.');
  $lang_privileges_not_granted = array(
	'en' => 'No privileges granted.',
	'de' => 'Keine Berechtigungen hinzugefügt.');
  $lang_privileges_granted = array(
	'en' => 'Privileges granted.',
	'de' => 'Berechtigungen hinzugefügt.');
  $lang_privileges_not_revoked = array(
	'en' => 'No privileges revoked.',
	'de' => 'Keine Berechtigungen entzogen.');
  $lang_privileges_revoked = array(
	'en' => 'Privileges revoked.',
	'de' => 'Berechtigungen entzogen.');
  $lang_account_not_created = array(
	'en' => 'Account not created.',
	'de' => 'Kein Konto erstellt.');
  $lang_account_not_deleted = array(
	'en' => 'Account not deleted.',
	'de' => 'Kein Konto gelöscht.');
  $lang_capability_not_granted = array(
	'en' => 'The capability was already present.',
	'de' => 'Die Befugnis war schon vorhanden.');
  $lang_capability_not_revoked = array(
	'en' => 'The capability was not present.',
	'de' => 'Die Befugnis war nicht vorhanden.');
  $lang_password_changed = array(
	'en' => 'The password was changed.',
	'de' => 'Das Passwort wurde geändert.');
  $lang_password_not_changed = array(
	'en' => 'The password was not changed.',
	'de' => 'Das Passwort wurde nicht geändert.');
  $lang_password_not_set = array(
	'en' => 'The password was not set.',
	'de' => 'Das Passwort wurde nicht gesetzt.');
  function lang_confirm_course_deletion($language,$victim) {
    $translations = array(
	'en' => 'Are you sure you want to delete all registered courses of '
			. $victim . '?',
	'de' => 'Möchten Sie wirklich alle angemeldeten Kurse von '
			. $victim . ' löschen?');
    return $translations[$language];
  }
  function lang_confirm_registration_modification($language,
                                                  $delimiter,
                                                  $victim) {
    $translations = array(
	'en' => 'Are you sure you want to change the registered ' . $delimiter
			. 'courses and the password of ' . $victim . '?',
	'de' => 'Möchten Sie wirklich die angemeldeten ' . $delimiter
			. 'Kurse und das Passwort von '
			. $victim . ' ändern?');
    return $translations[$language];
  }
  function lang_count_all_registrations($language,$registrations) {
    $translations = array(
	'en' => $registrations . ' persons have registered',
	'de' => $registrations . ' Personen haben sich angemeldet');
    return $translations[$language];
  }
  function lang_count_registrations($language,$registrations,$primaries) {
    $translations = array(
	'en' => 'There are ' . $registrations . ' persons registered. For '
			. $primaries
			. ' persons, this course is the primary choice',
	'de' => $registrations
			. ' Personen sind angemeldet, davon ist der Kurs für '
			. $primaries
			. ' erste Wahl');
    return $translations[$language];
  }
  function lang_count_selections($language,$selections) {
    $translations = array(
	'en' => 'You have selected ' . $selections . ' persons',
	'de' => $selections . ' Personen sind ausgewählt');
    return $translations[$language];
  }
  $lang_success = array(
	'en' => 'success',
	'de' => 'Erfolg');
  $lang_failure = array(
	'en' => 'failure',
	'de' => 'Fehlschlag');
  $lang_error = array(
	'en' => 'Error',
	'de' => 'Fehler');
  $lang_submit = array(
	'en' => 'Submit',
	'de' => 'Absenden');
  $lang_apply = array(
	'en' => 'Submit selection',
	'de' => 'Auswahl übernehmen');
  $lang_up = array(
	'en' => 'up',
	'de' => 'nach oben');
  $lang_down = array(
	'en' => 'down',
	'de' => 'nach unten');
  $lang_save = array(
	'en' => 'save',
	'de' => 'übernehmen');
  $lang_block = array(
	'en' => 'block',
	'de' => 'sperren');
  $lang_unblock = array(
	'en' => 'unblock',
	'de' => 'entsperren');
  $lang_duplicate = array(
	'en' => 'duplicate',
	'de' => 'duplizieren');
  $lang_choose = array(
	'en' => 'choose',
	'de' => 'wählen');
  $lang_complete = array(
	'en' => 'complete',
	'de' => 'vervollständigen');
  $lang_call = array(
	'en' => 'call',
	'de' => 'aufrufen');
  $lang_delete = array(
	'en' => 'delete',
	'de' => 'löschen');
  $lang_modify = array(
	'en' => 'modify',
	'de' => 'ändern');
  $lang_edit = array(
	'en' => 'edit',
	'de' => 'bearbeiten');
  $lang_all = array(
	'en' => 'All',
	'de' => 'Alle');
  $lang_primary = array(
	'en' => 'Primary choice',
	'de' => 'Erste Wahl');
  $lang_secondary = array(
	'en' => 'Alternative choice',
	'de' => 'Zweite Wahl');
  $lang_secondary_abbrev = array(
	'en' => 'Alt. choice',
	'de' => '2. Wahl');
  function lang_alternative($language,$chosen) {
    global $lang_secondary;
    $translations = array(
	'en' => $lang_secondary[$language] . ' in the same '
			. $chosen . ' (if primary choice is occupied)',
	'de' => $lang_secondary[$language] . ' in der gleichen '
			. $chosen . ' (falls 1. Wahl belegt)');
    return $translations[$language];
  }
  $lang_unregister = array(
	'en' => 'I want to cancel my registration',
	'de' => 'Ich möchte meine Anmeldung löschen');
  function lang_register_for($language,$registered) {
    $translations = array(
	'en' => 'I want to register for ' . $registered . '.',
	'de' => 'Für ' . $registered . ' möchte ich mich anmelden.');
    return $translations[$language];
  }
  function lang_characters_left($language,$count) {
    $translations = array(
	'en' => $count . ' characters left',
	'de' => 'Noch ' . $count . ' Zeichen möglich');
    return $translations[$language];
  }
  $lang_no_save = array(
	'en' => 'back to overview (changes will not be saved!)',
	'de' => 'zurück zur Übersicht (Änderungen werden nicht gespeichert!)');
  $lang_no_courses_chosen = array(
	'en' => 'You did not choose any courses!',
	'de' => 'Sie haben keine Kurse ausgewählt!');
  function lang_enter($language,$entered) {
    global $plural;
    $translations = array(
	'en' => 'Please enter ' . $plural[$entered],
	'de' => 'Bitte geben Sie ' . $plural[$entered] . ' an');
    return $translations[$language];
  }
  function adjective_plural($language,$singular) {
    global $plural;
    if ($language == 'de') {
      return $plural[$singular];
    } else {
      return $singular;
    }
  }
  $lang_comments = array(
	'en' => 'comments',
	'de' => 'Kommentare');
  $lang_freeform = array(
	'en' => 'free form',
	'de' => 'Freitext');
  $lang_attended = array(
	'en' => 'attended',
	'de' => 'besuchter');
  $lang_course = array(
	'en' => 'course',
	'de' => 'Kurs');
  $lang_date = array(
	'en' => 'course date',
	'de' => 'Termin');
  $lang_action = array(
	'en' => 'action',
	'de' => 'Aktion');
  $lang_course_name = array(
	'en' => 'course name',
	'de' => 'Kursname');
  $lang_prep_course_none = array(
	'en' => 'no ' . $lang_prep_course[$language],
	'de' => 'kein ' . $lang_prep_course[$language]);
  function lang_prep_course_last($language) {
    global $course_length;
    $translations = array(
	'en' => 'last ' . $course_length,
	'de' => 'im letzten ' . $course_length);
    return $translations[$language];
  }
  function lang_prep_course_before_last($language) {
    global $course_length;
    $translations = array(
	'en' => $course_length . ' before last',
	'de' => 'im vorletzten ' . $course_length);
    return $translations[$language];
  }
  function lang_prep_course_earlier($language) {
    global $course_length,$plural;
    $translations = array(
	'en' => 'more than 2 ' . $plural[$course_length] . ' ago',
	'de' => 'vor mehr als 2 ' . accusative_plural($course_length));
    return $translations[$language];
  }
  $lang_salutation_omission = array(
	'en' => 'Please enter your salutation!',
	'de' => 'Bitte geben Sie Ihre Anrede an!');
  $lang_name_omission = array(
	'en' => 'Please enter your name!',
	'de' => 'Bitte geben Sie Ihren Namen an!');
  $lang_first_name_omission = array(
	'en' => 'Please enter your first name!',
	'de' => 'Bitte geben Sie Ihren Vornamen an!');
  $lang_contact_omission = array(
	'en' => 'Please enter your phone number or e-mail '
			. 'address so we can contact you!',
	'de' => 'Bitte geben Sie als Kontaktmöglichkeit Telefon '
			. 'oder E-Mail-Adresse an!');
  $lang_terms_omission = array(
	'en' => 'Please accept the terms of service.',
	'de' => 'Bitte akzeptieren Sie die Anmeldebedingungen.');
  $done = array(
	"löschen" => "gelöscht",
	"aufrufen" => "aufgerufen",
	"call" => "called",
	"delete" => "deleted");
  $does = array(
	'contain' => 'contains',
	'enthalten' => 'enthält');
  $plural = array(
	"Anrede" => "Anreden",
	"Jahr" => "Jahre",
	"Kategorie" => "Kategorien",
	"Vorkurs" => "Vorkurse",
	"besuchter Vorkurs" => "besuchte Vorkurse",
	"Kurs" => "Kurse",
	"Termin" => "Termine",
	"Anmeldung" => "Anmeldungen",
	"Teilnehmer" => "Teilnehmer",
	"Erfolg" => "Erfolge",
	"Fehlschlag" => "Fehlschläge",
	"success" => "successes",
	"failure" => "failures",
	"participant" => "participants",
	"registration" => "registrations",
	"course date" => "course dates",
	"course" => "courses",
	"besuchter" => "besuchte",
	"preparatory course you attended" => "preparatory courses you attended",
	"preparatory course" => "preparatory courses",
	"year" => "years",
	"category" => "categories");
?>
Return current item: Course-manager