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

Untranslatable string #22

Open
hakanai opened this issue May 14, 2017 · 2 comments
Open

Untranslatable string #22

hakanai opened this issue May 14, 2017 · 2 comments

Comments

@hakanai
Copy link

hakanai commented May 14, 2017

com/jidesoft/plaf/basic/folderChooser.properties contains the following entry:

FolderChooser.delete.message2=Are you sure you want to permanently delete these {0} items?

This is used from some manual-pluralisation code:

                if (selection.size() > 1) {
                    text = MessageFormat.format(
                            resourceBundle.getString("FolderChooser.delete.message2"), selection.size());
                }
                else {
                    text = resourceBundle.getString("FolderChooser.delete.message1");
                }

This affects translations because not all languages have the same pluralisation rules as English.

@jidesoft
Copy link
Owner

If a language doesn't use this pluralization, the two strings can be the same. It shouldn't affect you in any case, right?

@hakanai
Copy link
Author

hakanai commented May 16, 2017

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

No branches or pull requests

2 participants