Skip to content

Commit

Permalink
Fix bad-weather-link & minor i18n change for bad-weather-text (#208)
Browse files Browse the repository at this point in the history
* fix bad-weather-link

* minor i18n change for bad-weather-text
  • Loading branch information
desmondlsl authored Nov 14, 2024
1 parent a756a9e commit a41fb00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/BadWeatherCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const BadWeatherCard = () => {
<Paper
variant="outlined"
sx={rootSx}
onClick={() => window.open(t("bad-weather-text"), "_target")}
onClick={() => window.open(t("bad-weather-link"), "_target")}
>
<ErrorIcon color="error" />
<Typography>{t("bad-weather-text")}</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const resources = {
en: {
translation: {
"bad-weather-text":
"Services may be impacted by bad weather. Data displayed below might not be accurate. Check here to see official announcements.",
"Services may be impacted by bad weather. Data displayed below might not be accurate. Check here for official announcements.",
"bad-weather-link": "https://www.td.gov.hk/en/special_news/spnews.htm",
"db-renew-text": "Tap to fetch revised route info",
"巴士到站預報 App (免費無廣告)": "HK Bus ETA App (Free and Ad-free)",
Expand Down

0 comments on commit a41fb00

Please sign in to comment.