ManagePanel/langs/messages.php

113 lines
2.9 KiB
PHP
Raw Permalink Normal View History

<?php
2017-12-16 13:54:00 -07:00
/* 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"
],
"invalid_userid" => [
"string" => "invalid userid",
"type" => "danger"
],
"user_saved" => [
"string" => "user saved",
"type" => "success"
],
"user_deleted" => [
"string" => "user deleted",
"type" => "success"
],
"user_not_exists" => [
"string" => "user does not exist",
"type" => "danger"
],
"log_cleared" => [
"string" => "log cleared",
"type" => "success"
2017-05-27 23:55:19 -06:00
],
"relationship_added" => [
"string" => "relationship added",
"type" => "success"
],
"relationship_deleted" => [
"string" => "relationship deleted",
"type" => "success"
2017-05-28 23:24:56 -06:00
],
"permission_not_exists" => [
"string" => "permission does not exist",
"type" => "danger"
],
2017-12-16 13:38:20 -07:00
"permissions_assigned" => [
"string" => "permissions assigned",
"type" => "success"
],
2017-05-28 23:24:56 -06:00
"permission_added" => [
"string" => "permission added",
"type" => "success"
],
"permission_deleted" => [
"string" => "permission deleted",
"type" => "success"
],
"2fa_removed" => [
"string" => "2fa removed",
"type" => "success"
2017-10-10 20:20:30 -06:00
],
"manager_assigned" => [
"string" => "manager assigned",
"type" => "success"
],
"invalid_manager" => [
"string" => "manager does not exist",
"type" => "danger"
],
2017-12-22 01:19:12 -07:00
"invalid_group" => [
"string" => "group does not exist",
"type" => "danger"
],
"group_assigned" => [
"string" => "group members updated",
"type" => "success"
],
"group_added" => [
"string" => "group added",
"type" => "success"
],
"group_deleted" => [
"string" => "group deleted",
"type" => "success"
],
"group_exists" => [
"string" => "group already exists",
"type" => "danger"
],
2019-02-13 22:07:15 -07:00
"cannot_revoke_key_in_use" => [
"string" => "Cannot revoke that API key, you would lose access to ManagePanel.",
"type" => "danger"
],
"api_key_revoked" => [
"string" => "API key revoked.",
"type" => "success"
],
"key_already_exists" => [
"string" => "That API key already exists.",
"type" => "warning"
],
"api_key_added" => [
"string" => "API key added.",
"type" => "success"
],
]);