From: Cash Costello Date: Wed, 27 Jun 2012 11:44:35 +0000 (-0400) Subject: Fixes #4339 for real this time - adds default for the subtype X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dbf78a975d2979ebeb50bd914b4ebc2c076ae09b;p=lorea%2Felgg.git Fixes #4339 for real this time - adds default for the subtype --- diff --git a/views/default/river/elements/summary.php b/views/default/river/elements/summary.php index 4402c6f65..416bc708b 100644 --- a/views/default/river/elements/summary.php +++ b/views/default/river/elements/summary.php @@ -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)); }