Skip to content

Commit

Permalink
fix: 🐛 add missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
yeukfei02 committed Jul 13, 2022
1 parent 8e10a6d commit 2604f07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mainPage/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function MainPage(): JSX.Element {
<TextField
id="outlined-full-width"
label="Location"
placeholder="Enter location..."
placeholder={t('enterLocation')}
helperText="address, city, place, street name, zip code, country, state, building name, etc..."
fullWidth
margin="normal"
Expand Down
2 changes: 2 additions & 0 deletions src/translations/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"places": "Places",
"currentLocation": "Current Location",
"currentLocationWaitForBrowserDetection": "Current Location (wait for browser detection)",
"enterLocation": "Enter location...",
"submit": "Submit",
"clear": "Clear",
"reset": "Reset",
Expand Down Expand Up @@ -68,6 +69,7 @@
"places": "地點",
"currentLocation": "當前位置",
"currentLocationWaitForBrowserDetection": "當前位置 (等待瀏覽器偵查)",
"enterLocation": "輸入位置...",
"submit": "提交",
"clear": "清除",
"reset": "重置",
Expand Down

0 comments on commit 2604f07

Please sign in to comment.