Skip to content

Commit

Permalink
Added translation to result percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
SZonkil committed Dec 6, 2023
1 parent c608dd4 commit 46edff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oioioi/programs/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,6 @@ def add_result_percentage(env, **kwargs):
if (test_result['result_percentage'] == 100
or test_result['result_percentage'] == 0):
continue
test_result['result_string'] = str(test_result['result_percentage']) + '% ― ' + \
' ' + test_result['result_string']
test_result['result_string'] = _("Granted %d%% points, comment") % test_result['result_percentage'] + \
': ' + test_result['result_string']
return env

0 comments on commit 46edff4

Please sign in to comment.