PluginProbe
CSS & JavaScript Toolbox / 11.7
CSS & JavaScript Toolbox v11.7
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | css-js-toolbox.class.php +3 -2 trunk11.7 View file →
@@ -210,10 +210,11 @@
210 210 * @param mixed $text
211 211 */
212 212 public static function getText( $text )
213 213 {
214 - // Simply return text without any translation attempts
215 - return $text;
214 + // Make sure to don't use $this while calling!
215 + // $this might be an object other than CssJSToolbox!
216 + return self::__callStatic( 'cssJSToolbox.ongettext', array( __( $text, CJTOOLBOX_TEXT_DOMAIN ) ) );
216 217 }
217 218
218 219 /**
219 220 * put your comment there...