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"] }}
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...
component: loadView("Game"),
},
{
- path: "/analyze/:vname([a-zA-Z0-9]+)",
- name: "analyze",
- component: loadView("Analyze"),
+ path: "/analyse/:vname([a-zA-Z0-9]+)",
+ name: "analyse",
+ component: loadView("Analyse"),
},
{
path: "/about",
"About": "About",
"Accept draw?": "Accept draw?",
"All": "All",
- "Analyze": "Analyze",
- "Analyze in Dark mode makes no sense!": "Analyze in Dark mode makes no sense!",
+ "Analyse": "Analyse",
+ "Analyse in Dark mode makes no sense!": "Analyse in Dark mode makes no sense!",
"Authentication successful!": "Authentication successful!",
"Apply": "Apply",
"Available": "Available",
"About": "Acerca de",
"Accept draw?": "¿ Acceptar tablas ?",
"All": "Todos",
- "Analyze": "Analizar",
- "Analyze in Dark mode makes no sense!": "¡ Analizar en modo Dark no tiene sentido !",
+ "Analyse": "Analizar",
+ "Analyse in Dark mode makes no sense!": "¡ Analizar en modo Dark no tiene sentido !",
"Apply": "Aplicar",
"Authentication successful!": "¡ Autenticación exitosa !",
"Available": "Disponible",
"About": "À propos",
"Accept draw?": "Accepter la nulle ?",
"All": "Tous",
- "Analyze": "Analyser",
- "Analyze in Dark mode makes no sense!": "Analyser en mode Dark n'a pas de sens !",
+ "Analyse": "Analyser",
+ "Analyse in Dark mode makes no sense!": "Analyser en mode Dark n'a pas de sens !",
"Apply": "Appliquer",
"Authentication successful!": "Authentification réussie !",
"Available": "Disponible",
import { ArrayFun } from "@/utils/array";
export default {
- name: 'my-analyze',
+ name: 'my-analyse',
components: {
BaseGame,
},
fen: ""
},
game: {
- players:[{name:"Analyze"},{name:"Analyze"}],
+ players:[{name:"Analyse"},{name:"Analyse"}],
mode: "analyze"
},
vr: null, //"variant rules" object initialized from FEN
this.gameRef.vname = this.$route.params["vname"];
if (this.gameRef.vname == "Dark")
{
- alert(this.st.tr["Analyze in Dark mode makes no sense!"]);
+ alert(this.st.tr["Analyse in Dark mode makes no sense!"]);
history.back(); //or this.$router.go(-1)
}
else
| {{ st.tr["Stop game"] }}
button(v-if="display=='rules' && gameInfo.vname!='Dark'"
@click="gotoAnalyze")
- | {{ st.tr["Analyze"] }}
+ | {{ st.tr["Analyse"] }}
.section-content(v-show="display=='rules'" v-html="content")
ComputerGame(v-show="display=='computer'" :game-info="gameInfo"
@game-over="stopGame" @game-stopped="gameStopped")
this.gameInProgress = false;
},
gotoAnalyze: function() {
- this.$router.push("/analyze/" + this.gameInfo.vname
+ this.$router.push("/analyse/" + this.gameInfo.vname
+ "/?fen=" + V.GenRandInitFen());
},
},