Skip to content

Commit

Permalink
Whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Sep 6, 2010
1 parent cb22f23 commit 883d8f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/gallery/libraries/Gallery_I18n.php
Expand Up @@ -44,7 +44,7 @@ function t($message, $options=array()) {
*/
function t2($singular, $plural, $count, $options=array()) {
return Gallery_I18n::instance()->translate(array("one" => $singular, "other" => $plural),
array_merge($options, array("count" => $count)));
array_merge($options, array("count" => $count)));
}

class Gallery_I18n_Core {
Expand Down Expand Up @@ -175,7 +175,7 @@ private static function load_translations($locale) {
->execute() as $row) {
$translations[$row->key] = unserialize($row->translation);
}

// Override incoming with outgoing...
foreach (db::build()
->select("key", "translation")
Expand All @@ -184,7 +184,7 @@ private static function load_translations($locale) {
->execute() as $row) {
$translations[$row->key] = unserialize($row->translation);
}

$cache->set($cache_key, $translations, array("translation"), 0);
}
return $translations;
Expand Down

0 comments on commit 883d8f1

Please sign in to comment.