You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BinStack/langs/messages.php

109 lines
2.7 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"
],
"no_edit_permission" => [
"string" => "no edit permission",
"type" => "danger"
],
"invalid_itemid" => [
"string" => "invalid itemid",
"type" => "danger"
],
"invalid_catid" => [
"string" => "invalid catid",
"type" => "danger"
],
"invalid_locid" => [
"string" => "invalid locid",
"type" => "danger"
],
"invalid_category" => [
"string" => "invalid category",
"type" => "danger"
],
"invalid_location" => [
"string" => "invalid location",
"type" => "danger"
],
"item_saved" => [
"string" => "item saved",
"type" => "success"
],
"item_deleted" => [
"string" => "item deleted",
"type" => "success"
],
"category_saved" => [
"string" => "category saved",
"type" => "success"
],
"category_deleted" => [
"string" => "category deleted",
"type" => "success"
],
"category_in_use" => [
"string" => "category in use",
"type" => "danger"
],
"location_saved" => [
"string" => "location saved",
"type" => "success"
],
"location_deleted" => [
"string" => "location deleted",
"type" => "success"
],
"location_in_use" => [
"string" => "location in use",
"type" => "danger"
],
"field_nan" => [
"string" => "field not a number",
"type" => "danger"
],
"missing_name" => [
"string" => "missing name",
"type" => "danger"
],
"use_the_drop_luke" => [
"string" => "use the dropdowns",
"type" => "danger"
],
"noloccat" => [
"string" => "make categories and locations",
"type" => "info"
],
"upload_warning" => [
"string" => "Upload finished with errors: {arg}",
"type" => "warning"
],
"upload_success" => [
"string" => "Image uploaded.",
"type" => "success"
],
"stock_added" => [
"string" => "stock added",
"type" => "success"
],
"stock_removed" => [
"string" => "stock removed",
"type" => "success"
]
]);