Add a message for empty games list
This commit is contained in:
parent
7c2b88e4bd
commit
2518aedab1
2 changed files with 3 additions and 5 deletions
|
@ -109,11 +109,7 @@ Screen.Hall = function(modules) {
|
|||
|
||||
function refreshGames() {
|
||||
modules.dom.clear(games.list);
|
||||
}
|
||||
|
||||
function refreshThem() {
|
||||
players.message.textContent = '';
|
||||
formDisable(them == undefined);
|
||||
games.message.textContent = modules.i18n.get('noGames');
|
||||
}
|
||||
|
||||
function exactMatch(name) {
|
||||
|
|
|
@ -29,6 +29,7 @@ function Translations() {
|
|||
monthFlower: function(flower) {
|
||||
return "This month's flower is the " + flower;
|
||||
},
|
||||
noGames: "No games being played",
|
||||
notFound: "No one goes by that name",
|
||||
pickName: "Pick a name you like",
|
||||
playing: function(name) {
|
||||
|
@ -72,6 +73,7 @@ function Translations() {
|
|||
monthFlower: function(flower) {
|
||||
return "C'est le mois des " + flower;
|
||||
},
|
||||
noGames: "Aucune partie en cours",
|
||||
notFound: "Personne ne s'appelle comme ça",
|
||||
pickName: "Choisissez votre nom",
|
||||
playing: function(name) {
|
||||
|
|
Loading…
Reference in a new issue