mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
feat: 🌐 add i18n for trade amount input placeholder
This commit is contained in:
parent
6f22f31376
commit
991cfcaa47
@ -23,10 +23,10 @@
|
||||
"hud.trade.tooltip_hint_2": "<Ctrl-Click to Auto-Balance with this.>",
|
||||
"hud.trade.your_offer": "Your offer",
|
||||
"hud.trade.their_offer": "Their offer",
|
||||
"hud.trade.amount_input": "Select an item"
|
||||
},
|
||||
|
||||
|
||||
vector_map: {
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -658,9 +658,8 @@ impl<'a> Trade<'a> {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// TODO i18n
|
||||
// placeholder text when no trade slot is selected
|
||||
Text::new("Select an item")
|
||||
Text::new(self.localized_strings.get("hud.trade.amount_input"))
|
||||
.middle_of(state.ids.amount_bg)
|
||||
.font_id(self.fonts.cyri.conrod_id)
|
||||
.font_size(self.fonts.cyri.scale(14))
|
||||
|
Loading…
Reference in New Issue
Block a user