Skip to content

Enforce String literal inside Localization.lang() calls #1985

@stefan-kolb

Description

@stefan-kolb

Introduced by the global search bar of Stupro.
We need to enforce that we use Strings or concatenated Strings inside our Localization.lang calls and no variables. otherwise our detection LocalizationConsistencyTest cannot work correctly.
Fixed by 05e7f0d.

We should accept a String in "" or a concatenated String " " +var + "" ... as it is required sometimes for insertions %0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions