#17100: "The ordinal suffix for a ranking is wrong ("th") in some cases"
Sobre qué é este informe?
Qué aconteceu? Por favor selecciona debaixo
Qué aconteceu? Por favor selecciona debaixo
Por favor revisa se xa hai un informe sobre o mesmo tema
De ser afirmativo, por favor VOTA por este informe. Aos informes con máis votos se lles da PRIORIDADE!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Descrición detallada
-
• Por favor, copia e pega a mensaxe de erro que ves na túa pantalla, se houbera algún.
"21th", "22th", "23th", etc
-
• Por favor, explica o que querías facer, o que fixeche e o que pasou
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Por favor, copia/pega o texto amosado en inglés no canto do teu idioma. Se tes un pantallazo deste erro (boa práctica), podes usar Imgur.com para subilo e copiar/pegar a ligazón aquí.
"21th", "22th", "23th", etc
-
• É este o texto dispoñible no sistema de tradución? Se é así, foi traducido fai máis de 24 horas?
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Por favor explica a túa suxestión de maneira precisa e concisa para que sexa o máis sinxelo posible entender o que queres dicir.
"21th", "22th", "23th", etc
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Qué había na pantalla cando se quedou bloqueado? (mensaxe de erro?, pantalla en blanco?, unha parte da interface do xogo?)
"21th", "22th", "23th", etc
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Qué parte das regras non se cumpriron na adaptación da BGA?
"21th", "22th", "23th", etc
-
• é visible a violación das regras na repetición? Se o é, en que número de movemento?
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Qué acción de xogo querías realizar?
"21th", "22th", "23th", etc
-
• Qué é o que tratache de facer para activar esta acción do xogo?
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
-
• Qué sucedeu cando o fixeche (a mensaxe de erro, mensaxe na barra de estado do xogo, ...)?
• Cal é o teu navegador?
Firefox 75 / Linux
-
• En que paso do xogo ocorreu o problema (cal foi a instrucción actual do xogo)?
"21th", "22th", "23th", etc
-
• Qué sucedeu cando tratache de facer unha acción de xogo (mensaxe de erro, mensaxe na barra de estado do xogo, ...)?
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Por favor, describe o problema de visualización. Se tes un pantallazo deste erro (boa práctica), podes usar Imgur.com para subilo e copiar/pegar a ligazón aquí.
"21th", "22th", "23th", etc
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Por favor, copia/pega o texto amosado en inglés no canto do teu idioma. Se tes un pantallazo deste erro (boa práctica), podes usar Imgur.com para subilo e copiar/pegar a ligazón aquí.
"21th", "22th", "23th", etc
-
• É este o texto dispoñible no sistema de tradución? Se é así, foi traducido fai máis de 24 horas?
When displaying a player's ranking in a game, in English, BGA uses "th" for the ordinal suffix except for 1, 2, 3 place; but in fact instead of "21th", "22th", "23th" it should be "21st", "22nd", "23rd". See blahedo.org/bga/ranking-21th.png for a sample (though this seems to show up anywhere someone's ranking is displayed).
• Cal é o teu navegador?
Firefox 75 / Linux
-
• Por favor explica a túa suxestión de maneira precisa e concisa para que sexa o máis sinxelo posible entender o que queres dicir.
"21th", "22th", "23th", etc
• Cal é o teu navegador?
Firefox 75 / Linux
Historial de informes
It is wrong on all the competition screens (it is ok for 1st, 2nd & 3rd) but as inital report says just needs to be fixed for 21th, 22th, 23th, 31th, 32th, 33th etc..
As pointed out by The Luggage, there are lots of other places where it has not been fixed though.
IF Rank % 10 = 1 THEN st
IF Rank % 10 = 2 THEN nd
IF Rank % 10 = 3 THEN rd
ELSE th
static String getEnglishOrdinalSuffix(int rank) {
final String[] suffixes = { "st", "nd", "rd" };
assert rank > 0;
if (((rank / 10) % 10) != 1) {
int ones = (rank - 1) % 10;
if (ones < suffixes.length) {
return suffixes[ones];
}
}
return "th";
}
It’s a nice problem to have (being in the top 100 of a game) but the polish is a little tarnished by the incorrect display.
If language is a barrier for proper suffixes, just remove them all together.
"Your rank is 72."
Engade a este informe
- Outro DI de mesa / ID de movemento
- Premer F5 resolveu o problema?
- Apareceu o problema varias veces? Tódalas veces? Aleatoriamente?
- Se tes un pantallazo deste erro (boa práctica), podes usar Imgur.com para subilo e copiar/pegar a ligazón aquí.
