backup site: fix placeholder strings

This commit is contained in:
Girish Ramakrishnan
2025-12-03 11:52:27 +01:00
parent 8f43c7d3d8
commit 3d6526de3e
3 changed files with 23 additions and 12 deletions
@@ -125,7 +125,7 @@ onMounted(async () => {
<FormGroup v-if="provider === 'mountpoint'">
<label for="mountPointInput">{{ $t('backups.configureBackupStorage.mountPoint') }}</label>
<TextInput id="mountPointInput" v-model="providerConfig.mountPoint" placeholder="/mnt/backups" required/>
<div v-html="$t('backups.configureBackupStorage.mountPointDescription', { providerDocsLink: `https://docs.cloudron.io/backups/#${provider}` })"></div>
<small class="helper-text" v-html="$t('backups.configureBackupStorage.mountPointDescription', { providerDocsLink: `https://docs.cloudron.io/backups/#${provider}` })"></small>
</FormGroup>
<!-- CIFS/NFS/SSHFS -->
@@ -189,7 +189,7 @@ onMounted(async () => {
<!-- Filesystem -->
<FormGroup v-if="provider === 'filesystem' && !importOnly">
<label for="backupDirInput">{{ $t('backups.configureBackupStorage.localDirectory') }}</label>
<TextInput id="backupDirInput" v-model="providerConfig.backupDir" placeholder="Directory for backups" required />
<TextInput id="backupDirInput" v-model="providerConfig.backupDir" placeholder="/opt/backups" required />
</FormGroup>
<!-- S3/Minio/SOS/GCS/UpCloud/B2/R2 -->
@@ -208,7 +208,8 @@ onMounted(async () => {
<!-- when importing/restoring, the user enters a fullPath which contains the prefix -->
<FormGroup v-if="provider !== 'filesystem' && !importOnly">
<label for="prefixInput">{{ $t('backups.configureBackupStorage.prefix') }}</label>
<TextInput id="prefixInput" v-model="providerConfig.prefix" placeholder="Prefix for backup file names" />
<TextInput id="prefixInput" v-model="providerConfig.prefix" placeholder="my-backups" />
<small class="helper-text">{{ $t('backups.configureBackupStorage.prefixHelperText') }}</small>
</FormGroup>
<!-- S3/Minio/SOS/GCS -->
@@ -242,7 +243,8 @@ onMounted(async () => {
<FormGroup v-if="provider === 's3-v4-compat'">
<label for="s3v4CompatRegionInput">{{ $t('backups.configureBackupStorage.region') }}</label>
<TextInput id="s3v4CompatRegionInput" v-model="providerConfig.region" placeholder="Leave empty to use us-east-1 as default" />
<TextInput id="s3v4CompatRegionInput" v-model="providerConfig.region" />
<small class="helper-text">{{ $t('backups.configureBackupStorage.regionHelperText') }}</small>
</FormGroup>
<FormGroup v-if="s3like(provider)">