Skip to content

Commit 46edff4

Browse files
committed
Added translation to result percentage
1 parent c608dd4 commit 46edff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oioioi/programs/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,6 @@ def add_result_percentage(env, **kwargs):
698698
if (test_result['result_percentage'] == 100
699699
or test_result['result_percentage'] == 0):
700700
continue
701-
test_result['result_string'] = str(test_result['result_percentage']) + '% ― ' + \
702-
' ' + test_result['result_string']
701+
test_result['result_string'] = _("Granted %d%% points, comment") % test_result['result_percentage'] + \
702+
': ' + test_result['result_string']
703703
return env

0 commit comments

Comments
 (0)