From 62ae83f3b5a0eca67b5a5c4ae6cd01c4f6b3ac23 Mon Sep 17 00:00:00 2001 From: "Kevin W. Sutter" Date: Tue, 17 Jul 2007 13:43:40 +0000 Subject: [PATCH] Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's". git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/openjpa/jdbc/conf/localizer.properties | 4 ++-- .../org/apache/openjpa/jdbc/kernel/localizer.properties | 2 +- .../org/apache/openjpa/jdbc/sql/localizer.properties | 4 ++-- .../resources/org/apache/openjpa/event/localizer.properties | 2 +- .../resources/org/apache/openjpa/meta/localizer.properties | 2 +- .../org/apache/openjpa/persistence/localizer.properties | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/conf/localizer.properties b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/conf/localizer.properties index 55ca7f47b..26be53c72 100644 --- a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/conf/localizer.properties +++ b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/conf/localizer.properties @@ -165,8 +165,8 @@ SQLFactory-interface: org.apache.openjpa.jdbc.sql.SQLFactory MappingFactory-name: Mapping factory MappingFactory-desc: The org.apache.openjpa.meta.MetaDataFactory that will \ provide the object-relational mapping information needed to map each \ - persistent class to the database, if it isn't provided by current metadata \ - MetaDataFactory. + persistent class to the database, if it is not provided by current \ + metadata MetaDataFactory. MappingFactory-type: General MappingFactory-cat: Mappings MappingFactory-displayorder: 50 diff --git a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties index 5c0d3e675..3cb715d72 100644 --- a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties +++ b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties @@ -75,7 +75,7 @@ no-seq-sql: Error instantiating named sequence "{0}": Your database dictionary \ does not support native sequences. To tell the dictionary how to select \ sequence values, use:\n\ openjpa.jdbc.DBDictionary: NextSequenceQuery="SELECT NEXT VALUE \ - FOR \{0\}"\n\ + FOR '{0}"\n\ Where the above string is replaced with the proper SQL for your database. invalid-seq-sql: No rows returned for sql "{0}". Check your configuration. insert-seq: Inserting row for this mapping into sequence table. diff --git a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties index 61f5a233d..b640c2d4d 100644 --- a/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties +++ b/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties @@ -30,11 +30,11 @@ incompat-ordering: This query cannot be completed. The SQL SELECTs needed \ to complete the query have incompatible ordering. Their results cannot \ be merged. unpadded-char-cols: You are using CHAR columns with a data source or driver \ - that doesn't implement OraclePreparedStatement.setFixedCHAR(). \ + that does not implement OraclePreparedStatement.setFixedCHAR(). \ Comparisons on unpadded string values may fail. unconfigured-nchar-cols: You are using NCHAR or NCLOB columns with a \ data source or driver \ - that doesn't implement OraclePreparedStatement.setFormOfUse(). \ + that does not implement OraclePreparedStatement.setFormOfUse(). \ Storing unicode values may fail or be corrupted. diff-values: Attempt to set column "{0}" to two different values: \ ({1})"{2}", ({3})"{4}" \ diff --git a/openjpa-kernel/src/main/resources/org/apache/openjpa/event/localizer.properties b/openjpa-kernel/src/main/resources/org/apache/openjpa/event/localizer.properties index 0d8ee774e..7ad4522a7 100644 --- a/openjpa-kernel/src/main/resources/org/apache/openjpa/event/localizer.properties +++ b/openjpa-kernel/src/main/resources/org/apache/openjpa/event/localizer.properties @@ -20,7 +20,7 @@ orphaned-key-owner: Detected possible orphaned reference to deleted object \ orphaned-key: Detected possible orphaned reference to deleted object "{0}" \ in "{1}". no-added-oids: You have attempted to access the added object Ids for \ - this event, however the RemoteCommitProvider isn't configured to send \ + this event, however the RemoteCommitProvider is not configured to send \ them. You need to either update your RemoteCommitEventListerner, \ or change your org.apache.openjpa.RemoteCommitProvider property so that it includes \ the option TransmitAddedObjectIds. diff --git a/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties b/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties index ef6aa0a37..ec329ed65 100644 --- a/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties +++ b/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties @@ -200,7 +200,7 @@ bad-update-strategy: "{0}" declares a read only value of "{1}". \ bad-update-strategy-hint: "{0}" declares a read only value of \ "{1}". This is not a recognized strategy, though it closely resembles \ the standard strategy "{2}". Available strategies are: {3} -not-interface: Can't set type "{0}" to be a managed interface as it is not \ +not-interface: Cannot set type "{0}" to be a managed interface as it is not \ and interface. interface: The type "{0}" is an unmanaged interface and therefore cannot be \ made persistent. diff --git a/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/localizer.properties b/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/localizer.properties index 02779b3ad..d7eb58eff 100644 --- a/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/localizer.properties +++ b/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/localizer.properties @@ -109,7 +109,7 @@ multiple-methods-on-callback: Class "{0}" declares method "{1}" as well \ unloadable-provider: WARNING: Unable to load persistence provider "{0}" due \ to "{1}" unrecognized-provider: WARNING: Found unrecognized persistence provider "{0}" \ - in place of OpenJPA provider. This provider's properties will not be used. + in place of OpenJPA provider. This provider''s properties will not be used. cant-convert-brokerfactory: Unable to convert EntityManagerFactory of type \ "{0}" into a BrokerFactory. cant-convert-broker: Unable to convert EntityManager of type "{0}" into a \