Traducidas las notificaciones a los tres idiomas

This commit is contained in:
2023-02-12 22:40:01 +01:00
parent ec9572175f
commit 3fa7324569
6 changed files with 95 additions and 75 deletions

View File

@@ -126,11 +126,11 @@ namespace jscore {
return score.size();
}
string getUserName(const int index) {
if (score.size()==0 || index >= score.size()) return "";
if (score.size()==0 || index >= (int)score.size()) return "";
return score[index].name;
}
const int getPoints(const int index) {
if (score.size()==0 || index >= score.size()) return 0;
if (score.size()==0 || index >= (int)score.size()) return 0;
return score[index].points;
}