<?php

use Symfony\Component\Translation\MessageCatalogue;

$catalogue = new MessageCatalogue('de', array (
  'security' => 
  array (
    'An authentication exception occurred.' => 'Es ist ein Fehler bei der Authentifikation aufgetreten.',
    'Authentication credentials could not be found.' => 'Es konnten keine Zugangsdaten gefunden werden.',
    'Authentication request could not be processed due to a system problem.' => 'Die Authentifikation konnte wegen eines Systemproblems nicht bearbeitet werden.',
    'Invalid credentials.' => 'Fehlerhafte Zugangsdaten.',
    'Cookie has already been used by someone else.' => 'Cookie wurde bereits von jemand anderem verwendet.',
    'Not privileged to request the resource.' => 'Keine Rechte, um die Ressource anzufragen.',
    'Invalid CSRF token.' => 'Ungültiges CSRF-Token.',
    'No authentication provider found to support the authentication token.' => 'Es wurde kein Authentifizierungs-Provider gefunden, der das Authentifizierungs-Token unterstützt.',
    'No session available, it either timed out or cookies are not enabled.' => 'Keine Session verfügbar, entweder ist diese abgelaufen oder Cookies sind nicht aktiviert.',
    'No token could be found.' => 'Es wurde kein Token gefunden.',
    'Username could not be found.' => 'Der Benutzername wurde nicht gefunden.',
    'Account has expired.' => 'Der Account ist abgelaufen.',
    'Credentials have expired.' => 'Die Zugangsdaten sind abgelaufen.',
    'Account is disabled.' => 'Der Account ist deaktiviert.',
    'Account is locked.' => 'Der Account ist gesperrt.',
    'Too many failed login attempts, please try again later.' => 'Zu viele fehlgeschlagene Anmeldeversuche, bitte versuchen Sie es später noch einmal.',
    'Invalid or expired login link.' => 'Ungültiger oder abgelaufener Anmelde-Link.',
    'Too many failed login attempts, please try again in %minutes% minute.' => 'Zu viele fehlgeschlagene Anmeldeversuche, bitte versuchen Sie es in einer Minute noch einmal.',
    'Too many failed login attempts, please try again in %minutes% minutes.' => 'Zu viele fehlgeschlagene Anmeldeversuche, bitte versuchen Sie es in %minutes% Minuten noch einmal.',
  ),
  'SchebTwoFactorBundle' => 
  array (
    'auth_code' => 'Bestätigungs-Code',
    'choose_provider' => 'Authentifizierungs-Methode wechseln',
    'login' => 'Login',
    'code_invalid' => 'Der Bestätigungs-Code ist nicht korrekt.',
    'trusted' => 'Dies ist ein vertrauenswürdiger Computer',
    'cancel' => 'Abbrechen',
  ),
  'time' => 
  array (
    'diff.ago.year' => 'vor einem Jahr|vor %count% Jahren',
    'diff.ago.month' => 'vor einem Monat|vor %count% Monaten',
    'diff.ago.day' => 'vor einem Tag|vor %count% Tagen',
    'diff.ago.hour' => 'vor einer Stunde|vor %count% Stunden',
    'diff.ago.minute' => 'vor einer Minute|vor %count% Minuten',
    'diff.ago.second' => 'vor einer Sekunde|vor %count% Sekunden',
    'diff.empty' => 'jetzt',
    'diff.in.second' => 'in einer Sekunde|in %count% Sekunden',
    'diff.in.hour' => 'in einer Stunde|in %count% Stunden',
    'diff.in.minute' => 'in einer Minute|in %count% Minuten',
    'diff.in.day' => 'in einem Tag|in %count% Tagen',
    'diff.in.month' => 'in einem Monat|in %count% Monaten',
    'diff.in.year' => 'in einem Jahr|in %count% Jahren',
  ),
  'ContaoManagerBundle' => 
  array (
    'debug_mode' => 'Debug-Modus',
    'contao_manager_title' => 'Updates und Erweiterungen verwalten und die Applikation warten',
  ),
  'ContaoInstallationBundle' => 
  array (
    'install_tool' => 'Contao-Installtool',
    'an_error_occurred' => 'Es ist ein Fehler aufgetreten',
    'locked_headline' => 'Das Installtool wurde gesperrt!',
    'locked_explanation' => 'Aus Sicherheitsgründen wurde das Installtool gesperrt, nachdem dreimal hintereinander ein falsches Passwort eingegeben wurde. Sie können es entweder im Contao Manager entsperren oder den Befehl <code>contao:install:unlock</code> auf der Konsole ausführen.',
    'file_permissions_headline' => 'PHP kann keine Dateien schreiben!',
    'file_permissions_explanation' => 'Ihr Server unterstützt den Dateizugriff per PHP nicht; vermutlich läuft PHP als Apache-Modul unter einem anderen Benutzer. Bitte wenden Sie sich an Ihren Server-Administrator, damit dieser das Problem behebt.',
    'file_permissions_warning' => ' <strong>Versuchen Sie keinesfalls, das Problem selbst zu beheben, indem Sie die Dateien und Ordner für jedermann beschreibbar machen!</strong>',
    'accept_license' => 'Lizenz akzeptieren',
    'set_password' => 'Installtool-Passwort',
    'set_password_hint' => 'Bitte vergeben Sie ein Passwort, um unberechtigte Zugriffe zu vermeiden.',
    'password' => 'Passwort',
    'show_password' => 'Passwort anzeigen',
    'hide_password' => 'Passwort ausblenden',
    'save_password' => 'Passwort speichern',
    'password_too_short' => 'Das Passwort muss mindestens %d Zeichen lang sein!',
    'login' => 'Anmelden',
    'login_explanation' => 'Bitte geben Sie das Installtool-Passwort ein. Das Installtool-Passwort ist nicht gleich dem Contao Backend-Passwort.',
    'allow_cookies' => 'Für die Nutzung von Contao müssen Cookies erlaubt sein.',
    'invalid_password' => 'Ungültiges Passwort!',
    'database_connection' => 'Datenbankverbindung',
    'database_connected' => 'Datenbankverbindung hergestellt.',
    'database_dot_in_dbname' => 'Der Datenbankname darf keine Punkte enthalten!',
    'database_could_not_connect' => 'Datenbankverbindung fehlgeschlagen!',
    'database_connection_explain' => 'Bitte geben Sie Ihre Datenbank-Zugangsdaten ein.',
    'database_host' => 'Host',
    'database_port' => 'Portnummer',
    'database_user' => 'Benutzername',
    'database_password' => 'Passwort',
    'database_name' => 'Datenbankname',
    'save_settings' => 'Einstellungen speichern',
    'update_tables' => 'Datenbank aktualisieren',
    'update_tables_explain' => 'Hier können Sie das Datenbank-Schema aktualisieren.',
    'update_tables_confirm' => 'Die Datenbank ist aktuell.',
    'update_save' => 'Datenbank aktualisieren',
    'CREATE' => 'Tabellen anlegen',
    'ALTER_TABLE' => 'Tabellen ändern',
    'ALTER_ADD' => 'Spalten anlegen',
    'ALTER_CHANGE' => 'Spalten ändern',
    'ALTER_DROP' => 'Spalten löschen',
    'DROP' => 'Tabellen löschen',
    'select_all' => 'Alle auswählen',
    'template_import' => 'Ein Template importieren',
    'template_import_explain' => 'Hier können Sie eine <code>.sql</code>-Datei aus dem <code>templates</code>-Verzeichnis importieren. Dabei werden alle bestehenden Daten gelöscht! Wenn Sie stattdessen lediglich ein Theme importieren wollen, nutzen Sie bitte den Theme-Manager im Contao-Backend.',
    'import_exception' => 'Der Import konnte nicht abgeschlossen werden! Ist die Datenbank aktuell und die Template-Datei kompatibel mit Ihrer Contao-Version?',
    'import_empty_source' => 'Bitte wählen Sie eine Template-Datei!',
    'import_data_will_be_deleted' => 'Alle bestehenden Daten werden gelöscht!',
    'imported_on' => 'Template importiert am %s.',
    'templates' => 'Templates',
    'do_not_truncate' => 'Tabellen nicht leeren',
    'import_confirm' => 'Alle bestehenden Daten werden gelöscht. Möchten Sie trotzdem fortfahren?',
    'template_save' => 'Ein Template importieren',
    'admin_create' => 'Ein Administratorkonto anlegen',
    'admin_create_explain' => 'Hier können Sie ein Administratorkonto für die Anmeldung im Contao-Backend erstellen.',
    'admin_confirm' => 'Ein Administratorkonto wurde erstellt.',
    'admin_username' => 'Benutzername',
    'admin_name' => 'Name',
    'admin_email' => 'E-Mail',
    'admin_save' => 'Administratorkonto anlegen',
    'admin_error_extnd' => 'Aus Sicherheitsgründen können Sie folgende Zeichen hier nicht verwenden: #<>()\\=',
    'admin_error_no_space' => 'Der Benutzername darf keine Leerzeichen enthalten!',
    'admin_error_email' => 'Bitte geben Sie eine gültige E-Mail-Adresse ein!',
    'admin_error_password_match' => 'Die eingegebenen Passwörter stimmen nicht überein!',
    'admin_error_password_user' => 'Der Benutzername und das Passwort dürfen nicht gleich sein!',
    'admin_error' => 'Bitte füllen Sie alle Felder aus, um ein Administratorkonto zu erstellen!',
    'congratulations' => 'Gratulation!',
    'congratulations_explain' => 'Sie haben Contao erfolgreich installiert.',
    'installation_complete' => 'Installation abgeschlossen',
    'installation_complete_explain' => 'Rufen Sie nun das Contao-Backend auf und überprüfen Sie die Systemeinstellungen.',
    'back_end' => 'Contao-Backend',
    'old_database' => 'Die Datenbank ist zu alt!',
    'old_database_explanation' => 'Sie benötigen mindestens Contao 3.2, um das Update auf Contao 4 durchzuführen.',
    'console_explanation' => 'Eine Installationsaufgabe konnte nicht abgeschlossen werden!',
    'duplicate_subscriptions' => 'Es wurden doppelte Newsletter-Abonnements gefunden:',
    'duplicates_purged' => 'Die doppelten Einträge wurden automatisch bereinigt. Eine Kopie der originalen Abonnements wurde in <code>tl_newsletter_recipients_backup</code> gespeichert.',
    'unsupported_version' => 'Ihre Datenbank-Version wird nicht unterstützt!',
    'unsupported_version_explain' => 'Contao benötigt mindestens MySQL 5.1.0, aber Sie haben Version %s. Bitte aktualisieren Sie Ihre Datenbank-Version.',
    'unsupported_collation' => 'Die konfigurierte Kollation wird nicht unterstützt!',
    'unsupported_collation_explain' => 'Die konfigurierte Kollation <code>%s</code> ist auf Ihrem Server nicht verfügbar. Bitte installieren Sie sie (empfohlen) oder konfigurieren Sie einen anderen Zeichensatz und eine andere Kollation in der Datei <code>config/config.yml</code>.',
    'unsupported_engine' => 'Die konfigurierte Datenbank-Engine wird nicht unterstützt!',
    'unsupported_engine_explain' => 'Die konfigurierte Datenbank-Engine <code>%s</code> ist auf Ihrem Server nicht verfügbar. Bitte installieren Sie sie (empfohlen) oder konfigurieren Sie eine andere Datenbank-Engine in der Datei <code>config/config.yml</code>.',
    'engine_mismatch' => 'Ungültige Kombination aus Datenbank-Engine und Kollation!',
    'engine_mismatch_explain' => 'Die konfigurierte Datenbank-Engine <code>%s</code> unterstützt kein utf8mb4. Bitte verwenden Sie stattdessen InnoDB (empfohlen) oder konfigurieren Sie einen anderen Zeichensatz und eine andere Kollation in der Datei <code>config/config.yml</code>.',
    'innodb_large_prefix' => 'Die innodb_large_prefix-Option ist nicht aktiv!',
    'innodb_large_prefix_explain' => 'Die <code>innodb_large_prefix</code>-Option ist auf Ihrem Server nicht aktiv. Bitte aktivieren Sie sie (empfohlen) oder konfigurieren Sie einen anderen Zeichensatz und eine andere Kollation in der Datei <code>config/config.yml</code>.',
    'innodb_additional' => 'InnoDB ist nicht richtig konfiguriert!',
    'innodb_additional_explain' => 'Die Verwendung von "Large Prefixes" in MySQL-Versionen vor 5.7.7 bzw. MariaDB-Versionen vor 10.2 erfordert das Barracuda-Dateiformat und die Option <code>innodb_file_per_table</code>.',
    'misconfigured_database_url_explain' => 'Die Datenbankverbindung mit der Verbindungs-URL aus der Environment-Variable <code>DATABASE_URL</code> ist fehlgeschlagen.',
    'strict_sql_mode' => 'Ihr Datenbank-Server läuft nicht im Strict-Mode!',
    'strict_sql_mode_explain' => 'Wenn MySQL nicht im Strict-Mode läuft, können Daten beschädigt oder abgeschnitten werden. Bitte aktivieren Sie den Strict-Mode entweder in Ihrer <code>my.cnf</code>-Datei oder konfigurieren Sie die Verbindungsoptionen in der Datei <code>config/config.yml</code> wie folgt:',
  ),
));

