Skip to content

Remove and tidy lint against rust str escape characters in ftl files #109686

Description

@est31

From #109677:

using \n in the messages.ftl file doesn't work

Grepping turns up multiple \n characters in the ftl files. These don't work in fluent however, instead you are supposed to do newlines directly. There should be a tidy lint that forbids such characters, as it's a easy mistake to do during porting. I also see \" escapes that seem not legit.

@rustbot label A-translation

cc @davidtwco

Activity

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

    A-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions