Update translator documentation and i18n.
This commit is contained in:
parent
c9139cc6e0
commit
23eb49a017
|
@ -250,7 +250,8 @@ class Memcached_DataObject extends Safe_DataObject
|
||||||
{
|
{
|
||||||
$i = DB_DataObject::factory($cls);
|
$i = DB_DataObject::factory($cls);
|
||||||
if (empty($i)) {
|
if (empty($i)) {
|
||||||
throw new Exception(_('Cannot instantiate a ' . $cls));
|
// TRANS: Exception thrown when a program code class (%s) cannot be instantiated.
|
||||||
|
throw new Exception(sprintf(_('Cannot instantiate class %s.'),$cls));
|
||||||
}
|
}
|
||||||
$types = $i->keyTypes();
|
$types = $i->keyTypes();
|
||||||
ksort($types);
|
ksort($types);
|
||||||
|
@ -306,7 +307,8 @@ class Memcached_DataObject extends Safe_DataObject
|
||||||
if (count($toFetch) > 0) {
|
if (count($toFetch) > 0) {
|
||||||
$i = DB_DataObject::factory($cls);
|
$i = DB_DataObject::factory($cls);
|
||||||
if (empty($i)) {
|
if (empty($i)) {
|
||||||
throw new Exception(_('Cannot instantiate class ' . $cls));
|
// TRANS: Exception thrown when a program code class (%s) cannot be instantiated.
|
||||||
|
throw new Exception(sprintf(_('Cannot instantiate class %s.'),$cls));
|
||||||
}
|
}
|
||||||
$i->whereAddIn($keyCol, $toFetch, $i->columnType($keyCol));
|
$i->whereAddIn($keyCol, $toFetch, $i->columnType($keyCol));
|
||||||
if ($i->find()) {
|
if ($i->find()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user