You appear to be a bot. Output may be restricted
Description
Append some non-translatable text to translatable text once it's been translatedThis is similar to using sprintf( __( "translatable_text %1$s", $non_translatable_text ) ); BUT it doesn't require the translator to have to worry about the position of the variable AS this isn't in the text they translate.
Usage
_bwtnt( $translatable_text, $non_translatable_text );
Parameters
- $translatable_text
- ( string ) required – text to be translated
- $non_translatable_text
- ( string ) required – text that's not translated
Returns
voidSource
File name: oik/libs/oik-admin.phpLines:
1 to 5 of 5
function _bwtnt( $translatable_text, $non_translatable_text ) { $tnt = bw_translate( $translatable_text ); $tnt .= $non_translatable_text; return( $tnt ); }View on GitHub View on Trac