Skip to content

Make the DeleteAccountModal use a different confirmation text depending on i18n translations #1234

Open
@mitchdowney

Description

@mitchdowney

Currently the confirm prompt is hardcoded to look for the string "delete", but that is confusing for non-English speakers. I think we should change that to be dynamic based on the i18n translation, and if a translation isn't available, fallback to "delete".

https://github.com/podverse/podverse-web/blob/develop/src/components/Modals/Auth/ConfirmDeleteAccountModal.tsx#L23

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions