OpenJPA
  1. OpenJPA
  2. OPENJPA-1498

Update localizer.properties files for easier translation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-beta3
    • Component/s: logging
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      A few minor issues were found with some of the localizer.properties files which may make them hard to parse by some translation tools. These are generally minor things like single quotes ('should be '') and trailing whitespace.

      1. openjpa_patch.txt
        15 kB
        Cathy Nordstrom
      2. openjpa_patch1.txt
        15 kB
        Cathy Nordstrom

        Activity

        Hide
        Cathy Nordstrom added a comment -

        Minor corrections needed for translation or to correct grammar or proper display of message.

        org\apache\openjpa\kernel\localizer.properties
        duplicate ids, bad-lock-level
        removed the first one since it was not as detailed
        Wrote test TestFetchConfigurationImpl to be able to see message displayed by the IllegalArgumentException

        org\apache\openjpa\datacache\localizer.properties
        add single quotes around singe quotes so that the single quote will appear in the message
        Tested change with TestPartitionedDataCache

        org\apache\openjpa\persistence\localizer.properties
        duplicate ids - removef the extra param-missing and left the first as param-missing.
        Tried to test with TestQueryParameters, but project has errors since switch to java6.

        org\apache\openjpa\persistence\localizer.properties
        changed either to neither in param-no-key

        org\apache\openjpa\persistence\meta\localizer.properties
        corrected grammar in mmg-bad-log

        Show
        Cathy Nordstrom added a comment - Minor corrections needed for translation or to correct grammar or proper display of message. org\apache\openjpa\kernel\localizer.properties duplicate ids, bad-lock-level removed the first one since it was not as detailed Wrote test TestFetchConfigurationImpl to be able to see message displayed by the IllegalArgumentException org\apache\openjpa\datacache\localizer.properties add single quotes around singe quotes so that the single quote will appear in the message Tested change with TestPartitionedDataCache org\apache\openjpa\persistence\localizer.properties duplicate ids - removef the extra param-missing and left the first as param-missing. Tried to test with TestQueryParameters, but project has errors since switch to java6. org\apache\openjpa\persistence\localizer.properties changed either to neither in param-no-key org\apache\openjpa\persistence\meta\localizer.properties corrected grammar in mmg-bad-log
        Hide
        Cathy Nordstrom added a comment -

        Added which version is affected and marked this as Path available

        Show
        Cathy Nordstrom added a comment - Added which version is affected and marked this as Path available
        Hide
        Cathy Nordstrom added a comment -

        openjpa_patch1.txt is a replacement for openjpa_patch.txt. Kevin Sutter has reviewed openjpa_patch.txt and I have made updated to TestFetchConfigurationImpl.java for his suggestions.

        Show
        Cathy Nordstrom added a comment - openjpa_patch1.txt is a replacement for openjpa_patch.txt. Kevin Sutter has reviewed openjpa_patch.txt and I have made updated to TestFetchConfigurationImpl.java for his suggestions.

          People

          • Assignee:
            Cathy Nordstrom
            Reporter:
            Michael Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development