Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n.dpip #286

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/app/page/map/meteor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class _AdvancedWeatherChartState extends State<AdvancedWeatherChart> {
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),
Expand Down
9 changes: 9 additions & 0 deletions lib/l10n/app_zh_TW.arb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
Loading