diff options
author | Dessalines <happydooby@gmail.com> | 2019-08-09 16:51:47 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-08-09 16:51:47 -0700 |
commit | d6ca5af85a5c489ff39fb9a23fa3b8779e92ecb5 (patch) | |
tree | 7ae3ad668a6fd272bac6c3bce34aeb08ab146338 /ui/src/components/search.tsx | |
parent | 475b94add737034c5a9a276694507f9c4729f290 (diff) |
Adding back end translations.
Diffstat (limited to 'ui/src/components/search.tsx')
-rw-r--r-- | ui/src/components/search.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index ae29fd0b..01122fd4 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -246,7 +246,7 @@ export class Search extends Component<any, SearchState> { console.log(msg); let op: UserOperation = msgOp(msg); if (msg.error) { - alert(msg.error); + alert(i18n.t(msg.error)); return; } else if (op == UserOperation.Search) { let res: SearchResponse = msg; |