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!",
|
"defaultSuccess": "Erfolgreich übernommen!",
|
||||||
"loading": "Lädt...",
|
"loading": "Lädt...",
|
||||||
"actionNotUndoable": "Diese Aktion kann nicht rückgängig gemacht werden!",
|
"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": {
|
"routes": {
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
"defaultSuccess": "Success!",
|
"defaultSuccess": "Success!",
|
||||||
"loading": "Loading...",
|
"loading": "Loading...",
|
||||||
"actionNotUndoable": "This action cannot be undone!",
|
"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": {
|
"routes": {
|
||||||
|
@ -7,6 +7,7 @@ import React, {ReactElement, useContext} from "react"
|
|||||||
|
|
||||||
import {useMutation} from "@tanstack/react-query"
|
import {useMutation} from "@tanstack/react-query"
|
||||||
import {
|
import {
|
||||||
|
Alert,
|
||||||
Checkbox,
|
Checkbox,
|
||||||
Collapse,
|
Collapse,
|
||||||
FormControlLabel,
|
FormControlLabel,
|
||||||
@ -220,6 +221,12 @@ export default function AliasesPreferencesForm(): ReactElement {
|
|||||||
{(formik.touched.proxyImages && formik.errors.proxyImages) ||
|
{(formik.touched.proxyImages && formik.errors.proxyImages) ||
|
||||||
t("relations.alias.settings.proxyImages.helperText")}
|
t("relations.alias.settings.proxyImages.helperText")}
|
||||||
</FormHelperText>
|
</FormHelperText>
|
||||||
|
<Alert
|
||||||
|
sx={{width: "fit-content", alignSelf: "end", marginTop: 1}}
|
||||||
|
severity="warning"
|
||||||
|
>
|
||||||
|
{t("general.experimentalFeature")}
|
||||||
|
</Alert>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<Collapse in={formik.values.proxyImages}>
|
<Collapse in={formik.values.proxyImages}>
|
||||||
<Grid
|
<Grid
|
||||||
@ -349,6 +356,12 @@ export default function AliasesPreferencesForm(): ReactElement {
|
|||||||
"relations.alias.settings.expandUrlShorteners.helperText",
|
"relations.alias.settings.expandUrlShorteners.helperText",
|
||||||
)}
|
)}
|
||||||
</FormHelperText>
|
</FormHelperText>
|
||||||
|
<Alert
|
||||||
|
sx={{width: "fit-content", alignSelf: "end", marginTop: 1}}
|
||||||
|
severity="warning"
|
||||||
|
>
|
||||||
|
{t("general.experimentalFeature")}
|
||||||
|
</Alert>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user