logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4639e30cb8e6086a57acbe35d864e8b453e197ba
parent 67c9d8bd55b94d85ecb38c8034680b25ea5196fe
Author: Eris <femmediscord@gmail.com>
Date:   Mon, 14 Jun 2021 20:41:34 +0000

Fix config naming for consistency

Diffstat:

Msrc/components/settings_modal/tabs/general_tab.vue4++--
Msrc/i18n/en.json2+-
Msrc/modules/config.js2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue @@ -118,8 +118,8 @@ </BooleanSetting> </li> <li> - <BooleanSetting path="showNewPostButton"> - {{ $t('settings.showPostButton') }} + <BooleanSetting path="alwaysShowNewPostButton"> + {{ $t('settings.always_show_post_button') }} </BooleanSetting> </li> <li> diff --git a/src/i18n/en.json b/src/i18n/en.json @@ -349,7 +349,7 @@ "max_thumbnails": "Maximum amount of thumbnails per post", "hide_isp": "Hide instance-specific panel", "right_sidebar": "Show sidebar on the right side", - "showPostButton": "Always show floating New Post button", + "always_show_post_button": "Always show floating New Post button", "hide_wallpaper": "Hide instance wallpaper", "preload_images": "Preload images", "use_one_click_nsfw": "Open NSFW attachments with just one click", diff --git a/src/modules/config.js b/src/modules/config.js @@ -34,7 +34,7 @@ export const defaultState = { loopVideoSilentOnly: true, streaming: false, emojiReactionsOnTimeline: true, - showNewPostButton: false, + alwaysShowNewPostButton: false, autohideFloatingPostButton: false, pauseOnUnfocused: true, stopGifs: false,