diff --git a/locales/en-US.yml b/locales/en-US.yml index e7c25de71d..cff6d0c7d6 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2013,5 +2013,5 @@ _experiments: alpha: "Alpha" beta: "Beta" release: "Release" - enableExperimentalPostEditing: "Enable experimental post editing" - experimentalPostEditingCaption: "Enables the option for users to edit their posts in post options" + enablePostEditing: "Enable post editing" + postEditingCaption: "Shows the option for users to edit their existing posts via the post options menu" diff --git a/packages/client/src/pages/admin/experiments.vue b/packages/client/src/pages/admin/experiments.vue index 52ea4d8c38..f540cea9d4 100644 --- a/packages/client/src/pages/admin/experiments.vue +++ b/packages/client/src/pages/admin/experiments.vue @@ -9,19 +9,19 @@ @@ -39,7 +39,7 @@ import { fetchInstance } from "@/instance"; import { i18n } from "@/i18n"; import { definePageMetadata } from "@/scripts/page-metadata"; -let enableExperimentalPostEditing = $ref(false); +let enablePostEditing = $ref(false); let meta = $ref(null); type MetaExperiments = { @@ -52,14 +52,13 @@ async function init() { meta = (await os.api("admin/meta")) as MetaExperiments; if (!meta) return; - enableExperimentalPostEditing = - meta.experimentalFeatures?.postEditing ?? false; + enablePostEditing = meta.experimentalFeatures?.postEditing ?? false; } function save() { const experiments: MetaExperiments = { experimentalFeatures: { - postEditing: enableExperimentalPostEditing, + postEditing: enablePostEditing, }, }; os.apiWithDialog("admin/update-meta", experiments).then(() => {