From 2a8792fe07dae55c595b453224d21ea12227c29d Mon Sep 17 00:00:00 2001 From: Johann150 Date: Thu, 12 Jan 2023 19:40:36 +0100 Subject: [PATCH] client: add button to delete all files for moderators The functionality was already there, there was just no button to access it for some reason. closes https://akkoma.dev/FoundKeyGang/FoundKey/issues/243 Changelog: Added --- locales/en-US.yml | 1 + packages/client/src/pages/user-info.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/locales/en-US.yml b/locales/en-US.yml index 76de90250..45d6af9bf 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -501,6 +501,7 @@ scratchpadDescription: "The Scratchpad provides an environment for AiScript expe \ in it." output: "Output" updateRemoteUser: "Update remote user information" +deleteAllFiles: "Delete all files" deleteAllFilesConfirm: "Are you sure that you want to delete all files?" removeAllFollowing: "Unfollow all followed users" removeAllFollowingDescription: "Executing this unfollows all accounts from {host}.\ diff --git a/packages/client/src/pages/user-info.vue b/packages/client/src/pages/user-info.vue index 2a4bb1be3..6196485be 100644 --- a/packages/client/src/pages/user-info.vue +++ b/packages/client/src/pages/user-info.vue @@ -37,6 +37,7 @@ {{ i18n.ts.reflectMayTakeTime }}
{{ i18n.ts.resetPassword }} + {{ i18n.ts.deleteAllFiles }} {{ i18n.ts.deleteAccount }}