'update'
[vchess.git] / client / src / components / MoveList.vue
index 90b76b4..ffa102e 100644 (file)
@@ -1,5 +1,5 @@
 <script>
-// Component for moves list on the right
+import { store } from "@/store";
 export default {
   name: 'my-move-list',
   props: ["moves","cursor","score","message","firstNum"],
@@ -113,7 +113,7 @@ export default {
         },
         [
           h("p", this.score),
-          h("p", this.message),
+          h("p", store.state.tr[this.message]),
         ]
       );
       rootElements.push(scoreDiv);