From 7e1f4b0e1c81e1fdf2f268e57a37aa95b1c843a9 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Tue, 10 Oct 2023 14:04:21 +0200 Subject: [PATCH] [persistence] Capitalize add-on names (#15378) Signed-off-by: Florian Hotze --- .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../main/resources/OH-INF/i18n/dynamodb.properties | 11 +++++++---- .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../main/resources/OH-INF/i18n/influxdb.properties | 11 +++++++---- .../main/resources/OH-INF/i18n/inmemory.properties | 9 +++++++++ .../src/main/resources/OH-INF/addon/addon-derby.xml | 2 +- .../src/main/resources/OH-INF/addon/addon-h2.xml | 2 +- .../src/main/resources/OH-INF/addon/addon-hsqldb.xml | 2 +- .../src/main/resources/OH-INF/addon/addon-mariadb.xml | 2 +- .../src/main/resources/OH-INF/addon/addon-mysql.xml | 2 +- .../main/resources/OH-INF/addon/addon-postgresql.xml | 2 +- .../src/main/resources/OH-INF/addon/addon-sqlite.xml | 2 +- .../src/main/resources/OH-INF/i18n/jdbc.properties | 4 ---- .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../src/main/resources/OH-INF/i18n/jpa.properties | 11 +++++++---- .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../src/main/resources/OH-INF/i18n/mapdb.properties | 4 ++++ .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../src/main/resources/OH-INF/i18n/mongodb.properties | 10 ++++++++++ .../src/main/resources/OH-INF/addon/addon.xml | 2 +- .../src/main/resources/OH-INF/i18n/rrd4j.properties | 4 ++++ 21 files changed, 61 insertions(+), 29 deletions(-) create mode 100644 bundles/org.openhab.persistence.inmemory/src/main/resources/OH-INF/i18n/inmemory.properties create mode 100644 bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/i18n/mapdb.properties create mode 100644 bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/i18n/mongodb.properties create mode 100644 bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/i18n/rrd4j.properties diff --git a/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/addon/addon.xml index aa04cd410d1d5..3e262ca19bd4f 100644 --- a/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - DynamoDB persistence + DynamoDB Persistence This is the persistence add-on for DynamoDB. cloud diff --git a/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/i18n/dynamodb.properties b/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/i18n/dynamodb.properties index a37d972a5bea1..495f7e82c580f 100644 --- a/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/i18n/dynamodb.properties +++ b/bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/i18n/dynamodb.properties @@ -1,3 +1,10 @@ +# add-on + +addon.dynamodb.name = DynamoDB Persistence +addon.dynamodb.description = This is the persistence add-on for DynamoDB. + +# add-on + persistence.config.dynamodb.accessKey.label = AWS access key persistence.config.dynamodb.accessKey.description = AWS access key
Give either 1) access key and secret key, or 2) credentials file and profile name. persistence.config.dynamodb.expireDays.label = Data Expiry, in Days @@ -18,7 +25,3 @@ persistence.config.dynamodb.tablePrefix.label = Table Prefix persistence.config.dynamodb.tablePrefix.description = Legacy: Table prefix used in the name of created tables.
Default is "openhab-" persistence.config.dynamodb.writeCapacityUnits.label = Write Capacity persistence.config.dynamodb.writeCapacityUnits.description = Provisioned write capacity.
Default is 1. - -# service - -service.persistence.dynamodb.label = DynamoDB Persistence Service diff --git a/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/addon/addon.xml index 06bd192644ad4..aaa1089789dba 100644 --- a/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - InfluxDB persistence + InfluxDB Persistence This is the persistence add-on for InfluxDB. local diff --git a/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/i18n/influxdb.properties b/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/i18n/influxdb.properties index c94e5d4c9ca43..11392ed561f57 100644 --- a/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/i18n/influxdb.properties +++ b/bundles/org.openhab.persistence.influxdb/src/main/resources/OH-INF/i18n/influxdb.properties @@ -1,3 +1,10 @@ +# add-on + +addon.influxdb.name = InfluxDB Persistence +addon.influxdb.description = This is the persistence add-on for InfluxDB. + +# add-on + persistence.config.influxdb.addCategoryTag.label = Add Category Tag persistence.config.influxdb.addCategoryTag.description = Should the category of the item be included as tag "category"? If no category is set, "n/a" is used. persistence.config.influxdb.addLabelTag.label = Add Label Tag @@ -28,7 +35,3 @@ persistence.config.influxdb.version.label = Database Version persistence.config.influxdb.version.description = InfluxDB version persistence.config.influxdb.version.option.V1 = InfluxDB 1 persistence.config.influxdb.version.option.V2 = InfluxDB 2 - -# service - -service.persistence.influxdb.label = InfluxDB Persistence Service diff --git a/bundles/org.openhab.persistence.inmemory/src/main/resources/OH-INF/i18n/inmemory.properties b/bundles/org.openhab.persistence.inmemory/src/main/resources/OH-INF/i18n/inmemory.properties new file mode 100644 index 0000000000000..c292862445d71 --- /dev/null +++ b/bundles/org.openhab.persistence.inmemory/src/main/resources/OH-INF/i18n/inmemory.properties @@ -0,0 +1,9 @@ +# add-on + +addon.inmemory.name = InMemory Persistence +addon.inmemory.description = A volatile persistence service to temporarily store data. + +# add-on config + +addon.config.inmemory.maxEntries.label = Maximum Entries +addon.config.inmemory.maxEntries.description = The maximum number of values stored for each item (0 = infinite). diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-derby.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-derby.xml index 1f92d88fff7eb..a7814fd819fb7 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-derby.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-derby.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (Derby) + JDBC Persistence (Derby) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-h2.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-h2.xml index 4fabe6118b9b1..55f78e35d06db 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-h2.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-h2.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (H2) + JDBC Persistence (H2) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-hsqldb.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-hsqldb.xml index 529df6f37d605..4d59784a1f77e 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-hsqldb.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-hsqldb.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (HSQLDB) + JDBC Persistence (HSQLDB) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mariadb.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mariadb.xml index 699b4e346dd73..3c521c491d5fb 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mariadb.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mariadb.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (MariaDB) + JDBC Persistence (MariaDB) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mysql.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mysql.xml index eaa6a909cca8b..b5455bc2381ef 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mysql.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-mysql.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (MySQL) + JDBC Persistence (MySQL) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-postgresql.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-postgresql.xml index b84e2d0d278c9..feee644c6ad41 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-postgresql.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-postgresql.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (PostgreSQL) + JDBC Persistence (PostgreSQL) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-sqlite.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-sqlite.xml index 2ff669ae5ce2b..54c1ba698459c 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-sqlite.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-sqlite.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JDBC persistence (SQLite) + JDBC Persistence (SQLite) This is the persistence add-on for JDBC. org.openhab.jdbc diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties index b30f16ea61334..260c776542c74 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties @@ -52,7 +52,3 @@ persistence.config.jdbc.url.label = Database URL persistence.config.jdbc.url.description = Defines required database URL and optional path and parameters.
Required database url like 'jdbc::[:;]'
Parameter 'service' is used as identifier for the selected jdbc driver. URL-Examples:
jdbc:derby:./testDerby;create=true
jdbc:h2:./testH2;NON_KEYWORDS=VALUE
jdbc:hsqldb:./testHsqlDb
jdbc:mariadb://192.168.0.1:3306/testMariadb
jdbc:mysql://192.168.0.1:3306/testMysql
jdbc:postgresql://192.168.0.1:5432/testPostgresql
jdbc:sqlite:./testSqlite.db persistence.config.jdbc.user.label = Database User persistence.config.jdbc.user.description = Defines the database user. - -# service - -service.persistence.jdbc.label = JDBC Persistence Service diff --git a/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/addon/addon.xml index d23a701759426..8004b1a5fd993 100644 --- a/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - JPA persistence + JPA Persistence This is the persistence add-on for JPA. local diff --git a/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/i18n/jpa.properties b/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/i18n/jpa.properties index 0032237039f15..8b50982c23b2a 100644 --- a/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/i18n/jpa.properties +++ b/bundles/org.openhab.persistence.jpa/src/main/resources/OH-INF/i18n/jpa.properties @@ -1,3 +1,10 @@ +# add-on + +addon.jpa.name = JPA Persistence +addon.jpa.description = This is the persistence add-on for JPA. + +# add-on config + persistence.config.jpa.driver.label = Database Driver persistence.config.jpa.driver.description = The JDBC driver class name for the connection.
Examples:
com.mysql.jdbc.Driver
org.apache.derby.jdbc.ClientDriver
org.mariadb.jdbc.Driver
org.postgresql.Driver persistence.config.jpa.password.label = Database Password @@ -8,7 +15,3 @@ persistence.config.jpa.url.label = Database URL persistence.config.jpa.url.description = JDBC connection URL.
Examples:
jdbc:derby://hab.local:1527/openhab;create=true
jdbc:mariadb://localhost:3306/openhab
jdbc:mysql://localhost:3306/openhab
jdbc:postgresql://hab.local:5432/openhab persistence.config.jpa.user.label = Database User persistence.config.jpa.user.description = The database user name for the connection. - -# service - -service.persistence.jpa.label = JPA Persistence Service diff --git a/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/addon/addon.xml index 5cfca1d3388f6..fead93ef9bc36 100644 --- a/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - MapDB persistence + MapDB Persistence This is the persistence add-on for MapDB. none diff --git a/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/i18n/mapdb.properties b/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/i18n/mapdb.properties new file mode 100644 index 0000000000000..578c616cb0256 --- /dev/null +++ b/bundles/org.openhab.persistence.mapdb/src/main/resources/OH-INF/i18n/mapdb.properties @@ -0,0 +1,4 @@ +# add-on + +addon.mapdb.name = MapDB Persistence +addon.mapdb.description = This is the persistence add-on for MapDB. diff --git a/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/addon/addon.xml index f129d25535e79..bf70a1ebd4a91 100644 --- a/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - MongoDB persistence + MongoDB Persistence This is the persistence add-on for MongoDB. local diff --git a/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/i18n/mongodb.properties b/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/i18n/mongodb.properties new file mode 100644 index 0000000000000..d7e21b7a0fb54 --- /dev/null +++ b/bundles/org.openhab.persistence.mongodb/src/main/resources/OH-INF/i18n/mongodb.properties @@ -0,0 +1,10 @@ +# add-on + +addon.mongodb.name = MongoDB Persistence +addon.mongodb.description = This is the persistence add-on for MongoDB. + +# add-on config + +addon.config.mongodb.collection.label = Collection +addon.config.mongodb.database.label = Database Name +addon.config.mongodb.url.label = MongoDB connection URL diff --git a/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/addon/addon.xml index d98570d949e33..afdc87a73ab52 100644 --- a/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/addon/addon.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> persistence - RRD4J persistence + RRD4J Persistence This is the persistence add-on for RRD4J. none diff --git a/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/i18n/rrd4j.properties b/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/i18n/rrd4j.properties new file mode 100644 index 0000000000000..cc72ac9f2a9b5 --- /dev/null +++ b/bundles/org.openhab.persistence.rrd4j/src/main/resources/OH-INF/i18n/rrd4j.properties @@ -0,0 +1,4 @@ +# add-on + +addon.rrd4j.name = RRD4J Persistence +addon.rrd4j.description = This is the persistence add-on for RRD4J.