app/locales/ca.txt Missing parameter piece_name #13

Tancada
oberta 2020-12-28 13:57:53 +01:00 per spla · 1 comment
spla ha comentat 2020-12-28 13:57:53 +01:00 (Migrado desde gitlab.com)

When a piece is captured the code try to get the locale 'piece_name' of the name of the captured piece from app/locales/*.txt but 'piece_name' locale don't exist:

piece_name = get_locale("piece_name", player_lang)

throws following error:

app/locales/ca.txt Missing parameter piece_name

When a piece is captured the code try to get the locale 'piece_name' of the name of the captured piece from app/locales/*.txt but 'piece_name' locale don't exist: `piece_name = get_locale("piece_name", player_lang)` throws following error: `app/locales/ca.txt Missing parameter piece_name`
spla ha comentat 2020-12-28 14:04:08 +01:00 (Migrado desde gitlab.com)

There is no need to get the locale of piece_name because the code is getting it from the function get_piece_name:

piece_name = get_piece_name(captured_piece)

There is no need to get the locale of `piece_name` because the code is getting it from the function `get_piece_name`: `piece_name = get_piece_name(captured_piece)`
Inicia sessió per a unir-te a aquesta conversa.
Sin etiquetas
bug
improve
Sense Milestone
Ningún proyecto
Sense assignats
1 participant
Notificacions
Data de venciment
La fecha de vencimiento es inválida o está fuera de rango. Por favor utilice el formato 'aaaa-mm-dd'.

Sin fecha de vencimiento.

Dependències

Aquesta incidència no té cap dependència.

Referència: spla/mastochess#13
Aún no existe contenido.