Skip to content

Fold string literals when assigned to a variable that is used in a translation method #349

Open
@DenWav

Description

@DenWav

Only if it matches a translation key, of course.

This is useful when there's a condition in the code, and the key used is assigned to a variable, the key being different based on the condition. This would allow the developer to see the human-readable value for both (or all) cases.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions