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: https://github.com/owncloud/core/issues/8011