From: Benjamin Auder Date: Tue, 12 May 2020 15:53:36 +0000 (+0200) Subject: Fix 'correspondence' spelling X-Git-Url: https://git.auder.net/variants/Chakart/doc/html/scripts/mini-custom.min.css?a=commitdiff_plain;h=b70a32d4e9a6446164e06ba07a586bb157aaf928;p=vchess.git Fix 'correspondence' spelling --- diff --git a/client/src/translations/en.js b/client/src/translations/en.js index 285b698a..0e39df71 100644 --- a/client/src/translations/en.js +++ b/client/src/translations/en.js @@ -31,8 +31,8 @@ export const translations = { Code: "Code", "Connection token sent. Check your emails!": "Connection token sent. Check your emails!", Contact: "Contact", - "Correspondance challenges": "Correspondance challenges", - "Correspondance games": "Correspondance games", + "Correspondence challenges": "Correspondence challenges", + "Correspondence games": "Correspondence games", "Database error: stop private browsing, or update your browser": "Database error: stop private browsing, or update your browser", Delete: "Delete", Deterministic: "Deterministic", @@ -79,7 +79,7 @@ export const translations = { Next_p: "Next", Next_g: "Next", "New connexion detected: tab now offline": "New connexion detected: tab now offline", - "New correspondance game:": "New correspondance game:", + "New correspondence game:": "New correspondence game:", "New game": "New game", "New problem": "New problem", "No challenges found :( Click on 'New game'!": "No challenges found :( Click on 'New game'!", @@ -96,7 +96,7 @@ export const translations = { "Play with": "Play with", Players: "Players", "Please log in to accept corr challenges": "Please log in to accept corr challenges", - "Please log in to play correspondance games": "Please log in to play correspondance games", + "Please log in to play correspondence games": "Please log in to play correspondence games", "Please select a variant": "Please select a variant", Practice: "Practice", "Prefix?": "Prefix?", diff --git a/client/src/translations/es.js b/client/src/translations/es.js index 67d6a527..4388c5a5 100644 --- a/client/src/translations/es.js +++ b/client/src/translations/es.js @@ -31,8 +31,8 @@ export const translations = { Code: "Código", "Connection token sent. Check your emails!": "Token de conexión enviado. ¡Revisa tus correos!", Contact: "Contacto", - "Correspondance challenges": "Desafíos por correspondencia", - "Correspondance games": "Partidas por correspondencia", + "Correspondence challenges": "Desafíos por correspondencia", + "Correspondence games": "Partidas por correspondencia", "Database error: stop private browsing, or update your browser": "Error de la base de datos: detener la navegación privada, o actualizar su navegador", Delete: "Borrar", Deterministic: "Determinista", @@ -79,7 +79,7 @@ export const translations = { Next_p: "Siguiente", Next_g: "Siguiente", "New connexion detected: tab now offline": "Nueva conexión detectada: pestaña ahora desconectada", - "New correspondance game:": "Nueva partida por correspondencia:", + "New correspondence game:": "Nueva partida por correspondencia:", "New game": "Nueva partida", "New problem": "Nuevo problema", "No challenges found :( Click on 'New game'!": "No se encontró ningún desafío :( ¡Haz clic en 'Nueva partida'!", @@ -96,7 +96,7 @@ export const translations = { "Play with": "Jugar con", Players: "Jugadores", "Please log in to accept corr challenges": "Inicia sesión para aceptar los desafíos por correspondencia", - "Please log in to play correspondance games": "Inicia sesión para jugar partidas por correspondancia", + "Please log in to play correspondence games": "Inicia sesión para jugar partidas por correspondancia", "Please select a variant": "Por favor seleccione una variante", Practice: "Práctica", "Prefix?": "¿Prefijo?", diff --git a/client/src/translations/fr.js b/client/src/translations/fr.js index 73ff2526..77e94e68 100644 --- a/client/src/translations/fr.js +++ b/client/src/translations/fr.js @@ -31,8 +31,8 @@ export const translations = { Code: "Code", "Connection token sent. Check your emails!": "Token de connection envoyé. Allez voir vos emails !", Contact: "Contact", - "Correspondance challenges": "Défis par correspondance", - "Correspondance games": "Parties par correspondance", + "Correspondence challenges": "Défis par correspondance", + "Correspondence games": "Parties par correspondance", "Database error: stop private browsing, or update your browser": "Erreur de base de données : arrêtez la navigation privée, ou mettez à jour votre navigateur", Delete: "Supprimer", Deterministic: "Déterministe", @@ -79,7 +79,7 @@ export const translations = { Next_p: "Suivant", Next_g: "Suivante", "New connexion detected: tab now offline": "Nouvelle connexion détectée : onglet désormais hors ligne", - "New correspondance game:": "Nouvelle partie par corespondance :", + "New correspondence game:": "Nouvelle partie par corespondance :", "New game": "Nouvelle partie", "New problem": "Nouveau problème", "No challenges found :( Click on 'New game'!": "Aucun défi trouvé :( Cliquez sur 'Nouvelle partie' !", @@ -96,7 +96,7 @@ export const translations = { "Play with": "Jouer avec", Players: "Joueurs", "Please log in to accept corr challenges": "Identifiez vous pour accepter des défis par correspondance", - "Please log in to play correspondance games": "Identifiez vous pour jouer des parties par correspondance", + "Please log in to play correspondence games": "Identifiez vous pour jouer des parties par correspondance", "Please select a variant": "Sélectionnez une variante SVP", Practice: "Pratiquer", "Prefix?": "Préfixe ?", diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index a98b4c05..146beb01 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -166,7 +166,7 @@ main button.tabbtn#btnClive(@click="setDisplay('c','live',$event)") | {{ st.tr["Live challenges"] }} button.tabbtn#btnCcorr(@click="setDisplay('c','corr',$event)") - | {{ st.tr["Correspondance challenges"] }} + | {{ st.tr["Correspondence challenges"] }} ChallengeList( v-show="cdisplay=='live'" :challenges="filterChallenges('live')" @@ -182,7 +182,7 @@ main button.tabbtn#btnGlive(@click="setDisplay('g','live',$event)") | {{ st.tr["Live games"] }} button.tabbtn#btnGcorr(@click="setDisplay('g','corr',$event)") - | {{ st.tr["Correspondance games"] }} + | {{ st.tr["Correspondence games"] }} GameList( v-show="gdisplay=='live'" :games="filterGames('live')" @@ -861,7 +861,7 @@ export default { this.startNewGame(gameInfo); else { this.infoMessage = - this.st.tr["New correspondance game:"] + " " + + this.st.tr["New correspondence game:"] + " " + "" + "#/game/" + gameInfo.id + ""; document.getElementById("modalInfo").checked = true; @@ -997,7 +997,7 @@ export default { if (!this.newchallenge.vid) error = this.st.tr["Please select a variant"]; else if (ctype == "corr" && this.st.user.id <= 0) - error = this.st.tr["Please log in to play correspondance games"]; + error = this.st.tr["Please log in to play correspondence games"]; else if (!!this.newchallenge.to) { if (this.newchallenge.to == this.st.user.name) error = this.st.tr["Self-challenge is forbidden"]; @@ -1105,7 +1105,7 @@ export default { // Live challenges have a random ID finishAddChallenge(null); } else { - // Correspondance game: send challenge to server + // Correspondence game: send challenge to server ajax( "/challenges", "POST",