[
https://issues.apache.org/jira/browse/DERBY-5879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-5879:
---------------------------------
Attachment: derby-5879-02-aa-MessageIdmessages.diff
Attaching derby-5879-02-aa-MessageIdmessages.diff. This patch mostly fixes
problems in messages whose codes appear in MessageId. These are mostly
capitalization errors. I have adjusted canonized results so that the tests run
cleanly.
Besides the capitalization errors, I also fixed a Store message
(MessageId.STORE_BOOT_MSG). This message involved appending a clause to the end
of another message. This is the sort of message concatenation which can be
awkward for localization. I replaced the appended clause with a separate
message: MessageId.STORE_BOOT_MSG_READ_ONLY.
Touches the following files:
--------------
M java/engine/org/apache/derby/loc/messages.xml
M java/shared/org/apache/derby/shared/common/reference/MessageId.java
Actual changes to messages.
--------------
M
java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java
Needed to adjust the code which was concatenating two independently localized
strings.
--------------
M
java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java
M
java/testing/org/apache/derbyTesting/functionTests/master/GetPropertyInfoTest.out
Changes to canonized message text in the tests.
> Fix problems in English messages disclosed by a localization audit.
> -------------------------------------------------------------------
>
> Key: DERBY-5879
> URL: https://issues.apache.org/jira/browse/DERBY-5879
> Project: Derby
> Issue Type: Task
> Affects Versions: 10.10.0.0
> Reporter: Rick Hillegas
> Attachments: derby-5879-01-aa-multiLineToolsMessages.diff,
> derby-5879-02-aa-MessageIdmessages.diff
>
>
> The team which is localizing the 10.9 messages would like to audit our
> existing messages to ensure that they are easy to translate. A quick glance
> at their audit results shows many issues in the following categories:
> 1) Multi-line messages whose formatting confuses the translators. Translators
> tend to be language experts and not experts in the arcana of how Java
> properties files are formatted. I am hoping that these issues can be
> addressed by simply prefixing the multi-line messages with comments,
> explaining the arcane formatting.
> 2) Grammar, punctuation, and capitalization problems. I think we should just
> clean these up.
> I am filing this issue as a place to hold patches which address issues raised
> by the localization audit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira