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:
TheOnlyMace
2026-07-22 21:35:37 +02:00
parent 7888ccb7e6
commit b7cf505ca4
3 changed files with 25 additions and 17 deletions

View File

@@ -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>