about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/local_settings
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-01-07 18:11:50 +0100
committerThibG <thib@sitedethib.com>2020-01-07 19:05:31 +0100
commit180f1383943ad171d8394ef9af7c7861bfc08056 (patch)
tree09ab2eb1357805e792ffcce282fe9d860e8524e8 /app/javascript/flavours/glitch/features/local_settings
parent9871466958a5db6c4b75cab120eb6ca706c26d7e (diff)
Make prepending “re: ” to CWs on reply optional
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings')
-rw-r--r--app/javascript/flavours/glitch/features/local_settings/page/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js
index e08c12c76..0b3428027 100644
--- a/app/javascript/flavours/glitch/features/local_settings/page/index.js
+++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js
@@ -168,6 +168,14 @@ class LocalSettingsPage extends React.PureComponent {
         </LocalSettingsPageItem>
         <LocalSettingsPageItem
           settings={settings}
+          item={['prepend_cw_re']}
+          id='mastodon-settings--prepend_cw_re'
+          onChange={onChange}
+        >
+          <FormattedMessage id='settings.prepend_cw_re' defaultMessage='Prepend “re: ” to content warnings when replying' />
+        </LocalSettingsPageItem>
+        <LocalSettingsPageItem
+          settings={settings}
           item={['preselect_on_reply']}
           id='mastodon-settings--preselect_on_reply'
           onChange={onChange}