From 3d644a062168dda141b8bd560fa6c9e621aceb4e Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Mon, 3 Aug 2020 09:53:31 +0800 Subject: [PATCH] Plural/Singular Wording GitHub data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “repository” for 1 “repositories” for >1 --- main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 7abbb0a9..880d9c29 100644 --- a/main.py +++ b/main.py @@ -409,8 +409,10 @@ def get_short_info(github): else: string += "> 🚫 Not opted to Hire\n > \n" - string += '> 📜 ' + str(public_repo) + ' Public Repository \n > \n' - string += '> 🔑 ' + str(private_repo) + ' Owned Private Repository \n\n' + string += '> 📜 ' + str(public_repo) + " Public Repositor" + string += 'ies \n > \n' if public_repo > 1 else 'y \n > \n' + string += '> 🔑 ' + str(private_repo) + " Owned Private Repositor" + string += 'ies \n\n' if private_repo > 1 else 'y \n > \n' print(string) return string