Api - Make sure translations get loaded for share action captions

This commit is contained in:
nathangray 2019-07-11 12:07:20 -06:00
parent 6f7c939d8b
commit f056599e5f

View File

@ -389,6 +389,7 @@ class Sharing
*/
public static function get_actions($appname, $group = 6)
{
Translation::add_app('api');
$actions = array(
'share' => array(
'caption' => lang('Share'),