CHG component_name and its label, description

This commit is contained in:
Thomas Kuschel 2023-10-06 04:46:37 +02:00
parent a3787d1965
commit 7f79667409
5 changed files with 9 additions and 7 deletions

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<form> <form>
<field <field
name="titel" name="component_name"
type="text" type="text"
label="JFIELD_NAME_LABEL" label="COM_DEPOT_FIELD_COMPONENT_NAME_LABEL"
description="JFIELD_NAME_DESC" description="COM_DEPOT_FIELD_COMPONENT_NAME_DESC"
size="40" required="true"
/> />
<field <field
name="id" name="id"

View File

@ -5,4 +5,6 @@
; @license GNU General Public License version 2 or later; see LICENSE.md ; @license GNU General Public License version 2 or later; see LICENSE.md
; @since 0.0.1 ; @since 0.0.1
; ;
COM_DEPOT_FIELD_COMPONENT_NAME_DESC="Component Name"
COM_DEPOT_FIELD_COMPONENT_NAME_LABEL="The name of the component is unique. Please do not enter special characters or umlauts."
COM_DEPOT_XML_DESCRIPTION="Depot, the component warehouse" COM_DEPOT_XML_DESCRIPTION="Depot, the component warehouse"

View File

@ -8,7 +8,7 @@
DROP TABLE IF EXISTS `#__depot`; DROP TABLE IF EXISTS `#__depot`;
CREATE TABLE `#__depot` ( CREATE TABLE `#__depot` (
`id` SERIAL, `id` SERIAL,
`titel` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL `component_name` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL
COMMENT 'unique component name (ASCII characters only)', COMMENT 'unique component name (ASCII characters only)',
`alias` VARCHAR(1024) NOT NULL DEFAULT '', `alias` VARCHAR(1024) NOT NULL DEFAULT '',
`description` VARCHAR(4000) NOT NULL DEFAULT '', `description` VARCHAR(4000) NOT NULL DEFAULT '',

View File

@ -7,7 +7,7 @@
CREATE TABLE IF NOT EXISTS `#__depot` ( CREATE TABLE IF NOT EXISTS `#__depot` (
`id` SERIAL, `id` SERIAL,
`titel` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL `component_name` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL
COMMENT 'unique component name (ASCII characters only)', COMMENT 'unique component name (ASCII characters only)',
`alias` VARCHAR(1024) NOT NULL DEFAULT '', `alias` VARCHAR(1024) NOT NULL DEFAULT '',
`description` VARCHAR(4000) NOT NULL DEFAULT '', `description` VARCHAR(4000) NOT NULL DEFAULT '',

View File

@ -2,7 +2,7 @@
<extension type="component" method="upgrade"> <extension type="component" method="upgrade">
<name>Depot</name> <name>Depot</name>
<author>KW4NZ</author> <author>KW4NZ</author>
<creationDate>2023-10-04</creationDate> <creationDate>2023-10-06</creationDate>
<copyright>(C) KW4NZ Thomas Kuschel</copyright> <copyright>(C) KW4NZ Thomas Kuschel</copyright>
<license>GPL v2 +; see LICENSE.md</license> <license>GPL v2 +; see LICENSE.md</license>
<authorEmail>thomas@kuschel.at</authorEmail> <authorEmail>thomas@kuschel.at</authorEmail>