$domain = NULL;
}
+ $raw = !empty($params['raw']);
+ unset($params['raw']);
+
if (!empty($domain)) {
// It might be prettier to cast to an array, but this is high-traffic stuff.
if (is_array($domain)) {
}
// replace the numbered %1, %2, etc. params if present
- if (count($params)) {
+ if (count($params) && !$raw) {
$text = $this->strarg($text, $params);
}
/**
* Static instance provider - return the instance for the current locale.
+ *
+ * @return CRM_Core_I18n
*/
public static function &singleton() {
static $singleton = array();