mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix for #1604 : use correct values in calculation
This commit is contained in:
parent
7f94580b20
commit
edc10519c6
@ -110,7 +110,8 @@ pub(crate) fn print_translation_stats(
|
||||
let real_entry_count = stats.get_real_entry_count() as f32;
|
||||
let uptodate_percent = (stats.uptodate_entries as f32 / real_entry_count) * 100_f32;
|
||||
let outdated_percent = (stats.outdated_entries as f32 / real_entry_count) * 100_f32;
|
||||
let untranslated_percent = ((stats.errors + stats.errors) as f32 / real_entry_count) * 100_f32;
|
||||
let untranslated_percent =
|
||||
((stats.notfound_entries + stats.errors) as f32 / real_entry_count) * 100_f32;
|
||||
|
||||
// Display
|
||||
if be_verbose {
|
||||
|
Loading…
Reference in New Issue
Block a user