mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-01-22 08:39:27 +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
|
// Current Time
|
||||||
Text(
|
Text(
|
||||||
text = "Time: ${formatDateTime(currentWeatherForecast.date)}",
|
text = ComposeTemplateBundle.message("weather.app.time.text", timeToDisplay),
|
||||||
color = textColor,
|
color = textColor,
|
||||||
fontSize = JewelTheme.defaultTextStyle.fontSize,
|
fontSize = JewelTheme.defaultTextStyle.fontSize,
|
||||||
fontWeight = FontWeight.Bold
|
fontWeight = FontWeight.Bold
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
weather.app.temperature.text={0}\u00B0C
|
weather.app.temperature.text={0}\u00B0C
|
||||||
|
weather.app.time.text=Time: {0}%
|
||||||
weather.app.humidity.text=Humidity: {0}%
|
weather.app.humidity.text=Humidity: {0}%
|
||||||
weather.app.wind.direction.text=Wind: {0} km/h {1}
|
weather.app.wind.direction.text=Wind: {0} km/h {1}
|
||||||
weather.app.my.locations.header.text=My Locations
|
weather.app.my.locations.header.text=My Locations
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user