Skip to content

Conversation

marcin-gajda
Copy link
Contributor

It turns out that the json-editor's translation support worked for error messages only, whereas my project (http://szarada.net/) needed also Polish translations of buttons shown by one of array editors.

Attached patch provides support for the localised button texts and titles, following json-editor's original translation framework principles and API-s.

Although my project uses the array.js editor only, I've provided similar translation support to the table.js editor too, to keep source code consistency.

Big thanks for the excellent JSON editor component from the Szarada.net crew!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just 'Delete' text, whereas the the array.js editor displays the item title too. Is this intentional? Nevertheless, I've provided distinct translation keys for both versions of the Delete button text.

@jdorn jdorn merged commit 511a27d into jdorn:master Feb 11, 2016
jdorn added a commit that referenced this pull request Feb 11, 2016
Closes #526 Closes #533 Closes #436 Fixes #388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants