8000 Translation key misspelling: "succesfully_destroyed" missing an "s" · Issue #8711 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content
Translation key misspelling: "succesfully_destroyed" missing an "s" #8711
Closed
@sofmeireles

Description

@sofmeireles

I've noticed a small spelling issue in the codebase while implementing translations for my project.
When performing batch delete actions, the system is looking for the translation key succesfully_destroyed (with one "s") rather than successfully_destroyed (with two "s"s).

I understand this is a minor issue, but I thought it might be helpful to report it 😄

Expected behavior

When performing batch delete actions, the system should look for the translation key successfully_destroyed (with two "s"s) in the locale files.

Actual behavior

When performing batch delete actions, the system is looking for the translation key succesfully_destroyed (with one "s"), which could result in a "Translation missing" error when the correctly spelled key is provided.

How to reproduce

  1. Add translations for batch_actions.successfully_destroyed but not for batch_actions.succesfully_destroyed
  2. Perform a batch delete operation
  3. Observe the "Translation missing: xx.active_admin.batch_actions.succesfully_destroyed" error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0