diff --git a/app/soapbox/api/hooks/groups/useUpdateGroup.ts b/app/soapbox/api/hooks/groups/useUpdateGroup.ts index eb69670b1..b4ec0aa54 100644 --- a/app/soapbox/api/hooks/groups/useUpdateGroup.ts +++ b/app/soapbox/api/hooks/groups/useUpdateGroup.ts @@ -6,8 +6,8 @@ import { groupSchema } from 'soapbox/schemas'; interface UpdateGroupParams { display_name?: string note?: string - avatar?: File | '' | null - header?: File | '' | null + avatar?: File | '' + header?: File | '' group_visibility?: string discoverable?: boolean tags?: string[] diff --git a/app/soapbox/locales/en.json b/app/soapbox/locales/en.json index 123d02398..7b24fd610 100644 --- a/app/soapbox/locales/en.json +++ b/app/soapbox/locales/en.json @@ -580,7 +580,6 @@ "edit_password.header": "Change Password", "edit_profile.error": "Profile update failed", "edit_profile.fields.accepts_email_list_label": "Subscribe to newsletter", - "edit_profile.fields.avatar_label": "Choose Profile Picture", "edit_profile.fields.bio_label": "Bio", "edit_profile.fields.bio_placeholder": "Tell us about yourself.", "edit_profile.fields.birthday_label": "Birthday", @@ -589,7 +588,6 @@ "edit_profile.fields.discoverable_label": "Allow account discovery", "edit_profile.fields.display_name_label": "Display name", "edit_profile.fields.display_name_placeholder": "Name", - "edit_profile.fields.header_label": "Choose Background Picture", "edit_profile.fields.hide_network_label": "Hide network", "edit_profile.fields.location_label": "Location", "edit_profile.fields.location_placeholder": "Location", @@ -602,10 +600,8 @@ "edit_profile.fields.website_placeholder": "Display a Link", "edit_profile.header": "Edit Profile", "edit_profile.hints.accepts_email_list": "Opt-in to news and marketing updates.", - "edit_profile.hints.avatar": "PNG, GIF or JPG. Will be downscaled to {size}", "edit_profile.hints.bot": "This account mainly performs automated actions and might not be monitored", "edit_profile.hints.discoverable": "Display account in profile directory and allow indexing by external services", - "edit_profile.hints.header": "PNG, GIF or JPG. Will be downscaled to {size}", "edit_profile.hints.hide_network": "Who you follow and who follows you will not be shown on your profile", "edit_profile.hints.locked": "Requires you to manually approve followers", "edit_profile.hints.meta_fields": "You can have up to {count, plural, one {# custom field} other {# custom fields}} displayed on your profile.", @@ -838,7 +834,9 @@ "group.unmute.long_label": "Unmute Group", "group.unmute.success": "Unmuted the group", "group.update.success": "Group successfully saved", + "group.upload_avatar": "Upload avatar", "group.upload_banner": "Upload photo", + "group.upload_banner.title": "Upload background picture", "groups.discover.popular.empty": "Unable to fetch popular groups at this time. Please check back later.", "groups.discover.popular.show_more": "Show More", "groups.discover.popular.title": "Popular Groups",