further tweaks

This commit is contained in:
tobi
2024-12-17 11:34:02 +01:00
parent df322aacd4
commit a21f6a9a6b
18 changed files with 19 additions and 1075 deletions

View File

@@ -213,11 +213,6 @@ class ComposerOptions extends ImmutablePureComponent {
name: 'text/plain',
text: formatMessage(messages.plain),
},
html: {
icon: 'code',
name: 'text/html',
text: formatMessage(messages.html),
},
markdown: {
icon: 'arrow-circle-down',
name: 'text/markdown',
@@ -279,7 +274,6 @@ class ComposerOptions extends ImmutablePureComponent {
icon={(contentTypeItems[contentType.split('/')[1]] || {}).icon}
items={[
contentTypeItems.plain,
contentTypeItems.html,
contentTypeItems.markdown,
]}
onChange={onChangeContentType}

View File

@@ -14,7 +14,7 @@ import { maxChars } from 'flavours/glitch/initial_state';
const messages = defineMessages({
publish: {
defaultMessage: 'Publish',
defaultMessage: 'Promulgate',
id: 'compose_form.publish',
},
publishLoud: {

View File

@@ -56,7 +56,7 @@ class LinkFooter extends PureComponent {
return (
<div className='link-footer'>
<p>
<strong>Masto-FE (GoToSocial flavour)</strong>
<strong>Masto-FE (sloth flavour)</strong>
{DividingCircle}
<a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='Source code' /></a>
{DividingCircle}

View File

@@ -6,7 +6,7 @@ import { LOCAL_SETTING_CHANGE, LOCAL_SETTING_DELETE } from 'flavours/glitch/acti
import { STORE_HYDRATE } from 'flavours/glitch/actions/store';
const initialState = ImmutableMap({
layout : 'auto',
layout : 'mobile',
stretch : true,
side_arm : 'none',
side_arm_reply_mode : 'keep',
@@ -19,13 +19,13 @@ const initialState = ImmutableMap({
preselect_on_reply: false,
inline_preview_cards: true,
hicolor_privacy_icons: false,
show_content_type_choice: false,
show_content_type_choice: true,
tag_misleading_links: true,
rewrite_mentions: 'no',
content_warnings : ImmutableMap({
filter : null,
media_outside: false,
shared_state : false,
media_outside: true,
shared_state : true,
}),
collapsed : ImmutableMap({
enabled : true,
@@ -45,7 +45,7 @@ const initialState = ImmutableMap({
show_action_bar : true,
}),
media : ImmutableMap({
letterbox : true,
letterbox : false,
fullwidth : true,
reveal_behind_cw : false,
pop_in_player : true,

View File

@@ -34,7 +34,7 @@ const allowedAroundShortCode = '><\u0085\u0020\u00a0\u1680\u2000\u2001\u2002\u20
const messages = defineMessages({
placeholder: { id: 'compose_form.placeholder', defaultMessage: 'What is on your mind?' },
spoiler_placeholder: { id: 'compose_form.spoiler_placeholder', defaultMessage: 'Write your warning here' },
publish: { id: 'compose_form.publish', defaultMessage: 'Publish' },
publish: { id: 'compose_form.publish', defaultMessage: 'Promulgate' },
publishLoud: { id: 'compose_form.publish_loud', defaultMessage: '{publish}!' },
saveChanges: { id: 'compose_form.save_changes', defaultMessage: 'Save changes' },
});

View File

@@ -143,14 +143,14 @@
"compose_form.hashtag_warning": "This post won't be listed under any hashtag as it is not public. Only public posts can be searched by hashtag.",
"compose_form.lock_disclaimer": "Your account is not {locked}. Anyone can follow you to view your follower-only posts.",
"compose_form.lock_disclaimer.lock": "locked",
"compose_form.placeholder": "What's on your mind?",
"compose_form.placeholder": "Bare thy soul unto the void.",
"compose_form.poll.add_option": "Add a choice",
"compose_form.poll.duration": "Poll duration",
"compose_form.poll.option_placeholder": "Choice {number}",
"compose_form.poll.remove_option": "Remove this choice",
"compose_form.poll.switch_to_multiple": "Change poll to allow multiple choices",
"compose_form.poll.switch_to_single": "Change poll to allow for a single choice",
"compose_form.publish": "Publish",
"compose_form.publish": "Promulgate",
"compose_form.publish_form": "New post",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",

View File

@@ -143,14 +143,14 @@
"compose_form.hashtag_warning": "This post won't be listed under any hashtag as it is not public. Only public posts can be searched by hashtag.",
"compose_form.lock_disclaimer": "Your account is not {locked}. Anyone can follow you to view your follower-only posts.",
"compose_form.lock_disclaimer.lock": "locked",
"compose_form.placeholder": "What's on your mind?",
"compose_form.placeholder": "Bare thy soul unto the void.",
"compose_form.poll.add_option": "Add a choice",
"compose_form.poll.duration": "Poll duration",
"compose_form.poll.option_placeholder": "Choice {number}",
"compose_form.poll.remove_option": "Remove this choice",
"compose_form.poll.switch_to_multiple": "Change poll to allow multiple choices",
"compose_form.poll.switch_to_single": "Change poll to allow for a single choice",
"compose_form.publish": "Publish",
"compose_form.publish": "Promulgate",
"compose_form.publish_form": "New post",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",