X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=0e0f37208858c87f933b209be4a963dc5e167da7;hb=677fe285f1137d1d3e672dcf2dae3ac6e943be37;hp=aa606aa57f4946c851a3d1ba3f37573efadb4eb9;hpb=a0c41e7e23c9ff64031739e072f38e493bac8dca;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index aa606aa5..0e0f3720 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -29,11 +29,11 @@ div#baseGame(tabindex=-1 @click="() => focusBg()" #pgnDiv #downloadDiv(v-if="game.vname!='Dark' || game.score!='*'") a#download(href="#") - button(@click="download") {{ st.tr["Download PGN"] }} + button(@click="download") {{ st.tr["Download"] }} PGN button(onClick="doClick('modalAdjust')") ⤢ button(v-if="game.vname!='Dark' && game.mode!='analyze'" @click="analyzePosition") - | {{ st.tr["Analyze"] }} + | {{ st.tr["Analyse"] }} // NOTE: rather ugly hack to avoid showing twice "rules" link... button(v-if="!$route.path.match('/variants/')" @click="showRules") | {{ st.tr["Rules"] }} @@ -225,7 +225,7 @@ export default { this.incheck = []; }, analyzePosition: function() { - const newUrl = "/analyze/" + this.game.vname + + const newUrl = "/analyse/" + this.game.vname + "/?fen=" + this.vr.getFen().replace(/ /g, "_"); if (this.game.type == "live") this.$router.push(newUrl); //open in same tab: against cheating...