Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate key values in i18n files #10

Open
jindrichmynarz opened this issue Jul 1, 2014 · 0 comments
Open

Duplicate key values in i18n files #10

jindrichmynarz opened this issue Jul 1, 2014 · 0 comments
Assignees

Comments

@jindrichmynarz
Copy link
Member

I18n files, such as /src/main/resources/cz/opendata/tenderstats/i18n/buyer.properties, contain many keys with duplicit values. For example:

editevent.help=On this screen, you can create a contract. Enter a title for the contract and at least one CPV code describing the object of the contract. You don't need to know the exact code, just start typing either the CPV code or its label and let autocomplete help you. When you select the contract type, you will be asked to enter more information depending on its type. Mandatory fields have a red asterisk next to them.

...and...

createevent.help=On this screen, you can create a contract. Enter a title for the contract and at least one CPV code describing the object of the contract. You don't need to know the exact code, just start typing either the CPV code or its label and let autocomplete help you. When you select the contract type, you will be asked to enter more information depending on its type. Mandatory fields have a red asterisk next to them.

These keys with duplicit values should be singled out, so that the same locale doesn't have to be maintained in multiple places.

@jindrichmynarz jindrichmynarz changed the title Duplicated keys in i18n files Duplicate key values in i18n files Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants