Feature/settings add flaresolverr (#568)

* [Codegen] Update to server changes

* Set "dialogTitle" by default to "settingTitle" for "NumberSetting"

* Add FlareSolverr to settings

* [VersionMapping] Require server version "r1477" for preview

* Replace static strings with translation keys
This commit is contained in:
schroda
2024-01-26 21:20:06 +01:00
committed by GitHub
parent 771d6beb18
commit 18ca66cb40
13 changed files with 152 additions and 22 deletions

View File

@@ -281,8 +281,7 @@ export function Backup() {
minValue={1}
maxValue={31}
stepSize={1}
dialogTitle="Interval"
valueUnit="Day"
valueUnit={t('global.date.label.day')}
showSlider
handleUpdate={(interval: number) => updateSetting('backupInterval', interval)}
/>
@@ -294,8 +293,7 @@ export function Backup() {
minValue={0}
maxValue={1000}
stepSize={1}
dialogTitle="Cleanup"
valueUnit="Day"
valueUnit={t('global.date.label.day')}
showSlider
handleUpdate={(ttl: number) => updateSetting('backupTTL', ttl)}
/>