no gettext context _x()
-
Hello,
I suppose this is a bug, I can’t use the context translations “_x()” because of the process_gettext_strings function (class-translation-manager.php line 839). It’s always returning the default translation without the context.
I’ve found a hack, declaring a $_REQUEST[‘action’] == ‘trp_something’ before the _x(), which puts me into this condition :
if( isset( $_REQUEST[‘action’] ) && strpos($_REQUEST[‘action’], ‘trp_’) === 0 )
return $translation;Can you bring a fix please ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘no gettext context _x()’ is closed to new replies.