thead
tr
th {{ st.tr["Variant"] }}
- th {{ st.tr["From"] }}
+ th {{ st.tr["With"] }}
th {{ st.tr["Cadence"] }}
tbody
tr(
@click="$emit('click-challenge',c)"
)
td {{ c.vname }}
- td {{ c.from.name || "@nonymous" }}
+ td {{ withWho(c) }}
td {{ c.cadence }}
</template>
return c2.priority - c1.priority + (c2.added - c1.added) / deltaAdded;
});
}
+ },
+ methods: {
+ withWho: function(c) {
+ if (c.from.sid == this.st.user.sid || c.from.id == this.st.user.id)
+ return c.to || this.st.tr["Any player"];
+ return c.from.name || "@nonymous";
+ }
}
};
</script>
Analyse: "Analyse",
"Analyse in Dark mode makes no sense!":
"Analyse in Dark mode makes no sense!",
+ "Any player": "Any player",
"Are you sure?": "Are you sure?",
"Authentication successful!": "Authentication successful!",
Apply: "Apply",
"Empty message": "Empty message",
"Error while loading database:": "Error while loading database:",
"Example game": "Example game",
- From: "From",
"Game retrieval failed:": "Game retrieval failed:",
"Game removal failed:": "Game removal failed:",
Go: "Go",
"White to move": "White to move",
"White win": "White win",
"Who's there?": "Who's there?",
+ With: "With",
"Write news": "Write news",
"Your message": "Your message",
Analyse: "Analizar",
"Analyse in Dark mode makes no sense!":
"¡Analizar en modo Dark no tiene sentido!",
+ "Any player": "Cualquier jugador",
Apply: "Aplicar",
"Are you sure?": "¿Está usted seguro?",
"Authentication successful!": "¡Autenticación exitosa!",
"Empty message": "Mensaje vacio",
"Error while loading database:": "Error al cargar la base de datos:",
"Example game": "Ejemplo de partida",
- From: "De",
"Game retrieval failed:": "La recuperación de la partida falló:",
"Game removal failed:": "La eliminación de la partida falló:",
Go: "Go",
"White to move": "Juegan las blancas",
"White win": "Las blancas gagnan",
"Who's there?": "¿Quién está ahí?",
+ With: "Con",
"Write news": "Escribir una news",
"Your message": "Tu mensaje",
Analyse: "Analyser",
"Analyse in Dark mode makes no sense!":
"Analyser en mode Dark n'a pas de sens !",
+ "Any player": "N'importe qui",
Apply: "Appliquer",
"Authentication successful!": "Authentification réussie !",
"Are you sure?": "Étes vous sûr?",
"Error while loading database:":
"Erreur lors du chargement de la base de données :",
"Example game": "Partie exemple",
- From: "De",
"Game retrieval failed:": "Échec de la récupération de la partie :",
"Game removal failed:": "Échec de la suppresion de la partie :",
Go: "Go",
"White to move": "Trait aux blancs",
"White win": "Les blancs gagnent",
"Who's there?": "Qui est là ?",
+ With: "Avec",
"Write news": "Écrire une news",
"Your message": "Votre message",