diff --git a/lib/app/page/map/meteor.dart b/lib/app/page/map/meteor.dart index 263d25e6..955bff11 100644 --- a/lib/app/page/map/meteor.dart +++ b/lib/app/page/map/meteor.dart @@ -201,7 +201,7 @@ class _AdvancedWeatherChartState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - '24小時${dataTypeToChineseMap[selectedDataType]}趨勢', + context.i18n.hours_24_trend(dataTypeToChineseMap[selectedDataType].toString()), style: context.theme.textTheme.titleMedium, ), const SizedBox(height: 8), diff --git a/lib/l10n/app_zh_TW.arb b/lib/l10n/app_zh_TW.arb index a27f4c3e..a58ed44d 100644 --- a/lib/l10n/app_zh_TW.arb +++ b/lib/l10n/app_zh_TW.arb @@ -1764,5 +1764,14 @@ "permission_storage": "儲存", "@permission_storage": { "description": "「歡迎」頁面 → 儲存" + }, + "hours_24_trend": "24小時{type}趨勢", + "@hours_24_trend": { + "description": "「地圖」路徑 → 地圖列表 → 氣溫 → 點擊測站 → 資訊托盤 → '24小時${dataTypeToChineseMap[selectedDataType]}趨勢", + "placeholders": { + "type": { + "type": "String" + } + } } }