jide-oss icon indicating copy to clipboard operation
jide-oss copied to clipboard

Untranslatable string

Open hakanai opened this issue 7 years ago • 2 comments

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.

hakanai avatar May 14 '17 23:05 hakanai

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

jidesoft avatar May 16 '17 15:05 jidesoft

http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html

hakanai avatar May 16 '17 20:05 hakanai