mirror of
https://github.com/friendica/friendica
synced 2024-11-20 09:03:40 +00:00
fix translation of poke activity body
This commit is contained in:
parent
6f78a4dcf2
commit
5d19b21298
1 changed files with 3 additions and 4 deletions
|
@ -203,12 +203,11 @@ function localize_item(&$item){
|
|||
|
||||
// we can't have a translation string with three positions but no distinguishable text
|
||||
// So here is the translate string.
|
||||
|
||||
$txt = t('%1$s poked %2$s');
|
||||
|
||||
// now translate the verb
|
||||
|
||||
$txt = str_replace( t('poked'), t($verb), $txt);
|
||||
$poked_t = trim(sprintf($txt, "",""));
|
||||
$txt = str_replace( $poked_t, t($verb), $txt);
|
||||
|
||||
// then do the sprintf on the translation string
|
||||
|
||||
|
|
Loading…
Reference in a new issue