fix(default): improve billing settings forms

This commit is contained in:
CaIon
2026-05-06 20:14:35 +08:00
parent 446a8420f5
commit dede1e2968
17 changed files with 1291 additions and 832 deletions
@@ -132,7 +132,7 @@ export const ModelRatioForm = memo(function ModelRatioForm({
<div className='flex flex-wrap gap-4'>
<Button onClick={form.handleSubmit(onSave)} disabled={isSaving}>
{isSaving ? t('Saving...') : t('Save model ratios')}
{isSaving ? t('Saving...') : t('Save model prices')}
</Button>
<Button
type='button'
@@ -140,7 +140,7 @@ export const ModelRatioForm = memo(function ModelRatioForm({
onClick={onReset}
disabled={isResetting}
>
{t('Reset ratios')}
{t('Reset prices')}
</Button>
</div>
</div>
@@ -323,7 +323,7 @@ export const ModelRatioForm = memo(function ModelRatioForm({
<div className='flex flex-wrap gap-4'>
<Button type='submit' disabled={isSaving}>
{isSaving ? t('Saving...') : t('Save model ratios')}
{isSaving ? t('Saving...') : t('Save model prices')}
</Button>
<Button
type='button'
@@ -331,7 +331,7 @@ export const ModelRatioForm = memo(function ModelRatioForm({
onClick={onReset}
disabled={isResetting}
>
{t('Reset ratios')}
{t('Reset prices')}
</Button>
</div>
</form>