Plugin Directory

Changeset 166142


Ignore:
Timestamp:
10/23/2009 08:28:23 AM (16 years ago)
Author:
johanee
Message:

Show more information when non-consistent locale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cache-translation-object/trunk/cache-translation-object.php

    r165987 r166142  
    129129    elseif ($locale != $cache_translation_current_locale) {
    130130        /* Someone changed what locale to use between calls? */
    131         cachet_admin_warning(__('Non-consistent locale value! Plugin collision?'
    132                                 , 'cache-translation'));
     131        cachet_admin_warning(sprintf(__('Non-consistent locale value (previous: %s, now: %s)! Plugin collision?'
     132                                        , 'cache-translation'), $cache_translation_current_locale, $locale));
    133133        return $locale;
    134134    }
Note: See TracChangeset for help on using the changeset viewer.