summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community.tsx
diff options
context:
space:
mode:
authorDessalines <happydooby@gmail.com>2019-08-09 16:51:47 -0700
committerDessalines <happydooby@gmail.com>2019-08-09 16:51:47 -0700
commitd6ca5af85a5c489ff39fb9a23fa3b8779e92ecb5 (patch)
tree7ae3ad668a6fd272bac6c3bce34aeb08ab146338 /ui/src/components/community.tsx
parent475b94add737034c5a9a276694507f9c4729f290 (diff)
Adding back end translations.
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r--ui/src/components/community.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx
index 920b2eae..480b909e 100644
--- a/ui/src/components/community.tsx
+++ b/ui/src/components/community.tsx
@@ -194,7 +194,7 @@ export class Community extends Component<any, State> {
console.log(msg);
let op: UserOperation = msgOp(msg);
if (msg.error) {
- alert(msg.error);
+ alert(i18n.t(msg.error));
return;
} else if (op == UserOperation.GetCommunity) {
let res: GetCommunityResponse = msg;