Update verification form localization keys for consistency
- Refactored localization keys in the verification form component to use pluralized keys for modes and fail actions, enhancing clarity and consistency across the application. - Updated corresponding localization files in English and German to reflect the new key structure.
This commit is contained in:
@@ -74,8 +74,8 @@ export function VerificationForm({ guildId, initialValue }: VerificationFormProp
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="BUTTON">{t('modulePages.verification.mode.BUTTON')}</SelectItem>
|
||||
<SelectItem value="CAPTCHA">{t('modulePages.verification.mode.CAPTCHA')}</SelectItem>
|
||||
<SelectItem value="BUTTON">{t('modulePages.verification.modes.BUTTON')}</SelectItem>
|
||||
<SelectItem value="CAPTCHA">{t('modulePages.verification.modes.CAPTCHA')}</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
@@ -93,9 +93,9 @@ export function VerificationForm({ guildId, initialValue }: VerificationFormProp
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="KICK">{t('modulePages.verification.failAction.KICK')}</SelectItem>
|
||||
<SelectItem value="BAN">{t('modulePages.verification.failAction.BAN')}</SelectItem>
|
||||
<SelectItem value="NONE">{t('modulePages.verification.failAction.NONE')}</SelectItem>
|
||||
<SelectItem value="KICK">{t('modulePages.verification.failActions.KICK')}</SelectItem>
|
||||
<SelectItem value="BAN">{t('modulePages.verification.failActions.BAN')}</SelectItem>
|
||||
<SelectItem value="NONE">{t('modulePages.verification.failActions.NONE')}</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user