$catalogueEn = new MessageCatalogue('en', array (
  'security' => 
  array (
    'An authentication exception occurred.' => 'An authentication exception occurred.',
    'Authentication credentials could not be found.' => 'Authentication credentials could not be found.',
    'Authentication request could not be processed due to a system problem.' => 'Authentication request could not be processed due to a system problem.',
    'Invalid credentials.' => 'Invalid credentials.',
    'Cookie has already been used by someone else.' => 'Cookie has already been used by someone else.',
    'Not privileged to request the resource.' => 'Not privileged to request the resource.',
    'Invalid CSRF token.' => 'Invalid CSRF token.',
    'No authentication provider found to support the authentication token.' => 'No authentication provider found to support the authentication token.',
    'No session available, it either timed out or cookies are not enabled.' => 'No session available, it either timed out or cookies are not enabled.',
    'No token could be found.' => 'No token could be found.',
    'Username could not be found.' => 'Username could not be found.',
    'Account has expired.' => 'Account has expired.',
    'Credentials have expired.' => 'Credentials have expired.',
    'Account is disabled.' => 'Account is disabled.',
    'Account is locked.' => 'Account is locked.',
    'Too many failed login attempts, please try again later.' => 'Too many failed login attempts, please try again later.',
    'Invalid or expired login link.' => 'Invalid or expired login link.',
    'Too many failed login attempts, please try again in %minutes% minute.' => 'Too many failed login attempts, please try again in %minutes% minute.',
    'Too many failed login attempts, please try again in %minutes% minutes.' => 'Too many failed login attempts, please try again in %minutes% minutes.',
  ),
  'SchebTwoFactorBundle' => 
  array (
    'auth_code' => 'Authentication Code',
    'choose_provider' => 'Switch authentication method',
    'login' => 'Login',
    'code_invalid' => 'The verification code is not valid.',
    'trusted' => 'I\'m on a trusted computer',
    'cancel' => 'Cancel',
  ),
  'time' => 
  array (
    'diff.ago.year' => '1 year ago|%count% years ago',
    'diff.ago.month' => '1 month ago|%count% months ago',
    'diff.ago.day' => '1 day ago|%count% days ago',
    'diff.ago.hour' => '1 hour ago|%count% hours ago',
    'diff.ago.minute' => '1 minute ago|%count% minutes ago',
    'diff.ago.second' => '1 second ago|%count% seconds ago',
    'diff.empty' => 'now',
    'diff.in.second' => 'in 1 second|in %count% seconds',
    'diff.in.hour' => 'in 1 hour|in %count% hours',
    'diff.in.minute' => 'in 1 minute|in %count% minutes',
    'diff.in.day' => 'in 1 day|in %count% days',
    'diff.in.month' => 'in 1 month|in %count% months',
    'diff.in.year' => 'in 1 year|in %count% years',
  ),
  'ContaoManagerBundle' => 
  array (
    'debug_mode' => 'Debug mode',
    'contao_manager_title' => 'Manage updates and extensions and maintain the application',
  ),
  'ContaoInstallationBundle' => 
  array (
    'install_tool' => 'Contao install tool',
    'an_error_occurred' => 'An error occurred',
    'locked_headline' => 'The install tool has been locked!',
    'locked_explanation' => 'For security reasons, the install tool has been locked after a wrong password had been entered more than three times in a row. To unlock it, run <code>vendor/bin/contao-console contao:install:unlock</code> on the command line.',
    'file_permissions_headline' => 'PHP is not allowed to write files!',
    'file_permissions_explanation' => 'Your server does not support file access via PHP; most likely PHP runs as Apache module under a different user. Please contact your server administrator and ask him to fix the problem.',
    'file_permissions_warning' => '<strong>Do not attempt to fix this yourself by making files and folders writable for everyone!</strong>',
    'accept_license' => 'Accept license',
    'set_password' => 'Install tool password',
    'set_password_hint' => 'Please enter a password to prevent unauthorized access.',
    'password' => 'Password',
    'show_password' => 'Show password',
    'hide_password' => 'Hide password',
    'save_password' => 'Save password',
    'password_too_short' => 'The password should be at least %d characters long!',
    'login' => 'Login',
    'login_explanation' => 'Please enter the install tool password. The install tool password is not the same as the Contao back end password.',
    'allow_cookies' => 'You have to allow cookies to use Contao.',
    'invalid_password' => 'Invalid password!',
    'database_connection' => 'Database connection',
    'database_connected' => 'Database connection established.',
    'database_dot_in_dbname' => 'The database name must not contain dots!',
    'database_could_not_connect' => 'Could not connect to the database!',
    'database_connection_explain' => 'Please enter your database connection parameters.',
    'database_host' => 'Host',
    'database_port' => 'Port number',
    'database_user' => 'Username',
    'database_password' => 'Password',
    'database_name' => 'Database name',
    'save_settings' => 'Save settings',
    'update_tables' => 'Update the database',
    'update_tables_explain' => 'Here you can update the database schema.',
    'update_tables_confirm' => 'The database is up-to-date.',
    'update_save' => 'Update database',
    'CREATE' => 'Create tables',
    'ALTER_TABLE' => 'Change tables',
    'ALTER_ADD' => 'Add columns',
    'ALTER_CHANGE' => 'Change columns',
    'ALTER_DROP' => 'Drop columns',
    'DROP' => 'Drop tables',
    'select_all' => 'Select all',
    'template_import' => 'Import a template',
    'template_import_explain' => 'Here you can import a <code>.sql</code> file from the <code>templates</code> directory. Any existing data will be deleted! If you only want to import a theme, please use the theme manager in the Contao back end instead.',
    'import_exception' => 'The import failed! Is the database up to date and is the template file compatible with your Contao version?',
    'import_empty_source' => 'Please choose a template file!',
    'import_data_will_be_deleted' => 'Any existing data will be deleted!',
    'imported_on' => 'Template imported on %s.',
    'templates' => 'Templates',
    'do_not_truncate' => 'Do not truncate the tables',
    'import_confirm' => 'Any existing data will be deleted! Do you really want to continue?',
    'template_save' => 'Import template',
    'admin_create' => 'Create an admin user',
    'admin_create_explain' => 'Here you can create an admin user to log into the Contao back end.',
    'admin_confirm' => 'An admin user has been created.',
    'admin_username' => 'Username',
    'admin_name' => 'Name',
    'admin_email' => 'E-mail',
    'admin_save' => 'Create admin user',
    'admin_error_extnd' => 'For security reasons you can not use the following characters here: #<>()\\=',
    'admin_error_no_space' => 'The username must not contain any whitespace characters!',
    'admin_error_email' => 'Please enter a valid e-mail address!',
    'admin_error_password_match' => 'The passwords did not match!',
    'admin_error_password_user' => 'Your username and password must not be the same!',
    'admin_error' => 'Please fill in all fields to create an admin user!',
    'congratulations' => 'Congratulations!',
    'congratulations_explain' => 'You have successfully installed Contao.',
    'installation_complete' => 'Installation complete',
    'installation_complete_explain' => 'Now please go to the Contao back end and check the system settings.',
    'back_end' => 'Contao back end',
    'old_database' => 'The database is too old!',
    'old_database_explanation' => 'You need at least Contao 3.2 to upgrade to Contao 4.',
    'console_explanation' => 'A post installation task could not be completed!',
    'duplicate_subscriptions' => 'Duplicate newsletter subscriptions found:',
    'duplicates_purged' => 'The duplicate entries have been purged automatically. A backup of the original subscriptions has been stored in <code>tl_newsletter_recipients_backup</code>.',
    'unsupported_version' => 'Your database version is not supported!',
    'unsupported_version_explain' => 'Contao requires at least MySQL 5.1.0 but you have version %s. Please update your database version.',
    'unsupported_collation' => 'The configured collation is not supported!',
    'unsupported_collation_explain' => 'The configured collation <code>%s</code> is not available on your server. Please install it (recommended) or configure a different character set and collation in the <code>config/config.yml</code> file.',
    'unsupported_engine' => 'The configured database engine is not supported!',
    'unsupported_engine_explain' => 'The configured database engine <code>%s</code> is not available on your server. Please install it (recommended) or configure a different database engine in the <code>config/config.yml</code> file.',
    'engine_mismatch' => 'Invalid combination of database engine and collation!',
    'engine_mismatch_explain' => 'The configured database engine <code>%s</code> does not support utf8mb4. Please use InnoDB instead (recommended) or configure a different character set and collation in the <code>config/config.yml</code> file.',
    'innodb_large_prefix' => 'The innodb_large_prefix option is not enabled!',
    'innodb_large_prefix_explain' => 'The <code>innodb_large_prefix</code> option is not enabled on your server. Please enable it (recommended) or configure a different character set and collation in the <code>config/config.yml</code> file.',
    'innodb_additional' => 'InnoDB is not configured properly!',
    'innodb_additional_explain' => 'Using large prefixes in MySQL versions prior to 5.7.7 and MariaDB versions prior to 10.2 requires the Barracuda file format and the <code>innodb_file_per_table</code> option.',
    'misconfigured_database_url_explain' => 'Could not connect to the database using the connection URL found in the <code>DATABASE_URL</code> environment variable.',
    'strict_sql_mode' => 'Your database server is not running in strict mode!',
    'strict_sql_mode_explain' => 'Running MySQL in non-strict mode can cause corrupt or truncated data. Please enable the strict mode either in your <code>my.cnf</code> file or configure the connection options in the <code>config/config.yml</code> file as follows:',
  ),
));
$catalogue->addFallbackCatalogue($catalogueEn);

return $catalogue;
