Merge #143: drop the official count note from the « Statistiques » tiles
This commit is contained in:
commit
ffe71de4da
5 files changed
+107
-55
No files matched your search
@@ -101,11 +101,6 @@ pub const CLIENT_ABSENT: &str =
|
||||
"Client League of Legends non détecté : affichage des données enregistrées.";
|
||||
const INTERNAL_ERROR: &str = "Mise à jour impossible : erreur interne.";
|
||||
|
||||
/// The discreet line under the Challenge tile.
|
||||
pub fn official_note(official: u32) -> String {
|
||||
format!("Progression officielle : {official}")
|
||||
}
|
||||
|
||||
pub fn official_differs(app: usize, official: u32) -> String {
|
||||
format!(
|
||||
"La Progression officielle du jeu indique {official} champions validés, l'application en compte {app} : des Parties manquent peut-être."
|
||||
@@ -223,7 +218,6 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn official_progress_texts() {
|
||||
assert_eq!(official_note(52), "Progression officielle : 52");
|
||||
assert_eq!(
|
||||
official_differs(50, 52),
|
||||
"La Progression officielle du jeu indique 52 champions validés, l'application en compte 50 : des Parties manquent peut-être."
|
||||
|
||||
Reference in new issue
Block a user