]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4339 for real this time - adds default for the subtype
authorCash Costello <cash.costello@gmail.com>
Wed, 27 Jun 2012 11:44:35 +0000 (07:44 -0400)
committerCash Costello <cash.costello@gmail.com>
Wed, 27 Jun 2012 11:44:35 +0000 (07:44 -0400)
views/default/river/elements/summary.php

index 4402c6f65f63ffa87655d40643da645f6ecfee0f..416bc708bf69c96f5d3a40602794840ebccf4a3d 100644 (file)
@@ -41,12 +41,12 @@ if ($container instanceof ElggGroup) {
 }
 
 // check summary translation keys.
-// will use the $type:$subtype if that's defined, otherwise just uses $type
+// will use the $type:$subtype if that's defined, otherwise just uses $type:default
 $key = "river:$action:$type:$subtype";
 $summary = elgg_echo($key, array($subject_link, $object_link));
 
 if ($summary == $key) {
-       $key = "river:$action:$type";
+       $key = "river:$action:$type:default";
        $summary = elgg_echo($key, array($subject_link, $object_link));
 }