missing string

This commit is contained in:
Mike Macgirvin 2023-10-08 09:39:59 +11:00
parent 2b1b21ded0
commit 9b88e215f6
4 changed files with 3821 additions and 3742 deletions

View file

@ -908,7 +908,7 @@ class ThreadItem
$comment_buttons = $arr['comment_buttons'];
$feature_auto_save_draft = ((Features::enabled($conv->get_profile_owner(), 'auto_save_draft')) ? "true" : "false");
$permanent_draft = ((intval($conv->get_profile_owner()) === intval(local_channel()) && Apps::system_app_installed($conv->get_profile_owner(), 'Drafts')) ? ('Save draft') : EMPTY_STR);
$permanent_draft = ((intval($conv->get_profile_owner()) === intval(local_channel()) && Apps::system_app_installed($conv->get_profile_owner(), 'Drafts')) ? t('Save draft') : EMPTY_STR);

View file

@ -1265,7 +1265,7 @@ function z_status_editor($x, $popup = false)
Hook::call('jot_networks', $jotnets);
}
$permanent_draft = ((intval($x['profile_uid']) && intval($x['profile_uid']) === local_channel() && Apps::system_app_installed($x['profile_uid'], 'Drafts')) ? ('Save draft') : EMPTY_STR);
$permanent_draft = ((intval($x['profile_uid']) && intval($x['profile_uid']) === local_channel() && Apps::system_app_installed($x['profile_uid'], 'Drafts')) ? t('Save draft') : EMPTY_STR);
$sharebutton = (x($x, 'button') ? $x['button'] : t('Share'));
$placeholdtext = (x($x, 'content_label') ? $x['content_label'] : $sharebutton);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff