Fix i18n issues

Remove trailing whitespace and convert leading tabs to spaces
This commit is contained in:
Siebrand Mazeland 2011-08-30 11:03:26 +02:00
parent 3e60d4cb3f
commit c4fd560b32

View File

@ -142,7 +142,7 @@ class Memcached_DataObject extends Safe_DataObject
if (count($toFetch) > 0) {
$i = DB_DataObject::factory($cls);
if (empty($i)) {
throw new Exception(_('Cannot instantiate class ' . $cls));
throw new Exception(sprintf(_('Cannot instantiate class %s.'),$cls));
}
foreach ($otherCols as $otherKeyCol => $otherKeyVal) {
$i->$otherKeyCol = $otherKeyVal;