Make lib/** share.php strings extractable for translation

They were not ready for translation as they had no placeholders
and/nor wrapper function to be translated

This should fix: #8011