Merge pull request #1382 from fabrixxm/localize-activity-poke
Fix localization of poke activity + update IT strings
This commit is contained in:
commit
e051da8203
3 changed files with 7194 additions and 7012 deletions
|
@ -203,12 +203,11 @@ function localize_item(&$item){
|
||||||
|
|
||||||
// we can't have a translation string with three positions but no distinguishable text
|
// we can't have a translation string with three positions but no distinguishable text
|
||||||
// So here is the translate string.
|
// So here is the translate string.
|
||||||
|
|
||||||
$txt = t('%1$s poked %2$s');
|
$txt = t('%1$s poked %2$s');
|
||||||
|
|
||||||
// now translate the verb
|
// now translate the verb
|
||||||
|
$poked_t = trim(sprintf($txt, "",""));
|
||||||
$txt = str_replace( t('poked'), t($verb), $txt);
|
$txt = str_replace( $poked_t, t($verb), $txt);
|
||||||
|
|
||||||
// then do the sprintf on the translation string
|
// then do the sprintf on the translation string
|
||||||
|
|
||||||
|
|
12238
view/it/messages.po
12238
view/it/messages.po
File diff suppressed because it is too large
Load diff
1961
view/it/strings.php
1961
view/it/strings.php
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue