Skip to content

Translation problems in user info #17956

@yafred

Description

@yafred

From the forum

Exact URL of where the bug happened

anywhare

Steps to reproduce the bug

hover over a user who enrolled 7 year ago

In French, 'Inscription: 7 years ago' (not translated)
In German: 'ist vor 7 years ago beigetreten' (not translated and incorrect)

What did you expect to happen?

In French, 'Inscription: il y a 7 ans' or 'Membre depuis 7 ans'

Every language should follow the same pattern

What happened instead?

Obvious

Operating system

Any

Browser and version (or alternate access method)

Any

Additional information

span(trans.site.joinedX(momentFromNowServerText(u.createdAt))),

def momentFromNowServerText(instant: Instant)(using Translate): String =

<string name="joinedX">Joined %s</string>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions