diff --git a/frontend/src/assets/i18n.yaml b/frontend/src/assets/i18n.yaml index d787cd2..0628f4c 100644 --- a/frontend/src/assets/i18n.yaml +++ b/frontend/src/assets/i18n.yaml @@ -53,6 +53,7 @@ languages: bulkDownload: 'Download files in a zip archive' rpcPollingTimeTitle: RPC polling time rpcPollingTimeDescription: A lower interval results in higher CPU usage (server and client side) + templatesReloadInfo: To register a new template it might need a page reload. german: urlInput: Video URL statusTitle: Status diff --git a/frontend/src/components/TemplatesEditor.tsx b/frontend/src/components/TemplatesEditor.tsx index cf2c5b5..f80bd6a 100644 --- a/frontend/src/components/TemplatesEditor.tsx +++ b/frontend/src/components/TemplatesEditor.tsx @@ -2,6 +2,7 @@ import AddIcon from '@mui/icons-material/Add' import CloseIcon from '@mui/icons-material/Close' import DeleteIcon from '@mui/icons-material/Delete' import { + Alert, AppBar, Backdrop, Box, @@ -145,7 +146,12 @@ const TemplatesEditor: React.FC = ({ open, onClose }) => { backgroundColor: (theme) => theme.palette.background.default, minHeight: (theme) => `calc(99vh - ${theme.mixins.toolbar.minHeight}px)` }}> - + + + + {i18n.t('templatesReloadInfo')} + +