mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-20 15:49:23 +00:00
Use localized string for weather time display in WeatherDetailsCard
This commit is contained in:
parent
376292e5f8
commit
b603edf110
@ -72,7 +72,7 @@ fun WeatherDetailsCard(
|
||||
) {
|
||||
// Current Time
|
||||
Text(
|
||||
text = "Time: ${formatDateTime(currentWeatherForecast.date)}",
|
||||
text = ComposeTemplateBundle.message("weather.app.time.text", timeToDisplay),
|
||||
color = textColor,
|
||||
fontSize = JewelTheme.defaultTextStyle.fontSize,
|
||||
fontWeight = FontWeight.Bold
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
weather.app.temperature.text={0}\u00B0C
|
||||
weather.app.time.text=Time: {0}%
|
||||
weather.app.humidity.text=Humidity: {0}%
|
||||
weather.app.wind.direction.text=Wind: {0} km/h {1}
|
||||
weather.app.my.locations.header.text=My Locations
|
||||
|
||||
Loading…
Reference in New Issue
Block a user