Skip to content

Commit 16cf4a5

Browse files
committed
Update messages and French translations
1 parent e517ddd commit 16cf4a5

2 files changed

Lines changed: 319 additions & 289 deletions

File tree

src/CharacterDescriptionBuilder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default class CharacterDescriptionBuilder {
2828
this.intl
2929
);
3030

31-
const directionLabel = this.intl.formatMessage({id: `Direction.${characterState.direction}`});
31+
const facingDirectionLabel = this.intl.formatMessage({id: `FacingDirection.${characterState.direction}`});
3232

3333
if (itemLabel) {
3434
return this.intl.formatMessage(
@@ -39,7 +39,7 @@ export default class CharacterDescriptionBuilder {
3939
columnLabel: columnLabel,
4040
rowLabel: rowLabel,
4141
backgroundItem: itemLabel,
42-
direction: directionLabel
42+
facingDirection: facingDirectionLabel
4343
}
4444
);
4545
} else {
@@ -50,7 +50,7 @@ export default class CharacterDescriptionBuilder {
5050
{
5151
columnLabel: columnLabel,
5252
rowLabel: rowLabel,
53-
direction: directionLabel
53+
facingDirection: facingDirectionLabel
5454
}
5555
);
5656
}

0 commit comments

Comments
 (0)