<?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"
    ],
    "pub_saved" => [
        "string" => "publication saved",
        "type" => "success"
    ],
    "pub_deleted" => [
        "string" => "publication deleted",
        "type" => "success"
    ],
    "invalid_pubid" => [
        "string" => "invalid pubid",
        "type" => "danger"
    ],
    "no_permission" => [
        "string" => "no permission",
        "type" => "danger"
    ],
    "invalid_listid" => [
        "string" => "invalid listid",
        "type" => "danger"
    ],
    "list_saved" => [
        "string" => "list saved",
        "type" => "success"
    ],
    "list_deleted" => [
        "string" => "list deleted",
        "type" => "success"
    ],
    "mail_error" => [
        "string" => "mail error {arg}",
        "type" => "danger"
    ],
    "mail_sent" => [
        "string" => "mail sent",
        "type" => "success"
    ],
]);
