mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
d7b700f781
- Extension installer is visible only for system/extensions - Removed the old phrases editor from Vilesci - system/checksystem.php does not call anymore system/phrasesupdate.php - system/phrasesupdate.php has been removed - Added new directory application/phrases - application/phrases contains one file for each phrases category, and one file contains all the phrases for that category - Added new controller system/phrases/Manager to install phrases in the core - Added new constants CORE_PHRASES_DIRECTORY, INSERT_BY, APP, CATEGORY, PHRASE, SPRACHE, TEXT and DESCRIPTION to libraries/PhrasesLib - libraries/PhrasesLib now loads EPrintfLib - Removed public methods getPhraseByApp, getPhraseInhalt, delPhrasentext, savePhrase, getPhrasentextById, insertPhraseinhalt, getVorlagetextById and updatePhraseInhalt from libraries/PhrasesLib - Renamed public method getJSON to toJSON in libraries/PhrasesLib - Added new public methods installFromCore and installFrom to libraries/PhrasesLib - Added new private methods _installPhrases and _addPhrases to libraries/PhrasesLib
448 lines
10 KiB
PHP
448 lines
10 KiB
PHP
<?php
|
|
/* Copyright (C) 2013 FH Technikum-Wien
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
*/
|
|
|
|
$phrases = array(
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'changeFor',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort ändern für',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Changing password for',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'usage',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das Passwort muss zumindest 8 Zeichen enthalten, davon mindestens 1 Großbuchstabe, 1 Kleinbuchstabe und eine Ziffer.<br />Das Passwort darf keine Leerzeichen und Umlaute enthalten.<br />Erlaubte Sonderzeichen sind: -$#[]{}!().,*:;_',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The password must contain at least 8 characters, of which 1 must be upper case, 1 lower case and 1 a numeral.<br><br>The password may not include spaces or umlauts.<br>The following special characters are allowed: -$#[]{}!().,*:;_',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'extraUsage',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Weitere Informationen zur Passwort Policy finden Sie unter <a href="../../../../cms/dms.php?id={PASSWORD_POLICY_DMS}">diesem Link</a>',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'More information about the Password Policy can be found at <a href="../../../../cms/dms.php?id={PASSWORD_POLICY_DMS}">this link</a>',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'password',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'old',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Altes Passwort',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Old password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'new',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Neues Passwort',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'New password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'newRepeat',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Wiederholung des neuen Passworts',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Repeat new password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'change',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort ändern',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Change password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'pageTitle',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort ändern',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Changing password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'missingParameters',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Bitte geben Sie das alte und neue Passwort ein',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Please enter the old and the new password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'oldPasswordWrong',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das alte Passwort ist nicht korrekt',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The old password is incorrect',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'newNotSameRepeat',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwörter stimmen nicht überein',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Passwords do not match',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'length',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das neue Passwort muss mindestens 8 Zeichen lang sein.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The new password must contain at least 8 characters.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'atLeastAUpperCase',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das neue Passwort muss mindestens einen Grossbuchstaben enthalten.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The new password must contain at least 1 upper case character.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'atLeastANumber',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Es muss mindestens eine Ziffer vorhanden sein.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The new password must contain at least 1 numeral character.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'genericError',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Es ist ein Fehler aufgetreten. Passwortänderung fehlgeschlagen',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'An Error occured. Password change failed.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'changed',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort wurde erfolgreich geändert',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Password successfully changed',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'noBlanks',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Es darf kein Leerzeichen im Passwort vorkommen.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The password may not include spaces.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'noUmlauts',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Es dürfen keine Umlaute verwendet werden.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The password may not include umlauts.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'noSpecialCharacters',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Bitte verwenden Sie nur erlaubte Sonderzeichen',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Please use only permitted special characters.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'atLeastALowerCase',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das neue Passwort muss mindestens einen Kleinbuchstaben enthalten.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The new password must contain at least 1 lower case character.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'newSameOld',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Das neue Passwort muss sich vom alten Passwort unterscheiden.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'The new password must be different from the old password.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'wrongPassword',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Falsches Passwort',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Wrong password',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'passwordMissing',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Passwort fehlt',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Password missing',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'password',
|
|
'phrase' => 'wrongCaptcha',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Captcha code falsch ',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Captcha code is wrong',
|
|
'description' => '',
|
|
)
|
|
)
|
|
)
|
|
);
|
|
|