Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8311

There are typos in .properties localization files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR2
    • None
    • Localization
    • None
    • CR2

      Document https://access.stage.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/development-guide/#customizing_internationalized_log_messages says:

      To use explicit indexes, insert %#$s characters in the message, where # indicates the number of the parameter that you wish to appear.
      

      However I have found 66 typos.

      EAP 7.1.0.DR10

          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_zh_Hans.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_pt_BR.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_de.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_ja.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%3' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_ja.properties   KEY:'invalidMaxThreads'   INDEXES: '%1$d' '%2$d' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_fr.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/ee/src/main/resources/org/jboss/as/ee/logging/EeLogger.i18n_es.properties   KEY:'componentClassHasErrors'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/messaging-activemq/src/main/resources/org/wildfly/extension/messaging/activemq/logging/MessagingLogger.i18n_ja.properties   KEY:'failedToUnbindJndiName'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/undertow/src/main/resources/org/wildfly/extension/undertow/logging/UndertowLogger.i18n_ja.properties   KEY:'listenerStopped'   INDEXES: '%4$d' 
          	jboss-eap-7.1-src/undertow/src/main/resources/org/wildfly/extension/undertow/logging/UndertowLogger.i18n_ja.properties   KEY:'listenerStarted'   INDEXES: '%4$d' 
          	jboss-eap-7.1-src/legacy/messaging/src/main/resources/org/jboss/as/messaging/logging/MessagingLogger.i18n_ja.properties   KEY:'failedToUnbindJndiName'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/naming/src/main/resources/org/jboss/as/naming/logging/NamingLogger.i18n_ja.properties   KEY:'unexpectedParameterType'   INDEXES: '%1$d' '%2$d' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_ja.properties   KEY:'failToCompleteTaskBeforeTimeOut'   INDEXES: '%2$S' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_ja.properties   KEY:'ejbJarConfigNotBeenSet'   INDEXES: '%2$S' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_ja.properties   KEY:'rmiIiopVoliation'   INDEXES: '%s%n' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_ja.properties   KEY:'exceptionRepositoryNotFound'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_zh_Hans.properties   KEY:'componentNotInstanceOfSessionComponent'   INDEXES: '%s%n' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_fr.properties   KEY:'rmiIiopVoliation'   INDEXES: '%s%n' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_fr.properties   KEY:'componentNotInstanceOfSessionComponent'   INDEXES: '%s%n' 
          	jboss-eap-7.1-src/ejb3/src/main/resources/org/jboss/as/ejb3/logging/EjbLogger.i18n_fr.properties   KEY:'exceptionRepositoryNotFound'   INDEXES: '%n%s' 
          	jboss-eap-7.1-src/jsr77/src/main/resources/org/jboss/as/jsr77/logging/JSR77Logger.i18n_ja.properties   KEY:'wrongParamLength'   INDEXES: '%2$d' '%1$d' 
          	jboss-eap-7.1-src/jsr77/src/main/resources/org/jboss/as/jsr77/logging/JSR77Logger.i18n_ja.properties   KEY:'wrongParamType'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/clustering/jgroups/extension/src/main/resources/org/jboss/as/clustering/jgroups/logging/JGroupsLogger.i18n_ja.properties   KEY:'setProtocolPropertyValue'   INDEXES: '%3$d' 
          	jboss-eap-7.1-src/clustering/jgroups/extension/src/main/resources/org/jboss/as/clustering/jgroups/logging/JGroupsLogger.i18n_ja.properties   KEY:'nonExistentProtocolPropertyValue'   INDEXES: '%3$d' 
          	jboss-eap-7.1-src/clustering/common/src/main/resources/org/jboss/as/clustering/logging/ClusteringLogger.i18n_fr.properties   KEY:'parameterValueOutOfBounds'   INDEXES: '%2$g' '%4$g' 
          	jboss-eap-7.1-src/clustering/common/src/main/resources/org/jboss/as/clustering/logging/ClusteringLogger.i18n_ja.properties   KEY:'parameterValueOutOfBounds'   INDEXES: '%2$g' '%4$g' 
          	jboss-eap-7.1-src/clustering/common/src/main/resources/org/jboss/as/clustering/logging/ClusteringLogger.i18n_zh_Hans.properties   KEY:'parameterValueOutOfBounds'   INDEXES: '%2$g' '%4$g' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_zh_Hans.properties   KEY:'quorumNotReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_zh_Hans.properties   KEY:'quorumJustReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_fr.properties   KEY:'quorumNotReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_fr.properties   KEY:'quorumJustReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_ja.properties   KEY:'quorumNotReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/clustering/server/src/main/resources/org/wildfly/clustering/server/logging/ClusteringServerLogger.i18n_ja.properties   KEY:'quorumJustReached'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/pojo/src/main/resources/org/jboss/as/pojo/logging/PojoLogger.i18n_es.properties   KEY:'methodNotFound'   INDEXES: '%s%s' 
          	jboss-eap-7.1-src/pojo/src/main/resources/org/jboss/as/pojo/logging/PojoLogger.i18n_pt_BR.properties   KEY:'methodNotFound'   INDEXES: '%s%s' 
          	jboss-eap-7.1-src/pojo/src/main/resources/org/jboss/as/pojo/logging/PojoLogger.i18n_zh_Hans.properties   KEY:'methodNotFound'   INDEXES: '%s%s' 
          	jboss-eap-7.1-src/pojo/src/main/resources/org/jboss/as/pojo/logging/PojoLogger.i18n_de.properties   KEY:'methodNotFound'   INDEXES: '%s%s' 
          	jboss-eap-7.1-src/pojo/src/main/resources/org/jboss/as/pojo/logging/PojoLogger.i18n_fr.properties   KEY:'methodNotFound'   INDEXES: '%s%s' 
          	jboss-eap-7.1-src/jpa/subsystem/src/main/resources/org/jboss/as/jpa/messages/JpaLogger.i18n_ja.properties   KEY:'referenceCountedEntityManagerNegativeCount'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/jpa/subsystem/src/main/resources/org/jboss/as/jpa/messages/JpaLogger.i18n_ja.properties   KEY:'noPUnitNameSpecifiedAndMultiplePersistenceUnits'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/jpa/subsystem/src/main/resources/org/jboss/as/jpa/messages/JpaLogger.i18n_ja.properties   KEY:'startingPersistenceUnitService'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/jpa/subsystem/src/main/resources/org/jboss/as/jpa/messages/JpaLogger.i18n_ja.properties   KEY:'stoppingPersistenceUnitService'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/connector/src/main/resources/org/jboss/as/connector/logging/ConnectorLogger.i18n_ja.properties   KEY:'deployingNonCompliantJdbcDriver'   INDEXES: '%2$d' '%3$d' 
          	jboss-eap-7.1-src/connector/src/main/resources/org/jboss/as/connector/logging/ConnectorLogger.i18n_ja.properties   KEY:'deployingCompliantJdbcDriver'   INDEXES: '%2$d' '%3$d' 
          	jboss-eap-7.1-src/picketlink/src/main/resources/org/wildfly/extension/picketlink/logging/PicketLinkLogger.i18n_ja.properties   KEY:'invalidChildTypeOccurrence'   INDEXES: '%2$d' 
          	jboss-eap-7.1-src/batch/extension-jberet/src/main/resources/org/wildfly/extension/batch/jberet/_private/BatchLogger.i18n_ja.properties   KEY:'stoppingJobFailed'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/batch/extension-jberet/src/main/resources/org/wildfly/extension/batch/jberet/_private/BatchLogger.i18n_ja.properties   KEY:'stoppingJob'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/batch/extension-jberet/src/main/resources/org/wildfly/extension/batch/jberet/_private/BatchLogger.i18n_ja.properties   KEY:'restartingJob'   INDEXES: '%2$d' '%3$d' 
          	jboss-eap-7.1-src/batch/extension-jberet/src/main/resources/org/wildfly/extension/batch/jberet/_private/BatchLogger.i18n_ja.properties   KEY:'failedRestartingJob'   INDEXES: '%1$d' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_fr.properties   KEY:'argUsage'   INDEXES: '%n%n' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_zh_Hans.properties   KEY:'argUsage'   INDEXES: '%n%n' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_pt_BR.properties   KEY:'argUsage'   INDEXES: '%n%n' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_de.properties   KEY:'argUsage'   INDEXES: '%n%n' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_es.properties   KEY:'argUsage'   INDEXES: '%n%n' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_ja.properties   KEY:'failedToParseXml.3'   INDEXES: '%2$d' '%3$d' 
          	jboss-eap-7.1-src/appclient/src/main/resources/org/jboss/as/appclient/logging/AppClientLogger.i18n_ja.properties   KEY:'argUsage'   INDEXES: '%n%n' 
      

              ljanda@redhat.com Ludek Janda (Inactive)
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: