Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

97 wiersze
2.5 KiB
PHP

<?php
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
define("MESSAGES", [
"invalid_parameters" => [
"string" => "invalid parameters",
"type" => "danger"
],
"account_state_error" => [
"string" => "account state error",
"type" => "danger"
],
"404_error" => [
"string" => "page not found",
"type" => "info"
],
"settings_saved" => [
"string" => "settings saved",
"type" => "success"
],
"page_added" => [
"string" => "page added",
"type" => "success"
],
"slug_taken" => [
"string" => "chosen page id slug already taken",
"type" => "danger"
],
"template_missing" => [
"string" => "template missing",
"type" => "danger"
],
"message_deleted" => [
"string" => "message deleted",
"type" => "success"
],
"file_security_error" => [
"string" => "operation cancelled for security reasons",
"type" => "danger"
],
"upload_success" => [
"string" => "upload successful",
"type" => "success"
],
"upload_warning" => [
"string" => "upload warning",
"type" => "warning"
],
"missing_folder" => [
"string" => "destination folder does not exist",
"type" => "danger"
],
"unwritable_folder" => [
"string" => "destination folder does not allow uploads",
"type" => "danger"
],
"upload_too_big" => [
"string" => "uploaded data too large",
"type" => "danger"
],
"undeletable_file" => [
"string" => "undeletable file",
"type" => "danger"
],
"folder_not_empty" => [
"string" => "folder not empty",
"type" => "danger"
],
"file_not_deleted" => [
"string" => "file not deleted",
"type" => "danger"
],
"file_deleted" => [
"string" => "file deleted",
"type" => "success"
],
"folder_deleted" => [
"string" => "folder deleted",
"type" => "success"
],
"folder_created" => [
"string" => "folder created",
"type" => "success"
],
"folder_not_created" => [
"string" => "folder not created",
"type" => "danger"
],
"no_permission" => [
"string" => "no permission",
"type" => "danger"
]
]);