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 00c3068 commit 8e10a6d
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 @@ -398,7 +398,7 @@ function MainPage(): JSX.Element {
<TextField
id="outlined-full-width"
label="Food"
placeholder="Enter food here..."
placeholder={t('enterFoodHere')}
helperText="Food name"
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 @@ -9,6 +9,7 @@
"contactUs": "Contact us",

"selectTheFoodYouWant": "Select the food you want...",
"enterFoodHere": "Enter food here...",
"selectMicLanguage": "Select mic language",
"places": "Places",
"currentLocation": "Current Location",
Expand Down Expand Up @@ -62,6 +63,7 @@
"contactUs": "聯繫我們",

"selectTheFoodYouWant": "選擇你想要的食物...",
"enterFoodHere": "輸入食物...",
"selectMicLanguage": "選擇麥克風語言",
"places": "地點",
"currentLocation": "當前位置",
Expand Down

0 comments on commit 8e10a6d

Please sign in to comment.