Skip to content

Commit a101fa5

Browse files
committed
Fixed #17
1 parent 3b7bc83 commit a101fa5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎data/l10n/en/main.ftl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ inventory-item-not-found-message = Item { $item } couldn't be found.
4545
gateway-unlock-message = { INTER($name) } unlocked.
4646
gateway-lock-message = { INTER($name) } is now locked.
4747
gateway-locked-message = You can't use { INTER($gateway) } because it is locked.
48-
gateway-key-needed = You need a key.
48+
gateway-key-needed = You need a key to open { INTER($name) }.
4949
gateway-no-keys = You can't use { INTER($name) } like that.
5050
gateway-on-look-locked = It is locked.
5151

‎src/fantasy_forge/gateway.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def on_use(self: Self, other: Item | None = None):
4949
)
5050
if not isinstance(other, Key):
5151
print(
52-
self.world.l10n.format_value("gateway-key-needed"),
52+
self.world.l10n.format_value("gateway-key-needed",
5353
{
5454
"name": self.name,
55-
},
55+
},)
5656
)
5757
return
5858
if self.locked:

0 commit comments

Comments
 (0)