Skip to content

Pantry "Add item" dialog shows "((optional))" in every language #626

Closed

Description

@LeMyst

In the pantry's Add item dialog, the optional fields read "Quantity ((optional))", "Bought date ((optional))", and so on — in every language ("((optionnel))" in French, "((opcional))" in Spanish…).

Every locale already puts the parentheses in the message itself:

# locales/en-US/pantry.ftl
pantry-optional = (optional)

and templates/pantry.html wraps it in a second pair on the four optional labels:

{{ tr.t("pantry-item-quantity") }} ({{ tr.t("pantry-optional") }})

Both came in with d4c5007 ("Complete comprehensive multi-language translation for all UI templates").

Fix: drop the parentheses from the template and keep them in the translations, so each language keeps its own punctuation.

Activity

  1. added a commit that references this issue on Nov 16, 2026
    6b9cff2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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