How do I have to format a choice in ResourceBundle? -


how have format entry in resourcebundle values less 0, 0 , greater 0? tried way:

my.key = data ''{1}'' {0,choice,0>{0,number,integer} not modified|0#successfully modified|0<{0,number,integer not modified}!

but java.lang.illegal argumentexception.

i use messageformat way:

int status = init instance -1 / 0 / 1... mf.format(new object[]{status, name}); 


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -