chore: localize

This commit is contained in:
Felix Roos 2026-02-13 13:45:52 +01:00
parent c16b300144
commit d3e9b9c020
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ export function confirmDialog(msg) {
});
}
export const SETTING_CHANGE_RELOAD_MSG = 'Changing this setting requires the window to reload itself. OK?';
export const PREBAKE_CHANGE_MSG = 'Warning: This will overwrite the current prebake.\nContinue?';
export function confirmAndReloadPage(onSuccess) {
confirmDialog(SETTING_CHANGE_RELOAD_MSG).then((r) => {
if (r == true) {