Skip to content

Bug: unit name not translated in some event panel messages #3071

@VariableVince

Description

@VariableVince

Example the Dutch: "Jouw Port werd veroverd" where 'Port' is the English unit name instead of the Dutch 'Haven'.

So we have "Your {unit} was captured by {name}" (unit_captured_by_enemy). Here, {unit} needs to be localized. Probably by translating the unit name [ something like translateText("unit_type."+.this.type()), not simply sending this.type() ], when sending it from

{ unit: this.type(), name: newOwner.displayName() },

The above is one example, there are more strings like this.

Metadata

Metadata

Assignees

Labels

BugTranslationAddition or modification of a language to the translations.good first issueGood for new contributors.

Type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions