mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 07:55:25 +02:00
made some features experimental
This commit is contained in:
parent
10e18b17ec
commit
ee0682a8b6
@ -14,7 +14,8 @@
|
||||
"defaultSuccess": "Erfolgreich übernommen!",
|
||||
"loading": "Lädt...",
|
||||
"actionNotUndoable": "Diese Aktion kann nicht rückgängig gemacht werden!",
|
||||
"copyError": "Konnte nicht in Zwischenable kopieren. Bitte kopiere den Text manuell."
|
||||
"copyError": "Konnte nicht in Zwischenable kopieren. Bitte kopiere den Text manuell.",
|
||||
"experimentalFeature": "Diese Funktion ist experimentell und kann Fehler verursachen."
|
||||
},
|
||||
|
||||
"routes": {
|
||||
|
@ -14,7 +14,8 @@
|
||||
"defaultSuccess": "Success!",
|
||||
"loading": "Loading...",
|
||||
"actionNotUndoable": "This action cannot be undone!",
|
||||
"copyError": "Copying to clipboard did not work. Please copy the text manually."
|
||||
"copyError": "Copying to clipboard did not work. Please copy the text manually.",
|
||||
"experimentalFeature": "This is an experimental feature."
|
||||
},
|
||||
|
||||
"routes": {
|
||||
|
@ -7,6 +7,7 @@ import React, {ReactElement, useContext} from "react"
|
||||
|
||||
import {useMutation} from "@tanstack/react-query"
|
||||
import {
|
||||
Alert,
|
||||
Checkbox,
|
||||
Collapse,
|
||||
FormControlLabel,
|
||||
@ -220,6 +221,12 @@ export default function AliasesPreferencesForm(): ReactElement {
|
||||
{(formik.touched.proxyImages && formik.errors.proxyImages) ||
|
||||
t("relations.alias.settings.proxyImages.helperText")}
|
||||
</FormHelperText>
|
||||
<Alert
|
||||
sx={{width: "fit-content", alignSelf: "end", marginTop: 1}}
|
||||
severity="warning"
|
||||
>
|
||||
{t("general.experimentalFeature")}
|
||||
</Alert>
|
||||
</FormGroup>
|
||||
<Collapse in={formik.values.proxyImages}>
|
||||
<Grid
|
||||
@ -349,6 +356,12 @@ export default function AliasesPreferencesForm(): ReactElement {
|
||||
"relations.alias.settings.expandUrlShorteners.helperText",
|
||||
)}
|
||||
</FormHelperText>
|
||||
<Alert
|
||||
sx={{width: "fit-content", alignSelf: "end", marginTop: 1}}
|
||||
severity="warning"
|
||||
>
|
||||
{t("general.experimentalFeature")}
|
||||
</Alert>
|
||||
</FormGroup>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
Loading…
x
Reference in New Issue
Block a user