Incorrect work with _n* functions
-
Howdy, Loco support.
If I use an
_n*
functions with static text as detecting a singular or plural as an example_n( 'Krya 1', 'Krya 2', 1, 'krya' )
it works well. But if in the code a have the same string translated using another translate function then the_n
function broken.Works good:
_n( 'Krya 1', 'Krya 2', 1, 'krya' ); _n( 'Krya 1', 'Krya 2', 2, 'krya' );
Works bad:
__( 'Krya 1', 'krya' ); __( 'Krya 2', 'krya' ); _n( 'Krya 1', 'Krya 2', 1, 'krya' ); _n( 'Krya 1', 'Krya 2', 2, 'krya' ); // Broken
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Incorrect work with _n* functions’ is closed to new replies.