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::net::SocketAddr;
use std::sync::Arc; use std::sync::Arc;
const VERSION: &str = "0.3.0"; const VERSION: &str = "0.3.2";
#[derive(Template)] #[derive(Template)]
#[template(path = "hello.html")] #[template(path = "hello.html")]

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

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

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

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

Loading…
Cancel
Save