Add more translations

master
Tait Hoyem 1 year ago
parent a5a538194a
commit c8ea1a79f2

@ -28,7 +28,7 @@ use sqlx::{Pool, Postgres};
use std::net::SocketAddr;
use std::sync::Arc;
const VERSION: &str = "0.3.0";
const VERSION: &str = "0.3.2";
#[derive(Template)]
#[template(path = "hello.html")]

@ -20,14 +20,14 @@
{% if goal.first_assist_name.is_some() %}
{{ goal.first_assist_name.as_ref().unwrap() }}
{% else %}
unassisted
{{ localize("unassisted") }}
{% endif %}
</td>
<td>
{% if goal.second_assist_name.is_some() %}
{{ goal.second_assist_name.as_ref().unwrap() }}
{% else %}
N/A
{{ localize("not-applicable") }}
{% endif %}
</td>
</tr>

@ -29,17 +29,17 @@
{% if shot.first_assist_name.is_some() %}
{{ shot.first_assist_name.as_ref().unwrap() }}
{% else %}
unassisted
{{ localize("unassisted") }}
{% endif %}
{% else %}
N/A
{{ localize("not-applicable") }}
{% endif %}
</td>
<td>
{% if shot.second_assist_name.is_some() %}
{{ shot.second_assist_name.as_ref().unwrap() }}
{% else %}
N/A
{{ localize("not-applicable") }}
{% endif %}
</td>
</tr>

@ -1,4 +1,6 @@
game-of-division = { $game } of the { $division }
unassisted = unassisted
not-applicable = N/A
no-games = No games have been recorded.
play-by-play = play-by-play
box-score = box score

@ -1,4 +1,6 @@
game-of-division = { $game } de le { $division }
unassisted = non assisté
not-applicable = S/O
no-games = Aucun match na été enregistré.
play-by-play = jeu-par-jeu
box-score = score de la boîte

Loading…
Cancel
Save