Skip to content

Commit

Permalink
Fix plural for "file(s)"
Browse files Browse the repository at this point in the history
  • Loading branch information
lah7 committed Oct 13, 2024
1 parent 5740c1d commit 3804198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sims2_4k_ui_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,12 +640,12 @@ def refresh_patch_state(self):

if incomplete:
self.update_status_icon(StatusIcon.RED)
self.status_text.setText(f"{patch_count}/{total_count} file{"s" if patch_count > 0 else ""} patched")
self.status_text.setText(f"{patch_count}/{total_count} file{"s" if patch_count != 0 else ""} patched")

if patch_count == 0:
self.group_options.setEnabled(True)
self.update_status_icon(StatusIcon.GREY)
self.status_text.setText(f"{total_count} file{"s" if patch_count > 1 else ""} ready to patch")
self.status_text.setText(f"{total_count} file{"s" if patch_count != 1 else ""} ready to patch")

def _check_file_permissions(self):
"""
Expand Down

0 comments on commit 3804198

Please sign in to comment.