Some more code standards
This commit is contained in:
parent
afc8783862
commit
09cc3bfd0a
1 changed files with 2 additions and 2 deletions
|
@ -189,12 +189,12 @@ function localize_item(&$item)
|
||||||
$txt = DI::l10n()->t('%1$s poked %2$s');
|
$txt = DI::l10n()->t('%1$s poked %2$s');
|
||||||
|
|
||||||
// now translate the verb
|
// now translate the verb
|
||||||
$poked_t = trim(sprintf($txt, "", ""));
|
$poked_t = trim(sprintf($txt, '', ''));
|
||||||
$txt = str_replace($poked_t, DI::l10n()->t($verb), $txt);
|
$txt = str_replace($poked_t, DI::l10n()->t($verb), $txt);
|
||||||
|
|
||||||
// then do the sprintf on the translation string
|
// then do the sprintf on the translation string
|
||||||
|
|
||||||
$item['body'] = sprintf($txt, $A, $B). "\n\n\n" . $Bphoto;
|
$item['body'] = sprintf($txt, $A, $B) . "\n\n\n" . $Bphoto;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue