42 lines
2.2 KiB
PHP
42 lines
2.2 KiB
PHP
<?php
|
|
/**
|
|
* Copyright 2018 Matthias Kesler
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
$language = array(
|
|
"NO_CONFIGURATION" => "No configuration found",
|
|
"UNKNOWN_SESSION" => "Session token not found of invalid.",
|
|
"UNKNOWN_USERNAME" => "username unknown",
|
|
"UNKNOWN_TOKEN" => "Token is unknown",
|
|
"USERNAME_LENGTH_INVALID" => "Username cpnsists pf more than 20 or less than 3 characters",
|
|
"USERNAME_NOT_ALNUM" => "Username is not alphanumeric",
|
|
"USERNAME_PENDING_REGISTRATION" => "This username is locked for registration. Try again later or try again with a different username",
|
|
"USERNAME_REGISTERED" => "This username is already registered. Please try again with another username",
|
|
"PASSWORD_NOT_MATCH" => "passwords do not match",
|
|
"NOTE_LENGTH_EXEEDED" => "Note consists of more than 50 characters",
|
|
"EMAIL_INVALID_FORMAT" => "no valid email address",
|
|
"FIRSTNAME_INVALID_FORMAT" => "First name with invalid formatting",
|
|
"SIRNAME_INVALID_FORMAT" => "Sirname with invalid formatting",
|
|
"SEND_MAIL_FAIL" => "Email could not be sent",
|
|
"SEND_MATRIX_FAIL" => "Sending a message to the admins failed",
|
|
"REGISTRATION_REQUEST_FAILED" => "Registration request failed",
|
|
"REGISTRATION_FAILED" => "Registration failed",
|
|
"VERIFICATION_SUCEEDED" => "Verification suceeded",
|
|
"VERIFICATION_FAILED" => "Verification failed",
|
|
"VERIFICATION_SUCCESS_BODY" => "Thank you. The admins got informed",
|
|
"ADMIN_VERIFY_SITE_TITLE" => "Handle registration request",
|
|
"ADMIN_REGISTER_ACCEPTED_BODY" => "The registration request got accepted. The user got notified per email.",
|
|
"ADMIN_REGISTER_DECLINED_BODY" => "The registration request got declined. The user got notified per email.",
|
|
);
|
|
?>
|